First-Person Activity Forecasting with Online Inverse Reinforcement Learning

Nicholas Rhinehart, Kris Kitani · DOI

Abstract

We address the problem of incrementally modeling and forecasting long-term goals of a first-person camera wearer: what the user will do, where they will go, and what goal they seek. In contrast to prior work in trajectory forecasting, our algorithm, DARKO, goes further to reason about semantic states (will I pick up an object?), and future goal states that are far in terms of both space and time. DARKO learns and forecasts from first-person visual observations of the user's daily behaviors via an Online Inverse Reinforcement Learning (IRL) approach. Classical IRL discovers only the rewards in a batch setting, whereas DARKO discovers the states, transitions, rewards, and goals of a user from streaming data. Among other results, we show DARKO forecasts goals better than competing methods in both noisy and ideal settings, and our approach is theoretically and empirically no-regret.

Introduction

Traditional trajectory forecasting primarily focuses on short-term physical paths, often predicting only a few seconds into the future based on current velocity and local obstacles. However, human movement is intrinsically goal-oriented and semantic. For instance, picking up a coffee mug implies a likely destination like a kitchen. To truly understand and assist users, AI systems must forecast long-term goals that may be minutes away and outside the current field of view.

This task presents three major challenges: the extended temporal and spatial horizon of predictions, the need to integrate semantic object interactions, and the requirement for online learning to adapt to specific user habits incrementally. We introduce DARKO (Discovering Agent Rewards for K-futures Online) to address these issues by modeling human behavior through the lens of Online Inverse Reinforcement Learning.

Overview of DARKO: The system predicts semantic actions and long-term goals by integrating visual observations into a probabilistic future state distribution.

Methodology: The DARKO Framework

DARKO treats human activity as a Markov Decision Process (MDP) with unknown rewards. Unlike standard IRL, which operates on static datasets, DARKO learns from streaming first-person data.

Online Inverse Reinforcement Learning

DARKO observes user trajectories and infers the underlying reward function that explains their behavior. The model updates its understanding of "rewarding" states (e.g., reaching a specific desk) every time a goal-directed episode is completed. This allows the system to adapt to new environments and changing user preferences over time.

Semantic State Space and Maximum Entropy

The state representation extends beyond 3D coordinates to include semantic information: the user's current location (via SLAM), objects currently held (via action recognition), and the previous stop point. By employing a Maximum Entropy policy, DARKO maintains a distribution over all possible future paths, effectively managing uncertainty. As the user interacts with objects—which serve as strong proxies for intent—the probability distribution "collapses" toward the most likely goal.

Experimental Evaluation

We evaluated DARKO using a newly collected First-Person Continuous Activity Dataset, comprising 15 days of recording across five diverse environments (homes, offices, and a lab). The dataset includes over 250 unique actions and 19 object types.

Comparative Performance

DARKO was compared against several baselines, including Recurrent Neural Networks (RNNs) and Max-Margin Event Detectors (MMED). Performance was measured by the probability assigned to the true goal ($P_{g^*}$) as a function of the fraction of the trajectory observed.

Performance comparison of DARKO against baselines across four environments.

In the "Home 1" environment, DARKO achieved a mean $P_{g^*}$ of 0.52 using noisy visual detectors, significantly outperforming the RNN baseline (0.29). When provided with ground-truth detections, DARKO’s accuracy reached 0.85, highlighting its potential as computer vision sensors continue to improve. Furthermore, the model demonstrated high precision in predicting arrival times, with median errors as low as 6.3% in structured environments like the chemistry lab.

Conclusion

DARKO represents a significant step toward long-term, semantic activity forecasting. By combining Online IRL with a rich semantic state space, the framework can discover and predict complex human goals from streaming first-person video. The "no-regret" nature of the learning process ensures that the model converges toward optimal performance, making it a robust solution for personalized assistive AI and proactive robotics.

Summary updated

Abstract

We address the problem of incrementally modeling and forecasting long-term goals of a first-person camera wearer: what the user will do, where they will go, and what goal they seek. In contrast to prior work in trajectory forecasting, our algorithm, DARKO, goes further to reason about semantic states (will I pick up an object?), and future goal states that are far in terms of both space and time. DARKO learns and forecasts from first-person visual observations of the user's daily behaviors via an Online Inverse Reinforcement Learning (IRL) approach. Classical IRL discovers only the rewards in a batch setting, whereas DARKO discovers the states, transitions, rewards, and goals of a user from streaming data. Among other results, we show DARKO forecasts goals better than competing methods in both noisy and ideal settings, and our approach is theoretically and empirically no-regret.
BibTeX
@inproceedings{rhinehart2017first,
  author = {Nicholas Rhinehart and Kris Kitani},
  title = {{First-Person Activity Forecasting with Online Inverse Reinforcement Learning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.399},
}
Figure