Depth-Linked Residual Tokens for Multimodal Retrieval and Generation

Jiangfan Zhang, Wentao Bao, Xian Wu, Xiangjun Fan, Jianpeng Cheng, Jun XiaoarXiv 2026

It’s late, the coffee is cold, and you’re probably wondering why we still haven’t solved the "speed vs. smarts" trade-off in Large Language Models (LLMs). We want models that can "think longer" to solve complex math or find that one specific frame in a video, but we don't want to wait ten seconds for a response.

A new paper from Meta AI introduces DepThink (Depth-Linked Residual Tokens), a clever architectural tweak that gives models the benefits of iterative reasoning without the massive "looping" overhead.

TL;DR

DepThink adds a chain of special "thinking" tokens to a model’s input that are linked together by a lightweight mathematical thread. This allows the model to refine its internal representations step-by-step—effectively "thinking deeper"—within a single, fast forward pass, making it up to 11x faster to train and 4x faster to run than traditional iterative models.

What Problem Does This Paper Address?

In the quest for better reasoning, researchers have gravitated toward looped architectures. Instead of passing data through a model once, you loop it through the same layers multiple times. It’s like a person re-reading a difficult paragraph to finally "get it." It works, but it’s slow because you’re running the entire massive backbone of the model over and over.

The alternative is using parallel special tokens (like "register tokens" or "thought tokens"). You throw a bunch of extra blank tokens into the input, let the model process them all at once, and hope they aggregate useful info. This is fast, but these tokens don't "talk" to each other in a sequence; they lack the iterative refinement that makes looping so powerful. They often end up being redundant, essentially "thinking" the same thing in parallel.

Methods

The authors propose Depth-Linked Residual Tokens (DepThink). Here’s the intuitive breakdown:

  1. Append Tokens: They add $K$ learnable tokens to the end of the input sequence.
  2. The Single Pass: The model processes everything in one standard forward pass (the "pre-filling" stage).
  3. The "Link": This is the secret sauce. Instead of just taking the output of these tokens as-is, DepThink connects them using a first-order linear residual recurrence.

Think of it like a relay race. Token 1 captures some basic info. Token 2 takes its own findings plus a weighted version of Token 1’s findings to refine the idea. By the time you get to Token $K$, you have a highly distilled, "deep" representation.

The DepThink architecture: input tokens are processed by the LLM, and the resulting hidden states are linked via a learnable recurrence to create refined "DepThink states."

Crucially, this recurrence is "lightweight"—it’s just a few simple additions and multiplications ($\alpha$ and $\beta$ parameters) that happen after the heavy lifting of the transformer layers is done.

Datasets

The researchers put DepThink through the ringer across several domains:

  • Multimodal Retrieval: MMEB-V2 (a massive benchmark for image/video/doc retrieval), CIRR, and MSCOCO.
  • Math Reasoning: GSM8K and MATH-500 (the gold standards for "can this AI actually do math?").
  • Knowledge QA: Natural Questions (NQ) and HotpotQA.
  • Qualitative Evaluation: They used OK-VQA and even employed Gemini-2.5-Pro as a "judge" to score the coherence of the model's reasoning.

Key Insights and Ideas

  • Geometric Reachability: The authors provide a mathematical proof that DepThink tokens can "reach" parts of the vector space that standard unlinked tokens simply cannot. By linking them, you expand the model's expressive vocabulary.
  • The "One-Step" Guarantee: They prove that starting from a standard model and adding DepThink links guarantees a better optimization path during training. It’s essentially a "free lunch" for model performance.
  • Breaking Redundancy: Standard parallel tokens often collapse into redundant representations (they all learn the same thing). Because DepThink tokens are linked residually, each token is incentivized to capture complementary information that the previous tokens missed.

Key Results

The numbers here are quite striking, particularly regarding efficiency:

  • Speed: Compared to looped architectures (LoopLM), DepThink is up to 11.9x faster to train and 4.3x faster for inference.
  • Performance: It consistently outperformed "unlinked" token baselines. In math reasoning (GSM8K), it reached 71.11% accuracy, beating other latent reasoning methods like "Coconut" or "Pause Tokens."
  • Scaling: The benefits held up as they scaled from 2B parameter models to 8B and even a 30B Mixture-of-Experts (MoE) model.
Wall time comparison: DepThink (red) stays nearly flat as you add more tokens, while looped models (blue) slow down linearly.

As shown in the charts below, adding more "special tokens" consistently improves performance for DepThink, whereas unlinked tokens (the blue lines) start to plateau or even degrade.

Performance scaling: DepThink (red) improves more consistently than unlinked tokens (blue) as the number of special tokens increases.

Limitations and Future Work

While the results are impressive, there are a few areas for further exploration:

  • Architecture Specificity: Most tests were done on the Qwen3-VL family. It remains to be seen if these gains are as dramatic on radically different architectures (like pure Mamba or non-transformer models).
  • Recurrence Complexity: The link is currently a simple linear recurrence. The authors suggest that more complex "links" (perhaps mini-transformers or non-linear gates) could unlock even more reasoning power, though likely at a slight cost to speed.
  • The "K" Ceiling: While performance improved up to 16 tokens, there is likely a point of diminishing returns where adding more tokens doesn't help. Finding that "sweet spot" automatically would be a great next step.

Summary updated

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.
BibTeX
@misc{zhang2026depth,
  author = {Jiangfan Zhang and Wentao Bao and Xian Wu and Xiangjun Fan and Jianpeng Cheng and Jun Xiao},
  title = {{Depth-Linked Residual Tokens for Multimodal Retrieval and Generation}},
  year = {2026},
  eprint = {2611.26752},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.26752},
}
Figure