betaFeedback

WorksComputer Science

Context-Aware Generation and Modulation of Expressive Motion Behavior using Multimodal Foundation Models

Abstract

Expressive robot motion positively impacts human-robot interaction by improving user engagement, likability, or task performance. We present a novel approach to automatically generate and modulate complex, expressive full-body gesture sequences from a multimodal (text, audio, video) context description. Based on a unified mathematical implementation of the Principles of Animation using Dynamic Movement Primitives, we use multimodal foundation models to generate such sequences along with parametric motion variations that are highly context-aware. This method extends the state of the art in terms of flexibility and generality by being interpretable, composable, and working across different robot morphologies. Moreover, we integrate the system into a continuous control framework and leverage knowledge distillation to learn a much smaller model, significantly improving token efficiency and system latency. Results from a user study with a human-like platform indicate that participants judged our system's motions to be better aligned with the interaction context than motions produced under a non-modulated or API-level condition. We also demonstrate how the system generates expressive motion for robots with different kinematics, showcasing its versatility. Paper webpage: https://gen-mod-expressive-motion-behavior.github.io/.

CCS Concepts

• Computing methodologies → Robotic planning.

Introduction

Non-verbal communication via gaze, gestures, or facial expressions is a crucial component of socially intelligent behavior for humans and robots. Robot-performed gestures are often seen as a defining property of social robots [7], and by using their physical embodiment and presence, they are perceived more positively and persuasive than, for example, interactive virtual agents [21]. Therefore, the design and use of expressive robotic body motion are critical for achieving natural and effective communication with socially interactive robots. Key questions include how movements are shaped, selected, and timed, the extent of their expression, and their integration with speech, context, and the course of interaction. This paper tackles several of the above questions, namely how body motion can be represented to facilitate learning, execution, and modulation – i.e., context-sensitive variations of the same motion –, and how basic gestures can be automatically selected, timed, and varied such that interlocutors perceive the robot’s behavior as aligned with the interaction context.

The variety of expressive human body motion appears to be open-ended. One way to tackle this complexity practically is categorizing gestures into communicative functions such as deictic, iconic, or symbolic, and reusing standardized sets of pre-recorded gestures [39]. By providing a small set of exemplars for each function, a robot can cover many real-world situations without the need to generate joint-level trajectories on the fly. We build on such motion datasets and adopt recent work [9] that employs Dynamic Movement Primitives (DMPs) to represent, modulate, and compose basic gestures into expressive body language. Originally developed for motor skill learning from imitation or demonstration, e.g., for

This work is licensed under a Creative Commons Attribution 4.0 International License. HRI ’26, Edinburgh, Scotland, UK © 2026 Copyright held by the owner/author(s). ACM ISBN 979-8-4007-2128-1/2026/03 https://doi.org/10.1145/3757279.3785635 robot manipulation, DMPs offer properties highly relevant for this task. As shown in [9], they provide a unified implementation of the Principles of Animation and enable modulation of key principles through a low-dimensional, interpretable parameter set. This allows animators – and large language models – to stylize full-body motion along the well-established dimensions of the Principles of Animation across different kinematic configurations. They are also online adaptive in the sense that gestures are parametrized by a static or dynamic goal in space towards which gestures are executed.

However, unlike [9], which was limited to the “how” in generating expressive body language, we focus on the “what” and “when” and automate the generation process given the multimodal description of a context. To this end, we integrate multimodal foundation models into a continuous control framework, leveraging their extensive world knowledge to explore novel possibilities for social robot motion design. This also extends prior work that used only large language models and simpler motion representations [23]. Specifically, our contributions are:

  • A system for automated context-aware modulation and composition of basic gestures, represented as Dynamic Movement Primitives (DMPs), into expressive body language. The method is robot-agnostic with respect to kinematics and integrates multimodal context inputs, including text, image, and audio.

  • A method that applies knowledge distillation, a technique to transfer the knowledge of a large, computationally expensive foundation model to a smaller, more efficient model. The results are reduced inference cost and significantly smaller system latencies.

  • A user study with a human-like robot that confirms the validity of the approach over a non-modulated and API-level motion condition, as well as qualitative experiments that demonstrate the system’s ability to generate expressive body language across robot morphologies using a manipulator and a four-legged robot.

Related Work

Expressive Motion Behavior Generation

Prior work has extensively explored the generation and use of gestures and expressive body language in HRI, see [7] for a survey. The literature can be divided into planning and generation methods. The former denotes the high-level task of selecting and composing basic movements into expressive motion behaviors, the latter is the lower-level task of synthesizing, learning, or executing basic movements, e.g., at the joint trajectory level.

High-Level Motion Behavior Generation: Early works introduce methods for high-level behavior generation based on manually designed, rule-based state transition systems. Kato et al. [15] point out that such systems require extensive understanding and classification of human activities, behaviors, and other input modalities for valid and reasonable state transitions. In [3], the authors focus on the ease of use of such systems, while later works also deal with the formal verification of expressive rule-based behaviors [33] or the application of a manually designed behavior system, e.g., for the Pepper robot [20].

As the manual design of rule-based behaviors is tedious and counterintuitive, follow-up works focus on semi-automatic and automated creation of behavioral decision systems. The authors of [32] synthesize formalisms from traces of instruction, and later provide modification options [34] and user-friendly instruction authoring [35]. In order to handle the complexity of multi-modal context inputs automatically, the method proposed in [11] fits a Bayesian network to model multi-modal behaviors. Recent works utilize deep neural networks with reinforcement learning [13] and time-series information [26] to trigger gestures during interaction. With the goal of general context understanding, some works also utilize Large Language Models (LLMs) to guide the behavior of the robot. In [18], the authors introduce a framework that first derives motion policies from a large-scale human motion generation model, and then employs a language model to determine whether a new task aligns with an existing policy and to refine it accordingly, thereby enabling efficient policy reuse and natural language-based specification of complex motion behaviors. Based on scenario descriptions, Mahadevan et al. [23] generate API-level programs with a multi-stage LLM system for context understanding and code generation. Only by providing robot-specific information and a library of available API calls the system can generate expressive behaviors for various robots. Similarly, LLMs can enable the relation of a target expression with the available hardware using motion parameters. [36] shows results for a quadruped robot by providing the available degrees of freedom as parameters of the robot, along with descriptions that describe a possible effect.

