Research map / Large language models / Agents, code and math
FLAP: Flow-Adhering Planning with Constrained Decoding in LLMs
Shamik Roy, Sailik Sengupta, Daniele Bonadiman, Saab Mansour, Arshit Gupta
Amazon
Read the paperPlace an idea next to itCheck your own paper ↗
14measured effects
9improved
1no clear effect
4hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| apply FLAP constrained decoding with lookahead | Mpt-7b-instruct · all flows in-context | avg % inconsistent APIs: 29.6% -> 1.3% (FLAP.1) | Improved |
| apply FLAP constrained decoding with lookahead | Mistral-7b-instruct · all flows in-context | avg % inconsistent APIs: 40.3% -> 3.6% (FLAP.3) | Improved |
| apply FLAP constrained decoding with lookahead | Mistral-7b-instruct · all flows in-context | avg % inconsistent steps: 3.1% -> 4.8-6.5% (+2-4%) | Hurt |
| apply FLAP structural constraint F_st (ablation) | FLAP · all flows in-context | % plans parsable: 97.7% -> 100% (Mpt) | Improved |
| use beam search or nucleus sampling instead of greedy search (ablation) | Mpt-7b-instruct (thoughts) · all flows in-context | % plans parsable: 97.7% -> 70.8% (beam), 76.9% (nucleus) | Hurt |
| add thoughts to plan prompts (ablation) | LLMs (zero-shot) · faithful planning | flow faithfulness | Improved |
| add thoughts to plan prompts (ablation) | LLMs (zero-shot) · faithful planning | API hallucination / repetition | Hurt |
| provide only the relevant flow in-context instead of all flows (ablation) | LLMs (zero-shot) · faithful planning | plan quality | Improved |
| add H_th:step (thought-to-flow-step alignment) (ablation) | FLAP on Mpt-7b-instruct · all flows in-context | avg % inconsistent steps: 6.3% (FLAP.1, dropped) vs 4.3% (FLAP.2) | Improved |
| add H_th:in (thought-to-intent alignment) (ablation) | FLAP on Mpt-7b-instruct · all flows in-context | avg # edits for steps: FLAP.2 5.7 -> FLAP.3 5.0 | Improved |
| add H_th:in or H_th:step on Mistral (ablation) | FLAP on Mistral-7b-instruct · all flows in-context | edits / inconsistency | No clear effect |
| add thought-to-API alignment H_th:api (ablation) | FLAP · all flows in-context | thought-API coherence | Improved |
Open problems in long-horizon LLM agents
Do long-horizon LLM agents hold up with real users, real robots, other languages and modalities, and judges other than LLMs?
- Agents are tested on text only, without images, audio or video. · 16 papers state it
- Results come from one or two languages and mostly Western settings. · 14 papers state it
- Simulated users and synthetic dialogues stand in for real people. · 12 papers state it
Closest papers by meaning
- Plan-and-Act: Improving Planning of Agents for Long-Horizon Tasks (ICML 2025 · similarity 0.88)
- ShortcutsBench: A Large-Scale Real-world Benchmark for API-based Agents (ICLR 2025 · similarity 0.87)
- From an LLM Swarm to a PDDL-empowered Hive: Planning Self-executed Instructions in a Multi-modal Jungle (ICLR 2025 · similarity 0.87)
- Agentic Plan Caching: Test-Time Memory for Fast and Cost-Efficient LLM Agents (NeurIPS 2025 · similarity 0.87)
- LLMs Can Plan Only If We Tell Them (ICLR 2025 · similarity 0.87)
- ToolChain*: Efficient Action Space Navigation in Large Language Models with A* Search (ICLR 2024 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.