Introduction
Developing embodied agents—robots or virtual avatars capable of executing complex natural language instructions—remains a significant challenge in artificial intelligence. While Large Language Models (LLMs) possess vast commonsense knowledge, using them as the primary "brain" for real-time robotic control is often impractical due to high inference latency and computational costs. Furthermore, training smaller agents via reinforcement learning (RL) is hindered by the sparse reward problem, where agents only receive feedback at the end of a long sequence of actions, making it difficult to identify which specific steps contributed to success.
This paper introduces COREN (Consistency-Guided Reward Ensemble), a framework that repositioning LLMs as "teachers" rather than "players." COREN leverages LLMs to generate dense, grounded rewards for offline RL, allowing small, efficient models to achieve performance comparable to massive LLM-based agents.
The Grounding Gap and Hallucination
A primary obstacle in using LLMs for reward generation is the "grounding gap." LLMs often suggest actions based on general knowledge that may not apply to a specific environment. For example, an LLM might reward an agent for looking for a tool in a kitchen, even if that tool is located in a garage in the specific simulation. In an offline setting, where the agent cannot explore to correct these errors, these "hallucinated" rewards can lead to suboptimal or failed policies.
The COREN Framework
COREN addresses these challenges through a two-stage process designed to filter LLM hallucinations and align rewards with the physical constraints of the environment.
Stage 1: Consistency-Guided Reward Estimation
To ensure reward accuracy, COREN queries an LLM with $N$ different prompts and applies three distinct consistency filters:
- Contextual Consistency: The system employs a majority vote across various prompt styles (e.g., Chain-of-Thought vs. Naive prompting) to mitigate inherent prompt bias.
- Structural Consistency: The LLM is asked "MDP-specific" questions regarding the environment's structure (e.g., identifying relevant objects). If the LLM's understanding of the environment is flawed, the corresponding reward estimate is discarded.
- Temporal Consistency: Through "backward verification," the system asks the LLM to verify if a high-value action logically contributes to the final goal sequence. This ensures that rewards are not just locally plausible but globally relevant.
Stage 2: Reward Ensemble and Orchestration
The filtered rewards are processed by a Reward Orchestrator, a small BERT-based network. This orchestrator learns to weight the different consistency-based rewards by aligning their cumulative sum with the sparse "Success/Failure" labels provided in the offline dataset. This step ensures that the dense rewards generated by the LLM are grounded in the actual outcomes of the environment. Finally, the agent is trained using Conservative Q-Learning (CQL) on this enriched dataset.
Experimental Results
The researchers evaluated COREN on two major embodied AI benchmarks: VirtualHome (VH) and ALFRED.
Performance and Efficiency
COREN demonstrated that a 117M parameter GPT-2 based policy could match or exceed the performance of 8B parameter models (such as LLaMA-3) acting as online agents. In the VirtualHome environment, COREN outperformed the strongest offline RL baseline (Self-Consistency) by 20% in Success Rate (SR). By moving the LLM out of the inference loop, the final agent is approximately 70x smaller and operates with near-zero latency.
Robustness to Domain Shift
A key strength of the COREN framework is its resilience to environment changes. In "Cross-Domain" tests where object locations were moved (e.g., moving a cereal box from a shelf to a desk), COREN’s performance remained stable. In contrast, standard LLM-based planners often failed because they could not reconcile their general commonsense with the new, specific layout of the simulation.
Ablation Studies
Ablation results confirmed that the combination of all three consistency filters—Contextual, Structural, and Temporal—is essential. Using any single filter in isolation resulted in significantly lower success rates, highlighting the necessity of a multi-faceted approach to grounding LLM knowledge.
Conclusion
COREN provides a robust methodology for distilling the vast knowledge of LLMs into small, efficient, and grounded embodied agents. By treating the LLM as a reward teacher and implementing rigorous consistency checks, the framework overcomes the traditional pitfalls of LLM hallucinations and sparse rewards in offline reinforcement learning. Future work may explore the application of COREN in non-stationary environments where the rules and layouts change dynamically over time.
Summary updated