SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2111.04433 · 2021

RawBoost: A Raw Data Boosting and Augmentation Method applied to Automatic Speaker Verification Anti-Spoofing

arXiv · PDF · Open in the Atlas

Code that ran

9 of 10 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; 1 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 2 failures of our instrument; 1 no recorded run), measured 2026-11-21; 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/2111.04433.json · badge: /api/ran/2111.04433.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
TakHemlata/RawBoost-antispoofing canonical (classifier label)
classifier basis not recorded on the link
9 ran · 1 no recorded run
FunctionStatusWhere it lives
f_args_parsed Ran
ran on a synthesized input
TakHemlata/RawBoost-antispoofing/core_scripts/config_parse/arg_parse.py
code served (permissive licence) · get_code("47a34f4068935c91")
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 Namespace. 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 argparse
import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'argument_input': None
}
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 Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace 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
f_read_htk Ran
ran on a synthesized input
TakHemlata/RawBoost-antispoofing/core_scripts/data_io/io_tools.py
code served (permissive licence) · get_code("78c42439140c4715")
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 (10, 4) 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
import tempfile
import os

# Create a temporary HTK file for testing
temp_dir = tempfile.gettempdir()
temp_file = os.path.join(temp_dir, 'test_htk_file.htk')

# Write a valid HTK file with little endian format
with open(temp_file, 'wb') as f:
    # Header: nSample (int32), Period (int32), SampleSize (int16), kind (int16)
    # Using little endian format
    nSample = np.int32(10)  # 10 samples
    Period = np.int32(100000)  # 100ms in 100ns units
    SampleSize = np.int16(16)  # 16 bytes = 4 floats of 4 bytes each
    kind = np.int16(6)  # MFCC
    
    f.write(nSample.tobytes())
    f.write(Period.tobytes())
    f.write(SampleSize.tobytes())
    f.write(kind.tobytes())
    
    # Write data: 10 samples, each with 4 floats
    for i in range(10):
        sample = np.array([1.0, 2.0, 3.0, 4.0], dtype=np.float32)
        f.write(sample.tobytes())

