SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.03258 · ICLR · 2024

LipVoicer: Generating Speech from Silent Videos Guided by Lip Reading

Ethan Fetaya, Aviv Shamsian, Yochai Yemini, Lior Bracha, Sharon Gannot

arXiv · PDF · Open in the Atlas

Code that ran

5 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 1 failure of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2306.03258.json · badge: /api/ran/2306.03258.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
yochaiye/LipVoicer canonical (classifier label)
classifier basis: classifier_2025
5 ran · 3 no recorded run
FunctionStatusWhere it lives
Conv Ran
ran on a synthesized input · constructed an object; no result was computed
yochaiye/LipVoicer/models/wavenet.py
code served (permissive licence) · get_code("f032578320789982")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Conv: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'in_channels': 3,
    'out_channels': 16,
    'kernel_size': 3,
    'dilation': 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Conv output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Residual_block Ran
ran on a synthesized input · constructed an object; no result was computed
yochaiye/LipVoicer/models/wavenet.py
code served (permissive licence) · get_code("d728998acc977b7e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Residual_block: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

# Define the Conv class as it's used in Residual_block
class Conv(nn.Module):
    def __init__(self, in_channels, out_channels, kernel_size=3, dilation=1):
        super(Conv, self).__init__()
        self.padding = dilation * (kernel_size - 1) // 2
        self.conv = nn.Conv1d(in_channels, out_channels, kernel_size, dilation=dilation, padding=self.padding)
        self.conv = nn.utils.weight_norm(self.conv)
        nn.init.kaiming_normal_(self.conv.weight)

    def forward(self, x):
        out = self.conv(x)
        return out

class Residual_block(nn.Module):
    def __init__(self, res_channels, skip_channels, dilation=1, diffusion_step_embed_dim_out=512, unconditional=True, mel_upsample=[16, 16], cond_feat_size=640):
        super(Residual_block, self).__init__()
        self.res_channels = res_channels
        self.fc_t = nn.Linear(diffusion_step_embed_dim_out, self.res_channels)
        self.dilated_conv_layer = Conv(self.res_channels, 2 * self.res_channels, kernel_size=3, dilation=dilation)
        self.unconditional = unconditional
        if not self.unconditional:
            self.upsample_conv2d = torch.nn.ModuleList()
            for s in mel_upsample:
                conv_trans2d = torch.nn.ConvTranspose2d(1, 1, (3, 2 * s), padding=(1, s // 2), stride=(1, s))
                conv_trans2d = torch.nn.utils.weight_norm(conv_trans2d)
                torch.nn.init.kaiming_normal_(conv_trans2d.weight)
                self.upsample_conv2d.append(conv_trans2d)
            self.mel_conv = Conv(cond_feat_size, 2 * self.res_channels, kernel_size=1)
        self.res_conv = nn.Conv1d(res_channels, res_channels, kernel_size=1)
        self.res_conv = nn.utils.weight_norm(self.res_conv)
        nn.init.kaiming_normal_(self.res_conv.weight)
        self.skip_conv = nn.Conv1d(res_channels, skip_channels, kernel_size=1)
        self.skip_conv = nn.utils.weight_norm(self.skip_conv)
        nn.init.kaiming_normal_(self.skip_conv.weight)

    def forward(self, input_data, mel_spec=None):
        x, diffusion_step_embed = input_data
        h = x
        B, C, L = x.shape
        assert C == self.res_channels
        part_t = self.fc_t(diffusion_step_embed)
        part_t = part_t.view([B, self.res_channels, 1])
        h = h + part_t
        h = self.dilated_conv_layer(h)
        if mel_spec is not None:
            assert not self.unconditional
            mel_spec = torch.unsqueeze(mel_spec, dim=1)
            mel_spec = torch.nn.functional.leaky_relu(self.upsample_conv2d[0](mel_spec), 0.4)
            mel_spec = torch.nn.functional.leaky_relu(self.upsample_conv2d[1](mel_spec), 0.4)
            mel_spec = torch.squeeze(mel_spec, dim=1)
            assert mel_spec.size(2) >= L
            if mel_spec.size(2) > L:
                mel_spec = mel_spec[:, :, :L]
            mel_spec = self.mel_conv(mel_spec)
            h = h + mel_spec
        out = torch.tanh(h[:, :self.res_channels, :]) * torch.sigmoid(h[:, self.res_channels:, :])
        res = self.res_conv(out)
        assert x.shape == res.shape
        skip = self.skip_conv(out)
        return ((x + res) * math.sqrt(0.5), skip)

# Create setup arguments
ARGS = {
    'res_channels': 4,
    'skip_channels': 3,
    'dilation': 1,
    'diffusion_step_embed_dim_out': 512,
    'unconditional': False,
    'mel_upsample': [16, 16],
    'cond_feat_size': 640,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Residual_block — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Residual_block output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Residual_group Ran
ran on a synthesized input · constructed an object; no result was computed
yochaiye/LipVoicer/models/wavenet.py
code served (permissive licence) · get_code("7cd0b35ab0c8d4d0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Residual_group: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math
import numpy as np

torch.manual_seed(0)

ARGS = {
    'res_channels': 64,
    'skip_channels': 128,
    'num_res_layers': 2,
    'dilation_cycle': 10,
    'diffusion_step_embed_dim_in': 128,
    'diffusion_step_embed_dim_mid': 256,
    'diffusion_step_embed_dim_out': 512,
    'unconditional': True,
    'mel_upsample': [16, 16],
    'cond_feat_size': 640,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Residual_group — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Residual_group output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ZeroConv1d Ran
ran on a synthesized input · constructed an object; no result was computed
yochaiye/LipVoicer/models/wavenet.py
code served (permissive licence) · get_code("66e65ec45aa60f3f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ZeroConv1d: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'in_channel': 3,
    'out_channel': 5,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ZeroConv1d — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ZeroConv1d output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
calc_diffusion_step_embedding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yochaiye/LipVoicer/models/wavenet.py
code served (permissive licence) · get_code("71f7821aa75eba0e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Create a batch of diffusion steps
# Shape: (batchsize, 1) as required by the function
diffusion_steps = torch.tensor([[5], [10]], dtype=torch.long)

# Embedding dimension - must be even
diffusion_step_embed_dim_in = 4

ARGS = {
    "diffusion_steps": diffusion_steps,
    "diffusion_step_embed_dim_in": diffusion_step_embed_dim_in,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float — no output shape is stated: observe_signature.py could not observe it (call:AssertionError)
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
WaveNet Not yet run
unverified (harvested, no recorded run)
yochaiye/LipVoicer/models/wavenet.py
code served (permissive licence) · get_code("c0206614f3d486ea")
How it ran

no invocation recorded.

sampling Not yet run
unverified (harvested, no recorded run)
yochaiye/LipVoicer/inference_real_video.py
code served (permissive licence) · get_code("4f55e2fd270242aa")
How it ran

no invocation recorded.

training_loss Not yet run
unverified (harvested, no recorded run)
yochaiye/LipVoicer/train_melgen.py
code served (permissive licence) · get_code("d0162a52c3fb7098")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 1 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
calc_diffusion_step_embedding
brick of this paper's assembly: helper
3 other papers
3 dated earlier · 1 only as an assembly brick
2009.09761 (2020-09)
DiffWave: A Versatile Diffusion Model for Audio Synthesis
2203.13508 (2022-03)
BDDM: Bilateral Denoising Diffusion Models for Fast and High-Quality Speech Synthesis
2204.09934 (2022-04)
FastDiff: A Fast Conditional Diffusion Model for High-Quality Speech Synthesis
Conv
brick of this paper's assembly: model
2 other papers
1 dated earlier, 1 later · 2 only as an assembly brick
2009.09761 (2020-09)
DiffWave: A Versatile Diffusion Model for Audio Synthesis
2608.24597 (2026-08)
Taming foundation model with invariance-oriented pre-training for broad-spectrum EEG analysis across signal-level, brain-state, and brain-health tasks
ZeroConv1d
brick of this paper's assembly: model
1 other paper
1 dated earlier · 1 only as an assembly brick
2009.09761 (2020-09)
DiffWave: A Versatile Diffusion Model for Audio Synthesis

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Lip-to-speech involves generating a natural-sounding speech synchronized with a soundless video of a person talking. Despite recent advances, current methods still cannot produce high-quality speech with high levels of intelligibility for challenging and realistic datasets such as LRS3. In this work, we present LipVoicer, a novel method that generates high-quality speech, even for in-the-wild and rich datasets, by incorporating the text modality. Given a silent video, we first predict the spoken text using a pre-trained lip-reading network. We then condition a diffusion model on the video and use the extracted text through a classifier-guidance mechanism where a pre-trained automatic speech recognition (ASR) serves as the classifier. LipVoicer outperforms multiple lip-to-speech baselines on LRS2 and LRS3, which are in-the-wild datasets with hundreds of unique speakers in their test set and an unrestricted vocabulary. Moreover, our experiments show that the inclusion of the text modality plays a major role in the intelligibility of the produced speech, readily perceptible while listening, and is empirically reflected in the substantial reduction of the word error rate (WER) metric. We demonstrate the effectiveness of LipVoicer through human evaluation, which shows that it produces more natural and synchronized speech signals compared to competing methods. Finally, we created a demo showcasing LipVoicer's superiority in producing natural, synchronized,

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2306.03258")
get_code_for_paper("2306.03258")
have("2306.03258")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2306.03258.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2306.03258.svg)](https://syntology.ai/paper/2306.03258)

Connect an agent — have() is free.