A linear proxy model is a transparent surrogate—such as LASSO or logistic regression—trained on the input-output pairs of an opaque teacher model. By fitting a weighted linear equation to mimic the teacher's decision boundary, it directly exposes the magnitude and direction of each feature's influence, converting the teacher's 'dark knowledge' into explicit, auditable coefficients.
Glossary
Linear Proxy Model

What is a Linear Proxy Model?
A linear proxy model is a simple, inherently interpretable model trained to approximate the predictions of a complex black-box model to provide feature-level importance scores.
This technique navigates the interpretability-accuracy tradeoff by sacrificing some fidelity for total transparency. The resulting proxy serves as a global surrogate for understanding overall model behavior or a local surrogate for explaining a single prediction. Its coefficients provide a straightforward, human-readable measure of feature importance, making it a cornerstone of post-hoc distillation for regulated industries.
Key Characteristics
A linear proxy model translates the opaque decision logic of a complex black-box model into a transparent, weighted sum of input features. It serves as a high-fidelity, globally or locally interpretable surrogate for auditing and explanation.
Inherently Interpretable Structure
The model's prediction is a direct linear combination of input features, making the contribution of each feature immediately visible through its learned coefficient.
- Coefficient as Importance: The magnitude and sign of each weight directly quantify the feature's impact on the prediction.
- No Interaction Terms: Standard linear proxies assume feature independence, providing a clear, additive explanation without complex interactions.
- Auditability: A human can trace the exact arithmetic path from input to output, satisfying regulatory requirements for transparent decision-making.
LASSO for Sparse Feature Selection
The Least Absolute Shrinkage and Selection Operator (LASSO) is a preferred linear proxy when only a few features truly drive the complex model's decision.
- L1 Regularization: LASSO adds a penalty equal to the absolute value of the coefficients, driving irrelevant feature weights to exactly zero.
- Automatic Pruning: This produces a sparse model that highlights only the most critical factors, reducing cognitive load for human reviewers.
- Example: In a credit risk black-box, a LASSO proxy might retain only 'debt-to-income ratio' and 'delinquency count' while zeroing out dozens of other variables.
Local vs. Global Approximation
A linear proxy can be trained to explain the entire model behavior or just a specific prediction, depending on the audit scope.
- Global Surrogate: Trained on a large sample of the black-box's input-output pairs to approximate its overall decision boundary. Useful for high-level model validation.
- Local Surrogate: Trained on perturbed samples around a single instance to explain that specific prediction. This is the core mechanism behind LIME.
- Fidelity Metric: The R-squared value between the proxy's predictions and the black-box's outputs measures how faithfully the linear model captures the original logic.
Distillation from Soft Targets
Linear proxies are often trained using knowledge distillation, where they learn from the teacher model's probability distribution rather than hard labels.
- Soft Targets: The complex model outputs a probability for each class (e.g., [0.1, 0.8, 0.1]). These contain 'dark knowledge' about class similarities.
- Rich Supervision: A logistic regression student trained on these probabilities learns a more nuanced decision boundary than one trained on binary 0/1 labels.
- Calibration: The resulting linear model often produces better-calibrated probability estimates, as it inherits the teacher's uncertainty quantification.
Coefficient Stability and Significance
For a linear proxy to be trustworthy, its coefficients must be stable and statistically significant, not artifacts of noise.
- Confidence Intervals: Standard linear model theory allows calculation of p-values and confidence intervals for each weight, quantifying uncertainty in the explanation.
- Multicollinearity Check: High correlation between input features can cause coefficient instability. Variance Inflation Factor (VIF) analysis is used to diagnose this.
- Regularization Path: By varying the LASSO penalty, one can observe the order in which features enter the model, indicating their relative importance to the black-box.
Limitations of Linear Proxies
A linear model cannot capture non-linear interactions or heterogeneous effects present in the original black-box, leading to fidelity gaps.
- Interaction Blindness: If the true model relies on an XOR-like relationship (e.g., 'high income AND low debt'), a purely additive linear proxy will misrepresent this logic.
- Low Fidelity Warning: A low R-squared value signals that the black-box's decision surface is too complex for a linear approximation, and a more expressive surrogate like an Explainable Boosting Machine (EBM) should be considered.
- Extrapolation Risk: The proxy's coefficients are valid only within the data distribution it was trained on; predictions on outliers may be meaningless.
Frequently Asked Questions
Clear answers to common questions about using simple, transparent linear models to explain and mimic complex black-box predictions.
A linear proxy model is a simple, inherently interpretable model—such as LASSO or logistic regression—trained to mimic the predictions of a complex black-box model. It works by using the original model's inputs and outputs as a new supervised training dataset. The proxy learns a weighted linear combination of input features to approximate the black-box's decision boundary. Because the proxy's structure is transparent, the learned coefficients directly quantify each feature's global or local importance, providing a human-readable explanation of the complex model's behavior. This technique is a core component of post-hoc distillation for interpretability, trading a small amount of predictive fidelity for complete transparency.
Linear Proxy vs. Other Surrogate Models
Comparing the structural properties and use cases of linear proxy models against other common surrogate architectures for black-box explanation.
| Feature | Linear Proxy | Decision Tree Surrogate | Explainable Boosting Machine |
|---|---|---|---|
Model Form | Weighted linear combination of features | Hierarchical if-then rules | Additive feature functions with interactions |
Global Fidelity | Low to moderate | Moderate | High |
Local Fidelity | Moderate | Low | Moderate to high |
Inherent Interpretability | Very high | High | High |
Captures Feature Interactions | |||
Handles Categorical Features | |||
Training Cost | Low | Low | Moderate |
Typical Use Case | Local explanation via LIME; global linear baseline | Global rule extraction; compliance auditing | High-fidelity glass-box replacement |
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
Core concepts that contextualize the linear proxy model within the broader landscape of model distillation and explainability.
Surrogate Model
An inherently interpretable model trained to approximate the predictions of a complex black-box model. A linear proxy model is a specific type of surrogate.
- Global Surrogate: Approximates the entire decision boundary.
- Local Surrogate: Approximates predictions near a single instance.
- Key Requirement: Must maintain high fidelity to the original model's outputs.
Local Interpretable Model-agnostic Explanations (LIME)
A foundational technique that trains a local linear proxy model on perturbed samples around a specific prediction.
- Mechanism: Generates a neighborhood of synthetic data points weighted by proximity to the instance.
- Output: Feature importance scores valid only in that local region.
- Model-Agnostic: Works with any classifier or regressor.
LASSO Regression
Least Absolute Shrinkage and Selection Operator. A linear model with L1 regularization that drives irrelevant feature coefficients to exactly zero.
- Feature Selection: Automatically identifies the most important predictors.
- Sparsity: Produces a parsimonious explanation, critical for human interpretability.
- Proxy Role: Often used as the student model when distilling high-dimensional black-box predictions.
Fidelity-Evaluated Student
A student model whose quality is measured by fidelity—how closely its predictions match the teacher—rather than ground-truth accuracy.
- R² Score: Measures the variance in teacher predictions explained by the linear proxy.
- Trade-off: A simpler proxy may have lower fidelity but higher interpretability.
- Validation: Requires a held-out set of teacher predictions for unbiased evaluation.
Global Surrogate
A single interpretable model trained to mimic the entire decision boundary of a black-box teacher.
- Linear Proxy: A logistic regression or linear model trained on the full dataset of teacher predictions.
- Limitation: May fail to capture complex non-linear interactions.
- Use Case: High-level regulatory documentation of model behavior.
Feature-Based Distillation
A distillation paradigm where the student matches the teacher's intermediate representations, not just final logits.
- Contrast with Linear Proxy: Linear proxies typically match only the final output.
- Attention Transfer: A specific form where the student mimics the teacher's attention maps.
- Richer Signal: Captures the teacher's internal feature hierarchy.

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