Explore the research collection
60 entries · showing 25–48 · Follow this search
- Model
Fern 0.1 — Mirendil's first model (Mirendil-Base after post-training), up to 10M-token context
Fern is Mirendil's first model, pretrained from scratch and built for high-volume agentic work in AI R&D: auditing training data, debugging training runs from logs, reading full agent traces end to end, working across large codebases, and agentic coding. Fern 0.1 is Mirendil-Base (0.1–0.5T params, range as disclosed in #105) after a short round of post-training; new versions ship frequently. Headline claim: architecture, training and serving support up to 10M tokens of context — about 23 MB / ~half a million lines of code, described as Megatron-LM scale, or days of an agent's work held in context at once. Two larger models remain in pretraining: Mirendil-Base-Large (0.5–2T, 80%+ through) and Mirendil-Base-XL (2–10T, 20%+ through), same progress figures as the Oct 21 announcement.
- Post
Carbon-X: When Natural Language Meets DNA
A 14B open model mid- and post-trained from Qwen3-14B (POST ERROR, flag: the announcement post says "Qwen3.5 14B" — every primary source says Qwen3-14B, HF metadata base_model: Qwen/Qwen3-14B) to reason over DNA sequences in the same token stream as natural language — "chat to your DNA." Architecture is the unchanged Qwen3-14B backbone (14.82B BF16 params, 40 layers, hidden 5120, GQA 40Q/8KV heads, head dim 128, SwiGLU, RMSNorm + QK-norm, RoPE θ=1e6, 40,960-token window). The one architectural idea is a hybrid tokenizer in a single stream (explicit contrast with BioReason's separate DNA encoder): text uses Qwen3 BPE; DNA is encoded as non-overlapping 6-mers (4,096 6-mer tokens + 1,364 tail tokens + <dna>/</dna>/<oov> markers = 5,515 DNA tokens, vocab 157,184 total), ~1/3 the tokens of BPE on DNA; the tokenizer auto-detects runs of ≥6 ACGT bases, and any 6-mer containing a non-ACGT character collapses to a single <oov> token (resolution loss by construction); custom tokenizer code requires trust_remote_code=True. RECIPE (all numbers model card): (1) vocab-extension warmup — DNA tokens random-init, ~10B tokens with the transformer body frozen (embeddings only), then unfreeze; (2) mid-training — 302B tokens, seq 8,192, global batch 512 seqs (~4.2M tokens/step, 72K steps), cosine LR 5e-5 → 5e-6; mixture Raw DNA 55% (eukaryotic genomes 38.5%, mRNA/OpenGenome2 8.8%, prokaryotic 5.5%, mRNA w/ splice+promoters 2.2%), English 20% (FineWeb-Edu 8%, DCLM 8%, FinePDFs-Edu 4%), biology text 15%, instruction 10%. Blog ablation story (4B-scale sweeps): LR was the dominant forgetting knob — higher LR learns DNA fast but catastrophically forgets English, lower LR preserves English with DNA at chance; separate embedding/body LRs, gradient-conflict layer protection, specialist merging, more replay, and embedding-init schemes all FAILED; what worked was lower LR + larger model (14B preserved English where 4B at the same LR did not) + longer run; cosine beat WSD (WSD worsened forgetting in their experiments). (3) SFT — 3 epochs, cosine 1e-5 → 1e-6, loss on assistant tokens only; variant-effect reasoning (~30%), sequence classification, procedurally generated DNA skills, sequence recovery, bio Q&A, general chat. Supervision provenance (blog): distillation was tried and ABANDONED — frontier teachers refused/hallucinated, open models too weak, self-distillation from the mid-trained model's own RL rollouts imported unsupported claims; instead they built deterministic verifiers that check claims against the supplied DNA with domain experts, and the grounded SFT checkpoint beat the self-distilled one on FrontierVEP. (4) RLVR — asynchronous GRPO (TRL + vLLM), thinking disabled, two rounds with pass-rate-based prompt selection from the model's own rollouts (98,433 prompts round 1, 58,249 re-selected round 2), 16 samples/prompt, completions ≤4,096, LR 1e-6, asymmetric clipping ε=0.2/0.28, max grad norm 0.2; rewards are code-checked verifiers per task, INCLUDING a penalty for ungrounded rationales in variant-effect prediction. RESULTS — ALL first-party HF, no independent replication, released same day: five DNA benchmarks (thinking disabled, 1 sample/problem; each rival shown at the reasoning effort with its highest AVERAGE — their selection rule): BioReason Coding 74.9 (best; GPT-6.1 Sol Max 71.0, Opus 5.5 Max 70.3), BioReason Non-SNV 85.1 (Opus 94.8, GPT 91.7), GenomeQA 63.6 (GPT 67.2), NextBase 39.4 (best; GPT 32.9), FrontierVEP 70.4 (Opus 76.2, GPT 74.9) — average 66.7 vs GPT-6.1 Sol 67.5 and Opus 5.5 60.9, claimed +27 points over the Qwen3-14B base (base row not tabulated) at ~1/1,800 the inference cost per problem by their cost model (blog subtitle says 1,000× — internal inconsistency, flagged). GenomeQA hides two weak tasks (histone marks 34.6, splice sites 29.8). General ability retained: IFEval 79.3% prompt-level strict. KEY CONTROL: RL applied directly to Qwen3-14B with no mid-training never rose above the 50% chance baseline on FrontierVEP — the capability had to be installed by mid-training first. Sub-agent result (first-party): Kimi K3 with required Carbon-X consultation rose 49.4% → 60.5% (+11.1pp) on their DNA index. Authors' limitations: not clinically validated; exact sequence operations unreliable (pair with deterministic tools); hallucinates without context; long DNA generation degrades (a reader/explainer, not a designer); inputs beyond training lengths untested; eukaryote-infecting viral genomes excluded from training data. Two of the five benchmarks (FrontierVEP, NextBase) were built by the authors themselves, and several frontier-model scores are refusal-driven rather than capability-driven (authors transparent: e.g. Opus NextBase falls to 1.1% at max effort as refusals rise) — the "matches frontier" framing partly prices in rivals' safety refusals. Also unresolved between primaries: blog says Carbon-X "works with llama.cpp," model card says llama.cpp/GGUF are NOT supported because the custom DNA tokenizer cannot load there — flagged.
- Post
Reactive Optimizers — OPAL (OPtimizer with an Agent in the Loop)
Thesis: optimizers are static — hand-crafted or discovered offline, then run unchanged. A reactive optimizer instead puts a zero-shot LLM agent (Claude Opus 5.5 in all blog experiments; nothing learned or retained across runs) inside a single training run and gives it code as the entire interface. The agent iteratively rewrites two programs: `updater.py`, the optimizer itself, executed every step — the whole algorithm is up for rewriting, not just hyperparameters — and `analysis.py`, self-written probes that extract the training-dynamics statistics the agent chooses to watch (per-parameter-group gradient norms, update size relative to weights, cosine between consecutive gradients, per-tensor spike detection). One agent conversation spans the run, so it remembers what it tried and why. In the released package, checks run every 50 steps, decisions are capped (default ≤50, front-loaded into the first 5% of the run), and the agent's remit is bounded: it cannot touch model, data, loss, batch size, step count, or evaluation, and until its first edit the wrapped run is bit-for-bit identical to the plain run. Guardrails in the package: a new updater takes over on all ranks at once and runs a 20-step trial — an error reverts to the previous program; a first-step failure is undone exactly when a snapshot of parameters + optimizer state fits in `snapshot_limit_gb` (default 2 GB); a later failure is NOT undone and the agent is only told; an `eval_integrity` check flags a program that moves parameters away for an evaluation and back. Training can run asynchronously while the agent thinks (blocking=False), edits landing a median of 65 updates later on Goldfish. Headline claim (authors'): where no recipe has been tuned for the setting, OPAL — always INITIALIZED from an existing recipe — matches or beats the best recipe one could pick off the shelf one-shot. Baselines, precisely: for settings derived from modded-nanogpt Track 3 (162M GPT on FineWeb), five leaderboard records transplanted with natural adjustments (#46, #30, #21 Shampoo, #36 tuned Muon, #2 AdamW; at quarter batch, all LRs ×¼) — OPAL initialized from #36 ranked first in every new setting (quarter batch; Chinese, Thai, Kyrgyz from 1 GB Goldfish sets; Chinese/Thai bars are means of 3 runs). Goldfish Amharic (125M GPT, 1 GB, 10 epochs; metric bits/sentence on held-out FLORES-200): official recipe 83.48 → OPAL from that recipe 81.11; an LR sweep found a static recipe at 80.89 — ahead of OPAL-from-official — but OPAL initialized from the swept recipe ended ahead again at 80.73 (Swahili similar: 79.37 → 77.60). Image generation: LightningDiT-XL/1 on ImageNet, FID-50K 1.83 vs official recipe's 2.18 with guidance (4.33 vs 5.15 without); RAEv2-B (official recipe already a Muon variant, GMuon) 3.19 vs 3.39 in the blog — the repo table shows prompt sensitivity: 3.10 with an efficiency-asking prompt, 3.46 with the neutral prompt. SiT-B/2 (repo table): FID-50K 35.7 → 23.6. On the original, heavily tuned modded-nanogpt setting the gain is small (validation loss 3.2749 vs record #36's 3.2781), and the README documents a run that ended WORSE (3.2878 on OPAL 0.2.0). What the agent actually does, from the decision logs: builds intricate per-parameter-group multi-stage LR schedules (including mid-run LR increases; A/B/A tests alternating two LRs for a few hundred updates each and keeping the winner; re-planned earlier cooldowns from loss trends); migrates tensors from AdamW to Muon module-by-module (attention/MLP first, then adaLN split into chunks, timestep embedder last); on modded-nanogpt it measured that token-embedding entries are ~15 in size where adjacent bf16 values are 0.0625 apart, so as the LR decayed, rounding would discard a growing share of each update — from update 1,040 it kept that one matrix's Adam moments in float32 with compensated rounding on writeback and left everything else alone. Loss-spike defense: in a SiT run it traced 17 of 18 logged gradient spikes to the timestep embedder and wrote per-tensor clipping thresholds set from each tensor's own recent gradient norm (global threshold kept as backstop); in a controlled ResNet-18/CIFAR-10 experiment with four inserted stretches of random images and labels (agent not told), the first two stretches cost it −50.0 and −66.3 accuracy points (≈ the static baselines), but between stretches it added loss damping, replaced it with clipping, then wrote a gate that holds back batches whose loss is far above recent clean ones — the third stretch cost −12.1 and the fourth +0.7, while Muon+clip, AdamW+clip and Stable-SPAM still lost 28.5–76 points per stretch. Overfitting: ResNet-18 on CIFAR-10 with 10% wrong labels, no augmentation, agent sees train + dev metrics but is never told about the label noise — AdamW ends at test loss 2.49 / 73.5% accuracy (early-stopped 1.01 / 72.9%; weight-averaged 0.83 / 77.5%) and predicts the wrong trained label on 100% of the 4,500 mislabeled training images; OPAL ends at 0.69 / 78.6%, predicts the wrong label on only 4% (true label on 78%), via progressively higher learning rates plus a self-chosen weight average ("extended SWA") selected on the dev set. Toy control check (2D landscapes, OPAL restricted to heavy-ball with momentum resets/return-to-best): mean log10(f − f*) −11.6 vs −2.2 for the best of 12 common static recipes and −7.4 for the best of 382,080 swept recipes. Cost: ≈100 decisions on LightningDiT cost $6.42 at Opus 5.5 list price on top of ~74 H100-hours (~$510 AWS on-demand); asynchronous mode adds 1.01–1.14× wall-clock vs the static run (blocking at every decision: 1.30–4.39×). Authors' stated limits: gains shrink when a run is short AND its recipe is already fine-tuned (the two conditions coincide in the original modded-nanogpt setting; other settings train 8–120× more updates); reactive behavior is another source of nondeterminism and makes training less reproducible; most experiments run once, a few three times; the current implementation does not support sharded training or optimizer compilation. Repo README adds: v0.3.4, single GPU / single-node DDP only (no multi-node, FSDP, DeepSpeed); "the agent can make a run worse: it cannot restart or roll back training, it can only fix its programs at the next decision"; results vary run to run because the agent chooses differently. Repo ships a one-line `opal.wrap()` wrapper around any torch.optim optimizer, `opal doctor` / `opal estimate` / `opal show` / `opal report` tooling, examples, a CPU test suite, and an experimental Codex backend (gpt-6.1-sol); 34 stars, created the day of the thread.
- Post
INTELLECT Policy Optimization (IPO)
Prime Intellect's new default RL loss in prime-rl 0.10.0, built for async/off-policy RL stability. The problem: in async RL the trainer policy π and the rollout-generating inference policy μ never agree exactly on a token's probability, and drift between them can collapse training. The old fix, IcePop (ratio-band masking from "Every Step Evolves," also used in INTELLECT-3), keeps a token iff π(y_t)/μ(y_t) ∈ [0.2, 5]. IPO keeps a token iff the absolute probability change |π(y_t) − μ(y_t)| ≤ ε (default 0.3), retaining the importance-weighted policy-gradient term τ_A Â_t · π/μ on kept tokens. Why the ratio misjudges both tails: a rare token 0.01→0.06 has ratio 6× → masked despite moving 0.05 of probability mass; a likely token 0.90→0.20 has ratio 0.22 → kept despite moving 0.70. Treating the vocab as {this token, everything else}, |π−μ| is the total-variation distance between the two engines on that split. The criterion comes from DPPO (Qi et al., 2026), which used probability-difference for the PPO trust region between policy updates; IPO applies it to the trainer–inference mismatch, with a sign-independent mask (unlike DPPO). Ablation on agentic SWE RL with GLM-4.5-Air (100B MoE, bf16) in a deliberately extreme setting — up to 64 steps off-policy, no routing replay, no router replay ("in most runs IcePop is stable"): arms indistinguishable for ~1k steps, then IcePop's trainer→inference KL explodes >20× around step 1.2k and SWE solve rate falls ~0.8→~0.3, while both IPO arms (ε=0.2, 0.3) train straight through. At ε=0.3 IPO masks ~0.25% of tokens (vs ~2% at the old ε=0.1 default, which collapsed entropy). Open caveat from the thread (Yusuf Sadek): at ε=0.3, a token at 0.25 trainer / 0.001 inference (difference 0.249, ratio 250×) is never masked, and IPO doesn't clip the importance weight on kept tokens — the mask gates inclusion only. All figures first-party; no independent repro. Same release also: top-p/top-k replayed exactly in the trainer, constant trainer batch size, MoE router frozen by default.
- Post
One Search, Two Layers: Compiler Controls Inside PyTorch Helion Using NVIDIA CompileIQ
Helion is PyTorch's Python-embedded DSL for GPU kernels (released 2025): write PyTorch with hl.tile, the autotuner explores thousands of Triton configs (block sizes, loop orders, num_warps, num_stages, indexing, pid_type, reduction_loops), lowering through TorchInductor → Triton → PTX → ptxas → SASS. The post's argument: every kernel autotuner (Helion, Triton, torch.compile) searches the same space — "what work each thread block does" — while a second space sits below it: how that work becomes machine assembly via ptxas (NVIDIA's PTX assembler), i.e. register allocation policy, fine-grained instruction scheduling, code-gen heuristics, exposed as tunable "advanced controls" since CUDA 13.3 and left at defaults by everything shipping today. Helion's new autotune_search_acf hands a list of Advanced Control Files (ACFs — binary, portable, versionable compile-time artifacts) to Helion's own autotuner as just another search dimension; the empty string (compiler defaults) is auto-appended so the default is always a candidate — worst case you get back the kernel you had. The substantive argument for joint search: sequential tuning finds a local optimum because the spaces are coupled through hardware — block size/stage count determine register pressure, and register allocation decides whether that pressure causes spills; a control set that would shine at block_sizes=[64,64] is never evaluated there if the kernel config was frozen first under default controls. ACFs are produced by NVIDIA's CompileIQ, which treats compiler-control selection as hyperparameter optimization (evolutionary search: propose population, compile each, correctness-check vs reference, time survivors, breed winners); pip install compileiq. Pre-tuned "Booster Packs" are published on CompileIQ's GitHub releases — the helion-booster-pack holds 24 ACFs tuned across Helion kernels, validated against ptxas from CUDA 13.4, targeting B200 — so the realistic workflow is download the pack, point autotune_search_acf at it, autotune once, pin the winner. Case study (all vendor/first-party, GB200 sm_100 Blackwell, ptxas 13.3.73 / CUDA 13.3, CompileIQ 1.0.3, Triton 3.8.0, locked clocks, correctness vs PyTorch reference, Welch's t-test p<0.05 + Cohen's d>0.2 on every claim): nvfp4_gemv_fp4in_kernel, a W4A4 NVFP4 decode GEMV (N=8192, K=28672 down_proj) that already ships a checked-in Helion AOT config — i.e. the baseline was already swept, so headroom is real. Runtime objective: 0.0971 → 0.0928 ms = 1.047× (4.7%), confirmed in two independent runs (d≈2.5). Occupancy objective (ncu metric): +0.16pp achieved occupancy → ~1.75–2.0% runtime win. Multi-objective (runtime + L1TEX throughput): 6.9% runtime speedup + 4.5pp L1TEX gain (81.51%→85.96%), one Pareto-dominant point, nothing traded off. Joint ACF across two shapes (down_proj + N=15360,K=5120): one ACF beats baseline on both (1.05× d=67.71, 1.01× d=4.54). Stated expectations: 2–7% on already-highly-optimized kernels (meaningful for decode-step kernels running fleet-wide), double digits on less-optimized ones. Caveats (authors' own): ACFs are hardware- and toolkit-specific (sm_90 ACF invalid on sm_100 — can produce incorrect results, not just slower code; correctness check in the search loop is not optional); search time is nontrivial — run offline on kernels that matter, then pin; gains are workload-specific ("the only number that matters for your kernel is the one you measure on your kernel"). Links: github.com/pytorch/helion, helionlang.com, helion examples/acfs, pretuned_kernels; github.com/NVIDIA/CompileIQ, nvidia.github.io/CompileIQ, NVIDIA's CompileIQ blog post.
- Benchmark
TasteBench (edotenv) — measuring research taste in ML
EdotEnv's new benchmark for "research taste" on real-world ML tasks: continuously generated tasks on out-of-sample data (so eval data isn't in training data), with a public/private dataset split per task — agents train on public data, final score on a private held-out set. Sample task "Alpha Autoresearch": open-ended quant-research benchmark on anonymized minute-level crypto data (public 2022–2023 ~4.2M samples; hidden 2024 ~2.1M; dates shifted to 1980, targets transformed against pretraining lookahead); verifier scores Pearson IC plus PnL/max-drawdown/Sharpe after costs; fixed Kimi Code harness; all agents at highest thinking effort. Trajectory analysis of frontier agents surfaces three recurring failure patterns: (1) reusing a tiny validation slice until it becomes part of model selection (GPT-5.6 Sol: 1,494 fits over 3 validation months → 3.43% IC in dev month, 0.48% on the hidden set — the "reward hack public verifiers" finding); (2) breadth over depth in hypothesis iteration (Fable 32.6% of research groups got follow-ups vs DeepSeek V4 8.8%); (3) keeping features without ablation studies. Fable 5 and Grok 4.5 led, but within-agent variance was huge — reliability, not peak capability, is the story. Thread leaderboard (vendor-reported, normalized to 100, opaque scale): Opus 5.5 MAX 2.53, Grok 4.7 XHIGH 2.18, Astra MAX 2.17, Gemini 4 Argon HIGH 2.16, Kimi K3 MAX 2.06, GLM 5.3 MAX 1.95, DeepSeek V4.1 Flash MAX 1.88, Sol 6.1 MAX 1.87. Caveats: leaderboard models differ from write-up models (relationship unclear — Alpha Autoresearch reads as an earlier/sister result set); "worse scores at higher reasoning," "continuous generation," and "TBs of data" are thread-only claims not evidenced in the one published task (fixed 2022–2023 public split); all numbers first-party; scoring scale unexplained; task-generation method proprietary.
- Post
Defeating Nondeterminism in LLM Inference
The "concurrency + floating point" story for LLM nondeterminism is incomplete: the forward pass contains no atomic adds and is run-to-run deterministic. The true culprit is lack of BATCH INVARIANCE — matmul/RMSNorm/attention kernels change reduction order/tiling with batch size (split-K matmuls, tensor-core tile choice, attention split on KV cache vs current tokens), and inference servers change batch composition via continuous batching, so "identical" requests from one user's perspective get different outputs. Fix: batch-invariant kernels for the three reduction ops (data-parallel RMSNorm; single compiled matmul config, ~20% cost vs cuBLAS; attention with pre-kernel KV-cache/page-table layout update and FIXED-SIZE split-KV — which required internal FlexAttention changes not included in the code release). Evidence: 1000 temperature-0 completions of 1000 tokens from Qwen3-235B-A22B-Instruct-2507 ("Tell me about Richard Feynman") → 80 unique completions, identical for first 102 tokens, first divergence at token 103 ("Queens, New York" 992 vs "New York City" 8); with batch-invariant kernels all 1000 identical. True on-policy RL: RLVR on BigMath with Qwen2.5-VL-Instruct-8B, bitwise-identical sampler/trainer → KL divergence flat at 0, trains smoothly without importance weighting; the naive run's reward collapses ~step 318 with a KL spike. Claim: train/inference numeric mismatch "implicitly turns our on-policy RL into off-policy RL." Fun detail: Triton FlashAttention backward differs algorithmically from the FA-2 paper — recomputes to avoid atomics at 40% more FLOPs. Repo: github.com/thinking-machines-lab/batch-invariant-ops (torch.Library substitution layer + vLLM FlexAttention deterministic-mode demo), MIT.
- Post
You could have invented transformers from memory
A pedagogical explainer (not a research result) deriving linear maps, MLPs, and self-attention as associative key-value memory stores from first principles. The unifying quantity is the interference-to-signal ratio — interference from other stored memories vs the target's signal — and capacity is the number of memories before interference matches signal (random unit keys, query with a stored key). At d_k=64: outer-product linear store ≈64; optimal linear (least-squares/whitened keys) ≈128; ReLU MLP ≈128; squared ReLU / SwiGLU ≈2d_k²/3 ≈2,700–2,900; cubed ReLU ≈2d_k³/15 ≈35,000; self-attention with β=√d_k ≈e^{2√d_k−2} ≈1.2 million; β ∝ log M allows an essentially unbounded store (>2M in experiments). Derivations: interference terms add like a random walk (√M); σ(s)=ReLU(s)^p gives capacity M≈d_k^p; the exponential is a weighted sum of all powers, so capacity grows exponentially in the sharpness β: M≈e^{2β(1−β/d_k)} for β≪d_k; normalizing weights for numerical stability yields exactly f(x)=Vᵀsoftmax(βKx). Unlike MLPs, self-attention is non-parametric: keys/values come from context tokens, so the store grows with context length. Notes that the original transformer's v2/v3 described the feedforward layer as "a kind of attention" (passage removed from later versions) and tried replacing FFNs with learned-key-value attention at similar quality. The long-context section compares β∝log M tricks (Su 2021 entropy scaling, Scalable-Softmax, Qwen LogN-Scaling, Qwen2.5-1M YaRN scaling), driving the interference ratio to ~10⁻⁴ at 2M memories. Author-stated caveat: the count is random-vector recall of a single layer, ignoring training data; companion pointers to bits-per-parameter memorization work (Morris et al. ~3.6 bits/param; Allen-Zhu & Li ~2 bits factual knowledge/param). Includes interactive demos (sliders for M and β with live interference/signal visualization). Asides: a gradient-descent step is a memory write (Irie, Csordás & Schmidhuber); transformers' MLPs store facts in superposition.
- Post
Teaching NVIDIA's Nemotron 3.5 Super-VL ML Engineering
Bespoke Labs post-trained NVIDIA's Nemotron-3.5-Super-VL 120B-A12B (hybrid Mamba-attention MoE, 120B total / 12B active) into an autonomous ML researcher, evaluating on AutoResearchExam — Bespoke's benchmark of extended ML-engineering tasks (22 CPU-only long-horizon tasks, 4–6h limits, single final submission, no grader feedback; a different protocol from the public ARE leaderboard). All post-trained variants are tiny LoRA adapters (r32, 224 tensors, 205 MB = 0.08% of base weights). Mean score: base 0.286 → Curated Decision SFT 0.319 (+11.3%) → self-context distillation 0.317 (+10.6%) → SCD + Reflection 0.358 (+24.8%), vs Muse Spark 1.3 at 0.258 and Qwen 3.8 Max at 0.353 (20× total parameters). Curated Decision SFT extracts useful decisions from Qwen 3.8 Max teacher trajectories (400 examples, 2.19M tokens). Self-context distillation has the model solve tasks with terminal-use guidance and hints, then strips the help — reconstructing each context without hints and excluding steps whose reasoning depends on hint-only information — and trains on the retained trajectories (3,365 examples, 7.44M tokens). The reflection extension (inspired by Retrospection-Only Fine-Tuning) has the SCD model review its own better-vs-worse attempt pairs and write concrete lessons, training on 972 reflection examples + 500 replayed SCD action examples; reflection-only variants regressed, and with no matched replay-only control the result supports only the combined recipe. Contamination screening via task IDs and instruction-text comparison found no eval overlap. All results are the companies' own; the proprietary ARE eval means no independent reproduction is possible.
- Post
Toward RL on mixed-precision, mixed-accelerator samplers
RL training normally runs samplers on a fixed homogeneous cluster of the latest accelerators to keep sampler–trainer mismatch low, throwing away inference optimizations built for other vendors/generations. Modal asks whether RL can sample from mixed-precision, mixed-accelerator fleets while staying stable and performant. They train Qwen3.6-35B-A3B on agentic coding tasks (2.7K de-leaked Xiaomi/MiMo-V2.6 repo tasks, up to 256K context, binary test-pass reward in a fresh sandbox) with fully asynchronous RL in the open-source Miles framework: SGLang samplers and a Megatron-LM trainer updating the policy in BF16 on B200s, 128 prompts × 8 trajectories per update, no staleness limit. Two sampler setups: mixed (six accelerator kinds — B200/B300 with NVFP4 weights, H100/H200 with FP8 and BF16 weights, A100/RTX PRO 6000 with BF16 weights — each with its own kernels and FP8 KV caches) vs homogeneous (B200 only, BF16 weights, BF16 KV cache). The fix is off-policy correction on top of GRPO: masked importance sampling (per-token ratio kept inside [0.2, 5], zeroed outside), score centering (removes drift toward the sampling policy), and top-p sampling with mask replay (shared support). Uncorrected GRPO collapses on both setups; each correction piece alone only delays collapse; only score-centering + masked importance sampling trains stably to convergence, reaching SWE-bench Pro V2 pass@4 ~65–75% on the HARD-51 subset and ~94% on the full set. With the full correction, mixed samplers match homogeneous pass@4 throughout training despite a 4.7× larger average sampler–trainer KL, at ~15% lower sampler cost per update on a setup built for validation, not minimal cost. The central claim: stability depends on whether the mismatch keeps growing, not its magnitude — accelerator and precision differences need no new kind of fix, since off-policy correction is agnostic to why the sampling policy differs from the training policy.
- Post
PriorBPB: Reducing the Answer Length Confound of Bits-per-Byte While Improving Accuracy Prediction
BPB divides a model's total surprisal on a gold answer by its UTF-8 byte length to remove tokenizer dependence — but answer length is a property of the benchmark, not the model. The post shows total bits decompose as a fixed per-item cost α plus a per-byte rate β, and corpus BPB equals α/mean(n) + β algebraically, so the fixed cost (largely first-token surprisal, ~10× later tokens) is divided by the task's mean answer length. Empirical effects: on MMLU full text (Qwen3-4B) the shortest-fifth answers score ~11× worse than the longest fifth; median across tasks the ratio is ~2×. The fixed-cost share is task-dependent (SQuAD2 later tokens nearly free via copy-from-passage; OLMo-3-7B GSM8K cost 96% length-scaled), so no single constant normalization fits. Mean-of-ratios BPB (mean of per-item ratios — not a rate) inflates further, up to ~2× (+122% on MMLU full text vs corpus BPB). Under corpus BPB, Qwen3-0.6B-instruct beats its 1.7B/4B siblings on 15/19 tasks — an apparent inverse-scaling trend: α is larger at 4B than 0.6B on all 19 tasks (1.2× to 7×) while β shows no trend, plausibly from wrapping completion-style gold answers in an instruct chat template. PriorBPB fixes the aggregation: estimate each model/task's marginal per-byte cost curve R(k) non-parametrically from per-token bits, then average it under one shared geometric length prior (μ=111 bytes, pooled median, frozen pre-scoring). With a task's own length distribution it recovers corpus BPB exactly. Across 62 base checkpoints from five families: within-task top/bottom quintile ratio 0.98 (essentially length-invariant) and cross-task mean |correlation| with answer length 0.68 → 0.18, while following accuracy more closely than mean-of-ratios BPB (+0.021 base, +0.122 instruct). Residual caveats: survivorship bias in late-position R(k) and μ-dependent residual length correlation, so μ must be reported.
- Paper
Clef: Cloudflare's Open Decision Models (27B & Clef-flash 9B)
Clef and Clef-flash are Cloudflare's open decision models (launched Oct 1, 2026). Instead of generating text, they take a state (text, JSON, images, or video frames) plus a schema of typed questions (noul/choice/score) and return a probability for every allowed option in a single forward pass — up to 64 questions per request, up to 4 images, 64k context. Clef is post-trained from Qwen3.8-27B (backbone frozen; a joint schema head fitted with rank-256 LoRA using label-smoothed cross-entropy plus a Brier loss, then RLCD calibration training); Clef-flash is the 9B variant on Qwen3.5-9B. Both are Apache 2.0 on Hugging Face, hosted on Workers AI, and fully API-compatible with TypeSafe's Jev, so existing Jev integrations swap by changing the endpoint. Company-reported (Cloudflare's Jev Decision Index): the Clef family leads 7 of 10 benchmarks — e.g., Banking77 94.20 vs Jev 79.74 and BFCL 98.47 — while Jev still leads When2Call (80.97 vs 72.37) and BRIGHT (47.52 vs 45.91); median latency 38.8 ms (flash) and 209.3 ms (Clef) vs Jev's 524.1 ms. Independent evaluations (Oct 2026) broadly confirm the intent/classification strength and much better calibration than Jev, but find Clef-flash weak at out-of-scope detection and only parity with a general LLM on judgment-heavy multi-level scoring. An Oct 9 follow-up added Clef-omni (audio/video) and cut Clef-flash's hosted price to $0.038/M input tokens.
- Post
New in llama.cpp: Decision Models — /v1/systemone typed-decision endpoint
llama.cpp's server now supports decision models through a /v1/systemone endpoint: you send a state (text, JSON, a screenshot, or a chat message list) plus typed questions, and the model returns a probability for each option in a single forward pass — no token-by-token generation and no output parsing. The API follows the System One format introduced with TypeSafe's Jev model, so existing clients only need a new base URL (implementation: llama.cpp PR #29818). Three question types: choice (options with optional descriptions, returns top option plus per-option probabilities), score (2-10 levels, returns an expected level), and noul (yes/no, returns probability of yes). Six supported models at launch: Julia-1 (144M, mmBERT-small, 50+ languages, Apache 2.0, 3 ms), Laya (421M, ModernBERT-large, English, Apache 2.0, 5 ms), Kev-4B (4B, Qwen3.5-4B-Base, English, Apache 2.0, 12 ms), lev (4B, Qwen3.5-4B, English, Apache 2.0, 36 ms), OpenJev (27B, Qwen3.8-27B, multilingual + images, CC BY-NC 4.0, 43 ms), and Clef (27B, Qwen3.8-27B, English + images, Apache 2.0) — latencies are median time per question on one NVIDIA RTX PRO 6000. Router mode lets one server load several models on demand and pick per request; a community Decision Index leaderboard compares the models. Typical uses: request routing, content moderation, checking an agent step worked, or choosing an agent's next action.
- Tool
RL Environment Explorer — Hugging Face Hub RL Environments filter
Hugging Face launched a dedicated RL Environments filter on the Hub (announced Sept 28, filter live Oct 5, 2026): any dataset repository tagged `rl-environment` appears at huggingface.co/datasets?other=rl-environment, giving one shared index for agent tasksets across five frameworks — OpenEnv, Harbor, MiMo, Verifiers, and NVIDIA NeMo Gym. Framework tags (harbor, verifiers, openenv, nemo-gym) are registered as dataset libraries: each puts the framework's icon on the dataset page and generates a framework-specific loading snippet under 'Use this dataset'; a repo can carry multiple tags since compatibility is non-exclusive. Environments are framed as data + runtime: the Hub hosts, versions, gates, and previews tasksets (tasks, tests, containers, reward rules); execution happens locally or on supported cloud backends (HF Jobs, HF Sandboxes), and the Hub itself does not run environments. Already seeded environments include Harbor's BeyondSWE, Terminal-Lego, Harbor-Mix, and NatureBench; Verifiers' Reverse-Text-RL, Multi-SWE-RL-Verified (2,232/4,703 rows), R2E-Gym-Subset-Verified, and Scale-SWE-Verified (17,202/20,181); and NeMo Gym's Workplace Assistant (5 databases, 26 tools, 690 business tasks), Structured Outputs, CFBench, and SysBench. Announced with 12M+ RL task entries across RL environments on the Hub; OpenEnv auto-tags on upload.
- Benchmark
Vals Web Search Index: Evaluating Search for Real Work
Third-party benchmark measuring whether an agent equipped with a given search tool can complete real professional tasks — holds the model and harness constant and swaps only the search tool, scoring the agent's final answer rather than ranked search results. Motivated by contamination/realism/leakage problems in static public search benchmarks: a 2026 study found a frontier model answered 44.5% of BrowseComp questions even without search tools. Tasks are expert-written finance questions (FAB v2) and legal questions (Legal Research Benchmark), more domains coming. Validation: agents score 2.9% on legal and 7.4% on finance without search vs 30-50% with search, showing the index measures search capability rather than intrinsic knowledge. Anti-contamination: results reported on held-out test data never shared externally; all evaluations run under Zero Data Retention (ZDR) with model providers. Launch partners: Exa (@ExaAILabs), Keenable (@KeenableAI), Tavily (@tavilyai), Parallel (@p0).
- Idea
Inverting a text-derived direction into an image inside a VLM
Goodfire Silico share (Aug 4, 2026, v3): in Qwen2.5-VL, a direction from text like “photograph of the Eiffel Tower” handed to a pixel optimizer (no text in the loop) recovers recognizable landmark photos for ~7–8 of 12 monuments when the image readout is re-centred by subtracting a mean over 288 real photos; raw readout collapses to clouds. Gemma 3 screened cells: directions decodable from photos (~74.9% top-1 proxy) but not invertible to monuments within budget. Emphasizes post-hoc legibility judgments and origin-centering as load-bearing.
- Model
Kev 1.0: Open-Weight Family of Decision Models (Kev-27B, Kev-9B, Kev-4B, Kev-0.8B)
Kev 1.0 is a family of four open-weight (Apache-2.0) 'decision models' — Kev-27B (new), Kev-9B (updated), Kev-4B, and Kev-0.8B — built on Qwen3.5/3.8 backbones. Each model adds a pointer head that scores user-supplied answer options (yes/no, multiple choice, ordered scales) and returns calibrated probabilities per answer, instead of generating text: the document is processed once and cached, and every question branches off that single read via <decide> tokens. The interface matches TypeSafe's Jev API, so TypeSafe SDK apps can switch by changing endpoint and model name. Kev-27B is a full fine-tune of the Qwen3.8-27B post-trained text backbone on ~146k records / 337k questions (documents up to 32k tokens; 64k-token document window), blending 85% of the new fine-tune with 15% of the previous prerelease checkpoint; the smaller models use Qwen3.5 backbones with LoRA adapters. Weights are on Hugging Face, code and a GPU/Apple-Silicon (MLX) server are on GitHub, and agent skills (kev-finetune, kev-deploy) package fine-tuning on your own data and deployment to Modal.
- Post
Language Models for Text Classification: From Bag-of-Words to Jev
Long-form visual guide and essay (2026-09-29) using the hype around Jev -- a proprietary fast,cheap,general-purpose text classifier from TypeSafe AI -- to tell the history of language models for text classification and analyze what Jev likely is. Covers pre-transformer baselines (bag-of-words plus naive Bayes/logistic regression,word embeddings,RNNs/LSTMs/ULMFiT,CNNs),transformers (BERT/ModernBERT,GPT-style decoders with a classification head,T5 text-to-text),a Jev overview (Choice/Noul/Score APIs; 96.47%/96.20% on IMDb test at low cost,comparable to fine-tuned ModernBERT without per-task fine-tuning,with an IMDb-test-contamination caveat; a Tetris real-time demo via the Choice API),how to retrofit a Jev-like API onto any BERT/GPT/T5 model with a single-output scoring head,an educated guess at Jev internals (ModernBERT-scale encoder,100% synthetic data,proprietary "Reinforcement Learning for Calibrated Decisions"),the RLCR public method,calibration techniques (temperature scaling,Brier loss),use cases (email sorting,prompt-injection prescreening,LLM judges,context building),Jev alternatives (GLiNER,Contrastive LMs,Laya),and OpenAI's Jev-like Decision API announced at DevDay 2026. Argues Jev's novelty is not fundamental but raises the bar for justifying fine-tuned specialist classifiers and could make agent harnesses faster and cheaper. Author is not affiliated with Jev; not an endorsement.
- Post
First Sparks of Thermodynamic Recursive Intelligence
Extropic post-trains Qwen3.6-35B-A3B with GRPO to reproduce classic connectionist experiments (Boltzmann machines, wake-sleep) as the first step toward Thermodynamic Recursive Self-Improvement: held-out reward nearly triples (0.127 to 0.361) after 100 steps, competitive with much larger frontier models. Next steps: TSU-based sandboxes and real-chip feedback from thermodynamic chips coming online in 2027.
- Model
MAI-Voice-2.1
Strongest multilingual text-to-speech model: 23 languages and 26 locales with a single cross-language voice. $22 per 1M characters.
- Model
MAI-Transcribe-2-Streaming
Real-time streaming transcription model, 60 languages, ranked no. 1 for accuracy on Artificial Analysis for both final and partial transcripts. Intro price $0.54/hour of audio.
- Post
Scaling Pre-Training in Practice: A Hierarchical Approach
Aleph Alpha's technical write-up of a practical, hierarchical approach to finding an efficient LLM pre-training configuration and scaling it from a small cluster to a large one. Three degrees of freedom are swept hierarchically: (1) parallelism scheme (FSDP/DP degrees), (2) activation checkpointing (full-AC, selective-AC, or none), (3) local batch size. The sweep runs on 16 GPUs (1/32 of target), with profiler traces (PyTorch profiler + Perfetto) used to pick a scheme that fits within ~95% HBM; the configuration is then verified and re-profiled at 128 GPUs and again at 512 GPUs. Demonstrated on a 30B-A3B MoE (30B total params, 3B active per token) scaled 16 -> 512 NVIDIA B200 GPUs (64 nodes x 8, InfiniBand): 16 GPUs: 28.4k TPS/GPU, 37.5% MFU, 92% HBM; 128 GPUs: 28.0k TPS/GPU, 37.0% MFU, 93% HBM; 512 GPUs: 26.7k TPS/GPU, 35.3% MFU, 94% HBM -- only ~6% per-GPU efficiency drop from 16 to 512 GPUs, claimed near-linear scaling. Training stack is Aleph Alpha's own optimized fork of PyTorch's torchtitan (no link to the fork given). Stated scope: a single architecture and a single sequence length (4096 tokens); cluster sizes assumed known in advance. No model, code, weights, or dataset released in the post.
- Model
pplx-embed-v2-context-9b-preview: contextual embedding beyond the gold passage
New method to train contextual embedding models: instead of embedding each document chunk on its own, the 9B model encodes the whole document once and pools chunk vectors afterward, so every chunk embedding sees the full document. The new training signal: instead of one labeled "gold" chunk per query, relevance is distilled from Perplexity's own context compression model, which scores every document token against the query; this teaches the model to retrieve both the answer and the context that supports it. Claimed results: pplx-embed-v2-context-9b-preview sets a new SOTA on ConTEB and on turbopuffer's new private context-bench (evaluated blind): +14.4 points answer recall@10 over voyage-context-4; at 1024 dims in int8 (1KB per vector) it still beats voyage-context-4 at 8KB per vector.
- Post
The Atlas Neuron (Arth Singh: continual learning with no backprop, no replay, no task labels)
Can a model learn tasks one after another without forgetting, with no replay, no task labels, and no backprop? The Atlas neuron: keeps one page of memory per "world"; when several batches in a row look unfamiliar (3 consecutive batches below 85% of the world's frozen usual familiarity, or batches with only never-seen labels), it forks a new page, and only the current page learns, so old pages can't be overwritten. Each image is compressed by a fixed random projection to 256 numbers; per class, each page stores 128 landmarks (online k-means) and a chart in pixel space = the class mean plus its top 16 principal directions (incremental PCA, one streaming pass). To classify, each chart bends from its mean along its 16 directions toward the input; the leftover squared distance is what the chart cannot explain; the class score combines the smallest unexplained distance among its charts with its closest landmark similarity across ALL pages (no routing to a world first). The two vote weights are the only numbers learned by gradient descent (self-calibrated from inverse spreads). Results in the Mammoth continual-learning library (one pass, no task labels, 5 seeds): 96.7% after 20 tasks of Permuted MNIST vs 45% for a sequentially trained MLP; beats DER++ with a 5,120-image buffer on 5 of 6 benchmarks (exception: Rotated MNIST 94.2 vs 94.5), e.g. 96.7 vs 92.3 on Permuted MNIST; also beats the joint-trained MLP reference on 5 of 6. A landmark-only lookup-table ablation with 2x memory matches 3/6 tasks but collapses on Split CIFAR-10 (17.0 vs 41.5) -- the charts do the work. Costs: 9.2M stored floats on permuted tasks vs DER++'s 4.2M; a leaner shared-charts variant matches on permuted tasks at 2.4M but loses on Split CIFAR-100. On natural images it only partly works: with frozen unsupervised patch features it reaches 41.5% on Split CIFAR-10 but stays weak on Split CIFAR-100 (14.4% vs 37.5% DER++); streaming LDA beats it above 2M floats. Caveats: rotated nearby angles merge into one page; Permuted KMNIST is the one benchmark where the lookup table stays ahead; memory grows with the number of worlds. Partly old lineage: subspace classifiers back to CLAFIC (1960s), Hinton/Dayan/Revow's 1997 wake-sleep charts; new is the automatic forking rule bolted onto modern continual-learning benchmarks.