SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.23174 · 2026

Beyond Fixed Frames: Dynamic Character-Aligned Speech Tokenization

Mirco Ravanelli, Cem Subakan, Della Luca, Libera

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 5 failures of our instrument; 3 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/2601.23174.json · badge: /api/ran/2601.23174.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
lucadellalib/dycast canonical (classifier label)
classifier basis: census
6 ran · 0 no recorded run
microsoft/unilm community
Papers with Code archive
2 ran · 3 no recorded run
FunctionStatusWhere it lives
EmbeddingEMA Ran
ran on a synthesized input · constructed an object; no result was computed
microsoft/unilm/beats/quantizer.py
code served (permissive licence) · get_code("e4a392acb5b909b4")
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 an instance of its own class, EmbeddingEMA: the run constructed the object and did not call it, so no result was computed. 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 torch
import torch.nn as nn
import torch.nn.functional as F
from einops import rearrange, repeat

torch.manual_seed(0)

def l2norm(t):
    return F.normalize(t, p=2, dim=-1)

def sample_vectors(samples, num):
    num_samples, device = (samples.shape[0], samples.device)
    if num_samples >= num:
        indices = torch.randperm(num_samples, device=device)[:num]
    else:
        indices = torch.randint(0, num_samples, (num,), device=device)
    return samples[indices]

def kmeans(samples, num_clusters, num_iters=10, use_cosine_sim=False):
    dim, dtype, device = (samples.shape[-1], samples.dtype, samples.device)
    means = sample_vectors(samples, num_clusters)
    for _ in range(num_iters):
        if use_cosine_sim:
            dists = samples @ means.t()
        else:
            diffs = rearrange(samples, 'n d -> n () d') - rearrange(means, 'c d -> () c d')
            dists = -(diffs ** 2).sum(dim=-1)
        buckets = dists.max(dim=-1).indices
        bins = torch.bincount(buckets, minlength=num_clusters)
        zero_mask = bins == 0
        bins_min_clamped = bins.masked_fill(zero_mask, 1)
        new_means = buckets.new_zeros(num_clusters, dim, dtype=dtype)
        new_means.scatter_add_(0, repeat(buckets, 'n -> n d', d=dim), samples)
        new_means = new_means / bins_min_clamped[..., None]
        if use_cosine_sim:
            new_means = l2norm(new_means)
        means = torch.where(zero_mask[..., None], means, new_means)
    return (means, bins)

