Saved in:
Bibliographic Details
Main Authors: Rajeev, Amrit, Avadhanam, Udayaadithya, Tulapurkar, Harshula, Sundar, SaiBarath
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.00957
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909718334668800
author Rajeev, Amrit
Avadhanam, Udayaadithya
Tulapurkar, Harshula
Sundar, SaiBarath
author_facet Rajeev, Amrit
Avadhanam, Udayaadithya
Tulapurkar, Harshula
Sundar, SaiBarath
contents Zero-shot text classification remains a difficult task in domains with evolving knowledge and ambiguous category boundaries, such as ticketing systems. Large language models (LLMs) often struggle to generalize in these scenarios due to limited topic separability, while few-shot methods are constrained by insufficient data diversity. We propose a classification framework that combines iterative topic refinement, contrastive prompting, and active learning. Starting with a small set of labeled samples, the model generates initial topic labels. Misclassified or ambiguous samples are then used in an iterative contrastive prompting process to refine category distinctions by explicitly teaching the model to differentiate between closely related classes. The framework features a human-in-the-loop component, allowing users to introduce or revise category definitions in natural language. This enables seamless integration of new, unseen categories without retraining, making the system well-suited for real-world, dynamic environments. The evaluations on AGNews and DBpedia demonstrate strong performance: 91% accuracy on AGNews (3 seen, 1 unseen class) and 84% on DBpedia (8 seen, 1 unseen), with minimal accuracy shift after introducing unseen classes (82% and 87%, respectively). The results highlight the effectiveness of prompt-based semantic reasoning for fine-grained classification with limited supervision.
format Preprint
id arxiv_https___arxiv_org_abs_2508_00957
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Small sample-based adaptive text classification through iterative and contrastive description refinement
Rajeev, Amrit
Avadhanam, Udayaadithya
Tulapurkar, Harshula
Sundar, SaiBarath
Machine Learning
Artificial Intelligence
Computation and Language
Zero-shot text classification remains a difficult task in domains with evolving knowledge and ambiguous category boundaries, such as ticketing systems. Large language models (LLMs) often struggle to generalize in these scenarios due to limited topic separability, while few-shot methods are constrained by insufficient data diversity. We propose a classification framework that combines iterative topic refinement, contrastive prompting, and active learning. Starting with a small set of labeled samples, the model generates initial topic labels. Misclassified or ambiguous samples are then used in an iterative contrastive prompting process to refine category distinctions by explicitly teaching the model to differentiate between closely related classes. The framework features a human-in-the-loop component, allowing users to introduce or revise category definitions in natural language. This enables seamless integration of new, unseen categories without retraining, making the system well-suited for real-world, dynamic environments. The evaluations on AGNews and DBpedia demonstrate strong performance: 91% accuracy on AGNews (3 seen, 1 unseen class) and 84% on DBpedia (8 seen, 1 unseen), with minimal accuracy shift after introducing unseen classes (82% and 87%, respectively). The results highlight the effectiveness of prompt-based semantic reasoning for fine-grained classification with limited supervision.
title Small sample-based adaptive text classification through iterative and contrastive description refinement
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2508.00957