Skip to Content
You are currently on the new version of our website. Access the old version .
Remote SensingRemote Sensing
  • Article
  • Open Access

6 March 2026

19 Pages

HPFNet: Hierarchical Perception Fusion Network for Infrared Small Target Detection

,
and
1
State Key Laboratory of Integrated Services Networks, Xidian University, Xi’an 710071, China
2
Xi’an Institute of Applied Optics, Xi’an 710065, China
*
Author to whom correspondence should be addressed.

Highlights

What are the main findings?
  • A hierarchical perception fusion framework is proposed to improve infrared small target detection under complex background interference.
  • Joint global–local perception enhancement, sparse cross-level fusion, and efficient decoding effectively preserve weak target cues while suppressing background clutter.
What are the implications of the main findings?
  • The proposed advanced and well-coordinated modules jointly contribute to robust infrared small target detection.
  • The proposed method provides an efficient and practical solution for detecting extremely small and weak targets in cluttered infrared scenes.

Abstract

Infrared small target detection (IRSTD) is a fundamental task in remote sensing-based surveillance and early warning systems. However, extremely small target size, low signal-to-noise ratio, and complex background clutter make reliable detection highly challenging. To address these issues, we propose a Hierarchical Perception Fusion Network (HPFNet) for IRSTD. Specifically, the Patch-Wise Context Feature Extraction module (PCFE) jointly integrates the Patch Nonlocal Block, convolutional blocks and attention mechanism to enable global–local feature extraction and enhancement, thereby strengthening weak target representations. In addition, the Multi-Level Sparse Cross-Fusion module (MSCF) explicitly performs cross-level feature interaction between encoder and decoder representations, enabling effective fusion of low-level spatial details and high-level semantic cues. A dual Top-K sparsification mechanism is adopted to filters’ irrelevant background features, enabling the attention mechanism to focus more on the target region and thereby bolstering the discriminative power of feature representation. Finally, the Efficient Upsampling Module (EUM) combines upsampling with multi-branch dilated convolutions to enhance feature reconstruction and improve localization accuracy. Extensive experiments on publicly available benchmark datasets demonstrate that HPFNet consistently outperforms existing state-of-the-art IRSTD methods.

1. Introduction

Infrared small target detection (IRSTD) is a pivotal technology in modern remote sensing systems, playing a crucial role in early warning, maritime surveillance, precision guidance, and border security [1,2]. Unlike visible-light imagery, infrared (IR) images are generated based on thermal radiation differences, enabling robust perception under all-weather and night-time conditions.
Despite these advantages, IRSTD remains a highly challenging task due to the intrinsic properties of both targets and environments.
  • Tiny target scale: Targets typically occupy only a few pixels and exhibit extremely limited structural or textural cues, making it difficult to differentiate them from visually similar false alarms using only local target information [3].
  • Low signal-to-clutter ratio (SCR): Target responses are often submerged by severe thermal noise and complex background clutter, which makes reliable target detection particularly difficult [4].
Early IRSTD methods were predominantly model-driven and relied on handcrafted priors, including local contrast measures [5,6] and low-rank sparse decomposition (LRSD) [7,8]. Although computationally efficient, these approaches are highly sensitive to hyperparameter tuning and typically assume background continuity or sparsity, which limits their generalization ability in dynamic and complex scenes.
In recent years, deep learning has significantly advanced IRSTD research. Convolutional neural networks (CNNs), especially encoder–decoder architectures such as U-Net [9], have become the dominant paradigm due to their strong representation learning capability. Representative works, including ACM [10], DNANet [11], and ISNet [12], improve detection performance by introducing attention mechanisms and multi-scale feature fusion. More recently, Transformer-based [13,14] and State Space Model (Mamba)-based architectures [15,16] have been explored to capture long-range dependencies and global contextual information, alleviating the limited receptive field of traditional CNNs.
Nevertheless, despite continuous progress, two critical issues remain unresolved in existing deep learning-based IRSTD methods, restricting further performance improvement.
Ineffective global–local perception balance: Transformer and Mamba-based models excel at modeling global context but often struggle to preserve fine-grained local details due to patch-wise tokenization or sequential modeling mechanisms [15]. In contrast, CNN-based architectures are prone to losing weak target cues during repeated downsampling operations. Consequently, there is an urgent need for a lightweight yet effective framework that can simultaneously enhance local structural details and capture global contextual dependencies without incurring excessive computational overhead. To tackle this challenge, we introduce the Patch-Wise Context Feature Extraction (PCFE) module, which jointly enhances fine-grained local structures and patch-level global contextual perception.
Redundant and noisy cross-scale feature fusion: Most existing IRSTD networks, including strong baselines such as UIU-Net [17] and DNANet [11], adopt dense skip connections or dense attention mechanisms for cross-scale feature fusion. However, such indiscriminate fusion inevitably propagates background clutter and thermal noise from shallow to deep layers. Recent studies on sparse attention [18] indicate that dense interactions are suboptimal for IRSTD, as informative target regions are extremely sparse. Redundant feature fusion dilutes target responses and increases false alarms. To alleviate this issue, we designed the Multi-Level Sparse Cross-Fusion (MSCF) module with a dual Top-K sparsification strategy to suppress redundant background propagation during cross-scale fusion.
To address the above challenges, we propose a Hierarchical Perception Fusion Network (HPFNet) for infrared small target detection. We introduce a Patch-Wise Context Feature Extraction Module (PCFE) that enhances weak target representations through dual-scale patch-wise non-local modeling and attention refinement. Unlike conventional token-level global attention or full-resolution non-local blocks, PCFE better preserves fine-grained local cues while capturing contextual dependencies. To overcome dense and noisy skip fusion, we design a Multi-Level Sparse Cross-Fusion Module (MSCF), which explicitly models encoder–decoder cross-level correlations and incorporates a dual Top-K sparsification strategy to suppress redundant background propagation. Different from existing sparse attention methods that typically sparsify within a single feature level, MSCF performs selective interaction among multi-depth representations for clutter-suppressed fusion. Finally, we introduce an Efficient Upsampling Module (EUM) with lightweight multi-branch depthwise dilated convolutions to improve feature reconstruction and boundary recovery during decoding. In contrast to standard upsampling blocks relying on naive interpolation or single-rate dilation, EUM enables efficient receptive-field expansion with minimal computational overhead.
The main contributions of this work are summarized as follows:
  • We propose HPFNet, a novel hierarchical perception fusion framework for infrared small target detection, which jointly leverages global–local perception enhancement, sparse cross-level fusion, and efficient decoding to improve robustness under complex backgrounds.
  • The PCFE enhances weak target representations by integrating convolutional local structure preservation, multi-scale patch-wise global context modeling via PNB, and attention-based refinement, leading to more discriminative feature extraction for small targets.
  • The MSCF enables selective and sparsified cross-level feature fusion between encoder and decoder features through sparse cross-attention, reducing the influence of background clutter and enhancing target–background discrimination.
  • The EUM performs efficient upsampling and feature reconstruction using multi-branch depthwise dilated convolutions, improving boundary recovery and localization accuracy during decoding.

