← Latest papers
🤖 machine learning

Rhamba: Region-Aware Hybrid Attention-Mamba Framework for Self-Supervised Learning in Resting-State fMRI

Rhamba is a novel self-supervised pretraining framework for resting-state fMRI that integrates anatomically guided masking with hybrid Attention-Mamba architectures to achieve state-of-the-art performance in schizophrenia and ADHD classification while balancing interpretability and scalability.

Original authors: Ruthwik Reddy Doodipala, Pankaj Pandey, Pratheek Eranki, Carolina Torres-Rojas, Manob Jyoti Saikia, Ranganatha Sitaram

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

Original authors: Ruthwik Reddy Doodipala, Pankaj Pandey, Pratheek Eranki, Carolina Torres-Rojas, Manob Jyoti Saikia, Ranganatha Sitaram

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 your brain is a massive, bustling city with thousands of neighborhoods (regions) that talk to each other 24/7. When you are just resting, these neighborhoods are having quiet conversations, sending signals back and forth. Scientists use a special camera called an fMRI to take "movies" of these conversations. But here's the problem: these movies are huge, messy, and we don't have enough labeled examples (like "this movie is from a healthy person" vs. "this is from someone with ADHD") to teach computers how to understand them.

The paper introduces Rhamba, a new way to teach computers to understand these brain movies without needing a teacher to label every single frame. Think of Rhamba as a "brain detective" that learns by playing a game of "fill in the blanks."

Here is how it works, broken down into simple concepts:

1. The Game: "Hide and Seek" with Brain Neighborhoods

Usually, when computers try to learn from brain data, they might hide random pixels (tiny dots) in the image and ask the computer to guess what's missing. It's like trying to finish a puzzle by looking at random pieces scattered on the floor.

Rhamba changes the rules. Instead of hiding random pixels, it hides whole neighborhoods based on a map of the brain (called an atlas).

  • The "Any" Strategy: It hides a neighborhood even if the patch of pixels only barely belongs to it. (Like saying, "This patch is 10% 'Kitchen' and 90% 'Living Room,' so let's hide it as a Kitchen patch.")
  • The "Majority" Strategy: It only hides a patch if more than half of it belongs to that neighborhood.
  • The "Pure" Strategy: It only hides patches that are 100% one specific neighborhood. (Like hiding a patch that is purely "Kitchen" with no Living Room mixed in.)

The computer has to look at the rest of the brain movie and guess what the hidden neighborhood was doing. By playing this game millions of times, the computer learns how different brain neighborhoods usually behave and talk to each other.

2. The Brain: Mixing Two Superpowers

To play this game, the computer needs a brain of its own. The authors tested different types of "brains" (architectures) to see which one learns best:

  • The Mamba: This is like a super-fast runner who is great at remembering long sequences of events (like the flow of time in the movie) but sometimes misses the big picture of how everything connects at once.
  • The Attention: This is like a detective who can look at the whole room at once and see how everyone is connected, but it gets tired and slow if the movie is too long.
  • The Hybrid (Rhamba's Secret Sauce): Rhamba combines them. It uses the Attention to understand the big picture and the Mamba to efficiently track the long timeline. It's like having a detective who can see the whole room and run a marathon without getting tired.

The paper found that this Hybrid approach (specifically the Mamba-Attention mix) was the best detective. It outperformed models that only used the runner (Mamba) or only used the detective (Attention).

3. The Results: Harder isn't Always Better

The researchers expected that making the game harder (by hiding very "pure" neighborhoods) would make the computer smarter.

  • What actually happened: The computer did find the "Pure" game easier to solve (it made fewer mistakes when guessing the missing parts).
  • The Twist: Being good at the easy game didn't make the computer better at the real job (diagnosing diseases). In fact, the "messier" games (hiding mixed neighborhoods) actually taught the computer better skills for the real world.
  • The Lesson: Just because a model can perfectly reconstruct a missing piece of a puzzle doesn't mean it understands the story. The "messy" games forced the computer to learn how different brain neighborhoods interact, which is what actually helps it spot differences between healthy brains and those with conditions like Schizophrenia or ADHD.

4. The Real-World Test

After training on a huge dataset of resting brains (ABIDE), the team tested Rhamba on two specific groups:

  1. Schizophrenia patients (COBRE dataset): Rhamba was very good at spotting the differences.
  2. ADHD patients (ADHD-200 dataset): Rhamba was also very good, especially at distinguishing the subtle differences in how these brains connect.

In both cases, Rhamba beat the previous "state-of-the-art" models. It was particularly good at looking at specific brain areas like the Limbic system (emotion), Cerebellum (coordination), and Temporal regions (memory/sound) to make its decisions.

5. Why This Matters (In Simple Terms)

  • No Labels Needed: It learns from raw data without needing a doctor to label every single scan.
  • Smarter Architecture: It proves that mixing two different types of AI (Attention and Mamba) works better than using just one.
  • Better "Masking": It shows that hiding whole brain neighborhoods (instead of random pixels) helps the AI learn the structure of the brain better.
  • Interpretability: The AI can point to which parts of the brain it looked at to make a decision, and those parts (like the emotional or memory centers) make sense to human doctors.

In summary: Rhamba is a new, smarter way to teach computers to read brain movies. It does this by hiding whole brain neighborhoods instead of random pixels, and by using a hybrid brain that is both fast and observant. This helps it get better at spotting brain disorders, even when the data is messy or comes from different hospitals.

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 →