← Latest papers
🤖 AI

HERMAN: Hierarchical Representation Matching for CLIP-based Class-Incremental Learning

HERMAN is a novel Class-Incremental Learning framework for CLIP that leverages LLMs to generate hierarchical textual descriptors and adaptively matches them to multi-level visual representations, thereby achieving state-of-the-art performance by better capturing fine-grained distinctions and mitigating catastrophic forgetting.

Original authors: Zhen-Hao Xie, Yan Wang, Lan Li, Han-Jia Ye, De-Chuan Zhan, Da-Wei Zhou

Published 2026-06-23
📖 4 min read☕ Coffee break read

Original authors: Zhen-Hao Xie, Yan Wang, Lan Li, Han-Jia Ye, De-Chuan Zhan, Da-Wei Zhou

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are teaching a very smart, well-traveled librarian (the AI) how to recognize new animals. You start with a Cat and a Dog. The librarian learns to tell them apart easily.

Then, you introduce a Wolf. This is tricky because a wolf looks a lot like a dog. If you just tell the librarian, "Hey, remember that wolf has pointy ears," and force them to update their entire mental library at once, they might accidentally mess up their definition of "Dog." Suddenly, they might start thinking a Golden Retriever is a wolf because of those pointy ears, and they might forget how to tell a cat from a dog entirely. This is called Catastrophic Forgetting—learning something new ruins what you already knew.

This paper introduces a new system called HERMAN to solve this problem. Here is how it works, using simple analogies:

1. The Problem: The "One-Size-Fits-All" Mistake

Current AI methods are like a librarian who only has one giant, messy shelf. They try to fit the broad difference between "Cat" and "Dog" on the same shelf as the tiny difference between "Dog" and "Wolf." When they try to add the "Wolf" details, they accidentally knock over the "Cat vs. Dog" books. The system gets confused because it's trying to do everything at the same level of detail.

2. The Solution: A Multi-Level Library (Hierarchical Representation)

HERMAN changes the library structure. Instead of one messy shelf, it builds a multi-level hierarchy:

  • The Top Shelf (Coarse Level): This holds big, broad categories like "Animal," "Vehicle," or "Fruit." It's very stable.
  • The Middle Shelf: This holds medium details like "Has fur," "Has wheels," or "Is red."
  • The Bottom Shelf (Fine Level): This holds tiny, specific details like "Pointy ears," "Rusty hubcaps," or "A small stem."

How HERMAN builds this:
Instead of just asking the librarian, "What is a Wolf?", HERMAN uses a super-smart assistant (an LLM) to write a whole list of descriptions for every animal, ranging from the very general to the very specific.

  • General: "It's a canine."
  • Specific: "It has a long snout and thick fur."

The AI then matches these written descriptions to different layers of its own "brain" (the visual layers). The top layers of the brain look at the big picture, and the bottom layers look at the tiny details. This keeps the "Cat vs. Dog" rules safe on the top shelf while the "Dog vs. Wolf" rules get their own specific space on the bottom shelf.

3. The Smart Manager: The Adaptive Router

Now, how does the AI know which shelf to look at?

  • If you show it a Car vs. a Bicycle, it only needs the "Top Shelf" (wheels vs. no wheels).
  • If you show it a Sparrow vs. a Finch, it needs the "Bottom Shelf" (tiny color patterns).

HERMAN uses a Smart Manager (Router). This manager looks at the image and decides, "Okay, for this specific picture, I need to listen to the Top Shelf 80% and the Bottom Shelf 20%." It dynamically adjusts the volume for each level of detail depending on what it's looking at.

4. The Safety Net: Projection-Based Updates

Here is the tricky part: When the Smart Manager learns a new rule for a new task, how do we make sure it doesn't forget the old rules?

Imagine the Manager's brain is a room full of furniture (knowledge).

  • Old Way: When you bring in new furniture (new knowledge), you just shove it in, knocking over the old chairs.
  • HERMAN's Way: Before bringing in new furniture, the Manager takes a "snapshot" of the empty space where the old chairs sit. When adding new knowledge, it is forced to fit the new items into the empty spaces or stack them in a way that doesn't touch the old chairs.

Technically, this is called a projection-based strategy. It ensures that the new learning happens in a direction that is "orthogonal" (at a right angle) to the old knowledge, so the old knowledge stays perfectly intact.

The Result

By organizing knowledge into layers (hierarchy), using a smart manager to pick the right level of detail, and using a safety net to protect old memories, HERMAN allows the AI to learn new classes (like adding 100 new types of cars or birds) without forgetting the old ones.

The paper claims this method beats all previous methods on standard tests, achieving the best results (SOTA) in keeping the AI smart and forget-free. It does this without needing to store old photos, just by using these clever mathematical tricks to organize the AI's memory.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →