Scalable In-Context Learning on Tabular Data via Retrieval-Augmented Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wen, Xumeng, Zheng, Shun, Xu, Zhen, Sun, Yiming, Bian, Jiang
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912221257269248
author Wen, Xumeng
Zheng, Shun
Xu, Zhen
Sun, Yiming
Bian, Jiang
author_facet Wen, Xumeng
Zheng, Shun
Xu, Zhen
Sun, Yiming
Bian, Jiang
contents Recent studies have shown that large language models (LLMs), when customized with post-training on tabular data, can acquire general tabular in-context learning (TabICL) capabilities. These models are able to transfer effectively across diverse data schemas and different task domains. However, existing LLM-based TabICL approaches are constrained to few-shot scenarios due to the sequence length limitations of LLMs, as tabular instances represented in plain text consume substantial tokens. To address this limitation and enable scalable TabICL for any data size, we propose retrieval-augmented LLMs tailored to tabular data. Our approach incorporates a customized retrieval module, combined with retrieval-guided instruction-tuning for LLMs. This enables LLMs to effectively leverage larger datasets, achieving significantly improved performance across 69 widely recognized datasets and demonstrating promising scaling behavior. Extensive comparisons with state-of-the-art tabular models reveal that, while LLM-based TabICL still lags behind well-tuned numeric models in overall performance, it uncovers powerful algorithms under limited contexts, enhances ensemble diversity, and excels on specific datasets. These unique properties underscore the potential of language as a universal and accessible interface for scalable tabular data learning.
format Preprint
id arxiv_https___arxiv_org_abs_2502_03147
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Scalable In-Context Learning on Tabular Data via Retrieval-Augmented Large Language Models
Wen, Xumeng
Zheng, Shun
Xu, Zhen
Sun, Yiming
Bian, Jiang
Computation and Language
Artificial Intelligence
Recent studies have shown that large language models (LLMs), when customized with post-training on tabular data, can acquire general tabular in-context learning (TabICL) capabilities. These models are able to transfer effectively across diverse data schemas and different task domains. However, existing LLM-based TabICL approaches are constrained to few-shot scenarios due to the sequence length limitations of LLMs, as tabular instances represented in plain text consume substantial tokens. To address this limitation and enable scalable TabICL for any data size, we propose retrieval-augmented LLMs tailored to tabular data. Our approach incorporates a customized retrieval module, combined with retrieval-guided instruction-tuning for LLMs. This enables LLMs to effectively leverage larger datasets, achieving significantly improved performance across 69 widely recognized datasets and demonstrating promising scaling behavior. Extensive comparisons with state-of-the-art tabular models reveal that, while LLM-based TabICL still lags behind well-tuned numeric models in overall performance, it uncovers powerful algorithms under limited contexts, enhances ensemble diversity, and excels on specific datasets. These unique properties underscore the potential of language as a universal and accessible interface for scalable tabular data learning.
title Scalable In-Context Learning on Tabular Data via Retrieval-Augmented Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2502.03147