Introspective Perception: Learning to Predict Failures in Vision Systems

Shreyansh Daftry, Sam Zeng, J. Andrew Bagnell, Martial Hebert

Introduction

In the controlled environments of computer vision benchmarks, algorithms have reached unprecedented levels of accuracy. However, deploying these same systems in the "wild"—where robots encounter motion blur, extreme lighting variations, and unfamiliar terrain—reveals a critical vulnerability: perception systems are often confidently wrong. Traditional safety mechanisms rely on internal confidence metrics, such as the variance in a depth estimate. Yet, if a model encounters data far outside its training distribution, these internal metrics may fail to signal any issue.

Researchers from Carnegie Mellon University have proposed a framework for introspective perception, enabling robots to "know when they don’t know." By analyzing raw sensor data through a dedicated introspection layer, a robot can predict its own likelihood of failure in real-time and take preemptive action before a catastrophic failure occurs.

Methods: The Introspective Envelope

Instead of modifying the underlying navigation or perception algorithms, the authors wrap the existing system in an "introspective envelope." This framework treats the primary perception system as a black box and focuses on evaluating the quality of the input data relative to the system's capabilities.

Spatio-Temporal CNN Architecture

The core of the introspection model is a two-stream Convolutional Neural Network (CNN) designed to capture both static and dynamic failure modes:

  1. Spatial Stream: This stream processes individual RGB frames to identify static environmental challenges, such as over-exposure, lack of texture, or extreme shadows.
  2. Temporal Stream: This stream analyzes optical flow—the motion of pixels between consecutive frames. This allows the system to detect failures caused by rapid rotations or high-velocity motion blur that a single image might miss.
The two-stream CNN architecture extracts features from spatial and temporal data to predict failure scores via a Linear SVM.

Features from both streams (extracted from the fc7 layer of an AlexNet-style architecture) are concatenated and passed to a Linear SVM. The SVM outputs a failure prediction score between 0 and 1. If this score exceeds a predefined threshold, the robot triggers an emergency maneuver, such as a short translational move to reset sensor exposure or a controlled hover, rather than following a potentially dangerous trajectory.

The BIRD Dataset

To train and validate this approach, the researchers introduced the BIRD Dataset (Forest Imagery for Robotics and Drone-based navigation). This dataset contains 60,000 images of dense, cluttered forest environments collected across different seasons and lighting conditions. While the robot navigates using a monocular camera, the dataset includes stereo-camera ground truth to provide high-accuracy depth data and collision-free trajectory labels for training the introspection model.

Experimental Results

The system was evaluated on a Micro Aerial Vehicle (MAV) navigating a dense forest. The researchers utilized two primary metrics: the Risk-Averse Metric (RAM), which measures the model's ability to predict reconstruction errors, and Distance to Intervention (DTI), which measures how far the drone flies before requiring human assistance.

System overview showing (a) raw and processed sensor inputs, (b) trajectory evaluation on a cost map, and (c) 3D environment mapping with planned paths.

Key findings include:

  • Improved Safety: The introspective model significantly outperformed traditional confidence-based methods in predicting failures across various depth-estimation algorithms.
  • Extended Autonomy: In real-world flight tests, the introspective drone flew nearly twice as far before requiring pilot intervention compared to a standard reactive system.
  • Generalization: The model successfully flagged "unseen" scenarios, such as transitioning from a dense forest into an open field, which the original navigation system was not trained to handle.

Conclusion and Future Work

Introspective perception represents a shift from evaluating model outputs to evaluating environmental inputs. By predicting failure from the raw sensor stream, the system becomes preemptive, rejecting bad data before the navigation stack even attempts to process it.

Future work aims to move beyond binary failure prediction to categorize specific failure modes (e.g., "too dark" vs. "too fast"), allowing the robot to choose more specific remedial actions. Additionally, the researchers hope to automate the learning of recovery maneuvers and optimize the two-stream CNN for more efficient real-time execution on edge hardware.

Summary updated

BibTeX
@inproceedings{daftry2016introspective,
  author = {Shreyansh Daftry and Sam Zeng and J. Andrew Bagnell and Martial Hebert},
  title = {{Introspective Perception: Learning to Predict Failures in Vision Systems}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2016},
  doi = {10.1109/iros.2016.7759279},
}
Figure