Retrieving Semantics from the Deep: an RAG Solution for Gesture Synthesis
M. Hamza Mughal, Rishabh Dabral, Merel C. J. Scholman, Vera Demberg, Christian Theobalt
TL;DR
We address the challenge of generating semantically meaningful co-speech gestures, which traditional beat-focused models often fail to ground in linguistic meaning. We introduce RAG-Gesture, a diffusion-based gesture generator that uses Retrieval Augmented Generation to inject semantically relevant exemplars from a gesture database at inference time via Latent Initialization and Retrieval Guidance, without requiring training. The framework explicitly separates specification (what to gesture) from animation (how to gesture) and employs two retrieval strategies—LLM-based gesture type prediction and discourse-based retrieval—grounding gestures in linguistic structure. Evaluations on BEAT2 show state-of-the-art performance across multiple speakers, with extensive ablations demonstrating the value of local, semantically guided retrieval and controllable retrieval augmentation. The approach yields natural, semantically grounded gestures and can extend to task-specific gestural patterns such as referential or emotion-driven gestures, offering practical benefits for avatars and telepresence systems.
Abstract
Non-verbal communication often comprises of semantically rich gestures that help convey the meaning of an utterance. Producing such semantic co-speech gestures has been a major challenge for the existing neural systems that can generate rhythmic beat gestures, but struggle to produce semantically meaningful gestures. Therefore, we present RAG-Gesture, a diffusion-based gesture generation approach that leverages Retrieval Augmented Generation (RAG) to produce natural-looking and semantically rich gestures. Our neuro-explicit gesture generation approach is designed to produce semantic gestures grounded in interpretable linguistic knowledge. We achieve this by using explicit domain knowledge to retrieve exemplar motions from a database of co-speech gestures. Once retrieved, we then inject these semantic exemplar gestures into our diffusion-based gesture generation pipeline using DDIM inversion and retrieval guidance at the inference time without any need of training. Further, we propose a control paradigm for guidance, that allows the users to modulate the amount of influence each retrieval insertion has over the generated sequence. Our comparative evaluations demonstrate the validity of our approach against recent gesture generation approaches. The reader is urged to explore the results on our project page.
