← Latest papers
🤖 machine learning

CENDRe: Concept Extraction with Natural Domain Representations

CENDRe is a novel concept extraction method for CNNs that overcomes existing limitations by automatically discovering the optimal number of time-frequency concepts through silhouette-guided clustering and gradient-based localization, thereby providing interpretable evidence for critical time-series classification tasks like fault diagnosis.

Original authors: Antonia Holzapfel, Andres Felipe Posada Moreno, Sebastian Trimpe

Published 2026-08-03
📖 8 min read🧠 Deep dive

Original authors: Antonia Holzapfel, Andres Felipe Posada Moreno, Sebastian Trimpe

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 trying to teach a robot to recognize different sounds, like a dog barking versus a car horn. You feed it thousands of audio clips, and the robot, using a special kind of brain called a Convolutional Neural Network (CNN), gets really good at guessing the right answer. But here's the catch: the robot is a "black box." It gives you the answer, but it won't tell you why. Did it hear the bark because of the pitch? The rhythm? The sudden start? In the real world, where mistakes can be dangerous—like a doctor diagnosing a heart condition or a factory predicting a machine failure—we can't just trust the robot's guess. We need to peek inside its brain to see what patterns it's actually looking for. This is the world of "Explainable AI" (XAI). Scientists have developed methods to pull these patterns out, but until now, they've been like flashlights that only shine in one direction. They could show you when a sound happened (the time domain), but they were blind to the pitch or frequency of the sound, which is often the most important clue.

This paper introduces a new tool called CENDRe (Concept Extraction with Natural Domain Representations) that fixes these blind spots. Think of CENDRe as a detective that doesn't just look at the timeline of an event but also listens to the musical notes being played. The researchers found that old methods had three main problems: they only looked at time, they forced the robot to guess a specific number of patterns (like saying "there are exactly 3 clues" before even looking), and they sometimes pointed to the wrong parts of the signal. CENDRe solves this by automatically figuring out how many patterns exist, finding them in both time and frequency, and pinpointing exactly where in the signal those patterns live. When they tested it on fake data with known answers, CENDRe found the right clues much better than the old methods. When they tried it on real data from broken machine bearings, it successfully identified the specific "humming" frequencies that experts use to diagnose the problem, proving that the robot isn't just guessing randomly but is actually listening to the right things.

The Detective's New Toolkit

Imagine you are a detective trying to solve a mystery by listening to a recording of a noisy street. You have a super-smart AI assistant that tells you, "I know it's a car crash!" But you need to know how it knows. Is it the screech of tires? The crunch of metal? Or maybe just the sudden silence?

Old detective tools (the previous AI methods) were a bit clumsy. First, they only listened to the timing of the sounds. If the crash happened at 2:03 PM, they could tell you that, but they couldn't tell you if the sound was a high-pitched squeal or a low rumble. Second, they were stubborn about the number of clues. You had to tell them, "Look for exactly 3 clues," before they started. If the real mystery had 4 clues, they would miss one or mash two together. Third, they were bad at pointing. They might say, "The clue is somewhere in this whole minute," when the actual clue was just a tiny split-second sound.

CENDRe is like a detective who brings a new set of glasses. These glasses let them see the sound in two ways at once: as a timeline (when things happen) and as a spectrum (what pitches are present).

1. The Magic of "Natural" Glasses

The paper introduces the idea of "Natural Domain Representations." Imagine looking at a painting. You can look at it from the front (time), but you can also look at it through a special filter that shows you the brushstrokes (frequency). CENDRe uses a mathematical trick called a "virtual inspection layer." It's like inserting a transparent, reversible filter into the AI's brain. The AI doesn't even know the filter is there; it just keeps doing its job. But CENDRe can look at the AI's thoughts through the filter. This allows the detective to see the "frequency" of the sound—like the specific hum of a broken bearing—without changing how the AI thinks.

2. Letting the Clues Count Themselves

One of the biggest headaches for old detectives was deciding how many clues to look for. If you told them to find 5 clues, but there were only 3 real ones, they would invent fake clues to fill the gap. If there were 7, they would miss the last two.

CENDRe uses a clever trick called silhouette-guided aggregation. Imagine you have a pile of mixed-up puzzle pieces. Instead of guessing how many pictures are in the pile, CENDRe starts by grouping similar pieces together into tiny clusters. Then, it asks a question: "How well do these groups fit together?" It uses a score called a "silhouette score" (think of it as a "happiness score" for the groups) to decide when to stop merging. If the groups are happy and distinct, it stops. This means CENDRe automatically figures out, "Ah, there are actually 4 distinct patterns here," without you having to guess. It replaces the human guess with a math-based discovery.

3. Pinpointing the Exact Moment

Once CENDRe finds a pattern (a "concept"), it needs to show you exactly where it is in the sound. Old methods often drew big, fuzzy boxes around the whole sound, saying, "The clue is somewhere in here!" CENDRe is much more precise. It uses a technique called gradients to trace the path of the clue back to the source.

Think of it like a heat map. If you turn up the volume on a specific part of the sound, does the AI's confidence in its answer go up? CENDRe calculates this for every single moment in time and every single frequency. It creates a mask that highlights only the parts of the sound that matter. If the AI is listening to a high-pitched squeal at 2000 Hz for 0.5 seconds, CENDRe draws a tight, bright box around exactly that spot, ignoring the rest of the noise.

What They Found

The researchers tested CENDRe in two ways: with made-up data where they knew the answers, and with real data from broken machines.

The Fake Data Test:
They created synthetic sounds with hidden "primitives" (like a square wave or a specific frequency band) that the AI was trained to recognize.

  • Time Domain: When looking for time-based shapes (like a square pulse), CENDRe found them just as well as the best existing tools.
  • Frequency Domain: This is where CENDRe shined. When the clues were hidden in specific frequency bands (like a high-pitched tone), the old tools were completely blind. They couldn't see the frequency clues at all. CENDRe, however, found them perfectly. It localized the exact frequency bands the AI was using, matching the "ground truth" (the real answer) almost perfectly.
  • Importance: CENDRe didn't just find the clues; it correctly ranked them. It knew which clues were the most important for the AI's decision, whereas other methods sometimes got confused about which clues mattered.

The Real-World Test:
They took the tool to a real factory setting, looking at data from bearing faults (broken parts in machines).

  • The AI was trained to tell the difference between a healthy bearing and one with a crack on the inside or outside.
  • CENDRe extracted concepts that aligned with what human experts know. For example, it found that the AI was focusing on a sharp peak around 2000 Hz on one sensor and specific bands around 800–1000 Hz on another.
  • These aren't random numbers; they are the exact "signature" frequencies that engineers use to diagnose broken bearings. This proves that CENDRe isn't just making up patterns; it's revealing the actual logic the AI is using to make its predictions.

Why This Matters

The paper suggests that by combining time and frequency views, and by letting the AI tell us how many patterns it sees, we can trust these black-box models more. In critical fields like healthcare or industrial safety, we can't afford to have an AI guess correctly for the wrong reasons. CENDRe gives us a way to verify that the AI is looking at the right "clues"—whether that's a specific heartbeat rhythm or a specific machine vibration—before we let it make life-or-death decisions.

The authors are careful to note that while CENDRe works great on the types of AI models they tested (1D CNNs), it relies on the AI having a specific structure (translation equivariance). They suggest that future work will need to adapt this for other types of AI, like Transformers, which are becoming very popular. But for now, CENDRe offers a powerful new lens to see inside the machine's mind, turning a mysterious guess into a clear, explainable story.

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 →