Akapulu Labs logo Akapulu Labs Research

Sonic

Sonic: Shifting Focus to Global Audio Perception in Portrait Animation

Sonic — method overview

Sonic is an audio-driven portrait animation method focusing on global audio perception to produce natural, temporally consistent talking-face videos. It disentangles audio into intra- and inter-clip perception to guide lip sync, expression, and head motion without relying on visual cues.

  • audio-driven
  • talking-face
  • portrait-animation
  • lip-sync
  • head-pose
  • face-animation

Authors: Xiaozhong Ji, Xiaobin Hu, Zhihong Xu, Junwei Zhu, Chuming Lin, Qingdong He, Jiangning Zhang, Donghao Luo, Yi Chen, Qin Lin, Qinglin Lu, Chengjie Wang

Categories: cs.MM, cs.CV, cs.GR, cs.SD, eess.AS

Comment: refer to our main-page \url{https://jixiaozhong.github.io/Sonic/}

Published 2024-11-25 · Updated 2025-06-05

Abstract

The study of talking face generation mainly explores the intricacies of synchronizing facial movements and crafting visually appealing, temporally-coherent animations. However, due to the limited exploration of global audio perception, current approaches predominantly employ auxiliary visual and spatial knowledge to stabilize the movements, which often results in the deterioration of the naturalness and temporal inconsistencies.Considering the essence of audio-driven animation, the audio signal serves as the ideal and unique priors to adjust facial expressions and lip movements, without resorting to interference of any visual signals. Based on this motivation, we propose a novel paradigm, dubbed as Sonic, to {s}hift f{o}cus on the exploration of global audio per{c}ept{i}o{n}.To effectively leverage global audio knowledge, we disentangle it into intra- and inter-clip audio perception and collaborate with both aspects to enhance overall perception.For the intra-clip audio perception, 1). \textbf{Context-enhanced audio learning}, in which long-range intra-clip temporal audio knowledge is extracted to provide facial expression and lip motion priors implicitly expressed as the tone and speed of speech. 2). \textbf{Motion-decoupled controller}, in which the motion of the head and expression movement are disentangled and independently controlled by intra-audio clips. Most importantly, for inter-clip audio perception, as a bridge to connect the intra-clips to achieve the global perception, \textbf{Time-aware position shift fusion}, in which the global inter-clip audio information is considered and fused for long-audio inference via through consecutively time-aware shifted windows. Extensive experiments demonstrate that the novel audio-driven paradigm outperform existing SOTA methodologies in terms of video quality, temporally consistency, lip synchronization precision, and motion diversity.


Introduction

Sonic is a one-stage audio-driven portrait animation method that aims to move beyond the common practice of stabilizing talking-face generation with auxiliary visual motion cues such as motion frames, overlapping clips, or other spatial priors. The paper argues that, for audio-driven animation, the audio signal itself is the most appropriate and unique prior for driving lip movement, facial expression, and head motion. Its central thesis is that existing methods underuse global audio perception, and that this underuse leads to reduced naturalness, temporal jitter, and inconsistent long-video generation.

The method is designed for the standard setting of a single portrait reference image plus an input audio track. Sonic is positioned as a unified paradigm that separates audio understanding into intra-clip and inter-clip perception. Intra-clip perception focuses on extracting temporal cues inside each audio segment to guide local facial dynamics, while inter-clip perception bridges adjacent segments so long-audio inference can remain coherent across clip boundaries.

Sonic excels in producing vivid portrait animation videos given a reference image and an audio clip. Beyond its fundamental lip-syncing capabilities, Sonic demonstrates proficiency in creating a diverse spectrum of facial expressions and adaptable head movements. Notably, when dealing with extented videos, Sonic can yield stable and seamless outcomes in a parallel fashion, all while maintaining an unified paradigm focusing on global audio perception.
Sonic excels in producing vivid portrait animation videos given a reference image and an audio clip. Beyond its fundamental lip-syncing capabilities, Sonic demonstrates proficiency in creating a diverse spectrum of facial expressions and adaptable head movements. Notably, when dealing with extented videos, Sonic can yield stable and seamless outcomes in a parallel fashion, all while maintaining an unified paradigm focusing on global audio perception.

