Type-Compliant Adaptation Cascades: Adapting Programmatic LM Workflows to Data
Chu-Cheng Lin, Daiyi Peng, Yifeng Lu, Ming Zhang, Eugene Ie

TL;DR
This paper introduces Type-Compliant Adaptation Cascades (TACs), a framework that improves the reliability and compliance of complex LLM workflows by learning typed probabilistic programs, significantly outperforming prompt-optimization baselines.
Contribution
The paper presents TACs, a novel approach that recasts workflow adaptation as learning typed probabilistic programs, enabling principled training and improved task compliance.
Findings
TACs outperform state-of-the-art prompt-optimization baselines.
Significant improvements on structured tasks, e.g., FinQA and MGSM.
Theoretical proof that optimization bias vanishes with learning type compliance.
Abstract
Reliably composing Large Language Models (LLMs) for complex, multi-step workflows remains a significant challenge. The dominant paradigm -- optimizing discrete prompts in a pipeline -- is notoriously brittle and struggles to enforce the formal compliance required for structured tasks. We introduce Type-Compliant Adaptation Cascades (TACs), a framework that recasts workflow adaptation as learning typed probabilistic programs. TACs treat the entire workflow, which is composed of parameter-efficiently adapted LLMs and deterministic logic, as an unnormalized joint distribution. This enables principled, gradient-based training even with latent intermediate structures. We provide theoretical justification for our tractable optimization objective, proving that the optimization bias vanishes as the model learns type compliance. Empirically, TACs significantly outperform state-of-the-art…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques
