Spatial Tokens as Chain-of-Thought Anchors: A New Approach to Fixing the Reference Gap in Visual Reasoning

    A newly published (and quickly withdrawn) technical report from a frontier AI research lab outlines a method for improving spatial reasoning in multimodal large models. By embedding structured bounding-box and point-coordinate tokens directly into the chain of thought, the approach grounds language reasoning in precise image locations, addressing what the report calls the "Reference Gap." This article breaks down the problem, the proposed framework, the underlying model architecture, training data construction, and the method's current limitations.

    Introduction: An Unusual Release

    On the afternoon of April 30, 2026, a frontier AI research lab quietly published a technical report on a visual model on a code hosting platform, only to delete it around 11 p.m. the same day. This “publish-then-retract” move stirred considerable discussion in the technical community. Based on the abstract and partial chapters that were disclosed, the report is far more than a routine iteration note—it systematically presents a new methodology for the spatial reasoning capabilities of multimodal large models. Its core idea—using spatial tokens as “anchors” within the chain of thought to establish precise references between language and images—has been viewed by several researchers as a key breakthrough for solving the current “eyes are sharp, hands are clumsy” predicament of vision-language models.

    The Root of the Problem: The “Reference Gap” in Visual Reasoning

    Today’s mainstream multimodal large models show surprising fragility when handling complex spatial logic tasks, such as counting people in dense crowds, tracing the endpoint of a curve, or determining valid paths through a maze. Models often understand image content correctly in the early stages of reasoning, but as the reasoning chain extends, they easily run into object confusion, missed counts, and scrambled spatial relationships.

    The report attributes these failures to a core concept: the Reference Gap. In short, large language models excel at symbolic logical deduction, but there is an inherent representational divide between visual tokens (vectorized representations of image patches) and linguistic symbols. When the reasoning process needs to repeatedly “refer back” to a specific object in the image, the model lacks a precise “locating pointer.” Textual descriptions like “the person in red” or “the third dot in the upper-left corner” gradually lose their precise spatial pointing as reasoning deepens, eventually causing the reasoning chain to collapse.

    It is like a blindfolded person navigating a maze using only verbal instructions. Once the instructions become too dense or the path too complex, their sense of spatial position rapidly degrades. The human instinct for solving this problem is to “point a finger”—to mark positions directly in space.

    The Core Solution: Spatial Tokens as Chain-of-Thought Anchors

    The framework proposed in the report is essentially an abstraction of that human “finger.” It designs two types of structured spatial tokens and embeds them directly into the model’s chain of thought through special grammar tokens.

    • Bounding box tokens: When reasoning needs to lock onto a region or multiple targets, the model generates a token sequence like <|ref|>target object<|/ref|><|box|>[[x1,y1,x2,y2],[x3,y3,x4,y4],...]<|/box|>. Here, target object is a logical placeholder, while the coordinate array precisely specifies the object’s pixel boundaries in the image.
    • Point tokens: For reasoning steps requiring finer localization (such as pointing out the center of an object or the intersection of two edges), the model uses the format <|point|>[[x1,y1],[x2,y2],...]<|point|>, replacing full bounding boxes with sparse coordinate points.

    The elegance of this design is that it deeply couples “seeing” with “thinking.” Traditional vision-language models follow a “look first, think later” pattern—perception extracts features, and the language stage reasons only over feature vectors. This approach instead pushes the model to actively “look back” and mark specific coordinates in the original image during the thinking process. This not only reduces the model’s memory burden but also uses explicit spatial constraints to ensure that every reasoning step remains consistent in physical coordinates.

    Model Architecture: High-Compression Visual Encoding and a Fast Language Model

    The report reveals the underlying architecture of the visual model, which follows a three-stage “visual encoder + language model” design, with deep enhancements in key components.

    Visual encoder: extreme token compression
    The visual encoder uses an in-house Vision Transformer (ViT) architecture that supports arbitrary-resolution input, eliminating the traditional image-tiling preprocessing. Its highlight is a channel-wise spatial attention mechanism (CSA, described in an earlier edition of the team’s technical report), which applies up to 4x spatial compression of the visual tokens in the KV cache at the end of the encoder. Combined with ViT’s inherent patch-based processing, the system achieves an overall image compression ratio of roughly 7056x. This means the model can encode a multi-megapixel high-resolution image into a very small number of high-semantic-density tokens, effectively addressing the excessive compute cost of long-context scenarios.

    Language model: extreme inference speed
    On the language side, the model uses the lab’s in-house fast LLM (284B total parameters, 13B activated parameters—an MoE architecture). This “large but sparsely activated” configuration preserves strong logical reasoning capability while keeping per-inference compute costs low, enabling real-time generation of and feedback on spatial tokens.

    Training Data: Teaching the Model to “Point” While Thinking

    Embedding spatial tokens into the chain of thought looks simple at inference time, but the key lies in constructing high-quality training data so the model learns on its own when to “insert” coordinates. The report devotes extensive space to this data construction pipeline.

    Pretraining stage: a dual-track data source

    1. Structured transformation of open datasets: In existing open datasets for visual question answering, referring segmentation, and dense object counting, annotations are typically stored separately from the questions. Researchers need to build parsers that recombine “question–reasoning chain–image annotation” into chain-of-thought samples with spatial tokens.
    2. High-throughput mining of web data: Using existing visual understanding models, the team applies automatic annotation to massive image-text pairs from the internet. Specifically, a large model first generates several spatial reasoning questions about an image, then detection models (such as general object detectors) supply Box or Point results, producing complete “question–spatialized reasoning–answer” triples.

    The core goal of this data pipeline is to let the model learn from massive samples “when, where, and at what granularity” to introduce spatial tokens. For example, in an apple-counting task, the model is guided to sequentially generate the coordinate point of each apple; once an apple is counted, the coordinate anchor prevents it from being counted again.

    Limitations and Open Questions

    Despite the framework’s appeal, the report candidly acknowledges the current system’s shortcomings. Researchers who tested it immediately after publication found that accuracy remains unsatisfactory in highly complex spatial logic reasoning scenarios, such as judging the optimal path in multi-route mazes.

    The problem likely lies in two areas:

    • Coordinate quantization error: Mapping images into a discrete token space (rounding coordinates to an integer grid) introduces slight offsets between targets and referring points on ultra-high-resolution images.
    • Error accumulation over long reasoning chains: When dozens of coordinates must be marked consecutively, even a tiny deviation in one coordinate gets amplified step by step along the chain of thought, ultimately scrambling the spatial topology.

    Technical Takeaways and Outlook

    The deeper signal behind the report’s release and deletion is that competition among multimodal models has entered a “deep cognition” phase. Relying solely on larger-scale image-text alignment is no longer enough. Structured “intermediate representations”—such as spatial tokens and visual pointers—seamlessly bridging symbolic reasoning (where language models excel) and perceptual detail (where visual encoders excel) is a chasm that future vision-language models must cross on the road toward AGI.

    For developers, the lesson is not just the specific box-and-point scheme but its extensions: for example, combining spatial tokens with external tool calls so the model can precisely specify which image region to zoom into during reasoning, or embedding timestamps as temporal tokens in video understanding to tackle action localization and causal event reasoning. The idea of “explicitly manipulating abstract symbols of the external world while thinking” offers a highly practical engineering reference for pushing past the performance ceiling of multimodal autoregressive models.