Skip to main content
QUICK REVIEW

[論文レビュー] Evaluating LLMs' Mathematical and Coding Competency through Ontology-guided Interventions

Pengfei Hong, Navonil Majumder|arXiv (Cornell University)|Jan 17, 2024
Open Education and E-LearningComputer Science被引用数 3
ひとこと要約

本稿では、GSM8Kから抽出した5つのシード問題をもとに、GPT-4を用いた準自動的摂動と手動フィルタリングを実施し、216問の問題を含む「More」データセットを構築する、オントロジー駆動のフレームワークを提案する。構造的、表現的、概念的摂動の3つのタイプを評価対象とし、大規模言語モデル(LLM)の性能低下を明らかにした。特に概念的分析において顕著な低下が観察され、現在のLLMは微細な意味的・形式的変化に対して脆弱であり、数学的推論の面で頑健性に欠けていることが示された。

ABSTRACT

Recent advancements in Large Language Models (LLMs) have showcased striking results on existing logical reasoning benchmarks, with some models even surpassing human performance. However, the true depth of their competencies and robustness in reasoning tasks remains an open question. To this end, in this paper, we focus on two popular reasoning tasks: arithmetic reasoning and code generation. Particularly, we introduce (i) a general ontology of perturbations for math and coding questions, (ii) a semi-automatic method to apply these perturbations, and (iii) two datasets, GSMORE and HUMANEVAL-CORE, respectively, of perturbed math and coding problems to probe LLM capabilities in numeric reasoning and coding tasks. Through comprehensive evaluations of both closed-source and open-source LLMs, we show a significant performance drop across all the models against the perturbed questions, suggesting that the current LLMs lack robust problem solving skills and structured reasoning abilities in many areas, as defined by our ontology. We open-source the datasets and source codes at: https://github.com/declare-lab/LLM-ReasoningTest.

研究の動機と目的

  • 標準ベンチマークを超えた、現在のLLMの数学的推論における頑健性を評価すること。
  • 制御的で細分化された摂動条件下におけるLLMの数値的推論における体系的限界を同定すること。
  • 数学的文章問題における摂動操作の拡張可能なオントロジーを構築すること。
  • 数学的推論の頑健性を評価するための高品質で多様なデータセット(More)を生成すること。
  • 微細な意味的・構造的変化に対して、最新のLLM(例:GPT-4)ですら脆弱であることを明らかにすること。

提案手法

  • 摂動を構造的、表現的、概念的分析の3タイプに分類する階層的オントロジーを構築した。
  • 論理の変更、形式の変更、値の操作といった次元を含む、合計44種類の明確な摂動タイプを定義した。
  • GSM8Kの5つのシード問題に対して、GPT-4を用いて準自動的に摂動を生成した。
  • 明確でないまたは無効な摂動を除外するため、厳密な自動および手動のフィルタリングを実施し、Moreデータセットに216件の有効な問題を抽出した。
  • 形式の変更、概念的分析、専門的推論タスクを含む、摂動タイプごとにLLMを評価するための評価プロトコルを設計した。
  • 性能低下の度合いを測定するため、5つの代表的LLM(GPT-4、GPT-3.5、Gemini、Llama2-chat、Metamath)をMoreデータセットでベンチマークした。
Figure 1: The ontology of the perturbations.
Figure 1: The ontology of the perturbations.

実験結果

リサーチクエスチョン

  • RQ1現在のLLMは、数学的文章問題における微細な摂動に対してどの程度頑健か?
  • RQ2構造的、表現的、概念的摂動のうち、どのタイプがLLMの性能を最も著しく低下させるか?
  • RQ3閉鎖型とオープンソースのLLMは、概念的分析および形式変更の摂動に対して、どの程度異なる対処を示すか?
  • RQ4オントロジー駆動の摂動は、標準ベンチマークを超えたLLM推論の潜在的脆弱性を効果的に露呈できるか?
  • RQ5主な摂動タイプと専門的摂動タイプとの間の性能依存関係は、LLMの背後にある推論的限界をどのように明らかにするか?

主な発見

  • GPT-4の性能は、Moreデータセットで100%から75.89%に低下し、高い初期性能にもかかわらず顕著な脆弱性を示した。
  • GPT-3.5の性能は80%から32.26%に低下し、特に概念的分析および形式変更の摂動に対して極めて感受性が高かった。
  • Geminiの性能は100%から43.12%に低下し、表現的および概念的摂動に対して顕著な脆弱性を示した。
  • Llama2-chat や Metamath といったオープンソースモデルは、回答形式や質問形式といった専門的カテゴリでほぼゼロの性能を示し、指示の変化に適応できていないことが明らかになった。
  • 概念的分析の摂動が最も顕著な性能低下を引き起こし、LLMが表面的なパターンマッチングを超えて数学的概念を理解できていないことが判明した。
  • 主な摂動タイプを事前に解く必要がある専門的摂動タイプにおいて、性能低下が最も顕著に観察されたことから、LLMにおける階層的推論の失敗が示唆された。
Figure 2: Model performance for each question. The blue color indicates the model predicted correctly for the original question, and orange means the opposite. ‘3’, ‘4’, ‘5’, ‘7’, ‘8’ stands for the number of steps in the gold answer for the perturbed question.
Figure 2: Model performance for each question. The blue color indicates the model predicted correctly for the original question, and orange means the opposite. ‘3’, ‘4’, ‘5’, ‘7’, ‘8’ stands for the number of steps in the gold answer for the perturbed question.

この論文を読む

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

Nubintでこの論文を読む

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