MMM
- Overview
- Models
- Workflow
- Methodology
- Results
MMM: Overview
Introduction
Naukr AI Marketing Mix Modeling (MMM) estimates how media, baseline demand, seasonality, promotions, and external factors contribute to a business outcome. It is designed for analysts and modelers who need an auditable model without having to manage every statistical detail manually.
The model helps answer practical questions:
- How much incremental volume, revenue, profit, or another KPI came from media?
- Which channels are producing efficient returns?
- How quickly does a media effect decay after execution stops?
- Where do additional exposures begin to deliver diminishing returns?
- How stable are the conclusions across time, priors, and model candidates?
The system supports automated defaults and reviewed manual inputs. A manual value can be fixed when reliable external evidence exists; otherwise it acts as a prior that the model can update from observed data.
What the model does not claim
MMM is an observational model. Its conclusions depend on the supplied data, control variables, model assumptions, and available variation. Quality gates can identify weak evidence, but they cannot create information that is absent from the data.
Capabilities and scope
Core capabilities
| Capability | What it provides |
|---|---|
| Additive model | Media contribution directly in outcome units |
| Multiplicative model | Positive proportional lift over baseline demand |
| Geometric adstock | Simple carryover controlled by retention or half-life |
| Weibull adstock | Flexible carryover that can support a delayed peak |
| Weibull-CDF saturation | Canonical Scale and Shape control for diminishing returns |
| Anchored logistic saturation | Alternative bounded saturation family |
| Hierarchical pooling | Shared learning across geographies, groups, and media nodes |
| Constrained neural correction | Optional monotone, concave adjustment to the parametric curve |
| Bayesian uncertainty | Posterior intervals for predictions, contribution, ROI, and curves |
| Leakage-safe validation | Chronological validation and a locked test window |
| Business reporting | Contribution, ROI, fitted response curves, diagnostics, and metadata |
Input roles
| Input | Role in the model |
|---|---|
| Outcome | Volume, revenue, profit, conversions, or another modeled KPI |
| Media execution | Spend, impressions, GRPs, clicks, or another exposure measure |
| Media spend | Denominator for ROI and planning calculations |
| Controls | Price, promotion, distribution, holidays, macro factors, competitors, and supply |
| Business value | Margin or value used to convert incremental KPI into profit |
| Geography and hierarchy | Defines reporting levels and partial-pooling relationships |
Execution and spend can be the same field, but they have different conceptual roles. Execution identifies response timing and shape; spend is used to measure return and support planning.
Related documentation
- Models — media response, adstock, saturation, neural correction, outcome model, baseline, priors, and hierarchy (
mmm-models) - Workflow — the model workflow, typical execution, and the 9-step operating workflow (
mmm-workflow) - Methodology — Bayesian estimation, model selection, validation, diagnostics, and uncertainty (
mmm-methodology) - Results — contribution, ROI, fitted response curves, outputs, and interpretation limits (
mmm-results)
MMM: Models
Media response modeling
Raw media is not multiplied directly by an effect coefficient. The model first scales execution, applies carryover, and then applies diminishing returns. An optional constrained correction can refine the response while preserving its business shape.
Media transformation sequence
- Scale raw execution relative to the channel's typical positive level.
- Carry part of the effect into future periods with adstock.
- Apply a bounded saturation curve.
- Optionally apply a constrained neural correction.
- Convert transformed media pressure into incremental outcome contribution.

Carryover and adstock
Adstock represents the fact that advertising can continue to influence the outcome after the original exposure period.
Geometric adstock is the default. Its retention parameter, , is the share of the previous period's effect that remains in the next period. The interface can also show an equivalent half-life: the number of model periods required for the remaining effect to fall to half.
Geometric adstock implementation.
Terms: is the current execution for media node , is the running adstock state, and is the model input. is a fixed reference normalization: with fixed retention and the matching reference, , so a 100-unit impulse at contributes 50, 25, 12.5, ... across model periods.
Weibull adstock is an optional family for channels where effect can rise to a delayed peak before decaying. Its adstock Shape () and Scale () are separate from the saturation parameters described below.
Default priors are starting beliefs, not fixed fitted values. The model can estimate adstock at the media-node or parent-group level, depending on evidence and configuration.