3. Methods

3.1. Overall Network Architecture

The overall architecture of the proposed HPFNet is illustrated in Figure 1. HPFNet follows a U-Net-like encoder–decoder backbone and is strengthened by three key components: PCFE, MSCF, and EUM.
Figure 1. Overall architecture of the proposed HPFNet. HPFNet incorporates three specially designed modules: PCFE, MSCF and EUM.
In both the encoder and decoder stages, PCFE is employed to build more discriminative representations through global–local feature extraction and enhancement. Specifically, PCFE integrates convolutional blocks for local structure preservation with Patch Nonlocal Blocks (PNB) for patch-wise global context modeling, and further introduces channel–spatial attention refinement to emphasize informative responses under cluttered backgrounds.
To perform effective feature interaction between encoder and decoder representations, MSCF replaces conventional dense skip connections. Instead of directly concatenating multi-level features, MSCF explicitly constructs cross-level correlations and conducts multi-level cross-attention interaction among shallow, intermediate, and deep representations. A dual Top-K sparsification mechanism is further adopted to filter irrelevant background features, enabling the attention mechanism to focus more on the target region and thereby bolstering the discriminative power of feature representation.
In the decoder, EUM performs resolution recovery and feature reconstruction. It combines upsampling with multiple parallel depthwise dilated convolution branches of different dilation rates, which enlarges the effective receptive field with low overhead and improves boundary recovery and localization accuracy during decoding.

3.2. Patch-Wise Context Feature Extraction Module

In deep encoder–decoder architectures, repeated downsampling progressively removes fine-grained spatial cues, which is detrimental to preserving weak and small target structures in the decoder stage. Moreover, under cluttered backgrounds, local textures of targets and background regions can be highly similar, easily leading to false alarms when relying only on local receptive fields. Motivated by these observations, we propose a Patch-Wise Context Feature Extraction (PCFE) module that jointly enhances local structural details and captures long-range dependencies in a computationally efficient patch-wise manner.
As illustrated in Figure 2, PCFE adopts a multi-branch design composed of a local convolutional backbone and two patch-wise context modeling branches. Given an input feature map F ∈ R C × H × W , we first apply a convolutional block composed of a 1 × 1 convolution to adjust the channel dimension and obtain F ′ ∈ R C ′ × H × W . Then, F ′ is separately fed into a local feature extraction branch and a global contextual feature extraction branch to produce F local ∈ R C ′ × H × W and F global ∈ R C ′ × H × W , respectively. These two outputs are fused by element-wise addition and then refined by an attention module to obtain F ˜ ∈ R C × H × W .
Figure 2. Architecture of PCFE. The module consists of a convolutional backbone for local structure preservation and dual Patch Nonlocal Blocks (PNB) for multi-scale patch-wise context modeling, followed by attention-based refinement.
The local feature extraction branch consists of three cascaded convolutions with kernel size 3 × 3 . This design yields three different outputs: F l o c a l 1 ∈ R C ′ × H × W , F l o c a l 2 ∈ R C ′ × H × W , and F l o c a l 3 ∈ R C ′ × H × W . By summing these three outputs, we obtain the final local feature representation F local ∈ R C ′ × H × W . This aggregation integrates hierarchical local cues from shallow-to-deep convolution stages.
From a global perspective, due to the distribution of Gaussian noise in the background, local features of the background and the target may exhibit high similarity, which can easily lead to a large number of false alarms. Therefore, global contextual association information can help the network better determine target locations and suppress background clutter with similar local patterns. To this end, the global contextual feature extraction branch adopts a Patch Nonlocal Block (PNB) to model global contextual features by constructing dependencies among pixels. Since the computational complexity of self-attention is quadratic, we apply a patch-wise operation to reduce the computational burden. First, we divide F ′ into p × p patches, where each patch has a spatial size of H / p × W / p . Then, a mean-pooling operation is applied to extract the representative feature of each patch, producing a patch-level feature map of size p × p , where each element corresponds to representative feature. A Nonlocal block is then employed to model the dependency among these patches, thereby capturing global contextual information. After that, bilinear interpolation is used to upsample the patch-level feature map back to the original spatial resolution H × W . Finally, a Sigmoid function is applied to generate a spatial attention weight, which is multiplied with F ′ to obtain the global contextual feature F global , as shown in Equation (1):
F global = σ BI N L M P ( F ′ ) ⊙ F ′
where M P ( · ) denotes the mean-pooling operation that aggregates features into patch-level representations, N L ( · ) denotes the nonlocal operation for modeling global contextual dependencies among patches, BI ( · ) represents bilinear interpolation used to upsample the patch-level feature map back to the original spatial resolution, and σ ( · ) denotes the Sigmoid function.
Since targets may vary significantly in scale, using only a single patch size may fail to adequately attend to targets at certain scales, which prevents comprehensive extraction of global features. Therefore, to obtain multi-scale global contextual information, we divide F ′ into 2 × 2 and 4 × 4 patches, respectively, and apply the above operations to obtain two global feature maps: F g l o b a l 1 p = 2 ∈ R C ′ × H × W and F g l o b a l 2 p = 4 ∈ R C ′ × H × W . These feature maps are concatenated along the channel dimension and fused by a 1 × 1 convolutional block to obtain the final global feature F global , as shown in Equation (2):
F global = f 1 × 1 CBR F g l o b a l 1 p = 2 , F g l o b a l 2 p = 4
where [ · ] denotes channel-wise concatenation, and f 1 × 1 CBR ( · ) denotes a convolutional block consisting of a 1 × 1 convolution, BN, and ReLU activation.
Finally, the local and global features are fused and refined by channel–spatial attention, followed by a 1 × 1 projection to produce the final PCFE output:
F out = f 1 × 1 CBR A F local + F global
where A ( · ) denotes the attention refinement consisting of a sequence of efficient channel attention [52] and spatial attention [53] components.
Note that the dual-scale PNB design (P = 2 and P = 4) is introduced to handle extremely small targets. The smaller patch emphasizes local target cues, whereas the larger patch provides contextual suppression of clutter, and the subsequent attention module adaptively balances their contributions.

