scimeatlas

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

NAACL 2024Large language models › Agents, code and mathapproach: Long-horizon LLM agentsopen problems in this approach25 citations (OpenAlex)

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 changedWhereMeasuredEffect
apply FLAP constrained decoding with lookaheadMpt-7b-instruct · all flows in-contextavg % inconsistent APIs: 29.6% -> 1.3% (FLAP.1)Improved
apply FLAP constrained decoding with lookaheadMistral-7b-instruct · all flows in-contextavg % inconsistent APIs: 40.3% -> 3.6% (FLAP.3)Improved
apply FLAP constrained decoding with lookaheadMistral-7b-instruct · all flows in-contextavg % 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 planningflow faithfulnessImproved
add thoughts to plan prompts (ablation)LLMs (zero-shot) · faithful planningAPI hallucination / repetitionHurt
provide only the relevant flow in-context instead of all flows (ablation)LLMs (zero-shot) · faithful planningplan qualityImproved
add H_th:step (thought-to-flow-step alignment) (ablation)FLAP on Mpt-7b-instruct · all flows in-contextavg % 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-contextavg # edits for steps: FLAP.2 5.7 -> FLAP.3 5.0Improved
add H_th:in or H_th:step on Mistral (ablation)FLAP on Mistral-7b-instruct · all flows in-contextedits / inconsistencyNo clear effect
add thought-to-API alignment H_th:api (ablation)FLAP · all flows in-contextthought-API coherenceImproved

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy