[Paper Review] Fibres of Failure: Classifying errors in predictive processes
Fibres of Failure (FiFa) is a topological data analysis method that classifies failure modes in predictive models using the Mapper algorithm to stratify input data by prediction error. It identifies distinct failure modes in corrupted MNIST images, enabling correction layers that improve accuracy by up to 19.33% while correcting only 0.32% of clean data.
We describe Fibres of Failure (FiFa), a method to classify failure modes of predictive processes using the Mapper algorithm from Topological Data Analysis. Our method uses Mapper to build a graph model of input data stratified by prediction error. Groupings found in high-error regions of the Mapper model then provide distinct failure modes of the predictive process. We demonstrate FiFa on misclassifications of MNIST images with added noise, and demonstrate two ways to use the failure mode classification: either to produce a correction layer that adjusts predictions by similarity to the failure modes; or to inspect members of the failure modes to illustrate and investigate what characterizes each failure mode.
Motivation & Objective
- To develop a method for diagnosing and classifying failure modes in predictive models using topological data analysis.
- To identify regions in input space where predictive models consistently fail, particularly under noise or corruption.
- To enable corrective interventions by classifying new inputs into known failure modes based on similarity to identified failure patterns.
- To provide interpretability by revealing what features or structures in the input data correlate with specific types of misprediction.
Proposed method
- Applies the Mapper algorithm from topological data analysis to create a graph model of input data stratified by prediction error.
- Uses continuous filter functions to partition the data space into overlapping regions based on error magnitude, preserving topological structure.
- Identifies connected components in high-error regions as distinct failure modes, treating them as clusters of similar misprediction behavior.
- Trains a classifier (e.g., logistic regression or SVM) on failure mode seeds to assign new inputs to failure modes for correction.
- Implements a correction layer that adjusts predictions by subtracting the mean error of the identified failure mode from the model’s output.
- Applies the method to a CNN on MNIST with added noise, using activations from the penultimate and antepenultimate layers as input to Mapper.
Experimental results
Research questions
- RQ1How can failure modes in predictive models be systematically classified using topological data analysis?
- RQ2Can failure modes be identified that are internally coherent but distinct in their prediction errors or input space characteristics?
- RQ3To what extent can failure mode classification improve predictive accuracy through targeted correction layers?
- RQ4What insights into model behavior can be gained by inspecting the features of inputs belonging to specific failure modes?
- RQ5Can the method be generalized beyond image classification to other predictive processes, such as regression models?
Key findings
- FiFa identified 39 distinct failure modes in a CNN trained on noisy MNIST images using activations from the penultimate and antepenultimate layers.
- The method achieved a 19.33% absolute improvement in prediction accuracy on corrupted MNIST data when applying a correction layer based on failure mode classification.
- Only 0.32% of clean (uncorrupted) images were incorrectly corrected, demonstrating high specificity in failure mode detection.
- Failure mode groups were distinguishable by neural activation patterns: for digit 5, failure modes showed distinct saliency map behaviors, including blank maps in neurons tuned for 5s.
- The correction layer significantly reduced error rates while maintaining high fidelity on clean data, with 0.21% of failure mode group members being clean images.
- The method generalized to a regression model for steel furnace temperature prediction, where failure modes revealed consistent over- and under-prediction biases of ~100°C, enabling meaningful correction and metallurgical insights.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.