What if an AI could rewrite its own goals mid-task, instead of just optimizing toward a fixed target someone else set?
Can AI systems generate and refine their own objective functions?
This explores whether AI can write and improve its own goals — the scoring functions and objectives that normally get handed to it by humans — rather than only optimizing toward a fixed target someone else set.
This explores whether AI can write and improve its own goals — not just get better at a fixed task, but reformulate what "better" even means. The clearest yes in the corpus comes from a bi-level design where an outer LLM loop proposes new objectives, compiles them from plain-language descriptions into executable scoring functions, and feeds them straight into an inner search loop — so goal design stops being a fixed input and becomes part of the discovery process itself Can agents evolve their own objectives during search?. The same shape shows up elsewhere: an outer loop that reads its inner loop's own code, spots bottlenecks, and writes new optimization mechanisms at runtime, hitting a 5x improvement on a pretraining task Can an AI system improve its own search methods automatically?. The pattern is meta-optimization — the system optimizes the thing that does the optimizing.
There's a whole family of related self-modification here that stops short of rewriting objectives but rhymes with it. The Darwin Gödel Machine improves itself by keeping an evolutionary archive of agent variants and validating them empirically rather than by proof Can AI systems improve themselves through trial and error?. Query-level meta-agents build a fresh multi-agent workflow for each incoming question, trained by reinforcement feedback on performance and efficiency Can AI systems design unique multi-agent workflows per individual query?. And models can even internalize the reward function itself — Post-Completion Learning uses the unused space after a model's output to train it to score its own work, folding evaluation into the model instead of an external judge Can models learn to evaluate their own work during training?. A useful way to see all this: self-improvement splits into a slow loop that rewrites model weights and a fast loop that rewrites prompts, memory, and tools — and almost all the action is in the fast loop, because editing your scaffold is cheap and reversible while editing your weights is neither Do self-improving agents really split into two distinct loops?.
But here's the thing you didn't know you wanted to know: the corpus argues there's a hard ceiling on this, and it's not an engineering problem. Self-improvement is formally bounded by the generation-verification gap — a system can generate candidate fixes, but every *reliable* fix needs something outside the system to validate and enforce it. Metacognition alone can't close that gap What stops large language models from improving themselves?. So an agent evolving its own objective functions doesn't escape the loop; it just relocates the question. Whatever validates the newly-minted objective is now the real fixed point, and if that validator is weak, the agent is optimizing a goal nothing is checking.
That's exactly where the skeptical notes bite. Current self-improvement uses extrinsic, human-designed metacognitive loops that break under domain shift — genuine self-direction would need agents to generate their own adaptive metacognitive knowledge, which the corpus flags as a real and neglected gap Can AI systems improve their own learning strategies?. Deeper still, a Peircean-semiotics argument warns that goals encoded in pure symbols, with no contact with the world and no social mediation, can't be guaranteed to correspond to anything real — a system happily refining its own objective functions in a symbolic vacuum may just be drifting further from actual values while its numbers improve Can AI systems achieve real alignment without world contact?. And in the one domain where objective-generation matters most, autonomous science, the four required capabilities include iterative self-correction — singled out as the hardest, because reasoning accuracy tends to *degrade* when models try to correct themselves What capabilities do AI systems need for autonomous science?.
So the honest answer is: yes, and the machinery already works impressively in narrow settings — but generating your own objectives is not the same as generating *good* ones. The bottleneck isn't whether the agent can write a new scoring function; it's whether anything grounded enough to trust is doing the scoring of the scorer.
Sources 10 notes
SAGA's bi-level architecture closes a feedback loop from optimization results back to goal design by having an outer LLM loop propose new objectives and compile them into code the inner loop can immediately use, enabling objective formulation as part of discovery rather than a fixed input.
An outer loop successfully read inner loop code, identified bottlenecks, and generated new Python mechanisms at runtime, discovering combinatorial optimization and bandit methods that broke the inner loop's deterministic patterns and improved performance on GPT pretraining by 5x.
DGM replaces formal proofs with empirical benchmarking and maintains an evolutionary archive of agent variants, achieving 2.5× improvement on SWE-bench and 2.2× on Polyglot by discovering capabilities like better code editing and context management.
FlowReasoner demonstrates that meta-agents trained with reinforcement learning and external execution feedback can generate unique multi-agent architectures for each user query, optimizing across performance, complexity, and efficiency—moving beyond fixed task-level workflow templates.
Post-Completion Learning exploits unused sequence space after model output to train self-assessment capabilities during training while maintaining zero inference cost. The model learns to compute its own reward functions, internalizing evaluation rather than relying on external reward models.
Show all 10 sources
A survey framework organizes self-improving agents into two update mechanisms: slow parametric loops updating foundation model weights, and fast non-parametric loops updating prompts, memory, and tools. Recent progress concentrates in the fast loop because scaffold updates are cheaper and reversible than weight updates.
Self-improvement in LLMs is formally bounded by the generation-verification gap, meaning every reliable fix requires something external to validate and enforce it. Models cannot escape this constraint through metacognition alone.
Current self-improvement methods use extrinsic, fixed metacognitive loops designed by humans that fail under domain shift or capability changes. True self-improvement requires agents to generate their own adaptive metacognitive knowledge, planning, and evaluation—a gap confirmed as a neglected research area across neuro-symbolic AI.
Peircean semiotics reveals that symbolic goal encoding without world contact and social mediation cannot guarantee correspondence to actual values. LLMs operating in pure symbol manipulation risk divergence between stated goals and real-world outcomes.
The Virtuous Machines framework identifies hypothesis generation, experimental design, data analysis, and iterative self-correction as essential for autonomous scientific research, none of which standard LLM benchmarks reliably evaluate. Self-correction poses the deepest challenge due to documented degradation in reasoning accuracy.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- The Red Queen Gödel Machine: Co-Evolving Agents and Their Evaluators
- Self-Improvements in Modern Agentic Systems: A Survey
- Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agents
- Hyperagents
- Mind the Gap: Examining the Self-Improvement Capabilities of Large Language Models
- Post-Completion Learning for Language Models
- Drop the Hierarchy and Roles: How Self-Organizing LLM Agents Outperform Designed Structures
- Adaptation of Agentic AI