DeepSeek-OCR 2: 视觉因果流
DeepSeek-OCR 2: Visual Causal Flow
AI总结:
DeepSeek-OCR 2通过两个级联的一维因果推理结构实现二维图像理解,提升视觉处理的语义连贯性与灵活性。
摘要:
我们提出了DeepSeek-OCR 2,以研究一种新型编码器-DeepEncoder V2,该编码器能够根据图像语义动态重新排列视觉标记。传统视觉-语言模型(VLMs)在输入LLMs时通常以固定的栅格扫描顺序(从上到下,从左到右)处理视觉标记,并使用固定的位置编码。然而,这种处理方式与人类视觉感知相矛盾,后者遵循由内在逻辑结构驱动的灵活且语义连贯的扫描模式。特别是对于具有复杂布局的图像,人类视觉表现出因果信息驱动的顺序处理。受这一认知机制的启发,DeepEncoder V2被设计用于赋予编码器因果推理能力,使其能够在LLM基于内容解释之前智能地重新排列视觉标记。本研究探索了一种新的范式:通过两个级联的一维因果推理结构是否能够有效实现二维图像理解,从而提供一种具有潜力实现真实二维推理的新架构方法。代码和模型权重可在http://github.com/deepseek-ai/DeepSeek-OCR-2公开获取。
英文摘要:
We present DeepSeek-OCR 2 to investigate the feasibility of a novel encoder-DeepEncoder V2-capable of dynamically reordering visual tokens upon image semantics. Conventional vision-language models (VLMs) invariably process visual tokens in a rigid raster-scan order (top-left to bottom-right) with fixed positional encoding when fed into LLMs. However, this contradicts human visual perception, which follows flexible yet semantically coherent scanning patterns driven by inherent logical structures. Particularly for images with complex layouts, human vision exhibits causally-informed sequential processing. Inspired by this cognitive mechanism, DeepEncoder V2 is designed to endow the encoder with causal reasoning capabilities, enabling it to intelligently reorder visual tokens prior to LLM-based content interpretation. This work explores a novel paradigm: whether 2D image understanding can be effectively achieved through two-cascaded 1D causal reasoning structures, thereby offering a new architectural approach with the potential to achieve genuine 2D reasoning. Codes and model weights are publicly accessible at http://github.com/deepseek-ai/DeepSeek-OCR-2.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。