Critic PI2: Domain-Adaptive Plan Evaluator
- Critic PI2 is a domain-adaptive scoring mechanism that evaluates candidate plans from LLM-generated programmatic planners for long-horizon rewards.
- It uses a lightweight language model with LoRA adapters and an MLP head to compute plan likelihood and value estimates, fine-tuned via PPO.
- Empirical results demonstrate significant improvements in success rates and query efficiency across environments like ALFWorld, NetHack, and StarCraft II.
Critic PI2 refers to the core domain-adaptive plan-evaluation module within the Code Driven Planning with Domain-Adaptive Critic (CoPiC) framework, which addresses the challenge of robust sequential decision-making for agents in partially observed Markov Decision Processes, especially when leveraging LLMs for open-ended planning. The Critic PI2 acts as an environment-adaptive scoring function for candidate plans produced by LLM-generated programmatic planners, guiding execution toward long-horizon rewards and substantially reducing the frequency of costly LLM queries (Tian et al., 23 Sep 2025).
1. Formal Definition and Functional Role
Within the CoPiC system, the critic serves as a parametric function mapping an observation-plan pair (together with the task instruction ) to a scalar “plan score” reflecting the expected return of executing from under task . Rather than simply relying on immediate feedback after each action, estimates the compatibility of the entire candidate plan with long-term environmental reward. This differentiates Critic PI2 from conventional stepwise feedback strategies in prior LLM-centric planning methods.
Formally, given the MDP , CoPiC evaluates high-level candidate plans generated by planning programs . For each , the critic computes
where is a natural-language plan description and is the log-likelihood (length-normalized) of under conditioned on the task prompt and current observation.
2. Model Architecture and Adaptation Mechanism
The critic is implemented by initializing a lightweight LLM backbone (e.g., TinyLlama), extended with parameter-efficient LoRA adapters and an MLP head. Its architecture supports both plan-likelihood estimation and value function regression:
- The LoRA-adapted LLM provides a distribution over natural-language plan descriptions.
- The MLP head computes a scalar value function , which approximates expected future return.
The plan-likelihood path conditions on a “critic prompt” and autoregressively factors the probability for a candidate plan sequence : Enabling the critic to generalize beyond short-horizon feedback, model parameters are fine-tuned using Proximal Policy Optimization (PPO), ensuring the critic captures environment-specific reward structure.
3. Learning and Interaction Loop
Critic PI2 is updated in CoPiC’s interleaved planning and learning phases. During each interaction episode:
- All planners generate candidate plans given the current instruction and observation .
- The critic scores each ; a plan is sampled (or selected) for execution according to the softmax over scores.
- The tuple is stored, capturing the environmental feedback.
- After episodic rollout, is fine-tuned with PPO, using the collected data as experience.
The loss consists of an actor-critic PPO formulation: where is the advantage, and is the likelihood ratio.
4. Impact on Query Efficiency and Planning Performance
In contrast to iterative refinement paradigms such as Reflexion and AdaPlanner, which query the LLM at each environment step, Critic PI2 processes all candidate plans within a single decision cycle, requiring only LLM queries per cycle. Empirical results show an average query token cost reduction of approximately 79.4% against baselines (e.g., 0.16–0.33M tokens vs. 0.8–2.5M per task in ALFWorld) (Tian et al., 23 Sep 2025). Simultaneously, the critic-driven evaluation mechanism yields substantial gains in success rate: +20.4% in ALFWorld, +13.7% in NetHack, and +44.8% in StarCraft II Unit Building (Hard).
| Environment | Success Rate | Query Cost |
|---|---|---|
| ALFWorld | +20.4% | -83.8% |
| NetHack | +13.7% | -71.0% |
| SC2 (Hard) | +44.8% | -87.9% |
The critic is thus essential for both efficiency and reward-aligned plan selection. Ablation experiments reveal that random selection among planners reduces success by 20–60% under equal query budgets.
5. Design Choices, Ablations, and Limitations
Three primary factors influence Critic PI2’s efficacy:
- Presence of the Critic: Omission lowers success rates by up to 60%, empirically demonstrating the necessity of environment-adaptive scoring.
- Number of Planners (): Empirical analysis indicates yields optimal coverage versus evaluation complexity.
- Program Evolution: Iterative fine-tuning and evolution of planner-programs, guided by feedback and critic-reward signals, allow the system to improve from 75.6% to 91.4% success rate in two rounds, with further convergence to 100% by the fourth iteration.
Key limitations include the requirement that the initial LLM must have strong code-generation capability to bootstrap viable programmatic planners and the potential expense of acquiring sufficient environment interaction data to fine-tune the critic in real-world domains.
6. Relationship to Prior Work and Extensions
Critic PI2 replaces stepwise LLM query architectures with plan-level evaluation, introducing a generalizable critic-based value estimator that is tunable to environmental rewards. The compatible design with PPO and LoRA enables efficient, scalable adaptation to new domains. By supporting high-level programmatic plan generation and selective execution, Critic PI2 positions CoPiC to outperform prior LLM-based planning methods both in efficiency and long-term task competence.
Proposed future extensions for Critic PI2 include scaling to complex, long-horizon environments (e.g., entire StarCraft II matches, realistic household tasks) and the development of multi-agent critic architectures for collaborative or adversarial task settings (Tian et al., 23 Sep 2025).