Bayesian Meta-Learning with Expert Feedback for Task-Shift Adaptation through Causal Embeddings
Organizations: Department of Computer Science, Aalto University, Espoo, Finland · ELLIS Institute Finland, Espoo, Finland · Department of Computer Science, University of Manchester, United Kingdom
Abstract
Meta-learning methods perform well on new within-distribution tasks but often fail when adapting to out-of-distribution target tasks, where transfer from source tasks can induce negative transfer. We propose a causally-aware Bayesian meta-learning method, by conditioning task-specific priors on precomputed latent causal task embeddings, enabling transfer based on mechanistic similarity rather than spurious correlations. Our approach explicitly considers realistic deployment settings where access to target-task data is limited, and adaptation relies on noisy (expert-provided) pairwise judgments of causal similarity between source and target tasks. We provide a theoretical analysis showing that conditioning on causal embeddings controls prior mismatch and mitigates negative transfer under task shift. Empirically, we demonstrate reductions in negative transfer and improved out-of-distribution adaptation in both controlled simulations and a large-scale real-world clinical prediction setting for cross-disease transfer, where causal embeddings align with underlying clinical mechanisms.
Figures & tables
| Method | J44 | J45 | G45 | I21 |
|---|---|---|---|---|
| CHI2, exp. | 0.730 (.028) | 0.571 (.015) | 0.631 (.013) | 0.690 (.015) |
| ICP, exp. | 0.820 (.007) | 0.620 (.007) | 0.655 (.007) | 0.693 (.008) |
| MR, exp. | 0.805 (.009) | 0.618 (.009) | 0.656 (.007) | 0.677 (.009) |
| CHI2, oracle | 0.815 (.010) | 0.597 (.007) | 0.671 (.007) | 0.705 (.006) |
| ICP, oracle | 0.816 (.006) | 0.622 (.004) | 0.673 (.007) | 0.714 (.007) |
| MR, oracle | 0.766 (.011) | 0.602 (.006) | 0.651 (.009) | 0.711 (.008) |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Hyperparameter | Value |
|---|---|---|
| BNN | Inner learning rate | |
| Inner temperature | ||
| Global prior std. | ||
| Model init. log std. | ||
| MAML | Inner learning rate | |
| Outer learning rate |
| ICD-10 | Category | Disease description | Role | Cases | Prevalence (%) |
| I21 | C | Acute myocardial infarction | Target | 3,941 | 1.79 |
| G45 | C | Transient ischaemic attack (TIA) | Target | 2,399 | 1.09 |
| J44 | R | Chronic obstructive pulmonary disease | Target | 5,850 | 2.65 |
| J45 | R | Asthma | Target | 4,318 | 1.96 |
| E11 | C | Type 2 diabetes mellitus | Source | 9,571 | 4.34 |
| I10 | C | Essential (primary) hypertension | Source | 32,153 | 14.58 |
| Method | Hyperparameter | Search Range |
| BNN | Inner learning rate | log-uniform |
| Inner temperature | log-uniform | |
| Global prior std. | log-uniform | |
| Prior scaling | log-uniform | |
| Model init. log std. | ||
| MAML | Inner learning rate | log-uniform |
| AUPRC | MCC | |||||||
| Method | J44 | J45 | G45 | I21 | J44 | J45 | G45 | I21 |
| CHI2, exp | 0.074 (.013) | 0.029 (.002) | 0.017 (.001) | 0.039 (.004) | 0.122 (.020) | 0.030 (.007) | 0.040 (.005) | 0.075 (.008) |
| ICP, exp. | 0.119 (.009) | 0.036 (.001) | 0.019 (.001) | 0.041 (.002) | 0.176 (.005) | 0.055 (.004) | 0.047 (.004) | 0.076 (.004) |
| MR, exp. | 0.107 (.006) | 0.038 (.002) | 0.020 (.001) | 0.039 (.002) | 0.164 (.009) | 0.055 (.004) | 0.046 (.003) | 0.070 (.005) |
| CHI2, oracle | 0.126 (.009) | 0.032 (.001) | 0.020 (.001) | 0.043 (.003) | 0.174 (.013) | 0.044 (.005) | 0.053 (.003) | 0.082 (.004) |
| ICP, oracle | 0.120 (.007) | 0.036 (.002) | 0.021 (.001) | 0.045 (.003) | 0.172 (.007) | 0.054 (.003) | 0.052 (.004) | 0.085 (.005) |
| Method | Elapsed Time | Peak Memory |
|---|---|---|
| (hh:mm:ss) | (GiB) | |
| CHI2, exp | 00:13:09 | 7.5 |
| ICP, exp | 00:12:13 | 7.1 |
| MR, exp | 00:20:39 | 7.7 |
| CHI2, oracle | 00:08:11 | 7.1 |
| ICP, oracle | 00:08:21 | 7.0 |
| ICP | MR | CHI2 | ||||
|---|---|---|---|---|---|---|
| Target | Avg. source | Nearest source | Avg. source | Nearest source | Avg. source | Nearest source |
| J44 | 3.39 (1) | 2.29 (1) | 0.69 (4) | 0.59 (3) | 29.19 (4) | 38.63 (4) |
| J45 | 2.61 (2) | 2.10 (3) | 0.94 (2) | 0.72 (2) | 29.54 (1) | 39.39 (1) |
| G45 | 1.93 (3) | 2.15 (2) | 0.79 (3) | 0.50 (4) | 29.46 (2) | 39.24 (2) |
| I21 | 1.42 (4) | 1.38 (4) | 1.02 (1) | 1.23 (1) | 29.34 (3) | 39.12 (3) |
Meta-Learning
Meta-learning trains models across tasks so they can adapt quickly to new problems with few examples, limited feedback, or no parameter updates.
See all 164 papers