Explore the research collection
2 entries · Follow this search
- 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
AutoBenchmark: benchmark creation and the role of humans (Meta RAM blog)
AutoBenchmark is a framework in which an autoresearch agent builds a benchmark end-to-end from a task specification and revises it over iterations using two feedback signals: solver-agent trajectories and scores, and critique from an LLM verifier checking benchmark quality. Each benchmark is produced as a Harbor-compatible evaluation package (container environment, task instructions, evidence, reference solution, machine-checkable grading criteria). Stages: 1) Benchmark Proposal -- agent decides the construct, operationalizes it multiple ways, gathers primary sources, instantiates runnable tasks, makes the designer decisions (what the solver sees, partial credit, reference solution proving solvability); 2) Benchmark Solving -- solver agents attempt tasks, graded by an answer judge, giving a difficulty signal; 3) Benchmark Review -- an LLM judge rates the benchmark on construct validity, correctness, feasibility, usefulness, and overall verdict, retaining the best accepted checkpoint (lowest-scoring accepted iteration) and checking difficulty against external solvers. Before any solver run, the harness executes the agent's reference solution against the real verifier and admits it only at score >= 0.9. Three benchmarks built automatically: Graveyard Bench (ideation -- avoiding dead-end ideas, grounded in documented negative results), SilentTrain Bench (experimentation -- patching buggy code that silently degrades training, grounded in silent defects), Rebuttal Bench (assessment -- judging whether a paper rebuttal resolves reviewer weaknesses, grounded in public review threads). Findings: fully autonomous benchmarks are close to saturated (in-loop solvers above 80, first three iterations all 100.0 on Muse Spark); fine-grained human proposal feedback halves solver scores (Rebuttal Bench: 90/84/80 -> 43.5/51.2/39.1 on Spark/Glimmer/Nemotron); coarse one-sentence intent helps only marginally; difficulty transfers to held-out solvers (NVIDIA-Nemotron-3.5-Lightning-30B-A3B, Claude Opus-5); when the loop stalls, human direction at that point helps (SilentTrain: 88.1 -> 64.2 on Spark); the verifier catches defects scores cannot see (leaked answers, shallow constructs), so selection on score alone keeps verifier-rejected iterations.