Depth-Linked Residual Tokens for Multimodal Retrieval and Generation
Organizations: Meta AI
Abstract
Iterative architectures such as looped language models improve parameter efficiency and reasoning capacity of transformers, yet their sequential backbone iterations introduce substantial computational latency. Conversely, parallelizable learnable special tokens (such as the register tokens in Vision Transformer) enable efficient single-pass inference, but often suffer from the absence of sequential refinement and exhibit redundant representations across tokens. To address these challenges, we introduce Depth-Linked Residual Tokens (DepThink), an efficient framework designed for multimodal retrieval and generation. Operating within a single pre-filling forward pass, DepThink appends a sequence of K learnable residual tokens whose hidden states are coupled through a lightweight, learnable residual recurrence. This mechanism enables each residual token to progressively capture complementary information missed by preceding tokens. Theoretically, we prove that DepThink provides strictly expanded geometric directional reachability over standard learnable tokens and guarantees a provable one-step descent advantage. We evaluate DepThink across multimodal retrieval and generation tasks. DepThink consistently outperforms learnable-token baselines and matches or exceeds looped architectures across dense (2B, 8B) and sparse mixture-of-experts (30B-A3B) backbones under both LoRA and full-parameter fine-tuning, while accelerating training by up to 11.9 and inference by 4.3 over looped architectures.
Figures & tables
| Model | Image | Video | VisDoc | All | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CLS | QA | RET | GD | All | CLS | QA | RET | MRET | All | VDR1 | VDR2 | VR | OOD | All | ||
| # of Datasets | 10 | 10 | 12 | 4 | 36 | 5 | 5 | 5 | 3 | 18 | 10 | 4 | 6 | 4 | 24 | 78 |
| Used extra training data (for reference) | ||||||||||||||||
| LamRA ( Liu et al., 2025 ) | 59.2 | 26.5 | 70.0 | 62.7 | 54.1 | 39.3 | 42.6 | 24.3 | 34.6 | 35.2 | 22.0 | 11.5 | 37.4 | 21.0 | 23.9 | 40.4 |
| GME ( Zhang et al., 2024 ) | 54.4 | 29.9 | 66.9 | 55.5 | 51.9 | 34.9 | 42.0 | 25.6 | 32.4 | 33.9 | 86.1 | 54.0 | 82.5 | 43.1 | 72.7 | 54.1 |
| EmbeddingGemma-2 ( Vera et al., 2026 ) | – | – | – | – | 57.3 | – | – | – | – | 50.7 | – | – | – | – | – | 59.0 |
| CIRR ( ) | |
|---|---|
| Method | Recall |
| CLIP ( Baldrati et al., 2022 ) | 42.8 |
| BLIP ( Liu et al., 2023 ) | 44.8 |
| VLM2Vec-7B ( Jiang et al., 2024 ) | 51.1 |
| HINT ( Zhang et al., 2026 ) | 52.3 |
| UME-R1-7B ( Lan et al., 2025 ) | 55.3 |
| Method | Accuracy |
|---|---|
| Pause Token ( Goyal et al., 2024 ) | 53.70 |
| Token Assorted ( Su et al., 2025 ) | 48.70 |
| Coconut ( Hao et al., 2024 ) | 34.10 |
| Coconut † | 37.73 |
| LoopLM | 70.88 |
| DepThink | 71.11 |
| Method | NQ | HotpotQA | |
|---|---|---|---|
| w/o RAG | w/ RAG | ||
| Qwen2.5-1.5B (sft) ( Qwen Team et al., 2024 ) | 9.40 | 12.90 | – |
| Qwen2.5-3B ( Qwen Team et al., 2024 ) | 10.60 | 14.90 | – |
| Search-o1 ( Li et al., 2025b ) | – | – | 22.10 |
| Search-R1 ( Jin et al., 2025 ) | – | – | 28.40 |
| HRPO (latent) ( Yue et al., 2025 ) | – | – | 31.60 |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Method | CIRR | MSCOCO T2I | MSVD | QVHighlights |
|---|---|---|---|---|---|
| 2B, full FT | LoopLM | 61.7 | 78.1 | 76.6 | 68.1 |
| DepThink | 67.9 | 79.4 | 78.4 | 71.1 | |
| (-residual) | 64.2 | 76.6 | 76.0 | 65.9 | |
| 8B, LoRA | LoopLM | 67.2 | 78.1 | 85.8 | 67.8 |
| DepThink | 70.0 | 80.1 | 86.7 | 74.4 | |
| (-residual) | 68.0 | 79.3 | 85.4 | 72.8 |
| Setting | Accuracy |
|---|---|
| 2B, LoRA | 71.11 |
| 2B, full fine-tune | 72.20 |
| 8B, LoRA | 85.76 |
| 30B-A3B MoE, LoRA | 84.31 |
Efficient Multimodal Inference
Efficient multimodal inference reduces the compute, memory, latency, and energy needed to process image, video, audio, text, and sensor inputs.
See all 256 papers