プロフィール

設定

読み込み中…

← ホーム

ヘルプ・お問い合わせ

よくある質問

ログインが必要な機能はどれですか?

公開されている論文の解説・論文情報・モデル構造・関連論文・用語は、ログインしなくても読めます。論文のアップロード、マイライブラリ、閲覧履歴、論文の評価、興味のある分野のおすすめ、メールと通知は、ログインすると使えます。

PDFファイルでもアップロードできますか?

論文はarXivまたはDOIのリンクでアップロードし、解説はすべての人に公開されます。出典と利用条件を確認できず解説を公開できない論文は、アップロードできません。PDFファイルのアップロードと非公開は購読会員だけが使え、ファイルでアップロードした論文は非公開でのみ保存します。タイトルで公式情報を探す検索は、ボタンを押したときにだけ行います。

図とAI解説は正確ですか?

図は論文に掲載されているものだけを使い、利用許諾を確認できたものだけを表示しています。解説はAIが書いた文章のため、誤りが含まれることがあります。重要な主張や数値、図の文脈は、元論文の根拠で確認してください。

著作権の問題を報告したい

ライセンスと元論文の出典は「論文情報」タブに記載しています。問題がある場合は、「お問い合わせ」で「論文の内容・図・著作権」を選び、論文のリンク、問題のある箇所、権利を確認できる根拠を送ってください。受け付けただけで権利が確定したり、すぐに削除されたりすることはありません。確認の結果は「お問い合わせ履歴」で見られます。

パスワードを忘れました

メールアドレスで登録した場合は、ログイン画面のパスワード再設定から、確認済みのメールアドレスで設定し直せます。Google・NAVER・カカオで登録した場合は、それぞれのサービスでパスワードを変更してください。

お問い合わせには何を書けばいいですか?

どの画面で何をしたときに起きた問題かを、論文のリンクと一緒に書いてください。パスワード・APIキー・認証コード・電話番号などの個人情報は書かないでください。お問い合わせと回答はRefivuに保存され、「お問い合わせ履歴」で見られます。

退会するにはどうすればいいですか?

設定の「アカウント」で「退会」を押してください。削除される内容を確認し、本人確認を済ませると退会できます。そのほかの依頼は、「お問い合わせ」で「アカウント」を選んで送ってください。

論文解説

MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning

MLIRBench:コンパイラとハードウェアを考慮した推論のためのベンチマークおよびデータセット

  • 課題 LLMがMLIRプログラムの組の意味的な同値性と動作の違いを、実行結果を根拠にどの程度正確に判定できるかを測るのは難しいです。
  • 結果 Gemini 3.1 Proは1,768組で、ハードラベル精度92.65%と集計スコア74.18を記録しましたが、結果の振る舞いスコアは5.04/10でした。

LLMはIRを本当に理解しているのか

LLMはPythonやC++のようなソースコード課題で高い性能を示しましたが、コンパイラの中間表現(IR)をどの程度理解しているかは、よく分かっていません。この論文は、MLIRを対象に、2つのプログラムが同じ出力を出すか、出力が異なるか、コンパイルや実行に失敗するかを、実行結果に基づいて評価するベンチマークが必要だと考えています。ソースレベルのコード生成の成功率や単体テストの合格率だけでは、変換が実際の出力に与える影響を直接測るのは難しいです。同じ出力を出す2つのプログラムでも構造は大きく異なる場合があり、小さな属性やインデクシングマップの変更でも結果が変わることがあります。

実行でラベルを作るパイプライン

変異の候補は方言ごとの検証を経て、失敗した場合は最大3回まで再生成されます。Execution Sandbox AgentはIREEで2つのプログラムを同じ決定的条件でコンパイルして実行し、numpy.array_equalでビット単位の同値性を比較します。コンパイルまたは実行に失敗するとERROR、出力が異なるとDIVERGE、同じならEQUIVのラベルが付与されます。この正解ラベルはモデルではなく、実行だけで決まります。

Figure 1: Overview of MLIRBench.Benchmark construction (upper):PyTorch programs are lowered to torch and linalg
seeds. The Mutation Agent transforms a seed𝐴 in…

