Hybrid Offline Passive Grammatical Inference and Online Planning for Non-Markovian Tasks
Mahyar Alinejad, Alvaro Velasquez, Yue Wang, George K. Atia
Abstract
Planning in non-Markovian environments often requires inferring task structures, such as reward machines, through interactions with the environment. Traditional active grammatical inference methods, like Angluin’s L<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">*</sup> algorithm, depend on continuous querying to learn task structures for the underlying planning objectives. In contrast, we propose a hybrid approach that combines passive grammatical inference, using the Regular Positive and Negative Inference (RPNI) algorithm, with online planning. By leveraging pre-collected positive and negative trajectories, RPNI learns a deterministic finite automaton (DFA) that captures the task structure, significantly reducing the need for real-time interactions. Subsequently, online planning is conducted over the product MDP, which integrates the environment with the learned DFA. This hybrid methodology minimizes the cost of online interactions and improves learning efficiency in complex environments. Our approach outperforms baseline algorithms in terms of runtime and sample complexity, and is well-suited for real-world scenarios where task structures are implicit, and interactions with the environment are expensive.
BibTeX
@inproceedings{icassp2025_hybridofflinepas,
title = {Hybrid Offline Passive Grammatical Inference and Online Planning for Non-Markovian Tasks},
author = {Mahyar Alinejad and Alvaro Velasquez and Yue Wang and George K. Atia},
booktitle = {ICASSP 2025},
year = {2025}
}