Papers
Topics
Authors
Recent
Search
2000 character limit reached

Progressive Attention-Guided Feature Fusion

Updated 12 July 2026
  • PAGF is a family of methods that employ attention maps to iteratively localize informative regions and progressively refine feature fusion in diverse applications.
  • In unsupervised domain adaptation, the PCaM method uses an attend-crop-refine routine to align source and target features, effectively suppressing background noise.
  • In HDR restoration, APNT-Fusion leverages multi-scale attention modules to blend textures and reduce ghosting, thereby improving PSNR and SSIM scores.

Progressive Attention-Guided Feature Fusion (PAGF) denotes attention-driven fusion procedures in which attention maps are used not only to weight features, but also to localize informative regions, suppress irrelevant content, and progressively refine fused representations across layers or scales. The term is used for two technically distinct instantiations in "PCaM: A Progressive Focus Attention-Based Information Fusion Method for Improving Vision Transformer Domain Adaptation" (Zang et al., 27 May 2025) and "Attention-Guided Progressive Neural Texture Fusion for High Dynamic Range Image Restoration" (Chen et al., 2021). Taken together, these formulations suggest a common principle: attention acts as a control signal for determining where fusion should occur and how it should be refined, while the concrete objectives differ—cross-domain foreground semantic alignment in unsupervised domain adaptation and tonal/texture recovery in multi-exposure HDR restoration.

1. Core formulation and conceptual scope

In PCaM, PAGF is described as a three-stage “attend-crop-refine” routine embedded inside a standard ViT UDA pipeline. A cross-attention module first highlights which source and target patches are strongly related, those highly related patches are then spatially grouped into a tight bounding box and cropped, and the cropped regions are subsequently re-projected and re-fused via cross-attention in deeper transformer layers. By repeating this process layer by layer, the method gradually suppresses background noise and amplifies the foreground semantics that are common to both domains. Pseudo-labeled source–target pairs ensure that the semantics being aligned are consistent (Zang et al., 27 May 2025).

In APNT-Fusion, the relevant PAGF components appear in a two-stream HDR restoration architecture. One stream performs Multi-Exposure Fusion (MEF), while the other performs Saturated-Region Texture Transfer. The two streams are blended progressively via learned Scale-Attention maps AsclA_{sc}^l, and a final fusion reweighting network chooses a residual between HmH_m and HmefH_{mef} to form HoutH_{out} (Chen et al., 2021).

These two instantiations differ in modality and task structure, but they share a technical motif: fusion is not a single global operation. Instead, an attention-derived intermediate representation—cross-attention rollout in PCaM, and motion/saturation/scale-attention maps in APNT-Fusion—governs a sequence of progressively focused feature transformations. This suggests that PAGF is best understood as a family of progressive attention-conditioned fusion strategies rather than a single fixed algorithm.

2. PAGF in Vision Transformer unsupervised domain adaptation

PCaM is designed for Unsupervised Domain Adaptation (UDA), where a labeled source domain and an unlabeled target domain must be aligned despite foreground object mismatch. The stated limitation of prior ViT-based UDA methods is that discrepancy in foreground object size and spatial distribution across domains weakens attention consistency and hampers effective domain alignment. PAGF addresses this by progressively filtering out background information during cross-attention so that discriminative foreground semantics can be fused across domains (Zang et al., 27 May 2025).

Let

zs,l1,zt,l1R(N+1)×Dz^{s,l-1}, z^{t,l-1} \in \mathbb{R}^{(N+1)\times D}

be the source and target patch embeddings, including the [CLS][CLS] token, at transformer layer l1l-1. PCaM first projects these embeddings to queries, keys, and values: Qst=zt,l1WQ,Kst=zs,l1WK,Vst=zs,l1WV.Q^{s\to t} = z^{t,l-1}W_Q,\qquad K^{s\to t} = z^{s,l-1}W_K,\qquad V^{s\to t} = z^{s,l-1}W_V. Each is shaped (N+1)×Dh(N+1)\times D_h, with Dh=D/HD_h=D/H for HmH_m0 heads. The per-head cross-attention is

HmH_m1

and the multi-head output is

HmH_m2

The progressive aspect is introduced through attention rollout across HmH_m3 layers. Denoting the scalar attention weight between source patch HmH_m4 and target patch HmH_m5 at layer HmH_m6 by

HmH_m7

PCaM defines

HmH_m8

A per-patch importance score in the target is then obtained as

HmH_m9

This rollout is not used merely for visualization. It drives an explicit spatial selection mechanism. The importance map HmefH_{mef}0 is upsampled to the original image grid and thresholded at HmefH_{mef}1; all pixels with HmefH_{mef}2 define a minimal enclosing bounding box. If HmefH_{mef}3 and HmefH_{mef}4 map a patch index to row and column, the box is

