SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1804.03619 · 2018

Looking to Listen at the Cocktail Party: A Speaker-Independent Audio-Visual Model for Speech Separation

arXiv · PDF · Open in the Atlas

Code that ran

17 of 23 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 17 have no contract verdict; 0 failures of our instrument; 6 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/1804.03619.json · badge: /api/ran/1804.03619.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
bill9800/speech_separation community (classifier label)
classifier basis not recorded on the link
8 ran · 4 no recorded run
vitrioil/Speech-Separation community (classifier label)
classifier basis not recorded on the link
5 ran · 2 no recorded run
meokz/looking-to-listen community (classifier label)
classifier basis not recorded on the link
4 ran · 0 no recorded run
FunctionStatusWhere it lives
check_noise Ran
ran on a synthesized input
meokz/looking-to-listen/dataset/src/0f_1sclean_and_noise.py
code served (permissive licence) · get_code("db188826cdfe4765")
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 bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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

speech_label = ['/m/09x0r', '/m/05zppz', '/m/02zsn', '/m/0ytgt', '/m/01h8n0', '/m/02qldy', '/m/0261r1', '/m/0brhx', '/m/02rtxlg']

def check_noise(positive_labels):
    for label in positive_labels:
        if label in speech_label:
            return False
    return True

# Test case 1: positive_labels contains a speech label (should return False)
positive_labels_with_speech = ['/m/09x0r', '/m/02zsn']

# Test case 2: positive_labels contains no speech labels (should return True)
positive_labels_without_speech = ['/m/04qlvj', '/m/07qjrnl']

# Test case 3: empty list (should return True)
positive_labels_empty = []

ARGS = {
    'positive_labels': positive_labels_without_speech
}
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 bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
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
generate_data Ran
ran on a synthesized input
vitrioil/Speech-Separation/src/analysis/dim_reduce_spectrogram.py
code served (permissive licence) · get_code("13787efe735dc7b8")
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 function. 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 numpy as np
from pathlib import Path
from unittest.mock import MagicMock

# Create mock file objects
mock_file_1 = MagicMock()
mock_file_1.stem = "123"  # numeric stem

mock_file_2 = MagicMock()
mock_file_2.stem = "data"  # non-numeric stem

# Create temporary mock .npy file data
# We'll monkey-patch np.load to return fake data
original_np_load = np.load

def mock_np_load(f):
    # Return a small random array for any file
    return np.random.randn(2, 3).astype(np.float32)

np.load = mock_np_load

files = [mock_file_1, mock_file_2]
shape = (2, 3, 4)
filter_files = 'mixed'

