← Back to Paper Radar

Efficient Text Classification with Conformal In-Context Learning

Ippokratis Pantelidis, Korbinian Randl, Aron Henriksson
arXiv.org | 2025

Reading guide · Based on sections of the original paper

The authors extend CICLe, which uses a TF-IDF logistic-regression classifier with conformal prediction to shrink the candidate labels and few-shot examples given to an LLM, from a single food-recall domain to four English benchmarks. They examine when it beats its base classifier and few-shot prompting.

Why read this

Practitioners weighing LLM prompting costs against classification quality, especially on imbalanced label sets, can use this to judge when a cheap classifier-plus-conformal filter is worth adding.

What the authors found

  • On the imbalanced GoEmotions dataset (27 classes, evaluated only at 2k–5k training samples), CICLe-70B averaged 0.326 macro-F1 across sample sizes. The strongest 70B few-shot baseline (random selection) reached 0.286, and the base classifier reached 0.139. CICLe-8B scored 0.277. 5.4. Metrics Across Different Datasets
  • Relative to the mean of the dense, sparse and random few-shot baselines, CICLe cut shots per prediction by 17.33–54.62% across datasets and prompt length by up to 49.91%. On Yahoo, prompt length rose by 2.51%. These figures differ from the abstract's 'up to 34.45% and 25.16%', and the paper does not reconcile the two. 5.6. Prompt & Shots Reduction
  • Averaged over AG News and Yahoo only, CICLe-70B was slightly below dense-70B in the low-data regime (100–400 samples: 0.7376 vs 0.7430). It led in the medium regime (0.7524) and the large regime (0.7555). DBpedia was excluded because of suspected contamination; on that dataset CICLe trailed the sparse and dense baselines. 5.5. Metrics for Different Data Regimes

Main limitation

All experiments use only LLaMA-3.1-Instruct 8B and 70B on English data, with α fixed at 0.05 and k=2 shots per class. Generality to other model families, languages, or specialized domains is therefore untested. Limitations

Where to start

5.4. Metrics Across Different Datasets · Table 2 gives per-dataset averages, including DBpedia, where CICLe underperforms few-shot baselines.

Abstract

Large Language Models (LLMs) demonstrate strong in-context learning abilities, yet their effectiveness in text classification depends heavily on prompt design and incurs substantial computational cost. Conformal In-Context Learning (CICLe) has been proposed as a resource-efficient framework that integrates a lightweight base classifier with Conformal Prediction to guide LLM prompting by adaptively reducing the set of candidate classes. However, its broader applicability and efficiency benefits beyond a single domain have not yet been systematically explored. In this paper, we present a comprehensive evaluation of CICLe across diverse NLP classification benchmarks. The results show that CICLe consistently improves over its base classifier and outperforms few-shot prompting baselines when the sample size is sufficient for training the base classifier, and performs comparably in low-data regimes. In terms of efficiency, CICLe reduces the number of shots and prompt length by up to 34.45% and 25.16%, respectively, and enables the use of smaller models with competitive performance. CICLe is furthermore particularly advantageous for text classification tasks with high class imbalance. These findings highlight CICLe as a practical and scalable approach for efficient text classification, combining the robustness of traditional classifiers with the adaptability of LLMs, and achieving substantial gains in data and computational efficiency.

Generated automatically from paper sections on 2026-11-28.