Explore the research collection
4 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.
- Post
Reaching 1B context length with RAG
Zyphra research blog (2024-10-21, Palo Alto). Combines fast sparse embeddings with personalized-PageRank-style graph retrieval so only a small retrieved subset (~65 chunks / several thousand tokens) is fed to gpt-4o-mini. Reports near-perfect Hash-Hop accuracy through 1B tokens, matching/beating Magic LTM at 50M–100M while running embedding+retrieval on CPU. Contrasts with dense BERT embedders (gte-small/base/large) that embed much more slowly.
- 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
Extending the Context of Pretrained LLMs by Dropping Their Positional Embeddings
Argues explicit PEs speed pretraining (NoPE has slower positional-bias gradients) but RoPE-scaling (YaRN/NTK/PI) must compress low frequencies, shifting semantic heads so zero-shot long context matches a cropped-window baseline on NIAH. DroPE trains with RoPE, drops PEs, then recalibrates at the original context. From-scratch 0.5B on 16B FineWeb: last 2B tokens without PE matches full-RoPE perplexity and beats YaRN/NTK/ALiBi/NoPE on RULER NIAH at 2x. SmolLM-360M (600B pretrain): 30-120B recalibration recovers in-context benches; LongBench avg 30.52 vs YaRN 19.94, NIAH 74.92 vs 48.25. SmolLM-1.7B (20B rec, 2 percent of pretrain) and Llama-2-7B (20B, 0.5 percent) also beat YaRN/NTK. NIAH at 8x: DroPE 52.20 vs YaRN 12.18 / LongRoPE2 16.45.