arXiv:2410.22456cs.CVcs.AI2024-10NeurIPS被引 27

评测视觉语言模型从图像中提取结构的能力,自动量化生成结果与原图的相似度。

Image2Struct: Benchmarking Structure Extraction for Vision-Language Models

  • 用图像生成代码再渲染回图像,通过对比新旧图像评估模型性能。
  • 在网页、公式、乐谱三类任务上,模型得分差异大,最高达0.830,最低0.402。
  • 全自动无人工参与,数据来自活跃网络社区,适合评估模型真实场景能力。

我们提出Image2Struct,一个用于评估视觉语言模型(VLMs)从图像中提取结构能力的基准。该基准具备三个特点:1)涵盖真实应用场景;2)完全自动化,无需人工判断;3)基于可更新的实时数据流。在Image2Struct中,VLM被要求从输入图像(如网页截图)生成底层结构(如LaTeX或HTML代码),随后将结构渲染为输出图像(如渲染后的网页),并与原始输入图像进行比较,获得相似度分数。这种往返评估机制可对具有多种合法结构的任务进行定量评估。我们构建了一个自动数据获取管道,能动态从活跃在线社区下载新鲜数据,并实现无需人工干预的模型评估。引入三个领域(网页、LaTeX、音乐谱)和五种图像度量(像素相似性、Inception向量余弦相似性、学习感知图像块相似性、结构相似性指数、地球移动者距离),实现高效自动比对。我们在14个主流VLM上评估了Image2Struct,发现得分差异显著,表明该基准能有效区分不同模型性能。同时,最佳得分在不同领域间波动较大(如乐谱仅0.402,LaTeX方程达0.830),说明任务难度各异。为保证透明性,完整结果已公开于https://crfm.stanford.edu/helm/image2struct/v1.0.1/。

原文摘要 · Abstract (English)

We introduce Image2Struct, a benchmark to evaluate vision-language models (VLMs) on extracting structure from images. Our benchmark 1) captures real-world use cases, 2) is fully automatic and does not require human judgment, and 3) is based on a renewable stream of fresh data. In Image2Struct, VLMs are prompted to generate the underlying structure (e.g., LaTeX code or HTML) from an input image (e.g., webpage screenshot). The structure is then rendered to produce an output image (e.g., rendered webpage), which is compared against the input image to produce a similarity score. This round-trip evaluation allows us to quantitatively evaluate VLMs on tasks with multiple valid structures. We create a pipeline that downloads fresh data from active online communities upon execution and evaluates the VLMs without human intervention. We introduce three domains (Webpages, LaTeX, and Musical Scores) and use five image metrics (pixel similarity, cosine similarity between the Inception vectors, learned perceptual image patch similarity, structural similarity index measure, and earth mover similarity) that allow efficient and automatic comparison between pairs of images. We evaluate Image2Struct on 14 prominent VLMs and find that scores vary widely, indicating that Image2Struct can differentiate between the performances of different VLMs. Additionally, the best score varies considerably across domains (e.g., 0.402 on sheet music vs. 0.830 on LaTeX equations), indicating that Image2Struct contains tasks of varying difficulty. For transparency, we release the full results at https://crfm.stanford.edu/helm/image2struct/v1.0.1/.

视觉语言模型结构提取自动评估基准测试

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