Doubly Robust (DR) estimation is a technique in causal inference and off-policy evaluation that combines two statistical models to estimate the expected reward of a new policy using logged data. It blends Inverse Propensity Scoring (IPS), which corrects for selection bias by re-weighting observed outcomes, with a direct method (DM) that learns a regression model to predict outcomes directly from context and action.
Glossary
Doubly Robust Estimation

What is Doubly Robust Estimation?
A statistical method that combines inverse propensity scoring with a direct outcome model to provide an unbiased estimate of a policy's value, remaining consistent if either the propensity or outcome model is correctly specified.
The key property of DR estimation is its double robustness: the estimator remains consistent and unbiased if either the propensity score model or the outcome regression model is correctly specified. This provides a critical safety net, as it significantly reduces reliance on a single, potentially misspecified model, making it a preferred method for robust policy evaluation in noisy, real-world environments.
Key Properties of Doubly Robust Estimation
Doubly Robust (DR) estimation is a statistical method that combines inverse propensity scoring (IPS) with a direct outcome model to provide an unbiased estimate of a policy's value. It remains consistent if either the propensity model or the outcome model is correctly specified, offering a critical safety net for off-policy evaluation.
The Core Mechanism
The DR estimator blends two approaches into a single equation:
- Direct Method (DM): Predicts the outcome for each action using a regression model.
- Inverse Propensity Scoring (IPS): Re-weights observed outcomes by the inverse probability of the action being taken by the logging policy.
The DR estimator corrects the DM's prediction by adding the IPS-weighted residual error. This structure mathematically guarantees that if the DM is wrong, the IPS correction fixes the bias, and vice versa.
The Double Robustness Property
The term 'doubly robust' refers to the estimator's unique consistency guarantee. An estimate is consistent if at least one of two nuisance models is correctly specified:
- Propensity Model: Correctly models the probability of the historical action.
- Outcome Model: Correctly predicts the expected reward for each action.
If both models are slightly misspecified, the bias is often smaller than using either method alone. This property is critical in causal inference and off-policy evaluation where perfect model specification is rare.
Mathematical Formulation
For a given context x, action a, observed reward r, and estimated propensity π(a|x), the DR estimator for the value of a target policy π_e is:
V_DR = 1/N Σ [ μ(x, a) + (r - μ(x, a)) * π_e(a|x) / π_b(a|x) ]
Where:
μ(x, a)is the predicted outcome from the direct model.π_b(a|x)is the behavior policy's propensity.- The term
(r - μ(x, a))is the residual.
If μ is perfect, the residual is zero, and the estimator equals the DM. If π_b is perfect, the IPS term provides an unbiased correction.
Variance and Bias Trade-off
While DR estimation reduces bias, it introduces a specific variance profile:
- High Variance with Small Propensities: Like IPS, if the behavior policy assigns a very low probability to an action the target policy favors, the importance weight
π_e/π_bcan explode, causing high variance. - Clipping Weights: A common regularization technique is to clip importance weights to a maximum threshold, trading a small amount of bias for a significant reduction in variance.
- Self-Normalization: Applying a self-normalizing step to the weights can stabilize estimates in practice.
Practical Application in Next-Best-Action
In a Next-Best-Action (NBA) system, DR estimation is used to evaluate a new candidate policy offline before deployment:
- Collect Logs: Gather historical data from the current production policy (e.g., random offers or a previous model).
- Train Nuisance Models: Build a propensity model for the logging policy and an outcome model to predict customer response.
- Evaluate Candidate Policy: Use the DR estimator to calculate the expected reward of the new NBA policy.
- Validate Safely: Only deploy the new policy if the DR estimate shows a statistically significant improvement over the current baseline.
Comparison with Other OPE Methods
DR estimation sits in a spectrum of Off-Policy Evaluation (OPE) techniques:
- Inverse Propensity Scoring (IPS): Unbiased but suffers from extremely high variance when propensities are small. Requires no outcome model.
- Direct Method (DM): Low variance but suffers from high bias if the outcome model is misspecified. Requires no propensity model.
- Doubly Robust (DR): Aims for the best of both. It is unbiased if the propensity model is correct, and often has lower variance than pure IPS if the outcome model is a reasonable predictor.
- Self-Normalized IPS (SNIPS): Reduces IPS variance but introduces a small bias; can be combined with DR.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about doubly robust estimation, its mechanisms, and its role in off-policy evaluation for next-best-action models.
Doubly robust estimation is a statistical method that combines a propensity score model and a direct outcome regression model to produce an unbiased estimate of a policy's value. It works by using the propensity model to inversely weight observed outcomes, correcting for selection bias in the logging policy, while simultaneously using the outcome model to impute counterfactual rewards for actions not taken. The estimator remains consistent if either the propensity model or the outcome model is correctly specified—hence the term 'doubly robust.' This property provides a critical safety net in off-policy evaluation, where perfect model specification is rarely guaranteed. The standard doubly robust estimator for a target policy (\pi_e) given logged data (D = {(x_i, a_i, r_i, p_i)}_{i=1}^n) is:
codeV_DR = (1/n) * Σ [ (I(a_i = π_e(x_i)) / p_i) * (r_i - μ(x_i, a_i)) + μ(x_i, π_e(x_i)) ]
where (p_i) is the propensity score, (\mu(x, a)) is the predicted outcome from the regression model, and (I(\cdot)) is the indicator function. The term ((r_i - \mu(x_i, a_i))) acts as a control variate, reducing variance when the outcome model is reasonably accurate.
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
Foundational statistical and causal inference techniques that underpin doubly robust estimation in next-best-action modeling.
Inverse Propensity Scoring (IPS)
An off-policy evaluation method that corrects for selection bias in logged data by re-weighting observed outcomes by the inverse probability of the action being taken by the logging policy. IPS is one of the two foundational components of doubly robust estimation.
- Formula:
V_IPS = (1/n) * Σ [ (π_e(a|x) / π_b(a|x)) * r ] - Suffers from high variance when propensity weights are extreme
- Provides unbiased estimates when the propensity model is correctly specified
- Forms the propensity score half of the doubly robust estimator
Direct Outcome Modeling
A regression-based approach that trains a model to directly predict the expected reward for each possible action given a context, then evaluates a policy by averaging these predictions. This is the second component of doubly robust estimation.
- Also called the regression estimator or reward model
- Low variance but susceptible to model misspecification bias
- Uses supervised learning to estimate
E[r | x, a] - Doubly robust estimation combines this with IPS to achieve double protection against misspecification
Off-Policy Evaluation (OPE)
A set of statistical techniques used to estimate the performance of a new target policy using historical data collected by a different, often suboptimal, behavior policy. Doubly robust estimation is one of the most reliable OPE methods.
- Critical for safely evaluating NBA models before production deployment
- Avoids costly and risky online A/B tests
- Other OPE methods include: Direct Method, IPS, and Doubly Robust
- The fundamental challenge is correcting for the distribution shift between logging and target policies
Causal Inference
The process of drawing conclusions about cause-and-effect relationships from data, moving beyond correlation to determine the true impact of an intervention. Doubly robust estimation is a core tool in the causal inference toolkit.
- Addresses the fundamental problem of causal inference: we can never observe the counterfactual outcome
- Relies on assumptions like unconfoundedness and positivity
- Used to estimate treatment effects in marketing, healthcare, and policy
- Doubly robust methods provide consistent estimates under weaker assumptions than single-model approaches
Heterogeneous Treatment Effect (HTE)
The variation in the causal effect of an intervention across different individuals or subgroups in a population. Doubly robust estimation enables accurate HTE estimation by combining propensity and outcome models.
- Indicates that a single treatment does not have a uniform impact on all users
- Critical for personalized next-best-action decisions
- Estimated using Conditional Average Treatment Effect (CATE) models
- Doubly robust learners like DR-Learner and R-Learner are state-of-the-art for HTE estimation
Propensity Scoring
A statistical technique that estimates the probability of a customer receiving a specific treatment given their observed characteristics. Accurate propensity models are essential for the IPS component of doubly robust estimation.
- Typically estimated using logistic regression or gradient-boosted trees
- Must satisfy the positivity assumption: 0 < P(treatment|x) < 1 for all x
- Poorly calibrated propensity scores lead to biased doubly robust estimates
- Often combined with calibration techniques like Platt scaling to improve accuracy

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