SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.00025 · EMNLP · 2024

Improving Spoken Language Modeling with Phoneme Classification: A Simple Fine-tuning Approach

Emmanuel Dupoux, Emmanuel Chemla, Maxime Poli

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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 9 failures of our instrument; 1 no recorded run), measured 2026-11-23; 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/2410.00025.json · badge: /api/ran/2410.00025.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
bootphon/abkhazia canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
bootphon/spokenlm-phoneme canonical (classifier label)
classifier basis: census
4 ran · 1 no recorded run
FunctionStatusWhere it lives
convert_to_word_position_dependent Ran
ran; our contract draft was wrong, not the code
bootphon/abkhazia/abkhazia/align/align.py
pointer only (licence: GPL-3.0) · get_code("da70784a17f5a99f")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, bootphon/abkhazia, is not in the permissive set Syntology serves inline. 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.

create_mask_from_lengths Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
bootphon/spokenlm-phoneme/src/phonslm/utils.py
code served (permissive licence) · get_code("495bb33ee68ab0d9")
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, 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 torch

torch.manual_seed(0)

# Create a small tensor of lengths
# batch_size=2, with different sequence lengths
lengths = torch.tensor([3, 2], dtype=torch.long)

# Optionally specify max_length, or let it be inferred from lengths.max()
max_length = 4

ARGS = {
    "lengths": lengths,
    "max_length": max_length,
}
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, 4) — shape (2, 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
format Ran
ran; our contract draft was wrong, not the code
bootphon/abkhazia/abkhazia/decode/_score.py
pointer only (licence: GPL-3.0) · get_code("9f11e9e71c6dfb7e")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, bootphon/abkhazia, is not in the permissive set Syntology serves inline. 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.

merge_phones_words_alignments Ran
ran; our contract draft was wrong, not the code
bootphon/abkhazia/abkhazia/align/align.py
pointer only (licence: GPL-3.0) · get_code("25a7919224d25905")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, bootphon/abkhazia, is not in the permissive set Syntology serves inline. 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.

read_alignments Ran
ran; our contract draft was wrong, not the code
bootphon/spokenlm-phoneme/src/phonslm/reader.py
code served (permissive licence) · get_code("5fb17634a6954e38")
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 dict. 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 TSV file with alignment data
temp_file = tempfile.NamedTemporaryFile(mode='w', suffix='.tsv', delete=False, newline='')
temp_file.write("file_id_1\tphone1 phone2 phone3\n")
temp_file.write("file_id_2\tphone4 phone5\n")
temp_file.close()

ARGS = {
    'alignments_path': temp_file.name,
    '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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
read_manifest Ran
ran; our contract draft was wrong, not the code
bootphon/spokenlm-phoneme/src/phonslm/reader.py
code served (permissive licence) · get_code("5ba01378940cd9b8")
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 dict. 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 csv
from pathlib import Path

# Create a temporary manifest file for testing
with tempfile.NamedTemporaryFile(mode='w', suffix='.tsv', delete=False, newline='') as f:
    temp_manifest_path = f.name
    writer = csv.writer(f, delimiter='\t')
    # Write root directory as first line
    writer.writerow(['/tmp/data'])
    # Write file entries: relative path and number of samples
    writer.writerow(['audio/file1.wav', '1000'])
    writer.writerow(['audio/file2.wav', '2000'])
    writer.writerow(['audio/file3.wav', '1500'])

ARGS = {
    'file_path': temp_manifest_path
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
read_params Ran
ran; our contract draft was wrong, not the code
bootphon/abkhazia/abkhazia/language/language_model.py
pointer only (licence: GPL-3.0) · get_code("d3d4227b0bbc5b45")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, bootphon/abkhazia, is not in the permissive set Syntology serves inline. 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.

read_units Ran
ran; our contract draft was wrong, not the code
bootphon/spokenlm-phoneme/src/phonslm/reader.py
code served (permissive licence) · get_code("f0a1639034c77c40")
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 dict. 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
from pathlib import Path

# Create temporary directory and files for testing
temp_dir = tempfile.TemporaryDirectory()
temp_path = Path(temp_dir.name)

# Create a manifest file
manifest_file = temp_path / "manifest.tsv"
root_dir = temp_path / "data"
root_dir.mkdir(exist_ok=True)

# Create dummy data files
file1 = root_dir / "audio1.wav"
file2 = root_dir / "audio2.wav"
file1.touch()
file2.touch()

# Write manifest content
with open(manifest_file, 'w', newline='') as f:
    f.write(f"{root_dir}\n")
    f.write(f"audio1.wav\t1000\n")
    f.write(f"audio2.wav\t2000\n")

# Create a units file
units_file = temp_path / "units.txt"
with open(units_file, 'w') as f:
    f.write("1 2 3 4 5\n")
    f.write("6 7 8 9 10\n")

ARGS = {
    'units_path': units_file,
    'manifest_path': manifest_file,
    '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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
skip_scoring Ran
ran; our contract draft was wrong, not the code
bootphon/abkhazia/abkhazia/decode/_score.py
pointer only (licence: GPL-3.0) · get_code("042695abb6ed965e")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, bootphon/abkhazia, is not in the permissive set Syntology serves inline. 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.

load_kmeans Not yet run
unverified (harvested, no recorded run)
bootphon/spokenlm-phoneme/src/phonslm/utils.py
code served (permissive licence) · get_code("544715b72418e8c9")
How it ran

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, 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 10 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

Recent progress in Spoken Language Modeling has shown that learning language directly from speech is feasible. Generating speech through a pipeline that operates at the text level typically loses nuances, intonations, and nonverbal vocalizations. Modeling directly from speech opens up the path to more natural and expressive systems. On the other hand, speechonly systems require up to three orders of magnitude more data to catch up to their text-based counterparts in terms of their semantic abilities. We show that fine-tuning speech representation models on phoneme classification leads to more context-invariant representations, and language models trained on these units achieve comparable lexical comprehension to ones trained on hundred times more data.

For agents

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

get_harvested_code_for_paper("2410.00025")
get_code_for_paper("2410.00025")
have("2410.00025")

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

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

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

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

Connect an agent — have() is free.