Figure 1 .Overview of MLIRBench.Benchmark construction (upper):PyTorch programs are lowered to torch and linalg seeds. The Mutation Agent transforms a seed𝐴 into𝐵, guided by dialect-specific structural analysis, and records the mutation metadata. The Execution Sandbox Agent executes𝐴 and𝐵 on fixed inputs to determine the ground-truth label𝑦.Execution- hidden evaluation (lower):each evaluated model receives only𝐴,𝐵, the dialect tag, and input values. The Judge Agent scores the model response using the execution record, mutation metadata, and reference explanation; only execution determines𝑦. Blue boxes denote LLM calls. The code example shows a row-wise max reduction whose initial value is changed from−∞ (0xFF800000in MLIR) to0.0.

出典 · CC BY 4.0 · Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari · MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning · 論文の図を引用 · 元のPDFの2ページ目から図の部分を抽出しています。
Figure 2: Dataset construction pipeline. MLIRBench starts from curated PyTorch programs, lowers them into torch and
linalg MLIR, applies dialect-specific mutat…

Figure 2 .Dataset construction pipeline. MLIRBench starts from curated PyTorch programs, lowers them into torch and linalg MLIR, applies dialect-specific mutation rules, and validates the resulting program pairs through compilation and execution.

出典 · CC BY 4.0 · Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari · MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。

実行結果を伏せたままモデルを採点する手法

LLM Reasoning Agentには、2つのMLIRプログラム、方言タグ、決定的な入力値だけが渡され、実行出力、正解ラベル、Judgeのスコアは渡されません。モデルはAとBの出力をまず予測し、そのうえでEQUIV、DIVERGE、ERRORのいずれかのラベルを出力します。Judge Agentは実行記録をもとにハードラベル精度を決定的に計算し、結果の振る舞いスコアrと説明の質qを採点します。

Table 2: Reasoning Agent evaluation scale

Table 2 .Reasoning Agent evaluation scale.

出典 · CC BY 4.0 · Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari · MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。
Table 19: Judge Agent configuration

Table 19 .Judge Agent configuration.

出典 · CC BY 4.0 · Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari · MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning · 論文の図を引用 · 元のPDFの20ページ目から図の部分を抽出しています。

ラベル精度と振る舞い予測のギャップ

Gemini 3.1 Proは、1,768組全体で92.65%のハードラベル精度と74.18の集計スコアを記録しました。同じモデルの結果の振る舞いスコアは5.04/10でした。ハードラベル精度は高いものの、予測された出力の振る舞いのスコアは低く、正解ラベルを当てても、具体的な実行の振る舞いを正確に追跡できていないという差が見られます。同じモデルはERROR事例の97.02%を正解しましたが、DIVERGE事例は68.73%にとどまり、実際には発散する84組をEQUIVと誤分類しました。

Figure 3: Benchmark performance across nine evaluated models on 888 linalg and 880 torch pairs. Label accuracy includes
all attempts; result and explanation sc…

Figure 3 .Benchmark performance across nine evaluated models on 888 linalg and 880 torch pairs. Label accuracy includes all attempts; result and explanation scores are normalized by their maxima and averaged over valid responses.

出典 · CC BY 4.0 · Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari · MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。

変異レベルごとの難易度の差

変異レベルはL1からL5まで、構文を保つ編集から誤りを誘発する変異までに分かれます。Gemini 3.1 ProはL5で94.94点と高かった一方、他の複数のモデルはL5で低いスコアにとどまりました。ただし、このレベルごとの難易度は単調な順序にはなっておらず、失敗を誘発する変異に強いモデルもありました。スコアは、ラベル精度と振る舞いスコアの両方を反映した値です。

Table 4: Average benchmark score by mutation level, com-
bininglinalgandtorch

Table 4 .Average benchmark score by mutation level, com- bininglinalgandtorch.

出典 · CC BY 4.0 · Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari · MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。
Table 8: Mutation levels used by the Mutation Agent

Table 8 .Mutation levels used by the Mutation Agent.

出典 · CC BY 4.0 · Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari · MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning · 論文の図を引用 · 元のPDFの15ページ目から図の部分を抽出しています。

適用範囲と残された課題

ベンチマークは、torchとlinalgの2つの方言、40個のシードプログラムに限られます。実行ラベルはIREEと固定されたコンパイル構成で生成されるため、他のバックエンドやハードウェアでは結果が変わる可能性があります。説明の質のスコアはLLMによる採点に依存するため、診断のシグナルとして捉えるのが適切です。2つのgpt-oss-120bの応答は、JSON契約を守れませんでした。