ARGS = {
    'filename': temp_file,
    'data_format': 'f4',
    'end': 'l'
}
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 (10, 4) — shape (10, 4) 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
f_read_raw_mat Ran
ran on a synthesized input
TakHemlata/RawBoost-antispoofing/core_scripts/data_io/io_tools.py
code served (permissive licence) · get_code("44f348fd3f9d6e71")
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 (5, 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 numpy as np
import tempfile
import os

# Create a temporary binary file with test data
temp_dir = tempfile.mkdtemp()
filename = os.path.join(temp_dir, 'test_data.bin')

# Create sample binary data: 5 rows × 3 columns of float32 values
col = 3
num_rows = 5
data = np.arange(num_rows * col, dtype=np.float32).reshape(num_rows, col)

# Write as little-endian binary
with open(filename, 'wb') as f:
    data.astype('<f4').tofile(f)

ARGS = {
    'filename': filename,
    'col': col,
    'data_format': 'f4',
    'end': 'l'
}
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 (5, 3) — shape (5, 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
f_read_raw_mat_length Ran
ran on a synthesized input
TakHemlata/RawBoost-antispoofing/core_scripts/data_io/io_tools.py
code served (permissive licence) · get_code("4a01fffa6219c3b2")
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 tempfile
import struct
import os

# Create a temporary binary file with known content
temp_file = tempfile.NamedTemporaryFile(mode='wb', delete=False, suffix='.bin')
temp_filename = temp_file.name

# Write some float32 data (4 bytes per float)
# Writing 10 float32 values = 40 bytes total
num_elements = 10
for i in range(num_elements):
    temp_file.write(struct.pack('f', float(i)))

temp_file.close()

ARGS = {
    'filename': temp_filename,
    'data_format': 'f4'
}
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 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
genSpoof_list Ran
ran on a synthesized input
TakHemlata/RawBoost-antispoofing/data_utils_rawboost.py
code served (permissive licence) · get_code("f23394c549863c39")
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 tempfile
import os

# Create a temporary metadata file for training mode
temp_dir = tempfile.mkdtemp()
train_meta_file = os.path.join(temp_dir, "train_meta.txt")
with open(train_meta_file, 'w') as f:
    f.write("speaker001 utt001 eng M bonafide\n")
    f.write("speaker002 utt002 eng F spoof\n")
    f.write("speaker003 utt003 eng M bonafide\n")

# Create a temporary metadata file for eval mode
eval_meta_file = os.path.join(temp_dir, "eval_meta.txt")
with open(eval_meta_file, 'w') as f:
    f.write("utt004\n")
    f.write("utt005\n")
    f.write("utt006\n")

# Create a temporary metadata file for default mode (same as train)
default_meta_file = os.path.join(temp_dir, "default_meta.txt")
with open(default_meta_file, 'w') as f:
    f.write("speaker004 utt007 eng M bonafide\n")
    f.write("speaker005 utt008 eng F spoof\n")

ARGS = {
    "dir_meta": train_meta_file,
    "is_train": False,
    "is_eval": False,
}
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 — 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
normWav Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
TakHemlata/RawBoost-antispoofing/RawBoost.py
pointer only (licence: MIT); the stored copy get_code serves, from anmol2059/svdd2024, is pointer only (licence: NONE) · get_code("fd93032d99a4205e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from anmol2059/svdd2024, and GitHub detected no licence in that repository when it was checked. 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.

pad Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
TakHemlata/RawBoost-antispoofing/data_utils_rawboost.py
code served (permissive licence) · get_code("43d18bf97d3ba573")
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 (20,) 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

# Examine the function: pad(x, max_len=64600)
# - x: expects a numpy array with .shape[0] attribute
# - max_len: optional int parameter (default 64600)
# The function uses:
#   - x.shape[0] to get first dimension
#   - x[:max_len] for slicing
#   - np.tile() to repeat x
#   - Array indexing operations

# Create a small numpy array for x
x = np.array([1.0, 2.0, 3.0, 4.0, 5.0])

# Create ARGS dict with all parameters
ARGS = {
    "x": x,
    "max_len": 20
}
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 (20,) — shape (20,) 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
pad_sequence Ran
ran on a synthesized input
TakHemlata/RawBoost-antispoofing/core_scripts/data_io/customize_collate_fn.py
code served (permissive licence) · get_code("76255f7d50cd84c1")
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 3, 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

torch.manual_seed(0)

# Create a batch of sequences with different lengths but same trailing dimensions
# Each tensor has shape (seq_len, dim)
seq1 = torch.randn(3, 4)  # sequence of length 3, dimension 4
seq2 = torch.randn(5, 4)  # sequence of length 5, dimension 4
seq3 = torch.randn(2, 4)  # sequence of length 2, dimension 4

batch = [seq1, seq2, seq3]

ARGS = {
    "batch": batch,
    "padding_value": 0.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 list, ndim 3, 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
randRange Ran
ran, honoured the contract we drafted
TakHemlata/RawBoost-antispoofing/RawBoost.py
pointer only (licence: MIT); the stored copy get_code serves, from anmol2059/svdd2024, is pointer only (licence: NONE) · get_code("bc98cecbf8713f08")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from anmol2059/svdd2024, and GitHub detected no licence in that repository when it was checked. 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.

genNotchCoeffs Not yet run
unverified (harvested, no recorded run)
TakHemlata/RawBoost-antispoofing/RawBoost.py
pointer only (licence: MIT); the stored copy get_code serves, from anmol2059/svdd2024, is pointer only (licence: NONE) · get_code("aefa0581e4d18c02")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from anmol2059/svdd2024, and GitHub detected no licence in that repository when it was checked. 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. No invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 7 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 4 later) and 3 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
pad 2 other papers
1 dated earlier, 1 later
2110.01200 (2021-10)
AASIST: Audio Anti-Spoofing using Integrated Spectro-Temporal Graph Attention Networks
2309.07525 (2023-09)
SingFake: Singing Voice Deepfake Detection
f_read_htk 1 other paper
1 dated earlier
2010.13995 (2020-10)
One-class Learning Towards Synthetic Voice Spoofing Detection
f_read_raw_mat 1 other paper
1 dated earlier
2010.13995 (2020-10)
One-class Learning Towards Synthetic Voice Spoofing Detection
f_read_raw_mat_length 1 other paper
1 dated earlier
2010.13995 (2020-10)
One-class Learning Towards Synthetic Voice Spoofing Detection
genNotchCoeffs 1 other paper
1 later
2409.02302 (2024-09)
Speech Foundation Model Ensembles for the Controlled Singing Voice Deepfake Detection (CtrSVDD) Challenge 2024
normWav 1 other paper
1 later
2409.02302 (2024-09)
Speech Foundation Model Ensembles for the Controlled Singing Voice Deepfake Detection (CtrSVDD) Challenge 2024
randRange 1 other paper
1 later
2409.02302 (2024-09)
Speech Foundation Model Ensembles for the Controlled Singing Voice Deepfake Detection (CtrSVDD) Challenge 2024

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-21.

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 RawBoost, a data boosting and augmentation method for the design of more reliable spoofing detection solutions which operate directly upon raw waveform inputs. While RawBoost requires no additional data sources, e.g. noise recordings or impulse responses and is data, application and model agnostic, it is designed for telephony scenarios. Based upon the combination of linear and non-linear convolutive noise, impulsive signal-dependent additive noise and stationary signal-independent additive noise, RawBoost models nuisance variability stemming from, e.g., encoding, transmission, microphones and amplifiers, and both linear and non-linear distortion. Experiments performed using the ASVspoof 2021 logical access database show that RawBoost improves the performance of a state-of-the-art raw end-to-end baseline system by 27% relative and is only outperformed by solutions that either depend on external data or that require additional intervention at the model level.

For agents

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

get_harvested_code_for_paper("2111.04433")
get_code_for_paper("2111.04433")
have("2111.04433")

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

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

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

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

Connect an agent — have() is free.