Multiaccuracy and multicalibration are concepts from the field of algorithmic fairness, particularly in the context of machine learning and predictive modeling. They are techniques used to ensure that models are fair and unbiased across different subgroups of a population, especially when those subgroups are defined by sensitive attributes (e.g., race, gender, or other protected characteristics). Below, I’ll explain the two concepts, their differences, and their implications.
1. Multiaccuracy
Multiaccuracy is a fairness criterion that ensures a model's predictions are accurate (or unbiased) on average across multiple subgroups of the population. It is a relatively weaker fairness constraint compared to multicalibration, but it is computationally simpler and easier to achieve.
Definition
A model is said to be multiaccurate if, for every subgroup ( G ) in a collection of subgroups ( \mathcal{G} ), the model's predictions are unbiased in expectation. Mathematically, for a predictor ( f(x) ) that outputs predictions for an input ( x ), and a true label ( y ), multiaccuracy requires:
[
\mathbb{E}_{x \in G}[f(x) - y] = 0 \quad \text{for all } G \in \mathcal{G}.
]
This means that the average error of the predictor ( f(x) ) on any subgroup ( G ) is zero. In other words, the model does not systematically overpredict or underpredict for any subgroup.
Key Features
- Focus on Averages: Multiaccuracy ensures fairness in expectation (i.e., on average) but does not guarantee fairness for specific individuals or finer-grained subsets within a subgroup.
- Subgroup Definition: The subgroups ( \mathcal{G} ) are typically predefined and could include groups based on sensitive attributes (e.g., "all women," "all men") or intersections of attributes (e.g., "Black women").
- Weaker Constraint: Multiaccuracy does not require the model to be well-calibrated or to have consistent error distributions across subgroups—it only ensures that the average prediction matches the average true outcome.
- Applications: Multiaccuracy is useful in settings where we want to ensure that a model does not systematically discriminate against certain groups, but we are less concerned about the precise distribution of predictions within those groups.
Example
Suppose a model predicts credit scores, and we want to ensure fairness across gender groups. If the average predicted credit score for women equals the average true credit score for women, and the same holds for men, the model is multiaccurate with respect to gender. However, this does not guarantee that the model is fair for specific subgroups within women (e.g., young women) or that the predictions are well-calibrated.
2. Multicalibration
Multicalibration is a stronger and more fine-grained fairness criterion than multiaccuracy. It not only ensures that predictions are accurate on average across subgroups but also ensures that the predictions are calibrated within each subgroup. Calibration, in this context, means that the predicted probabilities (or scores) are meaningful and reflect the true likelihood of the outcome.
Definition
A model is said to be multicalibrated if, for every subgroup ( G \in \mathcal{G} ) and for every possible predicted value ( v \in [0, 1] ), the expected true outcome for individuals in ( G ) who receive prediction ( v ) matches ( v ). Mathematically, for a predictor ( f(x) ), multicalibration requires:
[
\mathbb{E}_{x \in G}[y \mid f(x) = v] = v \quad \text{for all } G \in \mathcal{G}, \text{ for all } v \in [0, 1].
]
This means that if the model predicts a score of 0.7 for a set of individuals in subgroup ( G ), then 70% of those individuals should, on average, have the positive outcome (e.g., repay a loan, if that’s the prediction task).
Key Features
- Calibration Within Subgroups: Multicalibration ensures that predictions are not only accurate on average but also well-calibrated, meaning the predicted probabilities are meaningful within each subgroup.
- Stronger Constraint: Multicalibration implies multiaccuracy (if a model is multicalibrated, it is automatically multiaccurate), but the converse is not true.
- Granularity: Multicalibration provides fairness guarantees at a finer level of granularity, ensuring fairness not just on average but also for individuals with specific predicted scores.
- Applications: Multicalibration is particularly useful in high-stakes settings (e.g., criminal justice, lending, healthcare) where it is important that predicted probabilities are interpretable and fair across all subgroups, not just on average.
Example
Continuing the credit score example, a multicalibrated model would ensure that if a group of women are assigned a credit score of 0.7, then 70% of those women actually repay their loans. The same must hold for men and for any other subgroup in ( \mathcal{G} ). This is a much stronger requirement than multiaccuracy, which only ensures that the average predicted score matches the average true outcome.
Key Differences Between Multiaccuracy and Multicalibration
| Aspect | Multiaccuracy | Multicalibration |
|---|
| Definition | Ensures predictions are unbiased on average across subgroups. | Ensures predictions are calibrated within subgroups for every predicted value. |
| Strength | Weaker fairness criterion. | Stronger fairness criterion (implies multiaccuracy). |
| Granularity | Focuses on average errors across subgroups. | Focuses on calibration for every predicted score within subgroups. |
| Mathematical Requirement | (\mathbb{E}_{x \in G}[f(x) - y] = 0) | (\mathbb{E}_{x \in G}[y \mid f(x) = v] = v) |
| Calibration | Does not require calibration. | Requires calibration within subgroups. |
| Computational Complexity | Easier to achieve and computationally simpler. | Harder to achieve and computationally more intensive. |
| Use Cases | Suitable for settings where average fairness is sufficient. | Suitable for high-stakes settings where precise fairness and interpretability are critical. |
Implications and Trade-offs
-
Strength of Fairness Guarantees:
- Multiaccuracy is a good starting point for ensuring fairness, especially when computational resources are limited or when the subgroups of interest are large and well-defined. However, it may still allow for unfairness at a finer level (e.g., specific individuals or smaller subgroups within a larger group).
- Multicalibration provides stronger fairness guarantees, making it more suitable for applications where fairness and interpretability are critical. However, achieving multicalibration can be computationally expensive, especially when dealing with many subgroups or continuous prediction values.
-
Practical Implementation:
- Multiaccuracy can often be achieved through post-processing techniques, such as adjusting the average predictions for each subgroup.
- Multicalibration typically requires more sophisticated algorithms, such as those proposed in the literature (e.g., the work by Hébert-Johnson et al., 2018, on multicalibration). These algorithms iteratively adjust predictions to ensure calibration across subgroups.
-
Interpretability:
- Multicalibration ensures that predicted probabilities are meaningful and interpretable, which is crucial in domains like healthcare or lending, where stakeholders rely on these probabilities to make decisions.
- Multiaccuracy does not provide this interpretability, as it only focuses on average errors.
-
Limitations:
- Both multiaccuracy and multicalibration depend on the choice of subgroups ( \mathcal{G} ). If important subgroups are omitted, fairness guarantees may not hold for those groups.
- Multicalibration, while stronger, may still not address all forms of unfairness, such as disparities in error rates (e.g., false positives vs. false negatives) across groups.
When to Use Which?
Further Reading
If you’re interested in diving deeper into these concepts, here are some key references:
- Hébert-Johnson, U., Kim, M. P., Reingold, O., & Rothblum, G. N. (2018). "Multicalibration: Calibration for the (Computationally-Identifiable) Masses." Proceedings of the 35th International Conference on Machine Learning (ICML).
- This paper introduces the concept of multicalibration and provides algorithms for achieving it.
- Kleinberg, J., Mullainathan, S., & Raghavan, M. (2017). "Inherent Trade-Offs in the Fair Determination of Risk Scores." Proceedings of the 8th Innovations in Theoretical Computer Science Conference (ITCS).
- This paper discusses calibration and fairness in predictive models, providing context for multiaccuracy and multicalibration.
Conclusion
Multiaccuracy and multicalibration are both valuable tools in the algorithmic fairness toolkit, but they serve different purposes. Multiaccuracy is a simpler, weaker fairness criterion that ensures average fairness across subgroups, while multicalibration is a stronger, more fine-grained criterion that ensures calibration within subgroups. The choice between them depends on the specific requirements of your application, the computational resources available, and the level of fairness you aim to achieve.