Table 7: Source program seed categories used in MLIRBench

Table 7 .Source program seed categories used in MLIRBench.

出典 · CC BY 4.0 · Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari · MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning · 論文の図を引用 · 元のPDFの14ページ目から図の部分を抽出しています。
Table 9: Mutation rule coverage by dialect

Table 9 .Mutation rule coverage by dialect.

出典 · CC BY 4.0 · Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari · MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning · 論文の図を引用 · 元のPDFの15ページ目から図の部分を抽出しています。
Table 14: Required JSON output schema for each Reasoning Agent response

Table 14 .Required JSON output schema for each Reasoning Agent response.

出典 · CC BY 4.0 · Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari · MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning · 論文の図を引用 · 元のPDFの18ページ目から図の部分を抽出しています。
Table 21: Explanation-quality anchors

Table 21 .Explanation-quality anchors.

出典 · CC BY 4.0 · Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari · MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning · 論文の図を引用 · 元のPDFの21ページ目から図の部分を抽出しています。
Table 24: Model-level aggregate scores (0–100) on identical responses to the same 100 program pairs. Original denotes
historical grades on this sample; R1–R3 d…

Table 24 .Model-level aggregate scores (0–100) on identical responses to the same 100 program pairs. Original denotes historical grades on this sample; R1–R3 denote fresh primary-judge repeats. Alt. changes the judge, No ref. removes the generated reference narrative, and Fixed uses structure/exactness/value maxima of 2/5/3.

出典 · CC BY 4.0 · Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari · MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning · 論文の図を引用 · 元のPDFの24ページ目から図の部分を抽出しています。

論文情報

著者
Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari
学会・ジャーナル
arXiv · プレプリント
公開日
2026年11月11日
登録日
2026年11月13日
更新日
2026年11月11日
バージョン
v1
arXiv
2611.14881
カテゴリ
cs.PL · cs.AI · cs.LG
ライセンス
CC BY 4.0
掲載内容
論文情報・解説・論文の図

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

アブストラクト

In recent years, large language models (LLMs) have become increasingly popular in software engineering and have performed well on different programming tasks. However, it is still difficult to know whether these models truly understand program behavior or whether they mainly rely on patterns learned from their training data. This distinction is particularly important for intermediate representations (IRs), where operations, dataflow, and execution semantics are explicitly represented. In this paper, we introduce MLIRBench, a benchmark for evaluating how LLMs reason about MLIR programs. MLIRBench uses a multi-agent pipeline to generate program mutations, validate their behavior through execution, and construct reasoning tasks from torch and linalg program pairs. The dataset contains 1,768 validated pairs, including 888 linalg pairs and 880 torch pairs, labeled as EQUIV, DIVERGE, or ERROR. We evaluated nine models, including five open-weight and four proprietary models. Gemini 3.1 Pro achieved the highest hard-label accuracy of 92.65% across all 1,768 pairs, counting unsuccessful predictions as incorrect. Across its 1,768 scored predictions, it achieved an aggregate score of 74.18 and a judge-assigned result-behavior score of 5.04/10. These results show that strong semantic classification does not necessarily imply accurate prediction of detailed execution behavior, highlighting a gap in current LLM reasoning over compiler IRs. By exposing this gap through execution-validated program pairs, MLIRBench provides a reproducible foundation for studying semantic reasoning over compiler IRs and related tasks such as program repair and semantic classification.

この論文を引用

Pranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain, Kaining Gao, Farhan Ahmed, Ali Jannesari (2026). MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning. arXiv:2611.14881v1. https://arxiv.org/abs/2611.14881v1

BibTeX
@misc{maganti2026mlirbench,
  title = {{MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning}},
  author = {Pranava Sai Maganti and Meghasyam Peddireddy and Muzakker Hossain and Kaining Gao and Farhan Ahmed and Ali Jannesari},
  year = {2026},
  eprint = {2611.14881},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.14881v1}
}

関連論文を見る他の論文を見る

論文プレビュー
アカウントのセキュリティ

Googleアカウントを連携

Googleアカウントを連携すると、そのアカウントでもログインできます。

Refivu

退会

Refivu
Refivu

新規登録