Paper Reading AI Learner

Small sample-based adaptive text classification through iterative and contrastive description refinement

2025-08-01 11:12:38
Amrit Rajeev, Udayaadithya Avadhanam, Harshula Tulapurkar, SaiBarath Sundar

Abstract

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.

Abstract (translated)

在知识不断演变且类别边界模糊的领域(如票务系统)中,零样本文本分类仍然是一项具有挑战性的任务。大型语言模型(LLM)往往由于话题分离度有限而难以在这种场景下泛化,而少样本方法则受限于数据多样性不足的问题。为此,我们提出了一种结合迭代主题细化、对比提示和主动学习的分类框架。该框架从一组小规模标记样本开始,生成初始的主题标签。之后,通过将误分类或模棱两可的样本用于迭代对比提示过程来进一步优化类别区分度,使模型能够明确地区分出紧密相关的类。 此框架的一个关键特点是包含了一个“人机交互”组件,允许用户以自然语言形式引入或修订类别定义。这使得系统能够在无需重新训练的情况下无缝集成新的、未见过的类别,使其非常适合于现实世界中不断变化的环境。 在AGNews和DBpedia数据集上的评估结果表明了该方法的强大性能:在包含3个已知类和1个未知类的AGNews上达到了91%的准确率,在包含8个已知类和1个未知类的DBpedia上达到了84%的准确率。值得注意的是,引入新的未见过类别后,模型表现基本没有显著下降(分别为82%和87%),这进一步证明了提示语驱动的语义推理在有限监督下的细粒度分类任务中的有效性。

URL

https://arxiv.org/abs/2508.00957

PDF

https://arxiv.org/pdf/2508.00957.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot