プロフィール

設定

読み込み中…

← ホーム

ヘルプ・お問い合わせ

よくある質問

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

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

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

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

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

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

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

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

パスワードを忘れました

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

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

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

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

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

論文解説

Interactive Program Induction with Language Model Priors

言語モデルの事前知識を活用した対話型プログラム誘導

  • 課題 入出力の例だけでは、互いに異なるプログラムがすべて整合するため、対象のプログラムを選ぶことが困難です。
  • 手法 言語モデルをプログラムの事前分布と重要度サンプリングの提案分布として用い、期待情報利得が大きい入力を選んでオラクルに問い合わせます。
  • 結果 CodeARCでは、LM単独エージェントより精度を最大22%ポイント高め、観測する例を最大10.5個減らしました。

プログラム誘導のあいまいさ

入出力の例を数個使ってプログラムを復元しようとすると、有限の例は、異なる出力を返す無限に多くのプログラムと整合します。この論文は、このあいまいさをベイズの観点から扱います。事前分布p0のもとで観測を加えることで、事後質量を対象プログラムに集中させることが目標です。対話型の設定では、学習器が情報量の大きい入力を選び、その出力をオラクルに尋ねます。

期待情報利得による問い合わせの選択

アルゴリズムは評価集合S上で、各ラウンドにおいて期待情報利得が最大となる入力x(t)を選びます。期待情報利得は、問い合わせ後の同値類分布のエントロピー減少量の期待値として定義されます。オラクルの答えと整合しないプログラムは重みが0になり、すべてのクラスの事後質量が1/2以下になるまで繰り返します。このとき同値類とは、S上で出力が同じプログラムの集合です。

Table 6: Query selection strategies of Alg. 1 and the CodeARC agent with 1 seed invocation on the
full anonymized CodeARC split. Prior majority returns a progr…

Table 6 : Query selection strategies of Alg. 1 and the CodeARC agent with 1 seed invocation on the full anonymized CodeARC split. Prior majority returns a program from the majority class of the initial particles without calling the oracle. Entries are means over 5 independent seeds (3 for prior majority) with 95% confidence intervals over seeds. Avg I/O is the average number of input–output examples observed, including the seed invocation, out of a budget of 30. Avg γt is the information the selected query is guaranteed to yield, averaged over all queries of the strategy.

出典 · CC BY 4.0 · Robin Shing Moon Chan, Ryan Cotterell · Interactive Program Induction with Language Model Priors · 論文の図を引用 · 元のPDFの21ページ目から図の部分を抽出しています。

言語モデルを事前分布と提案分布として使う

言語モデルは、プログラムの事前分布p0と、重要度サンプリングの提案分布qtとして同時に用いられます。入出力の例を含むプロンプトに条件付けられた言語モデルが実装候補をサンプリングし、各候補に重要度の重みを与えます。論文では、重みを計算する際、推論過程とサンプリング温度を除いた近似を用いると述べられています。

Figure 5: Accuracy of our algorithm against the sampling temperature for each proposal
prompt, with 1 seed invocation on 100 problems. Prompts are ordered by a…

Figure 5 : Accuracy of our algorithm against the sampling temperature for each proposal prompt, with 1 seed invocation on 100 problems. Prompts are ordered by accuracy pooled over models and temperatures.

出典 · CC BY 4.0 · Robin Shing Moon Chan, Ryan Cotterell · Interactive Program Induction with Language Model Priors · 論文の図を引用 · 元のPDFの23ページ目から図の部分を抽出しています。

問い合わせ数とPAC保証

すべての応答が少なくともγビットを与えるなら、貪欲アルゴリズムの期待問い合わせ数は、事前クラスのエントロピーをγで割った値以下に抑えられます。対象プログラムごとの上界は、1/γとlog(1/2p0 質量)に比例する式で与えられます。同値関係を入力分布µのもとでの誤差で近似すると、PAC誤差の上界も同時に得られます。この結果は、事後分布が正確であるという仮定のもとで成り立ちます。

Figure 1: (a) Cumulative accuracy (top) and fraction of runs terminated (bottom) by round, for
Alg. 1 under four query selection strategies, the CodeARC agent…

Figure 1 : (a) Cumulative accuracy (top) and fraction of runs terminated (bottom) by round, for Alg. 1 under four query selection strategies, the CodeARC agent (LM only), and the per-instance bound of Thm. 3.2 aggregated over the EIG runs. The termination panels use the runs whose initial particles contain the target’s class. A run is terminated once it reaches the total query budget. (b) The information the selected query is guaranteed to yield, γt, by round, averaged over the runs still querying and pooled across models. A dashed line marks the last round with at least 200 runs of that strategy still querying, which is where the strategy has typically terminated. 95% CIs over five seeds.

