Papers
Topics
Authors
Recent
Search
2000 character limit reached

Efficient Bidirectional Channel Attention (EBCA)

Updated 7 June 2026
  • EBCA is a lightweight channel attention mechanism that leverages bidirectional 1D convolutions to adaptively recalibrate feature channels with minimal parameters.
  • It integrates with spatial attention in the Sebica network to enhance single image super-resolution performance under strict resource constraints.
  • Its design capturing both forward and reverse channel dependencies boosts model efficiency and transfers effectively to high-level tasks like object detection.

Efficient Bidirectional Channel Attention (EBCA) is a lightweight channel attention mechanism designed for deep learning models operating under constraints of low parameter count and computational overhead. EBCA is a core component of the Sebica network, which addresses single image super-resolution (SISR) for resource-limited and low-latency applications. EBCA distinguishes itself by employing bidirectional 1D convolutions on global channel descriptors, eschewing fully connected layers or expensive convolutions while maintaining the ability to model both forward and reverse channel dependencies. The mechanism, when coupled with spatial attention, enables Sebica to outperform or match the state of the art in lightweight SISR while maintaining minimal resource usage (Liu, 2024).

1. Motivation and Design Principles

EBCA was developed in response to deployment constraints in edge-based SISR scenarios, where models are budgeted very tightly in terms of both parameter count and floating point operations (FLOPs). While traditional channel attention modules such as Squeeze-and-Excitation (SE) rely on two fully connected layers, incurring O(C2)O(C^2) weights, these prove prohibitive for “ultra-light” SR. EBCA instead retains discriminative channel-wise reweighting by conducting all aggregation and weighting using 1D convolutions of small kernel size (typically k=3k=3), enforcing a parameter and computational cost of O(Ck)O(C\cdot k) and O(HWk)O(HW\cdot k), respectively.

The “bidirectional” aspect addresses a limitation in prior channel attention (e.g., ECA-Net), which only leverages information along the canonical channel order. EBCA applies parallel convolutions both in the original and in the reversed channel order, capturing both forward and backward inter-channel statistical dependencies.

2. Internal Architecture and Workflow

The EBCA block processes a 3D feature map XRC×H×WX \in \mathbb{R}^{C \times H \times W}. It begins by summarizing spatial information into a global channel descriptor via adaptive average pooling:

F=GAP(X),FRC×1×1.F = \mathrm{GAP}(X), \quad F \in \mathbb{R}^{C \times 1 \times 1}.

Two 1D convolutions are then applied in parallel:

  • Forward: Ffwd=Conv1Dk(F)F_\text{fwd} = \mathrm{Conv1D}_k(F).
  • Backward: (i) flip channel order to obtain Frev=flip(F)F_\text{rev} = \mathrm{flip}(F); (ii) apply Fbwd,raw=Conv1Dk(Frev)F_\text{bwd,raw} = \mathrm{Conv1D}_k(F_\text{rev}); (iii) flip back Fbwd=flip(Fbwd,raw)F_\text{bwd} = \mathrm{flip}(F_\text{bwd,raw}).

The outputs are averaged, normalized with a sigmoid, and broadcast over spatial dimensions:

k=3k=30

for channel k=3k=31 and spatial locations k=3k=32. The attended feature map is then typically followed by a residual addition with the input of the attention block.

A conceptual workflow:

  • Input k=3k=33
    • k=3k=34 Spatial Attention (k=3k=35 Conv) k=3k=36
    • k=3k=37 EBCA k=3k=38
    • k=3k=39 Residual add
  • Output

3. Mathematical Formalization

The EBCA computations are summarized as follows: \begin{align*} F &= \mathrm{GAP}(X) \ F_{\mathrm{fwd}} &= \mathrm{Conv1D}k(F) \ F{\mathrm{bwd}} &= \mathrm{flip}(\mathrm{Conv1D}k(\mathrm{flip}(F))) \ A{\mathrm{chan}} &= \sigma \left( \frac{F_{\mathrm{fwd}} + F_{\mathrm{bwd}}}{2} \right) \ Y &= X \odot A_{\mathrm{chan}} \end{align*}

Here, O(Ck)O(C\cdot k)0 represents channel-wise broadcasted multiplication, and O(Ck)O(C\cdot k)1 denotes the sigmoid. All convolutions involve O(Ck)O(C\cdot k)2 and preserve channel dimension via padding.

4. Integration with Spatial Attention

Sebica combines spatial and channel attention within each of six attention blocks. Spatial attention aggregates information by concatenating average- and max-pooled feature maps over the channel axis (O(Ck)O(C\cdot k)3) and applies a O(Ck)O(C\cdot k)4 convolution followed by sigmoid activation. The output, O(Ck)O(C\cdot k)5, modulates O(Ck)O(C\cdot k)6 spatially:

O(Ck)O(C\cdot k)7

This spatially attended feature is then passed into the EBCA pipeline for channel-wise recalibration. The outputs are summed with the block input via a residual connection.

5. Computational Complexity and Model Efficiency

The parameter and FLOP counts for an EBCA attention block are minimal:

  • Each Conv1D (per direction): O(Ck)O(C\cdot k)8 weights O(Ck)O(C\cdot k)9 O(HWk)O(HW\cdot k)0 biases O(HWk)O(HW\cdot k)1 parameters
  • Both directions: O(HWk)O(HW\cdot k)2 parameters
  • O(HWk)O(HW\cdot k)3 spatial attention: O(HWk)O(HW\cdot k)4 weights O(HWk)O(HW\cdot k)5 O(HWk)O(HW\cdot k)6 bias O(HWk)O(HW\cdot k)7 parameters