For high-level behavior generation, we utilize general context understanding to alleviate the limitations of manual and rule-based methods in terms of flexibility. However, instead of simple calls to the robots’ actuators [23] or limitation to specific morphologies [36], we generate sequences of complex whole-body gestures based on a pre-recorded library represented as Dynamic Movement Primitives [14]. This enables the generation of cross-morphology context-aligned expressive motion, while providing the additional feature of risk management of gestures that might be perceived as political, obscene, or intensive by simply excluding them from the library.

Low-Level Motion Representations: In robotics, the challenge of low-level motion generation mirrors that of character animation, where the design of trajectories must balance physical feasibility with expressive qualities that communicate intent, emotion, or style to a human observer. Important works [19], and tools like Aldebaran Choregraphe utilize trajectory shaping with keyframe interpolation using splines or polynomials. The method provides considerable flexibility at the cost of laborious manual design. Later, methods for motion representation like Dynamic Movement Primitives [14] for imitation of demonstrated motion or the probabilistic extension [31] are proposed. While offering smooth execution capabilities in their basic forms, they lack flexibility towards expressive robot motion generation.

By mapping the latent space of a variational autoencoder to the Valence Arousal Dominance (VAD) space, the method proposed in [24] can adjust input motion to align with targeted VAD states. The method is limited to a single kinematic structure on which the model is trained. In [29], motion is adjusted by modulating along the Principles of Animation in the latent space of an encoder-decoder structured model for human avatars. The method proposed in [9] also relies on the representation space of the Principles of Animation, but encodes them in a physics-based model, which is decoupled from learned kinematic structures and enables online modulation. The authors of [1] show that also reinforcement learning based systems can be trained for behavioral adjustments based on multi-objective reward functions. The model uses reward weights that can be tuned to modulate motion online.

Towards lively and autonomous non-verbal interaction, Christen et al. [6] propose a diffusion-based system that generates controls conditioned on a nearby human’s pose and a target expressivity. The system is trained with expert data for a single robot. Some works also directly leverage LLMs to either adapt [43] or generate [12] sequences of joint states to enable context-dependent expressivity. In both works, the model is provided with an understanding of the human’s kinematic structure with differing levels of detail.

Compared to these works, which lack dynamic consistency [12], modulate with limited flexibility [24], or use latent space grounding [1, 29], our method combines context-aware expressive adaptation with physically grounded motion execution and modulation. To this end, we extend our past work [9] for fully automatic, online adaptive modulation parametrization.

Integrated Continuous Control: Frameworks for continuous planning and control enable the deployment of robots for interaction by ensuring both timely responses to cues in active scenarios [38] and lifelike behavior when idle [2].

Generally, and as shown in prior works, both [22] and [4] propose methods that combine a selection of perception and cognition models with action planning to continuously handle user inputs and react when necessary. Oleinikov et al. [30] further introduce a hierarchical controller that operates at different frequencies, allowing a robotic arm to incorporate contextual human interaction information into motion planning at both high and low levels. Current works face ongoing challenges in combining general context understanding, flexibility, and fast reaction to achieve continuous control with expressive motion behavior. Our method addresses this by picking up the hierarchical control idea and condensing modularity with general understanding.

Co-Speech Gestures and Motion

Although our work does not address Co-Speech motion generation, we review related methods as they tackle similar challenges, especially with respect to selection and timing of gestures to enable synchronized behavior.

Co-speech gestures can be coordinated with speech by either adapting the gestures to the spoken content or adapting the speech to the planned gestures [7]. Adapting gestures to speech involves timing motions to align with specific words, which can be done manually when the utterance is predetermined [41]. More precise alignment can be achieved by pre-rendering speech to calculate word durations and combining this information with the robot’s motor capabilities [27, 37]. Contextual factors such as accented syllables can be factored in to influence timing [25]. The alignment of speech with gestures can be realized by matching relevant speech units with related gesture units [16]. As reported in [28], learning-based methods trained for human avatars can leverage available data to generate co-speech gestures. These can incorporate multimodal temporal [5], semantic [17, 42], or spatial grounding [8].

For robotics applications, this positions our work to share similar goals with co-speech motion research, namely, context-aware generation of expressive behavior. While we do not focus on synchronizing multiple output modalities, the temporal grounding in the phase variable of the DMP could enable such coordination.

Method

In this section, we present our approach for the automatic generation of expressive, context-sensitive motion behavior. First, we describe the method for generating motion sequences that capture expressive behavior. Then, we detail how these sequences are modulated to ensure that the executed movements convey expressivity aligned with the context. Finally, we explain the integration of these components into a flexible and efficient framework that supports continuous operation. See Figure 1 and Figure 4 for example results of our method and Figure 2 for the overview of the system.

Image not extracted

Figure 1. Given a multi-modal context description (green: audio and text), our method composes modulated gestures (blue) into expressive, context-aware body motion. In this scenario, a robot interacting with a person detects a knocking sound, pauses the interaction, turns toward the door, and greets the arriving person in a neutral way. If the context called for a different reaction (e.g., joy at a long-awaited reunion), the result would be a corresponding modulation, such as exaggerated greeting.

Image not extracted

Figure 2. Overview of our system: Given multimodal context descriptions and robot-specific parameters, our approach generates sequences of modulated gestures using a distilled multimodal foundation model. A reactive timeline-based controller manages continuous motion and perceived context changes from sensory data to modulate the active gesture. See text for details.

Image not extracted

Figure 4. Motion behavior for Context 2 generated with our system for Pepper (top), Go2 (center), and Gen3 Lite (bottom).