HmefH_{mef}5

HmefH_{mef}6

This box is used to crop both source and target images, producing HmefH_{mef}7, which is then bilinearly interpolated back to the original patch grid size before the next layer. For target patch coordinate HmefH_{mef}8 and nearest crop coordinate HmefH_{mef}9,

HoutH_{out}0

with

HoutH_{out}1

Algorithmically, for each pseudo-labeled pair HoutH_{out}2, PCaM computes patch embeddings, iterates across layers HoutH_{out}3, updates self-attention and cross-attention, computes HoutH_{out}4, updates HoutH_{out}5, identifies the bounding box HoutH_{out}6, crops and interpolates to obtain the next-layer embeddings, and finally reads out fused CLS tokens for classification, distillation, and progressively focused optimization. The PAGF mechanism is therefore inseparable from cross-layer spatial selection and re-fusion rather than simple token weighting.

3. Attentional guidance, optimization, and architectural integration

PCaM adds an explicit attentional guidance term because cross-attention rollouts can still be noisy, scattering small weights to background. The introduced Progressively Focused Loss is

HoutH_{out}7

Here HoutH_{out}8 is the center of mass of the attention-rollout map: HoutH_{out}9 By penalizing squared deviation from the center more strongly the closer a patch is to that center, the model is trained to collapse attention onto a single, coherent foreground blob (Zang et al., 27 May 2025).

The total loss is

zs,l1,zt,l1R(N+1)×Dz^{s,l-1}, z^{t,l-1} \in \mathbb{R}^{(N+1)\times D}0

where zs,l1,zt,l1R(N+1)×Dz^{s,l-1}, z^{t,l-1} \in \mathbb{R}^{(N+1)\times D}1 and zs,l1,zt,l1R(N+1)×Dz^{s,l-1}, z^{t,l-1} \in \mathbb{R}^{(N+1)\times D}2 are cross-entropy losses on source and target pseudo-labels, and zs,l1,zt,l1R(N+1)×Dz^{s,l-1}, z^{t,l-1} \in \mathbb{R}^{(N+1)\times D}3 is the cross-domain distillation loss from CDTrans. Integration is described as entirely plug-and-play: one replaces vanilla self-/cross-attention blocks in a UDA ViT, such as CDTrans, with PCaM blocks that carry out the rollout-to-box-identification-to-focus-refinement sequence before forwarding to the next layer. No changes are made to tokenization, positional embeddings, MLP heads, or the overall ViT architecture. The method is characterized as lightweight, architecture-agnostic, and easy to integrate into existing ViT-based UDA pipelines.

A common misconception is that attention-guided fusion in ViT adaptation necessarily operates at the level of whole-image token alignment. PCaM instead performs pair-specific foreground discovery from the model’s own cross-attention, converts that signal into an explicit crop, and repeats the refinement layer by layer. The focus is therefore on suppressing domain-specific background interference rather than on a single global alignment pass.

4. PAGF in HDR restoration and neural texture blending

In APNT-Fusion, PAGF is embedded in a two-stream restoration model that takes three LDR inputs,

zs,l1,zt,l1R(N+1)×Dz^{s,l-1}, z^{t,l-1} \in \mathbb{R}^{(N+1)\times D}4

corresponding to short, medium, and long exposures, and produces a single HDR output

zs,l1,zt,l1R(N+1)×Dz^{s,l-1}, z^{t,l-1} \in \mathbb{R}^{(N+1)\times D}5

The architecture combines a Multi-Exposure Fusion stream and a Saturated-Region Texture Transfer stream (Chen et al., 2021).

The pipeline begins with a domain transform that linearizes zs,l1,zt,l1R(N+1)×Dz^{s,l-1}, z^{t,l-1} \in \mathbb{R}^{(N+1)\times D}6-corrected LDR to HDR: zs,l1,zt,l1R(N+1)×Dz^{s,l-1}, z^{t,l-1} \in \mathbb{R}^{(N+1)\times D}7 An artificial “Masked Saturated HDR” is then built for the short exposure: zs,l1,zt,l1R(N+1)×Dz^{s,l-1}, z^{t,l-1} \in \mathbb{R}^{(N+1)\times D}8 This makes zs,l1,zt,l1R(N+1)×Dz^{s,l-1}, z^{t,l-1} \in \mathbb{R}^{(N+1)\times D}9 and [CLS][CLS]0 share the same saturation regions regardless of motion.

Feature extraction produces

[CLS][CLS]1

with [CLS][CLS]2 and [CLS][CLS]3. Motion Attention modules compare [CLS][CLS]4 and [CLS][CLS]5 to produce masks

