Leaked Multimodal LLM Tech Report: Architecture Analysis of Spatial Grounding Meets Chain-of-Thought Reasoning

    A recently leaked (and quickly removed) technical report on a vision-language model offers a rare look at how current multimodal large language models are architected. This article breaks down the report's key disclosures—including a three-stage architecture, a vision encoder with native arbitrary-resolution support, aggressive multi-level visual token compression, a lightweight MoE language backbone, and a novel approach that embeds spatial coordinates directly into chain-of-thought reasoning—and analyzes the engineering trade-offs behind these design choices.

    Leaked Multimodal LLM Tech Report: Architecture Analysis of Spatial Grounding Meets Chain-of-Thought Reasoning

    Introduction

    A technical report on a vision-language model recently surfaced online before being taken down shortly after. While the vendor has not officially confirmed its contents, the architecture details, parameter counts, and inference mechanisms disclosed in the report provide a valuable reference point for understanding where multimodal large language model technology is heading. This article systematically reviews the key technical points from the report and analyzes them from an engineering perspective.

    1. Overall Architecture: A Three-Stage Design, Not Native Multimodality

    According to the report, the model does not adopt the “native multimodal” architecture that some recent research has explored—i.e., a design that processes text and image signals in a unified way from the start of training, without modality boundaries. Instead, it follows the more mature and engineering-friendly three-stage architecture widely used in industry:

    1. Vision encoder: converts images into visual feature vectors;
    2. Modality connector: aligns and compresses the feature spaces;
    3. Language model backbone: understands the fused multimodal information and generates text output.

    This choice is not surprising. The main advantage of the three-stage design is module decoupling: the vision encoder and the language model can be optimized and iterated independently, and existing pre-trained checkpoints can even be reused, significantly reducing training costs and engineering risk. Compared with native multimodal architectures—which place much higher demands on training data scale, compute resources, and unified vocabulary design—the three-stage approach remains the mainstream choice in industry at this stage, especially for teams that need fast iteration and tight cost control.

    2. Vision Encoder: Arbitrary Resolution Support and High Compression

    The report describes a proprietary in-house Vision Transformer with two key characteristics:

    1. Zero-Training Arbitrary Resolution Support

    Traditional vision encoders typically require input images to be resized or cropped to a fixed resolution (e.g., 224×224 or 336×336). This discards fine-grained details in high-resolution images, which is particularly harmful for tasks requiring precise spatial grounding, such as document understanding, chart parsing, and object detection.

    The disclosed encoder supports arbitrary-resolution input without additional training, meaning the model can process images at their original size rather than relying on fixed-size preprocessing. This kind of capability usually relies on interpolation-based generalization of positional encodings, or on a patch-based strategy that dynamically partitions the input—allowing the encoder to adapt to different image sizes without retraining its parameters.

    2. Multi-Level Compression: From Visual Features to the KV Cache

    Even more noteworthy is the compression strategy. As visual features enter the language model’s KV cache, the model introduces a cross-modal attention compression mechanism (referred to as the CSA mechanism in the report) that further compresses visual tokens by 4x. Combined with the compression ratio built into the vision encoder itself, the overall compression rate reaches approximately 7,056x.

    The engineering value of this multi-level compression lies in:

    • Lower inference memory footprint: The KV cache is one of the dominant sources of memory consumption in long-context inference, and visual tokens typically far outnumber text tokens. Compressing the KV cache significantly improves inference throughput for long mixed image-text inputs;
    • Faster inference: Fewer visual tokens reduce attention computation cost—especially during autoregressive generation, where KV cache read efficiency directly affects generation speed;
    • Preservation of key semantic information: The compression does not simply discard information. Instead, it uses a learned attention mechanism to selectively aggregate visual features, retaining semantically useful content for downstream tasks while reducing computation.

    For applications handling high-resolution images, document-centric tasks, or long multi-turn visual conversations, this compression mechanism translates directly into lower inference costs—strong practical value for production deployments.

    3. Language Model Choice: A Lightweight Backbone Trained on Large-Scale Corpora

    The report states that the language model component reuses a Mixture-of-Experts (MoE) model with roughly 284B total parameters and about 13B activated parameters. This “large total, small active” design is characteristic of modern MoE models:

    • Total parameter count determines the model’s knowledge capacity and ceiling on expressiveness;
    • Activated parameter count determines how many parameters actually participate in computation per inference step, directly affecting latency and compute consumption.

    Choosing a language model with a lightweight activation footprint as the multimodal backbone reflects a deliberate engineering trade-off: while preserving solid language understanding and reasoning capabilities, inference costs are kept in check, leaving compute headroom for the vision encoder to handle more complex visual compression and feature extraction. This “lightweight language model + strong vision encoder” combination suits multimodal applications that are sensitive to response latency and deployment cost.

    4. Core Innovation: Embedding Spatial Tokens into Chain-of-Thought Reasoning

    The most interesting part of the report is how it fuses visual spatial grounding information (bounding boxes, keypoints) with the language model’s chain-of-thought (CoT) reasoning process.

    1. How Bounding Boxes Are Embedded

    For object detection scenarios, the report describes inserting structured tokens into the chain-of-thought text, in a format like:

    1. <|ref|>target placeholder<|/ref|><|box|>[[x1,y1,x2,y2],[x3,y3,x4,y4]...]<|/box|>

    Here, the “target placeholder” represents the text description of the object being localized (e.g., “the car in the image”), followed by a coordinate array representing the object’s bounding boxes in the image. This design lets the model “ground while thinking”: whenever the reasoning process needs to reference a specific visual object, it inserts the precise coordinates directly into the text stream, rather than deferring detection results to a separate final output stage.

    2. How Keypoints Are Embedded

    For tasks requiring keypoint annotations (rather than rectangular boxes), the report describes similar logic, with the coordinate tokens replaced by:

    1. <|point|>[[x1,y1],[x2,y2]...]<|/point|>

    These are likewise inserted at the corresponding position in the chain of thought to annotate one or more coordinate points.

    3. Why This Design Matters

    Embedding spatial coordinates directly into the reasoning text—rather than emitting them from a separate detection head—offers several technical benefits:

    • Improved interpretability: Every spatial grounding decision the model makes is explicitly visible in the text sequence, making debugging, tracing, and human review easier;
    • Tight coupling of multi-step reasoning and spatial grounding: For complex visual tasks requiring multi-step analysis (e.g., “first locate the object in the top-left corner, then judge its spatial relationship with the object on the right”), embedding coordinate tokens in the chain of thought allows the model to complete “locate—reason—re-locate” loops within a single reasoning sequence, avoiding information fragmentation between modules;
    • Train-inference consistency: If training data is organized in this format, the model naturally generates outputs in the same pattern at inference time, eliminating extra post-processing or format conversion overhead.

    This “spatial tokens as text tokens” approach essentially reformulates visual grounding as a sequence generation problem—something language models are inherently good at—making it a pragmatic and scalable solution for bringing multimodal models into production.

    5. Conclusion and Outlook

    Based on the disclosures in this technical report, several clear trends are emerging in the evolution of multimodal large language models:

    1. Architecture: The three-stage design remains the industry mainstream, and native multimodal architectures have not yet become a widespread replacement;
    2. Efficiency optimization: Multi-level visual token compression (from the encoder down to the KV cache) has become a key lever for reducing inference cost;
    3. Capability fusion: Deep integration of spatial grounding with chain-of-thought reasoning is becoming an important direction for improving complex visual reasoning.

    For developers and enterprise users focused on multimodal deployments, understanding the engineering trade-offs behind these architectural choices helps inform better technology selection and resource planning in real-world scenarios such as document intelligence, visual question answering, and industrial quality inspection. Cloud providers, including Baidu AI Cloud, continue to invest in underlying compute, inference acceleration, and multimodal application integration, providing the infrastructure layer needed to bring these technologies into production.