NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

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

Jisen Lei, Huizhi LiangarXiv 2026

TL;DR

This paper introduces a two-stage generate-then-rank framework to help embodied agents translate natural language instructions into precise symbolic goals. By combining supervised fine-tuning with a novel contrastive ranking method called CORE (Candidate-Output Ranking from Errors), the authors demonstrate that agents can significantly improve their goal interpretation by learning to select the best candidate from a pool of generated options, outperforming much larger models and knowledge-graph-based baselines.

What Problem Does This Paper Address?

For an embodied agent (like a household robot) to succeed, it must first understand its "terminal conditions"—what the world should look like once a task is done. This process, called goal interpretation, involves mapping a natural language command (e.g., "wash the dishes") into a formal symbolic goal consisting of object states, relations, and terminal actions.

The challenge is that goal interpretation is brittle. A single omitted condition (forgetting to turn the dishwasher ON) or a reversed relation (saying the dishwasher is ON the plate instead of the plate being IN the dishwasher) makes the downstream plan fail. Standard Large Language Models (LLMs) often struggle with this because they are trained to predict the next token based on likelihood, which doesn't always correlate with the global quality or completeness of a complex symbolic structure.

Methods

The authors propose a two-stage approach to bridge the gap between "likely text" and "correct symbolic goals":

  1. Stage 1: Supervised Fine-Tuning (SFT): They take a pre-trained LLM (specifically Qwen2.5-7B) and use LoRA (Low-Rank Adaptation) to fine-tune it on the specific output format of the Embodied Agent Interface (EAI). This teaches the model the "language" of symbolic goals.
  2. Stage 2: Candidate-Output Ranking from Errors (CORE): This is the core innovation. Instead of just taking the model's first guess, they generate a pool of $K$ candidates (one greedy and several sampled). They then train the model to act as a scorer.
  3. Contrastive Learning: The model is trained to assign higher scores to "positive" candidates (those with higher F1 scores relative to the ground truth) and lower scores to "negative" ones.
  4. Quality-Gap Margin: Unlike standard preference learning, CORE uses the actual difference in quality (the F1 gap) to scale the margin between candidates. If one candidate is much better than another, the model is pushed harder to separate their scores.
The two-stage generate-then-rank workflow, showing how multiple candidates are generated and then re-ranked based on learned preferences.

Datasets

The research utilizes the Embodied Agent Interface (EAI) Benchmark, which features household scenes derived from VirtualHome.

  • Corpus: 342 public Goal Interpretation records.
  • Split: The authors used a task-grouped split: 274 records for training/adaptation and 68 records for a "diagnostic" set across five distinct task families (e.g., "Drink", "Wash dishes with dishwasher").
Table 2. The 342-item EAI goal interpretation corpus and task-grouped 274/68 split.

Key Insights and Ideas

  • The Selection Gap: The authors discovered that the "best" goal is often already present in the model's sampled outputs but isn't the one with the highest token-level probability. By using an "Oracle" (a non-deployable selector that knows the right answer), they found a 0.097 Combined F1 gap, proving that ranking is the bottleneck, not just generation.
  • Holistic Scoring: Standard SFT optimizes for the next token. CORE optimizes for the complete sequence, allowing the model to "realize" that an early token choice might lead to an incomplete final goal.
  • Relational Accuracy: The method was particularly effective at improving "Edge" goals (spatial relations between objects), which are notoriously difficult for LLMs to get exactly right in symbolic formats.

Key Results

The SFT + CORE approach outperformed several strong baselines on the 68-item diagnostic set:

  • Combined F1: Reached 0.736, beating the greedy SFT baseline (0.716) and a Candidate-level DPO approach (0.735).
  • Edge F1: Showed a significant jump to 0.642 compared to the SFT baseline of 0.606.
  • Comparison to Large Models: The 7B-parameter model with CORE outperformed raw outputs from much larger models like DeepSeek-V3 (0.318) and Qwen2.5-72B (0.293) on the full corpus, highlighting the power of task-specific adaptation and ranking.
  • Ablation: As shown in Figure 2, simply adding candidate sampling and likelihood selection (even without the CORE training) provided a boost, but the full CORE training further refined these selections.
Comparison of F1 scores between greedy decoding and the candidate selection method.

Limitations and Future Work

  • Small Diagnostic Set: The evaluation was performed on a relatively small set of 68 items. The authors acknowledge that more task families are needed to assess true generalization.
  • Executability vs. F1: The study uses F1 score as a proxy for success. However, a symbolic goal might have a high F1 score but still be physically impossible for a planner to execute. Future work should involve testing these goals in a live simulator.
  • Control Groups: The authors noted the need for more rigorous "matched extra-SFT" controls to isolate exactly how much of the gain comes from the ranking loss versus simply more training time.

Summary updated

BibTeX
@misc{lei2026generate,
  author = {Jisen Lei and Huizhi Liang},
  title = {{Generate-then-Rank: Learning Symbolic Goal Interpretation for Embodied Agents}},
  year = {2026},
  eprint = {2611.07825},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.07825},
}
Figure