Temporal Performance Prediction for Deep Convolutional Long Short-Term Memory Networks

Laura Fieback, Bidya Dash, Jakob Spiegelberg, Hanno Gottschalk · DOI

Abstract

Reliable performance prediction is critical for deploying deep learning models in safety-sensitive environments like autonomous driving. This paper presents a novel approach for estimating the quality of video-based semantic segmentation without ground truth. By leveraging the internal cell states of Convolutional Long Short-Term Memory (ConvLSTM) networks, we extract "stability metrics" that serve as proxies for model uncertainty. Our meta-modeling framework, which incorporates temporal history, significantly outperforms standard entropy-based baselines in both classification (identifying failed segments) and regression (predicting IoU).

Introduction

Deep neural networks often exhibit overconfidence, providing high-certainty predictions even when incorrect. In autonomous driving, such errors can lead to catastrophic failures. While uncertainty quantification for static images is well-studied, video data provides a temporal dimension that remains underutilized.

This research addresses temporal uncertainty quantification. Instead of relying solely on final output probabilities, we investigate the internal "thought process" of recurrent architectures. By analyzing how internal memory states evolve over time, we can predict the reliability of future frame predictions.

Methodology

The core of our approach is a "meta-classification and regression" framework. We train secondary meta-models to predict the Intersection over Union (IoU) of the primary segmentation model's output.

ConvLSTM Architecture

The underlying model utilizes an encoder-decoder structure based on ConvLSTM layers. The encoding network processes input frames, and its final states are copied to a forecasting network that predicts future segments.

The architecture of the proposed Encoding and Forecasting Network, illustrating the flow of information through ConvLSTM layers.

Stability Metrics and Temporal Context

We introduce Cell State Stability Metrics, which measure the variance and change in internal ConvLSTM cell states across different network blocks. Unlike standard dispersion metrics (e.g., entropy) derived from the softmax layer, these metrics capture deeper internal inconsistencies. To capture temporal dynamics, we track these metrics for individual segments over a 10-frame window using a training-free tracking algorithm.

Experimental Setup

We evaluated our method using the VIPER (VIsual PERception) dataset, a large-scale synthetic dataset for autonomous driving. Classes were clustered into 17 categories for efficiency. We tested on both "strong" (18 epochs) and "weak" (4 epochs) base models to ensure the meta-model's robustness across different performance levels. Meta-models compared include Gradient Boosting (GB), Linear Regression (LR), standard Neural Networks (NN), and a shallow LSTM meta-model.

Key Results

The proposed temporal metrics consistently outperformed entropy-based baselines. The meta-models successfully identified segments with zero IoU (meta-classification) and accurately estimated the numerical IoU (meta-regression).

Performance comparison of different meta-models (GB, LR, LSTM, NN) against entropy baselines for both weak (W) and strong (S) base models.

As shown in the table above, the Gradient Boosting (GB) and LSTM meta-models achieved the highest performance. For meta-classification, we reached an accuracy of up to 96.15% and an AUROC of 95.04%. In meta-regression, the models achieved $R^2$ values as high as 74.31%, indicating that nearly three-quarters of the variance in segmentation quality can be explained by our internal stability metrics.

Conclusion

This work demonstrates that the internal states of recurrent networks are a rich source of information for uncertainty quantification. By incorporating temporal history, we can provide a robust reliability layer for video-based tasks. Future research will focus on extending these metrics to Transformer-based architectures and exploring multi-step future performance prediction to increase reaction times in autonomous systems.

Summary updated

BibTeX
@inproceedings{fieback2023temporal,
  author = {Laura Fieback and Bidya Dash and Jakob Spiegelberg and Hanno Gottschalk},
  title = {{Temporal Performance Prediction for Deep Convolutional Long Short-Term Memory Networks}},
  booktitle = {AALTD@ECML/PKDD},
  year = {2023},
  doi = {10.1007/978-3-031-49896-1\_10},
}
Figure