SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.17230 · 2024

ESPnet-SPK: full pipeline speaker embedding toolkit with reproducible recipes, self-supervised front-ends, and off-the-shelf models

arXiv · PDF · Open in the Atlas

Code that ran

9 of 15 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; 3 honoured the contract we drafted, 2 violated it and 1 has no contract verdict; 3 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/2401.17230.json · badge: /api/ran/2401.17230.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
Jungjee/RawNet canonical (classifier label)
classifier basis: census
7 ran · 6 no recorded run
copy not recorded community
not in the paper's declared repositories
2 ran · 0 no recorded run
FunctionStatusWhere it lives
cos_sim Ran
ran, violated the contract we drafted
Jungjee/RawNet/python/RawNet1/Keras/01-trn_RawNet.py
code served (permissive licence) · get_code("5eaddc98390802b9")
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 float64, ndim 0, 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

# Create two small numpy arrays for cosine similarity computation
a = np.array([1.0, 2.0, 3.0, 4.0])
b = np.array([5.0, 6.0, 7.0, 8.0])

ARGS = {
    "a": a,
    "b": b,
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
evaluate_model Ran
ran on a synthesized input
Jungjee/RawNet/python/RawNet1/PyTorch/train_RawNet.py
code served (permissive licence) · get_code("bb8e18446e6e5c44")
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
import torch.nn as nn
import numpy as np
import tempfile
import os

torch.manual_seed(0)
np.random.seed(0)

# Create a minimal model that satisfies the function's usage
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x, is_test=False):
        return self.linear(x)

# Create temporary directory for results
temp_dir = tempfile.mkdtemp()
results_dir = os.path.join(temp_dir, 'results')
os.makedirs(results_dir, exist_ok=True)

# Create model
model = SimpleModel()

# Create db_gen - a data generator that yields batches
# The function expects batches that can be passed to model(x=m_batch, is_test=True)
db_gen = [
    torch.randn(2, 4),
    torch.randn(2, 4),
]

# Device
device = 'cpu'

# Create l_utt - list of utterance identifiers matching embeddings count
# db_gen has 2 batches of size 2, so 4 embeddings total
l_utt = ['utt_0', 'utt_1', 'utt_2', 'utt_3']

# Save directory
save_dir = temp_dir + '/'

# Epoch
epoch = 1

# Create l_trial - list of trial lines with format "target utt_a utt_b"
# Create enough trials to have valid y and y_score for roc_curve
l_trial = [
    '1 utt_0 utt_1',
    '0 utt_0 utt_2',
    '1 utt_1 utt_3',
    '0 utt_2 utt_3',
    '1 utt_0 utt_3',
]