Interaction context is inherently multimodal, comprising a variety of spatial, social, and environmental cues that together shape how a robot’s response is perceived as normative or appropriate. To achieve high levels of context sensitivity, robotic systems must integrate such cues in the form of verbal, auditory, and visual stimuli. Thus, we define the input to our system to be a multimodal context description using text, audio, and video, as well as sensory inputs that arrive in real time. We denote this as the robot’s interaction context C={rText,rVideo,rAudio,rRT}C = \{r_{\mathrm{Text}}, r_{\mathrm{Video}}, r_{\mathrm{Audio}}, r_{\mathrm{RT}}\}. Real-time inputs include, for example, spatial positions from a visual person tracker or object detector.

Sequence Generation

Context alignment critically depends on the choice of actions, their execution order, style, and timing. The literature suggests that efficient interaction is often based on a set of essential movements and gestures [10]. In line with these findings, our method generates motion sequences from pre-learned robotic skills that represent appropriate actions for various interaction scenarios. The main advantage of this approach is the utilization of complex, whole-body motions that already possess inherent communicative meaning while abstracting the underlying robot kinematics. This enables robots with arbitrary morphologies to utilize complex interaction gestures for effective communication and bridges the embodiment gap by providing a hardware-agnostic mapping between generative models and physical robot execution.

Given an interaction context CC, we address the open-ended problem of generating context-aligned motion sequences using multimodal foundation models. The inference process follows a three-stage procedure designed to ensure broad adaptability by decoupling high-level sequencing from specific robotic constraints: First, using CC, the model is prompted to generate a contextually appropriate action sequence. The sequence is then mapped against the robot’s capabilities to verify execution feasibility, and finally, the system queries the skill library to synthesize motion behavior that best aligns with the social context under the robot’s kinematic constraints.

Let SS be the scenario that consists of both the context description CC and the robot-specific parameters RR (see Figure 2). A robot’s motion capability is denoted by rc∈Rr_c \in R and includes platform-specific affordance descriptions such as arm articulation or torso inclination. Each entry ry∈Rr_y \in R in the library of available motion primitives has three attributes: A unique name, a semantic description, and the motion primitive object itself. The output of this procedure is a behavioral plan π\pi, representing a sequence of NN joint-space whole-body trajectories y∈ryy \in r_y where each yiy_i is instantiated from the library.

S={C,R}→Sequence Generation[y1,…,yN]∈πS = \{C, R\} \qquad\xrightarrow{\text{Sequence Generation}} \qquad [y_1, \ldots, y_N] \in\pi

Sequence Modulation

While the behavioral plan π\pi determines the sequence of actions (the “what”), different contexts can necessitate meaningful variations in execution. In human-to-human interaction, for example, a greeting differs significantly depending on social factors, such as whether the individual was recently seen or if it is a long-awaited reunion. Although the underlying motion sequence may remain the same, its stylistic execution, or modulation, must vary to remain contextually appropriate (the “how”).

To this end, we build on past work [9], where we introduced Dynamic Movement Primitives (DMPs) to implement the Principles of Animation in a mathematically unified formulation. We briefly summarize the theoretical approach and operationalization of the individual principles, and then show how we extend it with automatic context-aligned parametrization (see [9] or the supplementary material for more details).

DMPs are multi-dimensional second-order dynamical systems, coupled by a phase variable xx, oriented towards a goal state gg and encoding joint trajectories in a set of weights ww as part of the nonlinear forcing term f(x)f(x):

τ2y¨=α(β(g−y)−τy˙)+f(x).\tau^2 \ddot{y} = \alpha\left(\beta(g-y) - \tau\dot{y}\right) + f(x).

Locally weighted regression is used to learn the weights given a reference trajectory, which enables zero-shot imitation learning from demonstrated motion.

Modulation of the principles is done by altering individual system components or parameters – the acceleration y¨\ddot{y}, the weights ww, or the forcing term f(x)f(x) – to achieve the desired effects. These components are modified for each principle and per degree of freedom, allowing the creation of complex, multi-dimensional motion in a low-dimensional and interpretable parameter space defined by the Principles of Animation. Specifically, we consider each relevant principle and how we mathematically implement its individual modulation:

Arcs controls the smoothness of the motion and is modulated by convolving a 1D Gaussian kernel with the weights ww for pArcs>0p_{\mathrm{Arcs}} > 0 to achieve smoother motion or by applying unsharp masking on the weights ww for pArcs<0p_{\mathrm{Arcs}} < 0 to accentuate motion features. Anticipation negatively scales the system’s acceleration with pAnt>0p_{\mathrm{Ant}} > 0 at the beginning of the trajectory to achieve a preceding anticipatory action. Slow In Slow Out adapts the phase function to slow down system progression at the beginning and end of the trajectory for more natural motion. Specifically, we utilize an inverted sigmoid function to obtain the phase. Timing adjusts the overall duration of the motion by scaling τ\tau to achieve faster motion with pTime<1p_{\mathrm{Time}} < 1 and slower motion with pTime>1p_{\mathrm{Time}} > 1. Exaggeration understates (pExa<1p_{\mathrm{Exa}} < 1) or overstates (pExa>1p_{\mathrm{Exa}} > 1) the motion features by scaling the effect of the forcing term f(x)f(x). Follow Through scales the values of a target joint based on values of a source joint with pFollow>0p_{\mathrm{Follow}} > 0 to create an effect of connected bodies. In addition to these principles, the modulation of the goal gg enables target-oriented motion execution, e.g., toward a detected human or object in the environment. Furthermore, we introduce natural variability across executions by perturbing the weights ww with Gaussian noise scaled by pRand>0p_{\mathrm{Rand}} > 0, to generate less repetitive motion.

The representation of expressivity in the Principles of Animation, first formalized by Thomas and Johnston [40], provides a powerful framework for expressive character animation, and as just shown, for parameterizing motion using DMPs. Importantly, this space is well understood and documented, and modern foundation models – trained on extensive bodies of general knowledge as well as the specific literature on creating lifelike characters using the Principles of Animation – can navigate it with minimal guidance. We therefore use foundation models to automatically generate the DMP modulation parameters that align motion execution to the given context. This process is split into three submodules, and Figure 2 visualizes the connection of those aligned with the given transition formulas:

The first module handles the semantic mapping from the context description CC and the generated motion sequence π\pi to a style description of a motion execution. This step is analogous to a director guiding an actor’s performance on a movie set. The output of this module, called modulation descriptions MdM_d, does not yet include a relation to the Principles of Animation but rather a natural language description of how the motion should be executed. For each motion primitive in the sequence, a description MdM_d is generated to fit the context description.

{π,C}→Modulation Description[Md,1,…,Md,N]\{ \pi, C \} \xrightarrow{\text{Modulation Description}} [M_{d,1}, \ldots, M_{d,N}]

Notably, the motion descriptions are generated in an informed and coherent manner, where each primitive is described completely and independently, yet all descriptions remain consistent with the intent of the overall sequence. This is especially important with long sequences or sequences that include complex individual movements.

The second module relates the given modulation descriptions MdM_d to the Principles of Animation and generates ratings MrM_r for all relevant principles. The module operates at the primitive instance level and, therefore, is called for every motion primitive within the sequence.

Md,n→Principle RelationMr,n,∀n≤NM_{d,n} \xrightarrow{\text{Principle Relation}} M_{r,n}, \quad\forall n \leq N

By utilizing the general knowledge of the foundation model, which includes the use of the Principles of Animation, the only guidance necessary is the explanation of a target rating scale for the individual parameters. Specifically, we generate individual ratings Mr∈MrM_r \in M_r for the animation principles Anticipation, Arcs, Exaggeration, Follow Through, Slow In Slow Out, and Timing. All principles are rated using generic output scales, i.e., scales from 1 to 10 or scales from -5 to 5. The reason for using generic scales lies in better generalization and improved robustness.

In the third module, the ratings from the generic scale MrM_r are projected on a robot-specific parameter range to create modulation parameters MpM_p.

{Mr,n,rp}→Parameter ProjectionMp,n,∀n≤N\{M_{r,n}, r_p\} \xrightarrow{\text{Parameter Projection}} M_{p,n}, \quad\forall n \leq N

These parameter ranges need to be part of the robot-specific data rp∈Rr_p \in\mathbb{R}. The projection of the ratings for Anticipation and Follow Through is realized with linear mapping. The projection of the ratings for Arcs, Exaggeration, and Timing is realized with piecewise linear mapping to provide an optimal relation to the scaling parameters of the DMP. Slow In Slow Out can be either on or off.

Finally, the adjustments to the motion execution are made by modulating individual DMP trajectories y∈πy \in\pi with the modulation parameters MpM_p to obtain the modulated motion primitive trajectory yMy_M as part of the modulated sequence πM\pi_M.

yn→ModulationyM,n,∀n≤Ny_n \xrightarrow{\text{Modulation}} y_{M,n}, \quad\forall n \leq N

System Overview

With the goal of autonomous and fluent interaction in real scenes, we propose a system for continuous and efficient operation using a hierarchical control structure based on a timeline. To decrease reaction times, we employ a knowledge-distilled multimodal foundation model tailored to generate expressive motion behavior with low inference times. Building on the methodological foundation above, we show how the system can be abstracted from specific robots to remain adaptable and flexible across varying capabilities, skills, and morphologies.

Timeline Control: Using a timeline aligns naturally with the structure of the generated modulated sequences and leverages the inherent sequencing capabilities of DMPs. Transitions between two DMPs occur smoothly, as each DMP’s state is governed by a dynamical attractor system. Consequently, the timeline allows for continuous progression through the sequence by linking individual primitives to produce seamless motion. In practice, the timeline is implemented as a first-in-first-out (FIFO) queue, from which motion primitives are retrieved to determine the currently active primitive. For continuous actuation of the robot, the progressing state of the currently active primitive provides the joint control commands to move the robot.

The hierarchical control strategy of our system operates at different frequencies. At a high level with lower frequency, the population of the timeline follows two governing cases: The first case is reactive to incoming interaction context CC and adds the individual motion primitives of a generated modulated sequence πM\pi_M to the timeline for sequential execution. In this case, the timeline queue is first cleared before appending the new sequence, to allow for fast reaction. In an extreme case, and towards even faster reactions, the currently active primitive can be directly replaced, without finishing execution and directly transitioning to the first primitive of the new sequence. In the second case, during idle operation, idle motion primitives are appended and executed to ensure continuous control of the robot. The idle motion primitives are randomly selected from a separate library of idle gestures, which can be a subset of the primary gesture library ryr_y or contain low-intent motion, or even static joint commands. At a lower level, and decoupled from the timeline population, the hierarchical control system enables continuous motion adjustments to modulate the executed motion based on relations between the DMP and real-time data. This modulation is executed at control frequency in an online fashion. When a detected person in the scene changes their location, the robot can adapt and maintain its orientation and gesture target during execution by updating the DMP goal state gg. Notably, idle movements can also be continuously modulated to track a person or to induce random subtle movements using prandp_{\mathrm{rand}}.

Knowledge Distillation and Generation Inference: Since reaction time is critical for natural and fluent interaction, we optimize our generation method using knowledge distillation to fine-tune a small, efficient multimodal foundation model. This approach relies on supervised training with data from a larger model, which generally produces superior results and enables condensing multi-step inference pipelines into a single step. We leverage both aspects, i.e., our training set consists of traces generated by the multi-step pipeline using the large model. Specifically, our training data stems from diverse traces generated from a context dataset consisting of over 100 contextual descriptions CC – similar to the ones we present in the experiments section – and specific data RR for three different robots. The resulting fine-tuned foundation model takes the same inputs and produces the same outputs as the multi-step pipeline, but consumes fewer input and output tokens, as intermediate steps are cut. Generally, and this applies to both the single call of the fine-tuned model as well as the multi-step pipeline, we utilize structured I/O interfaces to ensure that the inference output adheres to the required form, which is especially important with respect to system robustness.