[CLS][CLS]6

and the MEF feature tensor is formed as

[CLS][CLS]7

The parallel Neural Feature Transfer stream performs multi-scale VGG-guided correspondence in the masked HDR domain. Let [CLS][CLS]8 denote VGG19 features at layers [CLS][CLS]9. For tiled patches l1l-10, the normalized inner-product similarity is

l1l-11

Efficiently, each reference patch l1l-12 defines a convolutional score map

l1l-13

Matching proceeds coarse-to-fine in local windows l1l-14: l1l-15

Texture-transfer features are gated by both motion and saturation information: l1l-16 An encoder produces learned features l1l-17 and l1l-18, patch replacement yields l1l-19, and a symmetric decoder produces Qst=zt,l1WQ,Kst=zs,l1WK,Vst=zs,l1WV.Q^{s\to t} = z^{t,l-1}W_Q,\qquad K^{s\to t} = z^{s,l-1}W_K,\qquad V^{s\to t} = z^{s,l-1}W_V.0. Progressive Texture Blending is then controlled by learned Scale-Attention maps: Qst=zt,l1WQ,Kst=zs,l1WK,Vst=zs,l1WV.Q^{s\to t} = z^{t,l-1}W_Q,\qquad K^{s\to t} = z^{s,l-1}W_K,\qquad V^{s\to t} = z^{s,l-1}W_V.1

Qst=zt,l1WQ,Kst=zs,l1WK,Vst=zs,l1WV.Q^{s\to t} = z^{t,l-1}W_Q,\qquad K^{s\to t} = z^{s,l-1}W_K,\qquad V^{s\to t} = z^{s,l-1}W_V.2

Qst=zt,l1WQ,Kst=zs,l1WK,Vst=zs,l1WV.Q^{s\to t} = z^{t,l-1}W_Q,\qquad K^{s\to t} = z^{s,l-1}W_K,\qquad V^{s\to t} = z^{s,l-1}W_V.3

If Qst=zt,l1WQ,Kst=zs,l1WK,Vst=zs,l1WV.Q^{s\to t} = z^{t,l-1}W_Q,\qquad K^{s\to t} = z^{s,l-1}W_K,\qquad V^{s\to t} = z^{s,l-1}W_V.4, the progressive blending equation is

Qst=zt,l1WQ,Kst=zs,l1WK,Vst=zs,l1WV.Q^{s\to t} = z^{t,l-1}W_Q,\qquad K^{s\to t} = z^{s,l-1}W_K,\qquad V^{s\to t} = z^{s,l-1}W_V.5

Finally, a small conv-Sigmoid network Qst=zt,l1WQ,Kst=zs,l1WK,Vst=zs,l1WV.Q^{s\to t} = z^{t,l-1}W_Q,\qquad K^{s\to t} = z^{s,l-1}W_K,\qquad V^{s\to t} = z^{s,l-1}W_V.6 applied to Qst=zt,l1WQ,Kst=zs,l1WK,Vst=zs,l1WV.Q^{s\to t} = z^{t,l-1}W_Q,\qquad K^{s\to t} = z^{s,l-1}W_K,\qquad V^{s\to t} = z^{s,l-1}W_V.7 produces Qst=zt,l1WQ,Kst=zs,l1WK,Vst=zs,l1WV.Q^{s\to t} = z^{t,l-1}W_Q,\qquad K^{s\to t} = z^{s,l-1}W_K,\qquad V^{s\to t} = z^{s,l-1}W_V.8, and the output is

Qst=zt,l1WQ,Kst=zs,l1WK,Vst=zs,l1WV.Q^{s\to t} = z^{t,l-1}W_Q,\qquad K^{s\to t} = z^{s,l-1}W_K,\qquad V^{s\to t} = z^{s,l-1}W_V.9

Training is end-to-end on (N+1)×Dh(N+1)\times D_h0. Both prediction and ground truth are tone-mapped by (N+1)×Dh(N+1)\times D_h1-law,

(N+1)×Dh(N+1)\times D_h2

and optimized with the (N+1)×Dh(N+1)\times D_h3 loss

(N+1)×Dh(N+1)\times D_h4

The reported optimizer is Adam with (N+1)×Dh(N+1)\times D_h5, batch size (N+1)×Dh(N+1)\times D_h6, patch size (N+1)×Dh(N+1)\times D_h7, and Xavier initialization.

5. Empirical behavior and ablation evidence

