atlas

Research map / Large language models / Instruction and fine-tuning

Retrieval & Fine-Tuning for In-Context Tabular Models

NeurIPS 2024 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems · 6 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LoCalPFN, which adds kNN retrieval and per-dataset end-to-end fine-tuning on top of TabPFN so each query is classified with a local context, achieving state-of-the-art AUC on 95 TabZilla/OpenML datasets.

Problem

In-context learning tabular models like TabPFN struggle to scale to large datasets (quadratic context memory, subsampling) and to underfit complex decision boundaries when using a single global context.

Approach

Replace the global random context of TabPFN with each query's k nearest neighbours from the training set (TabPFN-kNN), and fine-tune the model end-to-end with approximate local contexts that share neighbour sets across batches of queries, yielding LoCalPFN.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add retrieval and task-specific fine-tuning to TabPFNTabPFN · TabZilla 95 datasets (All)IQM AUC: 0.917 -> 0.958Helped
retrieve nearest neighbours as the contextTabPFN · TabZilla medium/large datasetsIQM AUC: 0.927 -> 0.955Helped
jointly fine-tune with retrieval rather than fine-tuning on random context and applying kNN afterward (ablation)TabPFN · TabZilla 95 datasets (All)IQM AUC: 0.938 -> 0.958Helped
add fine-tuning without retrieval (ablation)TabPFN · TabZilla 95 datasets (All)IQM AUC: 0.917 -> 0.934Helped
apply kNN retrieval after random-context fine-tuning (ablation)TabPFN Fine-Tune · TabZilla 95 datasets (All)IQM AUC: 0.934 -> 0.938Hurt
use one-hot instead of raw feature encoding for retrieval (ablation)LoCalPFN · TabZilla 95 datasets (All)IQM AUC: 0.956 -> 0.958Helped
use TabPFN encoder embeddings instead of one-hot encoding for retrieval (ablation)LoCalPFN · TabZilla 95 datasets (All)IQM AUC: 0.958 -> 0.955Hurt
use an ensemble of 32 models with randomized feature and class ordering (ablation)TabPFN · TabZilla 95 datasets (All)IQM AUC: 0.917 -> 0.936Helped
increase ensembled TabPFN context size to 3,000 (ablation)TabPFN-1k-32ens · TabZilla 95 datasets (All)IQM AUC: 0.936 -> 0.943Helped
average predictions over training-data context chunks (ablation)TabPFN-3k-32ens · TabZilla 95 datasets (All)IQM AUC: 0.943 -> 0.945Helped
use a maximum neighbour count of 50 instead of 20 (ablation)TabPFN-kNN · TabZilla medium/large datasetsIQM AUC: 0.937 -> 0.949Helped
increase LoCalPFN maximum neighbour count from 50 to 1000 (ablation)LoCalPFN · TabZilla medium/large datasetsIQM AUC: 0.960 -> 0.968Helped

Surprising findings

Limitations

Experimental setup

Datasets: TabZilla 95 OpenML datasets

Benchmarks: TabZilla 95 OpenML datasets 71-dataset subset for deep learning comparison

Metrics: AUC (IQM and mean) accuracy F1

Baselines: TabPFN TabPFN 3k XGBoost CatBoost LightGBM RandomForest kNN TabNet rtdl_FTTransformer TabPFN-ICD

Builds on: TabPFN RAG TabR prior-fitting

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy