Training Fair Tabular Foundation Models
Organizations: ÉTS Montréal Mila - Quebec AI Institute · Layer 6 AI Toronto, Canada · University of Calgary Mila - Quebec AI Institute, CIFAR
Abstract
Tabular Foundation Models (TFMs) have emerged as leading methods for tabular predictive tasks, leveraging in-context learning to predict on new data without task-specific training. Despite the increased use of TFMs in high-stakes decision-making, their fairness properties remain largely unexplored. In this work, we incorporate fairness constraints directly into TFM training, enabling fair predictions in a single forward pass. Our approach addresses two key challenges: limited access to sensitive attributes in training data, and the incompatibility of existing fairness techniques with the in-context learning paradigm. We propose FairTFM, a scalable training strategy based on synthetic fairness tasks and a fairness-aware architecture using a gradient reversal layer, which encourages the model to learn representations invariant to sensitive attributes. Experiments on 132 fairness tasks show consistent improvements in fairness while maintaining competitive accuracy.
Figures & tables
| Probe target (AUC) | Raw input | nanoTabPFN | FairTFM -0.7 | FairTFM -25 |
| Sensitive attribute | 0.783 0.11 | 0.746 0.10 | 0.646 0.14 | 0.542 0.11 |
| Label | 0.834 0.02 | 0.823 0.03 | 0.805 0.04 | 0.787 0.03 |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Accuracy | AUCROC | DP Diff | EOD Diff | EOP Diff |
| TabICLv2 | |||||
| TabPFNv2.5 | |||||
| XGB | |||||
| KNN | |||||
| RF | |||||
| LR |
| Model | Accuracy | AUCROC | DP Diff | EOD Diff | EOP Diff |
| TabICLv2 | |||||
| TabPFNv2.5 | |||||
| KNN | |||||
| XGB | |||||
| LR | |||||
| RF |
| Model | Accuracy | AUCROC | DP Diff | EOD Diff | EOP Diff |
| XGB (unconstrained) | |||||
| XGB-EG-DP (best ) | |||||
| XGB-EG-EOD (best ) | |||||
| XGB-EG-EOP (best ) | |||||
| FairTFM -0.7 | |||||
| FairTFM -10 |
| Model | Accuracy | AUCROC | DP Diff | EOD Diff | EOP Diff | |
| XGB-EG-DP | 0.01 | 0.778 0.10 | 0.695 0.07 | 0.068 0.06 | 0.073 0.03 | 0.061 0.03 |
| 0.02 | 0.778 0.10 | 0.695 0.07 | 0.064 0.05 | 0.065 0.03 | 0.054 0.03 | |
| 0.03 | 0.778 0.10 | 0.694 0.07 | 0.064 0.05 | 0.069 0.03 | 0.058 0.03 | |
| 0.05 | 0.778 0.10 | 0.692 0.06 | 0.067 0.05 | 0.070 0.03 | 0.059 0.03 | |
| 0.07 | 0.777 0.10 | 0.694 0.06 | 0.062 0.05 | 0.072 0.03 | 0.062 0.03 | |
| 0.10 | 0.777 0.10 | 0.692 0.06 | 0.068 0.05 | 0.071 0.02 | 0.059 0.03 |
Tabular Foundation Models
Tabular foundation models learn reusable representations or in-context prediction skills for structured data such as spreadsheets and databases.
See all 188 papers