arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.16917cs.LG
收藏

HoloByte: 基于连续超球面蒸馏的无分词建模

HoloByte: Continuous Hyperspherical Distillation for Tokenizer-Free Modeling

Independent Researcher(独立研究者)

Vladimer Khasia

AI总结:

HoloByte通过连续超球面蒸馏实现无分词建模,降低计算复杂度并提升稳定性,实验证明其优于传统分词方法。

摘要:

序列建模普遍依赖离散子词分词以避免原生字级注意力的O(N²)计算不可行性。然而,这种启发式量化方法引入了人工形态边界、强制词汇依赖,并破坏了优化景观的连续性。为解决这一二元对立,我们引入HoloByte:一个严格无分词框架,利用连续超球面蒸馏。HoloByte将离散字序列分割为固定容量块,并通过可逆、维度保持的正交旋转操作将其投影到连续且严格有界的超球面流形上。这种空间叠加允许宏观transformer仅在压缩的连续表示上操作,形式上将精确注意力时间复杂度从O(N²D)降低到O(N²/W²D + ND²)。随后的局部因果微解码器解绑这些表示以计算精确的字级分布。为控制这一连续轨迹,我们提出一个双目标公式,结合数学精确的全息潜在均方误差,严格限制梯度并保证渐近稳定性。理论上,我们推导出所需的最小嵌入维度D=Ω(W ln |V|),以确保从连续流形中无误差恢复离散表示。实验表明,在严格匹配的参数约束下,HoloByte系统性地优于可比的离散字对编码(BPE)基线。这些结果确立了连续超球面蒸馏作为词汇不变序列建模的数学严谨且计算可行的基础。代码可在https://github.com/VladimerKhasia/HoloByte获取。

英文摘要:

Sequence modeling universally relies on discrete subword tokenization to circumvent the $\mathcal{O}(N^2)$ computational intractability of native byte-level attention. However, this heuristic quantization imposes artificial morphological boundaries, enforces vocabulary dependence, and fractures the continuity of the optimization landscape. To resolve this dichotomy, we introduce \textbf{HoloByte}: a strictly tokenizer-free framework utilizing Continuous Hyperspherical Distillation. HoloByte partitions discrete byte sequences into fixed-capacity chunks and projects them into a continuous, strictly bounded hyperspherical manifold via an invertible, dimension-preserving orthogonal rotation operator. This spatial superposition allows a macroscopic transformer to operate exclusively on compressed continuous representations, formally reducing the exact attention time complexity from $\mathcal{O}(N^2D)$ to $\mathcal{O}\left( \frac{N^2}{W^2}D + ND^2 \right)$. A localized causal micro-decoder subsequently unbinds these representations to compute exact byte-level distributions. To govern this continuous trajectory, we propose a dual-objective formulation incorporating a mathematically precise Holographic Latent Mean Squared Error, which strictly bounds the gradient and guarantees asymptotic stability. Theoretically, we derive the minimal embedding dimension $D = Ω(W \ln |\mathcal{V}|)$ required to ensure error-free discrete recovery from the continuous manifold. Empirically, under strictly matched parameter constraints, HoloByte is systematically outperforming a comparable discrete Byte-Pair Encoding (BPE) baseline. These results establish Continuous Hyperspherical Distillation as a mathematically rigorous and computationally tractable foundation for vocabulary-invariant sequence modeling. The code is available at https://github.com/VladimerKhasia/HoloByte

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