Object detection in remote sensing imagery faces challenges such as extreme scale variations and complex backgrounds. Although current methods have made significant strides in visual feature extraction, their predominant focus remains on the image itself, overlooking the potential of integrating external knowledge. To address this limitation, we introduce the knowledge-aware network with region-adaptive fusion for detection (KARFDet), which seamlessly integrates region-specific semantic information with visual features. First, a multiscale fused kernel attention (MSFKA) module is introduced, leveraging a parallel multibranch architecture to enhance contextual feature extraction. Second, a knowledge graph semantic extraction (KGSE) module is designed, employing the random walk with restart (RWR) algorithm to transform discrete knowledge into computable semantic associations. Finally, a novel triple-order knowledge integration (TOKI) mechanism is proposed, which adaptively fuses original, second-order, and probabilistic semantic knowledge, dynamically allocating knowledge weights based on target scale characteristics. Experiments on the DIOR, NWPU VHR-10, and SIMD datasets show that KARFDet achieves mAP50 scores of 65.6%, 91.9%, and 75.8%, respectively, significantly outperforming the baseline model and establishing a new paradigm for semantic-aware detection in complex scenarios. The code is available at https://github.com/ChengXCode/KARFDet
Xin Cheng, Yibo Liu, Haisu Zhang et al.· IEEE Transactions on Geoscie...· 0 citations
Container images are fundamental to cloud deployment, with their build instructions (e.g., Dockerfiles) critically impacting the efficiency and stability of cloud service. Manually authoring these instructions is error-prone, while Large Language Models (LLMs) lack the domain knowledge to generate both correct and optimized Dockerfiles reliably. This problem may cause runtime failures, prolonged deployment times and increased storage overhead. This paper introduces a novel knowledgeenhanced approach to automate Dockerfile generation. First, we construct a Dockerfile Instructions Knowledge Graph (DIKG) by analyzing a large corpus, capturing complex dependencies among images, packages, and commands. Leveraging DIKG, we design DKRAG, a retrieval-augmented generation system that guides an LLM to interpret user requirements and produce semantically accurate instructions. The output is further optimized via log-based repair and static dependency-aware refactoring for correctness, layer sharing, and minimal image size. Comprehensive experiments show our approach significantly improves the generation accuracy while also reducing build time and storage overhead compared to state-of-the-art methods.
Kun Wang, Yao Wu, Hao Fan et al.· Fall Joint Computer Conferen...· 0 citations