Explore the research collection
5 entries · Follow this search
- Paper
Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling
Generalizes linear attention from a matrix state to a third-order tensor state: writes the triadic outer product of a key, a second key, and a value (k tensor k' tensor v) into S_t in R^{d x E x d}, and reads by contracting both key axes with two queries. An E-dimensional second key yields an E-fold state-size increase while adding only two projections (negligible parameter overhead; E=16 gives 16x capacity at 1.08x non-embedding params in MQAR tests). Compatible with data-dependent forgetting (per-slice decay gates), the delta rule applied jointly to both keys (removing the value stored under the key pair), and chunkwise-parallel training via custom CuTe kernels that tile the per-head state along the value axis (blocks of 32 columns, all E slices held in registers) so no SM holds the full tensor. Applied to Gated DeltaNet and scalar-gated linear attention, it substantially improves long-context LM and recall, outperforming alternatives that enlarge state via wider heads/values, more heads, or multiple value heads per key. A pretrained linear-attention model can be converted post hoc to its triadic form during long-context extension. Training overhead over vanilla GDN (custom kernels, H100, 1.3B, 2k-64k tokens): 9-11% (E=2), 14-15% (E=4), 28-30% (E=8); E=8 is 3% slower than a Transformer at 4k but faster beyond, reaching 5.1x faster at 64k.
- Tool
who-ate-my-flops: bring your own PyTorch job, let an agent speed it up end to end
An open-source Claude Code / Codex plugin (OpenPerfAgent) for iteratively optimizing PyTorch training and inference jobs as a whole, not just individual GPU kernels. Design philosophy: rely on the foundation model's reasoning rather than prescribing how the agent reasons; the harness supplies (1) context -- computation structure and runtime profiling, (2) verification -- tools to check correctness against the baseline as the agent iterates, and (3) user alignment -- guidance to ask the right questions and align on goals/constraints. Claimed results: performance PRs developed with it merged into FunASR, FastVideo, gsplat, Ultralytics, Unsloth, and SGLang, with speedups up to 3.6x on tested workloads. Case study: in FastVideo the agent found CPU-GPU weight transfers consuming ~2/3 of the video-decoding stage, removed redundant transfers and sped up the rest, reducing generation time 15.20s -> 6.34s (2.40x) on 4 B200s. Usage: give the agent a repo, a launch command, and GPU access; run /who-ate-my-flops::init to clarify goals, then /who-ate-my-flops::optimize. Includes experiments, profiles, and lessons learned on the blog.
- Paper
Amortized Latent Steering: Low-Cost Alternative to Test-Time Optimization
Test-time optimization remains impractical at scale due to prohibitive inference costs--techniques like iterative refinement and multi-step verification can require $10-100\times$ more compute per query than standard decoding. Latent space test-time optimization methods like LatentSeek offer a more direct approach by s…
- Post
SWE-1.7: Frontier Intelligence at a Fraction of the Cost
Cognition blog dated 2026-07-08 launching SWE-1.7, described as the most capable model they have trained so far. SWE-1.7 is post-trained from a Kimi K2.7 base that had already undergone extensive RL; Cognition argues additional RL still moved the Pareto frontier. Reported pass rates: FrontierCode 1.1 Main 42.3%, Terminal-Bench 2.1 81.5%, SWE-Bench Multilingual 77.8% (table also lists Kimi K2.7 Code, GPT-5.5, Opus 4.8/4.7, GLM-5.2, Composer 2.5, SWE-1.6). Training notes: entropy/stability work for long async RL, multi-cluster RL across four datacenters on three continents with object-storage weight shipping, a data-quality pipeline with execution tests and anti-reward-hacking hardening, and self-compaction for long-horizon tasks. Served in Devin (Web/Desktop/CLI) via Cerebras at 1000 TPS. No public weights or training corpus on this page.
- Paper
Not All LLM Reasoning is Visible in the Chain-of-Thought
Defines invisible reasoning via filler-token diagnostics: accuracy rises with fixed, question-independent filler spans, depends on filler type, and the type ranking differs across models. Evaluates 13 frontier models on 4-digit multiplication, nested arithmetic, and variable-counting. Many models gain (up to +13 pp; Gemini 3 Flash +10.7 arithmetic; Opus 4.5 +11.2 arithmetic / +10.0 multiplication with counting fillers). Filler tokens let Opus 4.5 satisfy a hidden modular constraint (x mod 2 = 1: 33.5%→44.5% N/A) without hurting the primary task. RL on Qwen3-235B creates filler-type preferences but the test-time filler benefit does not persist; SFT also fails to transfer it.