
ast_audio_spectrogram_transformer
Audio and speech303 ops86.2M params
An image restoration transformer whose attention combines a sparse branch and a dense branch.
2,595 operations Structure only
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
AST, the Adaptive Sparse Transformer, is a transformer for image restoration, evaluated in the paper on rain streak removal, real haze removal and raindrop removal. The paper's starting point is that efficient attention designs, by considering all available tokens, often involve redundant information and noisy interactions from irrelevant regions.
AST has two core designs: an Adaptive Sparse Self-Attention (ASSA) block and a Feature Refinement Feed-forward Network (FRFN). ASSA computes attention in two branches: a sparse branch filters out the negative impact of low query-key matching scores when aggregating features, while a dense branch ensures sufficient information flow through the network. FRFN uses what the authors call an enhance-and-ease scheme to eliminate feature redundancy in channels.
The released code borrows heavily from Uformer. It includes scripts to train AST on SPAD for deraining, Densehaze for dehazing and AGAN for raindrop removal.
Key idea. The paper proposes AST, which pairs two-branch sparse and dense self-attention with a feature refinement feed-forward network to reduce noisy interactions and feature redundancy in image restoration.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@inproceedings{Zhou_2024, title={Adapt or Perish: Adaptive Sparse Transformer with Attentive Feature Refinement for Image Restoration}, url={http://dx.doi.org/10.1109/cvpr52733.2024.00285}, DOI={10.1109/cvpr52733.2024.00285}, booktitle={2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)}, publisher={IEEE}, author={Zhou, Shihao and Chen, Duosheng and Pan, Jinshan and Shi, Jinglei and Yang, Jufeng}, year={2024}, month=June, pages={2952–2963} }