arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.16260cs.CV
收藏

函数链:面向细粒度图表推理数据的程序化流水线

Chain of Functions: A Programmatic Pipeline for Fine-Grained Chart Reasoning Data

Microsoft Research(微软研究院);Hong Kong University of Science and Technology(香港科技大学)

Zijian Li, Jingjing Fu, Lei Song, Jiang Bian, Jun Zhang, Rui Wang

AI总结:

针对图表推理高质量依据数据稀缺的问题,提出程序化数据生成流水线CoF,通过原子函数探索生成多样函数链并转化为推理数据,构建ChartCoF数据集,提升了同规模MLLM的图表推理性能。

摘要:

视觉推理对多模态大语言模型(MLLMs)处理复杂图表查询至关重要,但高质量的推理依据数据仍然稀缺。现有方法利用(M)LLMs生成数据,但直接提示往往精度和多样性有限。本文提出了**函数链(Chain of Functions, CoF)**,这是一种新颖的程序化推理数据生成流水线,以自由探索的推理路径作为监督信号,确保数据的精度与多样性。具体而言,该方法首先在原子函数(如最大值查询、算术运算等)之间进行无人工干预的探索,生成多样化的函数链,随后仅借助中等规模的开源LLM,将这些函数链转化为语言化的推理依据与问题。CoF具备多重优势:1)精度:与自由形式生成相比,受函数管控的生成减少了幻觉;2)多样性:通过枚举函数链可实现多样化的问题分类;3)可解释性:函数链作为内置推理依据,支持超越整体准确率的细粒度评估;4)实用性:无需依赖超大规模模型。利用CoF,我们构建了ChartCoF数据集,包含用于细粒度分析的1400个复杂推理问答对,以及用于推理能力增强的5万个问答对。在ChartCoF上的细粒度评估显示,不同MLLM在各类问题分类上的表现存在差异;实验还表明,使用ChartCoF微调后,模型在常用基准上的性能达到了同规模MLLM中的最优水平。此外,CoF中这种函数管控的推理依据生成新范式,有望为图表领域之外的更广泛应用带来启发。

英文摘要:

Visual reasoning is crucial for multimodal large language models (MLLMs) to address complex chart queries, yet high-quality rationale data remains scarce. Existing methods leveraged (M)LLMs for data generation, but direct prompting often yields limited precision and diversity. In this paper, we propose \textit{Chain of Functions (CoF)}, a novel programmatic reasoning data generation pipeline that utilizes freely-explored reasoning paths as supervision to ensure data precision and diversity. Specifically, it starts with human-free exploration among the atomic functions (e.g., maximum data and arithmetic operations) to generate diverse function chains, which are then translated into linguistic rationales and questions with only a moderate open-sourced LLM. \textit{CoF} provides multiple benefits: 1) Precision: function-governed generation reduces hallucinations compared to freeform generation; 2) Diversity: enumerating function chains enables varied question taxonomies; 3) Explainability: function chains serve as built-in rationales, allowing fine-grained evaluation beyond overall accuracy; 4) Practicality: eliminating reliance on extremely large models. Employing \textit{CoF}, we construct the \textit{ChartCoF} dataset, with 1.4k complex reasoning Q\&A for fine-grained analysis and 50k Q\&A for reasoning enhancement. The fine-grained evaluation on \textit{ChartCoF} reveals varying performance across question taxonomies for each MLLM, and the experiments also show that finetuning with \textit{ChartCoF} achieves state-of-the-art performance among same-scale MLLMs on widely used benchmarks. Furthermore, the novel paradigm of function-governed rationale generation in \textit{CoF} could inspire broader applications beyond charts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