Papers › CodeTalker: Speech-Driven 3D Facial Animation with Discrete Motion Prior

CodeTalker: Speech-Driven 3D Facial Animation with Discrete Motion Prior

6 Jan 2023CVPR 2023 1arXiv:2301.02379archive 2025-07-28

Jinbo Xing, Menghan Xia, Yuechen Zhang, Xiaodong Cun, Jue Wang, Tien-Tsin Wong

Speech-driven 3D facial animation has been widely studied, yet there is still a gap to achieving realism and vividness due to the highly ill-posed nature and scarcity of audio-visual data. Existing works typically formulate the cross-modal mapping into a regression task, which suffers from the regression-to-mean problem leading to over-smoothed facial motions. In this paper, we propose to cast speech-driven facial animation as a code query task in a finite proxy space of the learned codebook, which effectively promotes the vividness of the generated motions by reducing the cross-modal mapping uncertainty. The codebook is learned by self-reconstruction over real facial motions and thus embedded with realistic facial motion priors. Over the discrete motion space, a temporal autoregressive model is employed to sequentially synthesize facial motions from the input speech signal, which guarantees lip-sync as well as plausible facial expressions. We demonstrate that our approach outperforms current state-of-the-art methods both qualitatively and quantitatively. Also, a user study further justifies our superiority in perceptual quality.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2301.02379")

Code

Syntology Ran 2 of 13 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Doubiiu/CodeTalker officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 2 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
1ran
11unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from Doubiiu/CodeTalker. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

enc_dec_mask Doubiiu/CodeTalker/models/utils.py official repository ran MIT (permissive) · d7523a5532d72598 · report
main_process Doubiiu/CodeTalker/base/utilities.py official repository ran · violated contract MIT (permissive) · 06fca4c705811abe · report
calc_logit_loss Doubiiu/CodeTalker/metrics/loss.py official repository unverified MIT (permissive) · acb64f2fa917ebe2 · report
calc_vq_loss Doubiiu/CodeTalker/metrics/loss.py official repository unverified MIT (permissive) · 87e078575d34ea1b · report
create_attention_mask_from_input_mask Doubiiu/CodeTalker/utils/base_model_util.py official repository unverified MIT (permissive) · 6724d3c3b405ad31 · report
create_look_ahead_mask Doubiiu/CodeTalker/utils/base_model_util.py official repository unverified MIT (permissive) · 3130054bb4fb2580 · report
dropout Doubiiu/CodeTalker/utils/base_model_util.py official repository unverified MIT (permissive) · 9ffc1505608f8450 · report
init_biased_mask Doubiiu/CodeTalker/models/utils.py official repository unverified MIT (permissive) · 1466011fe70e2a6c · report
load_cfg_from_cfg_file Doubiiu/CodeTalker/base/config.py official repository unverified MIT (permissive) · 277a13798d6d6981 · report
merge_cfg_from_list Doubiiu/CodeTalker/base/config.py official repository unverified MIT (permissive) · 4efe685c6fb1ec11 · report
poly_learning_rate Doubiiu/CodeTalker/base/baseTrainer.py official repository unverified MIT (permissive) · 02e70a983f480c01 · report
state_dict_remove_module Doubiiu/CodeTalker/base/baseTrainer.py official repository unverified MIT (permissive) · 1ef9cd6baadd5b76 · report
step_learning_rate Doubiiu/CodeTalker/base/baseTrainer.py official repository unverified MIT (permissive) · a72b06550626f858 · report

Tasks

3D Face Animationregression

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
3D Face Animation BEAT2 CodeTalker MSE 8.026 #4 of 5 Archive leaderboard report
3D Face Animation Biwi 3D Audiovisual Corpus of Affective Communication - B3D(AC)^2 CodeTalker FDD 4.1170 #4 of 5 Archive leaderboard report
3D Face Animation Biwi 3D Audiovisual Corpus of Affective Communication - B3D(AC)^2 CodeTalker Lip Vertex Error 4.7914 #4 of 5 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformerVQ-VAE

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections