Papers
Topics
Authors
Recent
Search
2000 character limit reached

CASR-PAN: Adaptive Sparse Routing Network

Updated 5 January 2026
  • The paper introduces CASR-PAN, which leverages content-adaptive sparse routing to efficiently fuse multi-scale features for improved infrared gas leak detection.
  • It utilizes an Importance Estimator and dynamic routing weights through spatial gating and fusion blocks to selectively transmit salient information.
  • Empirical findings show CASR-PAN outperforms dense fusion methods, delivering higher AP scores and reducing GFLOPs and parameters in challenging detection tasks.

The Content-Adaptive Sparse Routing Path Aggregation Network (CASR-PAN) is a neural feature aggregation architecture designed for cross-scale feature fusion in detection networks, particularly within the context of the PEG-DRNet framework for infrared gas leak detection. CASR-PAN implements sparse, content-adaptive routing of multi-scale features, selectively propagating information across spatial locations and resolution levels based on dynamic, data-driven cues. This architecture addresses redundancies and inefficiencies in traditional dense path aggregation necks by leveraging spatial gating and explicit modulation mechanisms, yielding improvements in both accuracy and computational efficiency in challenging object detection scenarios (Li et al., 29 Dec 2025).

1. Architectural Structure and Component Design

CASR-PAN is situated between the feature extraction backbone (Physics–Edge Hybrid) and the detection decoder (RT-DETR). Its role is to fuse multi-scale feature maps, specifically {P3,P4,P5}\{P3, P4, P5\}, using path-specific, content-adaptive control. The core components are:

  • Importance Estimator (IE): Takes a feature map XRB×C×H×WX\in\mathbb{R}^{B\times C\times H\times W} and generates an importance tensor II via fusion of three cues:
    • Global (GG): Global-average pooling followed by 1×11\times 1 convolutions and nonlinearity.
    • Local (LL): Local context via 3×33\times 3 convolution and further transformation.
    • Diversity (DD): 1×11\times 1 convolution, ReLU, sigmoid, and per-channel variance.
    • Softmax-normalized scalar weights (wg,wl,wd)(w_g, w_l, w_d) combine these into XRB×C×H×WX\in\mathbb{R}^{B\times C\times H\times W}0.
  • Routing Weight Generation: A XRB×C×H×WX\in\mathbb{R}^{B\times C\times H\times W}1 convolution transforms XRB×C×H×WX\in\mathbb{R}^{B\times C\times H\times W}2 into four spatially-varying routing maps XRB×C×H×WX\in\mathbb{R}^{B\times C\times H\times W}3, assigned to four functional paths.
  • Adaptive Information Modulation for Fusion (AIMM-F): Blends local (XRB×C×H×WX\in\mathbb{R}^{B\times C\times H\times W}4) and transported (XRB×C×H×WX\in\mathbb{R}^{B\times C\times H\times W}5) features:

XRB×C×H×WX\in\mathbb{R}^{B\times C\times H\times W}6

where XRB×C×H×WX\in\mathbb{R}^{B\times C\times H\times W}7 denotes addition, XRB×C×H×WX\in\mathbb{R}^{B\times C\times H\times W}8 is broadcasted multiplication, XRB×C×H×WX\in\mathbb{R}^{B\times C\times H\times W}9 is a bias, and II0 is per-channel standard deviation.

  • Adaptive Information Modulation for Self (AIMM-S): Enhances a feature map via self-routing:

II1

II2 provides an identity baseline.

  • Explicit Routing Paths: Four defined flows:
    1. Deep (II3) to mid (II4) via AIMM-F and II5.
    2. Deep (II6) to shallow (II7) via AIMM-F and II8.
    3. Shallow (II9) to mid (GG0) via AIMM-F and GG1.
    4. Mid (GG2) self-enhancement via AIMM-S and GG3.

The resulting routed outputs are aggregated and refined by shallow convolutional blocks before emission to the decoder.

2. Routing Formulation and Sparsity Mechanisms

The content-adaptive routing in CASR-PAN is implemented as a spatially varying convex blend at each location GG4:

GG5

where GG6 and GG7 are local and transported feature vectors, respectively, and GG8 is the routing weight. GG9 is generated by applying a sigmoid nonlinearity to the output of a 1×11\times 10 convolution over the fused importance 1×11\times 11.

Sparsity arises implicitly: The sigmoid activation, together with the bias 1×11\times 12, encourages low routing weights for uninformative regions. No explicit 1×11\times 13 regularization or hard thresholding is used; paths are “sparse” in the practical sense that many 1×11\times 14 approach zero, effectively suppressing cross-scale propagation at these points.

A plausible implication is that this spatial sparsity focuses computation and transmission on salient structures, such as gas plume boundaries, rather than uniformly across the field of view.

3. Network Dataflow and Functional Workflow

