SLGNet: Unifying Structural and Language Guidance for Multimodal Object Detection
Authors: Xiantai Xiang, Jiacheng Deng, Kai Liu, Zixiao Wen, Wenshuai Li, Ben Niu, Guangyao Zhou
Organizations: Aerospace Information Research Institute, Chinese Academy of Sciences, Beijing 100190, China · Key Laboratory of Target Cognition and Application Technology, Chinese Academy of Sciences, Beijing 100190, China · School of Electronic, Electrical and Communication Engineering, University of Chinese Academy of Sciences, Beijing 101408, China
RGB--infrared object detection combines complementary appearance and thermal cues to improve detection under challenging imaging conditions. However, adapting a pretrained backbone does not by itself ensure that useful geometry is preserved during fusion or that the resulting features are effectively used across scenes. Without explicit geometric guidance, weakened boundaries can make object regions harder to separate and compromise localization. Even when useful geometry is retained, changes in scene context may leave target responses weak or spatially incomplete, limiting the use of available evidence. We propose SLGNet, a parameter-efficient adaptation architecture that addresses both feature construction and use through structure-guided fusion and scene-conditioned recalibration. The Structure-Aware Adapter uses a complementary edge reference to weight multi-scale RGB--infrared fusion and injects the resulting features into a frozen vision transformer. Language-Guided Modulation converts structured scene descriptions from a pretrained vision-language model into channel-wise affine parameters that rescale and shift the final structure-enriched backbone features according to scene context. We evaluate SLGNet on LLVIP, FLIR, KAIST, and DroneVehicle. With 12.1M trainable parameters, SLGNet achieves 66.1 mAP on LLVIP and 45.1 mAP on FLIR, the highest mAP scores among the compared methods on both benchmarks. These results improve over the reported UniRGB-IR scores by 2.9 and 1.0 points, respectively. On FLIR, SLGNet also outperforms our full fine-tuning baseline by 1.5 mAP while using approximately 87% fewer trainable parameters.
Figures & tables
Figure 1: Comparison of RGB–infrared adaptation paradigms. (a) Existing paradigms perform full fine-tuning or adapter tuning with unguided fusion. (b) SLGNet adapts a frozen foundation model by combining a Structure-Aware Adapter for structural prior injection with VLM-driven Language-Guided Modulation for semantic feature recalibration. The and icons indicate frozen and trainable parameters, respectively.
Figure 2: Overview of SLGNet , which pairs a frozen ViT backbone with two lightweight trainable modules: (1) the Structure-Aware Adapter (bottom), extracting hierarchical structural priors from paired images via a Structure Encoder and injecting them into ViT blocks via the Feature Fusion Adapter (FF-Adapter); and (2) Language-Guided Modulation (LGM) (right), utilizing VLM-generated structured captions (Environment, Scene, Objects, Thermal) to recalibrate the final feature map via affine transformations ( γ,β ). The and icons denote frozen and trainable parameters, respectively.
Figure 3: Architecture of the Structure Encoder. (a) Progressive convolutional stages extract multi-resolution structural priors. (b) The Hierarchical Structural Alignment (HSA) module establishes a reference map ∇ref and uses an SSIM-driven mechanism to dynamically weight multimodal features.
Methods
Modality
LLVIP
FLIR
Trainable Params
mAP
mAP 50
mAP 75
mAP
mAP 50
mAP 75
FasterRCNN [ 26 ]
IR
54.5
94.6
57.6
37.6
75.8
31.6
68.5M
RetinaNet [ 17 ]
IR
55.1
94.8
57.6
31.5
66.1
25.3
43.0M
YOLOV8 [ 9 ]
IR
62.1
95.2
67.0
38.3
72.9
31.8
76.7M
DDQ-DETR [ 40 ]
IR
58.6
93.9
64.6
37.1
73.9
32.2
244.6M
FasterRCNN [ 26 ]
RGB
45.1
87.0
41.2
27.7
62.2
21.2
68.5M
Table 1: Detection results on LLVIP and FLIR. Bold and underlined values mark the best and second-best results, including ties. Higher AP is better; fewer trainable parameters are better. Trainable parameters count only weights updated during training, not the total model size or inference cost. “–” indicates an unreported or otherwise unavailable value.
Methods
Backbone
MR−2 (%) ↓
All
Day
Night
ACF [ 7 ]
Handcrafted
67.74
64.31
75.06
HalfwayFusion [ 18 ]
VGG-16
49.18
47.58
52.35
IATDNN+IASS [ 5 ]
VGG-16
48.96
49.02
49.37
CIAN [ 38 ]
VGG-16
35.53
36.02
32.38
AR-CNN [ 39 ]
VGG-16
34.95
34.36
36.12
Table 2: KAIST pedestrian detection results. Lower MR−2 is better. Bold and underlined values mark the best and second-best results, respectively. Handcrafted denotes methods that use hand-designed features without a neural backbone.
Methods
mAP 50
Car
Truck
Freight- Car
Bus
Van
Halfway Fusion [ 18 ]
70.0
90.1
62.3
58.5
89.1
49.8
MBNet 1 1 1 The MBNet results are from the DroneVehicle reimplementation reported in Table IV of C 2 Former [ 36 ] . [ 42 ]
71.9
90.1
64.4
62.4
88.8
53.6
TSFADet [ 35 ]
73.1
89.9
67.9
63.7
89.8
54.0
C 2 Former [ 36 ]
74.2
90.2
68.3
64.4
89.8
58.5
AFFCM [ 31 ]
76.6
90.2
73.4
64.9
89.9
64.9
MC-DETR [ 23 ]
76.9
94.8
76.7
60.4
91.1
61.4
Table 3: DroneVehicle oriented detection results. Higher mAP50 and per-class AP50 are better. Bold and underlined values mark the best and second-best results, respectively.
Configuration
FLIR
DroneVehicle
mAP
mAP50
mAP
mAP50
Baseline
42.3
79.7
53.8
76.7
Baseline + SA
44.3
82.4
55.1
78.6
Baseline + SA + LGM
45.1
85.8
57.2
80.7
Δ
+2.8
+6.1
+3.4
+4.0
Table 4: Incremental component results on FLIR and DroneVehicle. SA denotes the SA-Adapter. Δ is the gain of the full configuration over the baseline.
Figure 4: Query-based feature similarity of backbone representations enriched by the SA-Adapter. (a)–(b) RGB and infrared inputs. (c) Complementary edge reference ∇ref . (d)–(f) Cosine similarity between the feature at each query patch, marked by a red dot, and all output tokens. High-similarity regions follow the pedestrian, vehicle, and street-light structures.
Text Format
FLIR
DroneVehicle
mAP
mAP50
mAP
mAP50
Class List
43.9
82.0
55.4
78.8
Free-form Caption
44.7
84.5
56.3
79.9
Structured Caption
45.1
85.8
57.2
80.7
Table 5: LGM text-format comparison on FLIR and DroneVehicle. Structured captions follow Sec. 3.2 ; bold marks the highest scores.
Text Encoder
FLIR
DroneVehicle
mAP
mAP50
mAP
mAP50
BERT [ 4 ]
43.2
81.9
51.4
72.5
T5 [ 20 ]
43.8
83.0
51.8
73.6
RoBERTa [ 19 ]
43.6
82.2
52.2
73.6
BLIP-2 [ 14 ]
44.9
84.8
56.1
79.8
CLIP [ 25 ]
45.1
85.8
57.2
80.7
Table 6: Text encoder comparison for LGM on FLIR and DroneVehicle. Higher AP is better; bold marks the highest scores.
Figure 5: Feature responses with and without LGM under low illumination. Columns show RGB and infrared inputs, followed by response maps without and with LGM. Responses cover pedestrians and riders more coherently with LGM. Cyan insets show enlarged target regions.
Figure 6: Validation mAP during training on FLIR. Blue and red denote adapter tuning and full fine-tuning, respectively. Solid lines show the mean, and shaded bands show the standard deviation.
Figure 7: Detection results on DroneVehicle. The first two rows show ground-truth annotations on infrared and RGB images. The third and fourth rows show UniFusOD [ 32 ] and SLGNet, respectively. Cyan boxes enlarge faint, densely packed vehicles.
Tuning
Trainable Params
FLIR
DroneVehicle
mAP
mAP50
mAP
mAP50
Full tuning
96.0M
43.6
82.2
53.5
75.3
Adapter tuning
12.1M
45.1
85.8
57.2
80.7
Δ
-87%
+1.5
+3.6
+3.7
+5.4
Table 7: Trainable parameters and detection accuracy with full fine-tuning and SLGNet. Δ gives the relative parameter reduction and absolute AP gains.