The paper’s framing is especially important for talking-head / conversational-AI applications where both synchronization and conversational expressiveness matter. Instead of using external visual motion hints to regularize generation, Sonic attempts to let audio alone determine the motion trajectory, with explicit mechanisms for long-range audio context, disentangled motion control, and seamless long-audio denoising.

Method Overview

Sonic consists of three core components: context-enhanced audio learning, motion-decoupled controller, and time-aware position shift fusion. The overall system is initialized from stable-video-diffusion-xt-1-1 for both the spatial and temporal modules, and it is trained in a single stage. In inference, the model uses multi-condition classifier-free guidance (CFG) and supports controllable motion strength through a dynamic scale parameter.

Framework of our approach. Sonic processes each clip of the long audio in parallel, shifting to a new context at each time step to progressively fuse inter-clip latent features across global audio perception. In Sonic, we enhance intra-clip temporal audio context learning and decouple motion to improve dynamics.
Framework of our approach. Sonic processes each clip of the long audio in parallel, shifting to a new context at each time step to progressively fuse inter-clip latent features across global audio perception. In Sonic, we enhance intra-clip temporal audio context learning and decouple motion to improve dynamics.

Context-Enhanced Audio Learning

The first module is intended to extract long-range temporal cues from audio and inject them directly into the diffusion U-Net, without relying on motion frames or other visual motion priors. The paper uses Whisper-Tiny as the audio encoder, emphasizing that it is lighter than the Wav2Vec-based encoders used by many prior works. For each audio frame, the features from the last layers of five stages are concatenated to build a multi-scale representation. The authors state that each video frame is conditioned on about 0.2 s of audio context.

After feature extraction, three linear layers project the audio tokens to the cross-attention dimension. If the transformed audio embedding is written as $c_a \in \mathbb{R}^{b \times f \times d \times c}$, then the spatial latent features $z_s$ are updated by audio-guided cross-attention inside the face region mask $M$:

$$z_s' = z_s + \operatorname{CrossAttn}(Q(z_s), K(c_a), V(c_a)) \cdot M.$$

Here, $M$ is determined from the joint face bounding boxes so that the audio guidance is focused on the talking-head area. This design is meant to improve both appearance fidelity and local motion alignment by letting audio directly condition the spatial denoising process.

Sonic also introduces a temporal audio cross-attention path. The latent after temporal self-attention is reshaped to $z_t \in \mathbb{R}^{(b \times h \times w) \times f \times c}$. To keep computation manageable, the audio representation is average-pooled along the temporal axis to produce temporal embeddings $c_{ta}$, which are then repeated across spatial locations and injected into the temporal denoising blocks:

$$z_t' = z_t + \operatorname{CrossAttn}(Q(z_t), K(c_{ta}), V(c_{ta})).$$

The paper’s interpretation is that audio provides a long-range signal containing tone, rhythm, and speech speed, which implicitly encode priors for expression intensity and head movement. Temporal audio attention is therefore responsible for motions that are strongly synchronized with speech, such as lip movement and content-related facial expression changes.

Motion-Decoupled Controller

The second module handles motion factors that are only weakly correlated with audio, especially habitual head motion and perspective variation. The goal is to disentangle these motion patterns into separate, user-controllable components so that animation can remain expressive without collapsing into over-smoothing or over-constraint.

During training, two integer motion buckets in the range $[0, 128]$ are derived from the clip: the translation bucket $m_t$ is computed from the variance of bounding boxes, and the expression bucket $m_e$ is computed from the variance of relative landmarks. These are encoded with position embeddings and a linear projection:

$$emb = W[\operatorname{Pe}(m_t), \operatorname{Pe}(m_e)].$$

In inference, Sonic can either use user-adjusted motion settings or predict them automatically from the audio and the reference image. The predicted buckets are generated by an audio-to-bucket network $E_b(c_a, R_{img})$ and then scaled by a dynamic factor $\beta$:

$$m_t', m_e' = \beta \times E_b(c_a, R_{img}).$$

