NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PrefCLM: Enhancing Preference-Based Reinforcement Learning With Crowdsourced Large Language Models

Ruiqi Wang, Dezhong Zhao, Ziqin Yuan, Ike Obi, Byung-Cheol Min · DOI

This paper, recently accepted to IEEE Robotics and Automation Letters, presents a clever way to train robots without the headache of manual reward engineering or the exhaustion of providing thousands of human feedback labels.

TL;DR

PrefCLM uses a "crowd" of Large Language Models (LLMs) to act as synthetic teachers for robots, generating nuanced preference labels for reinforcement learning. By fusing multiple LLM evaluations using Dempster-Shafer Theory and allowing for real-time natural language refinements from humans, the framework achieves expert-level performance while producing more natural, personalized robot behaviors.

What Problem Does This Paper Address?

Reinforcement Learning (RL) typically requires a "reward function"—a mathematical formula that tells the robot when it’s doing a good job. Crafting these is notoriously difficult; if you get it slightly wrong, the robot might "reward hack" (e.g., a robot hand might vibrate near a button to get points instead of actually pressing it).

Preference-based RL (PbRL) solves this by asking humans to compare two robot attempts and say which is better. While effective, PbRL is data-hungry, often requiring thousands of human comparisons. Previous attempts to automate this used "scripted teachers" (pre-programmed rules), but these are just reward functions in disguise—they are static, lack nuance, and can't adapt to individual user preferences in Human-Robot Interaction (HRI).

Methods

The authors introduce PrefCLM, a framework that treats LLMs as a diverse panel of expert judges.

  1. LLM-based Evaluation Sampling: Instead of asking an LLM to judge every single frame, they ask a "crowd" of LLMs to write Python code (evaluation functions). These functions look at the entire robot trajectory to score performance based on criteria like "smoothness," "efficiency," and "goal progress."
  2. Few-shot Alignment: To ensure the LLMs "get" what the user wants, the system can filter these generated functions by comparing their scores against a tiny set of human-provided examples using cosine similarity.
  3. Dempster-Shafer Theory (DST) Fusion: This is the core innovation. Rather than a simple majority vote, PrefCLM uses DST to fuse the scores from multiple LLM agents. This mathematical framework is specifically designed to handle uncertainty and conflict between different "judges," leading to a more robust final preference label.
  4. Human-in-the-Loop (HITL) Refinement: During training, a human can watch the robot and provide natural language feedback (e.g., "The path is too direct; I prefer a more natural, curved path"). The LLM crowd then updates its evaluation code to reflect this new preference.

Datasets

The framework was evaluated on several standard benchmarks and a custom real-world setup:

  • Locomotion (DeepMind Control Suite): Walker, Cheetah, and Quadruped tasks.
  • Manipulation (Meta-World): Button Press, Door Unlock, and Drawer Open.
  • Real-World HRI: A "Feeding Task" using a Kinova Jaco assistive robot arm, where the robot must deliver food via a spoon to a human user.

Key Insights and Ideas

  • The Wisdom of the (LLM) Crowd: Even using the same LLM model (like GPT-4o) multiple times results in diverse evaluation criteria. One "agent" might focus on speed, while another focuses on balance. Fusing these perspectives creates a more "human-like" and holistic teacher.
  • Beyond Markovian Rewards: Traditional reward functions usually only look at the current state. Because LLMs generate code that can process the entire history of a movement, they can reward complex qualities like "intent" or "caution" that are hard to capture frame-by-frame.
  • Emergent Naturalism: In the "Cheetah" task, robots trained by scripted teachers often developed weird, jerky hopping gaits. PrefCLM-trained robots developed a more fluid, two-legged running style that looked significantly more like a real animal.

Key Results

  • Competitive Performance: PrefCLM matched or outperformed expert-engineered scripted teachers across most simulation tasks.
  • Superior to Single-LLM Baselines: It significantly outperformed "PrefEVO" (an evolutionary approach using a single LLM), proving that the "crowdsourcing" and fusion approach is more stable.
  • User Satisfaction: In the real-world feeding study (N=10), users reported significantly higher satisfaction and felt the robot was better "personalized" to their specific requests compared to the baselines.
  • Scalability: Performance generally improved as the number of LLM agents in the crowd increased, though it started to plateau around 10–20 agents.

Limitations and Future Work

  • Abstraction Dependency: The system relies on a "Pythonic environment abstraction"—a text description of the robot's world. If this description is poor, the LLM's evaluation code will be too.
  • Computational Cost: Running a "crowd" of LLMs is more expensive than a single script, though the authors mitigate this by generating code once and running it locally, rather than calling the LLM API for every single comparison.
  • Future Directions: The authors suggest exploring "intra-agent communication" (letting the LLMs debate each other) and moving toward Vision-Language Models (VLMs) so the "crowd" can watch video of the robot directly instead of reading text data.

Summary updated

BibTeX
@article{wang2025prefclm,
  author = {Ruiqi Wang and Dezhong Zhao and Ziqin Yuan and Ike Obi and Byung-Cheol Min},
  title = {{PrefCLM: Enhancing Preference-Based Reinforcement Learning With Crowdsourced Large Language Models}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  doi = {10.1109/lra.2025.3528663},
}
Figure