# Understanding the Challenges in Iterative Generative Optimization with LLMs

*Allen Nie, Xavier Daull, Zhiyi Kuang, Abhinav Akkiraju, Anish Chaudhuri, Max Piasevoli, Ryan Rong, YuCheng Yuan, Prerit Choudhary, Shannon Xiao, Rasool Fakoor, Adith Swaminathan, Ching-An Cheng*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148898) · [OpenReview](https://openreview.net/forum?id=uMQtAycESf) · [Open on the map](../papers.html#p148898)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [LLM Agent Evaluation](../pgroup/630.md) · Type: empirical study · Keywords: iterative generative optimization, LLMs, design choices, learning loops, self-improving agents

Areas: [Code & Coding Agents](../areas/codegen.md) › Code Generation and Optimization › Evolutionary Search and Self-Evolution; [AI Agents](../areas/agents.md) › Agentic Decision Making › Agentic Optimization and Evaluation; [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › Self-Improving Agents; [RL for LLMs & Agents](../areas/llm-rl.md) › Language Model Agents › Agentic Reinforcement Learning

## Summary
The paper analyzes hidden design choices in iterative generative optimization with LLMs and provides practical guidance for making them.

## Explained to a 5-year-old
People use big language models to help programs get better by trying things and learning from feedback. It works in theory, but in real life it often fails because the people building it have to make hidden choices. They need to decide what part of the program they can change, how to group the tries together, and how far back they should look for mistakes. The researchers looked at three different games and found that these choices really matter for whether the program succeeds. They gave simple rules to help builders make better choices so the programs can improve more reliably.

## Explained to a 5-year-old, longer
Imagine a robot that writes code or makes plans, and it uses a big language model to improve itself. It tries something, runs it, sees if it works, and then changes its attempt based on what went wrong. This is called iterative generative optimization, and it sounds cool, but in practice it often doesn't work well. The people who build these systems have to make some hidden choices that are not always obvious. One choice is what part of the program they are allowed to edit. Another choice is how they group together the tries and experiences they collect. The third choice is how far back in time they look for mistakes to learn from. The researchers studied three different test sets: MLAgentBench, Atari, and BigBench Extra Hard. They found that the starting point of the program decides which solutions can be reached in one test. In another test, even a short look back at mistakes helped the program get better. In the third test, using more tries at once did not always make the program smarter. The paper gives simple advice for builders so they can set up these loops more reliably.

## For a technical reader
The paper looks at how language models can be used to automatically improve code, workflows, or prompts by trying things and learning from feedback. It shows that three design decisions-what you can edit, how you batch the tries, and how far back you look for learning signals-strongly affect whether the optimization works. Using three benchmark suites, the authors find that the starting artifact influences reachable solutions, truncated traces still help in some tasks, and larger batches do not guarantee better generalization. The work highlights that most existing systems hide these choices, making it hard to reproduce or deploy them reliably. The practical takeaway is a set of guidelines for engineers to set up robust learning loops for self-improving agents.

## Problem
Iterative generative optimization using LLMs is brittle in practice, with low adoption rates, because engineers must make hidden design choices about what can be edited and what learning evidence is provided. These choices affect the success of the learning loop but are not explicitly studied.

## Method
The approach conducts case studies across three benchmark suites to examine how the starting artifact, batching of execution traces, and credit horizon affect optimization success. It systematically varies these factors and measures outcomes, revealing their impact on reachability, generalization, and performance. The findings provide practical guidance for designing learning loops.

## Results
The approach shows that starting artifacts affect solution reachability in MLAgentBench, truncated traces still improve Atari agents, and larger minibatches do not consistently improve generalization on BigBench Extra Hard.

## Contributions
It identifies three critical hidden design choices in iterative generative optimization and demonstrates their impact across multiple domains, providing practical guidance for engineers to set up effective learning loops.

## Practical relevance
The findings help engineers build more reliable self-improving agents by clarifying essential design decisions in iterative generative optimization.

## Research questions this paper is counted under

- [How can large language models accumulate and reuse knowledge across iterative optimization tasks?](../q/491.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148898)