The paper reports three scale settings: $\beta = 0.5$ for mild dynamics, $\beta = 1.0$ for moderate dynamics, and $\beta = 2.0$ for intense dynamics. This mechanism is intended to support both automatic motion prediction and direct controllability for lip, expression, and head motion, making the system more suitable for interactive use cases.

Time-Aware Position Shift Fusion

The third module is the method’s long-video strategy. Existing approaches often rely on motion frames or overlap-based segment fusion to maintain temporal consistency, but these methods either restrict receptive field or add computational overhead. Sonic instead proposes time-aware position shift fusion, which expands intra-clip audio perception into a global inter-clip mechanism by progressively shifting the denoising window across time.

Illustration of the proposed time-aware position-shift fusion. The model processes each clip non-overlapping. In next timestep, the model starts from a new position determined by the offset, thereby integrating long-range context. Specifically, the tail latents are filled cyclically from the head.
Illustration of the proposed time-aware position-shift fusion. The model processes each clip non-overlapping. In next timestep, the model starts from a new position determined by the offset, thereby integrating long-range context. Specifically, the tail latents are filled cyclically from the head.

The mechanism is organized as two nested loops. The outer loop follows the reverse diffusion process over timesteps, while the inner loop slides over the long sequence with non-overlapping clips. At each timestep, the start point is shifted by an accumulated offset $\alpha_\Sigma$, and the model denoises the current clip conditioned on the correspondingly shifted audio segment. When the shifted index exceeds the sequence length, circular padding is used so that the beginning of the clip can be wrapped to the end.

In algorithmic form, the model denoises clips $z_t^{[s,e]}$ from audio segments $c_a^{[s,e]}$ and updates the accumulated offset as $\alpha_\Sigma \leftarrow \alpha_\Sigma + \alpha$ after each diffusion step. The paper emphasizes that this strategy preserves the audio-video correspondence while enlarging temporal context, and that it does so without extra training cost or extra inference time from overlap recomputation.

The paper also provides a simple compute comparison. If a single forward pass has FLOPs $\Omega$, the video length is split into $n$ clips of length $f$, and denoising uses $T$ steps, then Sonic’s shift-fusion cost is written as $\Omega \times T \times n$. By contrast, overlap-based fusion reprocesses overlapped latent regions, and motion-frame based approaches add additional reference-network and motion-module overhead. The stated point is that Sonic improves long-range coherence while remaining efficient.

Experiments

Experimental Setup

Training is performed in a single stage. The model is initialized from stable-video-diffusion-xt-1-1. To make the network robust to missing conditions, the training data is manipulated so that 5% of samples drop audio, another 5% drop the image condition, and another 5% drop both conditions. At inference time, the paper uses multi-condition CFG with the reference-image CFG set to 2.0 and the audio CFG set to 7.5. The full model uses $\beta = 1.0$ and shift offset $\alpha = 7$.

The training set is formed by aggregating open-source data from VFHQ, CelebV-Text, and VoxCeleb2. Evaluation is conducted on two commonly used test sets: HDTF and CelebV-HQ. The paper states that it randomly selects 100 four-second clips from HDTF and 50 four-second clips from CelebV-HQ.

The reported metrics include FID and FVD for visual fidelity and video realism; E-FID and F-SIM for expression quality and facial similarity; Sync-C and Sync-D from SyncNet for lip synchronization; Smooth from VBench for temporal smoothness; and Dynamic for motion amplitude in ablations.

Main Quantitative Results

Sonic is compared against SadTalker, AniPortrait, V-Express, Hallo, Hallo2, and EchoMimic. The paper reports that Sonic achieves the best or near-best performance on most metrics, with particularly strong gains in image/video quality, synchronization, and smoothness.