3.3. Multi-Level Sparse Cross-Fusion Module

To efficiently fuse shallow and deep features while reducing background clutter interference, we propose a Multi-Level Sparse Cross-Fusion (MSCF) module. MSCF performs cross-attention-based feature interaction and selective sparse fusion between shallow and deep representations. Specifically, MSCF constructs a cross-level correlation map between the decoder feature and encoder features, and further applies a dual Top-K sparsification mechanism to retain only the most target-relevant correlations. The overall structure of MSCF is illustrated in Figure 3.
Figure 3. Architecture of MSCF. MSCF constructs sparse cross-level correlations between decoder and encoder features and performs selective fusion via dual Top-K sparsification.
Given three feature maps from different levels, including a shallow feature F l ∈ R 2 C × 2 H × 2 W , a current feature F m ∈ R C × H × W , and a deep feature F h ∈ R C 2 × H 2 × W 2 , we first align their spatial resolutions to match that of F m . Specifically, F l is downsampled by a 3 × 3 convolutional block with stride 2 to F l ′ to reduce its spatial size while adjusting its channel dimension, and F h is upsampled via bilinear interpolation followed by a 1 × 1 convolutional block to F h ′ to restore its resolution and unify the channel dimension. After alignment, we concatenate F l ′ and F h ′ along the channel dimension to obtain a cross-level representation F Σ ∈ R 2 C × H × W . This cascaded feature F Σ is then projected to generate the query embedding for cross-level correlation modeling, while the current feature F m is used to generate the key and value embeddings.
To construct cross-level correlations, we project F Σ into the query embedding space, while the current feature F m is projected into key and value embeddings:
Q = f 1 × 1 ( F Σ ) K , V = f 1 × 1 ( F m )
where f 1 × 1 ( · ) denotes a 1 × 1 convolution operation. The dense correlation map is computed as:
M = Q K T c
where c is the channel dimension of Q.
The dense correlation map inevitably contains a large number of background clutter interferences. Compared with the dense map M, the sparsified map M ′ sheds light on more target-relevant elements while neglecting irrelevant ones. In this way, the neglected entries are not considered in the subsequent aggregation, whereas the weights of the retained relevant correlations can be enlarged after softmax normalization.
To suppress irrelevant responses, MSCF applies row-wise Top-K sparsification: for each query position, only the Top-K largest correlation values are retained, and we replace the irrelevant elements’ values by − ∞ rather than removing them. This way, these values are transformed into 0 through the softmax operation. Moreover, to capture diverse feature information and balance fine-grained localization with broader contextual aggregation, we perform two separate Top-K operations with different K values (denoted as k 1 and k 2 ) on M. Subsequently, two learnable parameters are introduced to automatically adjust the contribution ratio of these two sparsification levels, enabling the model to enhance its perceptual capability during the fusion stage:
M ′ = α · Softmax TopK 1 ( M ) + β · Softmax TopK 2 ( M ) ,
where TopK 1 ( · ) and TopK 2 ( · ) denote row-wise sparsification with k 1 and k 2 , respectively, and α and β are learnable fusion weights. This dual-sparsity strategy preserves both highly discriminative target correlations and moderately informative contextual interactions.
The dual Top-K sparsification strategy is adopted to suppress redundant background responses. Following prior sparse attention designs, the Top-K parameters are defined as sparsification ratios rather than fixed integers. Specifically, we search k 1 ∈ { 1 / 2 , 1 / 4 , 1 / 8 } and k 2 ∈ { 1 / 3 , 1 / 6 , 1 / 9 } on the training set. The best performance is achieved with k 1 = 1 / 2 and k 2 = 1 / 6 , which are fixed for all experiments in this paper.
The refined sparse correlation map M ′ is applied to the value feature V to obtain the cross-level aggregated representation. It is then combined with the identity shortcut via residual addition, followed by a CBR block for further feature refinement:
F fusion = f CBR M ′ V + F m ,
where f CBR ( · ) denotes a convolutional block consisting of Conv, BN, and ReLU. This residual refinement preserves the original feature information while enhancing informative responses through selective sparse interaction, thereby improving target–background discrimination.

3.4. Efficient Upsampling Module

