CFGPNet: Cross-Attention-Based Fused Gradient Programmed Network Framework for Multispectral Object Detection

Nima Hatami, Karim Faez, Saeed Sharifian, Hamidreza Amindavar
8/6/2026
cs.CV
transformer-attention

Official code: NimaHatami99/CFGPNet (3 stars, Python, last commit 2026-09-11).

Abstract

Multispectral object detection combines visible and thermal imagery to improve perception under challenging illumination and environmental conditions. However, differences in modality appearance and reliability can introduce redundant or conflicting responses, limiting the use of complementary information.

Show full abstract

Complex fusion mechanisms further increase computational cost, creating a persistent trade-off between detection accuracy and efficiency. To address these challenges, CFGPNet is proposed, a cross-attention-based fused gradient programmed network. The framework incorporates re-parameterized RepViT blocks into the YOLOv9 architecture to strengthen spatial and channel representations while maintaining efficient feature extraction. Cross Computation Efficient Attention (CrossCEA) exchanges spatial attention maps between modalities at multiple detection scales, allowing each stream to emphasize regions supported by the other while preserving modality-specific information. Attention Selection and Aggregation Fusion (ASAF) combines dense feature aggregation with selection of the strongest responses from multiple attention branches to form compact, discriminative fused representations. A programmable gradient information pathway provides auxiliary supervision during training to improve feature learning. This pathway is removed after training, adding no parameters or operations at inference. Experiments on FLIR, M3FD, LLVIP, VEDAI, and MFAD demonstrate favorable accuracy-efficiency trade-offs across three model scales, with the smallest variant requiring 15.3 million parameters and 56.9 GFLOPs. The code is available at https://github.com/NimaHatami99/CFGPNet.

View on arXivView PDF

Code Implementations(1)

Official implementation for paper "CFGPNet: Cross-Attention-Based Fused Gradient Programmed Network Framework for Multispectral Object Detection"

30PythonMay 28, 20262 months ago

Similar Papers

Cite this paper

@article{hatami2026cfgpnet,
  title  = {CFGPNet: Cross-Attention-Based Fused Gradient Programmed Network Framework for Multispectral Object Detection},
  author = {Nima Hatami and Karim Faez and Saeed Sharifian and Hamidreza Amindavar},
  year   = {2026},
  eprint = {2608.06205},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.06205v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.06205.svg)](https://codeofpaper.com/paper/2608.06205)

Discussion