arXiv:2608.17550cs.CVcs.CL2026-08中稿 · ACM MM 2026

将学术论文转为可编译的LaTeX+Python,实现结构与代码的精准还原。

Code as Representation: A Compilable Parsing Paradigm for Academic Documents

论文配图:Code as Representation: A Compilable Parsing Paradigm for Academic Documents
图 1 · 摘自论文原文
  • 用LaTeX+Python重构论文页面,保留公式、图表等结构化元素
  • 在CADP-Bench上,顶级模型仍难以生成高保真可执行还原
  • 适合需要精确解析科学文献的科研与自动化工具开发者

学术论文是科学知识的主要载体,但多数内容仍被困在为人类阅读优化的PDF中,难以被机器使用。对于多模态大模型(MLLMs)而言,核心挑战不仅是感知,更是表示:科学文档混合了文本与结构化学术元素(SAEs),如表格、公式、图表和伪代码,而常见替代方案如Markdown无法有效保留其结构、数据与逻辑。为此,我们提出可编译学术文档解析(CADP)范式,将整页内容重构为上下文相关的LaTeX与可执行Python代码,实现结构化元素与可执行图表的重建、重新编译,并直接与源页面验证。为支持该范式,我们构建了专家验证的完整学术页面基准集CADP-Bench,包含紧密耦合的文本与多种SAE类型,采用重注入编译协议进行评估。我们进一步测试了当前最先进MLLMs及结合常见代理技术的多智能体基线。结果表明,即使前沿模型仍难以生成高保真可执行还原,凸显结构感知科学文档解析仍有巨大提升空间。CADP-Bench已开源供未来研究使用。

原文摘要 · Abstract (English)

Academic papers are a primary carrier of scientific knowledge, yet most of this knowledge remains locked in PDFs that are optimized for human reading rather than machine use. For Multimodal Large Language Models (MLLMs), the core challenge is not only perception, but representation: scientific pages interleave text with Structured Academic Elements (SAEs) such as tables, formulas, charts, and pseudocode, whose structure, data, and logic are poorly preserved by common surrogates like Markdown. We therefore propose Compilable Academic Document Parsing (CADP), a paradigm that reconstructs a full page as contextual \LaTeX{} plus executable Python, so that structure-preserving elements and executable chart representations can be reconstructed, recompiled, and directly verified against the source page. To support this setting, we introduce CADP-Bench, an expert-verified benchmark of full academic pages containing tightly coupled text and multiple SAE types, evaluated through a re-injection compilation protocol. We further study current capabilities using SOTA MLLMs and an exploratory multi-agent baseline that incorporates common agentic techniques. Results show that even frontier models still struggle to produce high-fidelity executable reconstructions, highlighting substantial room for improvement in structure-aware scientific document parsing. CADP-Bench is released for future research.

文档解析可编译学术论文多模态

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。