Paying more attention to local contrast: improving infrared small target detection performance via prior knowledge

Peichao Wang, Jiabao Wang, Yao Chen, Rui Zhang, Yang Li, Zhuang Miao

TL;DR

LCAE-Net is a novel hybrid framework that blends handcrafted "prior knowledge" with deep learning to master Infrared Small Target Detection (IRSTD). By integrating a Local Contrast Enhancement (LCE) module that explicitly looks for Gaussian-like intensity distributions, the model achieves state-of-the-art accuracy while remaining lightweight enough to run at 70 FPS on edge devices.

What Problem Does This Paper Address?

Detecting small targets in infrared imagery is a "needle in a haystack" problem. According to SPIE standards, these targets often occupy less than 0.15% of the total image area, exhibit contrast ratios below 15%, and have a Signal-to-Noise Ratio (SNR) of less than 1.5.

Current approaches generally fall into two camps:

  1. Model-driven methods: These rely on handcrafted rules (like "look for a bright spot"). They are interpretable but brittle in complex environments.
  2. Data-driven methods: Deep learning models (CNNs and Transformers) are powerful but struggle with IRSTD because the targets are so small that their features often vanish during the downsampling process. Furthermore, high-quality annotated infrared datasets are relatively small.

The authors address this gap by asking: How can we use human expert knowledge to guide a neural network's attention toward the spatial features that actually matter?

Methods

The authors propose LCAE-Net, a U-shaped network featuring two primary innovations:

  • Local Contrast Enhancement (LCE) Module: This is the "prior knowledge" engine. Instead of letting the network learn everything from scratch, the LCE uses fixed (non-learned) convolution operators to calculate Local Contrast Distance (LCD). It assumes small targets follow a Gaussian-like distribution (bright center, tapering edges). By comparing a center pixel to its neighbors in four directions, it generates a Local Contrast Attention (LCA) map. This map acts as a filter, suppressing background clutter and highlighting potential target regions before the deep layers even start processing.
  • Channel Attention Enhancement (CAE) Module: To prevent target information from being "washed out" during the network's downsampling stages, the CAE module fuses information across different feature channels. It uses 1D convolutions to allow channels to interact with their neighbors, ensuring that the semantic "essence" of a tiny target is preserved as the data moves deeper into the network.

The architecture also utilizes DySample, a lightweight dynamic upsampling operator, to maintain a low computational footprint.

Datasets

The model was evaluated on three widely recognized public benchmarks:

  • NUAA-SIRST: 427 images.
  • NUDT-SIRST: 1,327 images.
  • IRSTD-1K: 1,000 images, known for having a diverse range of backgrounds (oceans, rivers, cities, clouds).

Key Insights and Ideas

  • Prior Knowledge as a "Warm Start": The LCE module effectively mitigates the "blindness" of autonomous learning. By providing a handcrafted attention map, the network is less likely to get stuck in local optima (like focusing on a bright cloud edge instead of a dim target).
  • Efficiency via Simplicity: While many recent papers suggest complex multi-scale dilated convolutions, this paper demonstrates that a well-designed single-scale operator—when guided by the right physical priors—can outperform heavier models with lower computational costs.
  • Spatial vs. Semantic Balance: The combination of LCE (focusing on spatial contrast) and CAE (focusing on channel-wise semantic fusion) allows the U-Net to maintain high localization precision without losing the "big picture" of the scene.

Key Results

LCAE-Net demonstrated superior performance across nearly all metrics compared to state-of-the-art models like DNA-Net and SCTransNet:

  • Accuracy: Achieved an Intersection over Union (IoU) of 80.42% on NUAA-SIRST and 94.75% on NUDT-SIRST, outperforming the second-best methods by significant margins (up to 6.5% in some cases).
  • Detection Rate: Maintained a high Probability of Detection ($P_d$) while keeping the False Alarm rate ($F_a$) remarkably low.
  • Speed and Scale: The model is highly efficient, with only 1.945M parameters and 4.862G FLOPs. It achieves a detection speed of 70.23 FPS, making it nearly twice as fast as DNA-Net and suitable for real-time deployment on edge hardware.

Limitations and Future Work

  • False Alarm Sensitivity: While the model excels at finding targets, the authors note there is still room to improve the false alarm rate, particularly in extremely cluttered environments.
  • Hyperparameter Tuning: The LCE module relies on two hyperparameters ($\alpha$ and $\beta$) that define the contrast calculation. While the paper provides a robust analysis, these values may need fine-tuning for specific, unseen sensor types or environments.
  • Future Directions: The authors plan to further optimize the model for even lower-resource devices and explore ways to further reduce false positives in complex meteorological conditions.

Summary updated

Abstract

The data-driven method for infrared small target detection (IRSTD) has achieved promising results. However, due to the small scale of infrared small target datasets and the limited number of pixels occupied by the targets themselves, it is a challenging task for deep learning methods to directly learn from these samples. Utilizing human expert knowledge to assist deep learning methods in better learning is worthy of exploration. To effectively guide the model to focus on targets' spatial features, this paper proposes the Local Contrast Attention Enhanced infrared small target detection Network (LCAE-Net), combining prior knowledge with data-driven deep learning methods. LCAE-Net is a U-shaped neural network model which consists of two developed modules: a Local Contrast Enhancement (LCE) module and a Channel Attention Enhancement (CAE) module. The LCE module takes advantages of prior knowledge, leveraging handcrafted convolution operator to acquire Local Contrast Attention (LCA), which could realize background suppression while enhance the potential target region, thus guiding the neural network to pay more attention to potential infrared small targets' location information. To effectively utilize the response information throughout downsampling progresses, the CAE module is proposed to achieve the information fusion among feature maps' different channels. Experimental results indicate that our LCAE-Net outperforms existing state-of-the-art methods on the three public datasets NUDT-SIRST, NUAA-SIRST, and IRSTD-1K, and its detection speed could reach up to 70 fps. Meanwhile, our model has a parameter count and Floating-Point Operations (FLOPs) of 1.945M and 4.862G respectively, which is suitable for deployment on edge devices.
BibTeX
@misc{wang2024paying,
  author = {Peichao Wang and Jiabao Wang and Yao Chen and Rui Zhang and Yang Li and Zhuang Miao},
  title = {{Paying more attention to local contrast: improving infrared small target detection performance via prior knowledge}},
  year = {2024},
  eprint = {2411.13260},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.13260},
}
Figure