Failure mode classification is the supervised machine learning task of categorizing specific transformer fault types—such as overheating, partial discharge, or arcing—based on labeled patterns in dissolved gas analysis (DGA) and electrical test data. It maps diagnostic signatures to discrete failure categories defined by standards like IEC 60599.
Glossary
Failure Mode Classification

What is Failure Mode Classification?
Failure mode classification is the supervised machine learning task of categorizing transformer fault types based on labeled patterns in diagnostic data.
Algorithms such as Random Forest, XGBoost, and support vector machines are trained on historical fault records where the root cause has been verified through inspection. The model learns the gas ratio boundaries and thermal profiles that distinguish a thermal fault from an electrical fault, enabling automated, real-time triage of incipient failures.
Key Characteristics of Failure Mode Classification
Failure mode classification is the supervised machine learning task of categorizing transformer fault types—such as overheating, partial discharge, or arcing—based on labeled patterns in dissolved gas and electrical test data. The following characteristics define how these diagnostic taxonomies are engineered and deployed.
Supervised Learning Foundation
Failure mode classification relies on labeled historical datasets where each fault event has been verified through physical inspection or laboratory analysis. Common algorithms include:
- Random Forest and XGBoost for tabular DGA data with engineered gas ratios
- Support Vector Machines (SVM) for high-dimensional feature spaces with clear margin separation
- Multi-layer Perceptrons for capturing non-linear relationships between gas concentrations and fault types
The quality of classification depends directly on the accuracy and completeness of ground-truth labels obtained during transformer teardowns or repairs.
IEC 60599 Fault Taxonomy
The international standard IEC 60599 defines the canonical fault categories that classification models must predict:
- Partial Discharge (PD): Low-energy discharges in gas-filled voids, characterized by high hydrogen and methane
- Thermal Faults (<300°C, 300-700°C, >700°C): Overheating of cellulose or oil, indicated by ethylene and methane ratios
- Electrical Faults (D1, D2): Low-energy and high-energy arcing, marked by acetylene production
Models must distinguish between thermal faults in oil versus paper, as the latter indicates critical cellulose degradation.
Multi-Gas Ratio Feature Engineering
Raw gas concentrations are rarely used directly. Instead, diagnostic ratios serve as the primary features:
- Duval Triangle ratios: %CH₄, %C₂H₄, %C₂H₂ for thermal/electrical discrimination
- Rogers ratios: C₂H₂/C₂H₄, CH₄/H₂, C₂H₄/C₂H₆ for fault severity staging
- Doernenburg ratios: Five-ratio method requiring minimum gas concentration thresholds
Lag features and rolling statistics from online DGA monitors add temporal context, enabling models to detect evolving faults before gas concentrations exceed alarm thresholds.
Multi-Class Imbalance Handling
Real-world transformer fleets exhibit severe class imbalance—thermal faults dominate while dangerous arcing faults are rare. Mitigation strategies include:
- Synthetic Minority Oversampling (SMOTE) to generate synthetic arcing fault examples in feature space
- Cost-sensitive learning that penalizes misclassification of catastrophic faults more heavily than minor thermal anomalies
- Stratified k-fold cross-validation to ensure rare fault types appear in every training and validation fold
Without imbalance correction, models achieve high overall accuracy while missing the most critical failure modes.
Explainability for Asset Managers
Classification outputs must be interpretable to justify maintenance decisions. Techniques applied to transformer fault models include:
- SHAP (SHapley Additive exPlanations): Quantifies each gas's contribution to a specific fault prediction
- LIME (Local Interpretable Model-agnostic Explanations): Generates local surrogate models explaining individual predictions
- Decision tree visualization: For ensemble methods, extracting the most influential decision paths
Explainability bridges the gap between black-box neural networks and the engineering judgment required to authorize a $500,000 transformer outage.
Integration with Condition-Based Maintenance
Failure mode classification is not a standalone exercise—it feeds directly into Condition-Based Maintenance (CBM) workflows:
- Classification triggers specific inspection protocols (e.g., acetylene detection prompts immediate internal inspection)
- Fault type determines urgency scoring within Health Index calculations
- Outputs are mapped to IEC 61850 MMS logical nodes for SCADA alarming and automated load shedding
The classification model serves as the diagnostic brain within a broader predictive maintenance architecture that includes RUL estimation and Digital Twin synchronization.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about using supervised machine learning to categorize transformer faults from dissolved gas and electrical test data.
Failure mode classification is the supervised machine learning task of assigning a specific fault category—such as overheating, partial discharge, or arcing—to a transformer based on labeled patterns in diagnostic data. The process ingests features derived from Dissolved Gas Analysis (DGA), oil quality tests, and electrical measurements, then maps them to known failure signatures. Unlike simple threshold-based alarms, a classification model learns the complex, non-linear relationships between multiple gas ratios (e.g., ethylene to acetylene) and fault types defined by standards like IEC 60599 and IEEE C57.104. The output is a discrete label that directs maintenance crews to the root cause, enabling targeted intervention rather than generic inspection.
Failure Mode Classification vs. Anomaly Detection
Structural and operational differences between supervised fault type identification and unsupervised deviation detection in transformer condition monitoring.
| Feature | Failure Mode Classification | Anomaly Detection |
|---|---|---|
Learning Paradigm | Supervised | Unsupervised / Semi-supervised |
Requires Labeled Fault Data | ||
Output Type | Categorical fault class (e.g., arcing, overheating) | Binary anomaly score or reconstruction error |
Identifies Specific Root Cause | ||
Detects Novel/Unknown Faults | ||
Typical Algorithms | Random Forest, XGBoost, SVM | Autoencoder, Isolation Forest, LSTM-VAE |
Training Data Requirement | Balanced dataset of known fault types | Normal operational data only |
Interpretability | High (SHAP, feature importance) | Moderate (requires post-hoc analysis) |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Failure mode classification relies on a constellation of diagnostic inputs and analytical methods. These related terms form the technical foundation for accurate fault categorization in transformer asset management.
Duval Triangle Method
A graphical diagnostic tool that plots relative proportions of %CH₄, %C₂H₄, and %C₂H₂ to classify faults into six zones:
- D1: Low energy discharge
- D2: High energy discharge (arcing)
- T1: Thermal fault < 300°C
- T2: Thermal fault 300-700°C
- T3: Thermal fault > 700°C
- PD: Partial discharge
Machine learning classifiers often use Duval Triangle zone assignments as categorical features or validate model predictions against this established diagnostic framework.
Ensemble Learning for Fault Classification
Modern failure mode classification leverages ensemble methods to improve accuracy over single-algorithm approaches:
- Random Forest: Handles non-linear gas ratio relationships and provides feature importance rankings
- XGBoost: Excels with imbalanced datasets where certain fault types are rare
- Stacking: Combines multiple base classifiers with a meta-learner for final prediction
These methods typically achieve >95% accuracy on labeled DGA datasets, significantly outperforming traditional ratio-based methods. Feature engineering includes gas ratios, rate-of-change calculations, and load-correlated gas levels.
Explainable AI (XAI) for Diagnostics
Asset managers require interpretable justifications for automated fault classifications. XAI methods applied to transformer diagnostics include:
- SHAP (SHapley Additive exPlanations): Quantifies each gas's contribution to a specific fault classification
- LIME (Local Interpretable Model-agnostic Explanations): Generates local approximations to explain individual predictions
- Partial Dependence Plots: Visualize how acetylene levels influence arcing probability
These techniques bridge the gap between black-box neural networks and the IEC 60599 diagnostic logic that reliability engineers trust.
Physics-Informed Neural Networks (PINNs)
An emerging approach that embeds thermodynamic governing equations directly into the neural network loss function. For transformer fault classification, PINNs constrain predictions to physically plausible failure modes:
- Heat transfer equations prevent thermal fault predictions inconsistent with load and ambient temperature
- Gas generation rate laws ensure predicted gas trajectories follow Arrhenius reaction kinetics
- Dielectric breakdown physics constrain partial discharge classifications
This hybrid approach reduces false positives by 40-60% compared to purely data-driven models, particularly when training data is limited.
Autoencoder Anomaly Detection
Unsupervised neural networks trained to reconstruct normal transformer operational data. Failure mode classification integrates autoencoders for:
- Novelty detection: Identifying fault signatures not present in training data
- Pre-classification filtering: Flagging anomalous conditions before supervised classification
- Degradation trajectory mapping: Tracking how reconstruction error increases as faults develop
When reconstruction error exceeds a dynamic threshold (typically 3σ above baseline), the sample is routed to the supervised classifier for specific fault type identification.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us