Manuscript Offprint

arXiv:2608.28213

PAMoR: Parameterized Affective Motion Generation in Real Time for Humanoid Robots

Yan Pan, Lingfan Bao, Tianhu Peng, Chengxu Zhou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yan Pan, Lingfan Bao, Tianhu Peng and Chengxu Zhou

Distressed

Tense

Sad

Bored

Relaxed

Content

Happy

Excited

Figure

Fig. 1. Affect as a continuous control parameter on the real 29-DoF Unitree G1. Each panel shows one action generated under a different commanded affect, indicated by the panel color.

Abstract—People read a humanoid robot's motion in social settings not only for the action performed but for the affect conveyed. Motion carrying that affect has so far been generated for human avatars, where style is taken from a reference clip or an emotion word, neither of which can be quantitatively parameterized. We present PAMoR, which turns affect into a measured control parameter: a valence-arousal (V-A) coordinate computed natively on robot kinematics. It is obtained in closed form from postural expansion and movement energy, and these measurements serve directly as generation conditions, with no human annotation. An action prior and two affect priors, trained in a shared latent space, are composed at each denoising step: the action prior fixes what is performed, the affect priors modulate how. Whole-body motion rolls out autoregressively on a 29-DoF Unitree G1 in real time, with action and affect both editable. Generated motion tracks the commanded V-A over its full range while text-to-motion fidelity still matches text-only baselines. In a perceptual study, raters identify the commanded emotion on 0.38 of trials, above both baselines and approaching the 0.44 reported for acted human bodies.

Index Terms—Human and humanoid motion analysis and synthesis, emotional robotics, humanoid robot systems, social HRI.

I. INTRODUCTION

Beyond performing tasks, a robot is also a social agent whose movements people constantly read and react to [1]. As these robots enter everyday settings such as live entertainment and public-facing service [2], [3], motion becomes a channel that carries the robot's affect to whoever is watching [4]. People assign meaning to that motion whether or not any was intended [1]. Controlling that affect takes three things. (a) The affect must be parameterized in a form that can be explained. (b) The motion must be produced in real time and stay editable while it runs. (c) The platform must be a humanoid, so that body-language knowledge still applies.

This work was partially supported by the Advanced Research and Invention Agency [grant number SMRB-SE01-P06].

The authors are with the Department of Computer Science, University College London, London, UK. chengxu.zhou@ucl.ac.uk

Work on generating affective body motion has concentrated on human avatars, where the emotion is specified by a reference clip [5] or by an emotion word in the text prompt [6]. With a reference clip, sad is whatever that particular clip contains: it cannot be written down or reproduced, and the style it carries is entangled with the action it was performed on. With an emotion word, what sad means is fixed by annotator consensus over the training corpus. The label has no definition at the level of motion. Either way, affect is not treated as an explainable, parameterized condition. Such a parameterization exists in psychology as the valence-arousal (V-A) plane [7]. On robots, a few systems do command affect as a V-A value [8], [9], but continuous V-A control for whole-body motion on legged humanoids remains underexplored. With no arms or torso to measure affect on, the scale behind the value can only come from hand-placed anchors or human annotation.

How the motion itself reaches a robot is a separate gap. Avatar-side generators produce a whole sequence offline, so the motion neither runs in real time nor changes once it is under way. Reaching the robot then requires retargeting, which adds latency in the inference loop and alters the postures and speeds that carry the affect. A correctly commanded emotion can be lost in the transfer. Generating natively on the humanoid eases the problems. Recent work already does so in real time, with the command editable during execution [10], but affect is not among its conditions.

To close both gaps, we propose PAMoR, a humanoid robot affective motion generation framework that works in two steps. First, affect is parameterized as a V-A coordinate measured directly from body kinematics. Valence measures how positive or negative the affect is, arousal how activated or calm [7]. The first step applies the body-language findings normally used to recognize affect from motion [11], [12]. An open and expanded posture reads as positive valence, and fast, energetic movement as high arousal [13], [14]. We turn those findings into a closed-form function of the robot's forward kinematics.

that labels the entire training corpus with no human annotation. Second, the coordinate is turned into control. Conditioning a single network on text, valence, and arousal jointly entangles them, and adjusting one shifts the others, as our ablation confirms (Section IV-D). We therefore take a composable approach [15]. Three diffusion priors are trained separately in a shared motion latent space, each learning how a single condition shapes motion, and at inference their guidance is summed at each denoising step. The text prompt switches what is performed, while the valence and arousal values modulate how it is performed. Whole-body motion rolls out in real time on the 29-DoF Unitree G1, with all three conditions user-specified and changeable on the fly. An overview is shown in Fig. 2.

In summary, our contributions are:

• A kinematics-grounded V-A parameterization that bridges low-level body kinematics and high-level emotion through the continuous V-A plane, built on established body-language findings and requiring no human annotation.

• Real-time affective motion generation on a humanoid, where three priors are composed at sampling time to combine mixed-type conditions, the text prompt for the action and two continuous affect scalars, so action and affect can be edited independently during the autoregressive rollout.

• A real-robot user study showing that the link between body movement and perceived emotion, established on humans, carries over to a humanoid robot: raters recognize the commanded emotions at rates approaching those reported for acted human bodies.

References (35)