Human Motion Unlearning

Edoardo De Matteis, Matteo Migliarini, Alessio Sampieri, Indro Spinelli, Fabio Galasso · 2025

Read Human Motion Unlearning by Edoardo De Matteis, Matteo Migliarini, Alessio Sampieri, Indro Spinelli, Fabio Galasso (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-18674.txt.

Introduction

Edoardo De Matteis and co-authors tackle forgetting in human motion models in a 2025 paper. Text-to-motion tools can make 3D moves from a prompt. Popular training sets hold a notable share of violent moves, from punches to kicks. Blocking such output is a clear safety need for these tools.

The team built the first benchmark for motion unlearning. They split two large data sets into violent forget sets and safe retain sets. New scores check both how well violence is suppressed and how smooth the rest stays. Two image methods were adapted to motion models for comparison. Their own method swaps violent codes in a discrete codebook for safe ones. Tests show forgetting violent moves is feasible without training. Swapping codes gave the best trade-off in their trials. The work lays groundwork for safer motion synthesis.

Catalog record

CREATOREdoardo De Matteis, Matteo Migliarini, Alessio Sampieri, Indro Spinelli, Fabio Galasso
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE66 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-18674

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Human Motion Unlearning Edoardo De Matteis, Matteo Migliarini, Alessio Sampieri, Indro Spinelli, Fabio Galasso Abstract We introduce Human Motion Unlearning and motivate it through the concrete task of preventing violent 3D motion synthesis, an important safety requirement given that popular text-to-motion datasets (HumanML3D and Motion-X) contain from 7% to 15% violent sequences spanning both atomic gestures (e.g., a single punch) and highly compositional actions (e.g., loading and swinging a leg to kick). By focusing on violence unlearning, we demonstrate how removing a challenging, multifaceted concept can serve as a proxy for the broader capability of motion “forgetting.” To enable systematic evaluation of Human Motion Unlearning, we establish the first motion unlearning benchmark by automatically filtering HumanML3D and Motion-X datasets to create distinct forget sets (violent motions) and retain sets (safe motions). We introduce evaluation metrics tailored to sequential unlearning, measuring both suppression efficacy and the preservation of realism and smooth transitions. We adapt two state-of-the-art, training-free image unlearning methods (UCE and RECE) to leading text-to-motion architectures (MoMask and BAMM), and propose Latent Code Replacement (LCR), a novel, training-free approach that identifies violent codes in a discrete codebook representation and substitutes them with safe alternatives. Our experiments show that unlearning violent motions is indeed feasible and that acting on latent codes strikes the best trade-off between violence suppression and preserving overall motion quality. This work establishes a foundation for advancing safe motion synthesis across diverse applications. 1 Sapienza University of Rome 2 ItalAI Website — https://www.pinlab.org/hmu 1 Introduction Figure 1: The text-to-motion model takes an input prompt and generates the corresponding motion. With unlearning, when violent content is prompted, the model avoids generating harmful actions, producing a safe and appropriate outcome. Generative models have seen dramatic progress across multiple modalities: images ( Rombach et al. 2021 ; Ruiz et al. 2022 ) , videos ( Fei et al. 2023 ; Blattmann et al. 2023 ) , music ( Copet et al. 2023 ) , and, more recently, 3D human motions ( Zhang et al. 2023 ; Chen et al. 2023 ; Sampieri et al. 2024 ; Jiang et al. 2023 ) . Text-to-motion (T2M) systems now offer unprecedented realism and control, enabling applications in virtual reality ( Tirinzoni et al. 2024 ) , animation, and the development of embodied agents and robots trained on human motion data ( Kim et al. 2025 ; Shao et al. 2025 ; Serifi et al. 2024 ) . However, since popular training corpora such as HumanML3D ( Guo et al. 2022 ) and Motion-X ( Lin et al. 2023 ) encode examples of violent actions (e.g., punching, kicking, stomping), current T2M models can reproduce aggressive behaviors on demand, raising serious safety and ethical concerns. Uncontrolled generation of violent motions risks misuse in simulated environments, flawed human–robot interactions, and unintended bias in downstream controllers that inherit such behaviors ( Xu et al. 2023 ; Merel et al. 2017 ; Wang et al. 2025 ) . To address this gap, we introduce the task of Human Motion Unlearning (HMU), with a focus on violence unlearning. Violence serves as an ideal case study as it spans atomic gestures (e.g., a single punch) to highly compositional sequences (e.g., a kick followed by a grapple), requiring fine-grained suppression without degrading non-violent sub-motions. Beyond its role in mitigating real-world risks, such as preventing the synthesis of harmful behaviors in animation and robotics ( Merel et al. 2017 ; Yashuai et al. 2023 ; Wang et al. 2025 ) , violence unlearning also provides a stringent benchmark for motion unlearning more broadly, demonstrating the feasibility of removing specific concepts from a trained generative model. While we recognize that violent motions are legitimate for specific professionals (e.g., animators), our work focuses specifically on the safety of open models. We address the risks of generating harmful content when these models are distributed to the public, particularly in sensitive fields like robotics. We select violence as our case study because it is both prevalent and conceptually complex in existing datasets, making it an effective benchmark for a safety-oriented unlearning task. Other sensitive motions are too rare for systematic evaluation. Crucially, our approach is not a blunt filtering mechanism: since unlearning operates at the parameter level, it enables developers to release a “safe” public version of a model while retaining a full, unrestricted version for professional use. We propose a dedicated benchmark for violence-free motion generation based on two recent, large-scale datasets: HumanML3D and Motion-X. From each corpus, we filter out sequences annotated with aggressive movements (punching, kicking, beating, stabbing, etc.) to produce a violence-free subset for evaluation. To capture the sequential nature of motion, our benchmark also includes a violent-only subset and a suite of motion-unlearning metrics that assess both the degree of violence suppression and the preservation of realism and smoothness in transitions between censored and uncensored segments. Building on state-of-the-art (SotA) image unlearning techniques, we adapt two training-free methods, UCE ( Gandikota et al. 2024 ) and RECE ( Gong et al. 2024 ) , to leading T2M architectures (MoMask ( Guo et al. 2024 ) and BAMM ( Pinyoanuntapong et al. 2024 ) ). We also include a fine-tuning–based baseline, ESD ( Gandikota et al. 2023 ) , for comparison. Drawing inspiration from discrete latent spaces now ubiquitous in motion generation, we introduce Latent Code Replacement (LCR), a novel, training-free approach that identifies violent codes in a VQ-VAE’s codebook ( van den Oord et al. 2017 ) and substitutes them with safe alternatives, effectively erasing harmful behaviors while maintaining motion fidelity. Our contributions are threefold: • Human Motion Unlearning. We formulate the novel task of unlearning unsafe motion concepts from pretrained T2M models, contextualized through the challenge of violence prevention in motion synthesis. • Violence Unlearning Benchmark. We curate violence-filtered versions of HumanML3D and Motion-X and define metrics tailored to sequential motion unlearning, establishing a standardized framework to evaluate both suppression efficacy and motion quality. • Exploration of Training-Free Methods and LCR. We adapt UCE and RECE to T2M architectures, propose Latent Code Replacement as a new training-free paradigm leveraging discrete codebooks, and demonstrate that unlearning is indeed feasible; latent-code–based interventions offer the most promising performance, though substantial room for improvement remains. 2 Related Works Human motion unlearning represents a convergence of machine unlearning and motion synthesis, two active research areas that have remained largely independent until now. Machine Unlearning. Machine unlearning aims to erase unwanted knowledge from generative models without compromising overall capabilities. This field has gained significant attention in image synthesis ( Sai et al. 2024 ; Xu et al. 2023 ) , where approaches fall into three main categories: data removal methods that retrain models on filtered datasets ( Guo et al. 2019 ; Chien et al. 2022 ) , fine-tuning approaches that adapt selected parameters ( Gandikota et al. 2023 ; Lu et al. 2024 ; Fan et al. 2024 ) , and training-free interventions that modify model behavior without additional training ( Gandikota et al. 2024 ; Gong et al. 2024 ) . Data removal quickly becomes impractical for large-scale corpora due to the sheer volume of samples and the prohibitive cost of manual annotation. Among fine-tuning methods, ESD ( Gandikota et al. 2023 ) has been

Read the complete text