Skip to main content
QUICK REVIEW

[논문 리뷰] Learning Abstractions for Hierarchical Planning in Program-Synthesis Agents

Ahmed, Zergham, Kazuki Irie|arXiv (Cornell University)|2026. 01. 31.
AI-based Problem Solving and PlanningComputer Science인용 수 0
한 줄 요약

TheoryCoder-2는 in-context 학습을 통해 재사용 가능한 추상화를 자율적으로 학습하여, 다양한 환경에서 샘플 효율성 및 일반화가 향상된 계층적 계획을 가능하게 한다.

ABSTRACT

Humans learn abstractions and use them to plan efficiently to quickly generalize across tasks -- an ability that remains challenging for state-of-the-art large language model (LLM) agents and deep reinforcement learning (RL) systems. Inspired by the cognitive science of how people form abstractions and intuitive theories of their world knowledge, Theory-Based RL (TBRL) systems, such as TheoryCoder, exhibit strong generalization through effective use of abstractions. However, they heavily rely on human-provided abstractions and sidestep the abstraction-learning problem. We introduce TheoryCoder-2, a new TBRL agent that leverages LLMs' in-context learning ability to actively learn reusable abstractions rather than relying on hand-specified ones, by synthesizing abstractions from experience and integrating them into a hierarchical planning process. We conduct experiments on diverse environments, including BabyAI, Minihack and VGDL games like Sokoban. We find that TheoryCoder-2 is significantly more sample-efficient than baseline LLM agents augmented with classical planning domain construction, reasoning-based planning, and prior program-synthesis agents such as WorldCoder. TheoryCoder-2 is able to solve complex tasks that the baselines fail, while only requiring minimal human prompts, unlike prior TBRL systems.

연구 동기 및 목표

  • 인간 유사한 추상화 학습의 필요성을 제시하여 AI 에이전트의 계획 효율성과 일반화를 개선한다.
  • Theory-Based RL 에이전트(TheoryCoder-2)를 개발하여 고수준 추상화(PDDL 연산자)를 자율적으로 합성하고 저수준 세계 모델로 이를 지면화한다.
  • 커리큘럼 주도 학습을 통해 다중 환경 간 학습된 추상화를 재사용 가능하게 한다.
  • LLM 보조 계획 및 WorldCoder를 포함한 베이스라인 대비 샘플 효율성과 작업 성공률의 향상을 Demonstrate 한다.

제안 방법

  • LLM in-context 학습과 함께 TheoryCoder를 확장하여 고수준 추상화를 자동으로 합성한다.
  • 계층적 플래너(Fast Downward)를 위한 PDDL 도메인 및 문제 파일로 추상화를 표현하고 이를 Python 기반 세계 모델로 지면화한다.
  • 상위 수준 플래너가 추상 연산자를 선택하고 하위 수준 플래너가 학습된 전이 함수로 구체화된 행동 시퀀스를 실행하는 이중 계층 계획 루프를 사용한다.
  • 환경 데이터에서 학습된 Python predicate 분류기를 통해 술어 의미를 지면화한다.
  • prediction errors 및 계획 결과로 LLM에 프롬팅하여 세계 모델과 추상화를 반복적으로 개선한다.
  • 비슷한 환경을 그룹화하고 학습된 연산자와 술어의 재사용을 촉진하는 에피소드형 커리큘럼을 통해 추상화를 확장한다.
Figure 1 : Comparison of agent–environment interaction between methods. WorldCoder and LLM + P both fall under the LLM + Planner category.
Figure 1 : Comparison of agent–environment interaction between methods. WorldCoder and LLM + P both fall under the LLM + Planner category.

실험 결과

연구 질문

  • RQ1TheoryCoder-2가 서로 다른 환경 간에 전달되는 추상 상태와 행동을 자율적으로 학습할 수 있는가?
  • RQ2학습된 추상화를 재사용하면 새로운 작업의 샘플 효율성이 향상되는가?
  • RQ3다양한 도메인(VGDL, BabyAI, Minihack)에서 토큰 비용, 계산 시간, 해결 비율 면에서 TheoryCoder-2가 베이스라인과 어떻게 비교되는가?

주요 결과

  • TheoryCoder-2는 core 추상화(예: move_to)를 학습하고 이를 Labyrinth, Maze, Sokoban 전반에 재사용한다.
  • TheoryCoder-2가 학습한 추상화는 더 어려운 작업(BabyAI Boss 등)으로 전달되어 베이스라인이 해결하기 어려운 문제를 해결하게 한다.
  • TheoryCoder-2는 샘플 효율성이 높고, LLM 기반 베이스라인 및 WorldCoder에 비해 경쟁력 있거나 우수한 해결 비율을 보이며 토큰 비용이 낮고 계획 속도가 빠르다.
  • TheoryCoder-2가 학습한 추상화는 성능 면에서 수동 설계된 Oracle 추상화의 품질에 근접한다.
  • Curriculum 기반 학습과 지면화된 코드 기반 추상화가 프롬프트 기반 추상화보다 빠른 합성 및 계획에 기여한다.
  • Minihack에서 zero-shot 전달이 관찰되어 학습된 move_to 추상화가 이후 작업의 빠른 해결을 가능하게 한다.
Figure 2 : An illustration of the curriculum used in our experiments. A curriculum is a sequence of episodes in which each episode contains one or more environments/games. The sequence of the first episode (Labyrinth) and the second one (Maze, and Sokoban) is studied in Experiment 1 (Sec. 4.1 ), whi
Figure 2 : An illustration of the curriculum used in our experiments. A curriculum is a sequence of episodes in which each episode contains one or more environments/games. The sequence of the first episode (Labyrinth) and the second one (Maze, and Sokoban) is studied in Experiment 1 (Sec. 4.1 ), whi

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.