TL;DR
This paper introduces Kernel-based Hidden Markov Models (KHMMs) for synthesizing dynamic sequences, like human motion, from related input sequences, such as music. By using kernel functions to model state observation densities, KHMMs can capture fine details and stylistic variations in the output, outperforming traditional HMMs in synthesis accuracy.
What Problem Does This Paper Address?
Modeling and synthesizing dynamic sequences, where one sequence (e.g., human motion) needs to be generated based on another related sequence (e.g., music), is a challenging problem. Traditional approaches often struggle to capture the complex, non-linear relationships between input and output, leading to outputs that lack fine details or stylistic variations. For instance, synthesizing a conductor's gestures from music requires not only following the beat but also capturing the nuanced expressiveness that varies with musical style. Existing Hidden Markov Models (HMMs) are typically designed for recognition tasks and, when adapted for synthesis, often rely on parametric models (like Gaussians) that smooth over important details or require complex, intractable extensions.
Methods
The core contribution is the Kernel-based Hidden Markov Model (KHMM). Unlike standard HMMs that use parametric models for state observation densities, KHMMs employ kernel-based functions. This allows them to model the joint distribution of input and output within each state in a non-parametric way, essentially learning from samples.
Key methodological aspects include:
- Unified Framework: KHMMs learn the dynamics of both input and output within a single framework, modeling the joint probability $p(\text{Input, Output} | \text{State})$.
- Kernel-based State Observation Density: Instead of parametric distributions, KHMMs use kernel functions (specifically, Gaussian kernels are discussed) to approximate the state observation density. This allows for a richer representation of the data, capturing subtle details.
- Monte Carlo Estimation: To efficiently estimate these kernel-based densities, a Monte Carlo method (specifically, likelihood-weighted sampling) is used.
- Synthesis via Maximum Likelihood: Given a new input sequence, the KHMM is used to find the most likely output sequence that best fits the learned model, formulated as a maximum likelihood problem.
- Virtual Conductor Implementation: The paper demonstrates the KHMM by building a "virtual conductor" system that synthesizes conducting gestures from music. This involves representing motion data as a high-dimensional vector of positions and velocities and music features by loudness, pitch, and beat.
Datasets
The paper uses a custom dataset of a professional conductor performing various musical pieces. The details of six specific musical pieces used for training are provided in Table 1, including their rhythm, time signature, and frame counts. No new benchmark datasets are introduced.
Key Insights and Ideas
- Non-parametric density estimation is crucial for synthesis: Parametric models in traditional HMMs are too smooth and fail to capture the fine-grained stylistic variations essential for realistic synthesis. KHMMs' non-parametric approach using kernel densities addresses this.
- Joint modeling of input and output dynamics is key: By modeling $p(\text{Input, Output} | \text{State})$, KHMMs can learn how input features directly influence output dynamics, leading to more context-aware synthesis.
- Kernel-based representation enriches synthesis: Using kernels allows the synthesized output to distribute around learned samples, providing stylistic variations without losing fine details, unlike simply interpolating between state means.
- Initialization matters for EM training: The paper highlights that using K-Means clustering for initialization significantly improves the learning curves and likelihood of the KHMM compared to random initialization.
Key Results
- Improved Synthesis Accuracy: The KHMM demonstrates significantly lower synthesis error compared to traditional Gaussian and mixture of Gaussian HMMs, as shown in Table 2. For the "Carmen" music example, KHMM achieved an error of 8.4%, compared to 12.7% for Mixture Gaussian (20 states, 4 mixtures) and 7.9% for Single Gaussian.
- Realistic Stylistic Variations: The synthesized conducting gestures exhibit noticeable stylistic variations that correspond to different musical styles (e.g., slow vs. quick tempo), as visually demonstrated in Figure 8.
- Efficient Training and Synthesis: The training and synthesis algorithms are described as efficient, with computational complexity of $O(T N_k N^2)$, where $T$ is sequence length, $N_k$ is kernel number, and $N$ is state number.
Limitations and Future Work
- Model Selection Complexity: Determining the optimal number of states ($N$) and kernels ($N_k$) requires empirical cross-validation, which can be computationally intensive.
- Manual Beat Tracking: The current system relies on pre-defined music features and does not automatically track beats in music.
- Future Directions: The authors suggest investigating automatic beat tracking in music, applying KHMMs to other human motion tasks (virtual dancers, motion editing, retargeting), and exploring methods for blending models learned from different musical pieces.
Summary updated