Papers › An Efficient and Effective Transformer Decoder-Based Framework for Multi-Task Visual Grounding

An Efficient and Effective Transformer Decoder-Based Framework for Multi-Task Visual Grounding

2 Aug 2024arXiv:2408.01120archive 2025-07-28

Wei Chen, Long Chen, Yu Wu

Most advanced visual grounding methods rely on Transformers for visual-linguistic feature fusion. However, these Transformer-based approaches encounter a significant drawback: the computational costs escalate quadratically due to the self-attention mechanism in the Transformer Encoder, particularly when dealing with high-resolution images or long context sentences. This quadratic increase in computational burden restricts the applicability of visual grounding to more intricate scenes, such as conversation-based reasoning segmentation, which involves lengthy language expressions. In this paper, we propose an efficient and effective multi-task visual grounding (EEVG) framework based on Transformer Decoder to address this issue, which reduces the cost in both language and visual aspects. In the language aspect, we employ the Transformer Decoder to fuse visual and linguistic features, where linguistic features are input as memory and visual features as queries. This allows fusion to scale linearly with language expression length. In the visual aspect, we introduce a parameter-free approach to reduce computation by eliminating background visual tokens based on attention scores. We then design a light mask head to directly predict segmentation masks from the remaining sparse feature maps. Extensive results and ablation studies on benchmarks demonstrate the efficiency and effectiveness of our approach. Code is available in https://github.com/chenwei746/EEVG.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2408.01120")

Code

Syntology Ran 11 of 15 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: official repository: 15 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

chenwei746/eevg officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 11 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
1ran · fixture could not drive it
9ran
4unverified

Licence: 15 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from chenwei746/eevg. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

window_partition chenwei746/eevg/models/visual_model/SwinT.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 144d10b49baeb8a6 · report
crop chenwei746/eevg/datasets/transforms.py official repository ran no licence file found · pointer only · 339a722b24c73c52 · report
dice_loss chenwei746/eevg/utils/loss_utils.py official repository ran fingerprinted no licence file found · pointer only · f1cc2143d1c43e52 · report
get_norm chenwei746/eevg/models/visual_model/ViTDet.py official repository ran no licence file found · pointer only · 68586bc611262c8b · report
resize_according_to_long_side chenwei746/eevg/datasets/transforms.py official repository ran no licence file found · pointer only · 087ddc306a2edb7a · report
resize_according_to_short_side chenwei746/eevg/datasets/transforms.py official repository ran no licence file found · pointer only · 974f724a742dfcdf · report
sigmoid_focal_loss chenwei746/eevg/utils/loss_utils.py official repository ran no licence file found · pointer only · 0ce2b81bef4f1424 · report
window_partition chenwei746/eevg/models/visual_model/ViTDet.py official repository ran fingerprinted no licence file found · pointer only · 750facb8c52e8864 · report
window_reverse chenwei746/eevg/models/visual_model/SwinT.py official repository ran · our draft was wrong no licence file found · pointer only · 61bf152e6a42a184 · report
window_unpartition chenwei746/eevg/models/visual_model/ViTDet.py official repository ran no licence file found · pointer only · 535942f820542fb9 · report
with_pos_embed chenwei746/eevg/models/decoder.py official repository ran fingerprinted no licence file found · pointer only · 4f1cb44ca3cb9f60 · report
convert_examples_to_features chenwei746/eevg/datasets/data_loader.py official repository unverified no licence file found · pointer only · 697f14f5bf508a68 · report
load_checkpoint chenwei746/eevg/models/visual_model/SwinT.py official repository unverified no licence file found · pointer only · 9679406ab6ed7eba · report
multi_head_attention_forward chenwei746/eevg/models/decoder_layer/multi_head_attention.py official repository unverified no licence file found · pointer only · 17bc17d91de1161a · report
read_examples chenwei746/eevg/datasets/data_loader.py official repository unverified no licence file found · pointer only · e4f50d4eeb6144e9 · report

Tasks

DecoderReasoning SegmentationVisual Grounding

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections