TLDR: CoFineLLM is a novel framework that fine-tunes Large Language Models (LLMs) for robot planning by integrating Conformal Prediction directly into the training process. This approach significantly reduces the size of prediction sets generated by LLMs, leading to fewer instances where human intervention is required, while still guaranteeing the correctness of robot actions with a user-defined confidence. The method was shown to improve help rates and verification rates in robot planning tasks, even in out-of-distribution scenarios and hardware experiments.
Large Language Models (LLMs) have shown great promise in guiding robots to perform tasks based on natural language instructions. Imagine telling a robot, “pick up the yellow ball,” and it understands and executes a sequence of actions. However, a significant challenge with these LLM-powered robot planners is their reliability. They often produce outputs that seem confident but are actually incorrect, especially for longer, more complex tasks. This can lead to frequent situations where a human needs to step in and correct the robot, limiting its autonomy.
To address this, researchers have turned to a technique called Conformal Prediction (CP). CP helps by taking the LLM’s suggested actions and wrapping them into a “prediction set.” This set is guaranteed to contain the correct action with a user-defined level of confidence. If the prediction set contains only one action, the robot can confidently execute it. But if the set contains multiple possible actions, it signals uncertainty, and the robot asks for human help to choose the right one. While this approach ensures the robot’s plans are correct with a high probability, LLMs are typically trained without considering these prediction sets. As a result, they often generate unnecessarily large sets, especially when higher confidence is required, leading to too many requests for human intervention.
This is where CoFineLLM, or Conformal Finetuning for LLMs, comes in. Developed by Jun Wang, Yevgeniy Vorobeychik, and Yiannis Kantaros from Washington University in St. Louis, CoFineLLM is the first framework designed to fine-tune LLM-based planners specifically with Conformal Prediction in mind. Its main goal is to reduce the size of these prediction sets, thereby decreasing the need for human help, while still maintaining the crucial guarantee that the correct action is included with the specified confidence.
How CoFineLLM Works
The core idea behind CoFineLLM is to integrate the conformalization process directly into the LLM’s training. Instead of applying CP only after the model is trained, CoFineLLM “simulates” this process during training. It uses a novel loss function that combines two objectives: improving the model’s overall accuracy (like standard training) and penalizing prediction sets that are larger than necessary, but only when the correct action is already present in the set. This clever design encourages the model to first learn to be accurate, and then, once it’s making correct predictions, to make those predictions as precise as possible by reducing the set size.
The framework uses techniques like Low-Rank Adaptation (LoRA) for efficient fine-tuning and a curriculum-based training scheme, where the model gradually learns more complex tasks. This ensures stable learning, even when starting with a pre-trained LLM that might initially be overconfident or incorrect.
Key Findings and Benefits
CoFineLLM was evaluated on various language-instructed robot planning problems, specifically in a grid-world environment where robots perform tasks like navigating to objects, picking them up, or placing them next to others. The results were very promising:
- It consistently reduced the “help rate” (the percentage of time steps requiring human assistance) significantly compared to traditional training methods and other uncertainty-aware baselines.
- It increased the “verification rate” (the percentage of missions completed without any human intervention), meaning robots could operate more autonomously.
- The method proved robust, maintaining its benefits even when tested with different confidence levels than those used during training, demonstrating strong generalization.
- Crucially, CoFineLLM also showed robustness in “out-of-distribution” scenarios, where the robot faced environments and objects different from those it was trained on. This was even demonstrated in real-world hardware experiments using a TurtleBot3 Waffle-Pi robot, navigating a miniature urban environment.
One notable observation was that other uncertainty-informed training methods struggled because pre-trained LLMs often start by being overconfident yet wrong. CoFineLLM’s unique loss function, which includes a standard accuracy term, helps mitigate this issue, allowing for more effective learning.
Also Read:
- Enhancing Robot Planning with Vision Language Models: Insights on Adaptive Strategies
- Multimodal Diffusion Forcing: A Unified AI Framework for Robust Robot Manipulation
Towards More Autonomous Robots
In conclusion, CoFineLLM represents a significant step forward in making language-instructed robot planning more reliable and autonomous. By explicitly teaching LLMs to be aware of and minimize uncertainty during training, it reduces the need for human intervention while ensuring the robot’s plans remain probabilistically correct. This work paves the way for more capable and trustworthy AI agents in robotics. You can find the full research paper here: CoFineLLM: Conformal Finetuning of Large Language Models for Language-Instructed Robot Planning.


