The Lighthouse of Language: Enhancing LLM Agents via Critique-Guided Improvement

Ruihan Yang, Fanghua Ye, Jian Li, Siyu Yuan, Yikai Zhang, Zhaopeng Tu, Xiaolong Li, Deqing Yang

TL;DR

The paper introduces Critique-Guided Improvement (CGI), a novel two-player framework that enhances Large Language Model (LLM) agents using detailed natural language feedback instead of simple numerical scores. By training a specialized, small critic model (Llama-3-8B) to deliver structured critiques and iteratively fine-tuning an actor model to implement them, CGI significantly outperforms traditional reward models and even surpasses GPT-4o in feedback quality, achieving state-of-the-art performance across complex interactive environments.

What Problem Does This Paper Address?

While LLM-based agents have shown immense promise in automating complex tasks like coding and web navigation, they heavily rely on iterative feedback to correct mistakes and optimize their strategies. Currently, most systems use numerical feedback (like scalar reward models or verifiers) to rank and filter candidate actions. However, scalar scores lack context; they tell an agent that an action is bad, but not why or how to fix it.

Conversely, natural language feedback provides rich, actionable guidance. Yet, existing language-based approaches suffer from two core flaws:

  1. Weak Feedback: Methods relying on self-refinement often fail because the agent lacks the inherent capacity to spot its own subtle errors, leading to hallucinations or repetitive mistakes.
  2. Poor Utilization: Agents frequently struggle to integrate external verbal critiques, showing rigidity and failing to alter their pre-existing plans even when explicitly told they are wrong.

The authors propose CGI to bridge this gap by decoupling the explorer (the actor) from the evaluator (the critic) and explicitly training both to communicate and adapt.

Methods

Critique-Guided Improvement (CGI) splits the agentic workflow into a two-player game consisting of an Actor ($\pi_\theta$) and a Critic ($\pi_\phi$). The framework operates in two main stages:

Figure 1: An overview of CGI, illustrated with a ScienceWorld example. The actor first generates candidate actions, and the critic then assesses each action and generates suggested revisions. The actor refines its actions based on the critique. The Critique Generation stage enhances the critic model’s ability to provide effective feedback, while the Action Refinement stage helps the actor model better utilize the critique.
  1. Critique Generation: The critic model is trained to evaluate candidate actions generated by the actor. For every action, the critic provides a structured critique across three dimensions:
  2. Contribution: Does this action help solve the overall task?
  3. Feasibility: Is this action valid within the environment's rules?
  4. Efficiency: Does it avoid redundant steps? The critic then assigns an overall grade and provides a concrete, actionable Suggested Revision. The critic is trained via supervised fine-tuning (SFT) on step-level critiques distilled from an expert model (GPT-4o) that has access to the environment's "gold-standard" trajectory.

  5. Action Refinement: To ensure the actor actually listens to the critic, the authors implement an iterative SFT strategy. The actor explores the environment under the critic's guidance. Successful trajectories are collected and split into datasets that teach the actor both how to solve the task ($D_{correct}$) and how to successfully incorporate critiques ($D_{refine}$).

Datasets

The framework was evaluated across three diverse interactive benchmarks:

  • WebShop: An online shopping environment containing 12K instructions and over a million real products, where agents must navigate webpages and use search engines to buy specific items.
  • ScienceWorld: A complex, text-based environment testing elementary science curriculum tasks (e.g., tracking temperatures, conducting experiments) requiring long-horizon planning.
  • TextCraft: A text-based Minecraft crafting simulator where agents execute multi-step recipes to craft target items.
  • ShareGPT: A general conversational dataset integrated during actor training to preserve the model's baseline language capabilities and prevent overfitting.

Key Insights and Ideas

  • Language Trumps Numbers: Fine-grained verbal critiques consistently beat action-filtering via numerical discriminators. Numerical feedback forces the agent to rely entirely on its internal capabilities to guess a better action, whereas verbal feedback explicitly guides the search space.
  • Fine-Tuning Can Induce Rigidity: Interestingly, standard supervised fine-tuning improves an agent's baseline performance but decreases its responsiveness to external feedback. For instance, without explicit action refinement training, a fine-tuned agent will stubbornly repeat invalid actions (like trying to enter a locked room) even when the critic tells it to look around first.
  • Critiques Matter Most Early On: Trajectory analysis revealed that the actor modifies its behavior based on critiques predominantly during the first stage of a task. High-quality feedback accelerates effective early exploration, preventing the agent from falling into deadlocks or wasting steps.

Key Results

The authors used Llama-3-8B-Instruct as the backbone for both the actor and critic models, yielding striking results:

  • Outperforming GPT-4o: When guiding a vanilla Llama-3-8B actor, the specialized 8B Critic Model achieved an average score of 61.44 across all tasks, vastly outperforming GPT-4o acting as a critic (32.28).
Table 1: We compared the natural language feedback provided by the trained critic model with other methods, including numerical-based (i.e., DGAP, Explict RM), and verbal-based (i.e., self-critique, GPT-4o). Our critic offers better guidance to the actor model in all three interactive scenarios.
  • Sustained Iterative Gains: Unlike self-correction methods like Reflexion (which often get stuck in local minima) or vanilla Iterative SFT (which plateaus quickly), CGI demonstrated continuous performance improvements across multiple training iterations.
Figure 2: Performance of different iterative methods across iterations in three agentic tasks.
  • State-of-the-Art Efficiency: By the third iteration, the CGI framework achieved an average score of 74.20, outperforming advanced closed-source models (like Claude 3 Sonnet and GPT-4o) and specialized agent architectures (like Agent-FLAN).

Limitations and Future Work

  • Computational Overhead: CGI requires sampling multiple candidate actions and generating text critiques for each, resulting in an inference time roughly four times higher than a baseline model without critiques. However, it remains faster and cheaper than querying commercial models like GPT-4o.
  • Data Dependency: The initial critic training still relies on bootstrapping from an expert model (GPT-4o) and having access to gold-standard environment paths.

Future Directions: The authors suggest exploring completely autonomous training procedures for the critic that do not rely on proprietary models, expanding the framework to multi-modal domains, and designing tighter architectural integrations between the critic's text output and the agent's internal planning mechanisms.

Summary updated

Abstract

Large language models (LLMs) have recently transformed from text-based assistants to autonomous agents capable of planning, reasoning, and iteratively improving their actions. While numerical reward signals and verifiers can effectively rank candidate actions, they often provide limited contextual guidance. In contrast, natural language feedback better aligns with the generative capabilities of LLMs, providing richer and more actionable suggestions. However, parsing and implementing this feedback effectively can be challenging for LLM-based agents. In this work, we introduce Critique-Guided Improvement (CGI), a novel two-player framework, comprising an actor model that explores an environment and a critic model that generates detailed nature language feedback. By training the critic to produce fine-grained assessments and actionable revisions, and the actor to utilize these critiques, our approach promotes more robust exploration of alternative strategies while avoiding local optima. Experiments in three interactive environments show that CGI outperforms existing baselines by a substantial margin. Notably, even a small critic model surpasses GPT-4 in feedback quality. The resulting actor achieves state-of-the-art performance, demonstrating the power of explicit iterative guidance to enhance decision-making in LLM-based agents.
BibTeX
@inproceedings{yang2025lighthouse,
  author = {Ruihan Yang and Fanghua Ye and Jian Li and Siyu Yuan and Yikai Zhang and Zhaopeng Tu and Xiaolong Li and Deqing Yang},
  title = {{The Lighthouse of Language: Enhancing LLM Agents via Critique-Guided Improvement}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=D88yhLFzDR},
}
Figure