Saturation and diminishing returns
Saturation describes how incremental response grows as adstocked media pressure increases. New Enhanced Naukr AI MMM runs use the canonical Weibull Scale-Shape parameterization:
Weibull saturation transform.
Terms: is adstocked execution relative to typical execution; is the Saturation Scale; is the Saturation Shape; is the normalized response between zero and one.
| Parameter | Meaning |
|---|---|
| Saturation Scale () | Moves the curve horizontally and controls the execution level at which saturation develops |
| Saturation Shape () | Controls how gradually or sharply response builds as execution increases |
At , the normalized response is always , or approximately 63.2% of its maximum. Changing Scale changes where that point occurs; changing Shape changes the path taken before and after it.
Shape is positive. Values below 1 produce a strong early response followed by diminishing returns, 1 gives an exponential response, and values above 1 can produce a stronger threshold or S-shaped pattern.
Earlier Enhanced runs can retain the legacy half-response parameterization so their fitted curves remain reproducible. Legacy values are not silently converted into canonical Scale values.
The normalized saturation transform is a technical model component. It is not the same as the post-fit business response curve that reports incremental outcome contribution in real units.

Constrained neural correction
The optional neural layer can make a small data-supported adjustment to the selected parametric saturation curve. It is constrained to remain:
- zero-anchored;
- monotone increasing;
- concave;
- normalized; and
- shrunk toward the original parametric curve.
The neural blend weight is denoted by in this document, reserving for Saturation Scale. All neural parameters are estimated jointly with the Bayesian model, so their uncertainty flows into contribution, ROI, and predictions.
Outcome model and baseline
The expected outcome combines baseline demand, control effects, and transformed media effects.
Expected outcome decomposition for the additive model.
Terms: is baseline demand, is the measured control effect, and is incremental media contribution. Multiplicative models use a log link, so this direct additive identity does not apply.
Baseline and controls
The baseline can include geography effects, trend, seasonality, recent-level changes, and dynamic latent components. Numeric control variables enter after train-only standardization.
Supported baseline families include:
- linear trend;
- piecewise linear trend;
- recent-level adjustment;
- dynamic AR(1);
- local linear trend; and
- optional Fourier seasonality.
Controls are treated generically. Their business meaning is established during ingestion rather than inferred from coefficient sign alone.
Additive and multiplicative models
| Property | Additive | Multiplicative log-link |
|---|---|---|
| Outcome requirement | Real-valued outcome | Positive fitting outcome |
| Media interpretation | Incremental outcome units | Positive proportional lift |
| Primary media prior | Business-scale ROI | Positive transformed-media effect |
| Contribution | Directly additive | Calculated through channel-removal counterfactuals |
| Best fit | Stable absolute effects | Effects that scale with baseline level |
The media-effect coefficient is denoted by in this document so that remains unambiguous as Saturation Shape.
Priors, hierarchy, and identification
Priors and manual inputs
Priors regularize parameters that are difficult to identify from noisy or correlated media data. Positive transform parameters use positive prior families; probabilities use bounded priors.
Users can choose:
- Auto: the model estimates the parameter using the configured prior;
- Custom prior: the user changes the prior center or uncertainty; or
- Fixed value: the parameter remains fixed when reliable external evidence justifies it.
Fixed values should be used carefully because an incorrect fixed curve cannot be corrected by the observed likelihood.

Hierarchical pooling
The model uses two complementary hierarchies:
- Geography hierarchy: low-information geographies borrow strength from the shared population.
- Media hierarchy: media nodes can share transform or effect information through parent groups.
Support diagnostics classify media nodes as individually estimable, partially pooled, group-only, or unsupported. The assessment uses activity, variation, unique values, pairwise correlation, variance inflation, and spend support.
Pooling reduces unstable channel-level estimates; it does not create channel separation when the historical data contains none.
MMM: Workflow
Model workflow
Validated business data
-> Canonical time x geography x media panel
-> Train-only scaling and media transformation
-> Bayesian model estimation and candidate comparison
-> Locked-test and business quality gates
-> Approved contribution, ROI, curve, and diagnostic outputs

