Task-Driven Detection of Distribution Shifts with Statistical Guarantees for Robot Learning

Alec Farid, Sushant Veer, Divyanshu Pachisia, Anirudha Majumdar
6/25/2021
cs.ROcs.LGstat.AP

Official code: irom-princeton/Task_Relevant_OOD_Detection (3 stars, Python, MIT, last commit 2023-06-17).

Abstract

Our goal is to perform out-of-distribution (OOD) detection, i.e., to detect when a robot is operating in environments drawn from a different distribution than the ones used to train the robot. We leverage Probably Approximately Correct (PAC)-Bayes theory to train a policy with a guaranteed bound on performance on the training distribution.

Show full abstract

Our idea for OOD detection relies on the following intuition: violation of the performance bound on test environments provides evidence that the robot is operating OOD. We formalize this via statistical techniques based on p-values and concentration inequalities. The approach provides guaranteed confidence bounds on OOD detection including bounds on both the false positive and false negative rates of the detector and is task-driven and only sensitive to changes that impact the robot's performance. We demonstrate our approach in simulation and hardware for a grasping task using objects with unfamiliar shapes or poses and a drone performing vision-based obstacle avoidance in environments with wind disturbances and varied obstacle densities. Our examples demonstrate that we can perform task-driven OOD detection within just a handful of trials.

View on arXivView PDF

Code Implementations(1)

MIT

Code for paper titled: "Task-Driven Out-of-Distribution Detection with Statistical Guarantees for Robot Learning."

31Python, MATLABJun 21, 20213 years agoMIT

Similar Papers

Cite this paper

@article{farid2021taskdriven,
  title  = {Task-Driven Detection of Distribution Shifts with Statistical Guarantees for Robot Learning},
  author = {Alec Farid and Sushant Veer and Divyanshu Pachisia and Anirudha Majumdar},
  year   = {2021},
  eprint = {2106.13703},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.13703}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.13703.svg)](https://codeofpaper.com/paper/2106.13703)

Discussion