Iterative Definition Refinement for Zero-Shot Classification via LLM-Based Semantic Prototype Optimization
Not on the map. Why?
Abstract (arXiv)
Web filtering systems rely on accurate web content classification to block cyber threats, prevent data exfiltration, and ensure compliance. However, classification is increasingly difficult due to the dynamic and rapidly evolving nature of the modern web. Embedding-based zero-shot approaches map content and category descriptions into a shared semantic space, enabling label assignment without labeled training data, but remain highly sensitive to definition quality. Poorly specified or ambiguous definitions create semantic overlap in the embedding space, leading to systematic misclassification. In this paper, we propose a training-free, adaptive iterative definition refinement framework that improves zero-shot web content classification by progressively optimizing category definitions rather than updating model parameters. Using LLMs as feedback-driven definition optimizers, we investigate three refinement strategies namely example-guided, confusion-aware, and history-aware, each refining class descriptions using structured signals from misclassified instances. Furthermore, we introduce a human-labeled benchmark of 10 URL categories with 1,000 samples per class and evaluate across 13 state-of-the-art embedding foundation models. Results demonstrate that iterative definition refinement consistently improves classification performance across diverse architectures, establishing definition quality as a critical and underexplored factor in embedding-based systems. The dataset is available at https://github.com/naeemrehmat/B2MWT-10C.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 21 of its 35 references that are in the map. First posted on arXiv 30 Apr 2026.
Builds on
21 of 35 references.
References · 21
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
- 2022MTEB: Massive Text Embedding Benchmarkcited by 640
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
- 2024Multilingual E5 Text Embeddings: A Technical Reportcited by 372
- 2022One Embedder, Any Task: Instruction-Finetuned Text Embeddingscited by 333
9 more
- 2019Benchmarking Zero-shot Text Classification: Datasets, Evaluation and Entailment Approachcited by 308
- 2022What does a platypus look like? Generating customized prompts for zero-shot image classificationcited by 267
- 2024mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrievalcited by 236
- 2025EmbeddingGemma: Powerful and Lightweight Text Representationscited by 139
- 2021N24News: A New Dataset for Multimodal News Classificationcited by 40
- 2025KaLM-Embedding: Superior Training Data Brings A Stronger Embedding Modelcited by 36
- 2018URLNet: Learning a URL Representation with Deep Learning for Malicious URL Detectioncited by 34
- 2017eXpose: A Character-Level Convolutional Neural Network with Embeddings For Detecting Malicious URLs, File Paths and Registry Keyscited by 18
- 2021URLTran: Improving Phishing URL Detection Using Transformerscited by 18
Built on by
Not cited yet.