[논문 리뷰] Hypothesis Search: Inductive Reasoning with Language Models
이 논문은 두 단계의 가설 주도 파이프라인을 제안한다. LLM을 통해 기본 규칙에 대한 자연어 가설을 생성하고, 이를 Python 프로그램으로 구현하여 귀납적 추론 task를 해결하며, 비용 관리를 위해 요약이나 사람의 선택으로 필터링한다.
Inductive reasoning is a core problem-solving capacity: humans can identify underlying principles from a few examples, which robustly generalize to novel scenarios. Recent work evaluates large language models (LLMs) on inductive reasoning tasks by directly prompting them yielding "in context learning." This works well for straightforward inductive tasks but performs poorly on complex tasks such as the Abstraction and Reasoning Corpus (ARC). In this work, we propose to improve the inductive reasoning ability of LLMs by generating explicit hypotheses at multiple levels of abstraction: we prompt the LLM to propose multiple abstract hypotheses about the problem, in natural language, then implement the natural language hypotheses as concrete Python programs. These programs can be verified by running on observed examples and generalized to novel inputs. To reduce the hypothesis search space, we explore steps to filter the set of hypotheses to implement: we either ask the LLM to summarize them into a smaller set of hypotheses or ask human annotators to select a subset. We verify our pipeline's effectiveness on the ARC visual inductive reasoning benchmark, its variant 1D-ARC, string transformation dataset SyGuS, and list transformation dataset List Functions. On a random 100-problem subset of ARC, our automated pipeline using LLM summaries achieves 30% accuracy, outperforming the direct prompting baseline (accuracy of 17%). With the minimal human input of selecting from LLM-generated candidates, performance is boosted to 33%. Our ablations show that both abstract hypothesis generation and concrete program representations benefit LLMs on inductive reasoning tasks.
연구 동기 및 목표
- 귀납적 추론을 핵심 문제로 삼고, 복잡한 작업에 대한 맥락 안 학습의 한계를 식별한다.
- 자연어 가설에 이어 프로그래밍 구현으로 이어지는 두 단계 가설 파이프라인을 소개한다.
- 생성 비용 관리를 위한 가설 축소 전략(LLM 요약 및 인간 선택)을 탐구한다.
- ARC, 1D-ARC, 및 SyGuS에서 접근법을 평가하여 일반화 및 확장성을 평가한다.
제안 방법
- 변환 규칙에 대한 다수의 자연어 가설을 생성하도록 LLM(GPT-4)을 프롬프트한다.
- 프로그램 생성 비용을 제한하기 위해 LLM 요약 또는 인간 주석을 통한 가설의 수를 줄인다.
- 가설당 여러 개의 Python 프로그램을 생성하고 훈련 예제에서 실행하여 정확성을 검증한다.
- 실패 사례를 프롬프트에 추가하는 피드백 반복을 적용하여 프로그램 생성을 정제한다.
- 추상화 및 프로그램 표현의 가치를 정량화하기 위해 직접 프롬프트 대 baseline 및 제거 실험과 비교한다.
실험 결과
연구 질문
- RQ1명시적 자연어 가설과 그것의 프로그램 구현이 ARC 유사 작업에서 직접 프롬프트를 사용하는 것 이상의 귀납적 추론 향상을 가져올 수 있는가?
- RQ2추상적(자연어) 표현과 구체적(프로그램적) 표현이 LLM을 이용한 귀납적 추론의 성능에 어떻게 기여하는가?
- RQ3가설 필터링(요약 또는 인간 선택)이 전체 정확도와 비용에 미치는 영향은 무엇인가?
- RQ4결과가 ARC, 1D-ARC 및 SyGuS 데이터셋에서 일반화되는가?
주요 결과
- ARC(무작위 40태스크 부분집합)에서 직접 프롬프트는 12.5% 정확도이고, 요약된 가설을 사용한 파이프라인은 27.5%를 달성한다.
- 인간이 선택한 가설로 정확도는 37.5%로 상승하며, 인간이 작성한 가설을 사용할 때의 성능과 일치하여 LLM이 유용한 가설과 구현을 생성하는 강한 능력을 시사한다.
- 오로지 프로그램만 사용한 제거 실험은 17.5% 정확도를 보이며, 순수한 프로그램 생성을 넘는 가설 가이드의 가치를 보여준다.
- 1D-ARC에서 전체 파이프라인은 77.8%의 정확도에 도달하여 직접 프롬프트(38.8%)보다 현저히 높다; 프로그램만도 향상되어 58.3%이다.
- SyGuS(89 태스크)에서 GPT-4는 가설 없이 8개 프로그램과 두 번의 피드백 라운드로 94.3%를 달성하고, 가설 가이드가 있으면 93.2%로 관찰되어 도메인 특화 DSL인 CrossBeam의 74.8%에도 여전히 경쟁력이 있다.
- 절삭 실험에서 가설 생성과 실행 가능한 표현 모두가 향상된 귀납적 추론에 기여함을 보여준다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.