프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, 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쌍, 다섯 시드의 평균과 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
제공 범위
논문 정보, 해설, 허용된 원문 그림

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

회원가입