arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.08283cs.AI
收藏

DiagramIR:教育数学图表评估的自动流水线

DiagramIR: An Automatic Pipeline for Educational Math Diagram Evaluation

Stanford University(斯坦福大学);KTH Royal Institute of Technology(皇家理工学院)

Vishal Kumar, Shubhra Mishra, Rebecca Hao, Rizwaan Malik, David Broman, Dorottya Demszky

AI总结:

针对LLM生成教育数学图表缺乏可扩展评估的问题,提出DiagramIR自动评估流水线,基于LaTeX TikZ代码的中间表示,相比LLM-as-a-Judge等基线与人类评分者一致性更高,还能让小模型以更低成本达到大模型性能。

摘要:

大型语言模型(LLMs)正越来越多地被用作学习工具;然而,大多数工具仍仅支持文本,这限制了它们在可视化至关重要的领域(如数学)中的实用性。近期研究表明,LLMs能够生成可编译为教育图表的代码,但一个主要瓶颈仍然存在:这些图表的可扩展评估。我们通过提出DiagramIR来解决这一问题:一个用于几何图形的自动且可扩展的评估流水线。我们的方法依赖于LaTeX TikZ代码的中间表示(IRs)。我们将我们的流水线与LLM-as-a-Judge等其他评估基线进行比较,结果表明我们的方法与人类评分者的一致性更高。这种评估方法还使GPT-4.1-Mini等较小模型能够以低10倍的推理成本达到与GPT-5等较大模型相当的性能,这对部署可访问且可扩展的教育技术至关重要。

英文摘要:

Large Language Models (LLMs) are increasingly being adopted as tools for learning; however, most tools remain text-only, limiting their usefulness for domains where visualizations are essential, such as mathematics. Recent work shows that LLMs are capable of generating code that compiles to educational figures, but a major bottleneck remains: scalable evaluation of these diagrams. We address this by proposing DiagramIR: an automatic and scalable evaluation pipeline for geometric figures. Our method relies on intermediate representations (IRs) of LaTeX TikZ code. We compare our pipeline to other evaluation baselines such as LLM-as-a-Judge, showing that our approach has higher agreement with human raters. This evaluation approach also enables smaller models like GPT-4.1-Mini to perform comparably to larger models such as GPT-5 at a 10x lower inference cost, which is important for deploying accessible and scalable education technologies.

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

↑