← Latest papers
🤖 machine learning

Vendi Novelty Scores for Out-of-Distribution Detection

This paper introduces the Vendi Novelty Score (VNS), a linear-time, non-parametric out-of-distribution detector that leverages diversity metrics to achieve state-of-the-art performance across various benchmarks while remaining effective even with minimal training data.

Original authors: Amey P. Pasarkar, Adji Bousso Dieng

Published 2026-05-22
📖 5 min read🧠 Deep dive

Original authors: Amey P. Pasarkar, Adji Bousso Dieng

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 have a very smart, highly trained security guard at the entrance of a museum. This guard has spent years studying thousands of paintings from the Renaissance. They can instantly tell you if a new painting is a genuine Rembrandt or a fake. But what happens if someone walks up with a picture of a toaster, a cartoon cat, or a modern abstract sculpture?

The guard might still say, "I'm 99% sure this is a painting!" because they are so confident in their training, even though they are completely wrong. In the world of Artificial Intelligence, this is called an Out-of-Distribution (OOD) problem. The AI is seeing something it has never seen before, but it doesn't know it's confused.

This paper introduces a new tool called Vendi Novelty Score (VNS) to help AI systems realize when they are looking at something totally foreign. Here is how it works, explained through simple analogies.

The Old Way: Guessing Confidence

Most current methods try to detect these "strangers" by asking the AI, "How confident are you?"

  • The Flaw: If the AI is trained on cats and dogs, and you show it a toaster, it might still feel very confident because the toaster shares some visual features (like edges or colors) with a cat's ear. It's like a guard who is so used to seeing red coats that they think a red fire hydrant is a person.

The New Way: Measuring "Crowd Diversity"

The authors of this paper decided to stop asking "How confident are you?" and start asking, "How much does this new person change the crowd?"

They use a concept called Vendi Score, which is basically a fancy way of measuring diversity.

The Analogy: The Party Guest List

Imagine the AI has a memory of all the people it has met (the training data).

  • The In-Distribution (ID) Crowd: These are the people the AI knows well. They are grouped into "cliques" (like a group of all redheads, a group of all tall people, etc.).
  • The Test Sample: A new person walks in.

How VNS works:

  1. The Local Check (The Clique): The AI looks at the specific clique the new person might belong to (e.g., "Is this person a redhead?"). It asks: "If we add this new person to the redhead group, does the group become more diverse or more repetitive?"

    • If the new person is a redhead with a unique hairstyle, the group becomes more diverse.
    • If the new person is a redhead who looks exactly like everyone else, the group doesn't change much.
    • The Twist: If the new person is actually a toaster (or a cartoon cat), adding them to the "redhead" group creates a weird, jarring mix. The "diversity score" spikes because the toaster doesn't fit the pattern at all.
  2. The Global Check (The Whole Party): The AI also looks at the entire party. "If we add this toaster to the whole room, does the room feel chaotic?"

    • VNS calculates how much the new sample disrupts the overall harmony of the data.
  3. The Final Score: The AI combines these two checks. If the new sample makes the local group weird and the global party chaotic, the Vendi Novelty Score goes up. A high score means: "Hey, this doesn't belong here! We should be careful."

Why This is a Big Deal

The paper claims this method is a game-changer for three main reasons:

1. It's Fast and Lightweight
Calculating diversity usually requires heavy math that takes a long time (like checking every single person in a stadium against every other person).

  • The Paper's Trick: They found a shortcut. Instead of looking at the whole crowd, they only look at the "most important" person in the group (the mathematical equivalent of the "main leader" of the clique).
  • The Result: It's incredibly fast. The paper shows it runs almost as quickly as the simplest methods, making it practical for real-time use (like in self-driving cars).

2. It Doesn't Need a Full Memory
Usually, to check if something is new, you need to remember every single example you've ever seen. That takes up a lot of computer memory.

  • The Paper's Claim: VNS works amazingly well even if you only show it 1% of the training data. It's like a security guard who can spot a stranger even if they only remember 1% of the people they've met, because they understand the structure of the crowd, not just the faces.

3. It Works Everywhere
The authors tested this on many different types of AI "brains" (architectures) and many different types of "museums" (datasets like CIFAR-10, CIFAR-100, and ImageNet).

  • The Result: VNS consistently beat or matched the best existing methods. It was particularly good at spotting "Near-OOD" items—things that look almost like what the AI knows but aren't quite right (like a picture of a dog that looks a bit like a wolf).

Summary

The Vendi Novelty Score is a new way to tell an AI when it's out of its depth. Instead of just asking "Are you sure?", it asks, "Does this new thing fit the pattern of the group?"

By measuring how much a new sample disrupts the diversity of the AI's memory, it can spot strangers (like toasters in a cat museum) with high accuracy, using very little memory, and very quickly. This helps keep AI systems safe by knowing when to say, "I don't know what this is, let a human handle it."

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 →