出典 · CC BY 4.0 · Robin Shing Moon Chan, Ryan Cotterell · Interactive Program Induction with Language Model Priors · 論文の図を引用 · 元のPDFの9ページ目から図の部分を抽出しています。

CodeARCでの比較

CodeARCの全分割でAlg. 1をLM単独エージェントと比較しました。シード呼び出しが1個と10個の条件、問い合わせ予算30組、5つのシードの平均と95%信頼区間で測定しました。その結果、複数のモデルで精度が高まり、観測した例の数が減りました。著者らは、事前分布の較正が合っておらず、多数クラスが対象クラスである頻度が低いことが精度を制限していると見ています。

Table 1: Results across models and methods on the full anonymized CodeARC split. Entries are
means over 5 independent seeds with 95% confidence intervals over…

Table 1 : Results across models and methods on the full anonymized CodeARC split. Entries are means over 5 independent seeds with 95% confidence intervals over seeds. Avg I/O is the average number of input–output examples observed, including the seed invocations, out of a budget of30.

出典 · CC BY 4.0 · Robin Shing Moon Chan, Ryan Cotterell · Interactive Program Induction with Language Model Priors · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。

事前分布の較正と評価集合のサイズ

評価集合のサイズNを2から256まで変えたところ、Nが小さいと同値類が粗くなり、オラクルが拒否するプログラムが出ることがありました。Nが大きくなると、対象クラスに収束する実行は減りますが、収束したときの精度は高くなりました。また、すべてのモデルで、多数クラスが対象クラスである頻度が事前質量を下回っており、事前分布が初期段階で誤った確信を持ちます。

Figure 3: Calibration of the prior major-
ity class, with ECE in the legend. 95%
CIs over five seeds

Figure 3 : Calibration of the prior major- ity class, with ECE in the legend. 95% CIs over five seeds.

出典 · CC BY 4.0 · Robin Shing Moon Chan, Ryan Cotterell · Interactive Program Induction with Language Model Priors · 論文の図を引用 · 元のPDFの10ページ目から図の部分を抽出しています。

論文情報

著者
Robin Shing Moon Chan, Ryan Cotterell
学会・ジャーナル
arXiv · プレプリント
公開日
2026年11月13日
登録日
2026年11月16日
更新日
2026年11月13日
バージョン
v1
arXiv
2611.18485
カテゴリ
cs.CL · cs.AI · cs.LG
ライセンス
CC BY 4.0
掲載内容
論文情報・解説・論文の図

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

アブストラクト

Program induction refers to the process in which a learner aims to recover a program from a few given input-output examples. This paradigm broadens programming access by letting users demonstrate the rule-based behavior they want to apply to unseen data, instead of having to implement it themselves. However, recovering a program from finite input-output examples is fundamentally ambiguous, as a finite set of input-output examples is theoretically consistent with infinitely many programs whose output diverges on unseen inputs. We view this problem from a Bayesian perspective, where, given a prior $p^0$ over programs, identifying the target program means concentrating posterior probability mass on it by observing additional input-output examples. In the interactive program induction setting, the learner chooses maximally informative inputs and queries an oracle, such as the user, for their outputs. We derive a greedy query-selection algorithm and show that it terminates after $\mathcal{O}(\frac{1}γ\log 1/p^0(f^\star))$ informative oracle queries, and returns the target program $f^\star$ up to approximate equivalence when no other class outweighs it under the prior. The algorithm uses a language model as the prior under a PAC-style relaxation of program equivalence, where the query-selection objective is estimated using importance sampling. On the CodeARC benchmark, the algorithm improves accuracy over the LM only agent by up to 22 percentage points while observing up to 10.5 fewer input-output examples.

この論文を引用

Robin Shing Moon Chan, Ryan Cotterell (2026). Interactive Program Induction with Language Model Priors. arXiv:2611.18485v1. https://arxiv.org/abs/2611.18485v1

BibTeX
@misc{chan2026interactive,
  title = {{Interactive Program Induction with Language Model Priors}},
  author = {Robin Shing Moon Chan and Ryan Cotterell},
  year = {2026},
  eprint = {2611.18485},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.18485v1}
}

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

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

Googleアカウントを連携

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

Refivu

退会

Refivu
Refivu

新規登録