ReMoMask-2: Latent Retrieval-Augmented Masked Motion Generation

Yiran Wang, Zeyu Zhang, Ling Shao, Hao Tang

University of Sydney · Peking University · University of Chinese Academy of Sciences

Published September 8, 2026 · on the feed September 14, 2026 · ▲ 1 · arXiv 2609.08365

Retrieval, memory & search Full code arXiv ↗Hugging Face ↗

The abstract

Text-to-motion (T2M) generation maps natural language to human joint movements, aiding gaming, VR, and robotics. Retrieval-Augmented Text-to-Motion (RAG-T2M) improves generation on complex descriptions by conditioning on retrieved motion-text pairs. However, existing RAG-T2M models face two challenges: coarse-grained retrieval and fusion mechanisms overlook the hierarchical, spatial-temporal topology of human motion, and a representation gap exists because retrieved evidence resides in a semantic space separate from the generator's latents. To address the first, we present ReMoMask, a structure-aware RAG framework coupling Hierarchical Bidirectional Momentum (HBM) contrastive learning to align global and part-level features with text; Semantic Spatial-Temporal Attention (SSTA) for topology-aware fusion; and Topology Structured Masking (TSM) to force robust part-level grounding via adaptive masking. To address the second, we introduce ReMoMask-2, which rebuilds the retrieval database directly within the generator's pre-quantization latent space and aligns text queries via a distilled lightweight projector, allowing the generator to directly consume the retrieved motion's semantic content. Extensive experiments on HumanML3D, KIT-ML, and SnapMoGen demonstrate our retriever achieves state-of-the-art accuracy, while ReMoMask-2 attains the lowest FID on KIT-ML and SnapMoGen; notably, its single mask-transformer stage surpasses ReMoMask's full two-stage pipeline and delivers the fastest inference.

The Brief

2:43

A short podcast summary of the paper. Written and voiced by AI.

Transcript

ReMoMask-2. Latent Retrieval-Augmented Masked Motion Generation. By Yiran Wang and three others, from the University of Sydney, Peking University, and one other institution. Published on the eighth of September. Its code repository is worked out: about sixty source files, with a readme.

Text-to-motion generation maps natural language onto human joint movements, with uses in gaming, VR and robotics. A retrieval-augmented version, RAG-T2M, does better on complex descriptions by conditioning on retrieved pairs of motion and text. Existing RAG-T2M models face two problems. Their retrieval and fusion are coarse-grained, and overlook the hierarchical, spatial-temporal topology of human motion. And there is a representation gap: retrieved evidence sits in a semantic space separate from the generator's own latents.

The work answers each problem in turn, with two systems that build on each other. For the first problem, ReMoMask is a structure-aware retrieval-augmented framework built from three components, each of which brings the structure of the body into a different stage: how motions are aligned with text, how retrieved motions are fused in, and how grounding is enforced. For the second problem, ReMoMask-2 moves retrieval itself into the generator's own latent space, so that what is retrieved is already in the form the generator uses.

ReMoMask's three components are these. Hierarchical Bidirectional Momentum contrastive learning, which aligns global and part-level features with text. Semantic Spatial-Temporal Attention, for fusion that is aware of topology. And Topology Structured Masking, which uses adaptive masking to force robust grounding at the level of parts.

ReMoMask-2 then rebuilds the retrieval database directly within the generator's pre-quantization latent space, and aligns text queries to it through a distilled lightweight projector. That lets the generator consume the retrieved motion's semantic content directly, without it having to cross from one space into another.

Evaluation runs on three datasets: HumanML3D, KIT-ML and SnapMoGen. Across them, the retriever reaches state-of-the-art accuracy. ReMoMask-2 attains the lowest FID on KIT-ML and on SnapMoGen. Notably, its single mask-transformer stage surpasses the full two-stage pipeline of the original ReMoMask, and delivers the fastest inference of the systems compared.

The second step is the one that simplifies. The first system adds structure to make retrieval and fusion finer-grained. The second removes a translation altogether. Once retrieved motions live in the same space the generator already works in, there is no representation gap left to bridge, and a single stage outperforms the two-stage pipeline it replaces while running faster.

Paper Quest · 7 chapters · about 40 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

Every quest starts with a wall. Here the help arrives in the wrong language.

You are building a system that turns sentences like 'a person waves with the left hand' into body motion. To cope with unusual descriptions, it first looks up similar motion-text examples in a database and conditions on them.

The road ahead

  1. 1 · The problem ~6 min Looking up example motions helps a text-to-motion generator, but the examples arrive in a different space from the codes the generator works with.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~9 min Do the lookup inside the generator's own pre-quantization latent space, so retrieved motions arrive already in the form the generator uses.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min Train a part-aware retriever, rebuild the database in the generator's latents, distill a text projector, fuse with topology-aware attention, then generate in one stage.
  6. 6 · The experiment ~6 min You’ll guess: Could ReMoMask-2's single mask-transformer stage match the original ReMoMask's full two-stage pipeline?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.