Papers
Topics
Authors
Recent
Search
2000 character limit reached

Saliency-Guided Transformer (SGT)

Updated 7 July 2026
  • Saliency-Guided Transformer is a design pattern that integrates various saliency signals to shape token selection and attention, improving interpretability across diverse domains.
  • It employs gradient-based, computational, and curvature-derived saliency measures to selectively mask low-information tokens and regularize predictions.
  • SGT frameworks demonstrate practical improvements in classification accuracy, keypoint detection, and dense saliency mapping, while addressing issues like shortcut learning and robustness.

to=arxiv_search tool code 大发游戏 天天中彩票nbajson {"6query6 \6"Saliency-Guided Transformer\"6 OR ti:\6"Rectify ViT Shortcut Learning by Visual Saliency\"6 OR ti:\6"SMOOT: Saliency Guided Mask Optimized Online Training\"6 OR ti:\6"A Sensorimotor Vision Transformer\"6 OR ti:\6"Learning Generative Vision Transformer with Energy-Based Latent Space for Saliency Prediction\"","max_results":6all: \6query6,"sort_by":"relevance"}function to=arxiv_search tool code  ̄奇米json {"6query6 Transformer", "max_results": 6 OR ti:\6}function to=arxiv_search tool code ՞նչjson {"6query6 "max_results": 6 OR ti:\6}function to=arxiv_search code 天天中彩票不json {"6query6 Guided Training transformer", "max_results": 6all: \6query6, "sort_by": "submittedDate", "sort_order": "descending"} Saliency-Guided Transformer (SGT) denotes a family of transformer methods in which a saliency signal explicitly shapes tokenization, masking, attention, or supervision. Across the literature, the signal may be gradient-based input saliency, computational visual saliency, intrinsic two-dimensional curvature, dense saliency maps, or transformer-derived attentiveness, and the target use cases range from interpretability-oriented training to efficient token selection, saliency prediction, robust classification, self-supervised pre-training, few-shot keypoint detection, and point-cloud registration (&&&6all: \6&&&, &&&6 OR ti:\6&&&, &&&6 OR ti:\6&&&, &&&6 OR ti:\6&&&).

6all: \6. Scope of the term

The literature does not use the term in a single canonical sense. In some papers, SGT refers to a training procedure that masks low-saliency features and regularizes prediction consistency. In others, it denotes a vision transformer whose input sequence is filtered by a saliency operator before self-attention. A third usage appears in saliency prediction itself, where the transformer is trained to estimate dense saliency maps or salient objects. A plausible implication is that “Saliency-Guided Transformer” is best understood as a design pattern rather than a single architecture class (&&&6query6&&&, &&&6 OR ti:\6&&&, Zhang et al., 2021, Lu et al., 2023).

Formulation Mechanism Representative papers
Saliency-guided training Mask low-saliency features and impose output consistency (&&&6all: \6&&&, &&&6query6&&&)
Saliency-gated tokenization Keep or emphasize salient patches before attention (&&&6 OR ti:\6&&&, &&&6 OR ti:\6&&&)
Saliency prediction transformer Learn dense saliency or salient-object maps (&&&6all: \6 OR ti:\6&&&, Zhang et al., 2021, &&&6 OR ti:\6&&&)
Saliency-guided representation learning Use saliency in SSL, few-shot, or matching pipelines (&&&6all: \66&&&, Lu et al., 2023, &&&6all: \68&&&)

A recurrent structural idea is that saliency defines either which tokens are processed, which token interactions are preferred, or which perturbations the model should ignore. The common consequence is a bias toward foreground, task-relevant, or high-information regions.

6 OR ti:\6. Gradient-based masking and online saliency-guided training

In one major usage, SGT is a training objective rather than a bespoke transformer block. The original saliency-guided training procedure computes gradient saliency, masks the features with the smallest gradients, and optimizes a standard task loss together with a KL-divergence term that keeps predictions on original and masked inputs close: PRESERVED_PLACEHOLDER_6query6^ The masking operator acts on the bottom-PRESERVED_PLACEHOLDER_6all: \6^ features selected after sorting PRESERVED_PLACEHOLDER_6 OR ti:\6. The method was applied across computer vision, NLP, time series, and transformers, with the stated goal of reducing noisy gradients while preserving predictive performance (&&&6all: \6&&&).

This formulation transfers naturally to transformers by redefining features as tokens, patches, or token embeddings. The SMOOT framework, "SMOOT: Saliency Guided Mask Optimized Online Training" (&&&6query6&&&), makes the masking rate itself adaptive. Instead of a fixed PRESERVED_PLACEHOLDER_6 OR ti:\6, it introduces a per-sample, per-epoch masking rate PRESERVED_PLACEHOLDER_6 OR ti:\6, initialized at 6 OR ti:\6query6% and updated online through softmax-response changes: PRESERVED_PLACEHOLDER_6 OR ti:\6^

δ=αδ1+(1α)δ2,Ki+1(X)=max ⁣(Kmin,min(Kmax,Ki(X)+μδ)).\delta = \alpha \delta_1 + (1-\alpha)\delta_2, \qquad K_{i+1}(X) = \max\!\Big(K_{\min}, \min\big(K_{\max}, K_i(X) + \lfloor \mu \delta \rfloor \big)\Big).

The same loss structure is retained, but masking becomes performance-conditioned. On a Tiny Transformer based on DeiT with (L=12,d=192,h=3)(L=12,d=192,h=3), pretrained on ImageNet and adapted to CIFAR, the reported CIFAR-6all: \6query6^ accuracies were 96 OR ti:\6.66 OR ti:\6% for the traditional model, 96.6query6 OR ti:\6% for fixed-KK SGT, and 96.6 OR ti:\6 OR ti:\6% for SMOOT; on CIFAR-6all: \6query6query6^ the corresponding accuracies were 76 OR ti:\6.76 OR ti:\6%, 78.6all: \6query6%, and 79.66 OR ti:\6% (&&&6query6&&&).

Within this line of work, SGT is therefore a regularization principle: low-saliency perturbations should not alter the output distribution. This suggests a transformer can be made saliency-guided without changing its self-attention operator, provided training repeatedly enforces robustness to the removal of low-saliency tokens or pixels.

6 OR ti:\6. Saliency-gated token selection in vision transformers

A second, architecturally distinct usage places saliency before the transformer, at the level of token selection. In "Rectify ViT Shortcut Learning by Visual Saliency" (&&&6 OR ti:\6&&&), SGT is a ViT variant that first predicts a saliency map, converts it into a binary patch mask, and retains only the top-MM informative patches. The masked input is

PRESERVED_PLACEHOLDER_6all: \6query6^

and a residual global branch is injected at the last encoder layer to recover information from the full unmasked patch set. The stated purpose is to rectify shortcut learning by forcing self-attention to focus on visually informative patches while preserving global context in the final layer. On INbreast, the paper reports for ViT-L versus SGT-L: Accuracy 96query6.6 OR ti:\66% to 96 OR ti:\6.77%, AUC 96 OR ti:\6.96 OR ti:\6^ to 96.96all: \6, F6all: \6^ 96query6.6 OR ti:\6query6^ to 96 OR ti:\6.76all: \6, and PSL 6 OR ti:\6 OR ti:\6.96query6^ to 6all: \69.6query6query6; on CAT6 OR ti:\6query6query6query6, ViT-L versus SGT-L gives Accuracy 87.87 to 89.6 OR ti:\67 and PSL 6 OR ti:\6all: \6.6 OR ti:\67 to 6all: \66.86query6^ (&&&6 OR ti:\6&&&).

"A Sensorimotor Vision Transformer" (&&&6 OR ti:\6&&&) instantiates an even harder form of saliency gating. Here saliency is not learned from gradients but computed from intrinsic two-dimensional structure. A curvature field PRESERVED_PLACEHOLDER_6all: \6all: \6^ is derived, summed within each PRESERVED_PLACEHOLDER_6all: \6 OR ti:\6^ patch, and the top-PRESERVED_PLACEHOLDER_6all: \6 OR ti:\6^ salient patches are passed to a standard ViT-Base backbone: PRESERVED_PLACEHOLDER_6all: \6 OR ti:\6^ The selected sequence lengths are PRESERVED_PLACEHOLDER_6all: \6 OR ti:\6. For ImageNet-6all: \6k, the reported top-6all: \6^ accuracies are 76all: \6.8% for SMTPRESERVED_PLACEHOLDER_6all: \66, 68.6 OR ti:\6% for SMTPRESERVED_PLACEHOLDER_6all: \67, 66.6 OR ti:\6% for SMTPRESERVED_PLACEHOLDER_6all: \68, and 66all: \6.9% for SMTPRESERVED_PLACEHOLDER_6all: \69; the corresponding GPU memory usages with batch size 6 OR ti:\6 OR ti:\66^ are 6 OR ti:\6all: \6,96 OR ti:\6 OR ti:\6^ MiB, 6 OR ti:\6 OR ti:\6,898 MiB, 6all: \67,6 OR ti:\696 MiB, and 9,896 MiB (&&&6 OR ti:\6&&&). This is explicitly described as a hard, pre-transformer, saliency-gated tokenizer.

These patch-selection models differ from gradient-mask training in a crucial way. Saliency is used to change the transformer’s sequence itself, not merely its loss. The resulting transformer is structurally sparse from the first attention layer onward.

6 OR ti:\6. Transformers for predicting saliency and salient objects

A third major strand uses transformers to model saliency directly. In "TranSalNet: Towards perceptually relevant visual saliency prediction" (&&&6all: \6 OR ti:\6&&&), a hybrid CNN–Transformer architecture injects transformer encoders at three scales, then decodes a dense saliency map with a composite loss built from NSS, KLD, CC, and SIM. The design premise is that long-range contextual information is central to perceptually relevant saliency prediction, and the reported benchmark results show strong performance on MIT6all: \6query6query6 OR ti:\6, CAT6 OR ti:\6query6query6query6, MIT6 OR ti:\6query6query6, and LSUN’6all: \67.

Dense saliency detection also appears in modality-fusion settings. "Transformer-based Network for RGB-D Saliency Detection" (&&&6 OR ti:\67&&&) introduces a transformer-based within-modality feature enhancement module (TWFEM) and a transformer-based feature fusion module (TFFM), both based on transformer decoders with self-attention and cross-attention. TWFEM enhances RGB and depth features across scales within each modality; TFFM then performs global multi-scale, multi-modal fusion over all positions simultaneously. Across six benchmark datasets, the reported model achieves top or second-best performance on most metrics, including best DES MAE 6query6.6query6all: \68, DUT-D MAE 6query6.6query6 OR ti:\6query6, and NLPR MAE 6query6.6query6 OR ti:\6 OR ti:\6^ (&&&6 OR ti:\67&&&).

In "Learning Generative Vision Transformer with Energy-Based Latent Space for Saliency Prediction" (Zhang et al., 2021), saliency guidance takes a generative form. A Swin-based encoder and U-Net-like decoder predict dense saliency maps conditioned on a latent variable PRESERVED_PLACEHOLDER_6 OR ti:\6query6, with an energy-based prior

PRESERVED_PLACEHOLDER_6 OR ti:\6all: \6^

The model is trained by MCMC-based maximum likelihood with Langevin dynamics for both prior and posterior sampling. The paper explicitly states that this yields not only accurate saliency predictions but also pixel-wise uncertainty maps that align with model confidence and human perception (Zhang et al., 2021).

The same broad logic extends to auxiliary-task guidance and to video. "Semantic Segmentation Enhanced Transformer Model for Human Attention Prediction" (&&&6 OR ti:\6all: \6&&&) uses a shared ResNet6 OR ti:\6query6+ViT encoder, a saliency decoder, a semantic segmentation decoder, and a Multi-task Attention Module that converts segmentation features into channel-wise attention over saliency features. On SALICON, the final model reports AUC-J 6query6.776 OR ti:\6, s-AUC 6query6.66 OR ti:\66, and NSS 6all: \6.6 OR ti:\6query6 OR ti:\6^ (&&&6 OR ti:\6all: \6&&&). "UniST: Towards Unifying Saliency Transformer for Video Saliency Prediction and Detection" (&&&6 OR ti:\6&&&) introduces a saliency-aware transformer with a Semantic-Guided Block and Saliency Transfer across scales, and reports DHF6all: \6K performance of PRESERVED_PLACEHOLDER_6 OR ti:\6 OR ti:\6, PRESERVED_PLACEHOLDER_6 OR ti:\6 OR ti:\6, PRESERVED_PLACEHOLDER_6 OR ti:\6 OR ti:\6, PRESERVED_PLACEHOLDER_6 OR ti:\6 OR ti:\6, together with DAVISPRESERVED_PLACEHOLDER_6 OR ti:\66^ performance of MAE 6query6.6query6all: \68 and PRESERVED_PLACEHOLDER_6 OR ti:\67 (&&&6 OR ti:\6&&&).

In these works, the transformer is not merely guided by saliency; it is also a machine for saliency. The notion of SGT here is inseparable from dense prediction and cross-scale contextual aggregation.

6 OR ti:\6. Self-supervised, few-shot, language, and 6 OR ti:\6D extensions

Saliency guidance has also been integrated into self-supervised pre-training. "SSiT: Saliency-guided Self-supervised Image Transformer for Diabetic Retinopathy Grading" (&&&6all: \66&&&) couples a ViT-S backbone with two tasks: saliency-guided contrastive learning, where the momentum-updated key encoder drops low-saliency patches, and saliency segmentation prediction, where the 6query6^ encoder predicts a saliency mask. The combined loss is

PRESERVED_PLACEHOLDER_6 OR ti:\68

with PRESERVED_PLACEHOLDER_6 OR ti:\69 and PRESERVED_PLACEHOLDER_6 OR ti:\6query6. On DDR under fine-tuning, the reported Kappa score is 86all: \6.88%, exceeding all other ViT-based SSL baselines by at least 9.6 OR ti:\68% (&&&6all: \66&&&).

Few-shot keypoint detection provides another explicit SGT architecture. "From Saliency to DINO: Saliency-guided Vision Transformer for Few-shot Keypoint Detection" (Lu et al., 2023) introduces SalViT, which uses a saliency interaction matrix PRESERVED_PLACEHOLDER_6 OR ti:\6all: \6^ and modifies self-attention through

PRESERVED_PLACEHOLDER_6 OR ti:\6 OR ti:\6^

A morphology learner predicts a power-normalization exponent PRESERVED_PLACEHOLDER_6 OR ti:\6 OR ti:\6^ and reshapes the saliency map as PRESERVED_PLACEHOLDER_6 OR ti:\6 OR ti:\6, thereby realizing the paper’s “dynamically changing receptive field.” The same paper further shows that DINO class-token attention can replace external saliency detectors. This yields a transformer whose attention is explicitly foreground-biased and whose occlusion robustness improves by roughly 6all: \6query6% PCK under severe occlusions (Lu et al., 2023).

Outside image classification and dense prediction, analogous ideas appear in language and 6 OR ti:\6D point clouds. "Decoding Layer Saliency in Language Transformers" (&&&6 OR ti:\69&&&) uses the MLM head to project layer-wise Grad-CAM-like saliency back into token space and shows that middle-to-late layers produce more semantically coherent token saliency on SST-6 OR ti:\6^ and AG News. "D6 OR ti:\6Former: Jointly Learning Repeatable Dense Detectors and Feature-enhanced Descriptors via Saliency-guided Transformer" (&&&6all: \68&&&) defines saliency over point-cloud features, partitions points into salient and non-salient sets, and applies region attention in which non-salient queries attend to salient keys and values: PRESERVED_PLACEHOLDER_6 OR ti:\6 OR ti:\6^ On 6 OR ti:\6DLoMatch with 6 OR ti:\6 OR ti:\6query6^ extracted keypoints, the registration recall scores reported for RoReg, RoITr, and D6 OR ti:\6Former are 66 OR ti:\6.6 OR ti:\6%, 76 OR ti:\6.6%, and 76.6 OR ti:\6%, respectively (&&&6all: \68&&&).

Taken together, these works show that SGT is not confined to 6 OR ti:\6D vision. Saliency can guide token selection, prototype formation, attention geometry, and correspondence ranking in multiple representational domains.

6. Interpretability, robustness, and recurring limitations

A central claim across SGT variants is that saliency guidance improves interpretability by concentrating explanatory mass on task-relevant features. In the gradient-mask literature, this is evaluated through modification-based tests, comprehensiveness/sufficiency, or synthetic ground-truth saliency. In the shortcut-learning literature, it is evaluated through PSL and Grad-CAM inspection. In the saliency-prediction literature, it is evaluated through human-attention metrics such as NSS, CC, SIM, AUC-J, and KL. A common misconception is that SGT always means direct supervision of attention weights; many formulations instead guide the model indirectly through masking, token selection, or auxiliary objectives (&&&6all: \6&&&, &&&6 OR ti:\6&&&, &&&6 OR ti:\6&&&).

Robustness is an especially prominent theme in the adversarial-training extension. "Exploring the Interplay of Interpretability and Robustness in Deep Neural Networks: A Saliency-guided Approach" (&&&6 OR ti:\6 OR ti:\6&&&) combines adversarial training with saliency-guided masking in ASGT: PRESERVED_PLACEHOLDER_6 OR ti:\66^ For MNIST under PGD at PRESERVED_PLACEHOLDER_6 OR ti:\67, the reported accuracies are 6all: \66.6 OR ti:\66% for standard training, 6 OR ti:\69.6query68% for SGT, 6 OR ti:\68.96 OR ti:\6% for SGA, and 6 OR ti:\6 OR ti:\6.69% for ASGT; the abstract summarizes robustness improvements of 6 OR ti:\6 OR ti:\6% on MNIST and 6 OR ti:\6query6% on CIFAR-6all: \6query6^ under PGD at the stated noise magnitudes (&&&6 OR ti:\6 OR ti:\6&&&).

The limitations are equally consistent across papers. Gradient-based SGT inherits the fragility and noise of gradient saliency and adds nontrivial training overhead because gradients with respect to the input must be recomputed repeatedly. Saliency-gated tokenizers depend on the quality of the external saliency operator; hard top-PRESERVED_PLACEHOLDER_6 OR ti:\68 or top-PRESERVED_PLACEHOLDER_6 OR ti:\69 selection can discard useful global context or remain non-differentiable; random guidance or residual global branches are used precisely because rigid saliency priors can be harmful (&&&6 OR ti:\6&&&, &&&6 OR ti:\6&&&). In dense saliency modeling, auxiliary tasks can confuse the main task unless feature interaction is controlled, as the Multi-task Attention Module in SSETM explicitly addresses (&&&6 OR ti:\6all: \6&&&). A plausible implication is that the main unresolved issue is not whether saliency can guide transformers, but which saliency signal should be trusted, at what granularity, and at which stage of the pipeline.

SGT is therefore best viewed as a broad methodological family. Its unifying premise is stable: saliency is promoted from a post hoc explanation to an operational prior that influences what the transformer sees, how it attends, or what invariances it is required to learn.

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 Saliency-Guided Transformer (SGT).