DiagramEval:通过图评估LLM生成的图表
DiagramEval: Evaluating LLM-Generated Diagrams via Graphs
AI总结:
提出DiagramEval评估指标,将图表概念化为图结构,通过节点对齐和路径对齐两组新指标,有效评估并解释LLM生成的研究论文演示图表的质量与特征。
摘要:
图表在研究论文中传达思想方面发挥着核心作用,但通常非常复杂且制作费时。尽管图表以图像形式呈现,标准图像生成模型难以生成结构清晰的图表。我们认为,一个有前景的方向是直接以文本形式(即SVG)生成演示图表,这可以利用大型语言模型(LLM)的最新进展。然而,由于组件的复杂性和图表的多模态特性,目前仍缺乏足够具有区分度和可解释性的指标来评估LLM生成图表的质量。在本文中,我们提出了DiagramEval,这是一种新颖的评估指标,旨在评估由LLM生成的演示图表。具体而言,DiagramEval将图表概念化为图,将文本元素视为节点,将其连接视为有向边,并使用两组新指标(节点对齐和路径对齐)来评估图表质量。我们首次在最新研究文献上有效评估了由最先进LLM生成的图表,定量证明了我们指标的有效性。此外,我们展示了所提指标增强的可解释性如何为LLM生成图表的特征提供有价值的见解。代码:https://github.com/ulab-uiuc/diagram-eval。
英文摘要:
Diagrams play a central role in research papers for conveying ideas, yet they are often notoriously complex and labor-intensive to create. Although diagrams are presented as images, standard image generative models struggle to produce clear diagrams with well-defined structure. We argue that a promising direction is to generate demonstration diagrams directly in textual form as SVGs, which can leverage recent advances in large language models (LLMs). However, due to the complexity of components and the multimodal nature of diagrams, sufficiently discriminative and explainable metrics for evaluating the quality of LLM-generated diagrams remain lacking. In this paper, we propose DiagramEval, a novel evaluation metric designed to assess demonstration diagrams generated by LLMs. Specifically, DiagramEval conceptualizes diagrams as graphs, treating text elements as nodes and their connections as directed edges, and evaluates diagram quality using two new groups of metrics: node alignment and path alignment. For the first time, we effectively evaluate diagrams produced by state-of-the-art LLMs on recent research literature, quantitatively demonstrating the validity of our metrics. Furthermore, we show how the enhanced explainability of our proposed metrics offers valuable insights into the characteristics of LLM-generated diagrams. Code: https://github.com/ulab-uiuc/diagram-eval.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。