Explore the research collection
13 entries · Follow this search
- Paper
Balancing Memory Pathways: Analyzing and Improving Memory Utilization in Hybrid LMs
Recurrent-attention hybrid LMs (e.g., Qwen3.5) interleave attention and recurrent layers as two complementary memory pathways: attention supports precise recall of earlier tokens, recurrent layers consolidate disparate information over long contexts. The paper shows hybrids rely substantially more on attention than on the recurrent state — and that standard SFT improves overall performance but does not fix the imbalance: the model becomes more reliant on attention-propagated information while recurrent-pathway use stays limited. Fix: an auxiliary loss that limits attention's access to earlier context while the recurrent state propagates through the full sequence, forcing the model to retain and use information through the recurrent pathway alongside attention. Results: overall performance improves with especially strong gains on longer-context and information-aggregation tasks; QA avg +4.6%, agentic tasks avg +12.1% across multiple hybrid LMs; also generalizes to attention-only models combining different memory types (+28.6%). Core message: simply providing multiple memory pathways does not ensure their effective use — targeted supervision is needed to coordinate them.
- Paper
Length Generalization Needs Proper Regularization
Argues transformers need no architectural changes for length generalization — proper dropout regularization suffices, making the problem architecture-agnostic rather than a positional-encoding or attention-mechanism question. Diagnoses training-procedure culprits for extrapolation failure: weight decay can hinder extrapolation, while dropout improves it only when its placement is reconsidered — standard dropout before layer normalization introduces a systematic distributional mismatch; applying dropout just before the linear projection resolves it. Proposes Variance-Preserving Affine Dropout (VPAD), which substantially reduces the resulting pre-activation variance mismatch and further improves extrapolation; VPAD is complementary to attention-scaling methods. Results: modified SmolLM3 with sliding-window attention, continually pre-trained with dropout, extrapolates perfectly to 64x on Needle-in-a-Haystack and far beyond pre-training context on RULER and HELMET; training SmolLM3 from scratch reaches RBA 100.0 at 32x training length; matches a 'perfect' baseline at 2-8x extrapolation and improves on ICL/NIAH/RULER at longer contexts. Mamba2 also benefits from dropout, supporting the architecture-agnostic claim. CC BY 4.0 license. Directly relevant to the user's long-context training work (3:1 SWA:full-attention hybrid stack) — the dropout-placement fix applies to their architecture too.
- Model
Kolibri-1: 78B Open-Weight MoE with 3.46B Active Parameters and Hybrid SWA
78B-parameter open-weight Mixture-of-Experts model with only 3.46B active parameters, up to 1M tokens of context, released under Apache 2.0 for self-hosted use (German/English). Key architectural detail: hybrid sliding-window attention with a 4:1 SWA:GQA attention ratio in the MoE layers. The tech report's visible sections cover the model architecture (config table) and Exact Quantile Balancing (EQB) — quantile balancing with bias updates and microbatching. Positioned as Europe's entry onto the Pareto frontier for efficient open MoE models; the announcement commentary noted Chinese labs' attention architectures (MLA + GDN at Sberbank) as the comparison bar and 'scale that up' as the next step. Released Oct 3, 2026 with a tech report at aleph-alpha.com/downloads/tech-report.pdf.
- Paper
Let's (not) just put things in Context: Test-Time Training for Long-Context LLMs
Diagnoses score dilution in static self-attention: the target–distractor logit margin must scale as Ω(log T) or needle mass vanishes. Thinking tokens cannot recover buried evidence under that bound. qTTT does one prefill to cache K/V then a few gradient steps on W_Q only, raising the margin without invalidating the cache. FLOP-matched to 8k thinking tokens, Qwen3-4B gains +12.6 / +14.1 pp average on LongBench-v2 and ZeroScrolls subsets; thinking-token gains saturate as T grows.
- Paper
Context Language Models
Introduces Context Language Models (CLMs): language models that natively manage their own context by treating the context as a file and allowing unrestricted updates to it, letting the model learn what is most important to maintain in context and naturally extending to multi-agent systems where multiple agent contexts coexist as files. Building CLMs zero-shot with existing models outperforms SOTA context-management strategies: 11.4% higher accuracy with 21.5% fewer FLOPs on BrowseComp-Plus, 5% higher scores with 59% fewer FLOPs on 12-hour EdgeBench, and 65% greater improvement with the same compute on a 24-hour multi-repository agent-swarm task. Shifting context management from external harness control to intrinsic model behavior enables both in-context and parametric learning of context-management strategies: steering CLMs with natural-language instructions evolved through a skill-optimization loop improves held-out accuracy by up to 35.9 points while reducing compute. An online RL method for CLMs improves Qwen3.5-9B on BrowseComp-Plus by 47.6% while using 12% fewer FLOPs. Co-designed Suffix Cache Reuse for CLM serving further cuts server-side compute by 35% relative to standard SGLang at matched performance.
- Paper
HySparse2: Hybrid Sparse Attention with Two-Level KV Sharing
Xiaomi LLM-Core paper (arXiv 2609.26368v1, 2026-09-22, cs.CL). HySparse2 extends HySparse with YOCO-style self-decoder (hybrid SWA) + cross-decoder (hybrid sparse attention) and two-level KV sharing: outer KV Bridging (full-attention layers only; cross-decoder K/V from self-decoder full-attn hidden states) and inner KV Reuse (HySparse-style shared KV + selection within hybrid blocks). Refinements vs HySparse: token-level sparsity (replacing block-level) and Forced SWA (recent tokens forced into sparse selection, no separate SWA branch). All cross-decoder KV can be built from self-decoder states, so prefill can exit after the self-decoder (~half the model). On matched 80B-A3B MoE training: after light post-training (~100B tokens), mean MRCR-v2 / RULER-v2 +11.30 / +19.81 vs HySparse; at 256k RULER-v2 58.45 vs HySparse 32.61 / Hybrid SWA 35.74; lower AgentPPL and LongPPL to 256k; at 1M tokens analysis claims 2.92× / 5.02× less prefill FLOPs vs HySparse / Hybrid SWA plus smaller KV cache. No public code link in paper; AlphaXiv abs live; HF papers page 404 at catalog time.
- Paper
Round and Round We Go! What makes Rotary Positional Encodings useful?
Positional Encodings (PEs) are a critical component of Transformer-based Large Language Models (LLMs), providing the attention mechanism with important sequence-position information. One of the most popular types of encoding used today in LLMs are Rotary Positional Encodings (RoPE), that rotate the queries and keys bas…
- Paper
Scalable In-context Ranking with Generative Models
In-context Ranking (ICR) is an emerging paradigm for Information Retrieval (IR), which leverages contextual understanding of LLMs by directly incorporating the task description, candidate documents, and the query into the model's input prompt and tasking the LLM to identify relevant document(s). While it is effective, …
- Paper
Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilities
Google DeepMind technical report (73 pages; pdfTeX dated 2025-10-16) on Gemini 2.5 Pro/Flash and earlier 2.0 Flash/Flash-Lite. Models are natively multimodal sparse MoEs with >1M-token context and native tool use. 2.5 Pro is positioned as the strongest thinking model (coding/reasoning, up to ~3h video); 2.5 Flash offers controllable thinking budget; 2.0 variants target low latency/cost. Correspondence: gemini-report@google.com. © 2025 Google.
- Paper
Falcon-H1: A Family of Hybrid-Head Language Models Redefining Efficiency and Performance
TII technical report (arXiv 2507.22448, 2025-07-30) for Falcon-H1, a parallel hybrid of grouped-query attention and Mamba-2 SSMs (SA_M: attention+SSM in parallel, then MLP). Six sizes 0.5B / 1.5B / 1.5B-Deep / 3B / 7B / 34B, each with base and instruct, plus quantized instruct variants (>30 Hub checkpoints). Token budgets from Table 1: 0.5B 2.5T, 1.5B and 1.5B-Deep 3T, 3B 2.5T, 7B ~12T, 34B ~18T. Context 16K (0.5B) up to 256K (7B/34B). 18 languages (0.5B English-only). Blog and paper both say Falcon-H1-34B matches or beats ~70B Transformer peers (Qwen3-32B, Qwen2.5-72B, Llama-3.3-70B) and 1.5B-Deep rivals 7B–10B. Code: github.com/tiiuae/Falcon-H1. Weights under the Falcon-LLM License (Apache-2.0-based, not SPDX Apache-2.0).
- Paper
Pokee-Isaac 28B: A 10M-Token Context Efficient Agentic Model Technical Report
Vendor technical report for Pokee-Isaac 28B, a non-decoder-only model partly fine-tuned from Apache-2.0 Qwen3.6-27B. Reports near-flat RULER retrieval through 10M tokens (93.3% at 10M), MRCR-v2 0.500 at 1M, BFCL-v4 70.94, Tau3 mean 0.662, MCP-Atlas 74.59% claim coverage, and 56/86 (65.1%) on the text-compatible Terminal-Bench 2.1 subset. A single B200-class GPU reportedly reaches 137.2K-token/s prefill and 337-token/s decode at 10M context. DTAP Linux-Docker results report 35.6% combined attack success and 82.5% benign success. The report positions in-boundary VPC/on-prem/on-device deployment as the main benefit.
- Model
SmolLM3: smol, multilingual, long-context reasoner
HuggingFaceTB 3B decoder (Llama-style, tied embeddings, GQA 4 groups, NoPE every 4th layer, intra-document masking) trained 11.2T tokens on 384 H100s over 24 days. Three-stage web/code/math mix, then 100B long-context (4k to 64k, YaRN to 128k) and 140B reasoning mid-train. SFT 1.8B tokens dual think/no_think, APO alignment, MergeKit soup. Outperforms Llama-3.2-3B and Qwen2.5-3B; competitive with 4B models. Think mode AIME 2025 36.7 percent vs 9.3 percent no-think. Apache-2.0. Languages EN/FR/ES/DE/IT/PT.
- Code
Recursive Language Models
Replaces llm.completion with rlm.completion: the prompt lives in a CodeAct-style REPL that the model can inspect, decompose, and recurse into via sub-(R)LM calls. Paper arXiv 2512.24601: process inputs up to two orders of magnitude beyond the base context window. pip install rlms. Sandboxes: local, ipython, docker, modal, prime, daytona, e2b. Training via verifiers + prime-rl (OOLONG example). Maintained by the paper authors at MIT OASYS. MIT license.