To address the limitations of conventional upsampling operators and the difficulty of recovering high-resolution feature maps in the decoder stage, we design an Efficient Upsampling Module that integrates a hybrid upsampling strategy with a multi-scale context-aware enhancement mechanism. Specifically, the input feature is first enlarged via bilinear interpolation, and then refined by multiple parallel dilated convolution blocks with different dilation rates. The proposed EUM improves upsampling flexibility and feature preservation, thereby reducing information loss and enhancing structural recovery. The overall structure of EUM is illustrated in Figure 4.
Figure 4. Architecture of the proposed Efficient Upsampling Module (EUM).
Given an input feature map F ∈ R C × H × W , EUM first applies bilinear interpolation (BI) to enlarge the spatial resolution, yielding F ′ ∈ R C × 2 H × 2 W . This parameter-free operation provides a stable and artifact-free upsampling baseline while maintaining the original feature distribution.
To compensate for the limited contextual perception of pure interpolation, F ′ is further processed by three parallel depthwise 3 × 3 convolution branches with dilation rates d ∈ { 1 , 3 , 5 } . We adopt these moderate dilation rates following common practice in multi-scale decoding modules, which provides an effective balance between receptive-field expansion and precise localization for tiny targets. These branches capture complementary information at different effective receptive fields: the branch with d = 1 focuses on local detail refinement and boundary continuity, whereas larger dilation rates ( d = 3 and d = 5 ) incorporate broader contextual cues to enhance semantic consistency and suppress background interference. We do not employ excessively large dilation rates (e.g., d = 7 ), since overly sparse sampling may introduce gridding artifacts and irrelevant long-range background clutter, which is unfavorable for infrared small target localization. Each depthwise convolution is followed by Batch Normalization and ReLU activation to improve feature normalization and non-linearity.
The outputs of the three branches are concatenated along the channel dimension and passed through a 1 × 1 convolution block with BN and ReLU for channel fusion and adaptive re-weighting of multi-scale features. Finally, a residual connection adds the fused feature back to the upsampled shortcut to stabilize optimization and preserve spatial layout:
F out = F ′ + f 1 × 1 CBR f d = 1 ( F ′ ) , f d = 3 ( F ′ ) , f d = 5 ( F ′ ) ,
where [ · ] denotes channel-wise concatenation, and f d ( · ) represents a depthwise 3 × 3 dilated convolution followed by Batch Normalization and ReLU.

4. Experiments

This section presents the experimental setup and evaluation of the proposed HPFNet. We describe the datasets, experimental settings, evaluation metrics, quantitative analysis, qualitative analysis and ablation studies.

4.1. Datasets

We evaluate the proposed HPFNet on three widely used infrared small target datasets.
NUAA-SIRST [10]. This dataset contains 427 real infrared images with diverse backgrounds, including sky, sea, and cloud scenes. The target size is extremely small (often only a few pixels), making NUAA-SIRST a challenging and representative benchmark for single-frame IRSTD.
IRSTD-1K [12]. This dataset consists of 1000 infrared images covering complex scenarios such as urban areas, sea surfaces, forests, mountains, and sky scenes. It contains various target categories, including UAVs, aircraft, ships, vehicles, and animals, and is widely used to evaluate robustness and generalization of IRSTD methods.
NUDT-SIRST [11]. This dataset includes 1327 synthetic infrared images generated from real scenes. Although the data are synthesized, the dataset exhibits complex background distributions and diverse target shapes, and has become a standard benchmark in many recent IRSTD works.
We adopt the method used by [11] to partition the training and test sets of NUAA-SIRST and NUDT-SIRST, and [12] for splitting the IRSTD-1K.

4.2. Experimental Settings

All experiments are implemented using PyTorch (v2.1.0) and conducted on an NVIDIA RTX 4090 GPU with 24 GB memory and an Intel Core i5-13500KF CPU. We employed Soft-IoU Loss [54] as the loss function and AdamW [55] as the optimizer. We trained three separate models on four different datasets. Due to significant variations in dataset distribution and resolution, we customized the hyperparameters for each dataset as shown in Table 1. To enhance generalization ability, we apply random horizontal and vertical flipping and random rotations during training. Multi-scale deep supervision strategy is applied to stabilize optimization and accelerate convergence.
Table 1. Training settings on different datasets.

4.3. Evaluation Metrics

We compare the proposed HPFNet with the state-of-the-art (SOTA) methods using several standard metrics.
IoU measures the overlap between predicted target regions and ground-truth annotations:
IoU i = T P i T P i + F P i + F N i
where T P , F P , and F N denote true positives, false positives, and false negatives of the i-th image.
Given the extreme class imbalance in infrared small target detection, nIoU provides a dataset-level normalized measure:
nIoU = 1 N ∑ i = 1 N IoU i
where N is the total number of images.
Fa evaluates the model’s ability to suppress background clutter by measuring the proportion of background pixels mistakenly predicted as targets:
Fa = F P F P + T P × 100 %
Pd represents the ratio of correctly detected target pixels among all actual target pixels. The standard definition used in SIRST literature is
Pd = T P T P + F N × 100 %
Next to fixed-threshold metrics, ROC curves are also employed for comprehensive evaluation. They illustrate the variation in Pd with respect to Fa when the decision threshold changes.

4.4. Quantitative Analysis

