ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
321–340 of 646
- ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
On approximation and estimation of Schrödinger potentials without the curse of dimensionality
Artsiom Patarusau, Nikita Puchkin, Konstantin Yakovlev
Abstract
We examine generative modelling approaches based on the construction of Schrödinger bridges between Gaussian noise and a target distribution. It is known that the solution of the dynamic Schrödinger problem is a diffusion process with a drift associated with Doob's h-transform of a Schrödinger potential. Although its accurate restoration from finite samples is crucial for reliable, high-quality data generation, the existing literature lacks theoretical guarantees regarding this question. In our work, we establish theoretical upper bounds on the complexity of Schrödinger potential approximation and estimation via neural networks. These bounds are determined by the effective dimension of the target distribution. To our knowledge, this is the first result demonstrating that generative modelling methods based on Schrödinger bridges and stochastic optimal control can escape the curse of dimensionality.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
One Coupling to Rule Them All: Optimal Transport as the Unifying Geometry of Diffusion Models, Flow Matching, and Reasoning in Deep Generative Models
Mohammad Sajjad Ghaemi
Abstract
This paper presents a unified theoretical framework based on Wasserstein geometry and Optimal Transport (OT) that explains when generative models memorize, generalize, or reason, alongside theoretical metrics and implications for Flow Matching (FM), diffusion models, and autoregressive (AR) variants that are widely used across benchmarks. We establish three formal identifications: (1) memorization corresponds to a transport coupling concentrated on training-data pairs, with a coupling gap lower-bounded by the empirical Wasserstein convergence rate $\Omega(n^{-2/d})$; (2) generalization corresponds to learning a coupling that approximates the Wasserstein-geodesic (Brenier) map, which is independent of any specific training example by definition; and (3) compositional reasoning in AR models is equivalent to correctly propagating a multi-marginal OT plan through the sequential factorization, with the compositional gap. The exposure bias inherent in AR generation is characterized by the Wasserstein covariate shift occurring between the teacher-forced and free-running conditional marginal distributions. Subsequently, five geometrical evaluation metrics are derived from these identifications to demonstrate that holistic FM guidance of AR models creates a mathematical correction to the compositional gap, rather than a mere heuristic trick. Moreover, this framework has extensive applications across diverse domains, including scientific discovery, proteomic sequence design, and structured prediction.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Personalized Privacy Control in LLMs via Attention Head Intervention
Junseok Kim, Nakyeong Yang, Kyomin Jung
Abstract
The rise of agentic AI enables LLMs to access diverse user data, raising critical privacy concerns. Prior work on contextual privacy studies whether LLMs regulate information disclosure according to context-dependent norms. However, acceptable disclosure boundaries may vary across users even within the same context. To address this limitation, we introduce personalized privacy, which incorporates user-specific disclosure preferences into privacy control. We further present P3Bench (Personalized Privacy Preservation Benchmark), a benchmark extending contextual privacy policies with personalized disclosure constraints. Experiments show that prompt-based policies fail to reliably enforce personalized privacy constraints, with Qwen2.5-7B and Gemma3-4B showing average policy ignorance ratios of 51.25% and 74.28%, respectively. To address this problem, we propose REPAIR, a novel inference-time attention head intervention method that adjusts disclosure behavior toward policy-consistent responses. Our method significantly reduces both over-refusal and over-sharing, improving adherence to user-specific privacy preferences.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Beyond Power Spectra: Cross-Frequency Interactions in Generative Dynamics
Amir Mehrpanah, Mohammed Al-Jaff, Matteo Gamba, Hossein Azizpour
Abstract
Spectral analysis of deep generative models typically relies on marginal statistics, such as the power spectral density, implicitly assuming that per-frequency behavior suffices to characterize generative dynamics. We revisit this assumption and ask whether marginal spectral quantities are sufficient to describe the transformations learned by modern generative models. We introduce an interventional measure of spectral sensitivity that probes directional influence between frequencies and decomposes model behavior into diagonal (marginal) and off-diagonal (interaction) components. In a controlled Gaussian setting with known spectral structure, we verify that the proposed measure recovers the expected decoupling of frequencies. Applying this framework to flow matching models trained on frequency-masked CIFAR-10 and to denoising diffusion models (DDPM) trained on CelebA, we find that diagonal responses vary little across models despite substantial differences in the training data. In both cases, off-diagonal sensitivities clearly reflect the underlying perturbations, suggesting that marginal spectral statistics may be insufficient to fully characterize learned generative dynamics, and that cross-frequency interactions play a key role in their description.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Data-Forcing Distillation: Restoring Diversity and Fidelity in Few-Step Video Generation
Siyi Chen, Shaowei Liu, Yixuan Jia, Zian Wang, Huan Ling, Qing Qu, Jun Gao
Abstract
Recent progress has shown promise in distilling multi-step video diffusion models into efficient few-step students. Among them, Distribution Matching Distillation (DMD) and its successor DMD2 achieved strong generation quality and fast convergence. However, due to the nature of the reverse Kullback-Leibler (KL) objective, these methods exhibit two persistent failure modes: a substantial drop in sample diversity, and visibly over-saturated outputs that deviate from real-video appearance. In this work, we propose Data-Forcing Distillation (DFD), a simple post-training framework that restores diversity and fidelity in DMD with only a single-line of code change. At its core is the teacher score discrepancy to guide the student toward the real-data distribution, pulling it to missing modes (mitigating mode collapse) and away from problematic modes absent in real data (avoiding over-saturation). We provide an in-depth theoretical analysis of our framework and validate our approach on both text-to-video and image-to-video generation. With only 100-300 steps of finetuning, DFD effectively restores diversity and fidelity on both Wan2.1-1.3B and Cosmos-Predict2.5-2B model, resolving the over-saturation artifacts with significantly better video dynamics and appearance, and even outperforms the teacher model. We refer the readers to the supplementary material for full video comparisons.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Learning to Trade Like an Expert: Cognitive Fine-Tuning for Stable Financial Reasoning in Language Models
Yuchen Pan, Soung Chang Liew
Abstract
Recent deployments of large language models (LLMs) as autonomous trading agents raise questions about whether financial decision-making competence generalizes beyond specific market patterns and how it should be trained and evaluated in noisy markets lacking ground truth. We propose a structured framework for training and evaluating such models. Central to our approach is a curated, multiple-choice question (MCQ) dataset derived from classic textbooks and historical markets, verified by an AI committee, enriched with structured reasoning traces, and augmented to reduce shortcut learning. To evaluate whether performance on isolated MCQs generalizes to real-world trading, we introduce a two-stage protocol combining test-set evaluation with an MCQ-based chronological trading simulation. Extensive evaluations across market regimes provide statistically robust evidence that open models trained with our framework exhibit competitive, risk-aware behavior over time, outperform open-source baselines, and approach frontier-model performance at smaller scale. We release the dataset and evaluation framework to support further research.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Sparse Autoencoders Find Causal, Lineage-Specific Context Features in Chromatin Foundation Models
Nicole Ching, Ayushi Mehrotra
Abstract
Sparse autoencoders (SAEs) have produced important insights in language model interpretability, but their utility on transformers trained on scientific data remains underexplored. We extend the SAE-plus-causal-intervention toolkit to an epigenomics foundation model, EpiBERT, and ask whether it internally encodes a biologically meaningful contrast: in vitro (cell line) vs. in vivo (primary tissue) chromatin context. We train layer-wise Sparse Autoencoders (SAEs) with BatchTopK activations across six matched ATAC-seq conditions spanning blood, liver, and lymph lineages, introduce the Context Divergence Score (CDS)—a contrastive t-statistic applicable to any probed transformer—to identify context-specific features, and validate them through causal ablation, linear context-steering, and three-level biological annotation (ChromHMM, HOMER, GO:BP). We find a depth-stratified context representation: context-specific features grow 3.8-fold from early to late layer (57 → 215 Bonferroni-significant), mirroring the late-layer concentration of high-level features in language model SAEs. Causal ablation of CDS-selected features yields a large effect, context-steering closes 11.2% of the prediction gap at 4.5× above random, and biological annotation grounds the discovered features in lineage-defining transcription factors. These results demonstrate that the SAE methodology transfers cleanly from language to genomics, and that CDS provides a general primitive for identifying contrastive concepts in any probed transformer. Code is available at https://anonymous.4open.science/r/invivovsinvitrochromatincontexts/.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Emergent Symbolic Structure in Health Foundation Models: Extraction, Alignment, and Cross-Modal Transfer
Gajendra Katuwal, Advait Koparkar, Salar Abbaspourazad, Anshuman Mishra, sarvesh kirthivasan
Abstract
Health foundation models (FMs) learn useful rep- resentations from wearable sensors, but interpret- ing what they encode and transferring that knowl- edge across modalities after training remains dif- ficult. We present a post-training framework that decomposes frozen embeddings into interpretable directions, referred to as symbols, and use these symbols to align the embedding spaces without re- training. We evaluate the framework on three FMs for photoplethysmography (PPG) and accelerom- eter data, independently pretrained on ∼20M min- utes of unlabeled data from ∼172K participants, and analyzed on a held-out cohort of 30K sub- jects. We find that extracted symbols associate selectively with health conditions and physiologi- cal attributes, and these associations are partially shared across modalities and architectures. Cross- modal transfer via symbols retains more than 95% of in-domain performance, is nearly symmetric across domain directions, and saturates with lim- ited paired data, together indicating that align- ment recovers a shared low-dimensional subspace rich in physiological information. Overall, these results suggest that health FM embeddings con- tain an interpretable symbolic organization that is shared across modalities and supports cross- domain transfer without joint training.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Histoscope: Expert-Grounded Inspection of Sparse Autoencoder Features in Histopathology Foundation Models
Mirza Nasir Hossain, Sarah L Bell, Gareth Bryson, David Harris-Birtill
Abstract
Computational pathology lacks open tools for inspecting sparse autoencoder (SAE) features, and few studies test whether such features align with expert judgement. We present Histoscope, an open-source tool for inspecting SAE features derived from histopathology foundation-model embeddings, and evaluate it through a blinded two-rater pathologist study. Using UNI embeddings from the SPIDER colorectal dataset, we train a TopK SAE and use Histoscope to rank features by diagnostic-class selectivity, measured with per-class AUPRC. Pathologists judged 82\% of feature panels monosemantic overall; among the 50 features Histoscope labelled monosemantic, all 50 were confirmed, while 32 of 38 features it labelled polysemantic were also judged monosemantic, mostly because they captured morphology spanning multiple diagnostic classes. Inspection tools of this kind can help make pathology foundation models more auditable by domain experts by connecting internal features to morphological evidence rather than treating embeddings as opaque vectors. We will release Histoscope, the trained SAE, and the evaluation protocol to support expert-grounded SAE inspection in computational pathology.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
The Platonic Universe: Do Foundation Models See the Same Sky?
Trinidad Borrell, Steven Dillmann, Kshitij Duraphe, Furkan Eris, Ashod Khederlarian, Aman Kumar, Giovanni F Marraffini, Michael J Smith, Shashwat Sourav, Rocco Di Tella, John F. Wu
Abstract
We test the Platonic Representation Hypothesis (PRH) and its Aristotelian refinement (ARH) by using diverse astronomical data to measure representational convergence across foundation models. We propose that astronomy is a natural testbed for this: the historical success of astrophysics is itself evidence that a compact, modality-invariant description of galaxy observables exists, and so representation convergence toward reality should be measurable against the physical parameters astronomers already use. Given this framework, we evaluate eleven foundation model families (spanning supervised classification, self-distillation, joint-embedding prediction, masked autoencoding, vision-language pre-training, and astronomy-specific architectures from $\mathcal{O}$(10M)${\to}\mathcal{O}$(10B) parameters) on crossmatched JWST, HSC, and Legacy Survey imagery, and DESI spectroscopy. All models are evaluated frozen, with no astronomy-specific fine-tuning. We probe redshift, stellar mass, and specific star formation rate via linear probes, and local (MKNN) and global (CKA) embedding geometry within families, between modalities, and across architectures. We find that physics performance scales predictably with capacity; probe directions align consistently with expected astrophysical correlations and selection effects; and local (but not global) embedding alignment tracks physics performance, including between DESI spectra and HSC imagery---modalities that share essentially no low-level statistics. Our results support the ARH over the strict PRH, and suggest that astro-foundation models can build on general-purpose pre-trained architectures, capitalizing on the broader open machine learning community's already-spent computational investment.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Is One Layer Enough? Understanding Inference Dynamics in Tabular Foundation Models
Amir Rezaei Balef, Mykhailo Koshil, Katharina Eggensperger
Abstract
Transformer-based tabular foundation models (TFMs) dominate small to medium tabular predictive benchmark tasks, yet their inference mechanisms remain largely unexplored. We present the first large-scale mechanistic study of layerwise dynamics in 6 state-of-the-art tabular in-context learning models. We explore how predictions emerge across depth, identify distinct stages of inference, and reveal latent-space dynamics that differ from those of language models. Our findings indicate substantial depthwise redundancy across multiple models, suggesting iterative refinement with overlapping computations during inference stages. Guided by these insights, we design a proof-of-concept, looped single-layer model that uses only 20% of the original model’s parameters while achieving comparable performance.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
What, Where, and How: Probing Spatiotemporal Representations in Video Foundation Models
Sharon Musa, Fereshteh Forghani, Harrish Thasarathan, Sonia Joseph, Matthew Kowal, Konstantinos Derpanis
Abstract
Self-supervised video foundation models learn rich spatiotemporal representations, yet it remains unclear *what* visual concepts these representations encode, *where* they emerge across transformer layers, and *how* they are geometrically organized. In this work, we tackle these three questions through a systematic layer-wise analysis of V-JEPA 2 and VideoMAE-v2. We leverage lightweight probes trained to discover three temporally grounded properties: (i) camera motion understanding, (ii) intuitive physics, and (iii) anomaly detection. Both models encode camera motion, with best results ($>90$ ROC AUC) emerging at 60--70\% of network depth, and achieve moderate anomaly detection performance ($>60$ ROC AUC), but remain near chance on intuitive-physics tasks, suggesting a limited encoding of deeper physical reasoning. Beyond classification, we find that individual videos' temporal features form smooth low-dimensional trajectories in representation space, suggesting that camera motion is not only linearly decodable but also geometrically organized. Based on these results, we apply geometry-aware spline-based steering in the model's latent representations to interpolate camera motion, yielding steered videos with smoother trajectories and more coherent temporal progression than linear interpolation.
Abstract source - ICML · Workshop · AI for Science: AI Scientists -- Tools, Co-authors, or Founders?
The Few-Shot Unreliability of Molecular Foundation Models: A Geometric Diagnosis and Partial Remedy
Kevin Tirta Wijaya, Vahid Babaei
Abstract
Molecular foundation models (MFMs) are widely proposed as a solution to label scarcity in molecular property prediction, on the premise that pretraining on millions of unlabeled molecules produces representations that transfer to new endpoints with minimal supervision. We present an empirical study testing this premise on three MFM models across nine OpenADMET regression endpoints, with training size varying from $N=10$ to $N=1000$. We find that frozen MFM embeddings are uniformly worse than Morgan fingerprints at every training size, with the gap widening as the training size grows. A lightweight partial least squares (PLS) projection recovers most of this gap at small training size, revealing that ADMET-relevant directions exist in MFM embeddings but is hidden in directions that a regressor cannot discover from only a handful of labeled examples. Yet even with PLS, the deeper problem remains: at extreme label scarcity, no representation produces R$^2$ score above a naive train-mean predictor on any OpenADMET endpoint. Specifically, foundation model embeddings do not provide meaningful predictive signal above a naive train-mean baseline until $N \geq 100$, highlighting their unreliability in the label-scarce regimes where they are most needed.
Abstract source - ICML · Workshop · Foundation Models for Structured Data
SurvivalPFN: Amortizing Survival Prediction via In-Context Bayesian Inference
Shi-ang Qi, Vahid Balazadeh, Michael Cooper, Russell Greiner, Rahul G. Krishnan
Abstract
Survival analysis provides a powerful statistical framework for modeling time-to-event outcomes in the presence of censoring. However, selecting an appropriate estimator from the many specialized survival approaches often requires substantial methodological and domain expertise. We introduce SurvivalPFN, a prior-data fitted network that amortizes Bayesian inference for censored observations through in-context learning. SurvivalPFN is pretrained on a diverse family of synthetic, identifiable, and right-censored data-generating processes, enabling it to amortize survival analysis in a single forward pass during inference. As a result, the model adapts to the effective complexity of each dataset without task-specific training or hyperparameter tuning, avoids restrictive parametric assumptions, and produces calibrated survival distributions. In a large-scale benchmark spanning 61 survival datasets, 21 methods, and 5 evaluation metrics, SurvivalPFN achieves strong predictive performance and often improves upon established survival models. These results suggest that SurvivalPFN offers a principled and practical foundation model for survival analysis, with potential applications in high-impact domains such as healthcare, finance, and engineering.
Abstract source - ICML · Workshop · Foundation Models for Structured Data
HEPA: A Self-Supervised Horizon-Conditioned Event Predictive Architecture for Time Series
Jonas Petersen, Gian-Alessandro Lombardi, Riccardo Maggioni, Camilla Mazzoleni, Federico Martelli, Philipp C Petersen
Abstract
Critical events in multivariate time series, from turbine failures to cardiac arrhythmias, demand accurate prediction, yet labeled data is scarce because such events are rare and costly to annotate. We introduce HEPA (Horizon-conditioned Event Predictive Architecture), built on two key principles. First, a causal Transformer encoder is pretrained via a Joint-Embedding Predictive Architecture (JEPA): a horizon-conditioned predictor learns to forecast future representations rather than future values, forcing the encoder to capture predictable temporal dynamics from unlabeled data alone. Second, we freeze the encoder and finetune only the predictor toward the target event, producing a monotonic survival cumulative distribution function (CDF) over horizons. With fixed architecture and optimiser hyperparameters across all benchmarks, HEPA handles water contamination, cyberattack detection, volatility regimes, and eight further event types across 11 domains, exceeding leading time-series architectures including PatchTST, iTransformer, MAE, and Chronos-2 on at least 10 of 14 benchmarks, with an order of magnitude fewer tuned parameters and, on lifecycle datasets, an order of magnitude less labeled data.
Abstract source - ICML · Workshop · Foundation Models for Structured Data
Foundations without Fundamentals: Zero-Shot Blind Spots in Time Series FMs
Nafiseh Ghoroghchian, Roc Zhang, Shuyi Han, Alex Labach, George Stein
Abstract
Despite the success of Time Series Foundation Models (TSFMs) on broad benchmarks, their ability to internalize basic temporal logic, especially in settings supported by exogenous covariates, remains under-examined. We introduce SimpleTimeBench, a diagnostic univariate and multivariate ``unit test" suite for primitives such as monotonic trends, periodic signals and leading indicator covariates, scenarios where near-perfect forecasts should be trivial. Surprisingly, prominent multivariate TSFMs (Chronos-2, Moirai and Toto) frequently produce suboptimal zero-shot forecasts for these inputs. While fine-tuning Chronos-2 improves its behaviour on specific tasks, we show that this adaptation degrades performance on other fundamental patterns rather than enhancing its generalizable foundational capabilities. This reveals a gap between pre-training scale and basic temporal reasoning, suggesting that current TSFMs lack the inductive biases needed to capture simple predictable functions. We further demonstrate that these failures are not merely synthetic curiosities: they persist in real-world sensor forecasting, where TSFMs consistently underutilize leading indicators available in observed covariates. This inability to capture simple relationships limits the practical utility and reliability of current multivariate models.
Abstract source - ICML · Workshop · Foundation Models for Structured Data
Dataset Inference for Data Provenance and Privacy Auditing in Tabular Foundation Models
Dariush Wahdany, Jesse Cresswell, Naiqing Guan, Atiyeh Ashari, Franziska Boenisch, Adam Dziedzic
Abstract
Tabular foundation models (TFMs) are increasingly deployed through black-box APIs and trained on real-world tabular datasets. While private, proprietary, or otherwise unauthorized datasets may be incorporated into pre-training corpora, there are currently no dedicated methods for determining whether a given tabular dataset was used to train a TFM. As a solution, we introduce the first dataset inference method for TFMs, aiming to infer whether a suspect dataset was part of a model’s pre-training data. We systematically analyze a broad collection of candidate signals that can be observed from a black-box TFM via input manipulation and find that we can reliably infer dataset membership for several state-of-the-art TFMs trained on real tabular data, achieving up to 0.997 ROCAUC. We then study factors that influence dataset identification, including pre-training data composition, model capacity, and the use of real vs. synthetic data. Our results show that our dataset inference method is a practical auditing tool for detecting privacy leakage and the use of proprietary datasets in TFMs.
Abstract source - ICML · Workshop · Foundation Models for Structured Data
Latent Instructions as Context Surrogates: Enhancing Frozen Time Series Forecasters with Instance-Adaptive Prompts
Zehao Xiao, Shifeng Xie, Lei ZAN, Malik TIOMOKO, Jianfeng Zhang, Lujia Pan, zhang keli, Ievgen Redko
Abstract
Time series foundation models (TSFMs) benefit from longer context windows, but with steeply diminishing returns. We propose instance-adaptive latent instructions, a set of learnable prompt tokens prepended to the input of a frozen TSFM that serve as compact context surrogates to encode distributional properties. A lightweight prompt generation module, consisting of an MLP and a learnable latent token basis, maps the statistics of input series to the data-specific prompts for each instance. Introducing only ${\sim}$0.4\% additional parameters and no modification to the pretrained model, our method with a short context consistently matches or outperforms the zero-shot baseline with doubled context length, while significantly reducing computational cost. Experiments on 62 long-context test sets from the GIFT-Eval benchmark with different backbones validate the effectiveness and efficiency of our approach.
Abstract source - ICML · Workshop · Foundation Models for Structured Data
Images as Tables: In-Context Learning with TabPFN for Low-Data Detection of AI-Generated Images
Jan P Walter, Shashank Agnihotri, Margret Keuper
Abstract
AI-generated image detection is a moving-target problem: detectors trained on one generator often fail when a new generator appears, and only a few labeled examples are available. We study a simple image-to-table formulation for this regime, where each image is encoded by a frozen DINOv3 backbone, its CLS feature is reduced to a 500-dimensional structured row with PCA, and TabPFN performs real/fake classification by in-context tabular inference rather than task-specific classifier training. This turns fake-image detection into low-data structured prediction over learned visual features, making detector adaptation depend on the labeled context set instead of gradient-based fine-tuning. On GenImage, LATTE, a recent state-of-the-art detector, remains stronger when many labeled samples from all generators are available, by 7.4% in the largest pooled setting, but DINOv3-PCA-TabPFN is stronger in the practically important low-data regime, outperforming LATTE by up to 8.2%, and in transfer settings where the detector must generalize from one generator to another. These results position tabular foundation models as a strong complementary adaptation mechanism for image forensics, shifting adaptation from detector retraining to lightweight in-context updates with a small labeled set of examples. Code here: https://github.com/jpwalter30/Towards-Generalizable-Detection-of-AI-Generated-Images.
Abstract source - ICML · Workshop · Foundation Models for Structured Data
Training Fair Tabular Foundation Models
Patrik Kenfack, Jesse Cresswell, Anthony Caterini, Samira Ebrahimi Kahou, Ulrich Aïvodji
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 120 fairness tasks show consistent improvements in fairness while maintaining competitive accuracy.
Abstract source