← Latest papers
🤖 machine learning

TailedCore: Few-Shot Sampling for Unsupervised Long-Tail Noisy Anomaly Detection

The paper introduces TailedCore, a novel unsupervised anomaly detection framework that employs a TailSampler to independently handle tail class samples and noisy data, thereby overcoming the performance trade-off between noise robustness and tail class sensitivity in long-tail, contaminated datasets.

Original authors: Yoon Gyo Jung, Jaewoo Park, Jaeho Yoon, Kuan-Chuan Peng, Wonchul Kim, Andrew Beng Jin Teoh, Octavia Camps

Published 2026-05-27
📖 4 min read☕ Coffee break read

Original authors: Yoon Gyo Jung, Jaewoo Park, Jaeho Yoon, Kuan-Chuan Peng, Wonchul Kim, Andrew Beng Jin Teoh, Octavia Camps

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 a quality control inspector at a massive factory. Your job is to spot defective products on a conveyor belt. This paper, TailedCore, tackles a very specific, messy real-world problem where your training data is a nightmare in two ways:

  1. The "Long-Tail" Problem: You have thousands of examples of common items (like standard screws), but only a handful of examples for rare items (like a specific, custom-made gear). In data terms, the common items are the "head" of the distribution, and the rare ones are the "tail."
  2. The "Noisy" Problem: Even the "good" examples you have are dirty. Some of the "normal" screws in your training pile actually have tiny scratches or defects on them.

The Dilemma: The "Too Strict vs. Too Lenient" Trap

The authors noticed that existing AI models get stuck in a terrible trade-off, which they call the "Tail-versus-Noise Dilemma."

  • The "Too Lenient" Model: If you teach a model to be very careful about rare items (the tail), it starts getting confused. It sees the tiny scratches on the "normal" items and thinks, "Oh, this is a defect!" It becomes too sensitive and flags normal things as broken.
  • The "Too Strict" Model: If you teach a model to ignore those tiny scratches (to handle the noise), it becomes too tough. It stops paying attention to the rare items. It looks at the custom gear and says, "I've never seen this before, so I'll just ignore it," missing the actual defects on the rare items.

It's like trying to learn a new language where you have a dictionary with 10,000 pages of common words but only one page of rare words, and that one page has some typos. If you focus on the typos, you miss the rare words. If you focus on the rare words, you get confused by the typos.

The Solution: TailedCore

The authors built a new system called TailedCore that solves this by treating the rare items and the noisy items as two separate problems. They do this using a clever two-step process involving a new tool they invented called TailSampler.

Step 1: The "Class Size Predictor" (TailSampler)

Imagine you are in a crowded room where people are grouped by the team they work for. Most teams have hundreds of people, but a few teams only have one or two people. You don't know who belongs to which team, and some people in the big teams are wearing "defect" badges (noise).

TailSampler is like a super-smart observer who looks at how people stand near each other.

  • It assumes that people from the same team stand at similar angles to each other.
  • It calculates how many people are likely in a specific "cluster" just by looking at the geometry of the crowd.
  • If it sees a tiny cluster (only 1 or 2 people), it knows, "Ah, this is a rare team!"
  • Crucially, it can tell the difference between a "rare team" and a "lonely person with a defect badge."

This allows the system to exclusively pick out the rare items without accidentally grabbing the noisy, defective ones from the common groups.

Step 2: The "Memory Bank" (TailedCore)

Once TailSampler has identified the rare items, TailedCore builds a special "memory bank" for the AI to use during inspection. This memory bank is a hybrid:

  1. The Clean Part: It takes the common items, filters out the ones with scratches (noise), and stores the clean versions.
  2. The Rare Part: It takes the rare items identified by TailSampler and adds them to the memory.

Now, when the AI inspects a new product:

  • If it's a common item, it compares it to the clean, filtered memory.
  • If it's a rare item, it has the specific examples of that rare item in its memory to compare against.

The Result

By separating the "rare" from the "noisy," TailedCore doesn't have to choose between being too strict or too lenient. It gets the best of both worlds.

In their experiments, they tested this on standard industrial datasets (like MVTec AD and VisA) that they artificially made "noisy" and "unbalanced." The results showed that TailedCore consistently outperformed the current state-of-the-art models. It was much better at spotting defects on rare products without getting confused by the dirty data on common products.

In short: TailedCore is a new way to teach an AI to spot factory defects when the training data is messy and unbalanced, by using a smart "head-counting" trick to isolate the rare items before the AI even starts learning.

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 →