ALICE: In-context, Zero-shot, Mutual Information Estimation
Organizations: EURECOM, Sophia Antipolis, France
Abstract
Estimating mutual information (MI) from samples is a central objective in a variety of scientific fields. Modern neural estimators are accurate in the large-data regime, but they fall short when data is scarce, and each must be fit anew for every distribution under study. Current estimators are moreover tied to specific data types. These constraints limit their adoption in many applications where per-distribution training is impractical and sample sizes are small. We present ALICE, a foundation model that removes per-distribution training, while achieving competitive estimation accuracy. Trained exclusively on a broad family of synthetic distributions, ALICE acts as an in-context estimator of rectified-flow velocity fields: conditioned on samples of an unseen distribution, it estimates that distribution's velocity field without any explicit training. MI is then obtained through a fixed identity that integrates the squared difference between the joint and conditional fields. We validate ALICE on a standard, challenging benchmark and apply it in three domains, biology, genetics, and neuroscience, whose data the model has never seen. For the first time, we show that a single model closes the gap with neural estimators trained separately for each distribution, while natively supporting different data dimensionality and sample cardinality, enabling zero-shot MI analysis across scientific domains.
Figures & tables
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Config name | Alice Small | Alice Base |
|---|---|---|
| Model hidden dimension | ||
| Layers | ||
| Attention heads | ||
| Feed-forward dimension | ||
| Time frequencies | ||
| Dropout |
| Estimator | k | k | k |
|---|---|---|---|
| Foundation models | |||
| ALICE Base | |||
| ALICE Small | |||
| InfoAtlas | |||
| Neural estimators | |||
| MINDE– c | |||
| Model | All ( ) | dims ( ) | dims ( ) | |
|---|---|---|---|---|
| ALICE Base | ||||
| ALICE Small | ||||
| GT | 0.22 | 0.43 | 0.29 | 0.45 | 0.41 | 0.41 | 0.41 | 1.02 | 1.02 | 1.02 | 1.02 | 0.29 | 1.02 | 1.29 | 1.02 | 0.41 | 1.02 | 0.59 | 1.62 | 0.41 | 1.02 | 1.02 | 1.02 | 1.02 | 1.02 | 1.02 | 1.02 | 1.02 | 1.02 | 0.22 | 0.43 | 0.19 | 0.29 | 0.18 | 0.45 | 0.30 | 0.41 | 1.71 | 0.33 | 0.41 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Foundation models | ||||||||||||||||||||||||||||||||||||||||
| ALICE Base | 0.26 | 0.42 | 0.30 | 0.44 | 0.42 | 0.42 | 0.42 | 1.03 | 1.07 | 1.09 | 1.06 | 0.29 | 1.03 | 1.44 | 1.07 | 0.43 | 1.10 | 0.64 | 1.85 | 0.42 | 1.03 | 1.08 | 1.09 | 0.84 | 0.59 | 0.58 | 1.00 | 0.96 | 1.01 | 0.26 | 0.42 | 0.21 | 0.30 | 0.19 | 0.45 | 0.29 | 0.48 | 1.63 | 0.31 | 0.42 |
| ALICE Small | 0.23 | 0.46 | 0.29 | 0.37 | 0.49 | 0.49 | 0.48 | 1.27 | 1.10 | 1.06 | 1.15 | 0.34 | 1.26 | 1.62 | 1.10 | 0.48 | 1.05 | 0.71 | 2.06 | 0.48 | 1.26 | 1.11 | 1.06 | 0.89 | 0.69 | 0.55 | 1.09 | 1.03 | 1.01 | 0.23 | 0.45 | 0.20 | 0.30 | 0.17 | 0.38 | 0.23 | 0.55 | 1.85 | 0.35 | 0.48 |
| InfoAtlas | 0.18 | 0.33 | 0.22 | 0.34 | 0.40 | 0.39 | 0.40 | 0.02 | 0.98 | 0.97 | 0.96 | 0.28 | 0.02 | 0.46 | 0.98 | 0.39 | 0.96 | 0.56 | 0.46 | 0.39 | 0.02 | 0.98 | 0.96 | 0.02 | 0.49 | 0.61 | 0.02 | 0.87 | 0.88 | 0.04 | 0.07 | 0.15 | 0.22 | 0.14 | 0.34 | 0.23 | 0.10 | 1.10 | 0.17 | 0.40 |
| Neural estimators | ||||||||||||||||||||||||||||||||||||||||
| MINDE– c | 0.19 | 0.39 | 0.26 | 0.41 | 0.40 | 0.40 | 0.40 | 0.97 | 0.98 | 0.96 | 1.01 | 0.29 | 1.04 | 1.20 | 0.99 | 0.43 | 0.99 | 0.61 | 1.51 | 0.39 | 1.01 | 0.93 | 0.92 | 0.89 | 0.81 | 0.79 | 1.01 | 0.91 | 0.91 | 0.10 | 0.17 | 0.17 | 0.23 | 0.17 | 0.39 | 0.28 | 0.25 | 1.62 | 0.29 | 0.40 |
| 1 | 2 | 3 | 5 | 10 | 20 | 50 | 100 | |
|---|---|---|---|---|---|---|---|---|
| change | ||||||||
| non-change |
| sessions | flash type | – | – | – | – | – ms |
|---|---|---|---|---|---|---|
| familiar ( ) | change | [ , ] | [ , ] | [ , ] | [ , ] | [ , ] |
| familiar ( ) | non-change | [ , ] | [ , ] | [ , ] | [ , ] | [ , ] |
| novel ( ) | change | [ , ] | [ , ] | [ , ] | [ , ] | [ , ] |
| novel ( ) | non-change | [ , ] | [ , ] | [ , ] | [ , ] | [ , ] |
| contrast | group | – | – | – | – | – ms |
|---|---|---|---|---|---|---|
| change non-change, within session | familiar ( ) | ( , ) | ( , ) | ( , ) | ( , ) | ( , ) |
| change non-change, within session | novel ( ) | ( , ) | ( , ) | ( , ) | ( , ) | ( , ) |
| novel familiar, within mouse | change ( ) | ( , ) | ( , ) | ( , ) | ( , ) | ( , ) |
| novel familiar, within mouse | non-change ( ) | ( , ) | ( , ) | ( , ) | ( , ) | ( , ) |
| window (ms) | mouse | experience | flash type | seed | remainder |
|---|---|---|---|---|---|
| – | |||||
| – | |||||
| – | |||||
| – | |||||
| – |