Regression Analysis
Semiconductor fabrication involves hundreds of sequential process steps, each governed by dozens of parameters. Regression analysis serves critical functions:
- Process Modeling: Understanding relationships between inputs and quality outputs
- Virtual Metrology: Predicting measurements from real-time sensor data
- Run-to-Run Control: Adaptive process adjustment
- Yield Optimization: Maximizing device performance and throughput
- Fault Detection: Identifying and diagnosing process excursions
Core Mathematical Framework
Ordinary Least Squares (OLS)
The foundational linear regression model:
Variable Definitions:
$- y$ — $n \times 1$ response vector (e.g., film thickness, etch rate, yield)
$- X$ — $n \times (k+1)$ design matrix of process parameters
$- \beta$ — $(k+1) \times 1$ coefficient vector
$- \varepsilon \sim N(0, \sigma^2I)$ — error term
OLS Estimator:
Variance-Covariance Matrix of Estimator:
Unbiased Variance Estimate:
$\hat{\sigma}^2 = (e^\to pe)/(n - k -$ 1) $= (\sum _{i=1}^{n}(y_i - \hat{y}_i)^2)/(n - k -$ 1)
Response Surface Methodology (RSM)
Critical for semiconductor process optimization, RSM uses second-order polynomial models.
Second-Order Model
Matrix Form:
Where:
$- b$ — vector of first-order coefficients
$- B$ — symmetric matrix of second-order coefficients
Stationary Point Analysis
Stationary Point (Optimum):
Nature Determination:
- All eigenvalues of $B$ negative → Maximum
- All eigenvalues of $B$ positive → Minimum
- Mixed signs → Saddle point
Canonical Analysis
Where $\lambda_i$ are eigenvalues and $w_i$ are canonical variables.
Regularized Regression Methods
Semiconductor data often exhibits multicollinearity and high dimensionality.
Ridge Regression (L2 Penalty)
Objective Function:
$\min_{\beta}$ ( $|y - X \beta|_2^2 + \lambda|\beta|_2^2$ )
Properties:
- Shrinks coefficients toward zero
- Does not perform variable selection
- Handles multicollinearity effectively
LASSO (L1 Penalty)
Objective Function:
$\min_{\beta}$ ( $|y - X \beta|_2^2 + \lambda|\beta|_1$ )
Properties:
- Performs automatic variable selection
- Sets some coefficients exactly to zero
- Crucial for identifying which process parameters matter
Elastic Net
Objective Function:
$\min_{\beta}$ ( $|y - X \beta|_2^2 + \lambda_1|\beta|_1 + \lambda_2|\beta|_2^2$ )
Alternative Parameterization:
$\min_{\beta}$ ( $|y - X \beta|_2^2 + \lambda[\alpha|\beta|_1 + (1-\alpha)|\beta|_2^2]$ )
Where $\alpha$ in [0,1] controls the mix between L1 and L2 penalties.
Partial Least Squares $(\mathrm{PLS}) Regression$
The most important technique for semiconductor process modeling.
Why PLS?
- Handles high dimensionality $(p > n)$
- Addresses multicollinearity
- Captures latent variable structures
- Simultaneously models $X$ and $Y$ relationships
NIPALS Algorithm
1. Initialize: $u = y$
2. X-weight:
3. X-score:
$t = Xw$
4. Y-loading:
5. Y-score update:
6. Iterate until convergence
7. Deflate $X$ and $Y$, extract next component
Model Structure
Where:
$- T$ — score matrix (latent variables)
$- P$ — X-loadings
$- Q$ — Y-loadings
$- E, F$ — residuals
Spatial Regression for Wafer Maps
Wafer-level variation exhibits spatial patterns requiring specialized models.
Zernike Polynomial Decomposition
General Form:
Standard Zernike Polynomials (first few terms):
| Index | Name | Formula |
|---|---|---|
| $Z_0^0$ | Piston | 1 |
| $Z_1^{-1}$ | Tilt $Y$ | rsin $\theta$ |
| $Z_1^1$ | Tilt $X$ | rcos $\theta$ |
| $Z_2^{-2}$ | Astigmatism $45^\circ$ | $r^2sin 2 \theta$ |
| $Z_2^0$ | Defocus | $2r^2 - 1$ |
| $Z_2^2$ | Astigmatism $0^\circ$ | $r^2cos 2 \theta$ |
| $Z_3^{-1}$ | Coma $Y$ | $(3r^3 - 2r)\sin \theta$ |
| $Z_3^1$ | Coma $X$ | $(3r^3 - 2r)\cos \theta$ |
| $Z_4^0$ | Spherical | $6r^4 - 6r^2 + 1$ |
Orthogonality Property:
∫_0^1 ∫_0^2 pi Z_n^m(r,theta) Z_n'^m'(r,theta) $r$ dr $d \theta = \dfrac{\pi}{n+1}\delta_nn'\delta_mm'$
Gaussian Process Regression (Kriging)
Prior Distribution:
Common Kernel Functions:
$Squared Exponential (RBF):$
$Matérn Kernel:$
u)r)/(ell))^
u K_
Where K_
$u$ is the modified Bessel function of the second kind.
Posterior Predictive Mean:
Posterior Predictive Variance:
Mixed Effects Models
Semiconductor data has hierarchical structure (wafers within lots, lots within tools).
General Model
Random Effects Distribution:
Matrix Notation
Where:
REML Estimation
Restricted Log-Likelihood:
Where $r = y - Xhat(\beta)$.
Physics-Informed Regression Models
Arrhenius-Based Models (Thermal Processes)
Rate Equation:
Linearized Form (for regression):
Parameters:
$- k$ — rate constant
- A — pre-exponential factor
$- E_a$ — activation energy (J/mol)
$- R$ — gas constant (8.314 $J/mol\cdot K$)
$- T$ — absolute temperature $(K)$
Preston's Equation (CMP)
Basic Form:
Extended Model:
$\mathrm{MRR} = K_p \cdot P^a \cdot V^b \cdot f(slurry$, pad)
Where:
- MRR — material removal rate
$- K_p$ — Preston coefficient
$- P$ — applied pressure
$- V$ — relative velocity
Lithography Focus-Exposure Model
Variables:
- CD — critical dimension
$- E$ — exposure dose
$- F$ — focus offset
Bossung Curve: Plot of CD vs. focus at various exposure levels.
Virtual Metrology Mathematics
Predicting quality measurements from equipment sensor data in real-time.
Model Structure
Where $x_{\mathrm{FDC}} \text{is} Fault Detection$ and Classification sensor data.
EWMA Run-to-Run Control
Exponentially Weighted Moving Average:
Properties:
$- \lambda$ in (0,1] — smoothing parameter
$- Smaller \lambda \to $ more smoothing
$- Larger \lambda \to $ faster response to changes
Kalman Filter Approach
State Equation:
$x_k = Ax_{k-1} + w_k$, $w_k \sim N(0, Q)$
Measurement Equation:
$y_k = Hx_k + v_k$, $v_k \sim N(0, R)$
Update Equations:
$Predict:$
$Update:$
Classification and Count Models
Logistic Regression (Binary Outcomes)
For pass/fail or defect/no-defect classification:
Model:
Logit Link:
Where $W = \mathrm{diag}(\pi_i(1-\pi_i))$.
Poisson Regression (Defect Counts)
Model:
$\log(\mu) = x^\to p \beta$, $Y \sim Poisson(\mu)$
Probability Mass Function:
Model Validation and Diagnostics
Goodness of Fit Metrics
Coefficient of Determination:
Adjusted R-Squared:
Root Mean Square Error:
Mean Absolute Error:
Leave-One-Out CV:
Information Criteria
Akaike Information Criterion:
Bayesian Information Criterion:
Diagnostic Statistics
Variance Inflation Factor:
Where $R_j^2$ is the $R^2$ from regressing $x_j$ on all other predictors.
Rule of thumb: $\mathrm{VIF} > 10$ indicates problematic multicollinearity.
Cook's Distance:
$D_i = ((\hat{y} - \hat{y}_{(-i)})^\to p(\hat{y} - \hat{y}_{(-i)}))/(k \cdot $ MSE)
Leverage:
Where $H = X(X^\to pX)^{-1}X^\to p$ is the hat matrix.
Studentized Residuals:
Bayesian Regression
Provides full uncertainty quantification for risk-sensitive manufacturing decisions.
Bayesian Linear Regression
Prior:
Posterior:
Posterior Parameters:
Predictive Distribution
$p(y_*|x_*, y) = \int p(y_*|x_*, \beta, \sigma^2)$ $p(\beta, \sigma^2|y)$ $d \beta$ $d \sigma^2$
For conjugate priors, this is a Student-t distribution.
Credible Intervals
95% Credible Interval for $\beta_j$:
$u\cdot \mathrm{SE}(\hat{\beta}_j)$, $\hat{\beta}_j + t_0.025$,
Design of Experiments (DOE)
Full Factorial Design
For $k$ factors at 2 levels:
$N = 2^k$ runs
Fractional Factorial Design
$N = 2^{k-p}$ runs
Resolution:
- Resolution III: Main effects aliased with $2-factor$ interactions
- Resolution IV: Main effects clear; $2FIs$ aliased with each other
$- Resolution V: Main$ effects and $2FIs$ clear
Central Composite Design (CCD)
Components:
$- 2^k$ factorial points
$- 2k$ axial (star) points at distance $\alpha$
$- n_0$ center points
Rotatability Condition:
$D-Optimal Design$
Maximizes the determinant of the information matrix:
Equivalently, minimizes the generalized variance of $\hat{\beta}$.
$I-Optimal Design$
Minimizes average prediction variance:
$\min_X \int_R \operatorname{Var}(\hat{y}(x))$ dx
Reliability Analysis
Cox Proportional Hazards Model
Hazard Function:
Where:
$- h(t|x)$ — hazard at time $t$ given covariates $x$
$- h_0(t)$ — baseline hazard
$- \beta$ — regression coefficients
Partial Likelihood
Where $R(t_i)$ is the risk set at time $t_i$.
Challenge-Method Mapping
| Manufacturing Challenge | Mathematical Approach |
|---|---|
| High dimensionality | PLS, LASSO, Elastic Net |
| Multicollinearity | Ridge regression, PCR, VIF analysis |
| Spatial wafer patterns | Zernike polynomials, GP regression |
| Hierarchical data | Mixed effects models, REML |
| Nonlinear processes | RSM, polynomial models, transformations |
| Physics constraints | Arrhenius, Preston equation integration |
| Uncertainty quantification | Bayesian methods, bootstrap, prediction intervals |
| Binary outcomes | Logistic regression |
| Count data | Poisson regression |
| Real-time control | Kalman filter, EWMA |
| Time-to-failure | Cox proportional hazards |
Equations Quick Reference
Estimation
Prediction Interval
$\hat{y}_0 \pm t_{\alpha}/2$, n-k-1 $\cdot \sqrt{\mathrm{\mathrm{MSE}}(1 + x_0^\to p(X^\to pX)^{-1}x_0)}$
Confidence Interval for $\beta_j$
$\hat{\beta}_j \pm t_{\alpha}/2$, n-k-1 $\cdot \mathrm{SE}(\hat{\beta}_j)$
Process Capability
$C_p =$ (USL $- \mathrm{LSL})/(6 \sigma$)
Reference
| Symbol | Description | |
|---|---|---|
| $y$ | Response vector | |
| $X$ | Design matrix | |
| $\beta$ | Coefficient vector | |
| $\hat{\beta}$ | Estimated coefficients | |
| $\varepsilon$ | Error vector | |
| $\sigma^2$ | Error variance | |
| $\lambda$ | Regularization parameter | |
| I | Identity matrix | |
| · | $_1$ | L1 norm (sum of absolute values) |
| · | $_2$ | L2 norm (Euclidean) |
| $A^\to p$ | Matrix transpose | |
| $A^{-1}$ | Matrix inverse | |
| A | Matrix determinant | |
| $N(\mu, \sigma^2)$ | Normal distribution | |
| GP | Gaussian Process |