Mathematics of Machine Learning for Chemical Engineers
Machine learning for chemical engineers rests on a foundation of mathematical concepts that describe data, models, and algorithms. The vocabulary presented here is organized by thematic clusters, each entry giving a concise definition, a br…
Machine learning for chemical engineers rests on a foundation of mathematical concepts that describe data, models, and algorithms. The vocabulary presented here is organized by thematic clusters, each entry giving a concise definition, a brief example, and a note on practical relevance to chemical engineering problems such as reactor design, process optimization, and materials discovery. Emphasis is placed on the most frequently encountered symbols and ideas, enabling rapid reference while studying the Professional Certificate in AI for Chemical Engineers.
Vector – an ordered list of numbers, often written as a column. In process modeling a vector may represent concentrations of species, temperatures at different points in a reactor, or the set of design variables to be optimized. For example, a composition vector \[x_1, x_2, x_3\] could describe the mole fractions of three components in a feed stream.
Matrix – a rectangular array of numbers with rows and columns. Matrices are used to store stoichiometric coefficients, linear transformation operators, or data sets where each row corresponds to an experiment and each column to a measured variable. Multiplying a matrix by a vector implements a linear mapping, such as converting flow rates to mass balances.
Tensor – a multi‑dimensional generalization of vectors and matrices. In deep learning, tensors store batches of images, pressure fields, or time‑series data. A third‑order tensor could hold temperature values across space (x, y) and time (t), enabling convolutional neural networks to learn spatio‑temporal patterns.
Scalar – a single numeric value, often representing a physical quantity like pressure, viscosity, or a loss value in a training algorithm.
Norm – a function that assigns a non‑negative length to a vector. The most common is the Euclidean norm \(\|x\|_2 = \sqrt{\sum_i x_i^2}\). In process optimization the norm of a gradient indicates how far a design point is from a stationary point; a small norm suggests convergence.
Inner product – a way to multiply two vectors producing a scalar, typically \(\langle x, y\rangle = \sum_i x_i y_i\). Inner products define angles and orthogonality, concepts used in principal component analysis (PCA) to find directions of maximum variance in experimental data.
Gradient – the vector of first‑order partial derivatives of a scalar function with respect to its variables. For a cost function \(J(\theta)\), the gradient \(\nabla_\theta J\) points in the direction of steepest ascent; its negative guides descent algorithms. In reactor design, the gradient of an objective such as yield with respect to temperature and pressure informs sensitivity analysis.
Jacobian – a matrix of first‑order partial derivatives of a vector‑valued function with respect to a vector of variables. If \(f: \mathbb{R}^n \to \mathbb{R}^m\), the Jacobian \(J_{ij} = \partial f_i / \partial x_j\). In chemical kinetics, the Jacobian of the rate equations is essential for stiffness detection and implicit integration.
Hessian – a square matrix of second‑order partial derivatives of a scalar function. The Hessian captures curvature information; its eigenvalues indicate whether a stationary point is a minimum, maximum, or saddle point. Newton‑type optimization methods use the Hessian to accelerate convergence when adjusting operating conditions.
Eigenvalue and eigenvector – for a square matrix \(A\), an eigenvector \(v\) satisfies \(A v = \lambda v\) where \(\lambda\) is the eigenvalue. In process dynamics, eigenvalues of the linearized system matrix determine stability and time constants. In data‑driven modeling, eigenvectors of the covariance matrix become principal components.
Singular value decomposition (SVD) – factorizes any matrix \(A\) into \(U \Sigma V^\top\) where \(U\) and \(V\) are orthogonal and \(\Sigma\) contains singular values. SVD underpins low‑rank approximations, useful for compressing large sensor networks or reducing the dimensionality of high‑throughput experimental data.
Principal component analysis (PCA) – a technique that projects data onto orthogonal directions of maximal variance. By retaining only the first few components, engineers can visualize complex multivariate experiments, detect outliers, and reduce the number of variables fed into a neural network.
Linear regression – models a dependent variable as a linear combination of independent variables plus an error term. The ordinary least squares solution minimizes the sum of squared residuals. In a heat‑exchanger study, linear regression can quantify the influence of flow rate and inlet temperature on outlet temperature.
Logistic regression – extends linear regression to binary outcomes by applying the sigmoid function to a linear predictor. It estimates the probability of a categorical event, such as whether a catalyst will be active under given conditions. The model is trained by maximizing the likelihood of observed class labels.
Cost function – also called loss function; measures the discrepancy between model predictions and true values. Common choices include mean squared error for regression and cross‑entropy for classification. The cost drives the learning process: minimizing it improves model accuracy.
Regularization – adds a penalty term to the cost function to discourage overly complex models. Two widely used forms are L1 regularization (lasso) which promotes sparsity, and L2 regularization (ridge) which shrinks coefficients toward zero. In high‑dimensional process data, regularization helps prevent overfitting to noisy measurements.
Overfitting – occurs when a model captures noise rather than the underlying trend, yielding excellent performance on training data but poor generalization to new cases. Indicators include a large gap between training and validation errors. Mitigation strategies involve regularization, cross‑validation, and simplifying the model.
Underfitting – the opposite problem where the model is too simple to capture the essential patterns, leading to high errors on both training and validation sets. Adding features, increasing model capacity, or reducing regularization can address underfitting.
Bias‑variance trade‑off – describes the tension between model simplicity (high bias, low variance) and flexibility (low bias, high variance). An optimal model balances these to achieve minimal total error. Understanding this trade‑off guides the selection of model complexity for process optimization tasks.
Cross‑validation – a resampling technique to assess model performance on unseen data. In k‑fold cross‑validation, the data set is split into k subsets; each subset is used once as a validation set while the remaining k‑1 subsets form the training set. This method yields robust estimates of predictive error, crucial when experimental data are scarce.
Training set, validation set, and test set – three disjoint partitions of data. The training set updates model parameters, the validation set tunes hyper‑parameters (e.g., learning rate, regularization strength), and the test set provides a final unbiased evaluation. In a pilot plant study, the test set might consist of data collected under a different operating regime.
Learning rate – a scalar hyper‑parameter that determines the step size in gradient‑based optimization. Too large a learning rate can cause divergence, while too small a rate slows convergence. Adaptive schemes adjust the learning rate during training to maintain stability.
Optimizer – an algorithm that updates model parameters based on gradients. The simplest is gradient descent, which uses the full batch of data each iteration. More sophisticated optimizers such as stochastic gradient descent, momentum, and Adam incorporate additional information to accelerate convergence and escape shallow minima.
Gradient descent – iteratively moves parameters \(\theta\) in the direction opposite to the gradient: \(\theta_{new} = \theta_{old} - \alpha \nabla_\theta J\), where \(\alpha\) is the learning rate. In process parameter estimation, gradient descent can calibrate kinetic constants by minimizing the discrepancy between simulated and measured conversion.
Stochastic gradient descent (SGD) – approximates the gradient using a randomly selected subset (mini‑batch) of data at each iteration. This introduces noise that can help escape local minima and reduces computational cost for large data sets, such as high‑throughput catalyst screening results.
Mini‑batch gradient descent – a compromise between full‑batch and SGD, where each update uses a moderate number of samples (e.g., 32 or 64). Mini‑batches improve the stability of the gradient estimate while retaining computational efficiency.
Momentum – augments the gradient update with a velocity term that accumulates past gradients: \(v_{t+1} = \beta v_t + (1-\beta) \nabla J\), \(\theta_{t+1} = \theta_t - \alpha v_{t+1}\). Momentum helps smooth oscillations in ravines of the loss surface, common in stiff chemical kinetic models.
Adam – an optimizer that combines momentum and adaptive learning rates based on first‑ and second‑moment estimates of gradients. Adam is widely used for training deep neural networks because it converges quickly and requires minimal tuning of the learning rate.
Convolution – an operation that slides a kernel (filter) over an input tensor, computing a weighted sum at each location. Convolutional neural networks (CNNs) exploit spatial locality, making them suitable for analyzing images of catalyst microstructures or 2‑D concentration fields from CFD simulations.
Kernel – the small matrix of learnable weights used in a convolution. In process imaging, kernels can detect edges, textures, or specific patterns such as pore networks. Multiple kernels are stacked to capture increasingly abstract features.
Pooling – a down‑sampling operation that reduces spatial dimensions, typically by taking the maximum (max‑pooling) or average (average‑pooling) within a window. Pooling provides translation invariance and reduces computational load, useful when processing large tomography datasets.
Activation function – a non‑linear mapping applied element‑wise after a linear transformation. Common activations include ReLU, sigmoid, tanh, and softmax. Non‑linearity enables neural networks to approximate complex relationships such as non‑ideal thermodynamic models.
ReLU (Rectified Linear Unit) – defined as \(\text{ReLU}(x) = \max(0, x)\). It introduces sparsity and mitigates vanishing gradient problems, making deep networks easier to train. In a model predicting reaction rates, ReLU can enforce non‑negative outputs.
Sigmoid – maps real numbers to the interval (0, 1): \(\sigma(x) = 1/(1+e^{-x})\). Useful for binary classification, e.g., predicting whether a polymer will meet a target molecular weight distribution.
Tanh – hyperbolic tangent function, ranging from –1 to 1. It centers the data, often improving convergence in shallow networks.
Softmax – generalizes the sigmoid to multi‑class problems, converting a vector of logits into a probability distribution over classes. In a classification task for catalyst types, softmax yields the probability of each catalyst class.
Feedforward network – a neural architecture where information moves only forward from input to output through hidden layers. No cycles exist, simplifying gradient computation via backpropagation.
Backpropagation – the algorithm that computes gradients of the loss with respect to all weights by applying the chain rule in reverse order. Backpropagation enables efficient training of deep networks on large process data sets.
Chain rule – a calculus principle stating that the derivative of a composite function equals the product of the derivatives of its components. In neural networks, the chain rule links the gradient of the loss to gradients of each layer’s parameters.
Probability distribution – a function that describes the likelihood of outcomes for a random variable. Common distributions in process modeling include Gaussian, log‑normal, and Poisson. Understanding distributions is essential for uncertainty quantification.
Random variable – a variable whose possible values are outcomes of a stochastic process. In a Monte Carlo simulation of a distillation column, the reflux ratio may be treated as a random variable to capture feed composition variability.
Expectation (mean) – the average value of a random variable, denoted \(E[X]\). Expectations appear in cost functions that minimize expected error, such as mean‑squared error.
Variance – measures the spread of a random variable around its mean: \(\text{Var}(X) = E[(X - E[X])^2]\). In process control, variance quantifies the robustness of a control strategy against disturbances.
Covariance – quantifies how two random variables vary together: \(\text{Cov}(X,Y) = E[(X-E[X])(Y-E[Y])]\). Covariance matrices are central to multivariate Gaussian models used for sensor fusion.
Bayes theorem – relates conditional probabilities: \(P(A|B) = \frac{P(B|A)P(A)}{P(B)}\). Bayesian inference updates prior knowledge with data, yielding posterior distributions for model parameters such as kinetic constants.
Likelihood – the probability of observed data given a set of parameters, viewed as a function of the parameters. Maximizing the likelihood (MLE) provides point estimates that best explain experimental measurements.
Prior – the distribution representing knowledge about parameters before observing data. Priors can incorporate engineering judgment, such as known ranges for activation energies.
Posterior – the updated distribution after combining the prior with the likelihood via Bayes theorem. Posterior samples can be drawn using Markov chain Monte Carlo to assess uncertainty in model predictions.
Maximum likelihood estimation (MLE) – selects parameter values that maximize the likelihood function. In fitting a reaction rate law, MLE yields the kinetic parameters that most likely generated the observed conversion data.
Maximum a posteriori (MAP) – similar to MLE but incorporates the prior, selecting parameters that maximize the posterior probability. MAP is useful when data are limited and prior engineering knowledge is strong.
Gaussian distribution – also known as the normal distribution, characterized by mean \(\mu\) and variance \(\sigma^2\). Many measurement errors in chemical plants are approximately Gaussian, justifying the use of least‑squares estimators.
Multivariate normal – extends the Gaussian to multiple dimensions with a mean vector and covariance matrix. This distribution models correlated sensor readings, enabling joint probability assessments for safety monitoring.
Exponential family – a class of distributions whose density can be expressed as \(p(x|\theta) = h(x)\exp(\eta(\theta)^\top T(x) - A(\theta))\). Includes Gaussian, Poisson, Bernoulli, and Gamma distributions, providing a unified framework for generalized linear models used in process data analysis.
Kullback‑Leibler (KL) divergence – a measure of how one probability distribution diverges from a reference distribution: \(D_{KL}(P\|Q) = \int p(x)\log\frac{p(x)}{q(x)}dx\). In variational inference, KL divergence quantifies the error between an approximate posterior and the true posterior.
Entropy – the expected information content of a random variable: \(H(X) = -\sum_x p(x)\log p(x)\). High entropy indicates uncertainty. In process design, entropy can be used to evaluate the diversity of experimental conditions.
Mutual information – measures the amount of information shared between two variables: \(I(X;Y) = H(X) - H(X|Y)\). Feature selection algorithms may use mutual information to retain variables that most strongly influence a target property, such as product selectivity.
Markov chain – a stochastic process where the next state depends only on the current state. In reactor modeling, a Markov chain can represent discrete reaction steps or phase‑transition pathways.
Monte Carlo simulation – a computational technique that uses random sampling to estimate statistical properties. Engineers use Monte Carlo to propagate uncertainties in feed composition through process models and obtain probability distributions of product quality.
Markov chain Monte Carlo (MCMC) – a set of algorithms that generate samples from a target distribution by constructing a Markov chain whose stationary distribution equals the target. MCMC enables Bayesian calibration of complex kinetic models where analytical posteriors are unavailable.
Metropolis‑Hastings – a specific MCMC method that proposes new states and accepts them with a probability that maintains detailed balance. It is used to sample posterior distributions of parameters in high‑dimensional reaction networks.
Gibbs sampling – an MCMC variant that updates each variable conditionally on the others. Gibbs sampling is convenient when conditional distributions have known forms, such as in hierarchical Bayesian models for multi‑scale process data.
Reinforcement learning (RL) – a framework where an agent learns to make sequential decisions by receiving rewards from the environment. RL can be applied to optimal control of batch reactors, where the policy determines temperature profiles that maximize yield.
Policy – a mapping from states to actions. In RL for process control, the policy may prescribe valve settings based on measured concentrations.
Value function – estimates the expected cumulative reward from a given state under a particular policy. Value functions guide policy improvement by indicating which states are more desirable.
Q‑learning – a model‑free RL algorithm that learns the action‑value function \(Q(s,a)\) directly. After convergence, the optimal policy selects the action with the highest Q‑value. Q‑learning can be used to tune operating conditions in a simulated distillation column.
Function approximation – replacing exact value functions or policies with parametric models (e.g., neural networks) to handle large state spaces. Approximation enables RL to be applied to continuous‑variable processes like flow‑rate control.
Support vector machine (SVM) – a supervised learning algorithm that finds a hyperplane separating classes with maximal margin. Kernelized SVMs can handle non‑linear decision boundaries, useful for classifying catalyst activity based on spectroscopic features.
Kernel trick – implicitly maps data into a high‑dimensional feature space without explicit computation, using a kernel function such as the radial basis function (RBF). This allows linear algorithms to capture non‑linear relationships present in process data.
Radial basis function (RBF) kernel – defined as \(k(x,x') = \exp(-\gamma \|x-x'\|^2)\). The RBF kernel measures similarity based on Euclidean distance and is widely used in SVMs and Gaussian process regression for smooth interpolation of experimental data.
Decision tree – a flow‑chart‑like model that splits data based on feature thresholds, creating a hierarchy of decisions. Trees are easy to interpret, making them attractive for explaining process safety rules derived from historical incident logs.
Random forest – an ensemble of decision trees built on bootstrapped samples and random subsets of features. By aggregating predictions, random forests reduce variance and improve generalization, often outperforming single trees in predicting product purity from operating conditions.
Boosting – an ensemble technique that sequentially adds weak learners, each focusing on errors made by the previous ones. Gradient boosting builds models that minimize a differentiable loss, yielding powerful predictors for complex process outcomes.
XGBoost – an efficient implementation of gradient boosting that includes regularization and parallel processing. XGBoost has become a go‑to method for tabular process data, delivering high accuracy with relatively little hyper‑parameter tuning.
Clustering – unsupervised learning that groups similar data points without pre‑defined labels. Clustering helps identify distinct operating regimes or material phases in large experimental datasets.
K‑means – partitions data into K clusters by minimizing within‑cluster variance. In catalyst screening, K‑means can group materials with similar activity profiles, guiding the selection of representative candidates for further testing.
Hierarchical clustering – builds a tree of clusters by iteratively merging or splitting groups based on distance metrics. Dendrograms from hierarchical clustering reveal relationships among polymerization conditions, aiding the design of experiments.
DBSCAN – density‑based clustering that discovers arbitrarily shaped clusters and isolates noise points. DBSCAN can detect outlier runs in pilot plant data caused by sensor drift or operator error.
Dimensionality reduction – techniques that transform high‑dimensional data into a lower‑dimensional representation while preserving essential structure. Reducing dimensionality eases visualization, accelerates training, and mitigates the curse of dimensionality.
Manifold learning – assumes data lie on a low‑dimensional manifold embedded in a high‑dimensional space. Algorithms such as Isomap and locally linear embedding uncover the intrinsic geometry of process data, revealing hidden variables that control performance.
t‑distributed stochastic neighbor embedding (t‑SNE) – a non‑linear dimensionality reduction method that preserves local relationships, producing two‑ or three‑dimensional maps ideal for visualizing clusters of experimental conditions.
UMAP – Uniform Manifold Approximation and Projection, similar to t‑SNE but faster and better at preserving global structure. UMAP plots of catalyst composition data can reveal trends that guide formulation strategies.
Gaussian process regression (GPR) – a non‑parametric Bayesian method that treats functions as random variables with a joint Gaussian distribution. GPR provides predictions with quantified uncertainty, valuable for surrogate modeling of expensive CFD simulations.
Kernel density estimation (KDE) – a non‑parametric technique for estimating the probability density function of a random variable. KDE can smooth histograms of experimental yields, helping to identify multimodal behavior.
Linear discriminant analysis (LDA) – finds linear combinations of features that maximize class separability. LDA is useful for classifying product grades based on spectroscopic measurements.
Quadratic discriminant analysis (QDA) – extends LDA by allowing each class its own covariance matrix, capturing more complex class shapes. QDA may improve classification of catalysts with distinct variance structures.
Multilayer perceptron (MLP) – a fully connected feedforward neural network with one or more hidden layers. MLPs can approximate any continuous function, making them suitable for modeling non‑linear reaction rate surfaces.
Autoencoder – a neural network trained to reconstruct its input, forcing an internal bottleneck representation. Autoencoders compress high‑dimensional sensor data into low‑dimensional latent variables that capture the most relevant process dynamics.
Variational autoencoder (VAE) – combines autoencoding with Bayesian inference, learning a probabilistic latent space. VAEs can generate new candidate material structures by sampling from the learned distribution.
Generative adversarial network (GAN) – comprises a generator that creates synthetic data and a discriminator that distinguishes real from fake. GANs have been used to produce realistic microstructure images for virtual testing of catalyst performance.
Recurrent neural network (RNN) – processes sequential data by maintaining a hidden state that evolves over time. RNNs can model time‑dependent process variables such as temperature profiles in batch reactors.
LSTM (Long Short‑Term Memory) – a type of RNN that mitigates vanishing gradients via gated memory cells. LSTMs excel at capturing long‑range dependencies in sensor streams, enabling fault detection based on historical patterns.
GRU (Gated Recurrent Unit) – a simplified LSTM variant with fewer gates, offering comparable performance with reduced computational cost. GRUs are suitable for real‑time monitoring of continuous processes.
Attention mechanism – allows a model to focus on specific parts of an input sequence when generating an output. In process control, attention can highlight critical time windows where disturbances most affect product quality.
Transformer – a deep learning architecture built entirely on attention, dispensing with recurrence. Transformers have been applied to predict process trajectories from historical data, achieving high accuracy with parallel computation.
Embedding – a low‑dimensional vector representation of categorical variables such that similar categories have similar vectors. Embeddings enable neural networks to handle categorical process descriptors like catalyst type or feedstock grade.
One‑hot encoding – represents categorical variables as binary vectors with a single high entry. While simple, one‑hot encoding can lead to high dimensionality; embeddings provide a more compact alternative.
Batch normalization – normalizes layer inputs across a mini‑batch, stabilizing training and allowing higher learning rates. In deep networks for process data, batch normalization accelerates convergence and reduces sensitivity to initialization.
Dropout – randomly deactivates a fraction of neurons during training, preventing co‑adaptation and reducing overfitting. Dropout is especially useful when training on limited experimental data.
Early stopping – monitors validation loss during training and halts when performance ceases to improve, avoiding overfitting to the training set. Early stopping is a practical safeguard for models trained on costly laboratory data.
Hyper‑parameter – a configuration setting that is not learned from data but chosen before training, such as learning rate, number of hidden layers, or regularization strength. Hyper‑parameter optimization methods (grid search, random search, Bayesian optimization) systematically explore the space to improve model performance.
Grid search – evaluates a predefined set of hyper‑parameter combinations exhaustively. While simple, grid search becomes computationally expensive as the number of parameters grows.
Random search – samples hyper‑parameter configurations randomly, often finding good solutions more efficiently than grid search because many parameters have diminishing returns.
Bayesian optimization – builds a surrogate model (often a Gaussian process) of the validation performance as a function of hyper‑parameters, then selects promising configurations using an acquisition function. This approach reduces the number of expensive training runs needed to tune deep models for process prediction.
Cross‑entropy loss – measures the difference between predicted probability distribution and true distribution for classification tasks. Minimizing cross‑entropy improves the calibration of probabilistic predictions, essential for risk‑aware decision making in process safety.
Mean absolute error (MAE) – average of absolute differences between predictions and true values. MAE is less sensitive to outliers than mean squared error, making it suitable when occasional measurement spikes occur.
Mean squared error (MSE) – average of squared differences, penalizing larger errors more heavily. MSE is the standard loss for regression in many chemical engineering applications, such as predicting product yield.
Root mean squared error (RMSE) – square root of MSE, expressed in the same units as the target variable, facilitating intuitive interpretation of model accuracy.
R‑squared (coefficient of determination) – proportion of variance in the dependent variable explained by the model. An R‑squared close to 1 indicates a good fit, but high values can be misleading if the model is overfitted.
Adjusted R‑squared – modifies R‑squared to account for the number of predictors, discouraging unnecessary complexity. Adjusted R‑squared is useful when comparing models with different numbers of process variables.
Confusion matrix – a table summarizing true positives, false positives, true negatives, and false negatives for classification. From the confusion matrix, metrics such as precision, recall, and F1‑score are derived, guiding the evaluation of binary safety‑classification models.
Precision – ratio of true positives to all predicted positives. High precision means few false alarms, important when false positives trigger costly shutdowns.
Recall – ratio of true positives to all actual positives. High recall ensures most hazardous events are detected, critical for safety monitoring.
F1‑score – harmonic mean of precision and recall, balancing the two. The F1‑score provides a single metric for comparing classification models on imbalanced data sets common in fault detection.
Receiver operating characteristic (ROC) curve – plots true positive rate against false positive rate at various threshold settings. The area under the ROC curve (AUC) quantifies overall discriminative ability.
Calibration curve – compares predicted probabilities with observed frequencies, revealing whether a model’s confidence aligns with reality. Well‑calibrated models are essential for probabilistic risk assessments.
Imbalanced data – occurs when one class dominates, as in rare failure events. Techniques such as oversampling the minority class, undersampling the majority class, or using class‑weighted loss functions help mitigate bias.
SMOTE (Synthetic Minority Over‑sampling Technique) – generates synthetic minority examples by interpolating between existing ones, improving classifier performance on scarce failure data.
Feature engineering – the process of creating informative input variables from raw data. In chemical engineering, features may include reaction rate constants derived from Arrhenius plots, dimensionless numbers (e.g., Reynolds, Damköhler), or spectral peaks.
Feature scaling – normalizing or standardizing features to comparable ranges. Scaling prevents attributes with large magnitudes (e.g., pressure in bar) from dominating gradient updates.
Standardization – transforms data to have zero mean and unit variance. Standardization is especially important for algorithms that assume Gaussian‑distributed inputs, such as linear discriminant analysis.
Normalization – rescales data to a fixed interval, typically [0, 1]. Normalization is useful for neural networks with bounded activation functions.
Dimensional analysis – the practice of forming dimensionless groups that capture the underlying physics. Incorporating dimensionless numbers as features can improve model interpretability and extrapolation.
Principal component regression (PCR) – performs regression on the principal components of the predictor matrix, reducing multicollinearity among process variables.
Partial least squares (PLS) – finds latent variables that maximize covariance between predictors and response, often outperforming PCR when the number of predictors exceeds the number of observations.
Elastic net – combines L1 and L2 penalties, balancing sparsity and coefficient shrinkage. Elastic net is valuable when many correlated process variables exist, such as temperature measurements at multiple locations.
Multicollinearity – high correlation among predictors, leading to unstable coefficient estimates in linear models. Detecting multicollinearity via variance inflation factor (VIF) helps decide whether to apply dimensionality reduction.
Variance inflation factor (VIF) – quantifies how much the variance of a regression coefficient is inflated due to multicollinearity. VIF values greater than 10 often indicate problematic predictors.
Bootstrap – resampling technique that generates many synthetic data sets by sampling with replacement. Bootstrapping provides confidence intervals for model performance metrics without assuming normality.
Jackknife – systematic leave‑one‑out resampling method, useful for estimating bias and variance of estimators in small data sets.
Confidence interval – range within which a parameter lies with a specified probability (e.g., 95 %). Confidence intervals convey uncertainty in estimated kinetic parameters.
Prediction interval – range that is expected to contain future observations with a given probability, accounting for both model uncertainty and inherent variability.
Statistical significance – assesses whether an observed effect is unlikely to have arisen by chance, typically via p‑values. In process modeling, significance tests help determine which variables truly influence product quality.
p‑value – probability of observing data at least as extreme as the observed, assuming the null hypothesis is true. Small p‑values (e.g., <0.05) suggest rejecting the null hypothesis.
Null hypothesis – a default statement that there is no effect or relationship. In regression, the null hypothesis often states that a coefficient equals zero.
Alternative hypothesis – the complement of the null hypothesis, proposing a non‑zero effect.
Likelihood ratio test – compares the fit of two nested models by evaluating the ratio of their likelihoods. This test can determine whether adding a new process variable significantly improves model performance.
Bayesian information criterion (BIC) – balances model fit against complexity, penalizing the number of parameters more heavily than the Akaike information criterion (AIC). Lower BIC values indicate a more parsimonious model.
Akaike information criterion (AIC) – another metric for model selection that trades off goodness of fit with model complexity. AIC is useful for comparing non‑nested models such as neural networks versus polynomial regressions.
Model interpretability – the degree to which a human can understand the reasoning behind a model’s predictions. Techniques such as SHAP values, LIME, and feature importance plots enhance interpretability, which is critical for regulatory acceptance in chemical industries.
SHAP (SHapley Additive exPlanations) – assigns each feature an importance value based on cooperative game theory, quantifying its contribution to individual predictions. SHAP plots can reveal which operating conditions most affect yield.
LIME (Local Interpretable Model‑agnostic Explanations) – approximates a complex model locally with a simple, interpretable surrogate, explaining predictions for specific instances such as outlier batch runs.
Feature importance – a ranking of predictors based on their impact on model performance. In tree‑based models, importance is often derived from reductions in impurity or loss.
Model deployment – the process of integrating a trained model into a production environment, such as embedding a neural network into a distributed control system for real‑time set‑point optimization.
Inference latency – the time required for a model to produce a prediction after receiving input. Low latency is essential for real‑time process control loops.
Edge computing – performing inference on local hardware (e.g., PLCs, edge servers) rather than sending data to a central cloud. Edge deployment reduces latency and improves data security for critical plant operations.
Model monitoring – continuously tracking performance metrics after deployment to detect drift, degradation, or data distribution shifts. Monitoring alerts engineers when retraining is necessary.
Concept drift – change in the statistical properties of the target variable over time, common in processes subject to catalyst deactivation or feedstock variability. Detecting drift prompts model updates to maintain accuracy.
Retraining – updating model parameters using new data to adapt to evolving process conditions. Scheduled or trigger‑based retraining ensures the model remains relevant throughout its lifecycle.
Transfer learning – leverages knowledge from a pre‑trained model on a related task, fine‑tuning it with a smaller data set. Transfer learning can accelerate development of models for new reactors by reusing representations learned from similar equipment.
Domain adaptation – techniques that align feature distributions between source (training) and target (deployment) domains, reducing performance loss when applying a model to a different plant or operating regime.
Ensemble
Key takeaways
- Emphasis is placed on the most frequently encountered symbols and ideas, enabling rapid reference while studying the Professional Certificate in AI for Chemical Engineers.
- In process modeling a vector may represent concentrations of species, temperatures at different points in a reactor, or the set of design variables to be optimized.
- Matrices are used to store stoichiometric coefficients, linear transformation operators, or data sets where each row corresponds to an experiment and each column to a measured variable.
- A third‑order tensor could hold temperature values across space (x, y) and time (t), enabling convolutional neural networks to learn spatio‑temporal patterns.
- Scalar – a single numeric value, often representing a physical quantity like pressure, viscosity, or a loss value in a training algorithm.
- In process optimization the norm of a gradient indicates how far a design point is from a stationary point; a small norm suggests convergence.
- Inner products define angles and orthogonality, concepts used in principal component analysis (PCA) to find directions of maximum variance in experimental data.