Neuro-Symbolic Injection of LTLf Constraints in Autoregressive Reinforcement Learning Policies
On the map: Offline RL and imitation learning from data → Offline RL algorithms
Abstract (arXiv)
In this work we study offline reinforcement learning (RL) under temporally extended task constraints expressed in Linear Temporal Logic over finite traces (LTLf). Recently, transformer-based approaches such as Trajectory Transformers and Decision Transformers have been adopted to address RL as a sequence modeling problem. However, these methods optimize purely for reward and do not account for high-level temporal requirements. Here, we introduce a neurosymbolic framework that injects LTLf background knowledge into such transformer-based RL policies. Our approach compiles LTLf formulas into deterministic finite automata (DFAs) and integrates them into the learning process through a differentiable representation and a logic-based loss function. In particular, we derive differentiable satisfaction signals from DFA progression and use them as a regularization term during training. The resulting method is architecture-agnostic across different models. We evaluate the proposed framework on navigation environments with specification suites covering combinations of safety and reachability temporal properties. Experimental results show that incorporating background knowledge not only improves constraint satisfaction, but also maintains competitive return compared to vanilla baselines.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Offline RL algorithms, one of 13 directions in Offline RL and imitation learning from data. Builds on 37 of its 52 references that are in the map. First posted on arXiv 6 Jun 2026.
Builds on
37 of 52 references.
Closest ancestors · 4
Same direction, newest first
- 2022A Survey on Offline Reinforcement Learning: Taxonomy, Review, and Open Problems2 Mar
- 2021RvS: What is Essential for Offline RL via Supervised Learning?20 Dec
- 2021Offline Reinforcement Learning with Implicit Q-Learning12 Oct
- 2020Conservative Q-Learning for Offline Reinforcement Learning8 Jun
Other references · 33
- 2017Attention Is All You Needcited by 59,932
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
- 2017Constrained Policy Optimizationcited by 928
- 2021Offline Reinforcement Learning as One Big Sequence Modeling Problemcited by 636
- 2017Safe Reinforcement Learning via Shieldingcited by 427
- 2018Reward Constrained Policy Optimizationcited by 397
- 2018Visual Reinforcement Learning with Imagined Goalscited by 248
- 2022Online Decision Transformercited by 194
- 2019Goal-conditioned Imitation Learningcited by 159
- 2021NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristicscited by 153
- 2020NeuroLogic Decoding: (Un)supervised Neural Text Generation with Predicate Logic Constraintscited by 146
- 2022Prompting Decision Transformer for Few-Shot Policy Generalizationcited by 143
21 more
- 2019Training Agents using Upside-Down Reinforcement Learningcited by 106
- 2022Q-learning Decision Transformer: Leveraging Dynamic Programming for Conditional Sequence Modelling in Offline RLcited by 103
- 2019Reward-Conditioned Policiescited by 101
- 2018CGMH: Constrained Sentence Generation by Metropolis-Hastings Samplingcited by 93
- 2021Constraints Penalized Q-learning for Safe Offline Reinforcement Learningcited by 90
- 2023Constrained Decision Transformer for Offline Safe Reinforcement Learningcited by 65
- 2024Safe Offline Reinforcement Learning with Feasibility-Guided Diffusion Modelcited by 62
- 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlocited by 45
- 2023Safe Reinforcement Learning via Probabilistic Logic Shieldscited by 41
- 2024Adaptable Logical Control for Large Language Modelscited by 30
- 2023Waypoint Transformer: Reinforcement Learning via Supervised Learning with Intermediate Targetscited by 22
- 2023A Pseudo-Semantic Loss for Autoregressive Models with Logical Constraintscited by 21
- 2020Elaborating on Learned Demonstrations with Temporal Logic Specificationscited by 14
- 2025Probabilistic Shielding for Safe Reinforcement Learningcited by 12
- 2025A Survey of Safe Reinforcement Learning and Constrained MDPs: A Technical Survey on Single-Agent and Multi-Agent Safetycited by 12
- 2024Temporal Logic Specification-Conditioned Decision Transformer for Offline Safe Reinforcement Learningcited by 10
- 2024NeSyA: Neurosymbolic Automatacited by 9
- 2024Diffusion Models as Optimizers for Efficient Planning in Offline RLcited by 8
- 2024DeepDFA: Automata Learning through Neural Probabilistic Relaxationscited by 8
- 2018Safe Reinforcement Learning via Probabilistic Shieldscited by 7
- 2025Neuro-Symbolic Predictive Process Monitoringcited by 7
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026STO-RL: Offline RL under Sparse Rewards via LLM-Guided Subgoal Temporal Order
- 2025RLFR: Extending Reinforcement Learning for LLMs with Flow Environment
- 2025Expressive Value Learning for Scalable Offline Reinforcement Learning
- 2025RLAF: Reinforcement Learning from Automaton Feedback
- 2026Can RL Teach Long-Horizon Reasoning to LLMs? Expressiveness Is Key
- 2025Zero-Shot Instruction Following in RL via Structured LTL Representations
- 2026Time to Reason: Scalable Neurosymbolic Learning for LTLf via Fuzzy Semantics
- 2023Reasoning with Latent Diffusion in Offline Reinforcement Learning