ARGS = {
    'num_tokens': 8,
    'codebook_dim': 4,
    'decay': 0.99,
    'eps': 1e-05,
    'kmeans_init': True,
    'codebook_init_path': ''
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EmbeddingEMA — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a EmbeddingEMA 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
NormEMAVectorQuantizer Ran
ran on a synthesized input · constructed an object; no result was computed
microsoft/unilm/beats/quantizer.py
code served (permissive licence) · get_code("fd364885233987d7")
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 an instance of its own class, NormEMAVectorQuantizer: the run constructed the object and did not call it, so no result was computed. 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 torch
import torch.nn as nn

torch.manual_seed(0)

# Helper functions that are referenced in the code
def l2norm(t):
    return torch.nn.functional.normalize(t, p=2, dim=-1)

def rearrange(x, pattern):
    # Minimal rearrange for the patterns used
    if pattern == 'n d -> n () d':
        return x.unsqueeze(1)
    elif pattern == 'c d -> () c d':
        return x.unsqueeze(0)
    return x

def repeat(x, pattern, **kwargs):
    # Minimal repeat for patterns used
    if 'n -> n d' in pattern:
        d = kwargs['d']
        return x.unsqueeze(-1).expand(-1, d)
    return x

def sample_vectors(samples, num):
    num_samples, device = (samples.shape[0], samples.device)
    if num_samples >= num:
        indices = torch.randperm(num_samples, device=device)[:num]
    else:
        indices = torch.randint(0, num_samples, (num,), device=device)
    return samples[indices]

def kmeans(samples, num_clusters, num_iters=10, use_cosine_sim=False):
    dim, dtype, device = (samples.shape[-1], samples.dtype, samples.device)
    means = sample_vectors(samples, num_clusters)
    for _ in range(num_iters):
        if use_cosine_sim:
            dists = samples @ means.t()
        else:
            diffs = rearrange(samples, 'n d -> n () d') - rearrange(means, 'c d -> () c d')
            dists = -(diffs ** 2).sum(dim=-1)
        buckets = dists.max(dim=-1).indices
        bins = torch.bincount(buckets, minlength=num_clusters)
        zero_mask = bins == 0
        bins_min_clamped = bins.masked_fill(zero_mask, 1)
        new_means = buckets.new_zeros(num_clusters, dim, dtype=dtype)
        new_means.scatter_add_(0, repeat(buckets, 'n -> n d', d=dim), samples)
        new_means = new_means / bins_min_clamped[..., None]
        if use_cosine_sim:
            new_means = l2norm(new_means)
        means = torch.where(zero_mask[..., None], means, new_means)
    return (means, bins)

class EmbeddingEMA(nn.Module):

    def __init__(self, num_tokens, codebook_dim, decay=0.99, eps=1e-05, kmeans_init=True, codebook_init_path=''):
        super().__init__()
        self.num_tokens = num_tokens
        self.codebook_dim = codebook_dim
        self.decay = decay
        self.eps = eps
        if codebook_init_path == '':
            if not kmeans_init:
                weight = torch.randn(num_tokens, codebook_dim)
                weight = l2norm(weight)
            else:
                weight = torch.zeros(num_tokens, codebook_dim)
            self.register_buffer('initted', torch.Tensor([not kmeans_init]))
        else:
            codebook_ckpt_weight = torch.load(codebook_init_path, map_location='cpu')
            weight = codebook_ckpt_weight.clone()
            self.register_buffer('initted', torch.Tensor([True]))
        self.weight = nn.Parameter(weight, requires_grad=False)
        self.cluster_size = nn.Parameter(torch.zeros(num_tokens), requires_grad=False)
        self.embed_avg = nn.Parameter(weight.clone(), requires_grad=False)
        self.update = True

    def forward(self, embed_id):
        return torch.nn.functional.embedding(embed_id, self.weight)

class NormEMAVectorQuantizer(nn.Module):

    def __init__(self, n_embed, embedding_dim, beta, decay=0.99, eps=1e-05, statistic_code_usage=True, kmeans_init=False, codebook_init_path=''):
        super().__init__()
        self.codebook_dim = embedding_dim
        self.num_tokens = n_embed
        self.beta = beta
        self.decay = decay
        self.embedding = EmbeddingEMA(self.num_tokens, self.codebook_dim, decay, eps, kmeans_init, codebook_init_path)
        self.statistic_code_usage = statistic_code_usage
        if statistic_code_usage:
            self.register_buffer('cluster_size', torch.zeros(n_embed))

ARGS = {
    'n_embed': 8,
    'embedding_dim': 4,
    'beta': 0.25,
    'decay': 0.99,
    'eps': 1e-05,
    'statistic_code_usage': True,
    'kmeans_init': False,
    'codebook_init_path': ''
}
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 NormEMAVectorQuantizer — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a NormEMAVectorQuantizer 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
batched_run_length_encode Ran
ran; our contract draft was wrong, not the code
lucadellalib/dycast/dycast/mms.py
code served (permissive licence) · get_code("5227a32f8b2f92a6")
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 int; 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 small batch of token sequences
# batch_size=2, seq_length=4
# Each row is an independent sequence of token IDs
tokens = torch.tensor([
    [1, 1, 2, 2],
    [3, 3, 3, 1]
], dtype=torch.long)

ARGS = {
    "tokens": tokens
}
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 int — 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
boundaries_to_durations Ran
ran; our contract draft was wrong, not the code
lucadellalib/dycast/dycast/hazard.py
code served (permissive licence) · get_code("72af732830e423c9")
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 int, 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)

