SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2603.10371 · 2026

Speech Codec Probing from Semantic and Phonetic Perspectives

Shrikanth Narayanan, Chang Zeng, Shih-Heng Wang, Tiantian Feng, Jianbo Ma, Xuan Shi

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 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, 0 violated it and 0 have no contract verdict; 4 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/2603.10371.json · badge: /api/ran/2603.10371.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
Alexuan/codec_probing_release canonical (classifier label)
classifier basis: census
7 ran · 1 no recorded run
FunctionStatusWhere it lives
cka_with_baseline Ran
ran; our contract draft was wrong, not the code
Alexuan/codec_probing_release/src/analysis/cka.py
code served (permissive licence) · get_code("2b0743840ba0eaa1")
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 numpy as np

# Set random seed for reproducibility
np.random.seed(0)

# Create two feature matrices with matching number of rows (N=2)
# but different feature dimensions to make shapes unambiguous
x = np.random.randn(2, 4).astype(np.float64)
y = np.random.randn(2, 3).astype(np.float64)

ARGS = {
    'x': x,
    'y': y,
    'n_permutations': 100,
    'seed': 0
}
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 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
gs_orthonormalize Ran
ran, honoured the contract we drafted
Alexuan/codec_probing_release/src/analysis/pwcca.py
code served (permissive licence) · get_code("a49f5fea21b4069b")
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

# The function gs_orthonormalize takes a numpy array and performs QR decomposition
# It expects a 2D array (matrix)

# Create a small test array with distinct dimensions (5 rows, 3 columns)
# This allows the function to work with both cases: 
# - when q.shape[1] == array.shape[1] (no padding needed)
# - when q.shape[1] < array.shape[1] (padding needed - won't happen with full rank)
array = np.random.randn(5, 3).astype(np.float64)

ARGS = {
    "array": array
}
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
linear_cka Ran
ran, honoured the contract we drafted
Alexuan/codec_probing_release/src/analysis/cka.py
code served (permissive licence) · get_code("9596e6eafc2fd9fd")
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 numpy as np

# Create two feature matrices with matching number of rows but different dimensions
# x: (2, 4) - 2 samples, 4 features
# y: (2, 3) - 2 samples, 3 features
x = np.random.randn(2, 4).astype(np.float32)
y = np.random.randn(2, 3).astype(np.float32)

ARGS = {
    'x': x,
    'y': y
}
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 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
pair_layer_distances Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Alexuan/codec_probing_release/src/analysis/extract.py
code served (permissive licence) · get_code("cb3f65ec93637406")
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, 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 pandas as pd

# Create a small DataFrame with feature column
# Each feature is a 2D array (representing layer outputs with shape [L])
N_samples = 4
L = 3  # Number of layers/dimensions per feature

df_with_feat = pd.DataFrame({
    'feat': [
        np.random.randn(L, 2),  # Shape [L, 2] for sample 0
        np.random.randn(L, 2),  # Shape [L, 2] for sample 1
        np.random.randn(L, 2),  # Shape [L, 2] for sample 2
        np.random.randn(L, 2),  # Shape [L, 2] for sample 3
    ]
})

# Create pairs of indices to compare
pairs = [(0, 1), (1, 2), (2, 3)]

# Define arguments
ARGS = {
    'df_with_feat': df_with_feat,
    'pairs': pairs,
    'feat_column': 'feat'
}
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 ndarray, ndim 2, dtype family float, shape (3, 3) — shape (3, 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
plot_similarity Ran
ran; our contract draft was wrong, not the code
Alexuan/codec_probing_release/src/analysis/runner.py
code served (permissive licence) · get_code("4b43b4c80e6f6458")
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 matplotlib.pyplot as plt

# Generate sample correlation data for num_layers=12
num_layers = 12
cca_means = [0.85 - i * 0.03 for i in range(num_layers)]
rsa_means = [0.78 - i * 0.025 for i in range(num_layers)]

ARGS = {
    'cca_means': cca_means,
    'rsa_means': rsa_means,
    'num_layers': num_layers,
    'codec_model': 'VQVAE',
    'output_path': None,
    'ax': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib — 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
positivedef_matrix_sqrt Ran
ran, honoured the contract we drafted
Alexuan/codec_probing_release/src/analysis/pwcca.py
code served (permissive licence) · get_code("53fe687171e99f68")
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 (2, 2) 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 positive definite matrix
# A positive definite matrix can be constructed as A = M^T @ M where M is any matrix
M = np.array([[2.0, 0.5], [1.0, 1.5]], dtype=np.float64)
array = M.T @ M

ARGS = {
    "array": array
}
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 (2, 2) — shape (2, 2) 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
remove_small Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Alexuan/codec_probing_release/src/analysis/pwcca.py
code served (permissive licence) · get_code("880e72989d8e193b")
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

# Create small covariance matrices for testing
# The function uses np.diagonal() to get diagonal elements,
# so we need 2D square matrices (same size for sigma_xx and sigma_yy,
# and matching dimensions for the off-diagonal terms)

n_x = 4
n_y = 3

# Create diagonal-dominant matrices with some small values
sigma_xx = np.array([
    [0.5, 0.01, 0.02, 0.001],
    [0.01, 1e-7, 0.03, 0.002],
    [0.02, 0.03, 0.8, 0.004],
    [0.001, 0.002, 0.004, 2e-7]
], dtype=np.float64)

sigma_yy = np.array([
    [0.6, 0.01, 0.02],
    [0.01, 1e-8, 0.03],
    [0.02, 0.03, 0.9]
], dtype=np.float64)

# Off-diagonal blocks with matching dimensions
sigma_xy = np.array([
    [0.1, 0.05, 0.02],
    [0.02, 1e-7, 0.01],
    [0.03, 0.04, 0.02],
    [0.001, 0.002, 0.003]
], dtype=np.float64)

sigma_yx = np.array([
    [0.15, 0.02, 0.01, 0.002],
    [0.03, 1e-9, 0.02, 0.001],
    [0.04, 0.05, 0.03, 0.004]
], dtype=np.float64)

threshold = 1e-06

ARGS = {
    "sigma_xx": sigma_xx,
    "sigma_xy": sigma_xy,
    "sigma_yx": sigma_yx,
    "sigma_yy": sigma_yy,
    "threshold": threshold
}
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
rsa_similarity Not yet run
unverified (harvested, no recorded run)
Alexuan/codec_probing_release/src/analysis/rsa.py
code served (permissive licence) · get_code("9fbd803090452e9a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 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 8 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

Speech tokenizers are essential for connecting speech to large language models (LLMs) in multimodal systems. Speech tokenizers are expected to preserve both semantic and acoustic information for downstream understanding and generation tasks. However, emerging evidence suggests that the term "semantic" in speech processing does not align with linguistic lexical-semantic, leading to a mismatch between speech and text modality. In this paper, we systematically analyze the information encoded by several widely used speech tokenizers, evaluating their lexical-semantic and phonetic content through three tasks. Our results show that current tokenizers primarily capture phonetic rather than lexical-semantic structure, deriving practical implications for the design of next-generation speech tokenization methods. Code is released to public at https:// github.com/Alexuan/codec_probing_release.

For agents

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

get_harvested_code_for_paper("2603.10371")
get_code_for_paper("2603.10371")
have("2603.10371")

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

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

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

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

Connect an agent — have() is free.