ARGS = {
    'files': files,
    'shape': shape,
    'filter_files': filter_files
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
generate_dataset Ran
ran on a synthesized input
meokz/looking-to-listen/dataset/src/2f_2sclean_and_noise.py
code served (permissive licence) · get_code("4c5b52c420141c8d")
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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 os
import numpy as np
import pandas as pd
import tempfile
import shutil

# Create temporary directories for the test
temp_base = tempfile.mkdtemp()
INPUT_FACE_DIR = os.path.join(temp_base, 'faces')
OUTPUT_DIR = os.path.join(temp_base, 'output')
OUTPUT_WAV_DIR = os.path.join(temp_base, 'wav')
OUTPUT_STFT_DIR = os.path.join(temp_base, 'stft')

os.makedirs(INPUT_FACE_DIR, exist_ok=True)
os.makedirs(OUTPUT_DIR, exist_ok=True)
os.makedirs(OUTPUT_WAV_DIR, exist_ok=True)
os.makedirs(OUTPUT_STFT_DIR, exist_ok=True)

# Create sample audio STFT files
audio_stft_dir = os.path.join(temp_base, 'audio_stft')
os.makedirs(audio_stft_dir, exist_ok=True)

audio1_data = np.random.randn(129, 100).astype(np.float32)
audio2_data = np.random.randn(129, 100).astype(np.float32)

audio1_path = os.path.join(audio_stft_dir, 'audio1.npy')
audio2_path = os.path.join(audio_stft_dir, 'audio2.npy')

np.save(audio1_path, audio1_data)
np.save(audio2_path, audio2_data)

# Create corresponding face images
face1_path = os.path.join(INPUT_FACE_DIR, 'audio1.npy')
face2_path = os.path.join(INPUT_FACE_DIR, 'audio2.npy')

np.save(face1_path, np.random.randn(224, 224, 3).astype(np.float32))
np.save(face2_path, np.random.randn(224, 224, 3).astype(np.float32))

# Create paths list
paths = [audio1_path, audio2_path]

ARGS = {
    'num': 0,
    'paths': paths,
    'INPUT_FACE_DIR': INPUT_FACE_DIR,
    'OUTPUT_DIR': OUTPUT_DIR,
    'OUTPUT_WAV_DIR': OUTPUT_WAV_DIR,
    'OUTPUT_STFT_DIR': OUTPUT_STFT_DIR
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
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
get_frames Ran
ran on a synthesized input
vitrioil/Speech-Separation/src/loader/data.py
code served (permissive licence) · get_code("a859905059e8f340")
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 ndarray, ndim 4, dtype family int, shape (5, 480, 640, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 cv2
import numpy as np
import tempfile
import os

# Create a minimal video file for testing
def create_test_video():
    # Create a temporary video file
    temp_dir = tempfile.gettempdir()
    video_path = os.path.join(temp_dir, "test_video.mp4")
    
    # Use cv2 to create a video writer
    fourcc = cv2.VideoWriter_fourcc(*'mp4v')
    frame_width = 640
    frame_height = 480
    fps = 30.0
    
    out = cv2.VideoWriter(video_path, fourcc, fps, (frame_width, frame_height))
    
    # Write 5 test frames
    for i in range(5):
        frame = np.zeros((frame_height, frame_width, 3), dtype=np.uint8)
        frame[:, :, i % 3] = 100 + i * 30  # Different color each frame
        out.write(frame)
    
    out.release()
    return video_path

# Create test video
video_path = create_test_video()

# Open the video with cv2.VideoCapture
video = cv2.VideoCapture(video_path)

# Verify the video was opened successfully
if not video.isOpened():
    raise ValueError("Could not open video file")

ARGS = {
    "video": video
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 4, dtype family int, shape (5, 480, 640, 3) — shape (5, 480, 640, 3) as a later run recorded it
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
get_list Ran
ran on a synthesized input
vitrioil/Speech-Separation/src/loader/convert_to_spec.py
code served (permissive licence) · get_code("e6a20940e1bae7d0")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was 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 pandas as pd
import numpy as np

# Create a small DataFrame with the structure expected by get_list
# The function accesses columns by index: -1 (last), 2, and 3
# We need at least 4 columns (indices 0, 1, 2, 3)
data = {
    'col0': ['a', 'b'],
    'col1': ['c', 'd'],
    'col2': ['audio1.wav', 'audio2.wav'],
    'col3': ['audio3.wav', 'audio4.wav'],
    'col4': ['mixed1.wav', 'mixed2.wav']
}
df = pd.DataFrame(data)

ARGS = {
    'df': df
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
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
istft Ran
ran on a synthesized input
bill9800/speech_separation/model/lib/utils.py
code served (permissive licence) · get_code("eee2c892404b1029")
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 ndarray, ndim 1, dtype family float, shape (1312,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

np.random.seed(0)

# Construct F: a 2D numpy array where:
# - First dimension is number_windows
# - Second dimension is the frequency bins (output of rfft)
# For fft_size=512, rfft output has 512//2 + 1 = 257 bins
number_windows = 5
fft_size = 512
freq_bins = fft_size // 2 + 1

# Create a small complex-valued frequency domain array
F = np.random.randn(number_windows, freq_bins) + 1j * np.random.randn(number_windows, freq_bins)

ARGS = {
    'F': F,
    'fft_size': 512,
    'step_size': 160,
    'padding': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (1312,) — shape (1312,) as a later run recorded it
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
latest_file Ran
ran on a synthesized input
bill9800/speech_separation/model/lib/model_ops.py
code served (permissive licence) · get_code("f9aa33c9e8f53aac")
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 str. 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 os
import tempfile
import shutil

# Create a temporary directory with some test files
temp_dir = tempfile.mkdtemp()

# Create a few test files with different modification times
test_file_1 = os.path.join(temp_dir, "file1.txt")
test_file_2 = os.path.join(temp_dir, "file2.txt")
test_file_3 = os.path.join(temp_dir, "file3.txt")

with open(test_file_1, 'w') as f:
    f.write("test1")

with open(test_file_2, 'w') as f:
    f.write("test2")

with open(test_file_3, 'w') as f:
    f.write("test3")

# Ensure different modification times by touching files
os.utime(test_file_1, (1000, 1000))
os.utime(test_file_2, (2000, 2000))
os.utime(test_file_3, (3000, 3000))

ARGS = {
    "dir": temp_dir + os.sep
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
nCr Ran
ran on a synthesized input
vitrioil/Speech-Separation/src/loader/audio_mixer_generator.py
code served (permissive licence) · get_code("3876dc15e32aa098")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 math

def nCr(n, r):
    return math.factorial(n) / (math.factorial(r) * math.factorial(n - r))

ARGS = {
    "n": 5,
    "r": 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
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
parse_X_data Ran
ran on a synthesized input
bill9800/speech_separation/model/model_v1/AO_model_v1_eval.py
code served (permissive licence) · get_code("572256f207ca69fb")
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 tuple. 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 numpy as np
import tempfile
import os

# Create a temporary directory and a mock .npy file
temp_dir = tempfile.mkdtemp()
database_path = temp_dir + '/'

# Create a mock mix file
mix_data = np.random.randn(4, 8).astype(np.float32)
mix_filename = 'mix-speaker1-speaker2.npy'
np.save(os.path.join(database_path, mix_filename), mix_data)

# Create a valid line that references the mock file
line = 'mix-speaker1-speaker2.npy'

ARGS = {
    'line': line,
    'num_people': 2,
    'database_path': database_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
random_audio Ran
ran on a synthesized input
meokz/looking-to-listen/dataset/src/0f_1sclean_and_noise.py
code served (permissive licence) · get_code("e70e7337b4948b6a")
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 str. 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 numpy as np

# The function takes 'paths' as parameter
# It uses len(paths) to get the length
# It uses paths[audio] to index into the list with a random integer
# So paths should be a list of strings (or any indexable sequence)

paths = [
    "audio_file_1.wav",
    "audio_file_2.wav",
    "audio_file_3.wav",
    "audio_file_4.wav",
]

ARGS = {
    "paths": paths,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
random_audio Ran
ran on a synthesized input
meokz/looking-to-listen/dataset/src/2f_2sclean.py
code served (permissive licence) · get_code("c12b607da14143b0")
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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was 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 numpy as np

# The function takes 'paths' which is indexed by integer and has a len()
# It returns two distinct elements from this collection
# paths needs to be a sequence with at least 2 elements

paths = [
    "audio_file_1.wav",
    "audio_file_2.wav",
    "audio_file_3.wav",
]

ARGS = {
    "paths": paths,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
requires_excess_storage_space Ran
ran on a synthesized input
vitrioil/Speech-Separation/src/loader/audio_mixer_generator.py
code served (permissive licence) · get_code("dd51e83b7222b84b")
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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was 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 math

STORAGE_LIMIT = 5000000000

def requires_excess_storage_space(n, r):
    total = n ** r / math.factorial(r)
    storage_space = total * 90
    if storage_space > STORAGE_LIMIT:
        return (storage_space, True)
    return (storage_space, False)

ARGS = {
    "n": 100,
    "r": 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
rev_window_fft Ran
ran on a synthesized input
bill9800/speech_separation/model/simple_model/simple_model.py
code served (permissive licence) · get_code("1e89b6dbd67a53f2")
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 ndarray, ndim 1, dtype family float, shape (1706,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

# Analyze the function:
# - F: np.ndarray used with F.shape[0] and passed to np.fft.irfft(F, axis=-1)
#   irfft expects shape (..., n_fft//2 + 1) for the last dimension
#   For fft_size=1024, we need F.shape[-1] = 513
# - fft_size: int, used directly (1024)
# - step_size: int, used directly (341 from fft_size // 3)

# Create F with appropriate shape for rfft output
# Let's use number_windows=2 and the rfft output dimension
fft_size = 1024
step_size = fft_size // 3  # 341

# For rfft with fft_size=1024, output has shape (..., 513)
number_windows = 2
rfft_output_dim = fft_size // 2 + 1  # 513

F = np.random.randn(number_windows, rfft_output_dim)

ARGS = {
    "F": F,
    "fft_size": fft_size,
    "step_size": step_size,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (1706,) — shape (1706,) as a later run recorded it
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
scheduler Ran
ran on a synthesized input
bill9800/speech_separation/model/model_v1/AO_model_v1.py
code served (permissive licence) · get_code("c80bbbbcfdaeefdb")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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

def scheduler(epoch):
    ini_lr = 5e-05
    lr = ini_lr
    if epoch >= 5:
        lr = ini_lr / 5
    if epoch >= 10:
        lr = ini_lr / 10
    return lr

ARGS = {
    "epoch": 0
}
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 float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
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
scheduler Ran
ran on a synthesized input
bill9800/speech_separation/model/model_v2/AV_train.py
code served (permissive licence) · get_code("ae2dd7a5dd9f7baf")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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

def scheduler(epoch):
    ini_lr = 1e-05
    lr = ini_lr
    if epoch >= 5:
        lr = ini_lr / 5
    if epoch >= 10:
        lr = ini_lr / 10
    return lr

ARGS = {
    'epoch': 0
}
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 float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
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
stft Ran
ran on a synthesized input
bill9800/speech_separation/model/lib/utils.py
code served (permissive licence) · get_code("2f5f57d07a7df828")
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 ndarray, ndim 2, dtype family float, shape (4, 257) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

# Create a small audio signal
# The function expects data to be concatenated with padding (192 zeros)
# Then window is applied, so we need enough data to work with
# With default fft_size=512, step_size=160, we need at least 512 samples
# Let's create 1000 samples to have multiple windows
data = np.random.randn(1000).astype(np.float32)

ARGS = {
    "data": data,
    "fft_size": 512,
    "step_size": 160,
    "padding": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (4, 257) — shape (4, 257) as a later run recorded it
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
window_fft Ran
ran on a synthesized input
bill9800/speech_separation/model/simple_model/simple_model.py
code served (permissive licence) · get_code("af615992935def0c")
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 ndarray, ndim 2, dtype family float, shape (3, 513) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

# Create valid arguments for window_fft function
# The function expects:
# - data: 1D numpy array with dtype that supports multiplication and FFT
# - fft_size: integer specifying window size
# - step_size: integer specifying step between windows

# Create a 1D numpy array long enough to produce at least one window
# With fft_size=1024 and step_size=341, we need at least fft_size + step_size samples
data = np.random.randn(2048).astype(np.float32)

fft_size = 1024
step_size = fft_size // 3  # 341

ARGS = {
    "data": data,
    "fft_size": fft_size,
    "step_size": step_size,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (3, 513) — shape (3, 513) as a later run recorded it
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
audio_discriminate_loss Not yet run
unverified (harvested, no recorded run)
bill9800/speech_separation/model/lib/model_loss.py
code served (permissive licence) · get_code("aa55d7e9312a813d")
How it ran

no invocation recorded.

audio_discriminate_loss2 Not yet run
unverified (harvested, no recorded run)
bill9800/speech_separation/model/lib/model_loss.py
code served (permissive licence) · get_code("64ddda8bc427e8a9")
How it ran

no invocation recorded.

audio_mixer Not yet run
unverified (harvested, no recorded run)
vitrioil/Speech-Separation/src/loader/audio_mixer_generator.py
code served (permissive licence) · get_code("8b4db80b76db820e")
How it ran

no invocation recorded.

download Not yet run
unverified (harvested, no recorded run)
vitrioil/Speech-Separation/src/loader/download.py
code served (permissive licence) · get_code("5de9671f9e16d22e")
How it ran

no invocation recorded.

load_graph Not yet run
unverified (harvested, no recorded run)
bill9800/speech_separation/model/lib/model_ops.py
code served (permissive licence) · get_code("3429f0df7ba92cab")
How it ran

no invocation recorded.

parse_X_data Not yet run
unverified (harvested, no recorded run)
bill9800/speech_separation/model/model_v2/AV_model_eval.py
code served (permissive licence) · get_code("c76b4e517e50abe5")
How it ran

no invocation recorded.

Also present in other papers' code

Of 23 samples lifted from this paper's linked repositories, 23 carry a function identity and 0 do not. Of the 23 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 23 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.

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

We present a joint audio-visual model for isolating a single speech signal from a mixture of sounds such as other speakers and background noise. Solving this task using only audio as input is extremely challenging and does not provide an association of the separated speech signals with speakers in the video. In this paper, we present a deep network-based model that incorporates both visual and auditory signals to solve this task. The visual features are used to "focus" the audio on desired speakers in a scene and to improve the speech separation quality. To train our joint audio-visual model, we introduce AVSpeech, a new dataset comprised of thousands of hours of video segments from the Web. We demonstrate the applicability of our method to classic speech separation tasks, as well as real-world scenarios involving heated interviews, noisy bars, and screaming children, only requiring the user to specify the face of the person in the video whose speech they want to isolate. Our method shows clear advantage over state-of-the-art audio-only speech separation in cases of mixed speech. In addition, our model, which is speaker-independent (trained once, applicable to any speaker), produces better results than recent audio-visual speech separation methods that are speaker-dependent (require training a separate model for each speaker of interest).

For agents

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

get_harvested_code_for_paper("1804.03619")
get_code_for_paper("1804.03619")
have("1804.03619")

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

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

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

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

Connect an agent — have() is free.