# Create small tensors for the function
batch_size = 2
seq_length = 4

# boundary: Boolean tensor of shape (batch_size, seq_length)
# We'll create a tensor with some True values indicating chunk boundaries
boundary = torch.tensor([
    [False, True, False, True],
    [True, False, True, False]
], dtype=torch.bool)

# abs_length: Absolute valid lengths in frames of shape (batch_size,)
# These should be <= seq_length and > 0
abs_length = torch.tensor([3, 4], dtype=torch.long)

ARGS = {
    "boundary": boundary,
    "abs_length": abs_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 int, 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
exact_sum_rounding Ran
ran; our contract draft was wrong, not the code
lucadellalib/dycast/dycast/negbin.py
code served (permissive licence) · get_code("313dd760ba6b1560")
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 int, 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)

# Small tensor shapes: batch_size=2, num_chunks=4
batch_size = 2
num_chunks = 4

# mu: non-negative real allocations of shape (batch_size, num_chunks)
mu = torch.tensor([
    [1.2, 2.7, 0.5, 1.1],
    [0.9, 1.3, 2.1, 0.8]
], dtype=torch.float32)

# target_sum: target total per batch element, shape (batch_size,)
target_sum = torch.tensor([4, 5], dtype=torch.long)

# mask_valid: boolean mask indicating valid positions, shape (batch_size, num_chunks)
mask_valid = torch.tensor([
    [True, True, True, False],
    [True, True, False, True]
], dtype=torch.bool)

ARGS = {
    'mu': mu,
    'target_sum': target_sum,
    'mask_valid': mask_valid,
}
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 int, 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
forward_merge_blanks Ran
ran; our contract draft was wrong, not the code
lucadellalib/dycast/dycast/mms.py
code served (permissive licence) · get_code("aac3a3fa7fcf88a8")
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
import numpy as np

# Construct spans as a list of [label, start, end] representing run-length encoded sequences
# The function processes token IDs, frame indices, and converts to time in seconds
spans = [
    [0, 0, 5],      # blank span from frame 0 to 5
    [1, 5, 10],     # token 1 from frame 5 to 10
    [0, 10, 12],    # short blank from frame 10 to 12
    [2, 12, 20],    # token 2 from frame 12 to 20
    [0, 20, 50],    # long blank from frame 20 to 50
    [3, 50, 60],    # token 3 from frame 50 to 60
    [4, 60, 65],    # space token (ID 4) from frame 60 to 65
]

blank_id = 0
space_id = 4
hop_s = 0.02  # 20ms frame hop
max_silence_s = 0.5  # 500ms threshold for silence

ARGS = {
    'spans': spans,
    'blank_id': blank_id,
    'space_id': space_id,
    'hop_s': hop_s,
    'max_silence_s': max_silence_s,
}
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 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
renormalize_mu_to_budget Ran
ran; our contract draft was wrong, not the code
lucadellalib/dycast/dycast/negbin.py
code served (permissive licence) · get_code("1739c3ae3b42e8d1")
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 small test tensors
batch_size = 2
num_chunks = 4

# mu: non-negative allocations of shape (batch_size, num_chunks)
mu = torch.abs(torch.randn(batch_size, num_chunks))

# budget: target total allocation per batch element of shape (batch_size,)
budget = torch.tensor([10.0, 20.0])

# mask_valid: boolean mask of shape (batch_size, num_chunks)
mask_valid = torch.tensor([
    [True, True, True, False],
    [True, True, False, False]
])

ARGS = {
    "mu": mu,
    "budget": budget,
    "mask_valid": mask_valid
}
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
spans_to_tensors Ran
ran, honoured the contract we drafted
lucadellalib/dycast/dycast/mms.py
code served (permissive licence) · get_code("db70481eefed250a")
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 2, dtype family int; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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)

