Active In-Context Learning for Tabular Foundation Models
Organizations: Dipartimento di Elettronica, Informazione e Bioingegneria, Politecnico di Milano, Milano, Italy
Abstract
Active learning (AL) reduces labeling cost by querying informative samples, but in tabular settings its cold-start gains are often limited because uncertainty estimates are unreliable when models are trained on very few labels. Tabular foundation models such as TabPFN provide calibrated probabilistic predictions via in-context learning (ICL), i.e., without task-specific weight updates, enabling an AL regime in which the labeled context - rather than parameters - is iteratively optimized. We formalize Tabular Active In-Context Learning (Tab-AICL) and instantiate it with four acquisition rules: uncertainty (TabPFN-Margin), diversity (TabPFN-Coreset), an uncertainty-diversity hybrid (TabPFN-Hybrid), and a scalable two-stage method (TabPFN-Proxy-Hybrid) that shortlists candidates using a lightweight linear proxy before TabPFN-based selection. Across 20 classification benchmarks, Tab-AICL improves cold-start sample efficiency over retrained gradient-boosting baselines (CatBoost-Margin and XGBoost-Margin), measured by normalized AULC up to 100 labeled samples.
Figures & tables
| Dataset | ID | Instances | Features | Classes | Domain |
| Iris | 61 | 150 | 4 | 3 | Botany |
| Glass | 41 | 214 | 9 | 6 | Forensic |
| Ionosphere | 59 | 351 | 34 | 2 | Physics |
| Balance-scale | 997 | 625 | 4 | 2 | Psychology |
| Vehicle | 994 | 846 | 18 | 2 | Image Rec. |
| Page-blocks | 1021 | 5,473 | 10 | 2 | Document |
| Dataset | Tab-AICL Strategies | Baselines | ||||||
| TabPFN-Coreset | TabPFN-Hybrid | TabPFN-Proxy-Hybrid | TabPFN-Margin | TabPFN-Random | CatBoost-Margin | XGBoost-Margin | LabelSpreading-Random | |
| Iris | 0.934 0.023 | 0.929 0.029 | 0.931 0.019 | 0.917 0.027 | 0.902 0.031 | 0.880 0.060 | 0.743 0.074 | 0.831 0.058 |
| Glass | 0.397 0.055 | 0.472 0.041 | 0.441 0.061 | 0.481 0.056 | 0.489 0.077 | 0.456 0.055 | 0.400 0.033 | 0.382 0.061 |
| Ionosphere | 0.617 0.132 | 0.810 0.042 | 0.800 0.032 | 0.788 0.038 | 0.751 0.052 | 0.641 0.051 | 0.640 0.049 | 0.440 0.154 |
| Balance-scale | 0.758 0.032 | 0.808 0.024 | 0.811 0.040 | 0.808 0.044 | 0.721 0.055 | 0.609 0.042 | 0.578 0.058 | 0.665 0.049 |
| Vehicle | 0.742 0.067 | 0.833 0.022 | 0.811 0.054 | 0.794 0.040 | 0.747 0.052 | 0.665 0.057 | 0.640 0.062 | 0.685 0.056 |
| Dataset | -Value (Raw) | -Value (Adj) | Result | |
| Iris | +0.050 | 0.037 | 0.080 | No significant difference |
| Glass | +0.016 | 0.375 | 0.526 | No significant difference |
| Ionosphere | +0.169 | 0.002 | 0.007 | Significantly higher |
| Balance-scale | +0.199 | 0.002 | 0.007 | Significantly higher |
| Vehicle | +0.168 | 0.002 | 0.007 | Significantly higher |
| Page-blocks | +0.095 | 0.002 | 0.007 | Significantly higher |
| Dataset | B=5 | B=10 | B=15 | B=20 |
| Iris | 0.920 0.036 | 0.931 0.019 | 0.910 0.016 | 0.907 0.022 |
| Glass | 0.446 0.059 | 0.441 0.061 | 0.467 0.040 | 0.442 0.027 |
| Ionosphere | 0.809 0.044 | 0.800 0.032 | 0.784 0.049 | 0.766 0.092 |
| Balance-scale | 0.836 0.038 | 0.811 0.040 | 0.791 0.037 | 0.772 0.044 |
| Vehicle | 0.837 0.040 | 0.811 0.054 | 0.817 0.040 | 0.776 0.054 |
| Page-blocks | 0.651 0.075 | 0.657 0.043 | 0.623 0.069 | 0.632 0.059 |
| Dataset | Tab-AICL Strategies | Baselines | ||||||
| TabPFN-Coreset | TabPFN-Hybrid | TabPFN-Proxy-Hybrid | TabPFN-Margin | TabPFN-Random | CatBoost-Margin | XGBoost-Margin | LabelSpreading-Random | |
| Iris | 0.950 0.043 | 0.933 0.049 | 0.950 0.037 | 0.943 0.047 | 0.947 0.034 | 0.927 0.047 | 0.880 0.092 | 0.877 0.060 |
| Glass | 0.564 0.053 | 0.580 0.060 | 0.585 0.061 | 0.637 0.055 | 0.592 0.094 | 0.588 0.091 | 0.496 0.024 | 0.441 0.066 |
| Ionosphere | 0.805 0.078 | 0.875 0.039 | 0.888 0.044 | 0.878 0.034 | 0.860 0.037 | 0.821 0.047 | 0.800 0.065 | 0.574 0.069 |
| Balance Scale | 0.871 0.033 | 0.918 0.029 | 0.940 0.024 | 0.949 0.018 | 0.885 0.034 | 0.742 0.050 | 0.756 0.065 | 0.762 0.035 |
| Vehicle | 0.916 0.070 | 0.966 0.022 | 0.980 0.014 | 0.989 0.009 | 0.921 0.065 | 0.929 0.018 | 0.897 0.024 | 0.810 0.053 |
| Dataset | Tab-AICL Strategies | Baselines | ||||||
| TabPFN-Coreset | TabPFN-Hybrid | TabPFN-Proxy-Hybrid | TabPFN-Margin | TabPFN-Random | CatBoost-Margin | XGBoost-Margin | LabelSpreading-Random | |
| Iris | 0.997 0.003 | 0.995 0.005 | 0.996 0.003 | 0.996 0.004 | 0.996 0.004 | 0.994 0.006 | 0.956 0.044 | 0.986 0.009 |
| Glass | 0.921 0.026 | 0.929 0.018 | 0.926 0.016 | 0.936 0.013 | 0.929 0.033 | 0.907 0.022 | 0.849 0.017 | 0.854 0.041 |
| Ionosphere | 0.973 0.009 | 0.984 0.007 | 0.985 0.006 | 0.987 0.006 | 0.981 0.008 | 0.964 0.016 | 0.947 0.018 | 0.899 0.044 |
| Balance Scale | 0.989 0.003 | 0.994 0.003 | 0.996 0.002 | 0.998 0.002 | 0.990 0.006 | 0.956 0.012 | 0.955 0.030 | 0.957 0.011 |
| Vehicle | 0.996 0.003 | 0.999 0.001 | 1.000 0.000 | 1.000 0.000 | 0.998 0.001 | 0.995 0.003 | 0.986 0.008 | 0.975 0.011 |
Active Learning
Active learning selects the examples, labels, features, or experiments most useful for improving a model under limited budgets.
See all 280 papers