For PCaM, PAGF is reported to improve adaptation performance across multiple UDA benchmarks. On Office-Home, the result is (N+1)×Dh(N+1)\times D_h8 versus (N+1)×Dh(N+1)\times D_h9 for CDTrans, a gain of Dh=D/HD_h=D/H0. On VisDA-2017, the result is Dh=D/HD_h=D/H1 versus Dh=D/HD_h=D/H2 for CDTrans, a gain of Dh=D/HD_h=D/H3. On DomainNet, the result is Dh=D/HD_h=D/H4 versus Dh=D/HD_h=D/H5, a gain of Dh=D/HD_h=D/H6. On a remote sensing AIDDh=D/HD_h=D/H7NWPU task, the result is Dh=D/HD_h=D/H8 versus Dh=D/HD_h=D/H9, a gain of HmH_m00 (Zang et al., 27 May 2025).

The ablation analysis on VisDA is particularly diagnostic. Simply cropping foreground HmH_m01 or weighting patches by raw attention rollout HmH_m02 yields negligible gains. By contrast, successive PAGF stages add value: HmH_m03 yields HmH_m04, HmH_m05 yields HmH_m06, and full PCaM yields HmH_m07. A resolution-sensitivity study confirms robustness down to HmH_m08 inputs, and pseudo-label noise experiments show that PAGF is significantly more robust than CDTrans under corrupted target labels. These findings support the specific claim that progressive focusing, rather than isolated cropping or raw attention weighting, is responsible for the main performance gains.

For APNT-Fusion, the reported quantitative evidence is on the DeepHDR test set of 15 dynamic scenes. The model achieves PSNR-HmH_m09 HmH_m10 versus HmH_m11 for Yan 19 and HmH_m12 for Kalantari 17, and SSIM-HmH_m13 HmH_m14 versus HmH_m15 and HmH_m16, respectively (Chen et al., 2021). Ablation highlights report PSNR-HmH_m17 drops of HmH_m18 without Motion Attention, HmH_m19 without NFT, HmH_m20 without MS-HDR, and HmH_m21 without Scale Attention. The qualitative summary states that ghosting is nearly eliminated versus flow-based methods, texture is transferred into large saturated, motion-corrupted regions versus pure attention methods, and halo and blur are suppressed via deep MEF regularization and multi-scale fusion.

Across the two papers, the empirical pattern is consistent: the progressive component is not ornamental. In both cases, multi-stage attention-guided refinement produces stronger results than one-shot or partially disabled alternatives.

6. Relation to neighboring methods and interpretive issues

Within UDA, PCaM is positioned against traditional cross-attention methods such as CDTrans and DOT, which align entire image tokens and therefore risk pollution by domain-specific backgrounds. PAGF differs in two stated ways: it uses the model’s own cross-attention to identify a foreground “mask” on the fly rather than pre-computed saliency, and it progressively refines that mask and applies it layer by layer rather than fusing only once at a fixed depth. In contrast to style-transfer or multimodal fusion transformers such as CrossViT, the masks are not fixed by scale or modality gaps, but are dynamically discovered per sample pair. The intended effect is to avoid the foreground-object mismatch issue that arises when object scales differ substantially between source and target (Zang et al., 27 May 2025).

Within HDR restoration, APNT-Fusion clarifies a different point: attention alone is not treated as a sufficient mechanism. Motion Attention detects and suppresses content discrepancies among the reference images, Saturation Attention differentiates misalignment caused by saturation from that caused by motion, and Scale Attention enforces texture blending consistency between different coder/decoder scales. No extra regularization loss is applied to these attention maps; they are trained end-to-end under the reconstruction objective (Chen et al., 2021). This makes the fusion process tightly coupled to reconstruction, correspondence, and residual weighting rather than reducible to a single attention map.

A common misconception is that PAGF necessarily implies a unique architectural template. The two cited formulations do not support that view. In PCaM, PAGF is a plug-in mechanism inserted into an existing ViT UDA backbone without changing tokenization, positional embeddings, or MLP heads. In APNT-Fusion, the attention-guided progressive fusion process is integral to a purpose-built two-stream restoration network. This suggests that PAGF is more accurately characterized by its operational logic—progressive, attention-conditioned feature selection and fusion—than by any single backbone or loss design.

A second misconception is that the “guided” aspect must come from external annotations or handcrafted saliency. In PCaM, the guidance signal is derived from cross-attention rollout and further sharpened by the Progressively Focused Loss. In APNT-Fusion, guidance is produced internally by motion, saturation, and scale-attention modules and by VGG-guided feature matching. In both cases, guidance is endogenous to the model pipeline rather than externally prescribed.

The broader significance of PAGF, as evidenced by these formulations, is therefore methodological rather than domain-specific. It denotes a strategy for turning attention into an iterative controller of feature fusion, particularly in settings where naive global fusion is undermined by structured nuisance factors such as background shift, saturation, motion, or scale variation.

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 Progressive Attention-Guided Feature Fusion (PAGF).