Explore the research collection
38 entries · showing 25–38 · Follow this search
- Paper
Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models
Large language model (LLM) applications such as agents and domain-specific reasoning increasingly rely on context adaptation: modifying inputs with instructions, strategies, or evidence, rather than weight updates. Prior approaches improve usability but often suffer from brevity bias, which drops domain insights for co…
- Paper
From $f(x)$ and $g(x)$ to $f(g(x))$: LLMs Learn New Skills in RL by Composing Old Ones
Does RL teach LLMs genuinely new skills, or does it merely activate existing ones? This question lies at the core of ongoing debates about the role of RL in LLM post-training. On one side, strong empirical results can be achieved with RL even without preceding supervised finetuning; on the other, critics argue that RL …
- Paper
Differential Transformer
arXiv 2410.05258 (v2): Diff Transformer computes attention as the difference of two softmax attention maps, canceling noise and encouraging sparse attention. Claims better language-modeling performance than Transformers, stronger long-context retrieval, fewer hallucinations, and better robustness under lower-bit quantization; Discord note highlighted ~40% fewer parameters for matched performance. Microsoft/academic author list (Ye, Dong, Xia, Sun, Zhu, Huang, Wei).
- Other
Fiction.liveBench: The First Real-World Long Context Benchmark for Writers
Community long-context narrative benchmark from Fiction.live (introduced ~Feb–Mar 2025; Discord linked Mar-25-2025 story URL). Built from long complex user stories with verified quizzes; each item starts from a minimal relevant cut ('0'-token) then expands context so relevant info is buried in longer story text. Epoch AI describes 36 questions about 30 stories with length-varied summaries; primary site notes ~dozen stories and private user-derived dataset. Continuously updated leaderboard of frontier models. Measures theory of mind, chronology, secrets/reader vs character knowledge, and logical prediction from hints—harder than LongBench/RULER-style search.
- 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
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.
- Paper
Dynamic Linear Attention
DLA builds multi-state linear-attention memory with (i) Information-Aware Dynamic State Merging: a State Information Score opens a new state when token-level Frobenius drift exceeds tau, else merges; (ii) Capacity-Bounded Memory: a K-slot chronological cache that merges the lowest-density adjacent pair when full. Pretrains Mamba-2-780M and Gated DeltaNet-1.3B on 50B Long-Data-Collections tokens (seq 16k, K=30). Beats Log-Linear Attention on 8 commonsense, 6 in-context retrieval, RULER, and LongBench; Mamba-2+DLA matches or beats a 778M Transformer. Higher prefill throughput and lower memory than log-linear. No official code on the abs page.
- 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.
- Paper
Memory Caching: RNNs with Growing Memory
Memory Caching (MC) segments the sequence, caches each segment's memory state, and aggregates online plus cached memories at retrieval. Four variants: Residual Memory, Gated Residual Memory (GRM), Memory Soup, and Sparse Selective Caching (SSC). Complexity O(NL) interpolates RNN O(L) and Transformer O(L^2). Applied to Linear Attention, SWLA, DLA, and Titans. On 760M/30B-token and 1.3B/100B-token FineWeb training, MC lifts language-modeling and commonsense averages; Titans+GRM is strongest. Closes part of the recall gap vs Transformers on NIAH, in-context retrieval, LongBench, and MQAR. No official code on the abs page.
- Paper
LongCat Sparse Attention: Taming the Lightning via Streaming-aware Hierarchical Cross-Layer Indexing
LongCat Sparse Attention (LSA) composes three indexer changes on DSA: Streaming-Aware Indexing (sink+sliding-window contiguous budget plus dynamic sparse tokens for coalesced HBM), Cross-Layer Indexing (N=2 owner/reuse with distillation; halves indexer passes), and training-free Hierarchical Indexing (coarse page recall then token refine; net win at >=256K). Matches full MLA on general/long-context benches at 69B-A3B and 560B-A27B, enables 1M-token native training, and underpins LongCat-2.0 (1.6T-A48B). Releases LongCat-Flash-Lite-Sparse (69B-A3B).