# Design and Evaluation of LLM Chaining-Based Task Planning for General Purpose Service Robots

Robotics.world

> GPSR tasks require a robot to interpret unconstrained natural-language commands and turn them into correct, multi-step action sequences in a home environment.

**arXiv**: 2609.29043 · Preprint · not peer-reviewed

**Published**: 2026-09-24

**Authors**: Lucas Da Mota Bruno, Jiahao Sim, Yoshinobu Hagiwara

## In plain words

GPSR tasks require a robot to interpret unconstrained natural-language commands and turn them into correct, multi-step action sequences in a home environment.

## Key results

- **Planning success does not guarantee task completion.** On the HSR, planning succeeded in all 10 tasks, but only 6 completed successfully.
- Recognition was the dominant failure layer, and no manipulation-layer failures occurred across the 10 trials — though the authors caution the small sample may explain the latter.

## AI summary

## Overview

**Research area:** Robot task planning with large language models (LLM-based planning for service robots), evaluated on the RoboCup@Home General Purpose Service Robot (GPSR) benchmark.

**Technical level:** Intermediate. Readers should be comfortable with LLM prompting concepts (few-shot prompting, context windows) and basic robot task planning, but the paper is written in accessible engineering prose.

**Scope (one sentence):** The paper proposes and evaluates a two-stage "LLM chaining" architecture — an Instruction Classifier followed by a category-specific Action Generator — as a replacement for single monolithic prompts in GPSR task planning, benchmarked on 100 commands across three models and validated on a Toyota Human Support Robot (HSR).

## What This Paper Is About

GPSR tasks require a robot to interpret unconstrained natural-language commands and turn them into correct, multi-step action sequences in a home environment. The prevailing approach packs all task knowledge — function definitions, environment constraints, examples — into one large prompt, which grows quickly, slows inference, can exhaust memory on local hardware, and causes models to ignore instructions buried in the middle of long contexts (the "Lost in the Middle" phenomenon). The paper's goal is to restructure planning into two shorter, specialized LLM calls so that no single prompt has to carry the full task knowledge, and then to check whether better plans actually translate into completed robot tasks.

## Key Contributions

1. **A two-stage LLM chaining architecture** that decomposes GPSR planning into an Instruction Classifier (routing a command to one of 28 task categories) and an Action Generator (producing steps from a schema specific to that category), reducing per-inference context length by approximately 45%.
2. **A 100-command planning benchmark** of randomly generated GPSR commands spanning all 28 categories, evaluated on three models — Qwen2.5-14B and Cogito-14B (local, open-source) and Claude Sonnet 4.6 (frontier, cloud) — under both single-prompt and chaining conditions.
3. **A real-robot execution analysis on the HSR** (10 tasks in a four-room, 14-location laboratory arena) that identifies execution-layer failures, rather than planning failures, as the primary remaining bottleneck.
4. **An extension of the authors' earlier study** (which validated the chaining structure on 15 tasks and three models) to a larger benchmark that includes a frontier cloud model.

## Main Findings

