arXiv:2611.07825cs.AINov 2026

Manuscript Offprint

arXiv:2611.07825

Generate-then-Rank: Learning Symbolic Goal Interpretation for Embodied Agents

Jisen Lei, Huizhi Liang

Jisen Lei and Huizhi Liang

School of Computing, Newcastle University, Newcastle upon Tyne, United Kingdom leijisena@gmail.com

Abstract. Goal interpretation is to translate a natural language instruction into a formal symbolic goal that a planner can execute. It is critical for embodied agents because any error here propagates to every downstream planning and action step. Doing it well requires both generating suitable candidates and reliably selecting among them. We present a two-stage generate-then-rank approach to Goal Interpretation in the Embodied Agent Interface (EAI). First, supervised fine-tuning adapts a Large Language Model (LLM) to EAI's output convention. Second, Candidate-Output Ranking from Errors (CORE) learns preferences over complete outputs from the model's own generated alternatives. We conducted experiments on the household scenes of the Embodied Agent Interface Benchmark. Multiple open source LLMs including DeepSeek-V3 chat, DeepSeek-Reasoner, and Qwen2.5-7B and Qwen2.5-72B were evaluated. The proposed method outperformed the baseline models including LLMs with simple prompting, chain-of-thought, and knowledge graph based approaches.

Keywords: Embodied AI · Goal interpretation · Large language models · Candidate ranking.

1 Introduction

Large language models (LLMs) increasingly connect natural-language instructions to embodied planning and action [1, 12, 16]. Before planning, however, an agent must determine what terminal conditions constitute success. Goal interpretation is to translate a natural language instruction into a formal symbolic goal that a planner can execute. It is critical for embodied agents because any error here propagates to every downstream planning and action step. The Benchmark Embodied Agent Interface (EAI) [5] formalises this goal interpretation task as a mapping from a VirtualHome scene and instruction to object states, directed relations, and terminal actions [5, 7]. An omitted condition, unintended relation, or incompatible predicate argument can make downstream behaviour incomplete or infeasible even when the planner is otherwise correct.

For example, the instruction “wash dishes with dishwasher” in Fig. 1 requires the dishwasher to be CLOSED and ON and the directed relations ON(plate, dishwasher), ON(cup, dishwasher), and ON(dish_soap, dishwasher). Walking to the kitchen or opening the dishwasher is an intermediate step, not a terminal goal. A goal that omits ON(dish_soap, dishwasher) is still well formed, yet it is incomplete. A relation is also directed: ON(plate, dishwasher) is correct, whereas ON(dishwasher,

J. Lei and H. Liang

plate) is wrong. Well-formed output alone therefore does not ensure correct goal interpretation.

Direct generation provides a useful baseline [5], but the single output a model returns is not necessarily the best goal it can generate: sampling several outputs can yield a more complete goal. Task-specific supervised fine-tuning (SFT) can adapt an LLM to the required output format and sparse terminal-goal convention [8, 4]. SFT alone, however, optimises reference-token likelihood rather than an explicit preference between complete candidate goals. Sequence-level ranking has addressed related mismatches in text generation [6, 17]. Our candidate analysis motivates studying this mismatch for symbolic goal interpretation: a better goal may already be generated but remain unselected.

Our approach comprises two learned stages, shown in Fig. 1. Stage 1 is supervised fine-tuning for goal generation: it takes the scene and instruction and produces several complete candidate goals. Stage 2 is learning to rank candidate outputs, which we call Candidate-Output Ranking from Errors (CORE): it takes the input and its candidate pool, assigns every candidate a sequence score, and outputs the highest-scoring goal. CORE is learned rather than rule-based. During training it compares the model's own better and worse candidates and adjusts the scorer so that higher-quality complete Node-Edge-Action outputs receive higher scores, while a supervised anchor retains the reference target. Its contribution is the application of error-derived candidate ranking to symbolic goals, rather than a claim to invent supervised or preference learning.

Our main contributions are as follows: (i) a two-stage generate-then-rank approach that combines generation and ranking to improve goal interpretation with large language models; (ii) a training procedure that first applies supervised fine-tuning and then learns to rank candidates from the model's own errors with a contrastive objective; and (iii) experiments on the household scenes of the Embodied Agent Interface benchmark, comparing several LLMs and baselines that include supervised fine-tuning, candidate-level preference optimisation, and knowledge-graph-based methods.