Cross-Morphology: The system is designed to be robot agnostic, enabling its use across different platforms. To operate, the system requires the following inputs: Capabilities: A textual description of the robot’s motion-related abilities. For example, a human-like robot can move its head, arms, and torso, while a quadruped can move its legs and torso. Kinematics: The robot’s kinematic structure, provided as a URDF file. Movements: A collection of existing joint trajectories for gestures or other task-specific motions and interaction skills. Parameter Limits: Bounds for individual modulation parameters. While defaults are often sufficient, the limits can be customized to fine-tune modulation.

Based on these inputs, a preprocessing module computes robot-specific data RR, necessary for system operation, in two steps: First, joint trajectories are encoded to DMPs, forming the motion primitive gesture library. Second, the URDF file is analyzed to construct a kinematic map and compute the global axes of each joint. This information allows the preprocessing module to identify valid source-target joint pairs for the Follow Through principle, which must reside within the same kinematic chain and be either directly connected or separated by a single condition joint. Axis alignment within the chain is verified based on the configuration of the condition joint.

Experiments

The evaluation of our method is carried out in multiple experiments that address different aspects of the system. Specifically, we conduct a user study to investigate the subjective perception of context alignment of the generated motion behavior and compare our method against an API-level baseline condition. Additionally, we analyze the inference times of the generation process to validate that our approach of knowledge distillation achieves a cut in system reaction times. Further experiments aim to show the handling of multimodal context descriptions as well as the integration of robots with different kinematic structures into our system.

In our experiments, we use the following generation conditions: Ours: Our system, which automatically generates and modulates gesture sequences. The multimodal foundation model is a version of OpenAI’s gpt-4.1-nano, which is learned with knowledge distillation from Ours (multi) as introduced below. Ours (non-mod): An ablation of our system, which automatically generates gesture sequences that are not modulated. API-level: A baseline condition that automatically generates behavior programs from an API library of the robot. This is a reimplementation of the method proposed in [23]. Ours (multi): Our method but with the multi-step pipeline, which interfaces gpt-4.1.

For the majority of our experiments, we deploy the Pepper robot, with a motion primitive library of over 30 complex and expressive whole-body gestures, for e.g., waving, pointing, or explaining.

We use the following context descriptions for different scenarios between the robot and an interaction partner:

Context 1 “A person approaches and greets the robot, then asks for directions and an explanation. The robot knows that the destination is to its left. The robot’s energy level is very low.”

Context 2 “A person familiar to the robot approaches from its right side. The robot hasn’t seen this person in a long time, and the person is clearly excited to meet the robot again.”

Context 3 “A person walks past the robot. The person is busy and in a hurry.”

Context 4 Audio modality: The sound of a person “[knocking]” on a door; Textual modality: “The robot is engaged in a discussion with a person. It is also anticipating the arrival of a second person. An open door is located to the left.”

We conducted a user study, for which we recruited 38 participants - 26 male, 12 female - aged between 21 and 84 from mailing lists and university information boards. 8 participants did not finish the survey, and their partially filled questionnaires are not regarded in the evaluation. The study consists of multiple scenarios, which appear in randomized order and are divided into two questionnaire parts. In both, participants watch videos of the human-like robot Pepper and answer questions related to the videos. All videos show both the robot and the silhouette of the robot’s interaction partner.

Study - Experiment 1: For the first part of the study, we generate expressive robot motion behavior using the conditions Ours, Ours (non-mod), and API-level. The API-level condition is provided with a library of API calls to move the arms, the head, and the torso of the robot, as well as functions for scene understanding, like getting the yaw and pitch angles of humans in the scene.

The questionnaire follows a within-subject structure, where videos of all three conditions appear in randomized order. For each video, the participants rate how well the shown motion behavior aligns with the context that describes the scenario on a 7-point linear scale. With this experiment, we study the hypothesis H1: The perceived alignment between context and expressivity is rated higher for non-modulated sequences than for API-level behaviors, as well as the hypothesis H2: The perceived alignment between context and expressivity is rated higher for modulated sequences than for non-modulated sequences.

Study - Experiment 2: In the second part of the study, we compare the generated expressive motion behavior from the two conditions Ours and Ours (multi).

The questionnaire shows videos of both conditions in randomized order, and participants are asked to rate which of the two conditions aligns better with the given context description. A continuous bipolar slider ranging from -100 to 100 is used. The extremes (-100 and 100) indicate that one of the two conditions is perceived as much better aligned, while the center (0) marks equal alignment.

This scale allows preferences to be directly projected onto a percentage scale, providing an intuitive measure of relative alignment. Towards verifying that the efficiency enhancements as part of our method do not diminish the quality of generated expressive motion behavior, we study the hypothesis H3: The perceived alignment between context and expressivity for the knowledge-distillation model is not significantly inferior to that of the multi-step pipeline, given the specified non-inferiority margin.

Experiment 3: Related to the previous experiment, we compute inference times, and the thereby resulting system latency, for both conditions Ours and Ours (multi). For Context 1 to Context 3, we time the generation process over 100 runs per context. This results in a total of 3×1003 \times100 inference calls for Ours and 3×(2×100+N×100)3 \times(2 \times100 + N \times100) calls for Ours (multi), where NN is the variable sequence length.

Experiment 4: We deploy our framework on different robots to support the claim that our method is decoupled from specific robots. To this end, we use the following robots: Aldebaran Pepper: A mobile robot with a human-like morphology that can move its torso, head, and arms with 17 degrees of freedom. Unitree Go2: A quadruped platform with 12 degrees of freedom. Kinova Gen3 Lite: An industrial robot arm with 6 degrees of freedom. The decision for this selection lies in the fundamentally different morphologies and kinematic structures of the listed robots. We generate motion behavior using our method for the scenario described with Context 2 for all three robots.