Example (Sebica with O(HWk)O(HW\cdot k)8, O(HWk)O(HW\cdot k)9):

  • Channel attentions: XRC×H×WX \in \mathbb{R}^{C \times H \times W}0 parameters
  • Spatial conv: XRC×H×WX \in \mathbb{R}^{C \times H \times W}1 parameters
  • Total/block: XRC×H×WX \in \mathbb{R}^{C \times H \times W}2 parameters (XRC×H×WX \in \mathbb{R}^{C \times H \times W}3 of a XRC×H×WX \in \mathbb{R}^{C \times H \times W}4K parameter network)

For XRC×H×WX \in \mathbb{R}^{C \times H \times W}5:

  • Spatial conv: XRC×H×WX \in \mathbb{R}^{C \times H \times W}6 GFLOPs/block
  • Channel attention overhead: XRC×H×WX \in \mathbb{R}^{C \times H \times W}7 GFLOPs/block
  • Six blocks: XRC×H×WX \in \mathbb{R}^{C \times H \times W}8 GFLOPs attention in a XRC×H×WX \in \mathbb{R}^{C \times H \times W}9 GFLOP model (F=GAP(X),FRC×1×1.F = \mathrm{GAP}(X), \quad F \in \mathbb{R}^{C \times 1 \times 1}.0 overhead)

Model comparison:

Method Params (K) GFLOPs
FSRCNN 12.0 5.00
EDSR 241.0 14.15
RVSR 221.1 10.87
Sebica 40.9 2.10
Sebica_small 7.9 0.41

Sebica attains F=GAP(X),FRC×1×1.F = \mathrm{GAP}(X), \quad F \in \mathbb{R}^{C \times 1 \times 1}.1 of the parameter count and F=GAP(X),FRC×1×1.F = \mathrm{GAP}(X), \quad F \in \mathbb{R}^{C \times 1 \times 1}.2 of the FLOPs of EDSR, while delivering near-identical PSNR/SSIM.

6. Empirical Results and Performance

On the DIV2K and Flickr2K datasets, Sebica with six attention blocks and F=GAP(X),FRC×1×1.F = \mathrm{GAP}(X), \quad F \in \mathbb{R}^{C \times 1 \times 1}.3 achieves PSNR/SSIM of F=GAP(X),FRC×1×1.F = \mathrm{GAP}(X), \quad F \in \mathbb{R}^{C \times 1 \times 1}.4/F=GAP(X),FRC×1×1.F = \mathrm{GAP}(X), \quad F \in \mathbb{R}^{C \times 1 \times 1}.5 (DIV2K) and F=GAP(X),FRC×1×1.F = \mathrm{GAP}(X), \quad F \in \mathbb{R}^{C \times 1 \times 1}.6/F=GAP(X),FRC×1×1.F = \mathrm{GAP}(X), \quad F \in \mathbb{R}^{C \times 1 \times 1}.7 (Flickr2K). Sebica_small (four blocks, F=GAP(X),FRC×1×1.F = \mathrm{GAP}(X), \quad F \in \mathbb{R}^{C \times 1 \times 1}.8) attains F=GAP(X),FRC×1×1.F = \mathrm{GAP}(X), \quad F \in \mathbb{R}^{C \times 1 \times 1}.9/Ffwd=Conv1Dk(F)F_\text{fwd} = \mathrm{Conv1D}_k(F)0 (DIV2K) and Ffwd=Conv1Dk(F)F_\text{fwd} = \mathrm{Conv1D}_k(F)1/Ffwd=Conv1Dk(F)F_\text{fwd} = \mathrm{Conv1D}_k(F)2 (Flickr2K). By comparison, FSRCNN records Ffwd=Conv1Dk(F)F_\text{fwd} = \mathrm{Conv1D}_k(F)3/Ffwd=Conv1Dk(F)F_\text{fwd} = \mathrm{Conv1D}_k(F)4 (DIV2K), and RVSR reaches Ffwd=Conv1Dk(F)F_\text{fwd} = \mathrm{Conv1D}_k(F)5/Ffwd=Conv1Dk(F)F_\text{fwd} = \mathrm{Conv1D}_k(F)6. This positions Sebica and Sebica_small at or above the state of the art for lightweight SISR models, demonstrating that bidirectional, efficient channel attention enables competitive performance with a significantly reduced computational footprint.

7. Application to Object Detection

Sebica exhibits positive transfer to downstream vision tasks. For example, employing YOLOv5s on a UAV traffic dataset with low-resolution inputs (Ffwd=Conv1Dk(F)F_\text{fwd} = \mathrm{Conv1D}_k(F)7), Sebica enhances object detection mean average precision (mAP) at IoU Ffwd=Conv1Dk(F)F_\text{fwd} = \mathrm{Conv1D}_k(F)8 from Ffwd=Conv1Dk(F)F_\text{fwd} = \mathrm{Conv1D}_k(F)9 (baseline) to Frev=flip(F)F_\text{rev} = \mathrm{flip}(F)0, closely tracking ground truth (Frev=flip(F)F_\text{rev} = \mathrm{flip}(F)1). Sebica_small delivers Frev=flip(F)F_\text{rev} = \mathrm{flip}(F)2. This suggests that EBCA-empowered super-resolution not only restores image detail but also augments high-level perceptual tasks in real-world scenarios (Liu, 2024).

Object detection results:

IoU LR GT Sebica Sebica_small
0.1 0.446 0.462 0.487 0.478
0.2 0.446 0.461 0.486 0.478
0.5 0.307 0.363 0.366 0.347
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 Efficient Bidirectional Channel Attention (EBCA).