Skip to main content
QUICK REVIEW

[Paper Review] Grounding LTL Tasks in Sub-Symbolic RL Environments for Zero-Shot Generalization

Matteo Pannacci, Andrea Fanti|arXiv (Cornell University)|Feb 10, 2026
Topic ModelingComputer Science0 citations
TL;DR

The paper presents a method to jointly learn a multi-task policy and a symbol grounder from raw observations using Neural Reward Machines, enabling zero-shot generalization to unseen LTL tasks in sub-symbolic environments.

ABSTRACT

In this work we address the problem of training a Reinforcement Learning agent to follow multiple temporally-extended instructions expressed in Linear Temporal Logic in sub-symbolic environments. Previous multi-task work has mostly relied on knowledge of the mapping between raw observations and symbols appearing in the formulae. We drop this unrealistic assumption by jointly training a multi-task policy and a symbol grounder with the same experience. The symbol grounder is trained only from raw observations and sparse rewards via Neural Reward Machines in a semi-supervised fashion. Experiments on vision-based environments show that our method achieves performance comparable to using the true symbol grounding and significantly outperforms state-of-the-art methods for sub-symbolic environments.

Motivation & Objective

  • Motivate and address the challenge of following multiple temporally-extended instructions expressed in Linear Temporal Logic (LTL) in sub-symbolic environments where the true symbol grounding is unavailable.
  • Propose a joint learning framework that trains a policy and a symbol grounder from raw observations and sparse rewards through Neural Reward Machines (NRMs).
  • Extend LTL2Action by enabling grounding without assuming access to the labeling function while preserving transferability to unseen tasks.

Proposed method

  • Formulate the problem as learning a non-Markovian RL policy conditioned on progressed LTL formulae derived from ground truth via a probabilistic grounding function.
  • Use Neural Reward Machines to provide indirect supervision for the symbol grounder by modeling non-Markovian rewards and symbol grounding in a differentiable automata framework.
  • Employ a grounder L_theta that maps observations to distributions over symbol set P, and an LTL module that embeddings progressed formulas into a feature space; concatenate grounder/vision features with LTL features for PPO-based policy learning.
  • Train multiple NRMs (one per training task) sharing the same grounder, minimizing cross-entropy between predicted rewards and observed rewards to update the grounder through backpropagation through time.
  • Translate co-safe LTL formulas into Moore Machines (with outputs -1, 0, +1) to compute rewards and guide NRM learning; relate LTL progression to automata states to progressively update the task representation.
Figure 2 : (a) Unfolded computational graph of the grounder training through the LTL task’s Neural Reward Machine, employing backpropagation through time. $q\textsuperscript{$i$}$ denotes the initial state of the NRM and $\tilde{q}\textsuperscript{($t$)}$ denotes the predicted state at time $t$ . (b
Figure 2 : (a) Unfolded computational graph of the grounder training through the LTL task’s Neural Reward Machine, employing backpropagation through time. $q\textsuperscript{$i$}$ denotes the initial state of the NRM and $\tilde{q}\textsuperscript{($t$)}$ denotes the predicted state at time $t$ . (b

Experimental results

Research questions

  • RQ1Can a single learned symbol grounder, trained via NRMs with indirect supervision, support zero-shot generalization to unseen LTL tasks in sub-symbolic environments?
  • RQ2Does jointly learning a policy and a grounder in a multi-task setting outperform baselines that assume known grounding, and how close can it get to an upper bound with perfect grounding?
  • RQ3How does the approach generalize to discrete (Minecraft-like) and continuous (FlatWorld) environments, including longer/more complex task formulas?
  • RQ4What is the impact of learning the LTL module jointly versus fixing it, and how does task progression encoding affect performance?
  • RQ5What are the limitations of grounder accuracy and task types (e.g., Global Avoidance vs Partially-Ordered) on zero-shot transfer?

Key findings

  • The proposed method achieves performance close to the upper bound where the true labeling function is known, with little to no loss on training and unseen longer formulas.
  • Grounder accuracy converges typically within 1 million frames and is consistently high, especially on Global Avoidance tasks where negative rewards provide clearer signals.
  • The method significantly outperforms the baseline multi-task RL approach that does not learn grounding, across Minecraft-like and FlatWorld environments.
  • Zero-shot generalization to unseen but related task formulae is viable and comparable to training with a known grounder for partially-ordered tasks, while some failure cases remain for Global Avoidance in some settings.
  • Using multiple NRMs for training tasks provides indirect supervision that helps the shared grounder learn correct symbol grounding without explicit labels.
  • The grounding signal, though imperfect early in training, improves as the system leverages the structure of multiple training tasks and progression information.
(a) Partially-Ordered Tasks (Minecraft-like Env)
(a) Partially-Ordered Tasks (Minecraft-like Env)

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.