# Construct a list of span dictionaries
# Each span represents a segment with token, frame indices, and time in seconds
spans = [
    {
        "token": 0,  # token ID as int
        "start": 0,
        "end": 10,
        "start_s": 0.0,
        "end_s": 1.0,
    },
    {
        "token": "silence",  # explicit silence token
        "start": 10,
        "end": 15,
        "start_s": 1.0,
        "end_s": 1.5,
    },
    {
        "token": 1,  # another token ID
        "start": 15,
        "end": 25,
        "start_s": 1.5,
        "end_s": 2.5,
    },
]

ARGS = {
    "spans": spans,
    "silence_id": -1,
    "use_seconds": False,
    "device": "cpu",
}
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 tuple, ndim 2, dtype family int — 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
ema_inplace Not yet run
unverified (harvested, no recorded run)
microsoft/unilm/beats/quantizer.py
code served (permissive licence) · get_code("3aea1727c716b779")
How it ran

no invocation recorded.

kmeans Not yet run
unverified (harvested, no recorded run)
microsoft/unilm/beats/quantizer.py
code served (permissive licence) · get_code("b865ae3ee66b52d3")
How it ran

no invocation recorded.

norm_ema_inplace Not yet run
unverified (harvested, no recorded run)
microsoft/unilm/beats/quantizer.py
code served (permissive licence) · get_code("09418b3ac8d31c11")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 4 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 4 later) and 7 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
kmeans
brick of this paper's assembly: helper
9 other papers
8 dated earlier, 1 later
2212.09058 (2022-12)
BEATs: Audio Pre-Training with Acoustic Tokenizers
2305.13050 (2023-05)
AudioToken: Adaptation of Text-Conditioned Diffusion Models for Audio-to-Image Generation
2309.16429 (2023-09)
Diverse and Aligned Audio-to-Video Generation via Text-to-Video Model Adaptation
and 6 more not named here
ema_inplace
brick of this paper's assembly: update_rule
2 other papers
1 dated earlier, 1 later · 2 only as an assembly brick
2311.17245 (2023-11)
LightGaussian: Unbounded 3D Gaussian Compression with 15x Reduction and 200+ FPS
2602.16951 (2026-02)
BrainRVQ: A High-Fidelity EEG Foundation Model via Dual-Domain Residual Quantization and Hierarchical Autoregression
EmbeddingEMA
brick of this paper's assembly: model
1 other paper
1 later
2602.16951 (2026-02)
BrainRVQ: A High-Fidelity EEG Foundation Model via Dual-Domain Residual Quantization and Hierarchical Autoregression
norm_ema_inplace
brick of this paper's assembly: update_rule
1 other paper
1 later · 1 only as an assembly brick
2602.16951 (2026-02)
BrainRVQ: A High-Fidelity EEG Foundation Model via Dual-Domain Residual Quantization and Hierarchical Autoregression

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

Neural audio codecs are at the core of modern conversational speech technologies, converting continuous speech into sequences of discrete tokens that can be processed by LLMs. However, existing codecs typically operate at fixed frame rates, allocating tokens uniformly in time and producing unnecessarily long sequences. In this work, we introduce DyCAST, a Dynamic Character-Aligned Speech Tokenizer that enables variable-frame-rate tokenization through soft character-level alignment and explicit duration modeling. DyCAST learns to associate tokens with character-level linguistic units during training and supports alignment-free inference with direct control over token durations at decoding time. To improve speech resynthesis quality at low frame rates, we further introduce a retrieval-augmented decoding mechanism that enhances reconstruction fidelity without increasing bitrate. Experiments show that DyCAST achieves competitive speech resynthesis quality and downstream performance while using significantly fewer tokens than fixed-frame-rate codecs. Code and checkpoints will be released publicly at https://github.com/lucadellalib/dycast.

For agents

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

get_harvested_code_for_paper("2601.23174")
get_code_for_paper("2601.23174")
have("2601.23174")

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

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

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

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

Connect an agent — have() is free.