Experiment 5: We want to show how our system handles multimodal context descriptions and generates motion behavior for the following two scenarios: First, Context 4, where a textual context description, detailing internal states and the knowledge of the robot, is augmented by an audible knocking sound. Second, a multimodal version of Context 2, where the video and audio modalities are used directly rather than transcribed into text. Specifically, for the video modality, it is the image of a person who appears happy, and the audio modality is given in the form of spoken language —“Hi! It’s amazing to see you. It’s been so long”. The textual modality describes internal knowledge of the robot.

Results and Discussion

Quantitative Results

Results - Study - Experiment 1: Data is analyzed using a two-way repeated-measures ANOVA to assess the effects of experimental factors on the collected ratings. Following the significant effect for the generation conditions (p<0.001p < 0.001), paired-samples t-tests, with Bonferroni correction applied, are used for specific comparisons to investigate our hypotheses. The results of these post-hoc tests show a significant difference between Ours and Ours (non-mod) (p<0.001p < 0.001), and between Ours (non-mod) and API-level (p<0.001p < 0.001). The results are visualized on the left in Figure 3. Our hypotheses H1 and H2 are supported.

Image not extracted

Figure 3. Quantitative results: The alignment ratings from Experiment 1 (left) show a significant difference between context alignment of the different generation conditions. The perceived preference ratings from Experiment 2 (center), with a slight shift towards Ours, are statistically non-inferior with a non-inferiority bound of 10 percent. The system latency comparison from Experiment 3 (right) shows a significant reaction time reduction for the distilled model.

Results - Study - Experiment 2: To avoid false statements based on averaging factors, we conduct per-context non-inferiority tests using a one-sided t-test with a non-inferiority margin of 10% of the slider range. The results indicate significant non-inferiority of the generation condition Ours compared to Ours (multi) with strong statistical evidence (p<0.01p < 0.01) for Context 1 and very strong statistical evidence (p<0.001p < 0.001) for Context 2 and Context 3. The respective rating means are 3.86 %, 16.73 %, and 7.56 % in favor of Ours. The results are visualized in the center of Figure 3. Our hypothesis H3 is supported.

Results - Experiment 3: We evaluated system reaction times across Context 1–3. The knowledge distillation model (Ours) averaged 2.40 s, 2.66 s, and 2.22 s per context respectively, with an overall mean of 2.39 s using an average of 2161 tokens. The multi-step pipeline (Ours (multi)) averaged 14.32 s, 16.66 s, and 10.26 s, with an overall mean of 12.87 s using an average of 4969 tokens. This corresponds to a 5.4× speedup, or an 81.5 % reduction in reaction time, demonstrating substantially lower system latency with the knowledge distilled model. The results are visualized on the right in Figure 3.

Qualitative Results

Results - Experiment 4: The generated motion behavior for all three robots is visualized in Figure 4. All robots direct their movements towards the side of the approaching person, either based on selection of gestures (Go2, Gen3 Lite) or the modulation of gg (Pepper, Gen3 Lite). The sequences include greeting gestures modulated to match the described enthusiasm of the approaching person.

Results - Experiment 5: For Context 4, the robot first greets and then invites the person closer. Without the audio modality, however, our method only produces explaining and elaborating gestures, showing that the knocking sound is correctly interpreted and the generated motion aligns better with what happens in the scene (see Figure 1). For the multimodal version of Context 2, including an image of a person who appears happy together with the voice recording, the generated motion closely matches the one solely based on the text description, on both levels, the expressivity and the generated parameter values. This confirms that multimodal inputs that match or reinforce the context produce the same resulting motion.

Discussion

The results of our experiments show how our method enables the context-aware generation and modulation of expressive motion behavior both quantitatively and qualitatively. Specifically, the evaluation of our user study supports all our hypotheses with strong (p<0.01p < 0.01) or very strong (p<0.001p < 0.001) statistical evidence. The evaluation, while not showing an effect on the ratings from context alone, does show statistical evidence (p<0.05p < 0.05) of an effect of the context on the generation conditions. However, the effect size is quite small with η2=0.0918\eta^2 = 0.0918 compared to that of the generation condition alone (η2=0.447\eta^2 = 0.447, p≪0.001p \ll0.001), but can still be seen in the plotted alignment rating, especially for Context 1. These findings can possibly be grounded in individual perception from participants that reached out using our contact information, stating comments like the expectation of a robot to still function normally even if its energy reserves are low (Context 1), or embodiment problems with lacking hand opening or closing, which is not possible with our application of the Pepper robot. Also notable is that the collected preference ratings actually show a slight preference towards the knowledge distilled model. We do not have a clear explanation for this, but speculate that it may be related to the model’s ability to capture the overall context more effectively – without relying on intermediate steps – while still managing high complexity. The analysis of the latency shows the anticipated improvement of system reaction time in favor of a more fluent interaction [38]. Another relevant aspect is the importance of extensive libraries for the optimal utilization of our method. Our gesture library for Pepper is rather large, with over 30 different basic gestures, and our method produced diverse sequences. However, we noticed repeating patterns on the Go2 and Gen3 Lite, which use libraries that are less exhaustive, but still consist of whole-body gestures. The results of our experiment to test multimodal context descriptions suggest that incorporating video and audio modalities directly does not compromise the expressivity, and even allows us to condition the generation on audio cues that are not spoken language.

Conclusion

In this work, we present a system to automatically generate robot motion behavior from a multimodal description of an interaction context. Using multimodal foundation models, our method sequences and modulates whole-body gestures, encoded as Dynamic Movement Primitives, to align the robot’s expressivity to the context. With the integration into a timeline-based continuous

controller that leverages knowledge distillation and is adaptable to robots with different kinematics, the approach extends the state of the art by providing more generality, interpretability, efficiency, and flexibility. In a user study, participants rated the motions produced by our system as better aligned with the interaction context than those generated under a non-modulated or API-level motion condition. Further, participants did not perceive a difference in context alignment when using the distilled model, which has a system latency reduced by 81.5 % on average. Our qualitative experiments show the adaptability of the system to different robots as well as the handling of multimodal context inputs, including images, text, and sounds. Future extensions could include higher-level cognitive components, such as an episodic memory or a theory-of-mind model, to integrate continuous perceptions into a coherent and persistent context representation, as well as extending the system to verbal outputs combined with synchronized co-speech gestures.

