Acoustic Similarity Groups for Speech Decoding
- Acoustic Similarity Groups (ASGs) are overlapping sets of acoustic or semantic tokens defined in a learned embedding space, enabling coarse-grained token representation.
- They are constructed using cosine similarity thresholds, allowing tokens to belong to multiple groups and preserving soft neighborhood continuity.
- ASGs enable Principled Coarse-Graining in speculative decoding, enhancing throughput and decoding speed while maintaining acceptable error metrics and intelligibility.
Searching arXiv for the specified papers and closely related ASG-relevant work. Acoustic Similarity Groups (ASGs) are overlapping sets of acoustically or semantically similar items defined in a learned embedding space and used as a coarser random variable than exact symbol identity. In speech token generation, ASGs are the core construct that enables Principled Coarse-Graining (PCG) for speculative decoding in speech LLMs that generate discrete acoustic tokens: they formalize the intuition that many codebook tokens are acoustically or semantically interchangeable and therefore should be verified at a coarser resolution than exact token identity (Yanuka et al., 5 Nov 2025). In related settings, analogous grouping procedures have also been synthesized for acoustic word embeddings, acoustic language similarity, and joint acoustic–semantic music embeddings, although the term itself is not uniformly used across those literatures (Abdullah et al., 2021, Wu et al., 2021, Karamanolakis et al., 2016).
1. Conceptual basis and role in coarse-grained verification
In autoregressive speech generation, different discrete acoustic tokens often realize perceptually similar sounds, such as neighboring codewords in a VQ/FSQ codebook. Exact token matching in standard speculative decoding therefore rejects many draft tokens that would be acceptable substitutes at the perceptual level, suppressing acceptance rates and throughput. ASGs address this by aggregating tokens that the target model itself deems similar according to its learned embedding geometry, inducing a coarse semantic/acoustic variable on which the speculative accept/reject decision can be made (Yanuka et al., 5 Nov 2025).
Conceptually, an ASG is a set of tokens that are acoustically or semantically interchangeable according to the target model’s token embedding space. A central feature is that tokens may belong to multiple groups, preserving “soft” neighborhoods without arbitrary boundaries. This differs from exact matching, which only accepts a draft token if the target’s top token equals it, and from prior speech relaxations such as SSD, which adds a constant bias to the acceptance probability irrespective of acoustic similarity, or top- restrictions, which shrink the support and reduce diversity. PCG instead defines a proper coarse random variable, the ASG index, and accepts or rejects via rejection sampling on its induced distribution (Yanuka et al., 5 Nov 2025).
This framing is significant because it separates two issues that are often conflated in relaxed speculative decoding: whether two tokens are interchangeable for perceptual purposes, and whether the accept/reject mechanism remains probabilistically well defined. ASGs are intended to handle the former, while overlap-aware coarse distributions and rejection sampling handle the latter.
2. Construction from the target model’s embedding space
Let the target model be , with vocabulary and learned token embeddings for . ASGs are constructed directly from this target embedding space using cosine similarity,
For each token , its neighborhood at threshold is defined as
Lower yields larger, more permissive groups. In the reported experiments, 0 gave the best quality–speed trade-off, and the set of distinct groups is written as 1 (Yanuka et al., 5 Nov 2025).
Overlap is allowed: a token can belong to several groups, which better tracks the continuity of the acoustic space. This overlap is not an incidental implementation choice; it is part of the definition. A plausible implication is that ASGs are intended to preserve local continuity in the target model’s representation geometry rather than enforce a hard partition.
The same section of the PCG work also gives practical construction guidance. Token embeddings should be taken from the target model’s token embeddings 2 because they reflect the target model’s internal acoustic or semantic structure and gave the best empirical results. Cosine similarity is the metric used in the experiments, and a comparison against Mel-spectrogram similarity showed cosine in the target space yields better WER at matched speedups. For storage and computation, one may sparsify with top-3 nearest neighbors when constructing 4 or compress the indices; this is described as an engineering convenience and does not alter the method’s definition (Yanuka et al., 5 Nov 2025).
3. Overlap-aware membership weights and induced coarse distributions
Because ASGs overlap, naïve probability aggregation is invalid. Let
5
be the set of groups containing token 6, and let
7
Nonnegative weights 8 are then defined for 9 so that each token’s probability mass is split across the groups that contain it:
0
The default choice is equal-split weighting,
1
This ensures every token’s full probability mass is preserved when aggregated over groups (Yanuka et al., 5 Nov 2025).
At a decoding step, let 2 and 3 denote the draft and target token distributions respectively. The group-level coarse distributions are
4
where 5. Because 6 for each token 7, both 8 and 9 are proper distributions:
0
Under equal-split weights, these reduce to
1
The importance of this construction is that ASGs become not merely neighborhoods in embedding space but a legitimate coarse random variable with a well-defined overlap-aware probability distribution (Yanuka et al., 5 Nov 2025).
4. Acceptance, rejection, and exactness in Principled Coarse-Graining
PCG modifies speculative decoding by running acceptance on the group label rather than directly on the token variable. The proposal coupling has two steps: first sample a draft token 2; then sample a group 3 that contains 4 with probability 5 over 6. This ensures that 7 is marginally distributed as 8, since
9
Group-level acceptance then uses
0
If accepted, the group-level draw is exact under 1 (Yanuka et al., 5 Nov 2025).
If the proposal is rejected, the group is sampled from the residual distribution
2
where 3 denotes 4. The paper describes an efficient thinning realization: sample 5 and then 6 over 7, so that 8; accept 9 with probability
0
otherwise resample. Upon accepting a group through the residual, realize a token within 1 via the target-conditional split
2
The expected number of thinning trials is 3, and was 4 in all experiments (Yanuka et al., 5 Nov 2025).
The exactness guarantee is at the group level. Informally, with the coupling 5, the acceptance rule 6, and reject-branch sampling from 7, the emitted group is exactly distributed as 8 at every step. The proof sketch is standard rejection-sampling correctness on the group variable: the accepted mass for group 9 is 0, the reject branch contributes 1, and the sum is 2 (Yanuka et al., 5 Nov 2025).
A crucial practical distinction follows. To maximize speed, when a group is accepted via 3, PCG outputs the draft token 4 as the group representative, preserving the KV cache. This keeps the emitted group distribution exact while sacrificing token-level exactness within-group. When a group is obtained via the residual, the token is sampled by the target-conditional distribution above, which is token-exact within that group draw (Yanuka et al., 5 Nov 2025).
A concrete example in the paper uses tokens 5 with a group 6 and overlap on token 7 with another group 8. Under equal-split weights, 9 and 0, so
1
and similarly for 2. If the draft samples token 3 but 4 places its mass mainly on token 5, exact matching would reject, whereas PCG accepts or rejects based on 6 and can emit token 7 as an acoustically interchangeable representative (Yanuka et al., 5 Nov 2025).
5. Computation, empirical behavior, and tuning
The algorithmic overhead is modest relative to the softmax. For one speculative step, computing 8 and 9 for the sampled group 0 costs 1 operations once 2 and 3 are available. The paper notes that the 4 softmax computation still dominates, and in the reported setup the typical group size is much smaller than 5, around 6 versus 7. ASGs and weights are precomputed once from 8 and cached. The memory footprint is 9 indices; for 0 and 1, this is about 2M indices, roughly 3 MB with 32-bit integers or about 4 MB with 16-bit indices (Yanuka et al., 5 Nov 2025).
On LibriTTS, the target model is LLaSA-8B with a 5-entry FSQ/X-codec2 tokenizer, the draft model is a small 3-layer subset trained on Libri-heavy, and inference uses temperature 6 and lookahead of 7 tokens. Relative to standard speculative decoding and SSD, PCG increases acceptance and throughput while better preserving intelligibility and quality. On test-clean, standard SD gives 8 speedup with WER 9, CER 00, Sim-O 01, and NMOS 02; SSD gives 03 speedup with WER 04, CER 05, Sim-O 06, and NMOS 07; PCG gives 08 speedup with WER 09, CER 10, Sim-O 11, and NMOS 12. The improvements over SSD are reported as statistically significant with 13 (Yanuka et al., 5 Nov 2025).
The ablations clarify what ASG construction is buying. Grouping with cosine similarity in 14 outperforms grouping by Mel-spectrogram similarity at similar speed, with WER 15 versus 16, CER 17 versus 18, and equal Sim-O at 19. A stress test replaces each target-generated token by a uniformly sampled alternative from its ASG, ignoring 20; even when 21 of tokens are swapped and only 22 remain unchanged, the degradation is small, with 23WER 24 and 25Sim-O 26, supporting the substitutability assumption within ASGs. In the reported setup, a lookahead of 27 tokens maximized speedup for SD+PCG (Yanuka et al., 5 Nov 2025).
Practical guidance follows directly from these results. The default recommendation is to use the target model’s embeddings, cosine similarity, overlap, and equal-split weights. Lowering 28 enlarges groups and boosts acceptance but risks quality loss; increasing 29 does the opposite. Monitoring WER, CER, and NMOS as 30 varies is therefore a safeguard. Because the exactness guarantee holds at the group level, the reject branch must be implemented exactly as specified; otherwise the guarantee is void (Yanuka et al., 5 Nov 2025).
6. Related formulations, cautions, and limitations
The broader literature shows that the usefulness of ASGs depends critically on the geometry of the embedding space from which they are derived. In acoustic word embeddings, the distance in the embedding space in the best cases only moderately correlates with phonological distance, with mean Kendall’s 31 mostly 32, and improving word discrimination does not necessarily yield models that better reflect phonological similarity. In particular, strongly contrastive Siamese models can achieve high mAP while showing weak phonological correspondence. This supports a cautionary principle for ASGs: raw embedding distance should not be used uncritically as a proxy for phonological neighborhoods (Abdullah et al., 2021).
At a different scale, cross-lingual speech transfer work proposes an acoustic language similarity framework that produces language-level embeddings and pairwise distances directly from speech. That paper does not explicitly use the term “Acoustic Similarity Groups,” but its method can be used to form clusters or neighborhoods of acoustically similar languages for ASR and TTS transfer. Across ASR and TTS, acoustic similarity correlates strongly with transfer performance, often outperforming typological or geographic measures, and smaller but acoustically similar sources can outperform much larger but dissimilar ones (Wu et al., 2021). This suggests that ASG-like grouping is not confined to token-level speculative decoding; it can also operate at the level of languages.
In music information retrieval, joint acoustic–semantic embeddings induce sets of clips that are close to each other in a shared space defined over audio-word codebooks and tag embeddings. There, clip embeddings can be acoustic, semantic, or fused, and cosine similarity in the final space supports clustering or graph-based communities interpretable as acoustic similarity groups of clips. The best reported constraint accuracy in that setting is obtained by FUSION with SVD33, reaching 34 on MagnaTagATune triplet constraints (Karamanolakis et al., 2016). A plausible implication is that ASGs are most stable when acoustic evidence is supplemented by semantically informative structure rather than relying on a single similarity source.
For speech-token PCG specifically, the limitations are explicit. If tokens are extremely fine-grained with little substitutability, ASGs must be very tight, limiting gains. Domain shifts that misalign 35 with current acoustics can degrade grouping quality. The exactness guarantee depends on overlap-aware mass splitting, 36, and on a correct residual sampler; deviating from these conditions voids the guarantee. Finally, keeping the draft token as the representative on acceptance preserves group-level exactness but not token-level exactness (Yanuka et al., 5 Nov 2025).
ASGs are therefore best understood not as arbitrary clusters but as a formally defined coarse variable whose validity depends on how similarity is represented, how overlap is handled, and what level of exactness is required. In the PCG formulation, they are an overlap-aware acceptance mechanism for speculative decoding in speech; in related work, they are a more general pattern for organizing acoustically similar words, languages, or clips when the embedding geometry is sufficiently aligned with the task-relevant notion of similarity.