Integrating Fairness and Explainability in a Multiple Instance Reinforcement Learning System
Organizations: University of Amsterdam Amsterdam, The Netherlands
Abstract
Predicting student performance from educational interaction data requires models that are both accurate and sufficiently transparent to support meaningful intervention, while demographic information introduces an additional risk of unfair predictions. This study investigates a multi-objective framework that combines reinforcement learning-based multiple instance learning (RL-MIL), adversarial debiasing, and preference-conditioned hypernetworks for student-at-risk prediction. MIL represents each student as a bag of weakly labeled interactions, while an RL agent selects informative instances for downstream classification. Two hypernetwork variants are evaluated to determine whether a user-defined preference scalar can continuously control the trade-off between predictive performance and Equalized Odds. The underlying RL-MIL baseline achieves strong classification performance, but both hypernetwork extensions exhibit mode collapse: changing the preference weight produces little systematic movement along the intended fairness-performance frontier. The failure is associated with objective dominance, weak gradient propagation through the conditioning mechanism, and interactions between dynamically generated parameters. The results show that fairness objectives can be incorporated into an interpretable RL-MIL pipeline, but preference conditioning alone does not guarantee controllable multi-objective behavior. Robust fair RL-MIL therefore requires explicit mechanisms for gradient balancing, objective separation, and stability analysis.
Figures & tables
| Framework | Pooling | Preference | F1 score (performance) ( SD) | Equalized Odds (bias) ( SD) |
|---|---|---|---|---|
| Baseline | Attention | 0.9245 ( 0.0018) | 0.1681 ( 0.0044) | |
| Baseline | Max | 0.9187 ( 0.0012) | 0.0998 ( 0.0288) | |
| Baseline | Mean | 0.9228 ( 0.0017) | 0.1055 ( 0.0160) | |
| Baseline | Rep-The-Set | 0.9280 ( 0.0010) | 0.1426 ( 0.0237) | |
| Task-agnostic Hypernetwork | Attention | 0.0 | 0.9261 ( 0.0011) | 0.1344 ( 0.0007) |
| Task-agnostic Hypernetwork | Attention | 1.0 | 0.9244 ( 0.0020) | 0.1356 ( 0.0176) |
| Pooling | Framework | Tested Hypothesis | T value | p value |
|---|---|---|---|---|
| Mean | Task-agnostic Hypernetwork | Preference 0 > Preference 1 | -0.1782 | 0.8630 |
| Mean | Task-aware Hypernetwork | Preference 0 > Preference 1 | 0.1859 | 0.8697 |
| Max | Task-agnostic Hypernetwork | Preference 0 > Preference 1 | -0.3635 | 0.7257 |
| Max | Task-aware Hypernetwork | Preference 0 > Preference 1 | 6.8235 | 0.0208 (*) |
| Attention | Task-agnostic Hypernetwork | Preference 0 > Preference 1 | 0.8337 | 0.4286 |
| Attention | Task-aware Hypernetwork | Preference 0 > Preference 1 | -1.2058 | 0.3512 |
| Baseline | Task-agnostic Hypernetwork, preference 0 | Task-agnostic Hypernetwork, preference 1 |
|---|---|---|
| Age Band (98.9774 %) | VLE Clicks: homepage (97.1877 %) | VLE Clicks: homepage (97.4434 %) |
| Code Presentation (91.8919 %) | Assessment: TMA (86.8152 %) | Age Band (93.0241 %) |
| Gender (89.6640 %) | VLE Clicks: forumng (85.9021 %) | Disability (86.8517 %) |
| VLE Clicks: homepage (89.2988 %) | VLE Clicks: oucontent (81.3733 %) | Assessment: TMA (86.7421 %) |
| Region (88.8605 %) | Num Of Prev Attempts (81.3002 %) | VLE Clicks: forumng (85.9386 %) |
| Module Presentation Length (86.1943 %) | Imd Band (80.0950 %) | Gender (80.3871 %) |
| Sparsity | Consistency | ||||||
|---|---|---|---|---|---|---|---|
| Model | Preference | Pooling | Gini Coeff. | HHI Score | Spearman’s | Jaccard (K=5) | Demographics (%) |
| Task-agnostic | 0.0 | Rep-The-Set | 0.4793 | 0.0614 | 0.9983 | 1.0000 | 12.0% |
| Task-agnostic | 1.0 | Rep-The-Set | 0.4796 | 0.0613 | 0.9972 | 1.0000 | 12.0% |
| Task-aware | 0.0 | Rep-The-Set | 0.4939 | 0.0559 | 0.9980 | 0.6667 | 15.2% |
| Task-aware | 1.0 | Rep-The-Set | 0.4932 | 0.0558 | 0.9985 | 0.6667 | 15.2% |
| Task-agnostic | 0.0 | Attention | 0.5275 | 0.0621 | 0.9982 | 1.0000 | 18.7% |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Framework | Pooling | Preference | F1 score (performance) ( SD) | Equalized Odds (bias) ( SD) |
| Baseline | Attention | 0.9245 ( 0.0018) | 0.1681 ( 0.0044) | |
| Baseline | Max | 0.9187 ( 0.0012) | 0.0998 ( 0.0288) | |
| Baseline | Mean | 0.9228 ( 0.0017) | 0.1055 ( 0.0160) | |
| Baseline | Rep-The-Set | 0.9280 ( 0.0010) | 0.1426 ( 0.0237) | |
| Task-agnostic Hypernetwork | Attention | 0.0 | 0.9261 ( 0.0011) | 0.1344 ( 0.0007) |
| Task-agnostic Hypernetwork | Attention | 0.1 | 0.9266 ( 0.0018) | 0.1408 ( 0.0053) |
| Framework | Pooling | Seed | Preference | F1 score (performance) ( SD) | Equalized Odds (bias) ( SD) |
| Baseline | Mean | 0 | 0.9230 ( 0.0005) | 0.1019 ( 0.0656) | |
| Task-agnostic Hypernetwork | Mean | 0 | 0.0 | 0.9323 ( 0.0015) | 0.1690 ( 0.0010) |
| Task-agnostic Hypernetwork | Mean | 0 | 0.1 | 0.9301 ( 0.0015) | 0.1711 ( 0.0011) |
| Task-agnostic Hypernetwork | Mean | 0 | 0.2 | 0.9301 ( 0.0011) | 0.1691 ( 0.0003) |
| Task-agnostic Hypernetwork | Mean | 0 | 0.3 | 0.9316 ( 0.0030) | 0.1721 ( 0.0020) |
| Task-agnostic Hypernetwork | Mean | 0 | 0.4 | 0.9319 ( 0.0015) | 0.1707 ( 0.0018) |
| Pooling | Tested Hypothesis | T value | p value |
|---|---|---|---|
| Mean | Task-agnostic Hypernetwork > Baseline | 1.6058 | 0.1143 |
| Mean | Task-aware Hypernetwork > Baseline | 2.5671 | 0.0234 (*) |
| Mean | Task-aware Hypernetwork > Task-agnostic Hypernetwork | 1.1183 | 0.2681 |
| Max | Task-agnostic Hypernetwork > Baseline | 1.3277 | 0.1900 |
| Max | Task-aware Hypernetwork > Baseline | 2.9425 | 0.0114 (*) |
| Max | Task-aware Hypernetwork > Task-agnostic Hypernetwork | 1.6701 | 0.1003 |
| Pooling | Tested Hypothesis | T value | p value |
|---|---|---|---|
| Mean | Baseline > Task-agnostic Hypernetwork | 0.2529 | 0.8013 |
| Mean | Task-aware Hypernetwork > Baseline | 3.3349 | 0.0054 (*) |
| Mean | Task-aware Hypernetwork > Task-agnostic Hypernetwork | 1.4354 | 0.1566 |
| Max | Task-agnostic Hypernetwork > Baseline | 0.6903 | 0.4930 |
| Max | Baseline > Task-aware Hypernetwork | 8.1000 | 0.0000 (*) |
| Max | Task-agnostic Hypernetwork > Task-aware Hypernetwork | 7.2982 | 0.0000 (*) |
| Pooling | Framework | Tested Hypothesis | T value | p value |
|---|---|---|---|---|
| Mean | Task-agnostic Hypernetwork | Preference 0 > Preference 1 | -0.9422 | 0.3737 |
| Mean | Task-aware Hypernetwork | Preference 0 > Preference 1 | -0.8843 | 0.4698 |
| Max | Task-agnostic Hypernetwork | Preference 0 > Preference 1 | 0.0100 | 0.9922 |
| Max | Task-aware Hypernetwork | Preference 0 > Preference 1 | -0.2726 | 0.8107 |
| Attention | Task-agnostic Hypernetwork | Preference 0 > Preference 1 | -0.0245 | 0.9811 |
| Attention | Task-aware Hypernetwork | Preference 0 > Preference 1 | -0.9305 | 0.4503 |
Algorithmic Fairness
Algorithmic fairness studies how automated decisions distribute errors, opportunities, and harms across groups, and how to measure and reduce disparities.
See all 420 papers