CodeIt: Self-Improving Language Models with Prioritized Hindsight Replay
Paper · 2024 · Natasha Butt, Blazej Manczak, Auke Wiggers et al.
Summary
An Abstraction and Reasoning Corpus (ARC) puzzle shows a few pairs of colored grids. Each pair illustrates the same hidden transformation. The challenge is to infer that transformation and apply it to a new grid. Code Iteration, or CodeIt, treats each puzzle as a search for a program that performs the transformation. That makes a candidate easy to check on the examples, but it creates a learning problem. Early in the search, a correct program is so rare that keeping only successful attempts yields little new training material.
CodeIt starts with CodeT5+, a 220 million parameter language model pretrained on programming tasks. It learns to write in Michael Hodel’s domain-specific language for grid transformations, using hand-written solutions from the ARC training split and additional programs made by mutating those solutions. To describe a grid compactly, the authors group cell coordinates by color. During search, CodeIt reads these descriptions and proposes programs. An interpreter runs each usable proposal on the demonstration inputs and records what it actually produces. A program that misses the target can still teach a useful lesson. The authors pair it with the outputs it produced, so it becomes an example of how to accomplish a different transformation. They call this hindsight relabeling.
The system alternates between making these attempts and learning from a replay buffer that stores them. Programs that match more of the original demonstrations are sampled more often for training. This priority helps the system retain useful behavior as the buffer fills with synthetic examples. CodeIt can learn across puzzles during search because the same program generator is updated with experiences from many tasks. It uses the demonstrations for these updates and reserves the test answers for scoring.
CodeIt solves 59 of 400 tasks on the standard ARC evaluation split, outperforming the symbolic and neural baselines in the paper’s comparison. The authors also compare against a GPT-4 approach under a separate protocol that counts individual test grids and allows a single answer. Their ablations attribute a 40% improvement in performance to adding hindsight relabeling and show that replay priority matters especially for what the current generator can solve. In an analysis restricted to tasks for which a run found programs that fit all demonstrations and test examples, later attempts yielded a shorter solution for 53% of the tasks. The authors release their implementation under the name codeit.
Deep dive: CodeIt: Self-Improving Language Models with Prioritized Hindsight Replay
CodeIt learns from the grids its attempted programs actually produce and uses that experience to solve more ARC puzzles by example. · about 35 minutes to read
The problem and its context
From a few examples to a rule
In an ARC puzzle, the demonstration outputs tell the solver what happened to particular grids. They leave the operation itself to be inferred. A grid might be reflected, for instance, or its foreground objects might be identified and modified. The test input asks the solver to carry the inferred operation over to a different arrangement. A successful answer therefore requires decisions about what matters in the examples. The coordinates of a shape might change from grid to grid while its relationship to another shape remains relevant.
ARC was designed around basic knowledge about objects, actions, number, and space. The authors illustrate how these can work together. Cells of a shared color can form an object through spatial adjacency. A rule can then involve how objects move in relation to one another. Even though the input consists of color values at positions, the solver can reason about a group of cells as a unit. The paper treats such abstractions as a way to reuse knowledge across transformations whose grids may look quite different.
The benchmark also distinguishes few-shot learning within a puzzle from learning across puzzles. Within a puzzle, the solver sees a handful of demonstrations and must apply what it infers to the test input. Across puzzles, it can benefit from previous encounters with operations such as identifying foreground objects or reflecting a grid. Those abilities can recur in tasks that ask for different overall transformations. CodeIt asks whether absorbing experience across tasks makes the search for each new transformation more productive.
The authors frame the challenge in terms of skill acquisition. ARC aims to limit how much a solver can gain from remembering facts about the world. The challenge instead lies in working from a small amount of evidence and a set of useful prior concepts. This leaves an important role for prior knowledge. A solver with a built-in operation for finding objects has a different starting point from one that must discover how to group cells using lower-level operations. The paper studies what a solver can learn from experience after those starting conditions have been specified.
Why use a program?
The paper distinguishes approaches that predict output grids directly from approaches that first propose a symbolic description. A direct predictor reads the demonstrations and the test input and produces a grid. In CodeIt, the prediction is a program. Executing that program on a grid produces the output. The same candidate can run on every demonstration input, which gives the solver a concrete way to see how much of the observed transformation the program explains. The program can then be applied to a test input whose answer is hidden.
A domain-specific language, or DSL, supplies operations geared to the problem. A program can refer to an object or ask for a reflection using operations whose implementation already handles the necessary cell manipulations. This is how the paper puts some of ARC’s intended prior knowledge into a symbolic system. The choice of operations also shapes the search. An operation that exists as a primitive can appear in a short program. Other behaviors may need longer compositions, and some may be beyond the language’s practical reach.
The authors describe earlier symbolic systems that designed their own languages and searched for a program independently for each task. They also discuss earlier projects that investigated more specialized subsets of ARC. These included logical programs over graphs, a neural approach restricted to small grids, and a combination of learned guidance and execution-guided synthesis. Other research collected human feedback for a subset of tasks. Full-split coverage matters to the authors because a result on puzzles selected by grid size or by the feasibility of the search answers a different question from performance over the full evaluation split.
Earlier neural work showed that a pretrained predictor could sometimes continue the pattern implied by multiple grid examples. Some systems used tokenization designed for the grid data. Another approach generated and reconsidered hypotheses across multiple rounds, although the CodeIt paper describes the cost of querying the predictor as a constraint on the scale of that study. The distinction CodeIt emphasizes is whether solving puzzles changes how the system approaches other puzzles. A capable predictor or a carefully designed DSL can help on every puzzle while remaining fixed throughout evaluation. CodeIt adds a source of improvement during the search itself. Large Language Models as General Pattern Machines, Large Language Models Are Not Strong Abstract Reasoners
Why success alone gives so little feedback
CodeIt draws on Expert Iteration, a family of methods that alternate between collecting experience and learning to imitate useful decisions found during that collection. An expert can be a search procedure that spends substantial computation making a decision. A learned policy then tries to reproduce that decision more readily. Recent self-training approaches cited in the paper instead use the policy itself to generate candidates, select high-reward attempts, and train on the resulting material. This makes data collection depend on what the policy already knows how to produce. Reinforced Self-Training (ReST) for Language Modeling
The authors describe successful uses of self-generated practice for problems specified in natural language and for problems specified by code. ARC exposes a difficulty for the same recipe. Its grid examples and specialized language are unfamiliar to the initial policy. A candidate can be well formed and produce coherent outputs while missing the specific relationship shown in a puzzle. If the policy learns only from candidates that reproduce every demonstration output, it can spend much of its sampling budget before adding anything to its training set. Beyond Human Data, Language Models Can Teach Themselves to Program Better
The search problem is particularly clear when several operations must work together. A candidate might correctly identify the relevant objects and then transform them in the wrong direction. A binary rule for retaining exact solutions throws away the experience along with the incorrect answer. The program still has verifiable behavior, because the interpreter can show what it did to each input. Hindsight relabeling uses that behavior as supervision. In the revised exercise, the outputs are the results of the attempted program, and the program is an exact solution to that exercise.
According to the paper, earlier Expert Iteration work had already paired hindsight relabeling with program synthesis or theorem proving. CodeIt uses the same broad insight and adds a way to keep the stream of generated experience related to the actual puzzles. A buffer filled with executable programs could be rich in syntactic practice while rarely revisiting the transformations that matter for ARC. The authors therefore separate the rule for admitting an experience from the rule for how often to study it. The interpreter establishes which attempted programs supply usable examples, and agreement with the original demonstrations governs replay priority.
DreamCoder is the closest comparison in the paper’s account of earlier research. It also learns across programming-by-example tasks. Its search is computationally intensive, and it extends its language with reusable abstractions. CodeIt samples proposals from its policy and encodes experience in the policy’s weights while keeping the DSL fixed. The difference matters for interpreting what CodeIt acquires. It can become better at writing a useful composition even when the language contains exactly the same named operations. The paper also contrasts this multiple-task setting with work on discovering a fast sorting algorithm, where improving the solution to a particular problem is the main goal. DreamCoder, Faster Sorting Algorithms Discovered Using Deep Reinforcement Learning
The method, step by step
What the policy sees and writes
CodeIt begins with demonstrations and a language that can express transformations. The policy reads a textual description of the demonstration inputs and outputs. It writes a program in Hodel’s DSL, and the interpreter applies the program to the grids. The policy proposes the instructions. The interpreter determines their consequences. This division makes it possible to measure the fit with each demonstration by comparing the computed grid with the supplied one.
The DSL includes operations for geometric changes such as rotation, mirroring, resizing, and concatenation. It can also extract regions, fill cells, and count properties such as how many colors occur in an object. The object operations embody assumptions about which cells should be treated as foreground. For example, an object extraction operation can use the most common color as the background and return groups that stand out from it. These operations let programs describe meaningful changes without reconstructing the underlying grid manipulations at every step.
Hodel designed the language from the ARC training split and supplied solution programs for that split. The authors make this provenance explicit because a designer could otherwise inspect the evaluation puzzles and build their insights directly into the available operations. Restricting the design to the training split makes the evaluation a test of what the search can do with the given vocabulary. It also creates a genuine expressiveness question for evaluation puzzles whose transformations differ from those anticipated by the designer.
The policy is the 220 million parameter version of CodeT5+. The encoder reads the demonstrations. The decoder writes the program a token at a time, conditioning later tokens on the earlier ones it generated as well as on the encoded grid examples. In this context a policy is a probability distribution over candidate programs for a task. Asking it to sample lets the search explore several candidates for the same demonstrations, including candidates the decoder would pass over if it always selected the most probable next token.
A raw grid representation lists a value for every cell. CodeIt groups cells by color and describes them by their positions. The paper writes a location as follows.
[x, y]
Here x and y are the coordinates identifying a cell in a grid. The square brackets group the coordinate pair, and the comma separates the coordinates. Colors have integer labels. The organization makes sparse grids economical to describe because the representation can give prominence to the cells that depart from the background. The authors’ analysis on the ARC training data shows that the sparse format generally uses fewer tokens, with a particularly visible advantage for larger grids. It is related to earlier work emphasizing object-based representations for ARC. LLMs and the Abstraction and Reasoning Corpus
Color grouping and identifying objects are distinct operations. A list of coordinates of one color can contain disconnected regions. The program can still use a DSL operation to decide how to group them. The text encoding helps place related evidence together and fit more of the grid information in the encoder. The actual choice to treat a region as an object, and the choice of what to do with it, belong to the inferred program.
The authors keep CodeT5+’s default tokenizer. They order demonstrations by grid size and divide the encoder’s context window equally between input and output text. They tokenize each side and truncate it to its allotted space. The output sequence also carries an end marker. The reported encoder window is 1024 tokens. Long grid descriptions can consequently lose information even when the sparse representation is more compact than a raw array. Program text has a separate length limit imposed by the decoder’s context window.
Seed the first search with executable examples
The policy first learns from training tasks paired with Hodel’s solutions. This initial fine-tuning connects the pretrained programming ability to the syntax of the DSL and to the way CodeIt describes grids. The authors expand the dataset by mutating training programs. An edited program can perform a different transformation on the same inputs. Its executions supply outputs that describe the new task, and the edited program is the example solution.
The mutation procedure selects a line and changes part of its computation. One kind of edit replaces a function call using a function with a similar output type. Another changes an argument. A further kind replaces the function while keeping its input variables. The types matter because a line’s result can be used by later operations. A change that preserves the relevant type has a better chance of leaving the surrounding computation usable. Type compatibility alone cannot establish that the revised program expresses an interesting transformation. Execution supplies the actual behavior.
The paper sets the mutation parameters for the three choices as follows.
φᵥₐᵣ = 0.25, φₐᵣ𝓰 = 0.5, φ𝒻ᵤₙ𝒸 = 0.25
The symbol φ denotes a mutation-choice parameter. Its var, arg, and func subscripts distinguish the edit choices in the procedure. The values on the right are the authors’ settings for those choices. The training augmentation comes from the mutation procedure that edits original training programs. Variants used as search baselines differ in whether they can also edit programs produced by earlier mutations.
In the full ARC experiment, initialization starts from 400 training tasks and their programs. The procedure samples 19,200 mutations for additional training data and retains syntactically valid programs for the augmented set. The supervised examples give the policy practice before it starts supplying its own proposals. This helps the search begin from a distribution that can already produce executable DSL code and read the unfamiliar grid format. The later no-mutation ablation tests how much the expanded starting set matters once the iterative procedure begins.
How CodeIt turns program attempts into training examples
The steps in order.
Sample against the original goal
The authors call the collection of puzzles on which CodeIt is looking for solutions the search set. For a task in this set, the policy is conditioned on the original demonstrations. The following expression describes a proposal.
ρ ∼ Qθ(ρ | I, O*)
Here ρ is a candidate program. The symbol ∼ means the program is drawn from the indicated distribution. Qθ is the policy and θ denotes its trainable parameters. The vertical bar marks conditioning on I, the collection of demonstration inputs, and O*, the collection of original demonstration target outputs. The asterisk distinguishes the targets supplied by the task from the grids later produced by a candidate. The ρ inside the parentheses is the program whose conditional probability the policy assigns.
The policy samples up to 24 candidates per task in a sampling stage. The paper calls this upper limit nρ. It uses a sampling temperature of 0.95 to encourage varied proposals. Temperature changes how concentrated the token-choice probabilities are during generation. The aim is to explore different programs so that subsequent training has a range of program behaviors to learn from. The policy receives the original demonstration targets whenever it proposes programs for the search task, regardless of which generated exercises it studied during the previous learning stage.
CodeIt then checks whether the proposed program is usable. A syntactically incorrect program is discarded, as is a program that runs for more than 0.25 seconds per program line. A candidate that passes execution supplies an output for each demonstration input. Its behavior can be summarized as follows.
O = ρ(I)
I again denotes the demonstration inputs. ρ(I) means applying the candidate ρ separately to the grids in I. O is the resulting collection of outputs. The equality describes what execution produced. A separate comparison with O* measures whether the program achieves the original goal.
At this point the roles of the two kinds of output diverge. The original demonstration targets continue to define the puzzle. The realized outputs define what the program actually accomplished. Suppose a task’s demonstrations call for a reflection along one axis and the sampled program reflects along the other. The candidate can produce a valid grid and fail the demonstrations. Those same executions nevertheless show what the alternate reflection does to the supplied inputs. For learning, the buffer can pair those inputs and observed outputs with the program implementing that reflection.
Relabel the experience, then decide how often to replay it
The stored experience contains the candidate program, the demonstration inputs, and its realized outputs. Hindsight relabeling is the substitution of realized outputs for original targets in that training record. The result is a supervised example with a verifiable relationship between the program and the input–output pairs. A program that happens to match the original demonstrations also supplies an example under this rule. In that case the realized outputs and the original targets coincide.
This distinction keeps an unsuccessful proposal from becoming a mislabeled positive example of the original puzzle. What the system learns to reproduce is the program appropriate to the stored input–output mapping. Its value for the original search is indirect. The program can illustrate the use of an operation, the order in which instructions fit together, or a more common pattern that may recur in a later task. The interpreter verifies the mapping used for learning. Whether learning it helps on ARC is an empirical question.
CodeIt assigns higher priority to experiences that agree with more of the puzzle’s original demonstration outputs. That comparison is still available after relabeling because the solver knows the original target grids for the demonstrations. Priority is based on the percentage of matches. This lets a near match carry information about its relevance to the search, while the actual supervised target remains the mapping the program executed. The criterion supplied by the paper is demonstration agreement. It does not involve the eventual test result or explicitly reward shorter code.
Training uses examples from the original training set, the mutation-augmented training set, and the replay buffer. In a main learning stage, the procedure draws 10,000 examples from the original and augmented sets together and 90,000 from the buffer according to the replay priorities. The selected material is used for 1 epoch. Mixing these sources keeps original training material in circulation as the population of generated experiences changes.
The objective treats the stored program as the answer to be predicted from its examples.
ℒ(ρ, I, O) = −log Qθ(ρ | I, O)
ℒ is the loss for a training record. ρ is its target program, I its input grids, and O its output grids. For replayed attempts, O is the outcome of execution. Qθ is the conditional probability of the target program under the current parameters θ. The vertical bar separates the target program from the grids used to condition its prediction. log takes the logarithm of that probability, and the minus sign makes assigning a higher probability to the observed program reduce the loss. This is negative log-likelihood. Ordinary supervised updates can therefore use the experience without a separate optimizer for the reward obtained during search.
A sampling stage followed by a learning stage is a meta-iteration. CodeIt keeps updating the same policy, so the programs proposed in the next round reflect what it learned from the earlier round. The replay buffer preserves a record of past executions while the policy’s ability to reproduce or adapt their programs can change. Keeping old programs available and retaining the ability to write useful programs afresh are distinct properties. The ablations measure both.
The test examples remain outside this cycle. For evaluation tasks, CodeIt can see their demonstration pairs, can generate experiences from those pairs, and can learn across the resulting tasks. The test output grids are hidden during sampling and learning. At scoring time, the selected programs run on the test inputs. Evaluation then compares their outputs with the withheld grids.
Experiments and results
The splits and what counts as solving a puzzle
The authors tune the procedure using a split made from the ARC training data. ARC provides no separate validation split, so they partition the training problems by the lengths of their known solution programs. For each length group, 80% goes toward the training portion. This gives them 311 training examples and 89 validation examples. The validation tasks form the search set for tuning. Program length is a practical way to spread short and long examples across the split, although it is a property of the supplied solutions rather than a direct measurement of puzzle difficulty.
Once the settings are chosen, initialization uses the full set of 400 ARC training tasks and their solutions. The search set then consists of the 400 ARC evaluation tasks. The authors report the final result after 100 meta-iterations. They also track performance against the number of programs sampled so that progress during the search is visible. The curves for CodeIt and its custom baselines summarize three runs. The resource statement gives a maximum of 120 hours on an NVIDIA A100 80GB for the reported experiments, with a longer large-backbone trial discussed separately in the scaling analysis.
In the standard ARC Eval protocol, each task counts as one unit. Some tasks have more than one test input. CodeIt ranks candidate programs by the percentage of demonstrations they solve, with shorter programs preferred when scores tie. It then tries the top three candidates. A task passes if a single selected program produces the correct grids for all its test inputs. This is the paper’s pass@3 result. With several test grids, correct outputs from different programs cannot be pooled into one success under this rule.
The ranking and scoring use different evidence. Demonstration agreement and program length can be consulted when deciding which programs to submit. Correctness on the hidden outputs can be determined at evaluation. Ranking by agreement favors a candidate that accounts for more of the visible evidence, while the length tie-break expresses the authors’ preference for a simpler candidate when the demonstration scores are the same. A short exact fit can still pick the wrong rule if the demonstrations leave several interpretations open.
The alternative protocol, ARC Eval 412, makes each test case its own evaluation item. It also uses pass@1, so only the leading candidate is evaluated for each item. The different unit changes how tasks with several test examples contribute to the total. The smaller number of allowed attempts changes how much the final ranking matters. The authors include this version for comparison with the GPT-4 study. Its count belongs on a separate scale from the standard task-level pass@3 figures. Large Language Models Are Not Strong Abstract Reasoners
The paper also distinguishes cumulative performance from current policy performance. For cumulative performance, programs retained in the buffer or the augmented training set can be candidates. This measures what the search has acquired and kept available. Policy performance draws candidates only from the policy’s current round of generation. It measures what can now be generated without relying on an earlier proposal still being in storage. The distinction is especially important when reading the ablations, since an archived program can continue to count even after the policy becomes less likely to produce a useful candidate for that puzzle.
What the baselines test
The custom random baseline assembles programs line by line. It first chooses a primitive and then chooses arguments compatible with that primitive’s input types. When it creates a grid-valued variable, it ends the program with probability 0.8. The baseline uses information about the language’s structure and types. Its proposals are generated without learning from execution or reading the demonstrations to decide what operation to try next.
The mutation baselines begin with Hodel’s training programs. The variant called d₁ mutates only these original solutions. The variant called d∞ also allows previously generated programs to become material for further mutations. The subscripts distinguish the restriction to edits of original solutions from the variant with no such depth restriction. These baselines ask how far the search can go by making localized changes to working code.
The custom baselines share a sampling budget with the policy comparison. The paper writes it as follows.
nₘ = nᵨ · nₜₐₛₖₛ
nₘ is the number of proposals sampled by a custom baseline in a meta-iteration. nᵨ is the desired proposal count per task for that round, and nₜₐₛₖₛ is the number of tasks in the search population. The dot means multiplication. These are counts of proposals before filtering for syntactic correctness. The symbolic baselines also get to try each sampled program on all the search-set inputs. By contrast, the learned policy makes a proposal in response to a particular task’s demonstrations.
The budget makes a comparison by proposal count possible. How candidates are used still differs. Exhaustive checking gives a mutation an opportunity to fit a task other than the one from which its original program came. CodeIt directs proposals using the grid examples and learns from executing them. A curve plotted against the number of sampled programs tracks search progress under these respective procedures. It cannot by itself say which method consumes less total compute, since generation, checking, and training have different costs.
The literature baselines include symbolic methods that search over a hand-designed DSL and neural methods that try to predict the output grid from examples. The authors restrict their headline comparisons to methods with scores on a full evaluation split. An approach tested on a selected subset or a competition’s hidden test set may be valuable in its own setting. Its reported score answers a different evaluation question.
Results on the full evaluation split
CodeIt solves 59 of 400 evaluation tasks under the standard protocol. The abstract describes this as 15% of the evaluation tasks. Among the literature reference points, the symbolic brute-force search solves 36 of 400, and the direct neural approach of Mirchandani and colleagues solves 27 of 400. These are the paper’s reported full-split counts. The authors note differences in evaluation procedures for the neural comparisons, so the shared denominator establishes coverage more clearly than it establishes identical treatment of each prediction.
Tasks solved on the standard ARC evaluation split
CodeIt solves more tasks than either of the reported full-split baselines shown.
The numbers
| System or setting | tasks solved |
|---|---|
| Mirchandani et al. neural approach | 27 |
| Symbolic brute-force search | 36 |
| CodeIt (this paper) | 59 |
The GPT-4 result cited from Gendron and colleagues is 49 of 412 evaluation items using the single-answer protocol. The introduction characterizes that result as 12%. The authors report that CodeIt also outperforms the neural baselines when making their comparisons, and they include a CodeIt pass@1 entry for ARC Eval 412 in the main results table. The headline 59 of 400 and the GPT-4 count each retain their own evaluation conditions. The paper separately cites 80% human success on a random subset of ARC tasks. That human result supplies context about the difficulty of the benchmark under a different study design.
The learning curves show different search behavior for CodeIt and the mutation baselines. Mutation gets an early increase and then levels off. CodeIt initially depends heavily on what can already be found in the augmented training set. After several rounds it starts generating solutions outside that set, and cumulative performance rises more quickly. This progression supports the authors’ account that training on self-generated experience changes the proposals available to the search. A mutation generator can try more edits of a useful program. A conditioned policy can come to propose a useful sequence of operations when it sees a different puzzle.
The qualitative comparison uses the evaluation task 48f8583b as an example of a program CodeIt discovered. More generally, the authors compare which tasks the best CodeIt run’s policy and the d₁ mutation baseline solve. They report 29 tasks solved by both, 23 solved only by CodeIt, and 13 solved only by mutation. The CodeIt policy solves 52/400 in this analysis. This is a result for the policy in the particular program comparison, while the main 59 of 400 result belongs to the headline evaluation. The overlap also shows that learning changes where the search succeeds. The mutation baseline still reaches some solutions that the learned policy misses.
Which kinds of transformations benefit
The authors use ConceptARC to examine performance by kind of task. It retains the demonstration-to-test grid transformation setting and groups tasks under 16 concepts. The paper describes it as easier than ARC. Its evaluation counts individual test cases, so the comparison concerns test-case accuracy across groups rather than the standard ARC rule that one program must solve all test examples for a task.
For this study the authors mostly retain the original settings and rescale a sampling parameter, reported as nₚ, to 60 in proportion to the evaluation set size. They use the checkpoint at 100 meta-iterations and run pass@3 decoding with temperature 0 for greedy selection and temperature 1 for sampling. The comparison includes GPT-4 in a zero-shot setting and a GPT approach given few-shot examples and a refinement procedure. The paper reports the results by concept for the decoding settings.
CodeIt does well relative to the GPT comparisons on extension to boundaries, object extraction, the distinction between filled and unfilled regions, and judgments of sameness or difference. It performs substantially worse on ordering, cleanup, and counting. The authors connect this pattern to stronger performance on object interactions and weaker performance on numerical or logical transformations. The DSL contains counting and ordering functions, so the pattern points to a gap between having those operations available and learning when and how to compose them from demonstrations.
What the ablations show
Learning from a search guided by the policy
The first ablation, A1, removes feedback from the policy to the source of its future training examples. The system still receives new experience and still learns. Its buffer, however, is populated with programs from the d₁ mutation baseline. Each program is assigned a random search task, executed on its demonstration inputs, and relabeled using the outputs it produces. The configuration draws 100,000 learning experiences per round from the combined original, augmented, and replay data.
This experiment distinguishes learning on mutation data from using the learner to generate new proposals. A1 improves on the mutation baseline, showing that training on these experiences can transfer some useful behavior between tasks. Its cumulative result remains substantially below full CodeIt. Together the comparisons support a role for learned feedback. Mutation can supply executable examples, and supervised learning can exploit them, but the task-conditioned policy becomes a better source of examples as the search proceeds. The authors change the way the learning sources are pooled in A1 as well, so the size of the gap belongs to the tested configuration.
A2 keeps generation by the policy and removes hindsight relabeling. Only candidates that solve all the demonstrations enter the buffer. The ablation trains on the buffer without prioritized sampling. The most useful contrast is therefore between a procedure that collects only exact demonstration fits and CodeIt’s broader collection and replay procedure. Every record admitted by A2 has met the same strict demonstration criterion. In full CodeIt, retained records can express many different transformations and vary in their relevance to the original targets.
Performance in A2 rises at first, then flattens after around 30 meta-iterations. The paper attributes a 40% improvement in ARC performance to hindsight relabeling in its concluding account of this comparison. The trajectory helps explain the sample-efficiency claim. The filtering procedure can improve while enough exact solutions are available, but further sampling need not yield enough successful programs to keep expanding the evidence for training. With relabeling, each usable execution can contribute a supervised exercise. The effect measured here concerns the uses of those samples in the ARC pipeline. It leaves open how much benefit would carry over to a task where the programs’ attainable outputs bear little relation to the intended goals.
The authors interpret the sequence of relabeled exercises as an implicit curriculum. Early proposals tend to provide simpler programs whose behavior can be expressed in a small number of lines. Later, as the policy gets better, more complex proposals become available for reuse. The interpreter gives each proposal an appropriate target after it runs. The paper presents this mechanism as an explanation for why the system can start learning before it regularly solves full puzzles. It does not rely on separately supplying a schedule of increasingly hard ARC tasks.
Why prioritizing replay helps the current policy
A3 samples replay experiences uniformly. The buffer can still accumulate relabeled exercises. The change concerns which records the learner revisits. Cumulative performance falls only a little, whereas current policy performance falls much more. A search that keeps an earlier program can rely on it in spite of subsequent updates. A fresh batch of generations reveals whether those updates have left the policy able to produce useful programs once again.
The authors interpret this divergence as evidence of catastrophic forgetting, the loss of previously acquired behavior as training moves to new material. Uniform replay exposes the policy to the evolving assortment of programs in the buffer. Many will be correct solutions to their relabeled exercises and far from what the original demonstrations require. Giving more replay weight to close matches increases the chance that the learner continues to encounter behaviors already shown to matter for real tasks. The ablation’s strongest evidence concerns retention under this evolving mixture, as measured by current-round program generation.
A cumulative curve can hide this loss because finding a useful program once may be enough to keep it available for later scoring. For a solver that is supposed to carry experience to another task, the distinction is consequential. Its next proposal depends on the current weights and the new demonstrations. Keeping an old answer in a buffer and learning behavior that changes the distribution of new answers are related benefits, and A3 shows that the replay rule can affect them to quite different degrees.
What the system gets from its starting point
A4 initializes the policy with random weights instead of keeping CodeT5+’s pretrained weights. Learning proceeds much more slowly, and the cumulative curve starts increasing only after around 50 meta-iterations. The system does eventually begin to improve. This is evidence that the iterative procedure can make progress from random policy weights given its remaining support, including the DSL and task–program supervision. The experiment isolates the usefulness of pretrained weights within that setup.
A5 reduces the policy’s input to one demonstration. Both cumulative performance and policy performance decline strongly. A single pair can leave important aspects of a rule unconstrained. A shape might occupy a position that makes a reflection and another transformation produce the same result on that example. Additional pairs can vary the arrangement and separate the viable interpretations. The authors take the result as evidence that CodeIt uses information across demonstrations. It establishes a benefit from the extra evidence rather than identifying a particular internal representation of the rule.
A6 removes mutation-based augmentation of the initial dataset. Progress becomes slower, but the system continues to improve. The authors infer that the mutation-derived exercises are useful for bootstrapping and may be dispensable if enough learning and search can take place. This complements A4. Pretraining and mutation each accelerate the working procedure when the other sources of support are present. The paper tests removing them separately, so the findings leave the behavior of a system with both removed unresolved.
What size changes, and what it leaves entangled
The scaling study compares CodeT5 backbones of 60m, 220m, and 770m. The authors report a substantial gain from the smallest size to the middle one and a smaller gain from the middle to the largest. The 770m run stops at 85 meta-iterations because of computational constraints. The comparison shows how performance changes with size in the observed runs, with different run lengths limiting a clean comparison of their eventual ceilings.
The authors also tried Mistral-7B. The sampling stage took longer, and the run reached 25 meta-iterations after 14 days. The study also changed the update method. The CodeT5 experiments fine-tune all parameters, while this Mistral trial uses LoRA, which trains a smaller set of parameters for adaptation. At 200k sampled programs, the Mistral configuration solves less than 9% of tasks, the CodeT5 220M run is close to 11%, and the CodeT5 770M run is around 12%. Those approximate results describe the scaling comparison at the same proposal count. They do not measure equal elapsed time or the effects of parameter count in isolation.
The authors suggest that overfitting may have contributed to the larger system’s result, given the amount of data available. They also identify the choice of backbone and the LoRA settings as unresolved factors. The comparison supports a practical point about this iteration loop. A change in the cost of sampling affects how much new experience the system can collect, and a change in the update procedure affects how effectively the same experience can be used. The largest configuration combines both changes.
What the discovered programs reveal
On the custom validation set, the authors can compare solved and unsolved puzzles against known solution programs. They examine the results of a run of 50 meta-iterations. The paper’s detailed analysis reports that tasks with reference programs of 10 lines or fewer are almost always solved. Tasks whose reference programs are 11 to 15 lines remain unsolved in that analysis, even though the policy often learns to use their primitives. Some primitives occurring in reference programs of 16 lines or more are never learned in the run.
This comparison separates learning an operation from assembling an entire solution. A policy can know how to use a function that identifies an object and still struggle to use it at the right point in a longer dependency chain. The reference length helps locate where this problem shows up. It is the length of the available solution, so it cannot establish that all valid solutions require at least that many lines. The authors suggest incorporating intermediate execution state during generation as a way to divide a difficult search into smaller parts. That is a possible extension, separate from the observed validation results.
The analysis of primitives on the ARC evaluation tasks reaches a compatible conclusion. Operations returning object representations appear in successful programs earlier than operations returning numeric values. The primitives that remain unused tend to occur rarely in the training solutions or to appear in longer programs. Frequency and length are associations in the authors’ analysis. They can coincide, and the experiments do not establish which feature accounts for the difficulty of each operation. The result helps explain why simply stocking the DSL with a function does not ensure the policy will deploy it.
For tasks solved by both CodeIt and the d₁ baseline, the authors compare the shortest discovered programs. Among the 29 shared successes, 24 have different shortest programs across the methods. CodeIt’s program is longer in 1 of those 24 cases. Mutated programs frequently retain redundant lines from a program that was originally composed for something else. CodeIt can write a new composition using different primitives. The authors’ qualitative comparisons find cases in which the learned policy’s program is both shorter and structurally simpler.
The authors also examine whether the size of the task description relates to the size of the solution. Their comparison of task-representation tokens and program tokens shows no clear relationship. Some tasks with descriptions longer than the 1024-token encoder window are solved despite truncation. A partial representation can preserve enough evidence to identify a transformation in some cases. The observation establishes the possibility of successful inference from those inputs, while leaving the effect of truncation on failures unresolved.
Finally, the authors track how solutions change across rounds. For this analysis they restrict attention to 45 evaluation tasks for which the best run discovers a program that solves every demonstration and every test example. They use the shortest program they find across the run as their reference for that task. In 24 cases a later round yields a shorter solution than an earlier successful round. The paper reports refinement on 53% of the solved tasks in this analysis. That figure describes the selected group, whose programs have both perfect demonstration fit and perfect test fit.
The refinement comes from continued generation. An early success does not end the search for that puzzle, so additional rounds can discover programs with different instructions or fewer lines. The authors also observe longer successful programs in later rounds. Replay priority rewards demonstration agreement, while the evaluation ranking separately uses program length to break ties. The observed shortening is therefore a property of the available proposals over time. It does not imply that each update reduces the length of the program the policy is most likely to write.
Limitations
Limits identified by the authors
CodeIt depends on several handcrafted and domain-specific resources. It needs a language able to express useful grid transformations, an interpreter that can execute candidate programs automatically, and a set of initial solution programs. Hodel’s DSL and training solutions are substantial prior knowledge. The paper shows that the iterative procedure can exploit these resources and improve over symbolic search in the same language. Starting from random policy weights is a narrower intervention than starting without the language, interpreter, or examples.
The language may also limit what can be discovered. Its design was based on the training tasks, which gives the evaluation search a defensible starting point while leaving open whether all of the evaluation transformations can be expressed. Even an expressible transformation may require a composition that is difficult to discover by sampling or that exceeds the available generation length. The authors’ failure analysis finds problems with longer reference programs despite evidence that their individual operations can be learned. Better search and a more suitable language could address different parts of that difficulty.
The authors explicitly note that continual updates carry no guarantee of improvement. CodeIt keeps one policy and updates it with new experience, without comparing each updated policy with an earlier version before proceeding. Priorities improve retention in the experiments. They do not provide a mathematical guarantee against forgetting, and the main evidence comes from the difference between archive-based success and success using current generations. This is a useful distinction when training data changes continually, because the archive can preserve solutions the current policy has become less capable of reproducing.
The larger-backbone study has its own limits. The authors report that sampling cost constrained the longest runs and that exploratory adaptation with LoRA left hyper-parameter choices unresolved. They regard larger-backbone optimization as outside the scope of the study. The results warrant conclusions about the runs they performed, including their practical computational cost. A generic relationship between program synthesis performance and backbone size would require a comparison that separates model choice, training method, run duration, and sample budget.
Limits visible in the evaluation design
The meaning of an unseen task is important here. The evaluation tasks were outside the initial training split and the DSL design process. They become the search set for the main CodeIt experiment, and the system learns from executing candidates on their demonstration inputs. The demonstrations and the experiences they generate are available across the search set. The withheld test answers are used to score the final outputs. This setting measures whether learning across available task demonstrations improves held-out predictions. A setting in which all improvements are learned elsewhere and the policy encounters each new task with frozen weights would test a different kind of transfer.
Cumulative performance also measures the whole search procedure. It can reflect a candidate generated long before the final policy update or already present in augmented training data. The current policy curves and the program comparison give more direct evidence about recent generations. Consequently, the 59 of 400 headline measures CodeIt as a search-and-learning system with access to retained candidates. It should be read alongside the current policy analysis when the question is what the trained generator can produce in a given round.
Program correctness is established on finite examples. A program can agree with every visible demonstration and every withheld test grid while differing from the intended rule on some other input. The authors lack reference programs for evaluation tasks. In the refinement study, the shortest successful program found serves as the reference. This lets them ask whether later search discovers shorter verified solutions. It cannot establish that a discovered program is globally minimal or that it implements the same general rule a puzzle designer had in mind.
The comparison by sampled programs controls the number of proposals, with each procedure paying its own costs for generating, executing, and learning from them. Some baselines run a candidate across the entire search set, whereas CodeIt incurs the expense of repeated policy updates. The experiments show how the approaches perform with the reported configurations and budgets. They supply no matched accounting of total cost across the literature baselines, and the benchmark protocols differ for some of the neural work. A result from a hidden competition split is further removed because some competitors used public evaluation tasks to refine their languages or train their systems.
Sparse descriptions and truncation can change the evidence available to the solver. The representation compresses many grids, and the authors find successes even among tasks whose descriptions must be truncated. In other cases the omitted cells could contain exactly the information needed to discriminate between two candidate rules. The one-demonstration ablation shows that reducing conditioning evidence can hurt. It does not quantify the separate effects of sparse encoding, encoder truncation, and example selection on the main evaluation failures.
The ConceptARC findings show sensitivity to task type, including strengths on several object-centered transformations and weaknesses on ordering and counting. This variation is important when interpreting ARC as a general reasoning benchmark. The paper demonstrates a method for acquiring skill on an executable grid-transformation problem with these priors and this source of experience. Broader claims about general intelligence, transfer to other domains, or self-improvement when outputs cannot be verified remain beyond the evaluation.
What came after
The Surprising Effectiveness of Test-Time Training for Few-Shot Learning cites CodeIt and takes up test-time training in settings with few examples. The title points to a question that CodeIt makes concrete. A solver can use the examples available at evaluation to update how it approaches the problem, in addition to using them as immediate input. In CodeIt, this happens through repeated training on program executions drawn from the evaluation tasks’ demonstrations. The citation establishes a connection to work on adaptation at evaluation time. It does not establish that the later study uses CodeIt’s program interpreter, hindsight targets, or replay priorities. The Surprising Effectiveness of Test-Time Training for Few-Shot Learning
Plug-and-Play Data Module for Code RL: Adaptive Ambiguity Replay also cites CodeIt. The later work names a replay mechanism as a data component for reinforcement learning on code. That places it next to a different design question from the one emphasized by test-time training. CodeIt must decide how to turn executions into supervision and which of the resulting records deserve repeated study. Its answer uses realized outputs for the relabeling and original demonstration agreement for priority. The later work’s title identifies adaptive ambiguity as the focus of its replay mechanism. The citation alone leaves open how it defines ambiguity, how it chooses experiences, and whether it adopts any of CodeIt’s relabeling procedure. Plug-and-Play Data Module for Code RL: Adaptive Ambiguity Replay
Cite
Cite as Natasha Butt, Blazej Manczak, Auke Wiggers, Corrado Rainone, David W. Zhang, Michaël Defferrard and Taco Cohen. 2024. CodeIt: Self-Improving Language Models with Prioritized Hindsight Replay. arXiv:2402.04858.
@misc{butt2024codeit,
title = {{CodeIt: Self-Improving Language Models with Prioritized Hindsight Replay}},
author = {Natasha Butt, Blazej Manczak, Auke Wiggers, Corrado Rainone, David W. Zhang, Michaël Defferrard and Taco Cohen},
year = {2024},
doi = {10.48550/arxiv.2402.04858},
eprint = {2402.04858},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2402.04858}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/butt-2024-codeit-self-improving-language-models/
References
- Ainooson, J., Sanyal, D., Michelson, J. P., Yang, Y., and Kunda, M. An approach for solving tasks on the abstract reasoning corpus, 2023. OpenAlex ↗ · Scholar ↗
- Aksitov, R., Miryoosefi, S., Li, Z., Li, D., Babayan, S., Kopparapu, K., Fisher, Z., Guo, R., Prakash, S., Srinivasan, P., Zaheer, M., Yu, F., and Kumar, S. Rest meets react: Self-improvement for multi-step reasoning llm agent, 2023. OpenAlex ↗ · Scholar ↗
- Alford, S. A Neurosymbolic Approach to Abstraction and Reasoning. PhD thesis, Massachusetts Institute of Technology, 2021. OpenAlex ↗ · Scholar ↗
- Alford, S., Gandhi, A., Rangamani, A., Banburski, A., Wang, T., Dandekar, S., Chin, J., Poggio, T. A., and Chin, P. Neural-guided, bidirectional program search for abstraction and reasoning. Complex Networks, 2021. OpenAlex ↗ · Scholar ↗
- Alford, S., Gandhi, A., Rangamani, A., Banburski, A., Wang, T., Dandekar, S., Chin, J., Poggio, T., and Chin, P. Neural-guided, bidirectional program search for abstraction and reasoning. In Complex Networks & Their Applications X: Volume 1, Proceedings of the Tenth International Conference on Complex Networks and Their Applications COMPLEX NETWORKS 2021 10, pp. 657–668. Springer, 2022. OpenAlex ↗ · Scholar ↗
- Andrychowicz, M., Wolski, F., Ray, A., Schneider, J., Fong, R., Welinder, P., McGrew, B., Tobin, J., Pieter Abbeel, O., and Zaremba, W. Hindsight experience replay. Advances in neural information processing systems, 30, 2017. OpenAlex ↗ · Scholar ↗
- Anthony, T., Tian, Z., and Barber, D. Thinking fast and slow with deep learning and tree search. May 2017. our card
- ARCathon Leaderboard. https://lab42.global/arcathon/leaderboard/, 2023. Accessed: 2024-30-01. OpenAlex ↗ · Scholar ↗
- Aygün, E., Orseau, L., Anand, A., Glorot, X., Firoiu, V., Zhang, L. M., Precup, D., and Mourad, S. Proving theorems using incremental learning and hindsight experience replay, 2021. OpenAlex ↗ · Scholar ↗
- Balog, M., Gaunt, A., Brockschmidt, M., Nowozin, S., and Tarlow, D. Deepcoder: Learning to write programs. In International Conference on Learning Representations. OpenReview. net, 2017. OpenAlex ↗ · Scholar ↗
- Bunel, R., Hausknecht, M., Devlin, J., Singh, R., and Kohli, P. Leveraging grammar and reinforcement learning for neural program synthesis. In International Conference on Learning Representations, 2018. our card
- Butt, N., Wiggers, A., Cohen, T., and Welling, M. Program synthesis for integer sequence generation. 2022. URL https://mathai2022.github.io/papers/24.pdf. OpenAlex ↗ · Scholar ↗
- Chen, L., Lu, K., Rajeswaran, A., Lee, K., Grover, A., Laskin, M., Abbeel, P., Srinivas, A., and Mordatch, I. Decision transformer: Reinforcement learning via sequence modeling, 2021. URL https://arxiv.org/abs/2106.01345. OpenAlex ↗ · Scholar ↗
- Chollet, F. On the measure of intelligence. arXiv preprint arXiv:1911.01547, 2019. OpenAlex ↗ · Scholar ↗
- Daumé, H., Langford, J., and Marcu, D. Search-based structured prediction. Machine learning, 75:0 297–325, 2009. OpenAlex ↗ · Scholar ↗
- Devlin, J., Uesato, J., Bhupatiraju, S., Singh, R., Mohamed, A.-r., and Kohli, P. Robustfill: Neural program learning under noisy i/o. In International conference on machine learning, pp. 990–998. PMLR, 2017. OpenAlex ↗ · Scholar ↗
- Ellis, K., Wong, C., Nye, M. I., Sablé-Meyer, M., Cary, L., Morales, L., Hewitt, L. B., Solar-Lezama, A., and Tenenbaum, J. B. DreamCoder: Growing generalizable, interpretable knowledge with wake-sleep Bayesian program learning. CoRR, abs/2006.08381, 2020. URL https://arxiv.org/abs/2006.08381. our card
- Fawzi, A., Balog, M., Huang, A., Hubert, T., Romera-Paredes, B., Mohammadamin, B., Novikov, A., Ruiz, F. J. R., Schrittwieser, J., Swirszcz, G., Silver, D., Hassabis, D., and Kohli, P. Discovering faster matrix multiplication algorithms with reinforcement learning. Nature, 610, 2022. . OpenAlex ↗ · Scholar ↗
- Ferré, S. First steps of an approach to the arc challenge based on descriptive grid models and the minimum description length principle. arXiv preprint arXiv:2112.00848, 2021. OpenAlex ↗ · Scholar ↗
- Ferré, S. Tackling the abstraction and reasoning corpus (arc) with object-centric models and the mdl principle. arXiv preprint arXiv:2311.00545, 2023. OpenAlex ↗ · Scholar ↗
- French, R. Catastrophic forgetting in connectionist networks. Trends in cognitive sciences, 3:0 128–135, 05 1999. . OpenAlex ↗ · Scholar ↗
- Gauthier, T. Program synthesis for the oeis, 2022. URL https://arxiv.org/abs/2202.11908. OpenAlex ↗ · Scholar ↗
- Gauthier, T. and Urban, J. Learning program synthesis for integer sequences from scratch, 2022. URL https://arxiv.org/abs/2202.11908. OpenAlex ↗ · Scholar ↗
- Gendron, G., Bao, Q., Witbrock, M., and Dobbie, G. Large language models are not strong abstract reasoners, 2023. our card
- Gulcehre, C., Paine, T. L., Srinivasan, S., Konyushkova, K., Weerts, L., Sharma, A., Siddhant, A., Ahern, A., Wang, M., Gu, C., et al. Reinforced self-training (rest) for language modeling. arXiv preprint arXiv:2308.08998, 2023. our card
- Gunasekar, S., Zhang, Y., Aneja, J., Mendes, C. C. T., Giorno, A. D., Gopi, S., Javaheripi, M., Kauffmann, P., de Rosa, G., Saarikivi, O., Salim, A., Shah, S., Behl, H. S., Wang, X., Bubeck, S., Eldan, R., Kalai, A. T., Lee, Y. T., and Li, Y. Textbooks are all you need, 2023. our card
- Haluptzok, P., Bowers, M., and Kalai, A. T. Language models can teach themselves to program better. arXiv preprint arXiv:2207.14502, 2022. our card
- Hodel, M. Domain-specific language for the abstraction and reasoning corpus, 2023. OpenAlex ↗ · Scholar ↗
- Icecuber. https://www.kaggle.com/competitions/abstraction-and-reasoning-challenge/discussion/154597, 2020. Accessed: 2024-30-01. OpenAlex ↗ · Scholar ↗
- Johnson, A., Vong, W. K., Lake, B. M., and Gureckis, T. M. Fast and flexible: Human program induction in abstract reasoning tasks. CoRR, abs/2103.05823, 2021. URL https://arxiv.org/abs/2103.05823. OpenAlex ↗ · Scholar ↗
- Kaggle Leaderboard. https://www.kaggle.com/competitions/abstraction-and-reasoning-challenge/code, 2020. Accessed: 2024-30-01. OpenAlex ↗ · Scholar ↗
- Kocsis, L. and Szepesvári, C. Bandit based monte-carlo planning. In European conference on machine learning, pp. 282–293. Springer, 2006. OpenAlex ↗ · Scholar ↗
- Kolev, V., Georgiev, B., and Penkov, S. Neural abstract reasoner. arXiv preprint arXiv:2011.09860, 2020. OpenAlex ↗ · Scholar ↗
- Laterre, A., Fu, Y., Jabri, M. K., Cohen, A.-S., Kas, D., Hajjar, K., Chen, H., Dahl, T. S., Kerkeni, A., and Beguir, K. Ranked reward: enabling self-play reinforcement learning for bin packing. 2019. OpenAlex ↗ · Scholar ↗
- Mankowitz, D. J., Michi, A., Zhernov, A., Gelmi, M., Selvi, M., Paduraru, C., Leurent, E., Iqbal, S., Lespiau, J.-B., Ahern, A., et al. Faster sorting algorithms discovered using deep reinforcement learning. Nature, 6180 (7964):0 257–263, 2023. our card
- Mirchandani, S., Xia, F., Florence, P., Ichter, B., Driess, D., Arenas, M. G., Rao, K., Sadigh, D., and Zeng, A. Large language models as general pattern machines. arXiv preprint arXiv:2307.04721, 2023. our card
- Mitchell, M., Palmarini, A. B., and Moskvichev, A. Comparing humans, gpt-4, and gpt-4v on abstraction and reasoning tasks, 2023. OpenAlex ↗ · Scholar ↗
- Moskvichev, A., Odouard, V. V., and Mitchell, M. The conceptarc benchmark: Evaluating understanding and generalization in the arc domain, 2023. OpenAlex ↗ · Scholar ↗
- Ni, A., Inala, J. P., Wang, C., Polozov, O., Meek, C., Radev, D., and Gao, J. Learning math reasoning from self-sampled correct and partially-correct solutions, 2023. our card
- Parisotto, E., Mohamed, A.-r., Singh, R., Li, L., Zhou, D., and Kohli, P. Neuro-symbolic program synthesis. In International Conference on Learning Representations, 2017. our card
- Park, J., Im, J., Hwang, S., Lim, M., Ualibekova, S., Kim, S., and Kim, S. Unraveling the arc puzzle: Mimicking human solutions with object-centric decision transformer. arXiv preprint arXiv:2306.08204, 2023. OpenAlex ↗ · Scholar ↗
- Polosukhin, I. and Skidanov, A. Neural program search: Solving programming tasks from description and examples. CoRR, abs/1802.04335, 2018. URL http://arxiv.org/abs/1802.04335. OpenAlex ↗ · Scholar ↗
- Polu, S., Han, J. M., Zheng, K., Baksys, M., Babuschkin, I., and Sutskever, I. Formal mathematics statement curriculum learning. CoRR, abs/2202.01344, 2022. URL https://arxiv.org/abs/2202.01344. our card
- Schaul, T., Quan, J., Antonoglou, I., and Silver, D. Prioritized experience replay. arXiv preprint arXiv:1511.05952, 2015. OpenAlex ↗ · Scholar ↗
- Silver, D., Huang, A., Maddison, C. J., Guez, A., Sifre, L., Van Den Driessche, G., Schrittwieser, J., Antonoglou, I., Panneershelvam, V., Lanctot, M., et al. Mastering the game of go with deep neural networks and tree search. nature, 5290 (7587):0 484–489, 2016. OpenAlex ↗ · Scholar ↗
- Silver, D., Hubert, T., Schrittwieser, J., Antonoglou, I., Lai, M., Guez, A., Lanctot, M., Sifre, L., Kumaran, D., Graepel, T., et al. A general reinforcement learning algorithm that masters chess, shogi, and go through self-play. Science, 3620 (6419):0 1140–1144, 2018. OpenAlex ↗ · Scholar ↗
- Singh, A., Co-Reyes, J. D., Agarwal, R., Anand, A., Patil, P., Garcia, X., Liu, P. J., Harrison, J., Lee, J., Xu, K., Parisi, A., Kumar, A., Alemi, A., Rizkowsky, A., Nova, A., Adlam, B., Bohnet, B., Elsayed, G., Sedghi, H., Mordatch, I., Simpson, I., Gur, I., Snoek, J., Pennington, J., Hron, J., Kenealy, K., Swersky, K., Mahajan, K., Culp, L., Xiao, L., Bileschi, M. L., Constant, N., Novak, R., Liu, R., Warkentin, T., Qian, Y., Bansal, Y., Dyer, E., Neyshabur, B., Sohl-Dickstein, J., and Fiedel, N. Beyond human data: Scaling self-training for problem-solving with language models, 2023. our card
- Spelke, E. S. and Kinzler, K. D. Core knowledge. Developmental Science, 100 (1):0 89–96, 2007. . URL https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1467-7687.2007.00569.x. OpenAlex ↗ · Scholar ↗
- Wang, M. and Deng, J. Learning to prove theorems by learning to generate theorems. In Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M., and Lin, H. (eds.), Advances in Neural Information Processing Systems, volume 33, pp. 18146–18157. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper_files/paper/2020/file/d2a27e83d429f0dcae6b937cf440aeb1-Paper.pdf. our card
- Wang, R., Zelikman, E., Poesia, G., Pu, Y., Haber, N., and Goodman, N. D. Hypothesis search: Inductive reasoning with language models. arXiv preprint arXiv:2309.05660, 2023a. OpenAlex ↗ · Scholar ↗
- Wang, Y., Le, H., Gotmare, A. D., Bui, N. D., Li, J., and Hoi, S. C. H. Codet5+: Open code large language models for code understanding and generation. arXiv preprint, 2023b. OpenAlex ↗ · Scholar ↗
- Wang, Z., Hou, L., Lu, T., Wu, Y., Li, Y., Yu, H., and Ji, H. Enable language models to implicitly learn self-improvement from data, 2023c. OpenAlex ↗ · Scholar ↗
- Xu, Y., Khalil, E. B., and Sanner, S. Graphs, constraints, and search for the abstraction and reasoning corpus, 2022. OpenAlex ↗ · Scholar ↗
- Xu, Y., Li, W., Vaezipoor, P., Sanner, S., and Khalil, E. B. Llms and the abstraction and reasoning corpus: Successes, failures, and the importance of object-based representations. arXiv preprint arXiv:2305.18354, 2023. our card
- Zelikman, E., Wu, Y., Mu, J., and Goodman, N. Star: Bootstrapping reasoning with reasoning. Advances in Neural Information Processing Systems, 35:0 15476–15488, 2022. our card
- Zhou, A., Yan, K., Shlapentokh-Rothman, M., Wang, H., and Wang, Y.-X. Language agent tree search unifies reasoning acting and planning in language models, 2023. OpenAlex ↗ · Scholar ↗
- Zohar, A. and Wolf, L. Automatic program synthesis of long programs with a learned garbage collector. Advances in neural information processing systems, 31, 2018. OpenAlex ↗ · Scholar ↗