2. Industrial data characteristics

Industrial AI models rarely fail because the algorithm is weak. They fail because the data violates the assumptions the algorithm silently makes. Before choosing a model family or a tuning strategy, you must characterize the data along five axes: temporal structure, dimensionality, class balance, distributional stability, and quality. Each axis constrains which models are viable and which hyperparameters actually matter.

Sensor Time Series: Autocorrelation and Sampling Reality

Sensor channels are not independent samples. A vibration signal sampled at 10 kHz on a bearing test rig exhibits strong autocorrelation over hundreds of samples; a temperature loop sampled at 1 Hz may show correlation over minutes. This matters because random k-fold cross-validation leaks future information into the training set. For any time-indexed channel, use forward-chaining or blocked splits with an embargo gap at least as long as the dominant autocorrelation length.

Sampling rate also dictates feature engineering. A 10 kHz accelerometer stream is usually reduced to windowed statistics (RMS, kurtosis, crest factor, spectral band energies) over 0.5–2 s windows with 50% overlap. A 1 Hz process tag is often used directly with lag features. If you feed raw high-rate samples into a gradient-boosted tree, you get thousands of weak, redundant features; if you downsample too aggressively, you destroy the impulsive signatures that indicate faults.

Rule of thumb: estimate the autocorrelation time τ from the data, then set the cross-validation embargo to at least 2τ. For a 10 kHz vibration channel with τ ≈ 0.05 s, that is a 0.1 s gap between train and validation folds.

High-Dimensional Process Data: Correlation and Redundancy

A typical process historian exposes 500–5,000 tags per unit. Many are physically coupled: feed rate, reactor pressure, and outlet temperature move together. This creates two problems. First, distance-based models (k-NN, RBF SVM, Gaussian processes) degrade as dimensionality grows because distances concentrate. Second, linear models become unstable when predictors are collinear — coefficients swing wildly under small data perturbations.

Practical handling: compute a correlation or mutual-information matrix, cluster tags with |ρ| > 0.9, and retain one representative per cluster plus any tag with known causal relevance. Then apply PCA or partial least squares (PLS) if the retained dimension still exceeds roughly one-tenth of the number of independent operating periods. Tree ensembles tolerate redundancy better than linear models, but feature importance becomes unreliable when duplicates remain — always deduplicate before interpreting importance.

Class Imbalance: Rare Faults, Common Normal

In condition monitoring, normal operation may account for 99.5% of labeled windows while a specific fault class has 30 examples. Accuracy is meaningless here. Use precision-recall AUC or recall at a fixed false-alarm rate as the primary metric. For tuning, class weights or focal loss shift the decision threshold; resampling (SMOTE, undersampling) changes the effective prior. Be careful: SMOTE on time-series windows creates synthetic samples that violate temporal continuity and can inflate validation scores. Prefer window-level oversampling with jitter or, better, cost-sensitive learning.

Concept Drift: When the Past Stops Predicting the Future

Equipment degrades, feedstock changes, and sensors are recalibrated. A model trained on January data may lose 15–30% recall by June. Drift takes three forms: covariate shift (input distribution changes), prior shift (class frequencies change), and concept shift (the input-output mapping itself changes, e.g., after a maintenance overhaul).

Detection: monitor a drift statistic such as the Population Stability Index (PSI) or a two-sample Kolmogorov–Smirnov test on key features, computed weekly against a reference window. PSI < 0.1 is stable; 0.1–0.25 warrants investigation; > 0.25 triggers retraining. For tuning, drift means your validation set must be the most recent period, not a random holdout. Hyperparameters that control model plasticity — learning rate, tree depth, regularization strength — should be re-tuned after each significant drift event.

Data Quality: Gaps, Spikes, and Label Noise

Historian data arrives with gaps (communication loss), stuck values (frozen sensor), spikes (electrical interference), and timestamp misalignment across systems. Label noise is worse: maintenance records often mark a work order date, not the actual fault onset, introducing label lag of hours to days.

