惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 三生石上(FineUI控件)
雷峰网
雷峰网
爱范儿
爱范儿
P
Proofpoint News Feed
Security Archives - TechRepublic
Security Archives - TechRepublic
Latest news
Latest news
The Hacker News
The Hacker News
Cyberwarzone
Cyberwarzone
博客园 - 【当耐特】
Project Zero
Project Zero
小众软件
小众软件
T
Tailwind CSS Blog
量子位
博客园 - 聂微东
I
Intezer
美团技术团队
S
SegmentFault 最新的问题
T
Tor Project blog
Spread Privacy
Spread Privacy
V
Vulnerabilities – Threatpost
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Jina AI
Jina AI
罗磊的独立博客
B
Blog RSS Feed
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
T
Troy Hunt's Blog
有赞技术团队
有赞技术团队
Google DeepMind News
Google DeepMind News
宝玉的分享
宝玉的分享
C
Cisco Blogs
L
LINUX DO - 热门话题
Last Week in AI
Last Week in AI
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
AI
AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Microsoft Azure Blog
Microsoft Azure Blog
L
LINUX DO - 最新话题
Know Your Adversary
Know Your Adversary
GbyAI
GbyAI
Engineering at Meta
Engineering at Meta
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Recent Commits to openclaw:main
Recent Commits to openclaw:main
L
Lohrmann on Cybersecurity
The Register - Security
The Register - Security
L
LangChain Blog
博客园 - 叶小钗
T
Tenable Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

博客园 - fariver

[PaperWritting] 多模态大模型架构图摘录 每日Paper - 2026-03-06 每日Paper | 2026年3月4日 [Paper Reading] Qwen3-VL-Embedding and Qwen3-VL-Reranker: A Unified Framework for State-of-the-Art Multimodal Retrieval and Ranking [PaperReading] OneSearch A Preliminary Exploration of the Unified End-to-End Generative Framework for E-commerce Search [PaperReading] OneRec Technical Report [Paper Reading] Tiger: Recommender Systems with Generative Retrieval [PaperReading] Generative Recommendation with Semantic IDs: A Practitioner’s Handbook [PaperReading] GME: Improving Universal Multimodal Retrieval by Multimodal LLMs [Paper Reading] UniME-V2: MLLM-as-a-Judge for Universal Multimodal Embedding Learning [PaperReading] UniME: Breaking the Modality Barrier: Universal Embedding Learning with Multimodal LLMs [PaperReading] Qwen2.5-VL Technical Report [PaperReading] SAIL-Embedding Technical Report: Omni-modal Embedding Foundation Model [PaperReading] VLM2Vec-V2: Advancing Multimodal Embedding for Videos, Images, and Visual Documents [PaperReading] VLM2VEC: TRAINING VISION-LANGUAGE MODELS FOR MASSIVE MULTIMODAL EMBEDDING TASKS [PaperReading] REACT: SYNERGIZING REASONING AND ACTING IN LANGUAGE MODELS [PaperReading] MemGPT: Towards LLMs as Operating Systems [PaperReading] Qwen2-VL: Enhancing Vision-Language Model’s Perception of the World at Any Resolution [PaperReading] Mind Search: Mimicking Human Minds Elicits Deep AI Searcher [PaperReading] METAGPT: META PROGRAMMING FOR A MULTI-AGENT COLLABORATIVE FRAMEWORK
[PaperReading] DeepSeek-OCR: Contexts Optical Compression
fariver · 2025-10-21 · via 博客园 - fariver

DeepSeek-OCR: Contexts Optical Compression

link
时间:25.10.20
单位:DeepSeek
作者相关工作:Haoran Wei,加入DeepSeek之前在旷视,之前做过Vary
项目主页:
https://github.com/deepseek-ai/DeepSeek-OCR

TL;DR

探索的任务:通过2D OCR能否压缩long context信息。
模型架构:核心模块包括DeepEncoder与DeepSeek3B-MoE-A570M的Decoder。

  • DeepEncoder:将高分辨率的图片压缩为少量视觉token。
  • DeepSeek Decoder:输入image tokens + prompts,输出结果
    意义:该工作对于long context压缩 以及 记忆遗忘机制 都有巨大的潜力。

Method

image

DeepEncoder

SAM(80M):输入图像首先由SAM-base进行处理,该模型基于窗口注意力机制,对图像进行细致的视觉特征提取(而非直接出MASK)。
Conv: 两步Conv下采样,将视觉特征编码经过16x下采样进行压缩
CLIP(300M):Image Encoder部分,再将patch embedding层移除

Q:什么是压缩率?
压缩率 = 原始文本token数量 / 使用的视觉token数量​

Q:压缩率高有什么好处?
DeepSeekOCR提供一种新文本表示方式,光学编码:将原始文本内容渲染成图像格式。压缩率高,意味着光学编码后,DeepSeek-Encoder编码出的视觉token信息密度比text token还高。在实际应用中,可能不需要专门光学编码,可以是:

  • 文档扫描件或截图
  • 程序化生成的文本图像
  • 现有的文档图像资料

DeepDecoder

  • 采用混合专家模型(MoE)设计,共64个专家
  • 推理时激活6个路由专家+2个共享专家(约570M激活参数)
  • 在保持3B模型表达能力的同时,享受500M小模型的推理效率

Data

多批次数据构成
image

Experiment

不同压缩率对应的实验结果
image

与多阶段OCR、E2E OCR方法的对比
image

总结与思考

10倍压缩率情况下能达到97%的识别成功率,说明至少有97%的text信息已经被编码进来了,有10倍的压缩率,那证明比直接使用text作为输入性价比更高,在long context的场景下还是非常有价值的。

相关链接

https://www.zhihu.com/search?type=content&q=DeepSeek-OCR%3A Contexts Optical Compression