Tabular data models improved by diversity based context retrieval

TabDivER: A Diversity-Enhanced Retrieval Framework for Tabular Foundation Models

Machine Learning

Summary

Tabular data from many sources is often very different, making it hard for AI models to learn from one table and use that knowledge on others. The authors identify that current methods either rely too much on very similar examples or use all examples regardless of relevance, leading to more noise or redundant information. They propose a new method called TabDivER that smartly selects a diverse yet relevant set of examples for the model to learn from. Tests show this approach improves performance on classification and regression tasks across multiple benchmarks.

What this means in practice

Authors

Haotian Gu, Hao Liu, Jiaying Ma, Jingjun Wang, Hanqing Zhang, Haolong Xiang, Wei Wang, Wenwen Gong

Abstract

Tabular data is one of the most ubiquitous sources of information worldwide, spanning a broad spectrum of domains. The inherent heterogeneity makes generalizing across tables a fundamental bottleneck that has significantly hindered the development of Tabular Foundation Models (TFMs). Recently, in-context learning (ICL) has emerged as a promising solution for TFMs, leveraging a small set of contextual samples to facilitate cross-table inference. Existing ICL-based TFMs generally follow two distinct implementation paradigms: retrieval-augmented models and non-retrieval models. However, both paradigms suffer from extremely severe inherent limitations: retrieval-augmented models become overly reliant on highly homogeneous contexts, while non-retrieval models process the full context indiscriminately. Consequently, the inference pipeline becomes entangled with either informational redundancy or semantic noise. The overall performance of ICL-based TFMs remains critically constrained by the quality of context. To address these challenges, we propose TabDivER, a plug-and-play diversity-enhanced retrieval framework. Specifically, it first constructs a geometry-preserving retrieval space and builds an efficient index for fast candidate retrieval. It then reranks the candidates with a tabular-specific diversity-adaptive component, balancing query similarity with contextual diversity, thereby mitigating distributional bias in the context. Extensive experiments on four established TFMs across three benchmarks (CC18 with 72 tasks, CTR23 with 30 tasks, and Reg_num with 16 tasks) demonstrate that TabDivER consistently improves TFMs' performance on both classification and regression tasks.