Manuscript Offprint

arXiv:2610.01139

Do Multilingual Encoders Produce Language-Consistent Semantic IDs?

Abhinav Bohra, Anuj Bohra

Abstract

Semantic IDs (SIDs) compress item embeddings into discrete code sequences used in generative retrieval. We ask whether a multilingual encoder is sufficient for different-language renderings of the same product to receive language-consistent SIDs. Using Amazon ESCI listings rendered in English, Spanish, and Japanese, we test whether translations remain close to their English source, whether residual quantization is unusually sensitive to translation-induced movement, and whether multilingual or language-balanced quantizer fitting improves SID agreement. Multilingual E5 places translations measurably apart: under an English-heavy fit, a Japanese translation preserves the first SID code of its English counterpart in only 7.7% of cases, compared with 89.0% for an English rewording. Distance-matched product-directed controls produce nearly the same full-SID mismatch as translation, providing no evidence that the quantizer selectively amplifies language directions. Balancing the fitting mixture makes codebook use more uniform but further reduces cross-lingual prefix agreement: Spanish first-code consistency falls from 28.3% to 6.6%, while an English-only fit preserves it for 67.6% of Spanish translations. These results show that multilingual exposure and balanced codebook use alone do not guarantee language-consistent SIDs.

1 Introduction

Multilingual item catalogs are not naturally aligned parallel datasets. The same product may be represented differently across languages because descriptions are written, translated, or localized through independent processes. A Semantic ID (SID) computed from listing text is therefore an identifier for a particular textual representation, not automatically for the underlying product. This distinction matters for multilingual retrieval and recommendation systems, where equivalent items must remain reachable across languages (Bonab et al., 2021).

SIDs are often treated as language agnostic when they come from a shared multilingual encoder. This assumption depends on two conditions: translations of the same product must remain close in encoder space, and whatever displacement remains must not push the product into a different discrete code prefix. The distinction matters because similarity in a continuous embedding space decreases gradually, whereas exact SID lookup does not: one changed code can send the item to a different branch of the tree.

We test three questions: whether translations remain close to the English source relative to same-language rewordings, whether the quantizer is unusually sensitive to translation-induced movement, and whether multilingual or balanced quantizer fitting improves cross-lingual SID agreement. We use product listings from the Amazon Shopping Queries Dataset (ESCI) (Reddy et al., 2022). Each listing is translated into Spanish and Japanese with NLLB (NLLB Team et al., 2022), while English paraphrases provide a same-language reference. We compare translation-induced displacement with distance-matched isotropic and product-directed controls, and repeat the English–Spanish analysis with Qwen2.5-3B-Instruct to reduce dependence on a single translation model.

Multilingual E5 already separates equivalent products by language. Residual quantization (Lee et al., 2022; Rajput et al., 2023; Vats et al., 2025a,b) turns this displacement into SID-prefix changes, but the product-directed control provides no evidence that the quantizer is especially sensitive to language directions. Under an English-heavy fit, E5 also assigns substantially less first-level capacity to Spanish and Japanese. A balanced mixture reduces this capacity gap but produces even lower

∗^{*}Equal contribution.

prefix agreement across translations. LaBSE does not show the same capacity imbalance, indicating that this effect depends on the encoder–quantizer combination.

Together, these results show that encoder displacement, quantizer behavior, and balanced codebook use are distinct issues. Making codebook use more uniform across languages does not guarantee consistent SID prefixes, and multilingual exposure alone is insufficient for cross-lingual SID alignment.

References (12)