Introduction
Machine learning models are increasingly deployed in high-stakes domains such as finance, law enforcement, and recruitment. In these contexts, ensuring fairness—the absence of bias toward specific demographic groups—is a critical requirement. However, standard fairness constraints typically rely on large datasets to accurately measure statistical disparities. This creates a significant challenge for Few-Shot Learning (FSL), where models must adapt to new tasks using only a handful of labeled examples (the "support set").
In FSL scenarios, traditional fairness approaches encounter two primary hurdles. First is Measurement Failure: with only 5 or 10 samples, it is mathematically impossible to reliably calculate group disparity, especially if a sensitive group is entirely unrepresented in the support set. Second is the Generalization Gap: fairness knowledge acquired during meta-training does not naturally transfer to novel tasks, as fairness constraints are often highly dependent on the specific data distribution of the task at hand.
To address these issues, this paper introduces FEAST (Fair fEw-shot learning with Auxiliary SeTs), a framework designed to maintain fairness even under extreme data scarcity by leveraging auxiliary information from previous training tasks.
The FEAST Framework
FEAST bridges the gap between meta-training and meta-testing by "borrowing" relevant data to bolster the model’s decision-making process. The framework consists of three core components:
1. Auxiliary Sets
For every new task encountered during the meta-test phase, FEAST identifies a set of labeled samples from the training data, referred to as an "auxiliary set." These sets provide the necessary statistical mass to calculate and enforce fairness constraints that would otherwise be impossible to measure using the tiny support set alone.
2. Fairness-aware Mutual Information (MI) Loss
Simply combining data is insufficient. FEAST employs a specialized Mutual Information loss to align the classification behavior of the support set with that of the larger auxiliary set. This ensures that the model transfers "fairness-oriented knowledge" effectively, focusing on the underlying logic of fair classification rather than merely mimicking raw data points.
3. The Generator and Dynamic Dictionary
To select the most relevant auxiliary data, the authors developed a Generator utilizing a Transformer architecture. The Generator analyzes the support set of a new task and predicts its "fairness adaptation direction"—an estimation of how the model’s weights should be adjusted to achieve fairness. This prediction is then matched against a Dynamic Dictionary of previous training tasks to retrieve the auxiliary set with the most similar optimization trajectory.
Experimental Setup
The framework was evaluated on three real-world datasets commonly used in algorithmic fairness research, adapted for a meta-learning context:
- Adult: Predicting income levels (Sensitive attribute: Gender).
- Crime: Predicting community crime rates (Sensitive attribute: Race).
- Bank: Predicting term deposit subscriptions (Sensitive attribute: Marital status).
To simulate the few-shot environment, these datasets were partitioned into numerous small subsets (e.g., by geographic region) to create a diverse array of tasks for meta-learning.
Key Results and Insights
FEAST was compared against state-of-the-art baselines, including MAML and PDFM, across 5-shot and 10-shot settings. The results demonstrate that FEAST consistently achieves superior fairness without compromising predictive performance.
- Significant Bias Reduction: On the Crime dataset in a 5-shot setting, FEAST reduced the Demographic Parity ($ΔDP$) to 0.203, a substantial improvement over MAML’s 0.558. Similar improvements were noted for Equalized Odds ($ΔEO$).
- Stability and Accuracy: Unlike many fair-learning algorithms that suffer from a "fairness-accuracy trade-off," FEAST maintained classification accuracy comparable to models that ignore fairness entirely.
- Robustness to Scarcity: FEAST showed the smallest performance degradation when moving from 10-shot to 5-shot settings, confirming that auxiliary sets effectively compensate for the lack of task-specific data.
Conclusion
The FEAST framework demonstrates that fairness in few-shot learning is achievable by treating fairness as a task-specific adaptation problem. By using a Transformer-based generator to navigate a dictionary of auxiliary data, FEAST provides a robust mechanism for transferring fairness constraints across tasks.
Future research may explore the incorporation of external knowledge bases to assist when internal training data is limited. Additionally, expanding the framework to handle non-binary sensitive attributes remains an important avenue for ensuring broader applicability in complex, real-world social environments.
Summary updated