ARGS = {
    'mode': 'val',
    'model': model,
    'db_gen': db_gen,
    'device': device,
    'l_utt': l_utt,
    'save_dir': save_dir,
    'epoch': epoch,
    'l_trial': l_trial,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, sklearn, torch, tqdm — 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
find_files Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from liyc5929/neuroseqbench
pointer only; the stored copy get_code serves, from liyc5929/neuroseqbench, is pointer only (licence: GPL-3.0) · get_code("c9763c5a4bcb7e32")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_val_utts Ran
ran; our contract draft was wrong, not the code
Jungjee/RawNet/python/RawNet2/utils.py
code served (permissive licence) · get_code("55245e350c62db55")
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 torch

def get_val_utts(l_val_trial):
    l_utt = []
    for line in l_val_trial:
        _, utt_a, utt_b = line.strip().split(' ')
        if utt_a not in l_utt:
            l_utt.append(utt_a)
        if utt_b not in l_utt:
            l_utt.append(utt_b)
    return l_utt


# Construct valid arguments for get_val_utts
l_val_trial = [
    "trial1 utt_001 utt_002",
    "trial2 utt_003 utt_004",
    "trial3 utt_001 utt_005"
]

ARGS = {
    "l_val_trial": l_val_trial
}
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 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
keras_lr_decay Ran
ran, honoured the contract we drafted
Jungjee/RawNet/python/RawNet1/PyTorch/train_RawNet.py
code served (permissive licence) · get_code("5e7388924514a513")
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
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# def keras_lr_decay(step, decay=5e-05):
#     return 1.0 / (1.0 + decay * step)
#
# Parameters:
# - step: a numeric value (int or float) representing training step
# - decay: a numeric value (float) for decay rate, has default 5e-05

ARGS = {
    "step": 100,
    "decay": 5e-05,
}
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 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
keras_lr_decay Ran
ran, honoured the contract we drafted
Jungjee/RawNet/python/RawNet2/utils.py
code served (permissive licence) · get_code("381a33e6fa4c0f44")
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
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - step: numeric value used in arithmetic (decay * step)
# - decay: numeric value with default 0.0001, used in arithmetic

# The function performs: 1.0 / (1.0 + decay * step)
# Both parameters are scalars used in basic arithmetic operations

ARGS = {
    "step": 5,
    "decay": 0.0001
}
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 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
pre_emphasis Ran
ran, honoured the contract we drafted
Jungjee/RawNet/python/RawNet2_modified/dataloader.py
code served (permissive licence) · get_code("1b00a67b866f612e")
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, shape (2, 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 torch

torch.manual_seed(0)

# The function pre_emphasis takes x and performs:
# x[:, 1:] - 0.97 * x[:, :-1]
# This means x should be a 2D tensor (batch_size, sequence_length)
# where indexing along dimension 1 works

x = torch.randn(2, 4)  # batch_size=2, sequence_length=4

ARGS = {
    "x": x
}
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 Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 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
rvad Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from espnet/espnet
pointer only · get_code("a960291efd1b0f20")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

str2bool Ran
ran, violated the contract we drafted
Jungjee/RawNet/python/RawNet2/parser.py
code served (permissive licence) · get_code("7c508037b40522af")
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) 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 argparse

def str2bool(v):
    if isinstance(v, bool):
        return v
    if v.lower() in ('yes', 'true', 't', 'y', '1'):
        return True
    elif v.lower() in ('no', 'false', 'f', 'n', '0'):
        return False
    else:
        raise argparse.ArgumentTypeError('Boolean value expected.')

# Test cases for str2bool
ARGS = {
    'v': 'true'  # string input that should convert to boolean
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 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
residual_block_conv Not yet run
unverified (harvested, no recorded run)
Jungjee/RawNet/python/RawNet1/Keras/model_RawNet.py
code served (permissive licence) · get_code("fa34738dea0147dd")
How it ran

no invocation recorded.

residual_block_conv Not yet run
unverified (harvested, no recorded run)
Jungjee/RawNet/python/RawNet1/Keras/model_RawNet_pre_train.py
code served (permissive licence) · get_code("a2d820458f7e968f")
How it ran

no invocation recorded.

simple_loss Not yet run
unverified (harvested, no recorded run)
Jungjee/RawNet/python/RawNet1/Keras/01-trn_RawNet.py
code served (permissive licence) · get_code("052b8ab02090fb74")
How it ran

no invocation recorded.

simple_loss Not yet run
unverified (harvested, no recorded run)
Jungjee/RawNet/python/RawNet1/Keras/model_RawNet.py
code served (permissive licence) · get_code("67840fbaca218edb")
How it ran

no invocation recorded.

zero_loss Not yet run
unverified (harvested, no recorded run)
Jungjee/RawNet/python/RawNet1/Keras/01-trn_RawNet.py
code served (permissive licence) · get_code("11a8b60b0d47dbda")
How it ran

no invocation recorded.

zero_loss Not yet run
unverified (harvested, no recorded run)
Jungjee/RawNet/python/RawNet1/Keras/model_RawNet.py
code served (permissive licence) · get_code("eef02c2c9e270abb")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 1 the same month, 2 later) and 9 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
str2bool 175 other papers
102 dated earlier, 1 the same month, 71 later, 1 same year, order not determinable · 2 only as an assembly brick
1406.6247 (2014-06)
Recurrent Models of Visual Attention
1603.09382 (2016-03)
Deep Networks with Stochastic Depth
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
and 172 more not named here
rvad 6 other papers
6 dated earlier
1910.00254 (2019-10)
Multilingual End-to-End Speech Translation
1910.10909 (2019-10)
ESPnet-TTS: Unified, Reproducible, and Integratable Open Source End-to-End Text-to-Speech Toolkit
2110.07840 (2021-10)
ESPnet2-TTS: Extending the Edge of TTS Research
and 3 more not named here
find_files 2 other papers
1 dated earlier, 1 later
1910.10909 (2019-10)
ESPnet-TTS: Unified, Reproducible, and Integratable Open Source End-to-End Text-to-Speech Toolkit
2502.09449 (2025-02)
Spiking Neural Networks for Temporal Processing: Status Quo and Future Prospects

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

This paper introduces ESPnet-SPK, a toolkit designed with several objectives for training speaker embedding extractors. First, we provide an open-source platform for researchers in the speaker recognition community to effortlessly build models. We provide several models, ranging from x-vector to recent SKA-TDNN. Through the modularized architecture design, variants can be developed easily. We also aspire to bridge developed models with other domains, facilitating the broad research community to effortlessly incorporate state-of-the-art embedding extractors. Pre-trained embedding extractors can be accessed in an off-the-shelf manner and we demonstrate the toolkit's versatility by showcasing its integration with two tasks. Another goal is to integrate with diverse self-supervised learning features. We release a reproducible recipe that achieves an equal error rate of 0.39% on the Vox1-O evaluation protocol using WavLM-Large with ECAPA-TDNN.

For agents

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

get_harvested_code_for_paper("2401.17230")
get_code_for_paper("2401.17230")
have("2401.17230")

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

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

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

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

Connect an agent — have() is free.