Skip to main content
QUICK REVIEW

[論文レビュー] ChartMimic: Evaluating LMM's Cross-Modal Reasoning Capability via Chart-to-Code Generation

Cheng Yang, Chufan Shi|arXiv (Cornell University)|Jun 14, 2024
Natural Language Processing TechniquesComputer Science被引用数 3
ひとこと要約

ChartMimic は、科学的図表の図表からコード生成に関する大規模なマルチモodalモデル(LMMs)を評価するための新しいベンチマークを導入した。191の図表サブカテゴリにまたがる1,000組の人的に選別された(図、指示、コード)トリプレットを用いて評価している。その結果、顕著な性能格差が明らかとなり、GPT-4Vですら平均73.2/100のスコアにとどまり、クロスモーダル推論、視覚的理解、コード生成における課題が浮き彫りになった。

ABSTRACT

We introduce a new benchmark, ChartMimic, aimed at assessing the visually-grounded code generation capabilities of large multimodal models (LMMs). ChartMimic utilizes information-intensive visual charts and textual instructions as inputs, requiring LMMs to generate the corresponding code for chart rendering. ChartMimic includes 4,800 human-curated (figure, instruction, code) triplets, which represent the authentic chart use cases found in scientific papers across various domains (e.g., Physics, Computer Science, Economics, etc). These charts span 18 regular types and 4 advanced types, diversifying into 201 subcategories. Furthermore, we propose multi-level evaluation metrics to provide an automatic and thorough assessment of the output code and the rendered charts. Unlike existing code generation benchmarks, ChartMimic places emphasis on evaluating LMMs' capacity to harmonize a blend of cognitive capabilities, encompassing visual understanding, code generation, and cross-modal reasoning. The evaluation of $3$ proprietary models and 14 open-weight models highlights the substantial challenges posed by ChartMimic. Even the advanced GPT-4o, InternVL2-Llama3-76B only achieved an average score across Direct Mimic and Customized Mimic tasks of 82.2 and 61.6, respectively, indicating significant room for improvement. We anticipate that ChartMimic will inspire the development of LMMs, advancing the pursuit of artificial general intelligence.

研究の動機と目的

  • 科学的図表の視覚的根拠に基づくコード生成を評価するベンチマークの不足に対処すること。
  • 現実の科学的文脈において、視覚的理解、コード生成、クロスモーダル推論を統合する LMM の能力を評価すること。
  • コードとレンダリング済み図表の忠実度の高レベルおよび低レベルの両面を捉える包括的な評価フレームワークを提供すること。
  • 現在の LMM に根ざした恒久的な制限、特に図表タイプやテキスト要素の誤分類および幻覚現象を特定すること。
  • 実際の学術的ユースケースに一致する人間によるアノテーションが施された厳密なベンチマークを提供することで、将来の基盤モデル開発を支援すること。

提案手法

  • 2つのタスクを提案:Direct Mimic(指定された図表を再現する)とCustomized Mimic(指示に従って新しいデータに適応する)。視覚的およびテキスト的入力を用いる。
  • 18種の通常の図表タイプと4種の高度な図表タイプを含む、191のサブカテゴリにわたる科学論文から1,000組の(図、指示、コード)トリプレットを収集した。
  • 多段階の評価メトリクスを設計:高レベル(図表タイプ、レイアウト、明確さ)と低レベル(データ、テキスト、スタイル、色)を評価対象とし、コードおよびレンダリング出力の品質を測定。
  • LMM の性能向上を目的に、3つのプロンプト戦略(HintEnhanced、SelfRevision、Scaffold Prompting)を導入した。
  • 300件のテスト例と1例あたり3名の評価者を用いた人間評価を実施。自動メトリクスと整合性を持つ0〜100の類似度スケールを採用。
  • 自動メトリクスと人間の判断の間のピアソン相関を計算し、メトリクスの信頼性を検証した。
Figure 1 : The real-world example. LMMs assist scientists and researchers in understanding, interpreting and creating charts during the reading and writing of academic papers. These models serve as assistants that enhance the comprehension and presentation of data in scholarly communications.
Figure 1 : The real-world example. LMMs assist scientists and researchers in understanding, interpreting and creating charts during the reading and writing of academic papers. These models serve as assistants that enhance the comprehension and presentation of data in scholarly communications.

実験結果

リサーチクエスチョン

  • RQ1LMM は、視覚的およびテキスト的入力から、情報量が多く複雑な科学的図表を正確に再現するコードを生成できるか。
  • RQ2異なるプロンプト戦略(HintEnhanced、SelfRevision、Scaffold)は、LMM の図表からコード生成における性能にどのように影響を与えるか。
  • RQ3自動評価メトリクスは、図表の忠実度およびコードの正しさを評価する人間の判断とどの程度相関しているか。
  • RQ4LMM が図表からコード生成において主に見られる失敗モードは何か、特に幻覚現象や誤分類の点で。
  • RQ5特許権を有するモデルとオープンソースの重みを持つ LMM は、科学的図表生成におけるマルチモーダル推論の要求をどの程度処理できるか。

主な発見

  • GPT-4V は Direct Mimic タスクで平均73.2のスコアを記録し、最先端の性能を誇るにもかかわらず、さらなる改善の余地が大きいことが示された。
  • Claude-3-opus は53.7のスコアを記録し、高水準の特許権モデルですら図表からコード生成の複雑さに苦戦していることが明らかになった。
  • 最も優れたオープンソースモデルである Phi-3-Vision でさえ、GPT-4V の性能の約半分にとどまり、能力格差が顕著に現れた。
  • 自動評価メトリクスは人間の判断と高いピアソン相関(p < 0.01)を示し、ベンチマークにおける信頼性が裏付けられた。
  • エラー分析から、幻覚現象(存在しないテキストの生成や図表タイプの誤分類など)が主な失敗モードであることが判明した。
  • ベンチマークは多様な図表タイプとサブカテゴリをカバーしており、複数の分野にまたがる実際の科学論文から人的に選別された1,000組のトリプレットを含んでいる。
Figure 2 : The pipeline of ChartMimic. We provide $1,000$ human-curated (figure, instruction, code) triplets. We use ChartMimic to evaluate LMMs’ proficiency in the multimodal chart-to-code generation, resulting in both high-level and low-level evaluation results.
Figure 2 : The pipeline of ChartMimic. We provide $1,000$ human-curated (figure, instruction, code) triplets. We use ChartMimic to evaluate LMMs’ proficiency in the multimodal chart-to-code generation, resulting in both high-level and low-level evaluation results.

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。