TensorX
返回文献探索

Paper · arXiv 2402.04858

CodeIt: Self-Improving Language Models with Prioritized Hindsight Replay

Natasha Butt, Blazej Manczak, Auke Wiggers, Corrado Rainone, David Zhang, Michaël Defferrard, Taco Cohen

15 upvotesFebruary 7, 2024arXiv 预印本
AI 摘要

A Code Iteration method for language models achieves state-of-the-art performance on the Abstraction and Reasoning Corpus by combining program sampling, hindsight relabeling, and prioritized experience replay.

programming-by-examplesCode Iterationprogram samplinghindsight relabelinglearning from prioritized experience replayextreme sparsity of rewardsprogram synthesisprioritized hindsight replaypre-trainingdata-augmentationinter-task generalizationneuro-symbolic approachAbstraction and Reasoning Corpus

Abstract

Large language models are increasingly solving tasks that are commonly believed to require human-level reasoning ability. However, these models still perform very poorly on benchmarks of general intelligence such as the Abstraction and Reasoning Corpus (ARC). In this paper, we approach ARC as a programming-by-examples problem, and introduce a novel and scalable method for language model self-improvement called Code Iteration (CodeIt). Our method iterates between 1) program sampling and hindsight relabeling, and 2) learning from prioritized experience replay. By relabeling the goal of an episode (i.e., the target program output given input) to the realized output produced by the sampled program, our method effectively deals with the extreme sparsity of rewards in program synthesis. Applying CodeIt to the ARC dataset, we demonstrate that prioritized hindsight replay, along with pre-training and data-augmentation, leads to successful inter-task generalization. CodeIt is the first neuro-symbolic approach that scales to the full ARC evaluation dataset. Our method solves 15% of ARC evaluation tasks, achieving state-of-the-art performance and outperforming existing neural and symbolic baselines.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
CodeIt: Self-Improving Language Models with Prioritized Hindsight Replay | TensorX