CoFineLLM: Conformal Finetuning of LLMs for Language-Instructed Robot Planning

Jun Wang, Yevgeniy Vorobeychik, Yiannis KantarosarXiv 2025 · DOI

TL;DR

CoFineLLM is a novel finetuning framework that makes Large Language Models (LLMs) "conformal-aware" for robot planning. By optimizing for smaller, precise action sets while maintaining safety guarantees, it reduces the frequency of robots needing human assistance by over 23% without sacrificing plan correctness.

Introduction: The Challenge of LLM Autonomy

Large Language Models (LLMs) are increasingly deployed as high-level planners for robots, translating complex natural language instructions into actionable sequences. However, LLMs are prone to overconfidence and hallucinations. To mitigate these risks, researchers employ Conformal Prediction (CP), which generates a prediction set of actions guaranteed to contain the correct step with a user-defined probability (e.g., 95%).

While CP ensures safety, it often compromises autonomy. If the prediction set contains multiple actions, the robot is considered "unsure" and must request human assistance. Standard LLMs, not trained with CP in mind, frequently produce unnecessarily large sets, leading to a high "help rate" that hinders long-horizon autonomous tasks.

Example of a language-instructed robot planning task in the BabyAI-Text environment.

The CoFineLLM Framework

CoFineLLM addresses this by integrating conformal logic directly into the model's training loop. The framework consists of several key components:

1. Conformal-Aware Loss Function

Beyond standard Cross-Entropy loss, CoFineLLM introduces a Conformal Regularizer ($L_{CP}$). This term penalizes the model when "rival" (incorrect) actions have confidence scores too close to the correct action. By widening the gap between the ground truth and alternatives, the model is encouraged to produce singleton prediction sets at test time.

2. Simulated Conformalization and LoRA

During training, the algorithm periodically calculates the conformal threshold ($\delta$) using a calibration dataset. This allows the model to adapt its weights based on the actual prediction sets it will generate. To maintain efficiency and reasoning capabilities, the authors use Low-Rank Adaptation (LoRA) to finetune models such as Gemma-3-1B.

3. Curriculum Learning

Training stability is managed through a phased approach, starting with simple "GoTo" tasks before progressing to complex "PutNext" instructions.

Experimental Results

The researchers evaluated CoFineLLM using the BabyAI-Text grid-world environment and real-world hardware tests with a TurtleBot3 Waffle-Pi.

Quantitative performance comparison between standard finetuning (UA) and CoFineLLM.

As shown in the results, CoFineLLM significantly improves robot autonomy:

  • Reduced Human Burden: The help rate dropped by 23.67% compared to uncertainty-agnostic (UA) finetuning.
  • Increased Autonomy: The verification rate (missions completed entirely without human help) rose by 21.05%.
  • Safety Guarantees: Crucially, the model maintained the required 95% coverage (success probability) mandated by the CP framework.
  • Robustness: The model demonstrated strong generalization to out-of-distribution (OOD) hardware environments, maintaining performance even when visual and spatial configurations differed from the training simulator.

Conclusion and Future Work

CoFineLLM represents a significant step toward making LLM-based robot planners both safe and efficient. By making models "conformal-aware," the framework minimizes the need for human oversight. Future research will focus on extending this approach to continuous action spaces and highly dynamic environments where the optimal action may shift rapidly.

Summary updated

BibTeX
@misc{wang2025cofinellm,
  author = {Jun Wang and Yevgeniy Vorobeychik and Yiannis Kantaros},
  title = {{CoFineLLM: Conformal Finetuning of LLMs for Language-Instructed Robot Planning}},
  year = {2025},
  eprint = {2511.06575},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.06575},
}
Figure