- **Chaining beats single prompting on every model tested.** Planning success rate rose from 7% to 33% for Qwen2.5-14B (+26 percentage points), from 17% to 54% for Cogito-14B (+37 pp), and from 81% to 88% for Claude Sonnet 4.6 (+7 pp).
- **Gains are largest on small local models.** The same +26 to +37 pp margin was observed at the 15-task scale in the authors' earlier study, suggesting the effect is stable as the benchmark grows.
- **Prompt length drops substantially.** The Stage 2 action-generation context averages 992 tokens versus approximately 1,802 tokens for the single prompt (about 45% reduction); the Stage 1 classifier runs in a separate context of approximately 1,168 tokens, so neither stage accumulates the other's prompt. The paper notes this is a per-inference reduction and that total task-level token usage was not evaluated.
- **Chaining sustains longer plans.** Mean steps to end increased from 6.1 to 10.9 (Cogito), 7.2 to 9.9 (Qwen), and 11.2 to 13.8 (Claude), indicating that single-prompt runs terminate early rather than producing complete-but-wrong plans.
- **Cumulative efficiency curves favor chaining where it matters.** The AUC-E gain was +0.240 for Cogito and +0.190 for Qwen, while frontier values were nearly equal (0.592 vs. 0.585).
- **Single-prompt failures cluster into three modes:** omitted required function arguments, violated ordering constraints encoded in the schema, and mid-sequence output collapse into free-form text. A worked example shows a single-prompt plan issuing `Pass()` without first navigating back to the instruction point, releasing the object at the table instead of delivering it.
- **Format-valid is not the same as complete.** Manual review found that the frontier model's single-prompt "successes" frequently omitted schema-required intermediate steps, passing automated format checks while producing incomplete sequences.
- **Planning success does not guarantee task completion.** On the HSR, planning succeeded in all 10 tasks, but only 6 completed successfully. The four incomplete tasks failed at the execution layer: two recognition failures (SAM 3 returned no mask for a green-tea bottle under ambient lighting; shirt-color-based person identification did not converge within a 30 s search window) and one navigation failure where localization drift left the robot offset from its goal.
- **Recognition was the dominant failure layer, and no manipulation-layer failures occurred** across the 10 trials — though the authors caution the small sample may explain the latter.

## Methodology in Plain English

The researchers split what is normally one big LLM prompt into two smaller, sequential conversations with the model.

First, a **classifier** reads the raw command and outputs exactly one of 28 task categories. Those categories were derived by studying commands produced by the RoboCup@Home Japan Command Generator and iteratively refining until the set covered the required robot behaviors. The classifier prompt uses few-shot examples plus explicit disambiguation rules for the hardest boundaries — for example, delivering to a named person versus a person identified by a visual feature versus a person performing a gesture. It is forbidden from outputting anything except the category name.

Second, an **action generator** loads the action schema for only that one category and emits robot function calls one step at a time, in an observe → generate → execute → feedback loop. The generator never sees the action plans of the other 27 categories. Shared function and location lists bound what it can emit, and category-specific ordering constraints are stated inline instead of being buried among rules for unrelated tasks. Stop tokens are injected at function-call boundaries to prevent multi-step hallucination.

For the planning benchmark, the team took 100 randomly generated GPSR commands covering all 28 categories, with no overlap with the few-shot examples, and objects drawn from the RoboCup@Home Japan 2026 DSPL list (43 items across six categories). Each of the three models ran under both the single-prompt and chaining conditions. Local models ran on a laptop with an Intel Core i7-12700H and an NVIDIA RTX 3080 Ti (16 GB); the cloud model was accessed via API. Crucially, in the chaining condition the task category was supplied from ground-truth labels rather than predicted by the classifier, isolating action generation from classification error.

Success was scored strictly: a task counted only if the full sequence was generated without format collapse, undefined function calls, hallucinated arguments, or ordering violations, and was then manually reviewed to filter out semantically incomplete plans. Two supporting metrics were used: AUC-E, which integrates cumulative success over an increasing step budget, and steps to end, the mean number of steps before a run terminates.

Finally, 10 tasks were executed on a Toyota HSR in a laboratory reproduction of the GPSR arena — four rooms, 14 furniture locations, one fixed instruction point — with object perception handled by SAM 3 used directly as a text-promptable detector, and person detection and gesture recognition on a parallel YOLO11n-pose branch. Failures were labeled as Recognition, Navigation, or Manipulation.

## Why This Matters

**Impact on research.** The paper reframes a common assumption: that better LLM plans automatically mean better robots. By holding planning constant and measuring execution, it shows a measurable gap between plan validity and task completion, and it offers a structural (rather than purely prompt-engineering) fix for the context-bloat and Lost-in-the-Middle problems. The finding that chaining helps small local models far more than frontier models (+37 pp vs. +7 pp) is directly relevant to anyone deploying models on robot hardware without reliable cloud access.

**Real-world applications.**

