arXiv Science⌕ Search

arXiv subjects

Xinlai Kang

Publications and source records attributed to Xinlai Kang.

3 recordsLinked to original sources

DLA: Decomposed Latent Attention for Looped Language Models

Looped language models increase test-time computation by repeatedly applying shared Transformer layers, but storing key-value (KV) states from multiple loops introduces substantial inference memory overhead. We introduce Decomposed Latent Attention (DLA), which stores the full-dimensional mean across loops and compresses the remaining variation into low-dimensional contrast codes. Each loop reconstructs its historical KV states on demand. To address the discrepancy between parallel training and token-sequential inference, we further introduce DLA-SW, a sliding-window variant that retains exact KV states for recent tokens and completed compressed codes for distant history. When the training block fits within the window, block-parallel training preserves the cache dependencies of tokenwise decoding on the same prefix. DLA and DLA-SW are trained with the task loss only, without additional reconstruction supervision. We evaluate DLA and DLA-SW on Ouro-1.4B-Thinking and Huginn-3.5B across MATH-500, MBPP+, and QASPER using fixed cache hyperparameters. Averaged over these six settings, DLA reduces resident memory by 23.5% relative to LLA, while DLA-SW reduces by 15.2% relative to HLA. Across all twelve paired comparisons, the DLA variants improve task scores by 2.29 points on average.

cs.CL↗

DuoMI: Dual Mutual Information Regularization for Expert Reuse in Looped Transformers

We introduce Dual Mutual Information Regularization (DuoMI), a method for regulating expert routing across rounds in looped mixture-of-experts (MoE) Transformers. When two rounds of computation share an expert pool, their routers may favor different expert subsets, limiting the reuse of individual expert parameters across rounds. Even when aggregate expert usage is identical across rounds, we would still prefer each token to retain some experts while switching to others. DuoMI addresses both aspects of routing: it uses round-level marginal mutual information to limit the dependence of aggregate expert usage on the round, and token-level conditional mutual information to penalize average cross-round routing changes that fall outside a target interval. During training, DuoMI computes differentiable penalties from soft routing distributions over all experts. It adds no model parameters and leaves sparse Top-$k$ routing strategy unchanged at inference. On a looped OLMoE backbone in which paired adjacent layers share experts, DuoMI improves the average score across $15$ downstream tasks from $50.08\%$ to $51.82\%$, a gain of $1.74$ percentage points over the looped baseline.

cs.LG↗

PA1-OPD: One-Step Prefix-Augmented On-Policy Distillation for Language Model Pretraining

Knowledge distillation (KD) improves language-model pretraining by matching teacher distributions at corpus prefixes, but provides no direct supervision at contexts induced by student predictions. We introduce PA1-OPD, which augments corpus-path distillation with teacher feedback after one student-sampled transition per selected prefix. This expands the supervised states while retaining next-token prediction and corpus-path KD. Data-anchored roots support parallel sampling, and differentiable tree attention shares prefix computation without changing inference. In two continued-pretraining settings, full coverage improves held-out cross-entropy over KD across C4, PG-19, and Pile at every evaluated checkpoint. In Stage2, selecting the 10% of roots with highest student surprisal adds 48.85% to KD's Macro cross-entropy gain over next-token training. Gains remain when branch supervision excludes successor states already on the corpus path, supporting the value of feedback beyond observed contexts. Additional depth or breadth improves aggregate results at unchanged per-term supervision weight, with benefits varying by corpus. These findings support local student-induced supervision as a complement to pretraining distillation.

cs.CL↗