Dataset Method FID ↓ FVD ↓ Sync-C ↑ Sync-D ↓ E-FID ↓ F-SIM ↑ Smooth ↑ Runtime ↓
HDTFSadTalker61.672397.1141.75510.6952.4820.92870.99613.75
AniPortrait36.965471.4521.09512.4613.1610.95080.992144.03
V-Express47.396758.0231.25612.3942.6340.90930.996839.04
Hallo30.176347.3584.0609.5511.7920.95550.994174.65
Hallo238.673328.5404.1369.4652.2030.96060.994245.75
EchoMimic33.207384.3042.51410.7431.4860.95270.99345.45
Sonic29.104301.1734.1979.3711.7450.95950.997017.04
CelebV-HQSadTalker57.574841.9621.97810.9152.2520.94340.99593.75
AniPortrait53.746590.3730.99612.0843.2960.95220.991144.03
V-Express65.400889.9850.80913.2552.7130.90190.996539.04
Hallo47.403488.4992.68010.2922.2730.96070.994274.65
Hallo252.396481.3362.63810.3432.8190.95870.994245.75
EchoMimic48.267596.8701.94910.7542.1360.96120.99325.45
Sonic43.137483.1082.68910.1941.7830.96240.997217.04

On HDTF, Sonic attains the best FID, FVD, Sync-C, Sync-D, and Smooth. On CelebV-HQ, Sonic again obtains the best FID, Sync-C, Sync-D, E-FID, F-SIM, and Smooth, while its FVD is second best behind Hallo2. The runtime reported in the table is 17.04, which is faster than motion-frame or overlap-based long-video strategies discussed in the paper’s inference comparison, but slower than some lightweight baselines that do not provide the same range of motion and quality.

Qualitative Behavior

The qualitative comparisons show that prior methods tend to depend on motion frames or other stabilization signals, which can limit motion richness and make facial movement feel constrained. Sonic instead leverages audio-centric long-range perception, and the paper claims this produces broader expression variation and more natural head movement. The authors also show results for multiple portrait styles, including real human, animation, and 3D portraits, and for audio durations ranging from around 20 seconds up to 10 minutes.

Qualitative comparisons with State-of-the-Art talking head generation methods. Due to image does not reflect important sync, naturalness and stability, the full video comparison will be included in supplementary materials as well as comparison with demos from other non-open source works.
Qualitative comparisons with State-of-the-Art talking head generation methods. Due to image does not reflect important sync, naturalness and stability, the full video comparison will be included in supplementary materials as well as comparison with demos from other non-open source works.
Qualitative results under different styles of portrait images and various types of audio inputs. The images and audios were collected from recent works and the Internet. The upper section presents results for audio input ranging from 20 seconds to 2 minutes in duration, while the lower section shows results for longer audio inputs, up to 10 minutes. Our Sonic demonstrates versatility across various portrait styles and maintains vividness over extended durations.
Qualitative results under different styles of portrait images and various types of audio inputs. The images and audios were collected from recent works and the Internet. The upper section presents results for audio input ranging from 20 seconds to 2 minutes in duration, while the lower section shows results for longer audio inputs, up to 10 minutes. Our Sonic demonstrates versatility across various portrait styles and maintains vividness over extended durations.

User Study

The paper reports a subjective evaluation with 40 participants who scored results from five methods on a 1-to-5 scale along four dimensions: lip sync, motion diversity, identity consistency, and video smoothness. Sonic is ranked highest in all four categories.

Method Lip sync Motion diversity ID consistency Video smoothness
AniPortrait1.421.623.112.09
SadTalker1.982.342.952.95
EchoMimic2.772.653.482.71
Hallo23.152.373.342.94
Sonic4.58 (45%↑)4.55 (72%↑)4.29 (23%↑)4.66 (58%↑)

Ablation Studies

Ablation study of intra-clip and inter-clip components and adjustable parameters. (a): Visual results for ablation on temporal audio attention and motion controller. (b): Demonstration for time-aware shift fusion. (c): Visual results compared with motion frames and overlapping. (d-f): Adjustability over lip, expression, and head movements.
Ablation study of intra-clip and inter-clip components and adjustable parameters. (a): Visual results for ablation on temporal audio attention and motion controller. (b): Demonstration for time-aware shift fusion. (c): Visual results compared with motion frames and overlapping. (d-f): Adjustability over lip, expression, and head movements.

The ablations isolate the contribution of temporal audio attention, motion control, and shift fusion on CelebV-HQ. Removing any of these components hurts synchronization, expression fidelity, or motion richness. The motion controller is especially important on CelebV-HQ, which contains more movement that is only weakly correlated with audio.