The canonical forward pass through CASR-PAN can be summarized as follows:

  1. Importance Estimation: For each input scale 1×11\times 15, compute global (1×11\times 16), local (1×11\times 17), and diversity (1×11\times 18) cues, combine with learned weights to form 1×11\times 19.
  2. Routing Map Generation: Typically, LL0's importance LL1 is used to generate all four routing weights through a LL2 conv and sigmoid.
  3. Routing and Fusion:
    • LL3: AIMM-F with LL4
    • LL5: AIMM-F with LL6
    • LL7: AIMM-F with LL8
    • LL9 self: AIMM-S with 3×33\times 30
  4. Aggregation and Output: Routed outputs targeting the same scale are summed, passed through a light RepC3 block, and forwarded along with unmodified 3×33\times 31 to the detection decoder.

This workflow fuses features in a way that is both content- and location-adaptive, differing from traditional fixed or shared-weight aggregation strategies. Pseudocode for the full forward pass is supplied verbatim in the original source (Li et al., 29 Dec 2025).

4. Computational Complexity and Efficiency Gains

CASR-PAN reduces the redundancy and parameter overhead typical of dense path aggregation networks such as BiFPN. Empirical analysis on the IIG dataset (input size 3×33\times 32) yields the following:

Variant AP AP3×33\times 33 GFLOPs Parameters
RT-DETR-R18 26.8 77.8 56.9 19.87 M
PEG-DRNet (CASR) 29.8 84.3 43.7 14.93 M

CASR-PAN adds approximately 3×33\times 34 GFLOPs and 3×33\times 35 M parameters, which is substantially less than BiFPN (which requires 3×33\times 36 GFLOPs and 3×33\times 37 M parameters). Thus, CASR-PAN saves about 3×33\times 38 GFLOPs and 3×33\times 39 M parameters while increasing APDD0 by roughly DD1 points over a dense neck. This reflects both reduced computational cost and redundant fusion avoidance (Li et al., 29 Dec 2025).

5. Ablation Studies and Empirical Findings

CASR-PAN yields substantial improvements in detection metrics and cross-scale discriminability:

  • The introduction of full CASR-PAN on a ResNet18 backbone increases AP from DD2 to DD3 and APDD4 from DD5 to DD6.
  • In combination with the Physics–Edge Hybrid Backbone (PEG-DRNet), CASR-PAN achieves APDD7, APDD8, and small-object APDD9, all at 1×11\times 10 GFLOPs and 1×11\times 11 M parameters.
  • Path ablations: Removing any of the defined routing flows results in a 1×11\times 12–1×11\times 13 point reduction in AP.
  • When tested against PANet, BiFPN, and NAS-FPN under identical backbones, CASR-PAN achieves 1×11\times 14–1×11\times 15 point AP gains with 1×11\times 16–1×11\times 17 fewer FLOPs.
  • Small-object AP1×11\times 18 improves by 1×11\times 19–(wg,wl,wd)(w_g, w_l, w_d)0 points, and AP(wg,wl,wd)(w_g, w_l, w_d)1 rises from about (wg,wl,wd)(w_g, w_l, w_d)2 (dense fusion) to (wg,wl,wd)(w_g, w_l, w_d)3 with CASR-PAN, indicative of improved fine localization (Li et al., 29 Dec 2025).

These findings highlight the benefit of content-selective, sparse multi-scale feature propagation in detection tasks with diffuse, weakly-bounded targets.

CASR-PAN is positioned within a landscape of cross-scale fusion methods, such as BiFPN and PANet. Unlike these dense architectures, CASR-PAN individually weighs and gates the propagation of multi-scale features, based on spatial content and edge cues. This suggests that content-adaptive sparse routing is advantageous in domains where informative features are spatially concentrated or weakly localized—such as in infrared gas-leak detection, where targets are often small and have indistinct boundaries.

The use of learned importance cues and route-specific gating advances over static or uniformly-applied fusion, allowing the system to prioritize salient features and minimize unnecessary computation. A plausible implication is that such adaptive strategies may generalize to other visual reasoning tasks requiring high sensitivity to fine local structures while maintaining efficiency.

7. Limitations and Prospective Extensions

The concept of “sparse routing” in CASR-PAN refers to implicit suppression of uninformative regions via sigmoid-based gating and additive bias. No explicit (wg,wl,wd)(w_g, w_l, w_d)4 regularization or hard sparsity constraints are applied in the published configuration, though such techniques could be explored for further efficiency. The architecture is tightly integrated with edge and physics-based modules in PEG-DRNet, and its performance improvements are demonstrated specifically for infrared gas-plume detection.

A plausible extension would be to investigate explicit regularization for increased sparsity, or to generalize the routing mechanism for broader multi-task feature fusion. The effectiveness of CASR-PAN is empirically established against established path aggregation mechanisms, suggesting its potential as a general-purpose, efficient cross-scale routing module in detection architectures (Li et al., 29 Dec 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Content-Adaptive Sparse Routing Path Aggregation Network (CASR-PAN).