We present Harmonic, a hierarchical state space model (SSM) for language modeling. The architecture stacks three recurrent levels at progressively slower timescales; each level receives the prediction error of the level below as input, rather than its raw hidden state. On enwiki8 with equal token budgets, Harmonic outperforms a comparable Transformer (28M params) by +1.4% at 1K tokens, +6.7% at 8K tokens, and +11.4% at 32K tokens (bpt, lower is better). It also outperforms Mamba at every tested length by 0.7--1.8%. At 64K tokens, both Mamba and Transformer run out of memory on an 80GB H100; Harmonic trains successfully, reaching 6.169 bpt. Results replicate on WikiText-103 (H-TF gap +1.7% to +7.2% across 1K--32K). At 1B parameter scale, replacing all attention layers in TinyLlama 1.1B with HarmonicBlock eliminates the RoPE positional encoding limit: the resulting Hallamonic model maintains stable loss across sequence lengths 1K--8K on two independent clean benchmarks (Lambada and fineweb-edu held-out), while TinyLlama degrades catastrophically past its 2K-token RoPE limit (gap: +9.4 bpt at seq=8K on Lambada). Compute is O(L) per forward pass vs. O(L^2) for attention.
Logs: https://github.com/Omibranch/harmonic-logs.
The Importance of Being Recurrent for Modeling Hierarchical Structure
University of Amsterdam(阿姆斯特丹大学);Leiden University(莱顿大学)
最近的工作表明,当训练递归神经网络(RNN)以解决常见的自然语言处理任务(例如语言建模)时,它可以隐式地捕获和利用分层信息(Linzen et al.,2016)和神经机器翻译(Shi等人,2016年)。相比之下,尽管非递归神经网络在许多NLP任务中取得了成功,但用非递归神经网络对结构化数据进行建模的能力却很少受到关注(Gehring等人,2017; Vaswani等人,2017年)。在这项工作中,我们比较了这两种架构-经常性与非经常性-关于他们的能力,模型层次结构,并发现,递归确实是重要的,为此目的。
A Hierarchical Latent Structure for Variational Conversation Modeling
Seoul National University(首尔国立大学)
变分自编码器(VAE)结合层次RNN已经成为会话建模的强大框架。然而,它们遭受着臭名昭著的退化问题,解码器学会忽略潜在变量并简化为香草RNN。我们的经验表明,这种简并发生主要是由于两个原因。首先,分层RNN解码器的表达能力通常足够高,可以仅使用其解码分布来建模数据,而不依赖于潜在变量。其次,其生成过程以上下文为条件的条件VAE结构使得训练目标的范围非常稀疏;也就是说,RNN解码器可以很容易地过拟合到训练数据,而忽略潜在变量。为了解决退化问题,我们提出了一种名为变分层次会话RNN(VHCR)的新模型,涉及两个关键思想:(1)使用潜在变量的层次结构,以及(2)利用话语丢弃正则化。通过对Cornell Movie Dialog和Ubuntu Dialog语料库两个数据集的评估,我们表明我们的VHCR成功地利用了潜变量,并优于最先进的会话生成模型。此外,它可以执行几个新的话语控制任务,由于其分层的潜在结构。
Hierarchical Graph Topic Modeling with Topic Tree-based Transformer
The Pennsylvania State University(宾夕法尼亚州立大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Nanyang Technological University(南洋理工大学);University of Electronic Science and Technology of China(电子科技大学);Singapore Management University(新加坡管理大学)
ALaRM: Align Language Models via Hierarchical Rewards Modeling
Institute of Science and Technology for Brain-inspired Intelligence, Fudan University(复旦大学脑智能科学与技术研究院);School of Data Science, Fudan University(复旦大学数据科学学院);School of Computer Science, Fudan University(复旦大学计算机科学技术学院);Research Institute of Intelligent and Complex Systems, Fudan University(复旦大学智能与复杂系统研究院)