← Latest papers
💻 computer science

MAGE: Color-Invariant and Spatial Knowledge Distillation for Gastric Neoplasm Classification

The paper proposes MAGE, a novel framework that utilizes color-invariant and spatial knowledge distillation from an auxiliary masked achromatic expert branch to overcome texture biases and context limitations, thereby achieving superior and interpretable gastric neoplasm classification without requiring annotated masks at inference.

Original authors: Jiho Jun, Jeongwon Woo, Jaemin Song, Thanh Bong Nguyen, Dong-heon Yeon, Donghoon Kang, Jae-Myung Park, Sung-Jea Ko, Kwang-Hyun Uhm

Published 2026-07-15
📖 5 min read🧠 Deep dive

Original authors: Jiho Jun, Jeongwon Woo, Jaemin Song, Thanh Bong Nguyen, Dong-heon Yeon, Donghoon Kang, Jae-Myung Park, Sung-Jea Ko, Kwang-Hyun Uhm

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 detective trying to solve a mystery inside a stomach. The two suspects are Gastric Adenoma (a harmless, pre-cancerous lump) and Gastric Carcinoma (a dangerous cancer). They look incredibly similar—like identical twins wearing the same outfit. Even expert doctors sometimes struggle to tell them apart, getting it right only about 74% of the time with standard white-light cameras, and even with fancy enhanced imaging, the accuracy can drop to around 56% in tricky cases.

The problem with current computer programs (AI) trying to solve this is that they are easily tricked. They often look at the "background noise"—like a weird lighting glare, a drop of blood, or the color of the surrounding tissue—instead of focusing on the actual shape and texture of the lump. It's like a student who fails a math test because they memorized the color of the answer sheet instead of learning the math.

The Paper's Big Idea: MAGE
To fix this, the authors created a new AI framework called MAGE (Masked Achromatic Guidance Expert). Think of MAGE as a two-person detective team training together:

  1. The "Blind" Expert (The Teacher): This detective is trained on a special version of the image where all the color is stripped away (turning it grayscale) and everything outside the lump is painted black. This detective is forced to ignore the distracting colors and lighting tricks. They can only learn from the pure shape and structure of the lump. Because they have a "mask" (a perfect outline of the lump) during training, they become a master at spotting the structural differences between the two suspects.
  2. The "Sighted" Detective (The Student): This is the detective who will actually work in the real world. They see the full, colorful, messy image. They don't have a mask to guide them.

How They Learn Together
The "Blind" Expert teaches the "Sighted" Detective through a process called distillation. The Expert says, "Hey, look at the shape! Ignore the red blood and the bright light. Focus on the texture!" The Sighted Detective tries to copy this focus. They learn to pay attention to the right parts of the image (the lump itself) and ignore the background distractions, even though they still get to see the colors.

What They Found
The paper shows that this teamwork works really well.

  • Better Scores: On a dataset of over 2,400 images from a hospital in Korea, the MAGE system achieved an AUC of 0.786 and an F1 score of 0.733. This is higher than other top methods like YOLO (a detection model) or Swin-Transformer (a classification model), which scored around 0.744 and 0.718 respectively.
  • Better Focus: When the team checked where the AI was looking, MAGE was much better at focusing on the lump. While a standard AI might only focus on the lump about 31% of the time (Attention-in-Mask), MAGE focused on it 53% of the time.
  • Color Proof: The authors tested what happens if they change the colors of the images (simulating different lights or camera settings). Standard AI models got confused and their scores dropped. MAGE, however, stayed strong and reliable, proving it really did learn to ignore the color tricks.
  • Cross-Domain Test: They even tried this on a different dataset (PICCOLO) involving colon images. MAGE still performed well, achieving an AUC of 0.9434, outperforming the ResNet50 baseline (which scored 0.9110) and other models. This suggests the method is good at learning general "shape rules" that work in different places.

What They Explicitly Rule Out
The paper argues against relying on color as the main clue. They found that color can be a "confounder"—a misleading hint that makes the AI lazy. They also showed that simply cropping out the lump (using a mask) during the real diagnosis isn't practical because you don't have the mask yet. That's why they needed the "Blind" Expert to teach the "Sighted" Detective during training, so the final model can work on full images without needing a mask.

How Sure Are They?
The authors are quite confident in these results based on their experiments. They ran the tests 20 times to get an average, showing that the results are stable (with small error margins like ± 0.010). They also tested on a completely separate, external dataset (PICCOLO) to prove it wasn't just a fluke. However, they admit that while the system is great at classifying (saying "this is cancer" or "this is not"), it doesn't yet draw a perfect outline of the lump for the doctor to see during the actual surgery. They suggest that as a next step, they could use this smart classifier to help draw those outlines, but that hasn't been done yet.

In short, MAGE teaches an AI to be a better detective by training a "blind" mentor to teach it how to ignore the flashy distractions and focus on the true shape of the mystery.

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 →