ソースコードだけからプログラミングAIの学習課題を作る
CodeMidas: Scaling Agentic Coding RL Environments from Code Itself
この論文をやさしく読む
ひとことで言うと
既存のプログラムの機能を読み取り、仕様とテストを作ることで、コーディングAIを鍛える学習課題へ変換しています。
何に役立つ?
イシューや変更履歴が十分なくても、コードから多様な強化学習環境を作る用途に役立ちます。MiMo-V2.5の学習で5つの評価課題の改善が報告されています。
この研究の面白いところ
元のコードを実際に動かしてテストを作り、解答の試行も繰り返して課題を選別します。単にコードから質問文を作るだけではありません。
どこまで分かった?
改善は記載されたモデルとベンチマークでの結果です。要旨の+11.7%などは相対増加かパーセントポイントかを明示していないため、その区別を補って解釈していません。
v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。
アブストラクトの日本語訳
能力の高いコーディングエージェントを強化学習(RL)で訓練するには、信頼できる検証器を備えた多様な課題が必要である。公開コードベースはこうした課題の豊富な供給源になるが、既存手法は通常、イシューやコミットなどの開発時の記録に依存しており、抽出できる課題の範囲を制限している。RL環境をより大きく展開するため、課題固有の入力としてソースコードだけを使い、既存コードベースに実装された機能を実行可能なRL環境へ変換するエージェント型パイプラインCodeMidasを提案する。 CodeMidasは、環境構築のすべての段階にエージェントの計算を配分する。エージェントは実装済み機能を探索して振る舞いの仕様を定め、元のコードの実行に根拠を置くテストを構築し、実行チェックと解答の反復試行を通して候補課題を検証・選別する。得られたデータセットは、23のプログラミング言語と15の技術領域にまたがる3,185の公開コードベースから作成した、5,545件の学習課題を含む。 これらの課題でMiMo-V2.5をGRPOにより学習すると、イシュー修正(DeepSWEで+11.7%)、プログラム全体の構築(ProgramBenchで+17%)、端末作業(Terminal-Bench v2.1で+8.5%)を含む、性質の異なる5つのベンチマークすべてで性能が向上した。要素を切り分ける実験は、高品質な学習課題を増やすと性能が向上することを示す。実行軌跡の解析では、RL学習済みエージェントに、コードベースの探索の増加や、より多様な自己検証といった改善された行動が見られた。これらの結果は、多様なソフトウェア課題でコーディングエージェントを改善するRL環境を構築するうえで、ソースコードが拡張可能な基盤となることを示している。
v1の要旨から自動生成。本文の精読・人による確認は未実施。
- 初稿
- 2026-09-18(UTC)
- 最新改訂
- 2026-09-18 · v1
- 査読・掲載
- 査読状況未確認
更新履歴
- v1 2026-09-18 この版を読む
取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。
原文の要旨
Training capable coding agents via reinforcement learning (RL) requires diverse tasks with reliable verifiers. Open-source codebases offer a rich source of such tasks, while existing methods typically rely on development artifacts such as issues and commits, limiting the range of tasks that can be extracted. To better scale RL environments, we present CodeMidas, an agentic pipeline that turns implemented functionality in existing codebases into executable RL environments using source code as its only task-specific input. CodeMidas allocates agentic compute to every stage of environment construction: agents explore implemented functionality to formulate behavioral specifications, construct tests grounded in execution of the original code, and validate and filter candidate tasks through execution checks and repeated solution rollouts. The resulting dataset has 5,545 training tasks from 3,185 open-source codebases spanning 23 programming languages and 15 technical domains. Training MiMo-V2.5 on these tasks with GRPO improves performance on all five diverse benchmarks, covering issue repair (DeepSWE + 11.7%), whole-program construction (ProgramBench +17%), and terminal work (Terminal-Bench v2.1 +8.5%). Ablations show that increasing the number of high-quality training tasks improves performance. Trajectory analysis shows the RL-trained agent demonstrates better behaviors like increasing codebase exploration and more diverse self-verification. These results establish source code as a scalable foundation for constructing RL environments that improve coding agents across diverse software tasks.
arXiv ID: 2609.22068 / 要約の誤りについて