Explore the research collection
161 entries · showing 97–120 · Follow this search
- Model
Beam (Reflection AI) — 501B open-weight MoE with the largest publicly documented RL run
Reflection AI's first public model: 501B-parameter text-only MoE with 23B active per token, 1M context window, positioned as the US open-weight answer to DeepSeek/Qwen ('AI factories' for enterprises and sovereign nations). Pretrained on 23.8T tokens (95% of raw internet removed; ~1.8T high-quality tokens kept that conventional filters would drop) in under 4 weeks on 6,144 GB300 NVL72 GPUs (92.3% goodput, 9 semi-automatic rewinds); midtraining extended effective context to 1M. Architecture: interleaved local + global attention with fine-grained routed experts; auxiliary-loss-free load balancing from DeepSeek-V3 plus cosine decay of expert-bias updates (busiest expert only 1.04x average load); residual norms bounded via depth-based scaling, SandwichNorm, attention gating, and FP32 residual accumulation. RL is the central scaling axis — the largest publicly documented RL run: 10.5K GB300 GPUs for 4 weeks, 100M+ rollouts (256K max rollout context), ~1.3B sandboxes (46.4M/day) across ~1M coding/agentic/STEM environments; fully asynchronous policy gradients with every token tagged by policy version, staying stable at 1-day staleness (107 weight versions behind); 110K concurrent rollouts; new weights to the inference fleet in median 12s; 71 inference incidents handled without stopping training; no plateau on Terminal-Bench 2.1/HLE/DeepSWE; controllable length penalty taught shorter-then-longer reasoning. Company-published benchmarks: Terminal-Bench 2.1 80.1 (vs GLM 5.2 81.0), SWE-bench Pro v1 65.5 (vs GLM 5.2 62.1); claimed 3-4x more inference-efficient than GLM 5.2 on a model-compute comparison that excludes prefill/attention/overhead. Caveats: all numbers are company-published with no independent verification; weights not yet released. Company context: founded Mar 2024 by ex-DeepMind Misha Laskin (CEO) and AlphaGo co-creator Ioannis Antonoglou (CTO); Nvidia-backed, ~$25B valuation; $6.3B SpaceX Colossus 2 + $1B Nebius GB300 deals through 2029; DOE and Dept of War model-supply partnership.
- Model
flow-1 (Laminar) — RL-trained model for agent trace error detection
Model trained with RL to find hard-to-spot errors in agent traces and explain why they happened, running inside Laminar's 'Signals agent' harness — works like a coding agent, treating the trace as a repo and each span as a file; starts from a full-trace preview + a user prompt ('identify any logical errors'), greps across spans, reads them in full, and returns structured JSON following the user's schema. Training: SFT on synthetic investigations of realistic workflows across software (48.2%), customer support/telecom (20.3%), web/assistant (9.2%), legal (7.7%), CRM/sales (6.5%), enterprise analytics (3.5%), finance (2.4%), knowledge work (1.3%), healthcare admin (1.0%), then RL inside the Signals agent with the same tools it has in production (tool use, schema adherence, complex-trace investigation). On Laminar's Signals benchmark of 523 difficult agent traces: flow-1 .835/.741 Detection/Description F1 vs GPT-6-sol (high) .816/.728 — matches sol-level analysis while flagging fewer false positives (higher precision .817 vs .703); below Claude Opus 5 (.890/.848). Cost: $0.05/1M input, $0.01 cached, $0.30 output — 888 traces per $1 ($0.0011/trace) vs 38 for sol ($0.026), 668 for luna ($0.0015), i.e. ~23x more traces per $1 than sol at same quality; 25% cheaper than luna with better detection. Honest caveats in the post itself: flow-1 missed a contract redline that omitted mandatory AI-governance protections while both GPT-6 models caught it. Another RL checkpoint is training to make flow-1 a more efficient thinker. Production use case: monitor every agent run without sampling; turn traces into regression tests, evals, and signals for what to build next. No weights/code released; model served via Laminar's platform.
- Model
Kairos 1 (Diachronic) — model for simulating individual human behavior
Diachronic (founder Kevin Bang He) announces Kairos 1, described as the first model built to simulate individual human behavior rather than population averages. Framing: frontier models trained on the internet have 'superhuman IQ but no sense of how people actually make decisions' because surveys/traces/scraped data lack the fidelity to replicate decisions informed by context, personality, and personal history. The model's training data is proprietary: open-ended answers from >100,000 people sharing their 'deepest stories and hardest decisions,' claimed to be the largest such dataset by an order of magnitude (internal chart: Diachronic Internal Dataset 100,000 vs Humaual 22,747, Fisher English 11,917, Voiceome 6,650, Twin-2K-500 2,058, CANDOR 1,456, Anthropic Interviewer 1,250, Stanford Generative Agents 1,052). Claims: Kairos 1 beats Persimmon, Astra, Fable, and Gemini across 13 simulation benchmarks; the posted 'User Sim Index - Overall' chart shows Kairos 1 at 86.11, Persimmon 77.82, Grok 4.6 70.4, GPT-6 Astra 58.18, Fable 5.1 56.52. The team states the benchmark results come from an early training checkpoint and that they are continuing to scale. No paper, no code, no weights, no demo, and no public dataset were released with this announcement; the only external link is the company site (diachronic.ai). The announcement closes with a hiring call. Caveats for the record: (1) all performance numbers are self-reported from an early checkpoint, not peer-reviewed or independently reproducible; (2) post text claims a win over 'Gemini' but the posted benchmark chart shows 'Grok 4.6' instead and contains no Gemini entry; (3) the dataset is proprietary and not released. Relevant to the user's interest in agentic simulation and behavioral modeling.
- Paper
Continual Graph Memory for Mathematical Research Agents
Ansatz, a mathematical research agent built around Continual Graph Memory — a graph-based, evolvable, cross-problem memory system for long-horizon proof search. Motivation: solving frontier math problems may need massive parallel agents running for long periods, generating enormous volumes of intermediate proof results that must be organized and reused. Components: a unified graph memory representing all intermediate exploration results (facts, plans, counterexamples) with edges for their relationships; dependency-aware retrieval for targeted local context; an evidence-sensitive curator that updates the research frontier and distills lessons from prior attempts; scoped recall that surfaces earlier statements and negative findings for local re-proving rather than uncritical reuse. Experiments across all ten 'First Proof Second Batch' research tasks plus four component studies: Ansatz reports closure on all ten tasks and sustains/resumes long-horizon mathematical search. Beyond that, it autonomously solved the Jamison caterpillar conjecture and Erdos Problems 289, 348, and 488 with no human intervention, and made partial progress on several other open problems.
- Paper
The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinks
Mechanistically studies two recurring Transformer phenomena: massive activations (a few tokens show extreme outliers in a few channels) and attention sinks (certain tokens attract disproportionate attention mass regardless of relevance). Through systematic experiments, shows their co-occurrence is largely an architectural artifact of modern Transformer design, and the two serve related but distinct functions: massive activations operate globally — inducing near-constant hidden representations that persist across layers, effectively functioning as implicit parameters — while attention sinks operate locally, modulating attention outputs across heads and biasing individual heads toward short-range dependencies. The pre-norm configuration is the key architectural choice that enables the co-occurrence; ablating it decouples the two phenomena. Practical upshot: modifying normalization logic or adding dynamic gating can eradicate massive activations without hurting LM performance, giving a structural path to safer ultra-low-precision quantization and efficient KV-cache management.
- Paper
SelfSearch: Reward-Free Search for Self-Improving Agents
Reward-free search procedure in which a coding agent rewrites its own harness (instructions, tools, execution procedures) using records of previous self-improvement episodes, which capture the reasoning, tool actions, and outcomes of earlier modification attempts; the modified agent then becomes the next improver. Avoids the cost and task-tied search of repeated downstream evaluation required by existing self-improvement approaches. Without downstream reward signals during search, population-mean success improves over the initial agent in all six model-benchmark settings, with individual agents gaining up to 11.2 percentage points on Terminal-Bench 2.1. On SWE-bench Multilingual, one evolved agent gains 5.0 percentage points while reducing execution cost by 38.5% on tasks solved by both versions. Achieves competitive success with evaluation-guided search baselines at lower search cost: with only $4.03 in search cost it produces a harness solving 82.0% of Terminal-Bench 2.1 tasks with DeepSeek V4 Flash under a public nine-harness comparison's settings, matching the top-scoring harness Codex.
- Paper
Attribution-Guided and Coverage-Maximized Pruning for Structural MoE Compression (MoE-Slimming)
Structural pruning framework for MoE LLMs built on the observation that MoE expert information is concentrated in a small fraction of channels — expert-level importance is too coarse to capture internal redundancy, and even 'high-importance' experts may not need large capacity. Three components: (1) Attribution-guided Loss Approximation (ALA) estimates expert importance layerwise via first-order Taylor approximations over calibration data, without exhaustive ablation (20x fewer GPU hours); (2) Coverage-maximized Budget Allocation (CBA) reformulates prune-ratio allocation as channel-score coverage maximization under a global budget, retaining high-contribution channels and pruning low-score tails; (3) Alignment-Aware Redistribution (AAR) adjusts dimensions to satisfy low-bit kernel constraints for quantized storage and efficient inference. On DeepSeek and Qwen MoEs, retains accuracy under 50% or 25% structured pruning jointly with 4-bit quantization: Qwen3-30B-A3B memory footprint reduced 5.27x, at most 1% average accuracy drop on general knowledge, 94.5 on MATH500, and outperforming SOTA baselines across diverse benchmarks. Pipeline: score -> mask generation + LoRA fine-tuning (fake pruning during training, masks anneal) -> physical slimming into a smaller dense checkpoint + lm-eval-harness benchmarks.
- Paper
Planning to Learn (The horizon problem: policy gradients are myopic)
Shows that when policy gradients fail, the usual suspects (exploration, credit assignment, sampling noise) are not the cause. A classifier is a policy whose expected reward — expected accuracy — is the probability assigned to the correct label, so the policy gradient is exact and smooth; yet exact policy gradient loses to cross-entropy even on expected accuracy (ImageNet: 4% vs 62% for cross-entropy). The exact gradient is myopic: it values an update only by what it buys now, but each update also sets where the next one starts, so an update's value depends on how much learning remains. Viewed this way, cross-entropy is 'patient accuracy' — the total error an example would pay if its log-odds rose at unit speed forever — while exact policy gradient is the zero-horizon limit. Truncating this total at the learning that remains yields the horizon loss, a one-line change moving from cross-entropy toward exact policy gradient as training runs out. Provably escapes the trap that catches each endpoint in a simple allocation model; on MNIST and ImageNet (ResNet-50, ResNet-101, ViT-S/16), the horizon loss improves top-1 accuracy over cross-entropy at a flat learning rate, with gains growing under label noise. Implication for LLM post-training: policy gradient 'only cares about the end result' (accuracy), so cross-entropy-like losses over a longer horizon can yield better expected reward than following the policy gradient directly.
- Paper
EurekaBench: Measuring Agentic Ability to Discover New Scientific Insights
Cross-domain benchmark testing AI agents' ability to conduct long-horizon experiments and discover mechanisms that explain observations. 26 expert-verified long-horizon tasks across neuroscience, computer science, chemistry, astrophysics, geophysics, and plasma physics, with 306 scientific insights the discovered mechanisms are expected to support. Environment interface lets agents run iterative experiments autonomously; evaluation framework tests three axes: scientific constraint tests, predictive accuracy of discovered mechanisms, and whether mechanisms yield scientific insights or inform future research. Key finding: current AI agents fixate on predictive accuracy optimization (Claude Fable 5.1: 47.4% PA vs 48.8% human; GPT 6 Astra approaches human accuracy) but fall far short on insight discovery (best agent Claude Fable 5.1: 29.8% SI vs 63.7% human; GPT 6 Astra only 29.4%). Optimizing predictive accuracy does not imply discovering novel scientific insights; agents tend to brute-force numerical optimization rather than interpret/extrapolate mechanisms.
- Paper
Looping Beyond Twice: A Scalable Recipe for Looped Mixture-of-Experts
Diagnoses why looped MoE benefits fade after ~2 loops (extra FLOPs yield little): (1) the curse of depth is inherited and amplified — hidden-state variance grows each iteration as residual updates accumulate, destabilizing deep recurrence and drifting representations; (2) expert selection collapse — routers repeatedly select the same experts across loops, so iterations add compute without computational diversity. LOOM is built on one principle: each loop should contribute new computation while keeping the recurrent state stable. It stabilizes recurrence by scaling residual updates to bound variance growth and re-injecting the input embedding at every loop, and diversifies it through per-loop routers that engage different experts plus a Looping Residual carrying earlier outputs forward. Stable scaling to 9-12 loops across 100M-1.7B models. Near-iso-FLOP: the 700M model peaks at 5 loops, perplexity 18.36 -> 16.54, avg zero-shot 38.84% -> 39.53% over the non-looped baseline. Without FLOP matching: 1.7B model trained on 60B tokens peaks at 9 loops, perplexity 9.62 -> 7.77, avg zero-shot 42.4% -> 47.7%.
- Paper
A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training
Unifies the two emergent outlier phenomena in LLMs — attention sinks (a few tokens receiving large attention logits) and residual sinks (fixed dimensions with persistently large activations) — under 'outlier-driven rescaling': the outliers work jointly with normalization (softmax attention, RMSNorm) to rescale non-outlier components, and this mechanism is validated across architectures and training token counts. Main conclusions: (1) outliers function jointly with normalization — removing normalization eliminates the outliers but degrades training stability and performance; clipping outliers while keeping normalization also degrades, so outlier-driven rescaling contributes to training stability; (2) outliers act as rescale factors, not contributors — their post-norm contributions are far smaller than non-outliers'; (3) outliers can be absorbed into learnable parameters or replaced by explicit gated rescaling (GatedNorm), improving training performance by an average of 2 points and drastically improving quantization robustness (only 1.2 points degradation under W4A4). Since outliers' post-norm contribution is tiny, relying on them is what makes LLM quantization a nightmare (huge dynamic ranges).
- Model
Madhuram-v1 (MaruthLabs)
151M-parameter language model pretrained on 1T tokens by MaruthLabs, built for real work on resource-constrained devices (16K context window, ~100MB quantized, on-device capable; also served via an OpenAI-compatible API). Madhuram-v1 leads 9 of 17 pretraining benchmarks against similarly-sized models trained on 2-19x more data (LFM2.5-230M on 19T tokens, Gemma 3 270M on 6T, SmolLM2-135M on 2T): 49.52 average across 8 commonsense benchmarks; SciQ 84.40 and MMLU Pro 13.45 highest of the four; coding (MBPP 3-shot 11.8, HumanEval 12.2) highest of the four. More tokens moved the whole curve vs Madhuram-v0.6 (600B->1T: commonsense avg 47.52->49.52, MMLU 31.71->35.29, CommonSenseQA 20.88->32.35, MMLU Pro 8.68->13.45, TriviaQA 6.21->7.47). LFM2.5 still leads MMLU, CommonSenseQA, ARC-C, GPQA Diamond, TriviaQA, MATH-500. MaruthLabs offers task-specific fine-tuning for classification/extraction/routing as custom engagements.
- Paper
The Surprising Effectiveness of Shared Memory in Looped Transformers
Looped Transformers add compute without parameters by re-applying the same layers, but each recursion writes its own KV cache, so memory grows with compute. This paper pretrains looped models to share memory instead: only the first recursion writes a cache; later recursions read it while keeping a short window of their own. Sharing memory does not cost quality — it improves it. At 150M-1B parameters, the Looped Prediction Transformer (LPT) and its hybrid variant set a new quality-memory frontier for looped models: with five recursions, the hybrid lowers FineWeb-Edu validation perplexity by 1.12-1.82 vs a same-size standard Transformer while using 76-79% less context memory. Analysis: shared and local memory develop different representations, later recursions attend mostly to the shared memory, which also acts as a gradient highway to the first recursion.
- Paper
Attention Residuals
Replaces standard PreNorm residual accumulation (fixed unit weights over all layer outputs, which causes uncontrolled hidden-state growth with depth and dilutes each layer's contribution) with Attention Residuals (AttnRes): each layer selectively aggregates earlier representations via learned, input-dependent softmax attention over preceding layer outputs. Block AttnRes makes this practical at scale: partitions layers into blocks and attends over block-level representations, cutting memory from O(Ld) to O(Nd) while preserving most gains; cache-based pipeline communication and a two-phase computation strategy make it a drop-in replacement for standard residuals with minimal overhead. Scaling-law experiments show consistent improvement across sizes; ablations validate content-dependent depth-wise selection. Integrated into the Kimi Linear architecture (48B total / 3B activated) pre-trained on 1.4T tokens, AttnRes yields more uniform output magnitudes and gradient distribution across depth and improves downstream performance on all evaluated tasks (reasoning, math, coding).
- Paper
Native Hybrid Attention for Efficient Sequence Modeling
Native Hybrid Attention (NHA) unifies linear and full attention into a single softmax operation within one uniform layer design. Long-term history is compressed into fixed-size key-value memory slots updated by a linear RNN; short-term context comes from exact sliding-window tokens; one softmax over all keys and values learns per-token, per-head balancing dynamically with no extra fusion parameters. A single hyperparameter — the sliding window size — shifts each layer smoothly between pure linear attention (w=0), intra-layer hybrid, and full attention (w=N), with no structural changes; all layers share the same architecture. NHA beats Transformers and other hybrid baselines on recall-intensive and commonsense reasoning tasks, and pretrained LLMs (Llama-3, Qwen) can be structurally hybridized with NHA via lightweight finetuning (e.g., NHA-Qwen2.5-7B / NHA-Llama-3-8B trained on 10B tokens, NHA-Qwen3-30BA3B) to match accuracy with drastically lower GPU memory and inference latency.
- Paper
Refining Over Resampling: Test-Time Self-Correction for LLM Reasoning
Verifier-free breadth-depth refinement framework for test-time compute: samples multiple independent reasoning rollouts, refines each through iterative self-critique and self-correction, then aggregates by majority voting. Breadth preserves diverse initial attempts; depth repairs local reasoning errors before aggregation. Avoids the diminishing returns of blind resampling (new rollouts repeat answer patterns) and the calibration dependence of verifier-based selection. Beats greedy decoding, majority voting, verifier-based best-of-N, beam search, and lookahead decoding across multiple open-weight models on AIME24, AIME25, AMC, OlympiadBench, and MATH500. E.g., with Qwen2.5-1.5B: strongest verifier-based baseline rises to 58.0% on MATH500 and 25.0% -> 32.5% on AMC.
- Paper
Would This Change Your Answer? Evaluating Explanations of LLM Behavior in the Wild with Counterfactual Experiments
Evaluates explanations of LLM behavior through counterfactual simulatability: is the explanation useful for predicting the model's behavior on related counterfactual inputs? Introduces CHIVE (Counterfactual Hypothesis Investigation Via Edits), an agentic pipeline that identifies unexpected naturally-occurring model behaviors in the wild and investigates them with counterfactual prompt edits, yielding thousands of high-quality explanations with supporting counterfactual evidence. Two applications: (1) testing whether common interpretability techniques help an agent predict counterfactual model behaviors — surprisingly, no uplift from any technique studied (activation oracle / NLA / SAE conditions do not beat the transcript baseline: transcript 73.6 acc / 81.4 AUROC vs AO 72.7/80.9, NLA 71.3/80.3, SAE 71.9/81.0, per the paper chart); the authors note tool outputs almost always restate feature and behavior already visible in the transcript and almost never state the causal relationship explicitly. (2) Training models on CHIVE-generated counterfactuals generalizes to various out-of-distribution settings.
- Paper
Raven: The Harness of Harnesses for Composable Agentic Intelligence
Open-source multi-agent ecosystem that automatically constructs and evolves modular agent harnesses for specific models and domains, treating each executable model-harness pair as a composable unit of intelligence. Harness components are diagnosed, mutated, and recombined from failures; a candidate replaces the current harness only after passing a statistical check. A Host Agent decomposes goals into a task graph and routes parts to specialized model-harness pairs (research, code, design, on-call); a host archive and EverOS preserve experience across tasks and Skill Forge makes it available as reusable procedures. Theory gives sufficient conditions for composition to expand reliable task coverage beyond the individual agents under a shared resource budget. With DeepSeek-V4-Flash, the research harness scores 69.3% on BrowseComp and 60.0% on Humanity's Last Exam (vs at most 62.4%/43.3% for two other harnesses on the same model); a curated skill library raises SkillsBench Pass@1 from 9.2% to 22.6%.
- Code
Homebrew: an open agent that brews AI models with you
Guided console agent ('brewmaster') that turns model fine-tuning into a beginner-friendly conversation: the user describes the goal and the agent handles base-model selection, data preparation, safe hyperparameters, and training. The guiding AI can be Claude, any OpenAI-compatible model, or a local model. Supports text models (Qwen3, Qwen3.5, Llama 3.x, Gemma 3/4) with LoRA/QLoRA/full fine-tuning via chainable CPT -> SFT -> DPO regimes, plus image LoRAs for Qwen-Image 2.1 with live previews. Trains on a local GPU or an automatically provisioned rented GPU (Runpod/Vast.ai), with publishing to Hugging Face. Demo proof: 'Grandma's Kitchen' (Qwen3.5 2B writing recipes in a warm grandma voice) and a Y2K digicam LoRA for Qwen-Image 2.1, each brewed in a single guided session on one rented GPU.
- Paper
Shared Circuits for Shared Grammar: Tracing Subject-Verb Agreement Across Languages
Asks when multilingual LLMs' internal mechanisms overlap cross-lingually, via present-tense subject-verb agreement (a morphosyntactic process weakly expressed in English). Uses activation patching and attention analysis across 29 languages and five open-source model families to identify the attention heads causally implicated in agreement and compare head-level signatures across languages. Languages with overt person/number inflection show more similar agreement circuitry than non-conjugating languages, with strongest sharing when the analysis isolates recovery of the inflectional contrast itself. English becomes more similar to conjugating languages precisely where overt agreement is required. Many implicated heads share attention patterns across languages, suggesting cross-lingual overlap reflects shared functional roles as well as shared localization. Conclusion: multilingual LLMs reuse partially shared computational structure for morphosyntactic agreement rather than fully separate language-specific solutions.
- Model
Qwen-Image-2.1 Consistent Lighting LoRA (rh-qwen-image-2.1-lora)
LoRA adapter (160 MiB safetensors) finetuned on Qwen-Image-2.1 for compositing products/objects into scenes with consistent lighting: removes unwanted reflections/glares, enhances specular highlights, adds natural contact shadows and front-back spatial relationships so the object blends seamlessly into the background. Trigger word: 'pengyu'. Works in ComfyUI / RunningHub / Hugging Face.
- Paper
Cross-Benchmark Transfer from RL on Agentic Coding Tasks
Post-trains Kimi K2.7 Code (1T params, 32B active, open-weight MoE) with RL alone on 1,700 expert-built agentic coding tasks: 1,000 repository tasks graded by hidden fail-to-pass + pass-to-pass tests of existing behavior, 700 terminal tasks graded by expert-written hidden verifiers. Reward = fraction of target checks passed, zeroed if any pass-to-pass test fails. One epoch of GSPO on a rank-32 LoRA adapter raises pass@1 on all six external benchmarks across three agent harnesses: SWE-Bench Pro 60.1->64.8, DeepSWE 31.0->43.4, Terminal-Bench 2.1 67.4->82.0, Terminal-Bench 3 1.4->12.1, Terminal-Bench 4 0.0->7.6, SWE-Marathon 5.0->25.0. Gains statistically significant (p<0.001 pooled; p=0.004 on sets released after training data collection), hold under harnesses never used in training, and median agent trajectories are 24-35% shorter. Evidence that RL-taught agentic coding skills (avoiding dropped requirements, shallow testing, behavior breakage, unchecked assumptions) transfer beyond the training distribution.
- 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.
- Post
The Anatomy of an Agent Harness
Synthesis of how Anthropic, OpenAI, LangChain, and Perplexity actually structure production agents - identifying 12 production-grade harness components (cited as the canonical reference by projects like Mnemosyne, which audits itself row-by-row against it). Framed the field's three-phase trajectory: competing on model weights, then context engineering, then harness engineering - each stage widening what the practitioner is responsible for shaping. LangChain's Vivek Trivedy formalized the companion distinction: 'If you're not the model, you're the harness.' The harness is the runtime shipped as a product (loop engine, tool registry with schemas/permissions/errors, state/memory persistence, control loop, verification layer, recovery policy, budget manager); you configure it, you don't construct it.