Skip to main content
Search

# Language modeling

12 related articles

Subscribe to updates
  1. Oral resistome benchmark flips its winner: Hyena leads on held-out clusters, but MoR holds up on external databases

    Sequence models for oral resistome proteins lacked an evaluation that rules out homology-driven memorization. The study clustered 26,324 proteins into 1,437 clusters at 40% sequence identity, trained eight causal architectures under one protocol, and validated externally on CARD and NCBI AMRFinderPlus. Hyena reached the lowest held-out perplexity at 14.93, but only four of eight architectures beat the residue-composition baseline of 17.99 externally, where parameter-matched MoR led at 17.40 and the Transformer degraded by 27%.

  2. arXiv

    Nonlinear memory stops approximating by blocks: ParaTTT turns test-time training layers into parallel refinement, and its 340M model trains faster than TTT-MLP

    Test-time training layers replace the recurrent state with a small neural network trained online by gradient descent, which is more expressive than a linear memory but forces sequential computation because each token's gradient depends on every earlier update. ParaTTT instead iteratively refines an estimate of the hidden-layer pre-activation gradients, with each refinement built from a forward, a readout and a backward chunkwise-parallel pass, and the exact online recurrence is a fixed point of that iteration. At 4K context, two refinements reach the error of TTT-MLP's block approximation in less time, and 340M and 1.3B models match or exceed Gated DeltaNet and Mamba-2 on perplexity and recall.

  3. arXiv

    Attention linearization stops treating all dimensions alike: grouping the few outliers cuts Qwen2.5-0.5B perplexity from 31.71 to 27.50

    Approximation error in pretrained attention concentrates in a few high-contribution query–key dimensions, and sharing quadratic-kernel coefficients by contribution group lowers frozen-attention relative MSE to 0.432 on Qwen2.5-0.5B and WikiText-103 perplexity from 31.71 to 27.50 after replacing middle-layer attention.

  4. arXiv

    Replacing the trainable input embedding table with fixed 16-bit binary token codes yields 2.36 perplexity at 32 layers on roughly 16-17B tokens while removing 67.1M parameters

    The study asks whether a decoder-only language model needs an independently trainable input vector per token: with V=65,536 and d_model=1024, it replaces the usual V×d_model input table with fixed 16-bit binary token codes plus a parameter-free tiled lift to model width, removing 67.1M trainable parameters (about 12.5% of the untied learned-input baseline), and across three training seeds 32-layer models trained on roughly 16-17B tokens obtain mean held-out perplexities of 2.44 for the learned-input baseline, 2.36 for canonical binary codes, and 2.39 for affine-recoded codes, with the authors stating these descriptive results do not establish statistical superiority or equivalence.

  5. arXiv

    Researchers derive architecture-aware convergence bounds for selective state space models and compare nine federated learning algorithms across six text domains

    Addressing the unclear behavior of modern selective state space models such as Mamba2 in distributed learning, the work derives architecture-aware gradient and smoothness bounds for single- and multi-layer selective SSMs and convergence bounds for FedAvg and FedProx, characterizing how recurrent stability, input-dependent discretization, and state projection norms affect federated optimization; it then numerically validates the single-layer bounds on sequences generated by a teacher SSM, uses the analysis to formulate expectations about local training and client heterogeneity, and examines these expectations by comparing nine federated learning algorithms on Mamba2 language modeling across six text domains.

  6. arXiv

    HC-DLM makes a continuous latent the only persistent generative state and beats both discrete and continuous diffusion baselines on Sudoku, Countdown and LM1B

    The work proposes Hierarchical Continuous Diffusion Language Models (HC-DLM), in which a continuous latent is the only state persisting across steps while tokens are read out from it at every step and fed back as a scaffold conditioning the next latent update, with a training objective derived from a variational bound on the token likelihood; at matched model size it improves over discrete and continuous diffusion baselines in puzzle accuracy on Sudoku and Countdown and in generative perplexity on LM1B.

  7. arXiv

    Keeping only the top-attention tokens without retraining, nine checkpoints need effective attention sets of 7 to 283 tokens, and longer context raises the required set size

    Without retraining, this work retains only the tokens with the highest attention weights at each head, layer, and query while keeping their original weights unchanged, and estimates the effective attention set size needed to stay within a chosen loss tolerance by measuring the increase in negative log-likelihood (NLL); it finds that relatively small selected sets keep NLL close to the full-attention baseline, that attention-based selection substantially outperforms random selection, that the required set size grows with context while its fraction of context decreases, that in BABILong experiments with a fixed annotated supporting fact additional background pushes support tokens down the attention ranking and reduces their attention mass, and that renormalizing the retained weights can subs

  8. arXiv

    FRAC swaps exponential forgetting for power-law long memory in SSMs, beating Mamba and GDN on long-context 1.3B language modeling

    The work introduces FRAC, a selective state space model architecture derived from fractional dynamics that approximates a heavy-tailed fractional kernel with a finite-state, log-spaced sum of exponential modes, replacing exponential forgetting with power-law long memory and improving long-context performance over SSM baselines such as Mamba2, GDN, and Mamba3 on synthetic long-tail and recall tasks, 1.3B-parameter language modeling, and DNA modeling, while staying competitive on short-context tasks.

  9. arXiv

    WhiteMatter lets every Transformer layer read past-token representations from any depth, beating matched baselines at half KV cache

    The work introduces WhiteMatter, which uses a learned router to mix past-token representations from any depth into shared key-value (KV) channels so every layer can draw on cross-layer information, together with cyclic Gauss–Seidel iteration to speed up training and prefill; under matched training-token budgets, half-cache WhiteMatter improves perplexity and average downstream scores over matched standard Transformers at two scales up to about 1.3B parameters, while the full-cache version performs comparably to a deeper standard Transformer.

  10. arXiv

    FactorEngram factorizes n-gram memory over a shared dictionary, lifting 8K long-context retrieval by up to 43.3 points at 340M and 1B backbones

    The work proposes FactorEngram, which replaces monolithic per-pattern n-gram embeddings with sparsity-regularized coefficients over a dictionary shared across patterns and reuses that same dictionary for basis-level contextual gating, improving language modeling, downstream tasks, and long-context retrieval on 340M- and 1B-parameter Transformer backbones.