paper-with-me

홈 › Papers

Automatic Demonstration Selection for LLM-based Tabular Data Classification

2025-06-25 · Shuchu Han, Wolfgang Bruckner

A fundamental question in applying In-Context Learning (ICL) for tabular data classification is how to determine the ideal number of demonstrations in the prompt. This work addresses this challenge by presenting an algorithm to automatically select a reasonable number of required demonstrations. Our method distinguishes itself by integrating not only the tabular data's distribution but also the user's selected prompt template and the specific Large Language Model (LLM) into its estimation. Rooted in Spectral Graph Theory, our proposed algorithm defines a novel metric to quantify the similarities between different demonstrations. We then construct a similarity graph and analyze the eigenvalues of its Laplacian to derive the minimum number of demonstrations capable of representing the data within the LLM's intrinsic representation space. We validate the efficacy of our approach through experiments comparing its performance against conventional random selection algorithms on diverse datasets and LLMs.

📄 PDF Abstract BibTeX arXiv:2506.20451

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context LearningLanguage ModelingLanguage ModellingLarge Language Model

Similar Papers 제목 키워드 기반

Harnessing LLMs Explanations to Boost Surrogate Models in Tabular Data Classification

2025-05-09 · Ruxue Shi, Hengrui Gu, Xu Shen, Xin Wang

Large Language Models (LLMs) have shown remarkable ability in solving complex tasks, making them a promising tool for enhancing tabular learning. However, existing LLM-based methods suffer from high resource requirements…

Explanation GenerationIn-Context Learning

Towards Fair In-Context Learning with Tabular Foundation Models

2025-05-14 · Patrik Kenfack, Samira Ebrahimi Kahou, Ulrich Aïvodji

Tabular foundational models have exhibited strong in-context learning (ICL) capabilities on structured data, allowing them to make accurate predictions on test sets without parameter updates, using training examples as c…

FairnessIn-Context Learning

Fair In-Context Learning via Latent Concept Variables

2024-11-04 · Karuna Bhaila, Minh-Hao Van, Kennedy Edemacu, Chen Zhao 외

The emerging in-context learning (ICL) ability of large language models (LLMs) has prompted their use for predictive tasks in various domains with different types of data facilitated by serialization methods. However, wi…

Data AugmentationFairnessIn-Context Learning

Pre-Hoc Predictions in AutoML: Leveraging LLMs to Enhance Model Selection and Benchmarking for Tabular datasets

2025-10-02 · Yannis Belkhiter, Seshu Tirupathi, Giulio Zizzo, Sachin Sharma 외 arxiv

The field of AutoML has made remarkable progress in post-hoc model selection, with libraries capable of automatically identifying the most performing models for a given dataset. Nevertheless, these methods often rely on …

Learn to Select: Exploring Label Distribution Divergence for In-Context Demonstration Selection in Text Classification

2025-11-10 · Ye Jiang, Taihang Wang, Youzheng Liu, Yimin Wang 외 arxiv

In-context learning (ICL) for text classification, which uses a few input-label demonstrations to describe a task, has demonstrated impressive performance on large language models (LLMs). However, the selection of in-con…

Semantic SimilarityText Classification