Method / Metric Sync-C ↑ Sync-D ↓ E-FID ↓ Smooth ↑ Dynamic ↑
w/o temporal-audio2.61010.3102.3110.99690.62
w/o motion-controller2.19310.7313.2310.99690.22
w/o shift-fusion2.50910.3792.2020.99690.76
Ours-Mild ($\beta = 0.5$)2.65510.2422.0600.99700.78
Ours-Intense ($\beta = 2.0$)2.80310.1252.0380.99690.98
Ours-Moderate ($\beta = 1.0$)2.68910.1941.7830.99720.86

The paper’s key ablation observations are:

  • Removing temporal audio attention lowers lip-sync and worsens E-FID, showing that local speech context matters for fine expression control.
  • Removing the motion controller causes the largest drop in dynamic range, indicating that explicit disentanglement is important for non-speech motion such as head movement.
  • Removing shift fusion degrades both synchronization and smoothness in long-video inference, confirming the importance of inter-clip audio perception.
  • Increasing $\beta$ amplifies motion diversity and sync, but overly large values can slightly reduce stability and expression similarity.

Long-Video Inference Comparison

For extended generation, Sonic is compared with motion-frame-based and overlap-based strategies using 8 frames. The shift-fusion method achieves the best synchronization and smoothness while also being the fastest of the three reported long-video strategies.

Method Sync-C ↑ Sync-D ↓ Smooth ↑ Runtime ↓
Motion frames (8)2.46510.3230.996919.70
Overlap (8)2.54410.2650.996922.49
Shift-fusion2.68910.1940.997217.04

The paper also notes that the smoothest result in the ablation over the offset parameter occurs at $\alpha = 7$, matching the value used in the full model.

Discussion, Scope, and Limitations

The paper does not include a separate limitations section, so the following remarks are restricted to what is explicitly stated in the body. Sonic is designed for the specific problem of audio-driven portrait animation from a single reference image and audio track. It is trained and evaluated with pretrained components, notably Whisper-Tiny for audio encoding and Stable Video Diffusion initialization for the denoising backbone. The method also relies on face bounding boxes and relative landmarks to form motion buckets, which means its controllable motion design is tied to the availability of these preprocessing signals during training.

Within that scope, the authors claim the main advantage is a better balance of video quality, temporal consistency, lip synchronization, and motion diversity without resorting to motion-frame guidance. The paper’s experiments support this claim on HDTF and CelebV-HQ, and the qualitative examples suggest robustness across different portrait styles and long audio durations.

Conclusion

Sonic proposes a global-audio-first paradigm for portrait animation. Its technical contribution is the combination of context-enhanced audio learning for intra-clip control, a motion-decoupled controller for explicit head/expression disentanglement, and time-aware position shift fusion for efficient long-video inference. Across the reported benchmarks and user study, the method improves synchronization, motion diversity, and temporal smoothness relative to the compared baselines, while also providing a controllable dynamic range through the scale parameter $\beta$.

Code & Implementation

The Sonic repository implements the framework described in the paper, focusing on global audio perception for portrait animation. The core implementation is encapsulated in sonic.py, which defines a Sonic class loading pre-trained models including a temporal VAE, a spatio-temporal UNet, audio projection and bucket models, and a Whisper audio model to extract detailed audio features.

The repository integrates multiple components such as audio encoders to capture intra- and inter-clip temporal audio context, a motion-decoupled controller via the audio2bucket model, and a diffusion-based generative pipeline (SonicPipeline) for video frame synthesis. The demo.py script uses this Sonic class for inference by preprocessing input images and audio, then generating output videos demonstrating pose and facial animation consistent with the global audio perception paradigm proposed in the paper.

This high-level modular design leverages several submodules under src/ and configuration files under config/inference/ to enable flexible and efficient portrait animation from long-audio inputs by focusing solely on audio-driven cues without relying on auxiliary visual data.

To run inference, the README suggests executing demo.py with input image, audio, and output video paths, where preprocessing and model sampling steps are internally managed by the Sonic class.