arXiv:2610.24928cs.AIOct 2026

Manuscript Offprint

arXiv:2610.24928

Means-Ends Analysis Helps LLMs Plan in Continuous-State Domains

Jiayi Li, Carl Kingsford

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

LLM planning research has traditionally focused on discrete-state domains, where actions form a finite, enumerable set. Existing LLM planning frameworks largely assume actions are enumerable, modeling planning as a search process over candidate actions. However, in continuous-state domains, where actions form a continuum and cannot be enumerated, this assumption breaks down. We find a remedy in Newell and Simon's Means-Ends Analysis (MEA), a general problem-solving technique rooted in heuristics from human psychology. We develop MEDAKA, an MEA-inspired structured prompting framework that encourages recursive goal decomposition, algebraic derivation, and per-step state tracking. To evaluate native LLM planning abilities in continuous-state domains, we develop LIQUIDWORLD, a systematic testbed on liquid mixing. On LIQUIDWORLD, MEDAKA can improve performance across model families, suggesting that classical means-ends analysis elicits LLM-native reasoning abilities that are helpful for continuous-state planning.

1 INTRODUCTION

Large language models (LLMs) have shown remarkable abilities across diverse domains, including commonsense reasoning (Zellers et al., 2019), mathematics (Wei et al., 2022), and code generation (Chen et al., 2021). These successes have prompted interest in applying LLMs to more complex cognitive tasks, such as planning (Valmeekam et al., 2023).

Existing methods for LLM planning are primarily developed for tasks with discrete states and enumerable actions (Valmeekam et al., 2023). These methods mainly build on an enumerate-and-rank assumption, where they model planning as searching actions over a discrete, enumerable space, and use techniques like state-aware backtracking (Sel et al., 2025) or external tree structures (Yao et al., 2023; Hao et al., 2023) to aid the search process. However, in many scenarios such as biochemical experimentation, states are continuous, and actions are no longer enumerable. Such a distinction requires LLM capabilities beyond search: while actions cannot be enumerated, they can often be derived algebraically, given a faithful representation of the current state and its deviation from the goal state. In this case, planning natively in such domains requires an LLM to (1) decompose goals into tractable subgoals, (2) faithfully track states across steps, and (3) perform accurate derivations at each step.

An answer to this challenge comes from classical Means-Ends Analysis (MEA) (Newell & Simon, 1995), a general problem-solving technique rooted in human psychology. MEA is structurally well-suited to continuous action spaces because it treats undetermined parameters not as candidates to be enumerated and ranked, but as gaps to be closed by reasoning about the constraints relevant to the current subgoal. Concretely, at each step, MEA (1) identifies a gap between the current state and subgoal, (2) proposes an operator (i.e., an action with potentially undetermined parameters) that would close it, (3) recursively resolves any precondition or parameter the operator leaves undetermined, treating each as a new subgoal, and (4) terminates when every parameter is determined. Because the gap is evaluated at each step, MEA also encourages state tracking: the state must be updated and re-examined after every operator application before the next subgoal is identified. In MEA, an undetermined parameter is a gap to be closed by accurately deriving a small system of equations linking the operator's parameters to a local subgoal, rather than requiring the LLM to reason about all constraints simultaneously.

Inspired by MEA, we develop MEDAKA, a structured prompting framework for LLM planning in continuous-state domains that encourages recursive goal decomposition and per-step state tracking. To isolate and evaluate LLM native planning abilities in continuous-state domains, we develop LIQUIDWORLD, a systematic testbed grounded in fluid mixing, a primitive operation to which numerous standard laboratory protocols (e.g., serial dilution, growth medium preparation, and buffer preparation) can be reduced. LIQUIDWORLD problems cover diverse structural characteristics, isolating key reasoning capabilities for planning in continuous-state domains (Table 1): nonlinearity of the mixing constraints, coupling of action parameters, and context length (number of goals and distractor vessels). On LIQUIDWORLD, MEDAKA can yield performance improvement over existing prompting frameworks for LLM planning across both closed-source (Claude (Anthropic, 2026), GPT (Hurst et al., 2024; Singh et al., 2025), Gemini (Google, 2025)) and open-source model families (Llama (Grattafiori et al., 2024), Gemma (Team et al., 2026)), suggesting that the enumerate-and-rank assumption shared by existing methods is mismatched with continuous-state planning, and that classical means-ends analysis offers a better structural fit. We make our code available at https://anonymous.4open.science/r/medaka_code-FFD0.

Our contributions are as follows:

• We identify continuous-state planning as a distinct challenge for LLM planning and characterize the enumerate-and-rank assumption as an architectural mismatch with this setting.

• We introduce LIQUIDWORLD, a systematic testbed for isolating and evaluating LLM native planning in continuous domains, covering diverse problem structures in fluid mixing.

• We propose MEDAKA, a structured prompting framework for LLM planning grounded in Means-Ends Analysis that encourages recursive goal decomposition and per-step state tracking, that can better elicit LLM native planning abilities on LIQUIDWORLD.