At a high level, the workflow separates data preparation, model estimation, and business reporting. Each stage produces metadata that can be reviewed or used to block publication when evidence is insufficient.
Leakage-safe preparation
Scaling statistics are learned from the active training window only. Validation and test observations do not influence preprocessing or candidate selection. After a candidate passes validation, it can be refitted for locked testing and, after approval, for production reporting.
Typical execution
Each media node is scaled by its median positive exposure in the fitting data. This value is called typical execution:
- 1× means one typical execution level for that channel.
- 2× means twice that channel's typical level.
- The underlying unit remains the channel's own unit, such as dollars, impressions, or GRPs per week.
This normalization improves model stability and makes Scale values easier to review without forcing different channels into one physical unit.
End-to-end operating workflow

- Ingest and classify data: identify outcome, media, spend, controls, geography, hierarchy, and business-value fields.
- Build the canonical panel: align observations to the selected time and geography grain.
- Validate readiness: check units, timestamps, missingness, support, and required evidence.
- Diagnose identification: determine where node-level estimates are supportable and where pooling is required.
- Create leakage-safe splits: reserve validation and locked-test windows.
- Transform media: fit train-only scaling, adstock, saturation, and any approved constrained correction.
- Fit and compare candidates: run Bayesian estimation and rank only models that pass quality gates.
- Test and review sensitivity: evaluate locked-test performance, prior sensitivity, attribution stability, and ROI reconciliation.
- Publish approved outputs: generate contribution, ROI, fitted curves, diagnostics, and planning artifacts.
Smoke runs can support manual iteration and comparison. A selected iteration must be rerun with approved production settings before it is treated as the final model.
MMM: Methodology
Bayesian estimation and model selection
Naukr AI MMM uses NumPyro on JAX and estimates continuous parameters with the No-U-Turn Sampler (NUTS). Warm-up adapts the sampler; retained draws represent the posterior distribution.
Candidate comparison
Discrete choices are compared as separate model candidates rather than sampled inside one posterior. These choices can include:
- additive versus multiplicative outcome form;
- baseline family;
- adstock family and lag length;
- saturation family; and
- use of the constrained neural correction.
Candidates are ranked on leakage-safe validation only after passing configured quality gates. The locked test remains untouched during tuning.
Runtime controls
Warm-up iterations, retained draws, chains, target acceptance, tree depth, and random seed are configurable. Smoke runs can use lighter settings for rapid iteration; an approved final specification should use production settings.
Validation, diagnostics, and uncertainty
Sampling diagnostics
| Diagnostic | Purpose | Default gate |
|---|---|---|
| R-hat | Checks whether chains converged to the same posterior | Maximum ≤ 1.01 |
| Effective sample size | Measures independent-equivalent posterior information | Minimum ≥ 200 |
| Divergences | Detects problematic sampler trajectories | Zero |
Weak diagnostics are mapped back to media nodes, groups, geographies, or controls where possible.

Predictive and business validation
The evaluation suite includes:
- chronological train, validation, and locked-test windows;
- expanding-window rolling-origin folds;
- RMSE, MAE, WMAPE, and R-squared;
- national and within-geography fit;
- posterior interval coverage and width;
- peak-capture checks;
- ROI reconciliation;
- prior-sensitivity checks; and
- contribution stability.
Accepted candidates are ranked primarily on validation performance, followed by peak capture, temporal and national fit, overall fit, interval quality, and deterministic tie-breakers.
Understanding uncertainty
Predictions, transformations, contributions, profit, ROI, and response curves are calculated for every posterior draw before being summarized. Reports usually show a mean or median and a credible interval.
A credible interval describes uncertainty under the selected model, priors, and data. It does not guarantee that the model structure or source data are complete.
MMM: Results
Contribution and ROI
Incremental contribution
Every posterior draw produces contribution by time, geography, and media node. Results can be aggregated to weeks, months, years, geographies, media groups, or the full portfolio.
For an additive specification, a media node's contribution is:
Additive media contribution.
Terms: is adstocked execution, is its saturation transform, and is the fitted outcome-unit effect. Multiplicative models use a channel-removal counterfactual instead of this direct additive calculation.
- In the additive model, node contribution is its transformed response times its outcome-unit effect.
- In the multiplicative model, contribution is measured by comparing the full prediction with a prediction where that node is removed.
- A separate conserving allocation is available when a decomposition must add exactly back to total predicted media lift.

