Reinforcement Learning for RGB–Thermal Fusion
Carnegie Mellon University · Energy-Efficient Circuits and Systems Lab · June–September 2025
Research projectOverview
When should a detector trust visible light, thermal imagery, or both? This project connects PPO policies to two frozen YOLOv8 detectors, learning how to combine their evidence. Scale-wise weighting and object-aware expert selection make adaptive fusion testable against strong fixed baselines on LLVIP.
My contributions
- RL environment. Detector-only observations, bounded fusion actions, and same-frame rewards.
- Policy–detector integration. Three-scale RGB–IR weighting and object-aware expert selection.
- Experimental pipeline. LLVIP preparation, fixed and learned baselines, reproducible inference, and detection diagnostics.
Architecture & results
Implementation and experiments
Learning the RGB–thermal balance
PPO adjusts three scale-wise weights using detector heads and current weights. Solid paths carry detections; dashed paths carry control or training feedback. Scene icons and tensor activations are schematic.
Download vector figure ↗
One image. One fusion decision.
A masked object-set encoder turns detections into a choice among 30 fusion experts. Each episode ends after one frame: the action changes fusion, not the next image.
Download vector figure ↗
A strong baseline changes the conclusion
PPO matches infrared-only detection but does not beat tuned fixed fusion: 60.756% versus 61.825% mAP. Exploratory fixed-detector comparison on 3,463 LLVIP pairs, across three seeds. Whisker: seed SD.
Download vector figure ↗Evaluation details & limitations Protocol, uncertainty, and ablations
Test pilot
Three PPO seeds (42, 43, 44), each trained for 32,768 steps. Policy training uses 9,703 pairs; policy validation uses 2,322; evaluation covers all 3,463 official test pairs. The fixed blend, selected on policy validation, uses 12.5% RGB and 87.5% IR at every scale. Metric: person mAP@0.50:0.95, 101-point AP, maxDet 100.
| Method | mAP |
|---|---|
| RGB only | 47.920 |
| Thermal IR only | 60.725 |
| Equal fusion | 59.341 |
| Tuned fixed fusion | 61.825 |
| PPO fusion · 3-seed mean | 60.756 |
PPO seed SD is 0.036 percentage points. The mean difference from tuned fixed fusion is −1.069 points; the paired filename-group bootstrap 95% interval is [−1.760, −0.645]. Against IR, the difference is +0.031 points, with interval [−0.077, +0.174]. Intervals use 200 resamples of seven test groups. Seed SD describes optimizer variability, not unseen-scene uncertainty.
What this comparison establishes
The supplied detectors were historically selected using the official test split, and some policy-validation frames appeared in detector training. These are exploratory fusion comparisons under fixed detectors, not a pristine held-out LLVIP benchmark. Three seeds and seven groups do not establish broad generalization.
Environment and preprocessing ablations
The one-step study separates 8,762 fit frames, 941 inner-development frames, and 2,322 outer-validation frames. Observations contain 84 summary values and up to 32 masked, 14-dimensional object tokens. Attention, mean, and max pooling form a permutation-invariant representation. The 30 experts cover head weighting, confidence-aware geometry, separate box/confidence controls, and object-matched late fusion. Each preprocessing mode includes three 65,536-step PPO runs and full-feedback supervised controls.
Letterboxing improves the same matched-fusion rule by 4.053 percentage points on validation. All three selected PPO policies choose their fixed reference on every validation frame: this gain comes from preprocessing, not learned adaptation. No new official-test inference was used, and repeated outer-validation inspection makes these development results. Frame AP is a training surrogate; checkpoint selection and evaluation use dataset-global AP.

Preprocessing ablation
Square stretch versus aspect-preserving letterbox. Validation evidence, separate from the test pilot above.
A separate supervised per-object confidence-rescoring experiment reaches 64.819% mean validation mAP versus 64.663% for its fixed reference. This ranking improvement is not an RL result or a demonstrated win over every fixed rule.
Next decisive experiment
Retrain both detectors with scene-disjoint fit, calibration, and evaluation groups. Split preparation is implemented; full clean retraining is not complete. Sensor scheduling under a latency budget remains a future direction. Combining two already-computed detector outputs does not demonstrate compute savings.
Related experiments & supporting report GCN fusion, efficient inference, and survey
The internship progress decks describe a separate GCN/PPO configuration: seven continuous actions adapt a 4 × 4 correlation matrix. September slides report 42.3% → 44.5% mAP@0.50:0.95, with an unspecified evaluation split. This differs from the YOLO-head and contextual-bandit architectures above; the scores are not a single progression.
Supporting work includes learned-step-size quantization, packed low-bit weights, FPGA input preparation, and convolution scheduling. The survey covers camera, LiDAR, and radar fusion; the implemented experiments here concern 2D RGB–thermal pedestrian detection.
Figures derive from saved metrics and implementation documentation. Download values and source filenames.
Reference
Chun-Yun Cheng, Ilo Chen, Junting Deng, and Vanessa Chen. “A survey on 3D object detection and improving detection with Reinforcement Learning.” Technical report, Carnegie Mellon University. Chun-Yun Cheng and Ilo Chen contributed equally.
Technical report; not a peer-reviewed publication. Cited systems’ results belong to their respective papers.