- **Home and eldercare service robots** that must respond to unconstrained spoken requests ("bring me the cola from the table") without a network connection.
- **Warehouse and logistics assistants** where long-horizon fetch-and-deliver tasks repeat many times and per-request cloud API costs accumulate.
- **Field, disaster, and inspection robots** operating in venues with unreliable connectivity, where dependence on a cloud API is itself a reliability risk.
- **Competition and benchmarking teams** in RoboCup@Home-style settings, where the 28-category decomposition and the modular schema structure could be reused as a planning scaffold.

**Industry relevance.** The architecture is a pragmatic deployment pattern: it lowers memory pressure on edge GPUs, cuts latency per inference, and avoids recurring API costs — all arguments that matter to companies commercializing service robots. The clear separation between a classification stage and a schema-driven action stage also makes the system easier to audit and extend than a single monolithic prompt.

## Future Directions

- **Route execution feedback back into planning.** The authors propose feeding execution logs back to trigger targeted re-planning at either the classification or action-generation stage. Concrete triggers are already identified: an empty detection or an expired search window could prompt the Action Generator to try another sub-location instead of terminating the task.
- **Measure end-to-end performance including classification.** Because the benchmark supplied ground-truth categories, the reported gains are an upper bound; Stage 1 accuracy on the same 100 commands has not been measured.
- **Scale up and diversify the evaluation.** The study covers three models and a single command source, and the real-robot evaluation is 10 trials in one laboratory — enough to identify failing layers but not to estimate failure rates.
- **Validate and broaden the category taxonomy.** The 28 categories came from iterative refinement over observed commands rather than an independent procedure, so coverage of unseen GPSR phrasings remains to be verified. The authors also point toward combining a staged planner with adaptive learned execution policies so that systems improve from their own failures rather than repeat them.

## Target Audience

Robotics researchers and engineers working on LLM-based task planning and service-robot deployment; RoboCup@Home teams; practitioners deploying LLMs on edge hardware who care about context length, latency, and cost; and students or engineers entering the field who want a concrete, well-measured case study of how prompt architecture interacts with real robot execution. Readers without any background in LLM prompting or robot planning will find the paper harder going, but the core argument — that splitting a prompt into two shorter, specialized prompts outperforms one large one, and that even good plans fail on perception and localization — is broadly accessible.

## Authors’ abstract

General Purpose Service Robot (GPSR) tasks, as defined in the RoboCup@Home benchmark, require robots to interpret diverse natural language commands and generate multi-step action sequences in real home environments. Conventional Single Prompt (SP) approaches suffer from context bloat and the "Lost in the Middle" phenomenon, leading to unreliable task planning. We propose an LLM chaining architecture that separates instruction classification and action generation into two…

[The full abstract on arXiv](https://arxiv.org/abs/2609.29043)

[Read the original paper](https://arxiv.org/abs/2609.29043)

## Related papers

- [Pixel: A Co-Designed Full-Stack Robot System for Learning General-Purpose Mobile Manipulation](https://robotics.world/paper/pixel-a-co-designed-full-stack-robot-system-for-learning-general-2611.03648) 2026-11-02 · cs.RO · Key terms of the title in common
- [WRAP: Fixtureless Wrench-aware Multi-Robot Assembly Planning](https://robotics.world/paper/wrap-fixtureless-wrench-aware-multi-robot-assembly-planning-2609.29407) 2026-09-24 · cs.RO · Key terms of the title in common
- [Pairwise Approximation Can Select the Wrong Multi-Robot Plan](https://robotics.world/paper/pairwise-approximation-can-select-the-wrong-multi-robot-plan-2609.29929) 2026-09-24 · cs.RO · Key terms of the title in common
- [MR. POP: Multi-Robot Parallel Optimizing Planner for Almost-Surely Asymptotically Optimal Planning](https://robotics.world/paper/mr-pop-multi-robot-parallel-optimizing-planner-for-almost-surely-2609.30644) 2026-09-25 · cs.RO · Key terms of the title in common
- [Anatomy-Aware Dexterity-Driven Design Optimization of Surgical Continuum Robots](https://robotics.world/paper/anatomy-aware-dexterity-driven-design-optimization-of-surgical-2609.30745) 2026-09-25 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/design-and-evaluation-of-llm-chaining-based-task-planning-for-general-2609.29043
