FUN: A Focal U-Net Combining Reconstruction and Object Detection for Snapshot Spectral Imaging

Dahua Gao, Yubo Dong, Anqi Li, Zhenyuan Lin, Ang Gao +2 more
4/30/2026
cs.CV
transformer-attention

No confident code implementation found for this paper.

Abstract

Conventional push-broom hyperspectral imaging suffers from slow acquisition speeds, precluding real-time object detection; in contrast, snapshot spectral imaging enables instantaneous hyperspectral images (HSIs) capture, making real-time object detection feasible, yet its potential is often compromised by time-consuming post-capture reconstruction. To address this issue, we propose the Focal U-shaped Network (FUN), a novel end-to-end framework that jointly performs HSI reconstruction and object detection via multi-task learning.

Show full abstract

FUN employs a shared U-shaped backbone, where reconstruction provides underlying spectral information while detection guides semantic-aware priors learning, facilitating mutually beneficial task interaction. Crucially, we introduce focal modulation, an efficient alternative to self-attention that modulates spatial and spectral features while reducing quadratic computational complexity, enabling a self-attention-free architecture for joint reconstruction and detection. Furthermore, we contribute a new HSI object detection dataset with 8712 annotated objects across 363 HSIs to facilitate evaluation of the proposed method. Experiments demonstrate that FUN achieves state-of-the-art performance on both tasks, using 40% fewer parameters and 30% less computation than recent alternatives, making it promising for future real-time edge deployment. The code and datasets are available: https://github.com/ShawnDong98/FUN.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gao2026fun,
  title  = {FUN: A Focal U-Net Combining Reconstruction and Object Detection for Snapshot Spectral Imaging},
  author = {Dahua Gao and Yubo Dong and Anqi Li and Zhenyuan Lin and Ang Gao and Danhua Liu and Guangming Shi},
  year   = {2026},
  eprint = {2604.27653},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.27653v1}
}

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/2604.27653.svg)](https://codeofpaper.com/paper/2604.27653)

Discussion