T-REN: Learning Text-Aligned Region Tokens Improves Dense Vision-Language Alignment and Scalability

Savya Khosla, Sethuraman T V, Aryan Chadha, Alexander Schwing, Derek Hoiem
University of Illinois Urbana-Champaign
{savyak2, st34, aschwing, dhoiem}@illinois.edu

T-REN is a point-prompted vision-language encoder that produces text-aligned region tokens.

(a) Better dense alignment
Better dense alignment

T-REN substantially improves dense vision-language alignment over patch-based and SAM-guided methods, achieving major gains on OVSS (results).

(b) Resolving point-prompt ambiguity
Multiple tokens per prompt

T-REN generates multiple region tokens per point prompt, capturing both whole objects and their parts and improving retrieval over REN (results).

(c) Scalability to large-scale visual data
Scalability to long videos

T-REN adapts token count to visual content by merging region tokens belonging to the same object. This reduces image token counts by ~24× on average. Across video frames, it further aggregates region tokens into track tokens, reducing video token counts by up to 250× (results).

(d) Resolution-agnostic tokens
Resolution-agnostic token count

T-REN's token count stays nearly constant as image resolution increases, unlike patch-based encoders.

Abstract

Despite recent progress, vision-language encoders struggle with two core limitations: (1) weak alignment between language and dense vision features, which hurts tasks like open-vocabulary semantic segmentation; and (2) high token counts for fine-grained visual representations, which limits scalability to long videos. We propose T-REN (Text-aligned Region Encoder Network), an efficient encoder that maps visual data to a compact set of text-aligned region-level representations (or region tokens). T-REN adds a lightweight network on top of a frozen vision backbone, trained to pool patch-level representations within each semantic region into region tokens and align them with region-level text annotations. With only 3.7% additional parameters compared to the vision-language backbone, this design yields substantially stronger dense cross-modal understanding while reducing the token count by orders of magnitude. Specifically, T-REN delivers +5.9 mIoU on ADE20K open-vocabulary segmentation, +18.4% recall on COCO object-level text-image retrieval, +15.6% recall on Ego4D video object localization, and +17.6% mIoU on VSPW video scene parsing, all while reducing token counts by more than 24× for images and 187× for videos.

Method Overview

Given an input image and a grid of point prompts, T-REN pools semantically related patch features via cross-attention to produce k=3 region tokens per point. Multiple tokens per prompt capture both whole objects and their parts, addressing the part-whole ambiguity in REN. Highly similar tokens are then merged to reduce redundancy, and the resulting region tokens are projected into the text embedding space for open-vocabulary matching. For videos, similar region tokens are aggregated across consecutive frames into compact track tokens. T-REN is trained with contrastive and distillation objectives that jointly learn spatial pooling and region-text alignment on a frozen DINOv3-based dino.txt backbone.

T-REN Overview

Tasks & Results


Open-Vocabulary Semantic Segmentation

T-REN improves dense vision-language alignment, outperforming both patch-based encoders and SAM-guided methods.

Method ADE20K Cityscapes
SAM-guided approaches
Trident25.646.9
RADSeg+29.945.8
TextRegion27.347.4
Patch-based vision-language encoders
CLIP6.011.5
EVA-02-CLIP10.914.1
SigLIP-210.816.3
PE17.621.4
DINOv2 dino.txt19.227.4
DINOv3 dino.txt24.736.9
T-REN30.652.7
T-REN+32.058.7

Finding Needle in a Haystack

On the Visual Haystacks' single-needle challenge, T-REN outperforms vision-language encoders, open-source LMMs, and RAG-based methods, and is competitive with Gemini-3 Pro while remaining far cheaper than MLLMs. "E" indicates context overflow, execution failure, or API error.

Method D=1 D=2 D=3 D=5 D=10 D=20 D=50 D=100 D=500 D=1K
Proprietary LMMs
Gemini-3 Pro88.989.287.387.285.783.574.374.171.067.9
Gemini-1.5 Pro88.482.078.376.071.968.662.857.4EE
GPT-4o82.579.977.573.368.265.459.755.3EE
Open-source LMMs
LongVILA63.859.057.756.755.652.052.052.0EE
Qwen2-VL80.976.673.667.962.659.152.6EEE
Phi-380.569.167.362.054.852.650.8EEE
InternVL288.180.572.363.958.855.2EEEE
mPLUG-OWL384.466.062.157.053.251.5EEEE
Retrieval-Augmented Methods
LLaVA-v1.585.877.175.868.663.660.455.357.555.452.9
MIRAGE83.277.876.672.870.566.063.662.058.755.7
Vision-Language Encoders
SigLIP-272.069.268.165.364.160.358.758.356.654.9
REN81.278.677.476.074.072.168.365.562.359.2
DINOv3 dino.txt72.771.369.268.266.163.260.960.256.452.1
T-REN88.586.485.383.982.679.675.274.068.265.2

Single vs. Multi-Token Prediction

REN predicts a single region token per point prompt, which cannot resolve part-whole ambiguity. T-REN predicts k=3 tokens per point, and this multi-token setup consistently improves Visual Haystacks accuracy over a single-token T-REN variant.

Setup D=2 D=3 D=5 D=10 D=20 D=50
Single token per prompt81.380.378.177.172.469.6
Multiple tokens per prompt86.485.383.982.679.675.2

Scaling to Video

Track tokens from T-REN preserve fine-grained spatial information while remaining compact enough for long videos. On Ego4D query localization, T-REN improves recall by 15.6% over DINOv3 dino.txt with 187.5× fewer tokens. On VSPW scene parsing, it improves mIoU by 17.6% with 254.5× compression.

Method Query Localization (Ego4D) Scene Parsing (VSPW)
Recall@1 tAP Compression (↑) mIoU Compression (↑)
DINOv3 dino.txt36.814.420.7
REN39.019.926.8×18.522.9×
T-REN52.426.4187.5×38.3254.5×

BibTex

@inproceedings{khosla2026tren,
    title={T-REN: Learning Text-Aligned Region Tokens Improves Dense Vision-Language Alignment and Scalability},
    author={Savya Khosla and Sethuraman T V and Aryan Chadha and Alexander Schwing and Derek Hoiem},
    booktitle={European Conference on Computer Vision (ECCV)},
    year={2026}
}