Papers
Topics
Authors
Recent
Search
2000 character limit reached

Average Marginal Component Effects (AMCEs)

Updated 29 January 2026
  • AMCEs are formal measures that quantify the expected change in outcomes when a feature is altered, averaging over other variables.
  • They are computed by contrasting predictions at different feature levels using causal models, ensuring isolated marginal effects even in complex architectures.
  • AMCEs are pivotal in applications such as conjoint analysis, policy evaluation, and transparent feature attribution in advanced predictive models.

Average Marginal Component Effects (AMCEs) are formal quantities for expressing the expected causal influence of feature manipulations in multivariate predictive and causal models. Originally developed in the context of conjoint analysis and widely adopted across causal inference, AMCEs operationalize the expected change in an outcome when a single feature is perturbed—from one value or "level" to another—averaged over the empirical or structural distribution of all other features. In the structural framework, AMCEs provide a rigorous, population-level measure of direct and indirect effects, foundational for both interpretability and causal analysis, and are central to evaluating feature contributions in complex models, including deep neural networks (Thielmann et al., 11 Apr 2025).

1. Formal Definition and Context

Let f:RJ→Rf: \mathbb{R}^J \to \mathbb{R} denote a model or data-generating function, where x=(xj,x−j)\mathbf{x} = (x_j, \mathbf{x}_{-j}) with xjx_j indicating the feature of interest and x−j\mathbf{x}_{-j} the remaining components. The marginal feature effect of variable jj at value vv is defined as

E[f(x)∣xj=v]=∫f(v,x−j) p(x−j∣xj=v) dx−j\mathbb{E}\bigl[f(\mathbf{x})\mid x_j = v\bigr] = \int f(v, x_{-j})\, p(x_{-j} \mid x_j = v)\, dx_{-j}

which captures the predictive expectation for setting xjx_j to vv, marginalizing over the conditional distribution of context features.

Within conjoint analysis and causal inference, the AMCE from level aa to x=(xj,x−j)\mathbf{x} = (x_j, \mathbf{x}_{-j})0 is formalized as

x=(xj,x−j)\mathbf{x} = (x_j, \mathbf{x}_{-j})1

where x=(xj,x−j)\mathbf{x} = (x_j, \mathbf{x}_{-j})2 is a potential outcome or structural model, and the expectation is with respect to the empirical or counterfactual distribution of the context (Thielmann et al., 11 Apr 2025). This estimate prescribes the expected shift in predicted (or observed) outcomes from changing x=(xj,x−j)\mathbf{x} = (x_j, \mathbf{x}_{-j})3 from x=(xj,x−j)\mathbf{x} = (x_j, \mathbf{x}_{-j})4 to x=(xj,x−j)\mathbf{x} = (x_j, \mathbf{x}_{-j})5 with all other features sampled as observed.

2. AMCEs in Additive and Deep Models

Classical generalized additive models (GAMs) with link x=(xj,x−j)\mathbf{x} = (x_j, \mathbf{x}_{-j})6 are expressed as

x=(xj,x−j)\mathbf{x} = (x_j, \mathbf{x}_{-j})7

which yields interpretable, additive effects for each feature. In such models, with centered basis functions (i.e., x=(xj,x−j)\mathbf{x} = (x_j, \mathbf{x}_{-j})8 of zero mean), the isolated marginal effect for feature x=(xj,x−j)\mathbf{x} = (x_j, \mathbf{x}_{-j})9 at xjx_j0 is xjx_j1, and the AMCE between xjx_j2 and xjx_j3 is xjx_j4. This direct interpretability is typically lost in complex, high-capacity models such as deep neural networks, where feature interactions and non-additivity obscure marginal effects (Thielmann et al., 11 Apr 2025).

Recent adaptations, such as the NAMformer—a tabular transformer network with explicit additive paths—restore the identifiability of marginal effects. Each feature xjx_j5 is encoded via an uncontextualized embedding xjx_j6, passed through a shallow MLP xjx_j7 (shape function), with the model structure:

xjx_j8

Here, xjx_j9 incorporates context via contextualized embeddings, but x−j\mathbf{x}_{-j}0 depends solely on x−j\mathbf{x}_{-j}1 via its embedding (Thielmann et al., 11 Apr 2025). After mean-centering, x−j\mathbf{x}_{-j}2 provides the marginal effect for x−j\mathbf{x}_{-j}3.

3. Extraction and Computation of AMCEs

After model training, computation of marginal effect curves for feature x−j\mathbf{x}_{-j}4 proceeds as follows:

  • Select a grid x−j\mathbf{x}_{-j}5 spanning the support of x−j\mathbf{x}_{-j}6.
  • For each x−j\mathbf{x}_{-j}7, compute the uncontextualized embedding x−j\mathbf{x}_{-j}8, then the shape output x−j\mathbf{x}_{-j}9.
  • The function jj0 describes the estimated marginal effect curve.

The empirical AMCE is calculated as

jj1

This mechanism yields AMCEs directly as differences in shape-function outputs, requiring no post-hoc intervention or bespoke estimation procedures (Thielmann et al., 11 Apr 2025). If jj2 is continuous, finite differences of the shape function approximate the instantaneous marginal effect.

4. Theoretical Guarantees and Identifiability

The identifiability of AMCEs in the NAMformer is ensured algorithmically by employing independent dropout across the per-feature shape networks during training. With dropout masks jj3 randomly masking each jj4 and the context head jj5, the risk decomposes as:

jj6

For a convex loss jj7, the following bound guarantees recovery:

jj8

where jj9 is the probability that only vv0 is active. As vv1 during training, each vv2 converges in population risk to the true conditional mean vv3, thereby restoring isolated marginal effects (Thielmann et al., 11 Apr 2025).

5. Applications and Methodological Impact

AMCEs furnish an interpretable and theoretically sound measure for evaluating the marginal importance of features in both classical and contemporary high-capacity models. In tabular transformer architectures such as the NAMformer, AMCE computation is intrinsic to the model structure, supporting transparent analysis and causal attribution. This approach circumvents the opacity of general black-box models while preserving competitive predictive performance, effectively bridging two major paradigms in statistical learning: interpretability and accuracy (Thielmann et al., 11 Apr 2025).

AMCEs are particularly pivotal in conjoint analysis, policy evaluation, and any domain requiring principled assessment of intervention effects at the population level. The ability to efficiently extract marginal effect estimates within transformer-based frameworks represents a significant advance for interpretable AI in tabular settings.

6. Connections to Other Marginal Effect Formalisms

AMCEs closely relate to other measures of marginal effects, such as average treatment effects (ATE) in causal inference, partial dependence plots (PDPs) in machine learning, and marginal effect curves in GAMs. In the additive regime, these concepts coincide; in interaction-heavy models, AMCEs provide an average over observed distributions, maintaining the precise interpretability needed for rigorous analysis. The NAMformer directly recovers AMCEs in a manner analogous to classical GAM-based or causal estimators but embedded within a high-performance, context-aware architecture (Thielmann et al., 11 Apr 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Average Marginal Component Effects (AMCEs).