A teacher model follows a workflow diagram to generate training dialogues. Each workflow gets its own fine-tuned language model.
How it works
- Preparation and training
- For travel booking, the authors fine-tuned all weights of Qwen2.5-3B on 1,912 dialogues. The trained model follows the procedure without seeing the diagram.
Cite this work
@misc{compiling-agentic-workflows,
title = {{Compiling Agentic Workflows into LLM Weights: Near-Frontier Quality at Two Orders of Magnitude Less Cost}},
author = {Dennis, Simon and Patil, Rivaan and Shabahang, Kevin and Guo, Hao},
year = {2026},
date = {2026-05-22},
eprint = {2605.22502},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2605.22502}
}