mlsanityData to 14 Oct 2026

Type-Compliant Adaptation Cascades: Adapting Programmatic LM Workflows to Data

arXiv 2508.18244 ↗First posted 25 Aug 2025cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

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 prompt-optimization baselines. Gains are particularly pronounced on structured tasks, improving FinQA from 12.0% to 24.7% for a Qwen 3 8B model, MGSM-SymPy from 57.1% to 75.9% for a Gemma 2 27B model, MGSM from 1.6% to 27.3%, and MuSR from 36.5% to 62.6% for a Gemma 7B model. TACs offer a robust and theoretically grounded paradigm for developing reliable, task-compliant LLM systems.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 43 of its 64 references that are in the map. First posted on arXiv 25 Aug 2025.

Builds on

43 of 64 references.

References · 43

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2017Proximal Policy Optimization Algorithmscited by 15,215
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2025Qwen3 Technical Reportcited by 8,820
  6. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  7. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  8. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  9. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  10. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  11. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  12. 2019The Curious Case of Neural Text Degenerationcited by 2,916
31 more
  1. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,988
  2. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  3. 2022STaR: Bootstrapping Reasoning With Reasoningcited by 940
  4. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
  5. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
  6. 2021FinQA: A Dataset of Numerical Reasoning over Financial Datacited by 562
  7. 2022Language Models are Multilingual Chain-of-Thought Reasonerscited by 530
  8. 2018Pyro: Deep Universal Probabilistic Programmingcited by 380
  9. 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLPcited by 318
  10. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 291
  11. 2024To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoningcited by 263
  12. 2024ReFT: Reasoning with Reinforced Fine-Tuningcited by 239
  13. 2023MuSR: Testing the Limits of Chain-of-thought with Multistep Soft Reasoningcited by 201
  14. 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 197
  15. 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
  16. 2014Neural Variational Inference and Learning in Belief Networkscited by 117
  17. 2022Prompting Is Programming: A Query Language for Large Language Modelscited by 110
  18. 2024Guiding LLMs The Right Way: Fast, Non-Invasive Constrained Generationcited by 101
  19. 2024XGrammar: Flexible and Efficient Structured Generation Engine for Large Language Modelscited by 75
  20. 2014Reweighted Wake-Sleepcited by 66
  21. 2018An Introduction to Probabilistic Programmingcited by 63
  22. 2015Structured Prediction Energy Networkscited by 59
  23. 2020Limitations of Autoregressive Models and Their Alternativescited by 55
  24. 2024Fine-Tuning and Prompt Optimization: Two Great Steps that Work Better Togethercited by 40
  25. 2024On the Worst Prompt Performance of Large Language Modelscited by 38
  26. 2023Neurosymbolic Models for Computer Graphicscited by 28
  27. 2017Deep Probabilistic Programmingcited by 24
  28. 2021PyGlove: Symbolic Programming for Automated Machine Learningcited by 19
  29. 2024MORL-Prompt: An Empirical Analysis of Multi-Objective Reinforcement Learning for Discrete Prompt Optimizationcited by 16
  30. 2018Neural Particle Smoothing for Sampling from Conditional Sequence Modelscited by 7
  31. 2023Long-Form Speech Translation through Segmentation with Finite-State Decoding Constraints on Large Language Modelscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.