← Latest papers
💻 computer science

LoC-Path: Learning to Compress for Pathology Multimodal Large Language Models

LoC-Path is a resource-efficient Pathology Multimodal Large Language Model that addresses the computational challenges of processing gigapixel Whole Slide Images by employing a compression-before-fusion strategy, utilizing a Sparse Token Merger, MAE-pretrained resampler, Token Importance Scorer, and Cross-Attention Routing Adapter to significantly reduce training costs and inference latency while maintaining competitive diagnostic performance.

Original authors: Qingqiao Hu, Weimin Lyu, Meilong Xu, Kehan Qi, Xiaoling Hu, Saumya Gupta, Jiawei Zhou, Chao Chen

Published 2026-03-13
📖 4 min read☕ Coffee break read

Original authors: Qingqiao Hu, Weimin Lyu, Meilong Xu, Kehan Qi, Xiaoling Hu, Saumya Gupta, Jiawei Zhou, Chao Chen

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 master detective trying to solve a crime, but instead of a crime scene, you are looking at a Whole Slide Image (WSI) of a patient's tissue.

Here is the problem: A single slide is like a gigapixel photograph of a city. It's so huge that if you zoomed in, you'd see millions of tiny bricks (cells). If you tried to read every single brick to find the one clue that proves who the criminal is, you would need a supercomputer that costs a million dollars and would take days to finish the job.

Most current AI models try to do exactly that: they look at every single brick in the city, one by one, before making a decision. This is slow, expensive, and inefficient because 99% of the bricks are just normal pavement or grass—they don't matter for the crime.

LoC-Path is a new, smarter detective. Instead of reading the whole city, it uses a clever three-step strategy to find the clues quickly and cheaply.

The Three-Step Strategy of LoC-Path

1. The "Group Hug" (Sparse Token Merger)

The Problem: In a city block, the bricks next to each other usually look exactly the same. It's redundant to read "red brick, red brick, red brick" 100 times.
The LoC-Path Solution: Imagine a detective who walks down the street and says, "Okay, this whole block of 100 red bricks is just one 'Red Block'."
LoC-Path groups nearby tiles (bricks) together into single, representative summaries. It doesn't throw away the information; it just stops repeating itself. This shrinks the massive city down to a manageable neighborhood map.

2. The "Glance and Summarize" (MAE-Pretrained Resampler)

The Problem: Even after grouping the blocks, you still have a huge map. You can't read every street name.
The LoC-Path Solution: Imagine a very experienced detective who has seen a million crime scenes before. They don't read the map; they glance at it.
LoC-Path uses a special training method (called MAE) where the AI is taught to look at a picture, cover up 75% of it, and try to guess what's missing. This forces the AI to learn the "big picture" layout of the tissue.
Instead of sending thousands of data points to the main brain (the Large Language Model), it compresses the whole slide into just 256 "latent" summaries. Think of these as 256 high-quality "postcards" that capture the essence of the entire city.

3. The "Smart Filter" (Token Importance Scorer & Routing)

The Problem: Now you have 256 postcards. But if the detective is looking for a "stolen watch," they don't need to read the postcards about "parks" or "schools." They only need the ones about "jewelry stores."
The LoC-Path Solution: This is the most important part.

  • The Filter (TIS): Before the AI even starts thinking, it looks at the question (e.g., "Is this cancer?") and instantly filters the 256 postcards down to the top 96 that are actually relevant.
  • The Router (CARA): Instead of shoving all 256 postcards into the main brain's memory (which clogs it up), LoC-Path only feeds those 96 relevant postcards into the brain's "thinking layers."

Why is this a Big Deal?

The Old Way (LLaVA-style):
Imagine trying to solve a mystery by reading a 1,000-page book, even though the answer is on page 42. You have to read every page, which takes forever and burns a lot of energy.

The LoC-Path Way:
You skim the table of contents, group similar chapters, and then only read the 3 pages that actually contain the answer.

The Results:

  • Speed: It's much faster because it skips the boring parts.
  • Cost: It runs on much cheaper computers (like standard hospital servers) instead of needing a supercomputer.
  • Accuracy: Surprisingly, it's just as good as the slow, expensive models. By focusing only on the "diagnostically relevant" clues, it actually avoids getting confused by the noise.

The Bottom Line

LoC-Path is like teaching an AI to be a smart pathologist rather than a mindless photocopier. It knows that in a giant tissue slide, most of the image is just background noise. By learning to compress the noise and route only the important evidence to its brain, it makes advanced medical AI accessible to hospitals everywhere, not just big tech companies.

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 →