Zero-Shot Instruction Following in RL via Structured LTL Representations
Mathias Jackermeier, Mattia Giuri, Jacques Cloete, Alessandro Abate
NeurIPS 2026
Abstract. We study instruction following in multi-task reinforcement learning, where an agent must zero-shot execute novel tasks not seen during training. In this setting, linear temporal logic (LTL) has been adopted as a powerful framework for specifying structured, temporally extended tasks. While existing approaches successfully train generalist policies, they often struggle to effectively capture the rich logical and temporal structure inherent in LTL specifications. In this work, we address these concerns with a novel approach to learn structured task representations that facilitate training and generalisation. Our method conditions the policy on sequences of Boolean formulae constructed from a finite automaton of the task. We propose a hierarchical neural architecture to encode the logical structure of these formulae, and introduce an attention mechanism that enables the policy to reason about future subgoals. Experiments in a variety of complex domains demonstrate the strong generalisation capabilities and superior performance of our approach.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:48 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Summary.
This paper proposes StructLTL, an approach for zero-shot execution of novel LTL instructions in multi-task RL. Task automata are compiled into sequences of minimal DNF Boolean formula pairs describing what each transition requires and forbid. These are then encoded with a hierarchical DeepSets architecture and a temporal attention mechanism that allows reasoning over future subgoals, with a learned value function selecting among accepting runs at test time. The paper additionally introduces the Warehouse environment, which supports compositional combinations of propositions, and reports strong results against LTL2Action, DeepLTL, and GenZ-LTL.
Assessment
The reviewers are broadly positive about the technical contribution. The representation is regarded as novel and well motivated, the paper is generally clearly structured, the experimental results (10 seeds, confidence intervals) are solid. The Warehouse benchmark can be seen as a contribution in its own right. The reservations centre on the framing of the empirical comparison and on clarifications, rather than on the soundness of the method itself.
Prior to the response, the authors were asked to address the comparison to GenZ-LTL, which optimises a constrained objective and falls back to a one-hot subgoal encoding in Warehouse; ablations on the curriculum and the set encoder; the significance of the gains in Figure 4; how the formula-construction pipeline and training and inference costs scale; and what distinguishes StructLTL from DeepLTL, together with the related work on reward machines, directed exploration, and temporal-logic-constrained imitation. The rebuttal responded to each of these. Most usefully, the rebuttal tested GenZ-LTL with the one-hot encoding in ZoneEnv-NM, which shows that the gap on the non-myopic tasks persists regardless of the encoding. They also reported violation rates and their dynamics over training, added GNN encoder and curriculum ablations, and provided bootstrapped confidence intervals.
The paper makes a well-motivated contribution to zero-shot LTL instruction following, with a representation that is novel, cleanly designed, and empirically validated across two environments and a range of complex specifications, supported by thorough evaluation. The authors should incorporate the commitments made during the discussion into the camera-ready version. The most important are the ZoneEnv-NM one-hot ablation, which belongs in the main paper and should be discussed in the results, and the confidence intervals for Figure 4 with an indication of which differences are significant. The remaining additions should also be included either in the main text or appendix.
Final justification
The paper makes a well-motivated contribution to zero-shot LTL instruction following, with a representation that is novel, cleanly designed, and empirically validated across two environments and a range of complex specifications, supported by thorough evaluation.
Read meta-review
Meta-review
Summary.
This paper proposes StructLTL, an approach for zero-shot execution of novel LTL instructions in multi-task RL. Task automata are compiled into sequences of minimal DNF Boolean formula pairs describing what each transition requires and forbid. These are then encoded with a hierarchical DeepSets architecture and a temporal attention mechanism that allows reasoning over future subgoals, with a learned value function selecting among accepting runs at test time. The paper additionally introduces the Warehouse environment, which supports compositional combinations of propositions, and reports strong results against LTL2Action, DeepLTL, and GenZ-LTL.
Assessment
The reviewers are broadly positive about the technical contribution. The representation is regarded as novel and well motivated, the paper is generally clearly structured, the experimental results (10 seeds, confidence intervals) are solid. The Warehouse benchmark can be seen as a contribution in its own right. The reservations centre on the framing of the empirical comparison and on clarifications, rather than on the soundness of the method itself.
Prior to the response, the authors were asked to address the comparison to GenZ-LTL, which optimises a constrained objective and falls back to a one-hot subgoal encoding in Warehouse; ablations on the curriculum and the set encoder; the significance of the gains in Figure 4; how the formula-construction pipeline and training and inference costs scale; and what distinguishes StructLTL from DeepLTL, together with the related work on reward machines, directed exploration, and temporal-logic-constrained imitation. The rebuttal responded to each of these. Most usefully, the rebuttal tested GenZ-LTL with the one-hot encoding in ZoneEnv-NM, which shows that the gap on the non-myopic tasks persists regardless of the encoding. They also reported violation rates and their dynamics over training, added GNN encoder and curriculum ablations, and provided bootstrapped confidence intervals.
The paper makes a well-motivated contribution to zero-shot LTL instruction following, with a representation that is novel, cleanly designed, and empirically validated across two environments and a range of complex specifications, supported by thorough evaluation. The authors should incorporate the commitments made during the discussion into the camera-ready version. The most important are the ZoneEnv-NM one-hot ablation, which belongs in the main paper and should be discussed in the results, and the confidence intervals for Figure 4 with an indication of which differences are significant. The remaining additions should also be included either in the main text or appendix.
Final justification
The paper makes a well-motivated contribution to zero-shot LTL instruction following, with a representation that is novel, cleanly designed, and empirically validated across two environments and a range of complex specifications, supported by thorough evaluation.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduced StructLTL, a novel framework for multi-task RL problems where an agent must achieve zero-shot generalization to novel, temporally extended instructions specified via LTL. By translating task automata into sequences of DNFs, the method sidesteps the combinatorial explosion of complex environments. It also leverages a hierarchical DeepSets encoder to capture compositional logic alongside a temporal attention mechanism for lookahead planning, significantly outperforming baselines in sample efficiency and out-of-distribution generalization.
Strengths and weaknesses
Strengths:
- The paper is well written and easy to follow.
- The idea is well structured and shows sound reasoning on the chosen environments.
Weaknesses:
- Since this paper focuses on learning from formal language, some other works could be discussed and compared:
- Bagatella, M., Krause, A., & Martius, G. (2024). Directed exploration in reinforcement learning from linear temporal logic. arXiv preprint arXiv:2408.09495.
- Icarte, Rodrigo Toro, et al. "Reward machines: Exploiting reward function structure in reinforcement learning." Journal of Artificial Intelligence Research 73 (2022): 173-208.
- Fan, Zining, and He Zhu. "Imitation Learning with Temporal Logic Constraints." Advances in Neural Information Processing Systems 38 (2026): 159555-159587.
- Scalability might be a concern: the computation cost may explode when the task becomes complex.
Questions
- Could the authors clarify the specific design advantages that led to choosing a hierarchical DeepSets encoder over generic sequence models or traditional GNNs?
- For the concern of scalability, could the authors provide an analysis of the computational cost as the number of APs or the length of the LTL formulas increases?
- What are the core differences between StructLTL and DeepLTL that enable StructLTL to achieve better sample efficiency on tasks?
Limitations
Yes, this method relies on the ground truth of the labelling function.
Final justification
Thank the author for their detailed and thorough response. My concerns are fully resolved, and I have raised my score.
Formatting concerns
None.
2 comments
Dear Reviewer GU4d,
We hope our rebuttal was helpful and provided context regarding the related work, design decisions and ablation studies, scalability, and specific contributions of StructLTL.
With the discussion period coming to an end in the next few days, we would love to hear from you if we addressed your concerns, or what points of concern remain and how we can improve our work!
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies zero-shot generalization for linear temporal logic tasks, and proposes a hierarchical structure and set encoder using the fact that LTL logics can be simply presented by disjunctive normal form. These hierarchical structure combined with set encoder effectively learn accepting run on automaton, adding a temporal attention mechanism to handle sequential nature of the accepting runs. During training, to handle the complex structure of tasks, they use curriculum learning. Warehouse environments are introduced to add more complex structure of tasks, beside existing baseline environment: ZoneEnv. They demonstrate that the proposed algorithm efficiently solves the unseen complex tasks compared to baselines.
Strengths and weaknesses
Strengths
- They smartly use the logic structure, and propose the efficient hierarchical structure beside adding temporal structure to highlight earlier sub task completion. This empirically show promising performances as well.
- Clean logical flow through the paper, explaining why each architecture has been considered and proposed.
- They test various complex tasks, and the proposed algorithms perform well.
Weaknesses
- One of the baselines they call it state of the art is actually constrained algorithm, it significantly weakens the conclusion in my opinion. GenZ LTL algorithm is designed to satisfy the least violation as well, but the proposed algorithm is not, just rewarding only for satisfying complex tasks.
- No ablations for how each artifact (adding temporal attention, adding set encoder) affects the final performance.
I gave 3 but it's very close to 4, I just didn't like authors claim it beats the state-of-the art, but the algorithm they compared is the one to solve constrained optimization. Regarding the proposed method, I think it's novel and positive.
Questions
-
During test time, policy depends on the optimal accepting runs, but wouldn't it be possible that even before LDBA state changes, based on MDP state, its possible to change the optimal Boolean formular? Why it will be fixed based on LDBA state only, not depending on MDP state?
-
How each artifact (temporal attention encoding, set encoder) affects? Would it degrades a lot when we change set encoder to GNN, or dropping temporal attention mechanism? In the same way, how much performance degrades happen when we drop off continual learning process?
-
Why authors compare the proposed algorithm with GenZ LTL which is designed for solving constrained optimization problem? What's the current algorithm's violation rate?
Limitations
Yes
Final justification
Authors properly addressed my concerns, in particular, about baseline comparison. They successfully show that their algorithm in the end, still beat the baseline designed for constrained optimization regarding violation rate. I raised my score from 3 to 4, since their rebuttal has resolved my concerns, and I think the method is positive enough in this field, achieving the state-of-the art performance regarding zero-shot LTL.
Formatting concerns
None
4 comments
Rebuttal
Thank you for reviewing our paper. We are pleased to read that you think our method is “novel and positive” and that there is a “clean logical flow through the paper”. Please see our replies to your questions below, including the requested additional results on violation rates and ablation studies.
Why authors compare the proposed algorithm with GenZ LTL which is designed for solving constrained optimization problem? What's the current algorithm's violation rate?
You are right in pointing out that GenZ-LTL optimises a constrained optimisation problem when training the policy on reach-avoid subgoals. We investigate how this impacts violation rates compared to our method below. However, we point out that this is just one component that GenZ-LTL uses to learn a policy that can "satisfy arbitrary LTL specifications in a zero-shot manner" (from the GenZ-LTL abstract). Hence we argue that GenZ-LTL is an important baseline to compare to, even when our method is not specifically designed to minimise violations.
Moreover, we additionally include LTL2Action and DeepLTL as baselines, which are state-of-the-art non-constrained algorithms. Our experiments demonstrate consistent gains of StructLTL not just compared to GenZ-LTL, but also compared to these non-constrained methods.
We report violation rates of GenZ-LTL and StructLTL on tasks from Table 1 below (we exclude tasks that cannot be violated such as F a ). VR refers to violation rate:
| Environment | Formula | GenZ-LTL (SR) | StructLTL (SR) | GenZ-LTL (VR) | StructLTL (VR) |
|---|---|---|---|---|---|
| ZoneEnv-NM | 0.92 | 0.93 | 0.05 | 0.03 | |
| 0.93 | 0.94 | 0.03 | 0.03 | ||
| 0.99 | 0.98 | 0.01 | 0.02 | ||
| 1.00 | 0.98 | 0.00 | 0.00 | ||
| 0.49 | 0.94 | 0.00 | 0.00 | ||
| 0.65 | 0.94 | 0.15 | 0.02 | ||
| WarehouseEnv | 0.84 | 0.95 | 0.06 | 0.04 | |
| 0.91 | 0.99 | 0.00 | 0.00 | ||
| 0.93 | 0.80 | 0.01 | 0.17 | ||
| 0.06 | 0.95 | 0.68 | 0.00 | ||
| 0.74 | 0.84 | 0.00 | 0.00 | ||
| 0.71 | 0.96 | 0.00 | 0.00 |
We observe that the violation rates of StructLTL in most cases are comparable to or lower than the violation rates of GenZ-LTL, with the exception of , where StructLTL generally underperforms. Averaged across all tasks, StructLTL's violation rate is nonetheless lower (0.026 vs. 0.083 for GenZ-LTL).
While we don't explicitly solve a constrained optimisation problem, we do penalise the policy for violating safety constraints (see line 259). As such, StructLTL does successfully learn to satisfy safety constraints, achieving violation rates on par with or better than GenZ-LTL's.
Thank you for raising this, we think this is an important point of discussion that we will address in the final version of the paper!
How each artifact (temporal attention encoding, set encoder) affects? Would it degrades a lot when we change set encoder to GNN, or dropping temporal attention mechanism? In the same way, how much performance degrades happen when we drop off continual learning process?
Please refer to the existing ablation studies in Appendix D.2, where we investigate the effects of using a flat sequence encoder instead of the hierarchical DNF encoder, and the impact of the temporal attention mechanism. Our results show that both components are crucial for our method's performance. Furthermore, the non-myopic reasoning experiment in Appendix D.1 demonstrates how the temporal attention mechanism is an important part of StructLTL that enables it to reason non-myopically.
We conducted the requested additional experiments and report success rates on WarehouseEnv with a GNN (StructLTL-GNN) and when dropping the curriculum (StructLTL-NC):
| Formula | StructLTL-GNN | StructLTL-NC | StructLTL |
|---|---|---|---|
| 0.98 | 0.90 | 0.99 | |
| 0.95 | 0.93 | 0.95 | |
| 0.93 | 0.98 | 0.99 | |
| 0.08 | 0.65 | 0.80 | |
| 0.71 | 0.96 | 0.99 | |
| 0.78 | 0.90 | 0.97 | |
| 0.86 | 0.97 | 0.95 | |
| 0.41 | 0.64 | 0.84 | |
| 0.76 | 0.97 | 0.96 | |
| 0.37 | 0.80 | 0.88 | |
For StructLTL-GNN, we used a graph convolutional network (GCN) with the same embedding dimension as StructLTL (16), 3 layers (matching the maximum syntax tree height) and ReLU activations. The final representation of the formula is the final representation of the root node. All other architecture and training settings are unchanged. For StructLTL-NC, we trained exclusively on the final curriculum stage, skipping all previous stages.
We observe that our hierarchical DNF encoding scheme substantially outperforms a generic GNN. Curriculum learning also generally improves performance, especially on harder tasks. However, we highlight that our method is still able to achieve strong results without any curriculum at all. We will use the additional page in the camera-ready version to include these results in the main paper.
During test time, policy depends on the optimal accepting runs, but wouldn't it be possible that even before LDBA state changes, based on MDP state, its possible to change the optimal Boolean formular? Why it will be fixed based on LDBA state only, not depending on MDP state?
That's a great point. In theory the optimal formula sequence could change before an LDBA transition actually occurs, but we only recompute the optimal sequence upon LDBA state change as an efficient approximation (similar to DeepLTL). Additionally, this design prevents the policy from oscillating between different accepting runs. We will point out that this is an approximation in the final version.
I gave 3 but it's very close to 4, I just didn't like authors claim it beats the state-of-the art, but the algorithm they compared is the one to solve constrained optimization. Regarding the proposed method, I think it's novel and positive.
We're glad you think the method is novel and positive, and hope that we could clarify the comparison to GenZ-LTL above! We will specifically point out that GenZ-LTL is a constrained algorithm in the revised version.
Thank you for the comprehensive ablations! It's my bad to miss existing ablations about temporal attention.
Regarding violation rate table, It does make sense penalizing violation will result in low violation rate at the end. But I am curious how it progresses through the training steps. Intuitively, GenZ-LTL would have a lower violation overall through the training due to explicit constrained optimization. Could author provide the violation rate's overall dynamics through the training? Maybe table reporting training steps (columns, showing 10 percent of training progress, 20 percent of training progress, ...) vs. violation rate would be helpful.
Also, what's the intuition about the results that case shows GenZ-LTL's better achievement in both violation and success. Why this specific task case shows StructLTL underperforms compared to GenZ-LTL?
Further violation rates and discussion
Thanks for your reply!
Thank you for the comprehensive ablations! It's my bad to miss existing ablations about temporal attention.
We're glad you appreciated the existing and new ablations, and hope they alleviated your concerns.
Could author provide the violation rate's overall dynamics through the training? Maybe table reporting training steps (columns, showing 10 percent of training progress, 20 percent of training progress, ...) vs. violation rate would be helpful.
We ran this study as requested, please find the results below:
| Environment | Method | Step 0% | Step 10% | Step 20% | Step 30% | Step 40% | Step 50% | Step 60% | Step 70% | Step 80% | Step 90% | Step 100% |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ZoneEnv-NM | GenZ-LTL | 0.073 | 0.033 | 0.020 | 0.018 | 0.037 | 0.040 | 0.043 | 0.040 | 0.038 | 0.031 | 0.033 |
| StructLTL | 0.127 | 0.114 | 0.059 | 0.040 | 0.031 | 0.028 | 0.023 | 0.017 | 0.015 | 0.016 | 0.019 | |
| WarehouseEnv | GenZ-LTL | 0.160 | 0.228 | 0.162 | 0.125 | 0.133 | 0.109 | 0.137 | 0.123 | 0.119 | 0.126 | 0.119 |
| StructLTL | 0.159 | 0.190 | 0.110 | 0.059 | 0.038 | 0.063 | 0.049 | 0.034 | 0.029 | 0.039 | 0.033 |
Your intuition is right for ZoneEnv: GenZ-LTL indeed quickly learns to incur fewer violations early on via the constrained objective. Interestingly, these dynamics change in the second half of training., where StructLTL's violations continue to decrease, whereas GenZ-LTL's slightly increase again. In Warehouse, StructLTL continually achieves lower violation rates than GenZ-LTL. This is expected, as GenZ-LTL fundamentally struggles with this environment (as seen in its overall low success rates).
A helpful point of discussion here may be that GenZ-LTL solves the constrained optimisation problem with a Lagrangian objective (Eq. 3 in their paper). While we don't frame our problem statement as a constrained optimisation problem, penalising the policy for safety violations (as we do with negative rewards) is in practice similar to using a Lagrangian objective with a fixed Lagrange multiplier. This helps to explain why StructLTL achieves similar or better violation rates to GenZ-LTL, despite not explicitly tackling the constrained problem. Furthermore, violation rates are tightly coupled with success rates - as we see in Warehouse, if a method struggles with completing tasks in general (e.g. due to the difficulty of learning suitable representations) it will also struggle to learn not to violate specifications. We will include these training dynamics in the appendix of the revised version and reference them in the main text.
Also, what's the intuition about the results that case shows GenZ-LTL's better achievement in both violation and success. Why this specific task case shows StructLTL underperforms compared to GenZ-LTL?
That's a great catch, and we also discuss this task in our response to reviewer w4aR. The task is defined as , which requires the agent to visit all three regions, while avoiding to pick up any object. We hypothesise that, since most randomly sampled training formulae require the agent to interact with objects, the policy does not fully learn to avoid picking up objects in some random seeds. This is indeed a case where GenZ-LTL's constrained formulation seems to help. However, as seen above, StructLTL does still generally produce low violations rates after training, and there are similar outliers where GenZ-LTL underperforms (e.g. and ). We will discuss this particular example in the results section of the revised version.
We hope these clarifications, alongside the existing and newly added ablation studies, fully address your concerns regarding the comparison to GenZ-LTL and justify our state-of-the-art claims. If so, we would be very grateful if you might consider raising your score. If you have any further questions, we remain happy to discuss!
Thank you for your additional ablation studies. I am also convinced by your explanation on my questions. All of my concerns have been addressed, in response, I raise my score to 4.
Wish you all the best!
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
In this work, the authors propose a novel approach, StructLTL, for training generalizable LTL-conditioned policies in multi-task reinforcement learning by representing LTL instructions as a sequence of Boolean formulae built from a finite automaton of the task. In the proposed model, these formulae are represented in a hierarchical neural architecture coupled with temporal attention that allows the policy to reason efficiently about future subgoal candidates. As part of this work, the authors also propose a valuable novel environment focusing on complex logical structure, enabling the study of challenging LTL specifications while demonstrating state-of-the-art performance.
Strengths and weaknesses
Strengths
- The formulation of LTL rules as a Buechi automata is interesting and provides interpretable structure to the overall problem with the actual novelty being representing automaton transitions as minimal DNF Boolean formulae
- The introduced Warehouse benchmark is valuable beyond the proposed work.
- The evaluation of the proposed method across 10 seeds is thorough for the provided experiments
Weaknesses
- For the Warehouse environment, GenZ-LTL can only use a one-hot subgoal fallback. How much of GenZ-LTL's performance loss is related to this methodical issue compared to a shortcoming of the method itself?
- It would be very helpful if the authors could indicate statistical significance in the results shown in figure 4 as the benefits of StructLTL seem marginal, if at all, compared to baseline performance.
- While acknowledged by the authors, environments that utilize high-dimensional inputs, such as vision, would generally benefit the strength of the evaluation
- The only environment testing compositional propositions is Warehouse. As a novel environment, more information on it, as well as some visual examples, would be very helpful to fully understand the complexity of the setting. For example, moving one example from figure 8 into the main paper would be very useful to make the main-paper able to stand by itself.
- An assessment of computation time with respect to the overall automaton size would be appreciated. While the paper reports overall training time, how does this change as the task becomes more complex?
Questions
- How does the formula-construction scale with the size of the automaton?
- Are results in figure 4 significant?
- On tasks where StructLTL underperforms or takes more steps than the baselines, what characteristics apply to these tasks that would make the proposed method not preferable?
Limitations
yes
Final justification
The rebuttal has addressed my concerns. Particularly the ablation on the ZoneEnv-NM environment with and without the one-hot representation, as well as the wall-time analysis, make this significantly stronger. Together with my other recommendations, e.g., moving some more information from the Warehouse environment into the main paper, I am updating my score to accept.
Formatting concerns
N/A
5 comments
Rebuttal
Thank you for reviewing our paper. We are pleased to read your positive comments! Please see below for replies and clarifications regarding the points raised.
For the Warehouse environment, GenZ-LTL can only use a one-hot subgoal fallback. How much of GenZ-LTL's performance loss is related to this methodical issue compared to a shortcoming of the method itself?
This is correct. However, we argue that this is not a methodical issue, but in fact a fundamental shortcoming of GenZ-LTL, and hence a fair comparison. This is because GenZ-LTL's observation reduction component relies on two assumptions: (i) observations must decompose into identical proposition-specific components, and this decomposition must be manually known and specified a priori, and (ii) a suitable, manually specified fusion operator is required to handle multiple avoid subgoals. In contrast, StructLTL requires no such assumptions and works fully end-to-end in any environment without manual engineering.
Neither of GenZ-LTL's assumptions hold in WarehouseEnv: proposition-specific observations have different shapes and types, and hence cannot be combined into a single reduced “reach” and “avoid” observation. There is also no clear fusion operator for e.g. avoiding picking up a crate and avoiding a region.
Since these assumptions don't hold, we have to apply GenZ-LTL without observation reduction. Following the GenZ-LTL paper (section 4.1), this means using one-hot bitvectors as a general representation of reach-avoid subgoals. This is the only way GenZ-LTL can be applied in WarehouseEnv and similar complex environments that don't admit the manual decomposition and fusion of observations that GenZ-LTL requires.
It would be very helpful if the authors could indicate statistical significance in the results shown in figure 4 as the benefits of StructLTL seem marginal, if at all, compared to baseline performance.
Thanks for this suggestion! Please see the tables below, which include the results from Figure 4 with 95% bootstrapped CIs. We will update the figure in the revised version of the paper.
We point out that the primary purpose of this study is to demonstrate that StructLTL can successfully generalise to long Boolean formula sequences out of its training distribution, which the results confirm. Since the formulae considered in this experiment are simple nested reach sequences, we would not expect the baselines to perform significantly worse than StructLTL, and this is indeed what we observe: while StructLTL generally outperforms the baselines, the gains are modest, as expected, though StructLTL is consistently more stable across seeds, leading to tighter confidence intervals in most cases.
The results in Table 2 (in the main paper) instead concern compositional generalisation capabilities, where we see that StructLTL's representation learning leads to significant gains over the baselines.
ZoneEnv-NM
| Formula depth | LTL2Action | DeepLTL | GenZ-LTL | StructLTL |
|---|---|---|---|---|
| 2 | 0.95 [0.93, 0.97] | 0.97 [0.95, 0.98] | 0.96 [0.95, 0.98] | 0.98 [0.97, 0.99] |
| 4 | 0.83 [0.80, 0.86] | 0.87 [0.84, 0.89] | 0.88 [0.88, 0.89] | 0.93 [0.92, 0.94] |
| 8 | 0.74 [0.69, 0.79] | 0.76 [0.72, 0.81] | 0.86 [0.85, 0.88] | 0.87 [0.84, 0.89] |
| 12 | 0.58 [0.53, 0.63] | 0.64 [0.58, 0.69] | 0.78 [0.76, 0.79] | 0.77 [0.74, 0.80] |
WarehouseEnv
| Formula depth | LTL2Action | DeepLTL | GenZ-LTL | StructLTL |
|---|---|---|---|---|
| 2 | 0.99 [0.97, 0.99] | 0.99 [0.98, 0.99] | 0.91 [0.82, 0.98] | 0.99 [0.98, 0.99] |
| 4 | 0.98 [0.97, 0.99] | 0.99 [0.98, 0.99] | 0.88 [0.77, 0.97] | 0.98 [0.97, 0.99] |
| 8 | 0.86 [0.77, 0.93] | 0.92 [0.89, 0.94] | 0.85 [0.74, 0.94] | 0.92 [0.89, 0.95] |
| 12 | 0.82 [0.70, 0.91] | 0.87 [0.81, 0.91] | 0.85 [0.73, 0.94] | 0.94 [0.92, 0.96] |
While acknowledged by the authors, environments that utilize high-dimensional inputs, such as vision, would generally benefit the strength of the evaluation
As noted by the AC, new experiments in high-dimensional vision domains are out of scope for this rebuttal. However, we agree that this is a very exciting direction for future work.
The only environment testing compositional propositions is Warehouse. As a novel environment, more information on it, as well as some visual examples, would be very helpful to fully understand the complexity of the setting. For example, moving one example from figure 8 into the main paper would be very useful to make the main-paper able to stand by itself.
Thanks for this valuable suggestion, with which we fully agree. We do include a visualisation of WarehouseEnv in Figure 5 (b) in the appendix. We will use the extra page in the camera-ready version of the paper to include this visualisation and an example from Figure 8 in the main paper.
An assessment of computation time with respect to the overall automaton size would be appreciated. While the paper reports overall training time, how does this change as the task becomes more complex?
Let , be the formula length, the sequence length and the total number of literals in the formula sequence. Like other automata-based methods (e.g. DeepLTL, GenZ-LTL), we rely on constructing Büchi automata, which is exponential in in the worst case. Constructing Boolean formulae using the Quine-McCluskey algorithm is exponential in in the worst case, but in practice restricted by the number of valid assignments (e.g. the agent cannot be in both region_a and region_b at the same time). In terms of automaton size, formula construction is linear, since we need to construct one formula per transition in the worst case.
Crucially, all of this is precomputed once per test specification rather than at every environment step. Once the formulae have been constructed, the DNF encoder is linear in and the attention operation is linear in (not quadratic, since only the first step performs attention to the other steps).
We will include a discussion of these computational costs in the final version of the paper. The primary additional cost is constructing Boolean formulae, for which we're excited to explore more scalable algorithms (drawing from extensive literature on Boolean minimisation, e.g. the Espresso algorithm [1]) in future work.
On tasks where StructLTL underperforms or takes more steps than the baselines, what characteristics apply to these tasks that would make the proposed method not preferable?
As we point out in the paper, StructLTL generally takes more steps than GenZ-LTL in the ZoneEnv-NM environment. This is because GenZ-LTL uses its hand-crafted observation reduction function to condition the policy only on the relevant lidar data, whereas StructLTL (and the other baselines) is conditioned on the entire observation, and thus has to handle a much more complex and high-dimensional observation space, making exploration and finding efficient policies more difficult. However, as we discuss above, GenZ-LTL's observation reduction relies on manual engineering and strong assumptions that don't hold generally across environments.
In WarehouseEnv, StructLTL is more efficient than the baselines in the majority of cases, and otherwise similarly efficient. In terms of success rate, the one outlier where StructLTL underperforms is which requires avoiding picking up any object while simultaneously visiting all three regions. We hypothesise that, since most randomly sampled training formulae require the agent to interact with objects, the policy does not fully learn to avoid picking up objects in some random seeds.
Finally, we are glad that you recognises the Warehouse environment as a valuable contribution in its own right. We hope it serves as a useful benchmark for future work on compositional LTL reasoning. We hope our clarifications have been helpful and are happy to engage in further discussion.
Dear Reviewer w4aR,
We hope our rebuttal provides context on the comparison to GenZ-LTL and the generalisation study. We also hope the discussion of scalability and the specific task where StructLTL underperforms was helpful.
With the discussion period coming to an end in the next few days, we would love to hear from you if we addressed your concerns, or what points of concern remain and how we can improve our work!
Thank you for the detailed response to my concerns.
I am largely satisfied with the responses. To clarify, while I still think the lack of high-dimensional inputs is a genuine weakness, I do agree that it would be better suited for future work. However, a little more discussion outside of a dismissal in the limitations would be great, for example, covering what the anticipated challenges would be.
With respect to GenZ-LTL, my question was targeted at isolating observation reduction and on-hot fallback. Since observation reduction is available in ZoneEnv-NM, reported in Table 1, running the one-hot variant in ZoneEnv-NM as well would isolate the cost of the fallback directly.
Also, for the runtime performance, it would be great if you could report wall-clock time across the different depths.
I would recommend adding error bars to figure 4 and indicating which results are significant visually, adding construction timings as wall-clock time, and moving the Warehouse visualization and a Figure 8 example into the main paper as I still think the Warehouse environment is a valuable contribution that is largely buried in the appendix.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Many thanks for reviewing our paper. We're glad that you think it is "well written and easy to follow" and that the idea is "well structured". Please see below for replies to the points raised.
Thank you for highlighting these relevant works, which we will discuss in the revised related work section. These works fall under the umbrella of single-task RL and only train policies to satisfy a single LTL specification, whereas our work targets learning a generalist, multi-task policy that zero-shot executes previously unseen LTL specifications (including infinite-horizon tasks). Bagatella et al. address directed exploration for policies trained for a single LTL specification. Reward Machines are finite reward automata closely related to the finite subset of LTL, and explore ideas such as reward shaping, decomposition, and counterfactual learning, and Fan and Zhu study imitation learning under temporal-logic constraints. While these works are closely related in their use of formal or automaton-based task structure, none of them need to learn how to generalise across specifications, which is the main contribution of StructLTL's structured representation learning.
The main advantage of our hierarchical encoding scheme is that it directly reflects the structure of DNF formulae. The order of literals within a conjunction, and the order of clauses within a disjunction, does not affect the meaning of the formula, and a permutation-invariant encoder like DeepSets is thus appropriate. Furthermore, we learn separate transformations for negations, conjunctions, and disjunctions, allowing the model to distinguish these semantically different operations. A flat sequence model must instead learn order invariance solely from data, while a generic syntax-tree GNN does not explicitly exploit the DNF structure (e.g. through different learned transformations per Boolean operator).
We investigate generic sequence models in Appendix D.2.1, where we ablate the hierarchical DNF encoder with a GRU operating on tokenised formulae. The results clearly show that the structural design of our encoding scheme is superior to a simple flat encoder. Furthermore, we conduct an additional ablation study where we replace the hierarchical encoder with a GNN and report task success rates over 5 seeds below:
We used a graph convolutional network (GCN) with the same embedding dimension as StructLTL (16), 3 layers (matching the maximum syntax tree height) and ReLU activations. The final representation of the formula is the final representation of the root node. All other architecture and training settings are unchanged.
These results again validate the design of our structured, hierarchical set encoder, which substantially outperforms the generic GNN encoder.
We agree that scalability is an important concern, and it is precisely one of the reasons we designed StructLTL: to tackle the combinatorial explosion of assignment representations that baseline methods such as DeepLTL struggle with.
Regarding computational complexity, let n=∣AP∣, ∣φ∣ be the formula length, T the sequence length and M the total number of literals in the formula sequence. Like other automata-based methods (e.g. DeepLTL, GenZ-LTL), we rely on constructing Büchi automata, which is exponential in ∣φ∣ in the worst case. Constructing Boolean formulae using the Quine-McCluskey algorithm is also exponential in n in the worst case, but in practice restricted by the number of valid assignments (e.g. the agent cannot be in both
region_aandregion_bat the same time). In terms of automaton size, formula construction is linear, since we need to construct one formula per transition in the worst case.Crucially, all of this is be precomputed once per test specification rather than at every environment step. Once the formulae have been constructed, the DNF encoder is linear in M and the attention operation is linear in T (not quadratic, since only the first step performs attention to the other steps).
We will include a discussion of these computational costs in the final version of the paper. The primary additional cost is constructing Boolean formulae, for which we're excited to explore more scalable algorithms (drawing from extensive literature on Boolean minimisation, e.g. the Espresso algorithm [1]) in future work.
We achieve better sample efficiency than DeepLTL through two core differences that each simplify the learning process:
To summarise our contribution, we propose using sequences of minimal Boolean formulae to represent LTL tasks, and develop a structured representation learning approach to encode these. Our ablation studies show that these individual components are crucial for the method's performance. We also introduce the Warehouse environment, which supports compositional combinations of propositions.
We hope the clarifications and additional results are helpful. Please let us know if they have alleviated your concerns. We are more than happy to engage in further discussion!
[1] Brayton, R. K., Hachtel, G. D., McMullen, C., and Sangiovanni-Vincentelli, A. (1984). Logic minimization algorithms for VLSI synthesis.