Abstract
Inverse Reinforcement Learning (IRL) is often applied to real-world datasets where expert trajectories are incomplete due to sensor failures or signal dropouts. Traditional methods for handling missing data, such as Expectation-Maximization (EM) with path sampling, suffer from exponential complexity as the size of missing segments increases. This paper introduces a highly scalable IRL framework that reformulates the log-likelihood computation as a system of linear equations. By utilizing a "Composition" algorithm to batch trajectories by destination, the approach achieves up to 60x speedups over standard value iteration and maintains constant computational overhead regardless of data sparsity. Empirical results on taxi trajectory data demonstrate that the method significantly outperforms sampling-based alternatives in both accuracy and efficiency.
Introduction
Inverse Reinforcement Learning (IRL) aims to deduce an agent's reward function from observed behavior. However, real-world observations are rarely continuous; for instance, a vehicle may lose GPS signal in a tunnel, resulting in missing state-action pairs. Standard approaches typically either ignore missing segments—discarding valuable context—or employ EM-based sampling to estimate latent paths. The latter becomes computationally intractable in large state spaces or for long missing segments, where the number of possible paths explodes. This paper addresses the need for a mathematically exact and computationally efficient method to perform IRL on incomplete trajectory data.
Methodology
The proposed approach overhauls the computational core of Maximum Entropy (MaxEnt) IRL.
Linear System Reformulation
The authors demonstrate that the recursive value iteration typically used in IRL can be rewritten as a system of linear equations. This allows the use of high-performance linear algebra solvers, such as LU factorization, which are significantly faster than iterative methods.
Exact Likelihoods for Missing Data
To handle missing segments between observed states, the algorithm computes the exact transition probability of reaching a target state from a source state by solving a linear system. This eliminates the need for path sampling, providing an exact solution that is robust to the length of the missing gap.
The Composition Algorithm
To scale the approach to thousands of missing segments, the authors introduce the Composition algorithm. By grouping trajectories that share common destinations (absorbing states), the model can solve a single combined linear system for an entire group. This makes the computational cost independent of the number of missing segments, depending instead on the number of features and unique destinations.
Results and Discussion
The algorithm was tested on a dataset of 1,832 taxi trajectories in a road network with 7,288 states. Missing data was simulated by removing links with probabilities ranging from 0.2 to 0.9.
Accuracy and Robustness
As illustrated in Figure 1, the Composition method maintains a high log-likelihood even as the missing probability reaches 0.9. In contrast, the performance of EM-based methods (EM-BFS) degrades sharply. The results suggest that when gaps are large, the inaccurate path sampling inherent in EM can be more detrimental to model performance than simply ignoring the missing data.
Computational Efficiency
The linear equation approach provides a massive speedup, performing ~60x faster than standard value iteration on complete datasets. Furthermore, as shown in Figure 2, the execution time for the Composition method remains flat as the missing probability increases. This contrasts with EM methods, where execution time spikes as the search space for path sampling expands across wider gaps.
Conclusion
This research presents a scalable and exact method for IRL with missing data. By replacing iterative value iteration and path sampling with linear systems and the Composition algorithm, the authors provide a framework that is both faster and more accurate than existing techniques. Future work will focus on extending these principles to non-linear reward functions and continuous state-space environments.
Summary updated