Skip to main content
QUICK REVIEW

[Paper Review] Lifelong Inverse Reinforcement Learning

Jorge A. Mendez, Shashank Shivkumar|arXiv (Cornell University)|Jul 1, 2022
Reinforcement Learning in RoboticsComputer Science27 references7 citations
TL;DR

This paper introduces lifelong inverse reinforcement learning (LIRL), a framework that enables agents to transfer knowledge across multiple demonstrated tasks to reduce demonstration requirements. By extending Maximum Entropy IRL with a shared latent reward representation, the proposed ELIRL algorithm improves performance on both new and previously learned tasks through continual refinement, achieving significant gains over single-task IRL with minimal computational overhead.

ABSTRACT

Methods for learning from demonstration (LfD) have shown success in acquiring behavior policies by imitating a user. However, even for a single task, LfD may require numerous demonstrations. For versatile agents that must learn many tasks via demonstration, this process would substantially burden the user if each task were learned in isolation. To address this challenge, we introduce the novel problem of lifelong learning from demonstration, which allows the agent to continually build upon knowledge learned from previously demonstrated tasks to accelerate the learning of new tasks, reducing the amount of demonstrations required. As one solution to this problem, we propose the first lifelong learning approach to inverse reinforcement learning, which learns consecutive tasks via demonstration, continually transferring knowledge between tasks to improve performance.

Motivation & Objective

  • To address the high user burden in learning multiple tasks via imitation by enabling continual knowledge transfer across tasks.
  • To formalize lifelong learning from demonstration as an online multi-task learning problem in inverse reinforcement learning.
  • To develop a general framework that wraps existing IRL methods to support lifelong knowledge sharing.
  • To evaluate whether reverse transfer—improvement on past tasks—can be achieved through shared reward representation.
  • To extend the framework to cross-domain and continuous state-action spaces.

Proposed method

  • The framework uses a low-rank matrix factorization to model shared latent components across reward functions, represented as a matrix L.
  • Each task's reward function is modeled as a linear combination of shared latent factors, parameterized by task-specific weights s^(t).
  • The algorithm performs online learning, updating the shared latent factors L and task-specific weights s^(t) with each new task.
  • It employs Maximum Entropy IRL as the base learner, adapting it to the lifelong setting via joint optimization of L and s^(t).
  • The method supports reverse transfer by refining L over time, which automatically improves modeling of previously learned tasks.
  • Extensions include cross-domain transfer using domain-adaptive feature alignment and adaptation to continuous state-action spaces via radial basis function representations.

Experimental results

Research questions

  • RQ1Can knowledge from previously learned tasks be effectively transferred to accelerate learning of new tasks in inverse reinforcement learning?
  • RQ2Does continual refinement of shared latent reward components lead to performance improvements on previously learned tasks (reverse transfer)?
  • RQ3How does lifelong IRL compare to single-task IRL in terms of sample efficiency and computational cost?
  • RQ4Can the framework generalize across tasks with different feature spaces or continuous state-action spaces?
  • RQ5To what extent does re-optimizing task-specific weights s^(t) enhance performance and stability across diverse tasks?

Key findings

  • ELIRL significantly outperforms single-task MaxEnt IRL, achieving equivalent or better performance with far less computational cost than Gaussian process-based IRL.
  • The algorithm demonstrates reverse transfer: performance on earlier tasks improves as more tasks are learned, with average performance gains observed after learning all tasks.
  • Cross-domain transfer via CD-ELIRL reduces reward difference by up to 30% compared to in-domain ELIRL, showing effectiveness across different feature spaces.
  • In continuous planar navigation tasks, ELIRL outperforms single-task AME-IRL, with performance gains increasing as more tasks are observed.
  • Re-optimizing s^(t) after each task improves reverse transfer and stabilizes performance, especially when transitioning between domains with different grid sizes.
  • The shared latent matrix L captures meaningful task structure, with learned components corresponding to spatial regions around specific colors in Objectworld environments.

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.