mlsanityData to 7 Oct 2026

FLAP: Flow-Adhering Planning with Constrained Decoding in LLMs

arXiv 2403.05766 ↗First posted 9 Mar 2024cs.CLcited by 11

Not on the map. Why?

Abstract (arXiv)

Planning is a crucial task for agents in task oriented dialogs (TODs). Human agents typically resolve user issues by following predefined workflows, decomposing workflow steps into actionable items, and performing actions by executing APIs in order; all of which require reasoning and planning. With the recent advances in LLMs, there have been increasing attempts to use them for task planning and API usage. However, the faithfulness of the plans to predefined workflows and API dependencies, is not guaranteed with LLMs. Moreover, workflows in real life are often custom-defined and prone to changes; hence, adaptation is desirable. To study this, we propose the problem of faithful planning in TODs that needs to resolve user intents by following predefined flows and preserving API dependencies. To solve this problem, we propose FLAP, a Flow-Adhering Planning algorithm based on constrained decoding with lookahead heuristic for LLMs. Our algorithm alleviates the need for finetuning LLMs using domain specific (plan/dependency) data, enables quick adaptation to predefined flows, and outperforms other decoding and prompting-based baselines. Further, our algorithm empowers smaller LLMs (7B) to perform at par larger LLMs (30B-40B).

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 37 of its 65 references that are in the map. First posted on arXiv 9 Mar 2024.

Builds on

37 of 65 references.

References · 37

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  5. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  6. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  7. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  8. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
  9. 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
  10. 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 951
  11. 2019ALFRED: A Benchmark for Interpreting Grounded Instructions for Everyday Taskscited by 773
  12. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
25 more
  1. 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Casescited by 383
  2. 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 377
  3. 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 374
  4. 2022PlanBench: An Extensible Benchmark for Evaluating Large Language Models on Planning and Reasoning about Changecited by 372
  5. 2023On the Planning Abilities of Large Language Models : A Critical Investigationcited by 308
  6. 2016Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Modelscited by 299
  7. 2023GPT4Tools: Teaching Large Language Model to Use Tools via Self-instructioncited by 245
  8. 2017Lexically Constrained Decoding for Sequence Generation Using Grid Beam Searchcited by 234
  9. 2023ADaPT: As-Needed Decomposition and Planning with Language Modelscited by 172
  10. 2023SantaCoder: don't reach for the stars!cited by 169
  11. 2021NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristicscited by 153
  12. 2020NeuroLogic Decoding: (Un)supervised Neural Text Generation with Predicate Logic Constraintscited by 146
  13. 2021Action-Based Conversations Dataset: A Corpus for Building More In-Depth Task-Oriented Dialogue Systemscited by 73
  14. 2023Making Language Models Better Tool Learners with Execution Feedbackcited by 69
  15. 2023Confucius: Iterative Tool Learning from Introspection Feedback by Easy-to-Difficult Curriculumcited by 64
  16. 2023Prompt-Based Monte-Carlo Tree Search for Goal-Oriented Dialogue Policy Planningcited by 60
  17. 2020STAR: A Schema-Guided Dialog Dataset for Transfer Learningcited by 43
  18. 2017Generating High-Quality and Informative Conversation Responses with Sequence-to-Sequence Modelscited by 42
  19. 2020Best-First Beam Searchcited by 40
  20. 2020Visually-Grounded Planning without Vision: Language Models Infer Detailed Plans from High-level Instructionscited by 36
  21. 2022Neuro-Symbolic Procedural Planning with Commonsense Promptingcited by 28
  22. 2021Understanding Multimodal Procedural Knowledge by Sequencing Multimodal Instructional Manualscited by 18
  23. 2023GEAR: Augmenting Language Models with Generalizable and Efficient Tool Resolutioncited by 17
  24. 2022AnyTOD: A Programmable Task-Oriented Dialog Systemcited by 10
  25. 2023Measuring and Mitigating Constraint Violations of In-Context Learning for Utterance-to-API Semantic Parsingcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 5; 2026: 3.

11 papers.