ROI and effectiveness
ROI is calculated per posterior draw:
Return on media spend.
The model first calculates incremental outcome contribution, then applies the configured business value or margin when required.
For planning, marginal ROI measures the return from a small spend change around the current operating point:
Marginal return around the current operating point.
Terms: Both changes use the same local movement in media spend, with other planning assumptions held fixed.
| Outcome | Return interpretation |
|---|---|
| Volume | Incremental volume × unit margin ÷ spend |
| Revenue | ROAS without margin; profit ROI with margin |
| Profit | Incremental profit ÷ spend |
| Conversions | Incremental conversions × profit per conversion ÷ spend |
| Transactions | Incremental transactions × profit per transaction ÷ spend |
| Market share | Incremental share × market size × unit margin ÷ spend |
| Custom KPI | Incremental KPI × configured value per unit ÷ spend |
Raw media coefficients should not be compared directly across channels because execution scale, units, transformation, and model form can differ. Contribution and ROI are the primary business-comparable outputs.
Fitted response curves and planning
Two related curves must remain clearly separated.
Saturation transform
This is the normalized Weibull component used inside the model. Its axes are scaled execution and response from zero to one. It explains the technical roles of Scale and Shape but does not report incremental volume.
Canonical curve artifacts identify their Scale-Shape parameterization and report posterior summaries of Saturation Scale and Saturation Shape.
Business response curve
The fitted business response curve is available only after model fitting:
- X-axis: actual channel execution or spend, using the channel's real unit;
- Y-axis: model-estimated incremental volume, revenue, profit, or other KPI;
- Current point: the channel's current or average weekly execution;
- Additional series: ROI and marginal ROI when the required business values are available; and
- Uncertainty: posterior credible bands where supported.
The configuration step should collect Scale and Shape inputs without presenting an illustrative curve as a fitted result. A true business curve is generated from fitted coefficients, transformations, and posterior draws.
Budget optimization is a later-stage workflow. It should use only approved model outputs and documented planning constraints.
Outputs and reporting
Standard outputs
| Output | Typical content |
|---|---|
| Model manifest | Specification, parameterization, data window, units, and run metadata |
| Diagnostics | Sampling, predictive, attribution, and publication checks |
| Contributions | Posterior media contribution by time, geography, node, and group |
| ROI | Posterior ROI or ROAS summaries with business-value assumptions |
| Fitted response curves | Actual execution versus incremental outcome, ROI, and marginal ROI |
| Parametric curve artifact | Canonical Scale, Shape, normalized response, and uncertainty |
| Decomposition | Baseline, controls, and media components |
| Readiness flags | Support, pooling, evidence, and publication status |
Reporting principles
- Nonlinear quantities are calculated per posterior draw before aggregation.
- Every curve and contribution carries its unit and parameterization metadata.
- Legacy and canonical saturation fields are not mixed in one run.
- Outputs state whether attribution is node-level, pooled, or group-only.
- Business reports emphasize contribution and ROI rather than raw coefficients.
Interpretation limits
Sparse or highly correlated media may only support pooled interpretation, while narrow historical execution ranges make saturation and extrapolated response less certain. Missing controls can also shift effects into baseline or media.
Fixed parameters require external evidence and a validity period. Optimization is conditional on the approved fitted model and supplied constraints. These safeguards reduce unreasonable conclusions, but outputs still require analyst review and business context.