Theoretical background
This chapter collects the mathematical background needed to understand the
objects and estimators implemented by capacities_ml_fin. It follows the
theoretical development and the additional theoretical appendix of the thesis
Machine Learning with Choquet Integrals for Risk Management and Decision
Making, while keeping the notation tied to the package API. The original
sources used for the theory and the model families are listed in the
bibliography.
From additive aggregation to capacities
An aggregation function combines \(n\) inputs into one value. On the unit cube, the standard boundary and monotonicity requirements are
and
where the vector inequality is componentwise. A weighted arithmetic mean,
is an averaging aggregation function, but it is additive: the contribution of each input is fixed independently of the other inputs. An ordered weighted average relaxes the fixed-variable interpretation by attaching weights to ordered positions, but it still does not assign importance directly to named coalitions of variables.
A capacity makes that coalition structure explicit. For a finite universe \(N=\{1,\ldots,n\}\), it is a set function
satisfying
Unlike a probability measure, a capacity need not be additive on disjoint sets. Consequently, \(\mu(A)\) can express the importance of a group without being forced to equal the sum of its singleton importances. This is the source of complementarity and redundancy in capacity-based models. Capacities and the associated integral originate with Choquet (1954); modern finite treatments used here include Torra, Narukawa and Sugeno (2014) and Beliakov, James and Wu (2026).
The package represents this object through ExplicitCapacity,
MobiusCapacity, and KAdditiveCapacity. Their shared BaseCapacity interface
separates the mathematical event value \(\mu(A)\) from the numerical
parameterization used to store it.
The Choquet integral as non-additive aggregation
For a non-negative vector \(x\), let
and let \(A_{(i)}\) be the set of indices whose values are at least \(x_{(i)}\). The discrete Choquet integral is
Each ordered increment is weighted by the capacity of the coalition that reaches that level. The effective aggregation therefore depends on the joint configuration of the observation, rather than on a fixed coefficient for each feature. If \(\mu\) is additive, with \(\mu(A)=\sum_{i\in A}w_i\), the expression telescopes to the weighted arithmetic mean \(\sum_iw_ix_i\). The Choquet integral is thus a genuine extension of familiar weighted aggregation, not a separate unrelated construction (Grabisch, 2003; Beliakov, James and Wu, 2026).
For bounded random variables, the integral retains several classical properties:
- monotonicity: \(X\le Y\Rightarrow C_\mu(X)\le C_\mu(Y)\);
- positive homogeneity: \(C_\mu(\lambda X)=\lambda C_\mu(X)\) for \(\lambda\ge0\);
- translation invariance: \(C_\mu(X+c)=C_\mu(X)+c\);
- comonotonic additivity: \(C_\mu(X+Y)=C_\mu(X)+C_\mu(Y)\) when \(X\) and \(Y\) are comonotonic.
It is not additive for arbitrary inputs. That controlled failure of additivity
is precisely what permits interactions. In code, ordered_choquet implements
the ordered formula, while the batch functions build the corresponding design
matrices for repeated evaluation and learning.
Möbius representation and interaction order
Every finite capacity has a Möbius transform
with inversion
In this basis, the discrete Choquet integral is
The Möbius coefficients need not lie in \([0,1]\); normalization and monotonicity apply to the capacity reconstructed from them. A coefficient attached to a coalition describes a contribution in the Möbius decomposition, while the Shapley indices below redistribute higher-order mass. The two quantities should not be conflated outside the relevant special cases.
A capacity is at most \(k\)-additive when
This reduces the number of possible non-empty coefficients from \(2^n-1\) to
A 1-additive capacity gives an additive monotone baseline. A 2-additive
capacity additionally retains pairwise interactions. Higher values permit
larger coalitions but increase both estimation and interpretation costs.
KAdditivity(order=k) compiles this restriction for the package estimators.
For a 2-additive capacity,
In this particular case, convexity is equivalent to all pairwise Möbius terms being non-negative, and concavity to all of them being non-positive. This is a global shape condition; the sign of one pair alone describes only that pair.
Importance and interaction
The Shapley importance of feature \(i\) is its average marginal contribution over all coalitions that do not contain it:
The exact pairwise interaction index is
where
The same indices can be written directly in the Möbius basis:
Therefore, for a 2-additive capacity,
Positive pairwise interaction indicates complementarity; negative interaction
indicates redundancy or substitutability. These are global summaries of the
learned aggregation rule. They are not local SHAP values for individual
predictions, and in empirical work they should be treated as sample- and
regime-dependent fitted quantities. The package computes them exactly through
shapley_indices and pairwise_interactions.
Learning a capacity from data
Learning is a constrained optimization problem. Regardless of the objective, the fitted parameter vector must decode to a normalized monotone capacity. A Möbius parameterization is especially useful when \(k\)-additivity or selective regularization is imposed. The package can penalize selected higher-order terms, for example
which shrinks interactions without directly penalizing singleton terms. This connects the implementation to regularized Choquet learning such as Anderson, Price and Havens (2014).
Predictors used as criteria must be commensurable and consistently oriented. Normalization maps them to a common scale, while reversing cost criteria makes larger transformed values have a common semantic direction. Monotonicity is a model assumption after this transformation, not a substitute for it.
Regression
Choquet regression replaces the additive systematic component by a learned Choquet integral:
ChoquetRegressor fixes \(q=1\); ScaledChoquetRegressor estimates it jointly.
With squared loss, the generic problem is
The model family is grounded in Wang et al. (2000), Grabisch (2003), and Fallah Tehrani et al. (2012). Normalization of \(\mu\) identifies its relative aggregation structure; \(q\) controls the aggregate scale.
Probabilistic and direct classification
ChoquisticRegression passes a Choquet utility through a logistic link
(Tehrani, Cheng and Hüllermeier, 2011):
The capacity, location and positive scale are estimated jointly by constrained Bernoulli maximum likelihood. If \(\mu\) is additive, the model reduces to a constrained logistic regression with non-negative slopes after consistent feature orientation; it is not the same as unrestricted logistic regression.
ChoquetClassifier instead learns a deterministic surface
including optional non-negative relative feature scales \(s\). Its discontinuous
0–1 objective motivates derivative-free population optimization, following the
direct-classification line of
Yang and Ouyang (2014) and
Yang et al. (2019). A threshold margin is not a
probability, which is why this estimator deliberately omits predict_proba().
Choquet inputs and neural networks
Choquet aggregation can replace the additive combination inside a neuron, be represented as a network over coalitions, or be used only at selected network stages. Such architectures preserve a capacity interpretation but introduce constrained and potentially exponential parameterizations; examples include Chiang (1999), Yue and Wang (2005), and Islam et al. (2020).
The estimators implemented here use the simpler staged transformation of Gomes et al. (2016):
The capacity is learned first and frozen; a conventional neural network is then
trained on the scalar Choquet input. This is the architecture implemented by
FuzzyChoquetInputLayer, FuzzyChoquetNeuralRegressor, and
FuzzyChoquetNeuralClassifier.
Time-series models
Fuzzy-measure time-series models use a capacity to aggregate lagged values (Sugeno and Kwon, 1995; Gomes et al., 2016). The package's native autoregressive specification is
ChoquetAutoRegressor learns the lag capacity and outer scale, and may include
exogenous regressors. FuzzyChoquetNeuralAutoRegressor applies the staged
Choquet-neural construction to normalized lag windows and selects the lag order
chronologically. These are implementation-specific estimators motivated by the
cited model family; their precise API and stability restrictions are documented
on the time-series page.
Model aggregation
The same mathematics can aggregate fitted models rather than original predictors. If \(z_t=(\widehat y_t^{(1)},\ldots,\widehat y_t^{(M)})\), regression aggregation estimates
For classification, base-model probabilities are combined before the final probability or decision rule. Capacities may be shared across classes or made class-specific; the package implements a parsimonious shared-capacity binary form. Relevant supervised, uncertainty-based and financial-distress aggregation approaches include Uriz et al. (2023), Pacheco and Krohling (2018), and Cao (2012).
The capacity must be fitted on honest out-of-fold or validation predictions. Using in-sample base-model predictions would train the aggregator on information that overstates the quality of its inputs.
Capacities in financial risk measurement
Let \(L\) denote a loss. A monetary risk measure \(\rho\) is monotone and cash additive. It is coherent when it is also subadditive and positively homogeneous (Artzner et al., 1999). Value-at-Risk and Expected Shortfall are, respectively,
and
VaR is not coherent in general because it can fail subadditivity; ES is coherent under the standard loss formulation (McNeil, Frey and Embrechts, 2015).
An increasing distortion \(g:[0,1]\to[0,1]\), with \(g(0)=0\) and \(g(1)=1\), turns probability into the capacity
The corresponding distortion risk measure is a Choquet integral,
This identity connects the predictive use of capacities over variables with their risk-measure use over loss events (Grigorova, 2014; Sriboonchitta et al., 2010; Wang, Wang and Wei, 2020). VaR and ES arise from the distortions
The proportional-hazards family \(g_\gamma(u)=u^\gamma\) is concave for \(0<\gamma<1\) and places more weight on tail probabilities than the identity. Concavity is important: an increasing concave distortion generates a coherent distortion risk measure under the usual assumptions, while a convex distortion need not preserve the diversification properties associated with coherence.
For a capacity \(\nu\), generalized distribution and quantile objects can also be defined by
and lower/upper inverses of \(G_{L,\nu}\). These objects motivate the generalized quantile, spectral, and finite Kusuoka-style tools in the risk module. They need not be ordinary probability distributions when \(\nu\) is non-additive, so their interpretation should remain capacity-based.
Theory-to-API map
| Theoretical object or model | Main package API | Principal sources from the thesis |
|---|---|---|
| Finite capacity | ExplicitCapacity, MobiusCapacity, KAdditiveCapacity |
Choquet (1954); Beliakov et al. (2026) |
| Discrete Choquet integral | ordered_choquet, mobius_choquet, batch integrals |
Grabisch (2003); Beliakov et al. (2026) |
| Choquet regression | ChoquetRegressor, ScaledChoquetRegressor |
Wang et al. (2000); Fallah Tehrani et al. (2012) |
| Choquistic regression | ChoquisticRegression |
Tehrani et al. (2011) |
| Direct classification | ChoquetClassifier |
Yang and Ouyang (2014) |
| Staged Choquet-neural input | FuzzyChoquetInputLayer, neural regressors/classifiers |
Gomes et al. (2016) |
| Choquet autoregression | ChoquetAutoRegressor, FuzzyChoquetNeuralAutoRegressor |
Sugeno and Kwon (1995); Gomes et al. (2016) |
| Supervised model aggregation | aggregate_regression_predictions, aggregate_binary_probabilities |
Cao (2012); Uriz et al. (2023) |
| Distortion risk measure | DistortionRiskMeasure, VaR/ES/power distortions |
Artzner et al. (1999); Wang et al. (2020) |
The citations identify the theoretical lineage of each family. They do not imply that every package class is a verbatim reproduction of one paper: scikit-learn and sktime interfaces, solver choices, validation, sparse parameter compilation, and several workflow safeguards are package-level implementation decisions.