We compare the proposed HPFNet with five representative traditional IRSTD algorithms, including Top-Hat [20], Max-Median [21], TLLCM [23], IPI [24], and PSTNN [27], as well as seven state-of-the-art deep learning-based methods, namely ACM [10], AGPCNet [56], DNANet [11], ISNet [12], UIU-Net [17], RDIAN [57], and MSHNet [42]. Quantitative results on three public benchmarks (NUAA-SIRST, IRSTD-1K, and NUDT-SIRST) are summarized in Table 2.
Table 2. Comparison with state-of-the-art infrared small target detection methods on NUAA-SIRST, IRSTD-1K, and NUDT-SIRST. The best results in each column are shown in bold.
In general, a clear and consistent performance gap is observed between traditional model-driven algorithms and modern deep learning-based methods. Traditional approaches largely depend on handcrafted priors (e.g., morphological contrast or low-rank decomposition), which restrict their capability to handle complex structured clutter, dynamic backgrounds, and extremely low signal-to-clutter ratios. Consequently, they often yield poor overlap accuracy (low IoU) and suffer from severe false alarms. In contrast, deep models benefit from data-driven representation learning and hierarchical semantic modeling, enabling more robust discrimination between weak targets and background interference across challenging infrared scenes.
Compared with advanced neural network baselines such as DNANet, MSHNet, ISNet, and UIU-Net, HPFNet consistently achieves superior performance in terms of IoU, nIoU, and detection probability ( P d ), while maintaining the lowest false-alarm rate ( F a ) on NUAA-SIRST and NUDT-SIRST. Specifically, HPFNet reaches an IoU of 80.78% with only 1.29 false alarms on NUAA-SIRST, and obtains the best IoU of 93.48% on NUDT-SIRST with a very low F a of 2.20. These results demonstrate that HPFNet is more effective at suppressing background clutter while preserving faint target responses, leading to more accurate segmentation and improved target–background separation. The consistent gains across multiple datasets further validate the stability and generalization ability of the proposed framework. Table 3 gives the average metrics of the different algorithms on the three datasets, and we can observe that HPFNet has acceptable parameters at the highest performance and outperforms the powerful UIU-Net.
Table 3. Comprehensive evaluation metrics with competitive algorithms.
To further evaluate the detection performance under varying decision thresholds, we plot ROC curves on the NUAA-SIRST dataset in Figure 5. The ROC analysis corroborates the quantitative comparisons in Table 2, showing that deep learning methods generally outperform traditional techniques, while HPFNet achieves the most favorable trade-off between detection probability and false alarms across all thresholds.
Figure 5. ROC curves of different methods on the NUAA-SIRST dataset.

4.5. Qualitative Analysis

The qualitative comparisons in Figure 6 and Figure 7 provide intuitive evidence of the detection performance of different methods on representative infrared images. Traditional model-driven approaches tend to generate a large number of false alarms (blue boxes) and missed detections (yellow boxes), particularly in cluttered backgrounds. This behavior reflects their limited robustness in complex infrared scenes, where handcrafted priors struggle to distinguish weak targets from structurally similar background responses. In contrast, deep learning-based methods substantially reduce false detections by learning hierarchical feature representations that enhance target–background separability.
Figure 6. Visual results of different IRSTD methods. The red, blue, and yellow boxes denote correct detections, false alarms, and missed detections, respectively.
Figure 7. 3D visualization comparison of detection results via different methods. The red, yellow, and blue boxes denote correct, missed, and false detections.
Among the deep learning baselines, the proposed HPFNet consistently yields the most reliable detection results across diverse scenarios. Although ISNet and UIU-Net demonstrate competitive performance in relatively simple scenes, they still suffer from occasional false alarms and missed detections under challenging conditions, as shown in Figure 6 and Figure 7. These failures mainly stem from insufficient suppression of background clutter and limited ability to exploit long-range contextual dependencies, which are essential for distinguishing tiny targets from high-intensity distractors.
In comparison, HPFNet maintains high detection accuracy and strong robustness across various complex scenes. This advantage is attributed to its hierarchical perception fusion design, which integrates patch-wise contextual modeling, selective cross-level feature fusion and efficient upsampling design. Such a design enables HPFNet to better adapt to variations in target appearance and background complexity, while suppressing clutter-induced activations more effectively. A representative example is given in the fourth image of Figure 6, where most competing methods mistakenly detect a bright structure in the lower-left region as a target. This error is primarily caused by their heavy reliance on local contrast cues without sufficient contextual modeling.

4.6. Ablation Studies

(1) Ablation Study on Module-wise Performance Gain: In this study, we initiate our investigation from the fundamental U-Net architecture, which serves as the baseline of our framework. Based on this baseline, we progressively incorporate the three proposed components, PCFE, MSCF and EUM. This incremental design enables a systematic evaluation of the individual contributions and collective effectiveness of each module in improving infrared small target detection performance.
The experimental results reported in Table 4 provide several important observations. (1) Each proposed module consistently improves detection performance, verifying the motivation of our design. (2) Compared with the baseline U-Net (strategy (a)), adding PCFE (strategy (b)) improves IoU by 3.60% and 3.53% on NUAA-SIRST and IRSTD-1K, respectively. This proves the feature extraction and enhancement capabilities of PCFE. (3) The comparison between strategy (a) and strategy (c) demonstrates the effectiveness of MSCF, which performs sparse cross-level fusion to suppress background clutter and enhance target–background discrimination. (4) Furthermore, the introduction of EUM improves feature recovery during decoding and strengthens the localization of small targets. (5) Finally, the full model (strategy (g)) achieves the best overall performance across all datasets, confirming the strong complementarity among PCFE, MSCF, and EUM.
Table 4. Ablation study on the effects of PCFE, MSCF, and EUM on three public SIRST datasets.
To further illustrate the trade-off between performance gain and computational cost, we report the model complexity in terms of parameters and FLOPs in Table 5.
Table 5. Complexity analysis of different module configurations.
(2) Ablation on PCFE Design: We conducted an ablation study on the PCFE by selectively removing its key components, including the Patch Nonlocal Block (PNB) and the attention module. As shown in Table 6, the complete PCFE consistently achieves the best performance across all three datasets, demonstrating the effectiveness of jointly leveraging patch-wise contextual modeling and attention-based refinement.
Table 6. Ablation study on different designs of the PCFE.
Removing any component leads to a clear performance degradation, indicating that both PNB and attention contribute positively to feature enhancement. In particular, the performance drop caused by removing PNB is consistently larger than that caused by removing the attention module, suggesting that patch-wise contextual modeling plays a dominant role in enhancing weak target saliency and suppressing background clutter through global dependency aggregation. Meanwhile, the attention refinement module provides a complementary benefit by further strengthening channel–spatial discrimination, which helps improve target–background contrast, especially in complex scenes.
(3) Ablation on MSCF Sparsification: This experiment investigates how different sparsification strategies affect the quality of cross-level feature fusion and the final detection performance. The results are shown in Table 7. Without sparsification, MSCF aggregates all correlation responses indiscriminately, which introduces numerous background clutter interference and dilutes target-specific cues, leading to inferior performance.
Table 7. Ablation study on the Top-k sparsification strategy in the MSCF.
Introducing a single Top-k operation consistently improves performance. By filtering out low-response correlations, the fusion becomes more selective and focuses on highly informative target-related interactions, thus enhancing target saliency and suppressing background noise.
The best performance is achieved when MSCF jointly integrates both sparsification levels via learnable fusion weights. This dual-Top-k strategy leverages the complementarity between a stricter sparsification (better noise suppression) and a looser sparsification (better context preservation), yielding the highest IoU/nIoU and achieving a perfect Pd of 100.00 with the lowest Fa of 1.29. These results suggest that adaptive sparsification effectively balances target enhancement and background suppression during cross-level fusion.

