← Latest papers
💻 computer science

Manta: Enhancing Mamba for Few-Shot Action Recognition of Long Sub-Sequence

The paper proposes Manta, a framework that enhances Mamba for few-shot action recognition of long sub-sequences by integrating a Matryoshka Mamba architecture for hierarchical local and temporal feature modeling with a hybrid contrastive learning paradigm to mitigate intra-class variance, achieving state-of-the-art performance across multiple benchmarks.

Original authors: Wenbo Huang, Jinghui Zhang, Guang Li, Lei Zhang, Shuoyuan Wang, Fang Dong, Jiahui Jin, Takahiro Ogawa, Miki Haseyama

Published 2026-03-19
📖 5 min read🧠 Deep dive

Original authors: Wenbo Huang, Jinghui Zhang, Guang Li, Lei Zhang, Shuoyuan Wang, Fang Dong, Jiahui Jin, Takahiro Ogawa, Miki Haseyama

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

🎬 The Big Problem: Watching a Movie in a Hurry

Imagine you are trying to teach a robot to recognize human actions, like "diving off a cliff."

  • The Old Way (Transformers): Most AI models today are like students who can only read one page of a book at a time. If you show them a whole movie scene (a long video), their brain gets overloaded, and they crash. They are forced to look at tiny, 8-second clips.

    • The Flaw: If you only show the robot the 2 seconds where the person is falling, it might think the action is just "falling." It misses the context of the run-up or the splash. Also, if the robot sees two different people diving, it gets confused because one starts diving at second 2 and the other at second 5. It doesn't know how to line them up.
  • The New Hero (Mamba): Recently, a new type of AI called Mamba came out. It's like a super-fast reader that can read a whole book without getting tired. It's great at handling long videos.

    • The Flaw: But Mamba is too "lazy" with details. It looks at the whole video and says, "Oh, this is a diving video," but it ignores the tiny, crucial moments (like the specific hand position) that actually define the action. It also doesn't know how to sync up two different videos that happen at different speeds.

🐙 The Solution: Meet "Manta"

The authors created a new framework called Manta (Matryoshka MAmba and CoNtrasTive LeArning). Think of Manta as a Russian Nesting Doll (Matryoshka) combined with a Detective.

Here is how it works, broken down into two main tricks:

1. The "Nesting Doll" Trick (Matryoshka Mamba)

Instead of looking at the whole video at once (too blurry) or just one frame (too small), Manta looks at the video in layers of detail, like a set of nesting dolls.

  • The Inner Dolls (Local Features): Imagine you are looking at a "Diving" video. The most important part is the "fall." Manta has tiny "Inner Modules" that zoom in on small chunks of the video (like just the fall, or just the jump). They act like microscopes, finding the tiny, critical details that the big picture misses.
  • The Outer Doll (Global Alignment): Once the microscopes find the important bits, the "Outer Module" acts like a conductor. It takes all those tiny details and lines them up perfectly in time. Even if Person A dives at second 2 and Person B dives at second 5, the conductor says, "Okay, let's slide Person B's fall over so it matches Person A's fall."
  • Why it's cool: It doesn't just look at the whole video; it looks at the parts and then stitches them together perfectly.

2. The "Detective" Trick (Hybrid Contrastive Learning)

Here is the second problem: Intra-class variance.
Imagine you have 100 videos of people "diving."

  • Video 1: A pro diver in a pool (blue water, sunny).
  • Video 2: A kid jumping off a dock (murky water, cloudy).
  • Video 3: A person diving into a swimming pool at night.

To a computer, these look very different. They might think they are three different actions. This is called "noise" or "variance."

Manta uses a Detective approach to solve this:

  • The Supervised Detective: It looks at the labeled videos (the "Support" set) and says, "Okay, these 5 videos are all 'diving.' Even though they look different, they belong in the same group."
  • The Unsupervised Detective: It looks at the new, unlabeled videos (the "Query" set) and says, "This new video looks a bit like the 'diving' group, even if the lighting is weird. Let's group it there."
  • The Result: It forces the AI to ignore the "noise" (bad lighting, different angles) and focus only on the essence of the action. It teaches the AI that a dive in the rain is still a dive.

🏆 Why is this a Big Deal?

The paper tested Manta on famous video datasets (like Kinetics and UCF101) with very few examples (only 1 or 5 videos to learn from).

  1. It handles long videos: While other AI models crash or get confused when the video gets longer than 8 seconds, Manta stays calm and accurate even with 128-second videos.
  2. It's robust: If you add "noise" to the video (like making it look rainy, dark, or adding random frames), Manta still gets it right. Other models fail miserably.
  3. It's fast: Because it uses the efficient Mamba architecture, it runs much faster than the old "Transformer" models, which are like heavy trucks compared to Manta's sports car.

🧠 The Takeaway

Manta is like a smart teacher who doesn't just memorize the whole book. Instead, they:

  1. Zoom in on the key sentences (Local Features).
  2. Line up the chapters so the story makes sense (Temporal Alignment).
  3. Ignore the typos and bad handwriting to understand the true meaning (Handling Variance).

This allows the AI to learn new actions from just a few examples, even if the videos are long, messy, or filmed in different conditions. It's a huge step forward for making AI understand the real world, not just perfect, short clips.

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 →