A minimal quality gate before modeling:

  • Drop channels with >20% missing in the analysis window; impute the rest with forward-fill plus a missingness indicator.
  • Flag stuck values as runs of identical readings longer than 10× the expected update interval.
  • Clip spikes using a rolling median ± 6× MAD (median absolute deviation).
  • Shift labels backward by the estimated label lag, or exclude ambiguous windows from training.
Never impute with the global mean on time-series data — it destroys autocorrelation and creates artificial stationarity that will not hold at inference time.

How These Characteristics Drive Model Selection

The table below summarizes the practical mapping from data characteristic to model and tuning implications.

Data characteristicPreferred model familiesTuning focus
Strong autocorrelation, high-rate sensor1D CNN, LSTM/GRU, temporal CNNWindow length, stride, receptive field
High-dimensional, collinear process tagsPLS, regularized linear, gradient-boosted treesL1/L2 strength, max depth, feature subsampling
Severe class imbalanceCost-sensitive trees, anomaly detection (autoencoder, isolation forest)Class weights, threshold, focal loss γ
Concept driftOnline learning, sliding-window retraining, ensemble with drift detectorWindow size, retrain cadence, learning rate
Noisy labels, gapsRobust loss (Huber), label smoothing, semi-supervisedLoss robustness parameter, confidence threshold

Worked Example: Bearing Fault Detection on a 10 kHz Channel

Consider a vibration channel sampled at 10 kHz with 0.5 s windows and 50% overlap. The dataset contains 12,000 normal windows and 180 outer-race fault windows. Autocorrelation time is approximately 0.04 s, so the embargo is set to 0.1 s. After computing RMS, kurtosis, crest factor, and five spectral band energies, you have 8 features per window. A gradient-boosted tree with scale_pos_weight ≈ 67 (12,000/180) is trained with forward-chaining splits. Validation uses PR-AUC. If PR-AUC drops below 0.7 on the most recent fold while training PR-AUC remains above 0.95, suspect drift or label lag and inspect the PSI on RMS and kurtosis.

Industrial Data Characteristics → Model & Tuning Decisions Sensor Time Series autocorrelation, sampling rate High-Dimensional Tags collinearity, redundancy Class Imbalance rare faults, skewed prior Concept Drift covariate, prior, concept shift Data Quality gaps, spikes, label noise Blocked / forward-chaining CV embargo ≥ 2τ Deduplicate + PCA / PLS retain causal tags PR-AUC, recall @ fixed FAR class weights, focal loss PSI / KS drift monitor recent-period validation Quality gate + robust loss MAD clipping, label shift 1D CNN / LSTM / Temporal CNN tune: window length, stride, receptive field PLS / Elastic Net / GBDT tune: L1/L2, depth, feature subsample Cost-sensitive trees / Autoencoder tune: scale_pos_weight, threshold, γ Online learning / sliding-window ensemble tune: window size, retrain cadence, LR Huber loss / label smoothing / semi-sup. tune: robustness param, confidence threshold Feedback: drift detected → re-characterize data → re-tune DATA CHARACTERISTIC HANDLING / VALIDATION MODEL & TUNING IMPLICATION

Practical Checklist Before Any Tuning Run

  1. Plot the autocorrelation function for each high-rate channel; record τ and set the CV embargo to 2τ.
  2. Compute pairwise correlation or mutual information; collapse clusters above 0.9 into single representatives.
  3. Report the class ratio and choose PR-AUC or recall-at-FAR as the optimization metric.
  4. Run a PSI check on the top 10 features between the training window and the most recent 2 weeks.
  5. Apply the quality gate: missingness threshold, stuck-value detection, MAD spike clipping, label-lag correction.
  6. Only then select a model family and begin hyperparameter search, using forward-chaining splits throughout.

These steps are not optional hygiene. They determine whether your tuned model generalizes to the next operating period or merely memorizes the quirks of a historical dataset.