Thinking-with-Visual-Primitives

ailuntxMIT更新放缓

面向视觉语言模型的空间推理与视觉定位研究代码快照,探索用视觉基元辅助多模态模型理解空间关系。

Archived snapshot of Thinking-with-Visual-Primitives

暂无版本279star64fork同步于 2026-11-07 07:31 UTC

怎么上手

由 README 提炼,执行前请确认
README 未提供安装或运行命令
硬件要求按 README 说明

README 未说明

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

DeepSeek 的多模态推理研究项目,让模型在推理时用点和框标注空间位置

面向视觉语言模型的空间推理与视觉定位研究代码快照,探索用视觉基元辅助多模态模型理解空间关系。

核心能力

  • 把点和边界框作为最小思考单元插入推理轨迹
  • 用空间标记锚定语言概念,缓解指代歧义
  • 基于 DeepSeek-V4-Flash,每 4 个视觉 token 压缩为一条 KV 缓存
  • 在计数与空间推理基准上对标前沿模型

容易踩的坑

仓库是社区存档镜像,非官方权威来源;原始上游仓库已 404,无官方替代仓库;模型权重尚未发布,计划并入基础模型后放出

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    [!IMPORTANT] This repository was originally obtained from a source repository previously associated with charlesCXK, which is currently unavailable.

    The original upstream/fork relationship is no longer reliably preserved. This repository should be treated as a community mirror/archive rather than an authoritative source.

    There is currently no known replacement official repository for this project. Please follow future updates or any re-release from the following sources:

    News

    2026.06.17: As of June 17, 2026, both charlesCXK/Thinking-with-Visual-Primitives and deepseek-ai/Thinking-with-Visual-Primitives still return 404. Public search results show community mirrors and third-party discussions, but no official replacement repository or re-release announcement has been found.

    2026.05.22: As of May 22, 2026, the original source repository and the previously referenced DeepSeek organization repository for Thinking-with-Visual-Primitives are unavailable. No official replacement repository or re-release announcement has been found. Please follow the charlesCXK profile and the DeepSeek organization for future updates.

    2026.04.30: We have released the technical report detailing our approach. In the near future, we plan to make the in-house benchmarks and a subset of our cold-start data publicly available. The model weights will be integrated into our foundation model and released in the future.

    1. Introduction

    While recent Multimodal Large Language Models (MLLMs) have made strides in bridging the "Perception Gap" (e.g., through high-resolution cropping or thinking with images), they still struggle with complex structural reasoning. We identify this bottleneck as the Reference Gap: natural language is simply too ambiguous to precisely point to dense spatial layouts, often leading to logical collapse and hallucinations in thinking process.

    This project introduces a paradigm shift. Instead of just "seeing clearer", our model learns to "point while it reasons." By interleaving spatial markers (points and bounding boxes) directly into the reasoning trajectory as minimal units of thought, we anchor abstract linguistic concepts to concrete physical coordinates.

    Key Highlights

    • Point-to-Reason Synergy: Mimicking human cognitive behavior (like using a finger to count or trace a maze), our framework elevates visual primitives to minimal units of thought, effectively solving the Reference Gap in complex structural reasoning.
    • Extreme Visual Token Efficiency: Built upon the architecture of DeepSeek-V4-Flash, we compress the KV cache of every 4 visual tokens into a single entry, drastically reducing image token consumption while maintaining cognitive depth.
    • Frontier-Competitive Performance: Despite a compact model scale and a significantly lower image-token budget, our model matches frontier models like GPT-5.4, Claude-Sonnet-4.6, and Gemini-3-Flash across challenging counting and spatial reasoning benchmarks. (We note that the reported scores cover only a subset of evaluation dimensions that are directly relevant to the research focus of this paper, and are therefore not indicative of the models' overall capabilities.)

    2. License

    This code repository is licensed under the MIT License.

    3. Citation

    @article{lu2026think,
      title={Thinking with Visual Primitives},
      author={Lu, Ruijie and Ma, Yiyang and Chen, Xiaokang and Luo, Lingxiao and Wu, Zhiyu and Pan, Zizheng and Liu, Xingchao and Lin, Yutong and Li, Hao and Liu, Wen and Hao, Zhewen and Gao, Xi and Nie, Shaoheng and Wei, Yixuan and Xie, Zhenda and Chen, Ting and Zeng, Gang},
      year={2026}
    }
    
    

    4. Contact

    If you have any questions, please raise an issue or contact us at [email protected].