NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Expanding the Category of Classifiers with LLM Supervision

Derui Lyu, Xiangyu Wang, Taiyu Ban, Lyuzhou Chen, Xiren Zhou, Huanhuan ChenIJCAI 2025

Introduction

In the rapidly evolving landscape of computer vision, the need to add new categories to existing image classifiers is a frequent challenge. Traditionally, this process involves a significant bottleneck: the requirement for large collections of labeled images for new classes and substantial human labor for retraining. While Zero-Shot Learning (ZSL) attempted to mitigate this by using semantic "attributes" (e.g., "has stripes," "lives in water"), these still rely on domain experts to define and annotate features for every new category.

Comparison of classifier expansion strategies: Plan A (Re-training), Plan B (Zero-shot), and Plan C (CEMIL).

The authors of this work propose CEMIL (Classifier Expansion with Multi-vIew LLM knowledge), a framework designed to expand a classifier's vocabulary using only the latent knowledge within Large Language Models (LLMs), effectively removing the need for both new images and human-expert intervention.

Methodology: The CEMIL Framework

CEMIL operates through three sequential modules that bridge the gap between textual knowledge and visual classification weights.

The CEMIL architecture, featuring LLM-based text generation, contextual filtering attention, and cross-modal co-learning.

1. LLM-based Descriptive Text Generation (DTG)

Rather than requesting a simple summary, CEMIL employs "Hierarchical View Reasoning." It prompts the LLM to act as a domain expert, breaking down a class into multiple perspectives (such as physical traits and behavioral habits). An iterative self-verification process then filters out irrelevant or hallucinated views.

2. Description Refinement with Contextual Filtering Attention (CFA)

To handle potentially noisy or redundant LLM outputs, the CFA module uses a "Global Embedding" as a query to attend to "Multi-view Embeddings." This mechanism distills the most discriminative features from the text while suppressing non-essential information.

3. Class Injection with Cross-modal Co-learning (CICC)

The final module acts as the bridge between modalities. Using a dual-autoencoder architecture, CEMIL maps refined text embeddings and existing visual classifier weights into a shared latent space. Once trained on "seen" classes, the model can predict the precise weights needed for the classifier's final layer for any "unseen" class based solely on its text description.

Experimental Evaluation

The researchers evaluated CEMIL on three standard Zero-Shot Learning benchmarks: AWA2 (mammals), CUB (fine-grained birds), and SUN (scene understanding). Crucially, the evaluation was conducted in an image-free setting, where no images of the new classes were used during the expansion process.

Key Results

CEMIL achieved state-of-the-art (SOTA) results across all benchmarks, often by significant margins:

  • Performance Gains: On the CUB bird dataset, CEMIL improved Top-1 accuracy by 41.7% compared to previous SOTA image-free methods.
  • Surpassing Human Experts: Remarkably, CEMIL (using only LLM-generated text) outperformed several established methods that had access to expert-constructed attributes. This suggests that LLM-generated descriptions are richer and more visually relevant than traditional human-defined attribute vectors.
  • Model Versatility: The framework proved effective with both proprietary models (like GPT-4o) and open-source models (such as LLaMA-3.1 and Qwen).

Discussion and Future Directions

The core insight of this work is that LLMs have reached a level of sophistication where they can replace expert-constructed attribute tables. By forcing the LLM to reason hierarchically and using attention mechanisms to filter the resulting text, CEMIL creates a robust visual-textual mapping.

However, limitations remain. The method is dependent on the LLM's internal knowledge; extremely niche or brand-new categories may lead to hallucinations. Furthermore, the expansion quality is bounded by the feature extraction capabilities of the pre-trained visual backbone. Future research may explore "interactive" supervision, allowing the classifier to query the LLM for clarification on specific visual ambiguities.

Summary updated

BibTeX
@inproceedings{lyu2025expanding,
  author = {Derui Lyu and Xiangyu Wang and Taiyu Ban and Lyuzhou Chen and Xiren Zhou and Huanhuan Chen},
  title = {{Expanding the Category of Classifiers with LLM Supervision}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/657},
}
Figure