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

大型语言模型能否理解符号图形程序?

Can Large Language Models Understand Symbolic Graphics Programs?

Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);University of Cambridge(剑桥大学);MIT(麻省理工学院)

Zeju Qiu, Weiyang Liu, Haiwen Feng, Zhen Liu, Tim Z. Xiao, Katherine M. Collins, Joshua B. Tenenbaum, Adrian Weller, Michael J. Black, Bernhard Schölkopf

AI总结:

本文提出利用符号图形程序评估大型语言模型的空间语义推理能力,构建了相关基准,并引入符号指令微调(SIT)方法,发现该方法不仅能提升模型对符号程序的理解,还能增强其在其他基准上的通用推理能力。

摘要:

在对大型语言模型(LLMs)充满热情的背景下,科学地评估其能力和不足的需求日益增长。这并非易事,部分原因在于很难找到模型在训练期间未曾遇到过的任务。利用符号图形程序,我们提出了一个非常适合测试LLMs多种空间语义推理能力的领域。这些程序在计算机图形学中很流行,能够程序化地生成视觉数据。尽管LLMs在通用程序合成与分析方面展现出令人印象深刻的能力,但符号图形程序提供了一个新的评估层面:它们允许我们在没有视觉编码器的情况下,测试LLM回答关于图像或3D几何体的语义问题的能力。为了在语义上理解这些符号程序,LLMs需要具备“想象”和推理能力,仅凭局部曲率和笔画的符号描述来推断相应的图形内容会是什么样子。我们通过创建一个用于符号图形程序语义视觉理解的大型基准来评估LLMs,该基准以程序化方式构建,只需最少的人力。我们特别关注那些保持图像级语义不变,但对底层程序引入显著变化的图像变换。我们在我们的基准上评估了商业和开源LLMs,以评估它们对程序视觉输出进行推理的能力,发现被认为推理能力较强的LLMs通常表现更好。最后,我们引入了一种改进这种能力的新方法——符号指令微调(Symbolic Instruction Tuning, SIT),其中LLM使用预先收集的关于符号图形程序的指令数据进行微调。有趣的是,我们发现SIT不仅提高了LLM对符号程序的理解,还提高了在各种其他基准上的通用推理能力。

英文摘要:

Against the backdrop of enthusiasm for large language models (LLMs), there is a growing need to scientifically assess their capabilities and shortcomings. This is nontrivial in part because it is difficult to find tasks which the models have not encountered during training. Utilizing symbolic graphics programs, we propose a domain well-suited to test multiple spatial-semantic reasoning skills of LLMs. Popular in computer graphics, these programs procedurally generate visual data. While LLMs exhibit impressive skills in general program synthesis and analysis, symbolic graphics programs offer a new layer of evaluation: they allow us to test an LLM's ability to answer semantic questions about the images or 3D geometries without a vision encoder. To semantically understand the symbolic programs, LLMs would need to possess the ability to "imagine" and reason how the corresponding graphics content would look with only the symbolic description of the local curvatures and strokes. We use this task to evaluate LLMs by creating a large benchmark for the semantic visual understanding of symbolic graphics programs, built procedurally with minimal human effort. Particular emphasis is placed on transformations of images that leave the image level semantics invariant while introducing significant changes to the underlying program. We evaluate commercial and open-source LLMs on our benchmark to assess their ability to reason about visual output of programs, finding that LLMs considered stronger at reasoning generally perform better. Lastly, we introduce a novel method to improve this ability -- Symbolic Instruction Tuning (SIT), in which the LLM is finetuned with pre-collected instruction data on symbolic graphics programs. Interestingly, we find that SIT not only improves LLM's understanding on symbolic programs, but it also improves general reasoning ability on various other benchmarks.

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

↑