5. Conclusions

In conclusion, to alleviate spatial detail degradation and background interference in infrared small target detection, we propose HPFNet, a Hierarchical Perception Fusion Network. Specifically, PCFE jointly exploits convolution-based local structure preservation and patch-wise contextual modeling, and further integrates channel–spatial attention to enhance feature discrimination from both local and global perspectives. MSCF explicitly performs cross-level interaction among shallow, intermediate, and deep features, and incorporates a dual Top-K sparsification mechanism to filter irrelevant background features, enabling the attention mechanism to focus more on the target region and thereby bolstering the discriminative power of feature representation. EUM combines upsampling with multiple parallel dilated convolution branches, which enhances feature reconstruction and improves spatial localization accuracy. Extensive experiments conducted on multiple benchmark datasets demonstrate the effectiveness and superiority of the proposed HPFNet.

Author Contributions

Conceptualization, M.Z.; Methodology, Y.H.; Software, S.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the National Natural Science Foundation of China under Grant 62272363, and Grant 92470108; in part by the Joint Laboratory for Innovation in Satellite-Borne Computers and Electronics Technology Open Fund 2023 under Grant 2024KFKT001-1.

Data Availability Statement

The NUAA-SIRST dataset are available at: https://github.com/YimianDai/sirst; The IRSTD-1k dataset are available at: https://github.com/RuiZhang97/ISNet; The NUDT-SIRST dataset are available at: https://github.com/YeRen123455/Infrared-Small-Target-Detection.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kumar, N.; Singh, P. Small and dim target detection in infrared imagery: A review, current techniques and future directions. Neurocomputing 2025, 630, 129640. [Google Scholar] [CrossRef] [Scilit]
  2. Ding, L.; Xia, Y.; Wang, B.; Cai, Y. Infrared Dim Small Target Detection Algorithm Based on Adaptive Attention Transformer Network. J. Shanghai Jiaotong Univ. (Sci.) 2025, 1–13. [Google Scholar] [CrossRef] [Scilit]
  3. Kumar, N.; Singh, P. Small and dim target detection in IR imagery: A review. arXiv 2023, arXiv:2311.16346. [Google Scholar] [CrossRef] [Scilit]
  4. Ma, J.; Guo, H.; Rong, S.; Feng, J.; He, B. Infrared dim and small target detection based on background prediction. Remote Sens. 2023, 15, 3749. [Google Scholar] [CrossRef] [Scilit]
  5. He, Y.; Li, M.; Zhang, J.; An, Q. Small infrared target detection based on low-rank and sparse representation. Infrared Phys. Technol. 2015, 68, 98–109. [Google Scholar] [CrossRef] [Scilit]
  6. Xia, C.; Li, X.; Zhao, L.; Shu, R. Infrared small target detection based on multiscale local contrast measure using local energy factor. IEEE Geosci. Remote Sens. Lett. 2019, 17, 157–161. [Google Scholar] [CrossRef] [Scilit]
  7. Lu, Z.; Huang, Z.; Song, Q.; Ni, H.; Bai, K. Infrared small target detection based on joint local contrast measures. Optik 2023, 273, 170437. [Google Scholar] [CrossRef] [Scilit]
  8. Dou, T.; Xin, Y. Infrared Small Target Detection Based on Low Rank Sparse Decomposition in Gaussian Space. Comput. Sci. Appl. 2020, 10, 960–970. [Google Scholar]
  9. Ronneberger, O.; Fischer, P.; Brox, T. U-net: Convolutional networks for biomedical image segmentation. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer: Berlin/Heidelberg, Germany, 2015; pp. 234–241. [Google Scholar]
  10. Dai, Y.; Wu, Y.; Zhou, F.; Barnard, K. Asymmetric contextual modulation for infrared small target detection. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision; IEEE: Piscataway, NJ, USA, 2021; pp. 950–959. [Google Scholar]
  11. Li, B.; Xiao, C.; Wang, L.; Wang, Y.; Lin, Z.; Li, M.; An, W.; Guo, Y. Dense nested attention network for infrared small target detection. IEEE Trans. Image Process. 2022, 32, 1745–1758. [Google Scholar] [CrossRef] [Scilit]
  12. Zhang, M.; Zhang, R.; Yang, Y.; Bai, H.; Zhang, J.; Guo, J. ISNet: Shape matters for infrared small target detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2022; pp. 877–886. [Google Scholar]
  13. Yuan, S.; Qin, H.; Yan, X.; Akhtar, N.; Mian, A. Sctransnet: Spatial-channel cross transformer network for infrared small target detection. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5002615. [Google Scholar] [CrossRef] [Scilit]
  14. Xu, S.; Zheng, S.; Xu, W.; Xu, R.; Wang, C.; Zhang, J.; Teng, X.; Li, A.; Guo, L. Hcf-net: Hierarchical context fusion network for infrared small object detection. In Proceedings of the 2024 IEEE International Conference on Multimedia and Expo (ICME); IEEE: Piscataway, NJ, USA, 2024; pp. 1–6. [Google Scholar]
  15. Chen, T.; Ye, Z.; Tan, Z.; Gong, T.; Wu, Y.; Chu, Q.; Liu, B.; Yu, N.; Ye, J. Mim-istd: Mamba-in-mamba for efficient infrared small target detection. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5007613. [Google Scholar] [CrossRef] [Scilit]
  16. Xu, W.; Zheng, S.; Wang, C.; Zhang, Z.; Ren, C.; Xu, R.; Xu, S. SAMamba: Adaptive state space modeling with hierarchical vision for infrared small target detection. Inf. Fusion 2025, 124, 103338. [Google Scholar] [CrossRef] [Scilit]
  17. Wu, X.; Hong, D.; Chanussot, J. UIU-Net: U-Net in U-Net for infrared small object detection. IEEE Trans. Image Process. 2022, 32, 364–376. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. Zhang, X.; LI, D.; Lin, S.; Lu, X. Infrared Weak Target Detection Method Based on Sparse Attention. Infrared Technol. 2025, 47, 342–350. [Google Scholar]
  19. Zuo, Z.; Tong, X.; Wei, J.; Su, S.; Wu, P.; Guo, R.; Sun, B. AFFPN: Attention fusion feature pyramid network for small infrared target detection. Remote Sens. 2022, 14, 3412. [Google Scholar] [CrossRef] [Scilit]
  20. Bai, X.; Zhou, F. Analysis of new top-hat transformation and the application for infrared dim small target detection. Pattern Recognit. 2010, 43, 2145–2156. [Google Scholar] [CrossRef] [Scilit]
  21. Deshpande, S.D.; Er, M.H.; Venkateswarlu, R.; Chan, P. Max-mean and max-median filters for detection of small targets. In Proceedings of the Signal and Data Processing of Small Targets 1999; SPIE: Bellingham, WA, USA, 1999; Volume 3809, pp. 74–83. [Google Scholar]
  22. Han, J.; Moradi, S.; Faramarzi, I.; Zhang, H.; Zhao, Q.; Zhang, X.; Li, N. Infrared small target detection based on the weighted strengthened local contrast measure. IEEE Geosci. Remote Sens. Lett. 2020, 18, 1670–1674. [Google Scholar] [CrossRef] [Scilit]
  23. Han, J.; Moradi, S.; Faramarzi, I.; Liu, C.; Zhang, H.; Zhao, Q. A local contrast method for infrared small-target detection utilizing a tri-layer window. IEEE Geosci. Remote Sens. Lett. 2019, 17, 1822–1826. [Google Scholar] [CrossRef] [Scilit]
  24. Gao, C.; Meng, D.; Yang, Y.; Wang, Y.; Zhou, X.; Hauptmann, A.G. Infrared patch-image model for small target detection in a single image. IEEE Trans. Image Process. 2013, 22, 4996–5009. [Google Scholar] [CrossRef] [Scilit]
  25. Zhang, L.; Peng, L.; Zhang, T.; Cao, S.; Peng, Z. Infrared small target detection via non-convex rank approximation minimization joint l 2, 1 norm. Remote Sens. 2018, 10, 1821. [Google Scholar] [CrossRef] [Scilit]
  26. Dai, Y.; Wu, Y. Reweighted infrared patch-tensor model with both nonlocal and local priors for single-frame small target detection. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2017, 10, 3752–3767. [Google Scholar] [CrossRef] [Scilit]
  27. Zhang, T.; Wu, H.; Liu, Y.; Peng, L.; Yang, C.; Peng, Z. Infrared small target detection based on non-convex optimization with Lp-norm constraint. Remote Sens. 2019, 11, 559. [Google Scholar] [CrossRef] [Scilit]
  28. Dai, Y.; Wu, Y.; Zhou, F.; Barnard, K. Attentional local contrast networks for infrared small target detection. IEEE Trans. Geosci. Remote Sens. 2021, 59, 9813–9824. [Google Scholar] [CrossRef] [Scilit]
  29. Wang, Z.; Zang, T.; Fu, Z.; Yang, H.; Du, W. RLPGB-Net: Reinforcement learning of feature fusion and global context boundary attention for infrared dim small target detection. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5003615. [Google Scholar] [CrossRef] [Scilit]
  30. Tong, X.; Su, S.; Wu, P.; Guo, R.; Wei, J.; Zuo, Z.; Sun, B. MSAFFNet: A multiscale label-supervised attention feature fusion network for infrared small target detection. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5002616. [Google Scholar] [CrossRef] [Scilit]
  31. Shi, Q.; Zhang, C.; Chen, Z.; Lu, F.; Ge, L.; Wei, S. An infrared small target detection method using coordinate attention and feature fusion. Infrared Phys. Technol. 2023, 131, 104614. [Google Scholar] [CrossRef] [Scilit]
  32. Zhao, Z.; Chen, W.; Dong, S.; Chen, Y.; Wang, H. MFAFNet: A Multi-Feature Attention Fusion Network for Infrared Small Target Detection. Remote Sens. 2025, 17, 3070. [Google Scholar] [CrossRef] [Scilit]
  33. Wang, Z.; Zhou, F.; Lu, P.; Zheng, W.; Hao, F.; Yin, J. MAFNet: A Multi-scale Aligned Fusion Network for infrared small target detection. Neurocomputing 2025, 626, 129610. [Google Scholar] [CrossRef] [Scilit]
  34. Zhang, M.; Zhang, R.; Zhang, J.; Guo, J.; Li, Y.; Gao, X. Dim2Clear Network for Infrared Small Target Detection. IEEE Trans. Geosci. Remote Sens. 2023, 61, 1–14. [Google Scholar] [CrossRef] [Scilit]
  35. Li, H.L.; Chen, S.W. General Polarimetric Correlation Pattern: A Visualization and Characterization Tool for Target Joint-Domain Scattering Mechanisms Investigation. IEEE Trans. Geosci. Remote Sens. 2025, 64, 5200417. [Google Scholar] [CrossRef] [Scilit]
  36. Li, H.L.; Chen, S.W. Polyhedral corner reflectors multi-domain joint characterization with fully polarimetric radar. IEEE Trans. Antennas Propag. 2025, 73, 10679–10693. [Google Scholar] [CrossRef] [Scilit]
  37. Li, H.L.; Liu, S.W.; Chen, S.W. PolSAR ship characterization and robust detection at different grazing angles with polarimetric roll-invariant features. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5225818. [Google Scholar] [CrossRef] [Scilit]
  38. Alom, M.Z.; Hasan, M.; Yakopcic, C.; Taha, T.M.; Asari, V.K. Recurrent residual convolutional neural network based on u-net (r2u-net) for medical image segmentation. arXiv 2018, arXiv:1802.06955. [Google Scholar]
  39. Zhou, Z.; Rahman Siddiquee, M.M.; Tajbakhsh, N.; Liang, J. Unet++: A nested u-net architecture for medical image segmentation. In Proceedings of the International Workshop on Deep Learning in Medical Image Analysis; Springer: Berlin/Heidelberg, Germany, 2018; pp. 3–11. [Google Scholar]
  40. Fan, X.; Ding, W.; Li, X.; Li, T.; Hu, B.; Shi, Y. An Improved U-Net Infrared Small Target Detection Algorithm Based on Multi-Scale Feature Decomposition and Fusion and Attention Mechanism. Sensors 2024, 24, 4227. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  41. Chen, D.; Qin, F.; Ge, R.; Peng, Y.; Wang, C. ID-UNet: A densely connected UNet architecture for infrared small target segmentation. Alex. Eng. J. 2025, 110, 234–244. [Google Scholar] [CrossRef] [Scilit]
  42. Liu, Q.; Liu, R.; Zheng, B.; Wang, H.; Fu, Y. Infrared small target detection with scale and location sensitivity. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 16–22 June 2024; pp. 17490–17499. [Google Scholar]
  43. Quan, W.; Zhao, W.; Wang, W.; Xie, H.; Wang, F.L.; Wei, M. Lost in UNet: Improving infrared small target detection by underappreciated local features. IEEE Trans. Geosci. Remote Sens. 2024, 63, 5000115. [Google Scholar] [CrossRef] [Scilit]
  44. Zhang, F.; Lin, S.; Xiao, X.; Wang, Y.; Zhao, Y. Global attention network with multiscale feature fusion for infrared small target detection. Opt. Laser Technol. 2024, 168, 110012. [Google Scholar] [CrossRef] [Scilit]
  45. Zhong, S.; Zhou, H.; Zheng, Z.; Ma, Z.; Zhang, F.; Duan, J. Hierarchical attention-guided multiscale aggregation network for infrared small target detection. Neural Netw. 2024, 171, 485–496. [Google Scholar] [CrossRef] [Scilit]
  46. Wang, A.; Li, W.; Wu, X.; Huang, Z.; Tao, R. Mpanet: Multi-patch attention for infrared small target object detection. In Proceedings of the IGARSS 2022—2022 IEEE International Geoscience and Remote Sensing Symposium; IEEE: Piscataway, NJ, USA, 2022; pp. 3095–3098. [Google Scholar]
  47. Pan, P.; Wang, H.; Wang, C.; Nie, C. ABC: Attention with bilinear correlation for infrared small target detection. In Proceedings of the 2023 IEEE International Conference on Multimedia and Expo (ICME); IEEE: Piscataway, NJ, USA, 2023; pp. 2381–2386. [Google Scholar]
  48. Liu, W.; Lu, X.; Zhang, J.; Hou, S.; Zhang, T. Hybrid attention and adaptive feature fusion network for infrared small target detection. Opt. Lasers Eng. 2025, 194, 109214. [Google Scholar] [CrossRef] [Scilit]
  49. Zuo, J.; Pei, S.; Li, Q. DENet: Dual-Path Edge Network with Global-Local Attention for Infrared Small Target Detection. arXiv 2025, arXiv:2509.20701. [Google Scholar] [CrossRef] [Scilit]
  50. Gupta, A.; Dar, G.; Goodman, S.; Ciprut, D.; Berant, J. Memory-efficient Transformers via Top-k Attention. arXiv 2021, arXiv:2106.06899. [Google Scholar]
  51. Chen, X.; Li, H.; Li, M.; Pan, J. Learning a sparse transformer network for effective image deraining. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada, 17–24 July 2023; pp. 5896–5905. [Google Scholar]
  52. Wang, Q.; Wu, B.; Zhu, P.; Li, P.; Zuo, W.; Hu, Q. ECA-Net: Efficient channel attention for deep convolutional neural networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 11534–11542. [Google Scholar]
  53. Woo, S.; Park, J.; Lee, J.Y.; Kweon, I.S. Cbam: Convolutional block attention module. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 3–19. [Google Scholar]
  54. Rahman, M.A.; Wang, Y. Optimizing intersection-over-union in deep neural networks for image segmentation. In Proceedings of the International Symposium on Visual Computing; Springer: Berlin/Heidelberg, Germany, 2016; pp. 234–244. [Google Scholar]
  55. Loshchilov, I.; Hutter, F. Decoupled weight decay regularization. arXiv 2017, arXiv:1711.05101. [Google Scholar]
  56. Zhang, T.; Li, L.; Cao, S.; Pu, T.; Peng, Z. Attention-guided pyramid context networks for detecting infrared small target under complex background. IEEE Trans. Aerosp. Electron. Syst. 2023, 59, 4250–4261. [Google Scholar] [CrossRef] [Scilit]
  57. Sun, H.; Bai, J.; Yang, F.; Bai, X. Receptive-field and direction induced attention network for infrared dim small target detection with a large-scale dataset IRDST. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5000513. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.