Acknowledgments

The authors thank the International Max Planck Research School for Intelligent Systems (IMPRS-IS) for supporting Till Hielscher.

References

Received 2025-09-30; accepted 2025-12-01

References

  1. [1]Lucas N. Alegre, Agon Serifi, Ruben Grandia, David Müller, Espen Knoop, and Moritz Bächer. 2025. AMOR: Adaptive Character Control through Multi-Objective Reinforcement Learning. In SIGGRAPH. Article 85.DOI
  2. [2]Thibault Asselborn, Wafa Johal, and Pierre Dillenbourg. 2017. Keep on moving! Exploring anthropomorphic effects of motion during idle moments. In IEEE Int. Symp. on Robot and Human Interactive Communication. 897–902.
  3. [3]Nina Buchina, Sherin Kamel, and Emilia Barakova. 2016. Design and evaluation of an end-user friendly tool for robot programming. In IEEE Int. Symp. on Robot and Human Interactive Communication. 185–191.
  4. [4]Bo Chen, Chunsheng Hua, Bo Dai, Yuqing He, and Jianda Han. 2019. Online control programming algorithm for human–robot interaction system with a novel real-time human gesture recognition method. Int. J. of Advanced Robotic Systems (2019), 1–18.
  5. [5]Chung-Cheng Chiu, Louis-Philippe Morency, and Stacy Marsella. 2015. Predicting co-verbal gestures: A deep and temporal modeling approach. In Intelligent Virtual Agents. 152–166.DOI
  6. [6]Sammy Christen, David Müller, Agon Serifi, Ruben Grandia, Georg Wiedebach, Michael A Hopkins, Espen Knoop, and Moritz Bächer. 2025. Autonomous Human-Robot Interaction via Operator Imitation. In IEEE/RSJ Int. Conf. on Intelligent Robots and Systems. 18724–18731.
  7. [7]Jan De Wit, Paul Vogt, and Emil Krahmer. 2023. The design and observed effects of robot-performed manual gestures: A systematic review. ACM Trans. on Human-Robot Interaction, Article 1 (2023).
  8. [8]Anna Deichler, Simon Alexanderson, and Jonas Beskow. 2024. Incorporating Spatial Awareness in Data-Driven Gesture Generation for Virtual Agents. In ACM Int. Conf. on Intelligent Virtual Agents. Article 42.
  9. [9]Till Hielscher, Andreas Bulling, and Kai O. Arras. 2025. Interactive Expressive Motion Generation Using Dynamic Movement Primitives. In IEEE/RSJ Int. Conf. on Intelligent Robots and Systems. 18269–18276.
  10. [10]Judith Holler. 2022. Visual bodily signals as core devices for coordinating minds in interaction. Philosophical Trans. of the Royal Society B (2022), 1–15.
  11. [11]Chien-Ming Huang and Bilge Mutlu. 2014. Learning-based modeling of multi-modal behaviors for humanlike robots. In ACM/IEEE Int. Conf. on Human-Robot Interaction. 57–64.
  12. [12]Peide Huang, Yuhan Hu, Nataliya Nechyporenko, Daehwa Kim, Walter Talbott, and Jian Zhang. 2025. Emotion: Expressive motion sequence generation for humanoid robots with in-context learning. IEEE Robotics and Automation Letters (2025), 7699–7706.
  13. [13]Nusr ah Hussain, Engin Erzin, T Metin Sezgin, and Yücel Yemez. 2022. Training socially engaging robots: Modeling backchannel behaviors with batch reinforcement learning. IEEE Trans. on Affective Computing (2022), 1840–1853.
  14. [14]A. J. Ijspeert, J. Nakanishi, and S. Schaal. 2002. Movement imitation with non-linear dynamical systems in humanoid robots. In IEEE Int. Conf. on Robotics and Automation. 1398–1403.
  15. [15]Yusuke Kato, Takayuki Kanda, and Hiroshi Ishiguro. 2015. May I help you? Design of human-like polite approaching behavior. In ACM/IEEE Int. Conf. on Human-Robot Interaction. 35–42.DOI
  16. [16]Michael Kipp, Michael Neff, Kerstin H Kipp, and Irene Albrecht. 2007. Towards natural gesture synthesis: Evaluating gesture units in a data-driven approach to gesture synthesis. In Intelligent Virtual Agents. 15–28.
  17. [17]Taras Kucherenko, Rajmund Nagy, Michael Neff, Hedvig Kjellström, and Gustav Eje Henter. 2022. Multimodal Analysis of the Predictability of Hand-gesture Properties. In Int. Conf. on Autonomous Agents and Multiagent Systems (AAMAS ’22). 770–779.
  18. [18]K. Niranjan Kumar, Irfan Essa, and Seehoon Ha. 2023. Words into Action: Learning Diverse Humanoid Behaviors using Language Guided Iterative Motion Refinement. In 2nd Workshop on Language and Robot Learning: Language as Grounding.
  19. [19]John Lasseter. 1987. Principles of traditional animation applied to 3D computer animation. In Annual Conf. on Computer Graphics and Interactive Techniques (SIGGRAPH ’87). 35–44.
  20. [20]Nicola Leonardi, Marco Manca, Fabio Paternò, and Carmen Santoro. 2019. Trigger-action programming for personalising humanoid robot behaviour. In ACM Conf. on Human Factors in Computing Systems. 1–13.
  21. [21]Jan M. Lewis. 2015. The benefit of being physically present: A survey of experimental works comparing copresent robots, telepresent robots and virtual agents. Int. J. of Human-Computer Studies (2015), 23–37.
  22. [22]Sin-Ru Lu, Jia-Hsun Lo, Yi-Tian Hong, and Han-Pang Huang. 2024. Implementation of Engagement Detection for Human–Robot Interaction in Complex Environments.DOI
  23. [23]Karthik Mahadevan, Jonathan Chien, Noah Brown, Zhuo Xu, Carolina Parada, Fei Xia, Andy Zeng, Leila Takayama, and Dorsa Sadigh. 2024. Generative expressive robot behaviors using large language models. In ACM/IEEE Int. Conf. on Human-Robot Interaction. 482–491.DOI
  24. [24]Mina Marmpena, Angelica Lim, Torbjørn S Dahl, and Nikolas Hemion. 2019. Generating robotic emotional body language with variational autoencoders. In Int. Conf. on Affective Computing and Intelligent Interaction. 545–551.DOI
  25. [25]Izidor Mlakar, Zdravko Kačić, and Matej Rojc. 2013. TTS-Driven Synthetic Behaviour-Generation Model for Artificial Bodies. Int. J. of Advanced Robotic Systems (2013), 1–20.DOI
  26. [26]Michael Murray, Nick Walker, Amal Nanavati, Patricia Alves-Oliveira, Nikita Filippov, Allison Sauppe, Bilge Mutlu, and Maya Cakmak. 2022. Learning Backchanneling Behaviors for a Social Robot via Data Augmentation from Human-Human Conversations. In Conf. on Robot Learning. PMLR, 513–525.
  27. [27]Victor Ng-Thow-Hing, Pengcheng Luo, and Sandra Okita. 2010. Synchronized gesture and speech production for humanoid robots. In IEEE/RSJ Int. Conf. on Intelligent Robots and Systems. 4617–4624.
  28. [28]Simbarashe Nyatsanga, Taras Kucherenko, Chaitanya Ahuja, Gustav Eje Henter, and Michael Neff. 2023. A comprehensive review of data-driven co-speech gesture generation. In Computer Graphics Forum. 569–596.
  29. [29]Jeongseok Oh and SeungJun Kim. 2025. MoWa: An Authoring Tool for Refining AI-Generated Human Avatar Motions Through Latent Waveform Manipulation. In Conf. on Human Factors in Computing Systems. Article 1240.DOI
  30. [30]Artemiy Oleinikov, Sanzhar Kusdavletov, Almas Shintemirov, and Matteo Rubagotti. 2021. Safety-aware nonlinear model predictive control for physical human-robot interaction. IEEE Robotics and Automation Letters (2021), 6565–6572.
  31. [31]Alexandros Parasch os, Christian Daniel, Jan R Peters, and Gerhard Neumann. 2013. Probabilistic movement primitives. Advances in neural information processing systems 26 (2013).
  32. [32]David Porfirio, Evan Fisher, Allison Sauppé, Aws Albarghouthi, and Bilge Mutlu. 2019. Bydostorming human-robot interactions. In ACM Symp. on User Interface Software and Technology. 479–491.
  33. [33]David Porfirio, Allison Sauppé, Aws Albarghouthi, and Bilge Mutlu. 2018. Authoring and verifying human-robot interactions. In ACM Symp. on User Interface Software and Technology. 75–86.DOI
  34. [34]David Porfirio, Allison Sauppé, Aws Albarghouthi, and Bilge Mutlu. 2020. Transforming robot programs based on social context. In Conf. on Human Factors in Computing Systems. 1–12.DOI
  35. [35]David Porfirio, Laura Stegner, Maya Cakmak, Allison Sauppé, Aws Albarghouthi, and Bilge Mutlu. 2023. Sketching robot programs on the fly. In ACM/IEEE Int. Conf. on Human-Robot Interaction. 584–593.DOI
  36. [36]Liam Roy, Elizabeth A Croft, Alex Ramirez, and Dana Kulić. 2025. GPT-Driven Gestures: Leveraging Large Language Models to Generate Expressive Robot Motion for Enhanced Human-Robot Interaction. IEEE Robotics and Automation Letters (2025), 4172–4179.DOI
  37. [37]Chao Shi, Takayuki Kanda, Michihiro Shimada, Fumitaka Yamaoka, Hiroshi Ishiguro, and Norihiro Hagita. 2010. Easy development of communicative behaviors in social robots. In IEEE/RSJ Int. Conf. on Intelligent Robots and Systems. 5302–5309.
  38. [38]Toshiyuki Shiwa, Takayuki Kanda, Michita Imai, Hiroshi Ishiguro, and Norihiro Hagita. 2008. How quickly should communicative robots respond? In ACM/IEEE Int. J. Conf. on Human Robot Interaction. 153–160.
  39. [39]Jia Chuan A. Tan, Wesley P. Chan, Nicole L. Robinson, Elizabeth A. Croft, and Dana Kulic. 2021. A Proposed Set of Communicative Gestures for Human Robot Interaction and an RGB Image-based Gesture Recognizer Implemented in ROS. arXiv:2109.09908 [cs.RO]
  40. [40]Frank Thomas and Ollie Johnston. 1995. The Illusion of Life: Disney Animation. New York: Disney Editions (1995).
  41. [41]Bram Willemsen, Jan de Wit, Emil Krahmer, Mirjam de Haas, and Paul Vogt. 2018. Context-sensitive Natural Language Generation for robot-assisted second language tutoring. In Workshop on NLG for Human–Robot Interaction. 1–7.
  42. [42]Hongwei Yi, Hualin Liang, Yifei Liu, Qiong Cao, Yandong Wen, Timo Bolkart, Dacheng Tao, and Michael Black. 2023. Generating holistic 3d human motion from speech. In IEEE/CVF Conf. on Computer Vision and Pattern Recognition. 469–480.arxiv.org/abs/2212.04420
  43. [43]Tan Yu, Jingjing Wang, Jiawen Wang, Jiamin Luo, and Guodong Zhou. 2024. Towards Emotion-enriched Text-to-Motion Generation via LLM-guided Limb-level Emotion Manipulating. In ACM Int. Conf. on Multimedia. 612–621.

Paper details

vlnc:W_5zrvteux
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents