Explore the research collection
166 entries · showing 49–72 · 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.
- Paper
Looped Diffusion Transformer
Looped-DiT: instead of scaling text-to-image models by size or denoising steps, it repeatedly runs shared Transformer blocks within each denoising step, increasing computational depth with fixed parameters (17 unique MMDiT blocks split 6/5/6; the 5 middle blocks shared over 4 loops = 32 effective block applications per step at ~260M params). Naive looping fails (weak supervision across intermediate loops, unregulated attention updates erode local information); two fixes: deep supervision across intermediate loops + self-modulating attention to stabilize looped feature updates. A 260M-parameter looped model beats a 6.5x larger model across text-to-image benchmarks at 4.9x lower inference compute. Increasing loop depth yields larger gains than adding denoising steps under a fixed inference budget, and deeper loops progressively correct mistakes from earlier loops — behavior suggestive of latent reasoning. Related catalog entry: 523 'Looped Diffusion Language Models' (LoopMDM, a different paper — that one is masked-diffusion LMs; Looped-DiT is text-to-image generation).
- Paper
From Samples to Scenarios: A New Paradigm for Probabilistic Forecasting
Reframes probabilistic forecasting away from sampling: instead of drawing samples from a predictive distribution (which suffers probability absence, inadequate coverage, and high inference cost), the new paradigm emits a finite set of {Scenario, Probability} pairs directly — avoiding Monte Carlo-like approximation. The learning objective changes from modeling an entire continuous probability space to learning a set of plausible scenarios plus corresponding probabilities. Validation model TimePrism: a simple model of only three parallel linear layers, yet it achieves 9 of 10 state-of-the-art results across five benchmark datasets on two metrics. Core idea overlaps the current decision-model trend (generate futures in parallel, assign explicit probabilities, build for decision-making rather than text generation) — but was formalized a full year earlier. The post frames TimePrism's judgments ('keep this information?', 'which action next?', 'is the task complete?') as exactly the decision-oriented outputs now in vogue. Same family as the catalog's System One / JEV cluster: entries 1363 (TypeSafe AI System One/JEV), 1434 (CLM), 1541 (Gero-4B).
- Paper
Broken Symmetry in BF16 Attention: Why FlashAttention Gradients Blow Up Late in Training
Diagnoses a late-training blow-up training a 450M transformer on 50B tokens with FlashAttention-3 in BF16: healthy for 25B tokens, then gradient norm grows 1000x and loss ends 0.2 nats above FP32 attention — with no NaNs at all. Recomputing just two layers' attention backward in FP32 removes almost all excess gradient. Part of the cause is known (a fused multiply-add in the forward softmax, never fixed in FA3); repairing it stops the blow-up but leaves the query gradient wrong by more than its own size (219% median error). The deeper cause is a broken conservation law: the softmax score gradient dS sums to zero along every row, making dQ blind to where the keys sit as a group; rounding dS to BF16 leaves a small nonzero sum that leaks the mean key into dQ — and the leak grows exactly as late training makes keys large and attention sharp. Fix: GProj (gauge projection), which restores the zero row sum after the cast with two rank-one corrections per row — cuts median dQ/dK errors from 219%/13% to 0.34%/0.37% (FP32-attention level) for 4.7% more step time; in matched from-scratch runs it reaches the same loss as FP32 attention while FA3 and key smoothing destabilize. KohakuBlueleaf replied on the thread reporting the same class of precision bug in FA4/cuDNN/flex attention and their KohakuFA fix. If a BF16 run blows up late with no NaNs, check the attention backward. Directly relevant to the user's LLM training-run debugging work.
- Paper
D-JEPA: A Decision-Aligned Latent World Model
Latent world models predict action consequences, but accurate prediction doesn't guarantee latent distance reflects which candidate will execute successfully — a decision-local prediction gap: among the few futures competing for execution, a candidate predicted closer to the goal can produce a worse realized outcome than an alternative. D-JEPA learns decision-relevant relations among candidate futures from executed outcomes: a bounded, permutation-equivariant operator jointly reasons over goal-relative predictive features and ordinal evidence, refining pretrained predictive geometry where action choices are most consequential. Restricted predictor adaptation and a shared ordinal interface extend alignment across complementary predictive geometries; the learned decision structure is realized in JEPA-compatible future representations for native latent-distance planning. Evaluations across latent control, manipulation, pretrained action-producing models, physical robots, and autonomous driving: 87.89% success on PushT, +15.04-point average gain on RoboTwin, +17-point gain on physical robot tasks. 26-page paper with project website.
- Paper
RankEvolve: A Reliable Multi-Agent Auto-Research Harness for Evolving Ranking Models
Auto-research agents (propose/implement/train/evaluate model changes across iterations) are bottlenecked by execution accuracy: a silently leaked eval set, omitted normalization, disconnected gradient, or unwired train/eval flag can invalidate expensive runs and compound errors. RankEvolve's fix: (i) an Executable Operating Protocol (EOP) declaring research phases, gates, branches, and loops, with the runtime enforcing the compiled state machine; (ii) a meta-meta-harness composing complete black-box coding-agent products (Claude Code, Codex) as execution-graph nodes that review and repair each other's work; (iii) a knowledge layer carrying findings, including negative results, across iterations. Budget-matched evaluation: heterogeneous composition raises all-oracle execution accuracy from 45.8% (best single product) to 62.5% (paired +16.7 pts, 95% CI [6.6, 26.7]) with a 10.4% silent critical-defect rate. Twelve-iteration deployment on the open-source HSTU recommender: NDCG@10 0.2192 on MovieLens-20M LARGE (+4.48% over published anchor), 0.1948 on BASE (+2.80%). ExecML-HSTU (seeded by deployment incidents) provides the oracle benchmark; a pre-specified LitGPT transfer split replicates the composition effect (+12.5 pts), and a paired ablation isolates per-step vs full-protocol instruction injection. Directly relevant to the user's agent-harness work and Model Axes eval thinking.
- Paper
Sphere Encoder 2
Turns an autoencoder into a fast standalone generator. Sphere Encoder generates images by decoding random points from a high-dimensional latent sphere; Sphere Encoder 2 fixes two limitations of the original: (a) sampled latent points concentrate near the equator while training rotations never reach that region, creating a gap that limits one-step generation — fixed by fully covering the spherical latent space; (b) pixel-wise reconstruction loss makes the decoder average over plausible images, producing blurry outputs lacking high-frequency detail — fixed by separating reconstruction from generation and using semantic alignment plus score matching. The result: strong ImageNet generation in just 1-4 steps, keeping the speed and simplicity of an autoencoder. Models released (GitHub); code to be available.
- Paper
Adaptive Reward Routing: Dynamic Multi-Reward Optimization for Joint Audio-Video Diffusion via Forward-Process RL
Multi-reward RL can improve joint audio-video diffusion models along complementary objectives (modality-specific quality, cross-modal semantic alignment, temporal synchronization), but its effectiveness depends on two quantities that change during training: where reward-driven updates should act, and how competing rewards should be combined. Fixed routing and reward weights fail to track evolving model functions. Adaptive Reward Routing jointly adapts update locations and reward coordination during forward-process RL (DiffusionNFT): (i) Cross-Modal Influence-Guided Routing — bidirectional cross-attention responses as an efficient proxy for evolving cross-modal influence, dynamically reweighting token-aware losses and scaling gradients across cross-modal layers without additional model interventions; (ii) Preference-Preserving Modality-Aware Reweighting — predefined weights kept as preference priors, with branch-specific reward-gradient interactions as residual corrections after warm-up, resolving evolving conflicts without letting dominant rewards suppress weak but essential objectives. Consistent improvements in modality quality, semantic consistency, and audio-video synchronization over strong RL baselines; ablations validate the complementary benefits.
- Paper
ScholarCatalyst: A Benchmark for Retrieving Papers That Inspire New Research
Can we measure the 'research taste' of great scientists — the uncanny ability to connect ideas that seem inevitable in hindsight? ScholarCatalyst frames this as retrieval: given a description of an early-stage research project, find the prior papers that would inspire the scientist working on it. Using an automated pipeline, 184 lead authors of 207 recent CS papers labeled which candidates did or could have advanced their project, each with a detailed rationale, yielding 937 'catalyst papers' verified by the authors themselves. The retrieval task is set against only the literature available when each project began (temporally filtered 191K-paper corpus), full of hard negatives that look topically similar but don't inspire. Every system tested struggles: agentic search does no better than embedding retrieval (0.42 vs. 0.48 Recall@20) despite calling that same retriever as a tool; even a Claude Fable 5.1 agent (which may have seen the completed papers in training) reaches only 0.51 R@20. Standard retrieval scores just 21.5 nDCG@20. The dataset itself is the best judge — exactly one human (the author) is qualified to judge each question, the 'long tail of human expertise.' Framed as a step toward scientific agents that can take a half-formed idea and point to the prior research it needs.
- Paper
Mixture of Self-Improving Branches For Agent Harness Optimization
Harness optimization is a practical setting for recursive self-improvement: agent-generated modifications inform subsequent changes through execution feedback. Meta-Harness implements this via iterative code generation and evaluation, but a fixed development set and fixed proposal policy channel evolution along a single trajectory, risking local optima — and a harness that solves cases the leaders miss yet ranks lower overall gets little chance for further development. Mixture of Self-Improving Branches organizes the improvement process itself into parallel branches, each with evolving development subsets and proposal policies. Every branch starts identical (same seed harnesses, full problem set, same guidance); no one assigns specialties. After each iteration, branches are compared problem by problem: a branch keeps development cases solved by more of its leading harnesses than by other branches' leaders, drops cases solved by every leading harness across all branches, and revises its own proposal policy (the proposer rewrites its own guidance) using its own search history. The whole loop runs on each branch's own data. The branches grow into different experts, and at test time a router sends each new problem to one branch's best harness before execution. Relative improvements over Meta-Harness: +34.8% on Olympiad-level math (46.0% -> 62.0%), +11.6% on Terminal-Bench 2.0 (44.8% -> 50.0%), +3.8% on SWE-bench Lite (63.6% -> 66.0%), with harness selection and router configuration based solely on development data.
- Paper
The Lessons of Developing Process Reward Models in Mathematical Reasoning
Qwen team shows MC-only PRM labels underperform LLM-judge/human; proposes consensus filtering and richer eval beyond BoN. Releases SOTA open PRMs (Qwen2.5-Math-PRM-7B/72B) strong on ProcessBench and BoN.
- Paper
Towards Looped Models Done Right — Part II: Rethinking at Fixed Points
Looped LMs need not pay for every loop: they can scale by adding FLOPs at constant memory, and the key is the loop's fixed point. Three fixed-point ideas: (1) Fixed-Point Shortcuts — what fixed points buy in training (pre-train, post-train) and inference (prefill, decoding). Terminal KV sharing: each prefix token keeps only its last-loop KV (reuse the KV from the last loop), discarding intermediate loops; with depth sampling it keeps 4 of 12 KV banks with at most 0.85% perplexity increase from 100M (21.5B tokens) to 1.6B (344B tokens). A model trained at one fixed depth breaks under sharing (red rows) — sharing works only when states settle (95% of tokens stable by loop 8) because deep draws train on a nearly settled prefix KV. Proven: both training-read and sharing-read reach the same fixed point and same next-token prediction when the prefix KV converges and each token's update is a contraction (Lemma 1). (2) Learned depth prior — prediction feedback moves draws toward depths that predict well, an entropy term keeps the deep draws that form fixed points, a budget term holds mean depth; at 1.6B with the shared cache it averages 60.0 (level with the 59.9 fixed-depth reaches with a 3x larger cache), while at 1.6B/344B tokens the looped model beats a 4-block Transformer by 8.9 average points and lands within 1.5 pts of a 12-block model needing 3x memory. (3) OrthoInj (orthogonal input injection) — projects out the injected-input component so input conditioning stays constant across loops; lowest loss and val PPL, highest downstream average at every scale. Also: terminal KV sharing lets a distilled student prefill by predicting the endpoint (1.79x faster prefill of an 8K prompt at 1.6B, keeps 93% of teacher downstream score); truncated BPTT with depth sampling matches full backprop (backprop window b=4 under the PLN-5 prior) and covers both pre-fixed-point training and the endpoint gradient; fixed-point reuse for RL skips the redundant second pass by reusing the rollout's final states and applying the block once (2x faster scoring/backward on GSM8K and MBPP+, pass@1 within run-to-run variation). Limits: models reach 1.6B, one training seed per configuration, larger scales and real-world feasibility untested.
- Paper
Physis-Lang: Self-Evolving Language as a Physical Representation for Video World Model
Language can do more than describe a scene -- it can represent how the physical world evolves. Physis-Lang is an open self-evolving framework that adds physics reasoning to video captions,making causes,interactions,governing principles,and effects explicit in language (e.g. replacing "butter melts as temperature rises" with Cause: rising temperature supplies heat; Physical law: heat drives melting,gravity makes the butter slump; Effect: solid shrinks as a liquid pool expands). The same representation connects data curation,model training,and inference through three stages: (A) Evolve the language -- a physics-aware critic diagnoses missing or unsupported claims while an agent refines shared captioning guidelines with the captioner fixed,selected via PhysCapBench (246 reviewed physical videos,3,794 human-verified assertions); (B) Retrieve missing physics -- model failures become physics-domain queries and language-guided retrieval finds visually diverse videos addressing the deficiencies; (C) Train and generate -- the evolved language re-captions training videos and expands inference prompts […]
- Paper
YuE2: Unifying Symbolic and Audio Music Generation at Frontier Quality
Symbolic models make melody, harmony, rhythm, and form explicit but typically stop before a finished recording; audio models produce complete songs while leaving composition implicit. We introduce YuE2, which unifies symbolic and audio music generation at frontier quality through symbolic planning. A single AR-NAR Mixture-of-Transformers (MoT) first writes a readable score specifying melody and harmony, expands it into semantic music tokens, and realizes it as full-song audio. In comparisons using the same checkpoint, experts prefer symbolic planning for overall quality and musicality, with 49.3% of overall preferences versus 34.6% without planning. Experts also favor the unified model over a separate language model and diffusion Transformer. On WildSongBench, YuE2 scores 6.73 on SongBench Global Avg, exceeding all evaluated public baselines. Selecting from eight candidates (best-of-8), YuE2 reaches 6.96, the highest observed mean among all evaluated systems. Expert listening further establishes its competitiveness with proprietary song generators, favoring best-of-8 over Suno v4.5 and yielding nearly balanced preferences against Suno v5. To learn this generation process from recordings without aligned scores, we introduce MERT2 and SheetSage2 to supply semantic and symbolic supervision. MERT2 sets a new state of the art in music representation learning, surpassing previous best results on 14 of 15 MARBLE metrics; SheetSage2 leads 12 of 15 benchmark-metric pairs in our lead-sheet transcription comparison. The same checkpoint follows score edits while largely preserving unedited musical content and generates zero-shot covers without cover-specific training. Its readable score also enables agentic music editing, with external language models translating user feedback into revisions of the composition.
- Paper
How Likely Do LLMs with CoT Mimic Human Reasoning?
Causal analysis of instruction Z, CoT X, and answer Y yields four SCM types (chain / common-cause / full-connection / isolation). GPT-3.5-Turbo is type I on GSM8K/FOLIO but type II on Addition (CoT explains rather than reasons). Across Llama2-7B/70B, GPT-3.5, and GPT-4, type III is most common (10/24 LLM-tasks); larger models do not reliably approach type I. ICL (2–8 shot) strengthens CoT→answer and weakens instruction→answer; SFT and DPO on Mistral-7B weaken the structure. Addition consistency errors 64.8% GPT-3.5 / 74.4% GPT-4 (incorrect CoT, correct answer). COLING 2025. Code https://github.com/StevenZHB/CoT_Causal_Analysis.
- Paper
Reverse That Number! Decoding Order Matters in Arithmetic Learning
LEFT (Little-Endian Fine-Tuning): reverse digit order so carries are local. Addition/subtraction drop CoT; multiplication keeps a reversed step-by-step. Llama2-13B, 5K examples/op on digits 5–12: overall acc 94.4 vs Scratchpad-Detailed 83.3 using 3.04M vs 11.0M train tokens (+11.1 pp overall; multiply 88.5 vs 52.8). Add/sub use ~1/20 the tokens of the detailed scratchpad baseline at similar accuracy. Code/data https://anonymous.4open.science/r/RAIT-9FB7/.
- Paper
Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrence
Eagle adds matrix-valued WKV states, head LayerNorm, SiLU gating, and drops sigmoid receptance vs RWKV-4. Finch adds data-dependent token-shift and decay via LoRA-style offsets. New RWKV World Tokenizer (65,536, trie greedy) and World v2 mix (~1.12T tokens, ~70/15/15 EN/multilingual/code). Eagle 0.46–7.5B and Finch 1.6/3.1B Apache-2.0 on HF. Eagle-7B multilingual avg 58.2 vs Mistral-7B 55.5 / Llama-2-7B 54.3; English avg 71.5 vs Mistral 75.8. Finch ~4.2× faster than FlashAttention-v2 at seq 16k. Code https://github.com/RWKV/RWKV-LM; models https://huggingface.co/RWKV.
- Paper
Qwen2.5-Omni Technical Report
Block-wise audio/vision encoders feed a shared LLM; TMRoPE interleaves time-aligned audio/video. Thinker generates text; Talker is a dual-track AR speech head on Thinker hidden states plus sliding-window DiT. Qwen2.5-Omni-7B sits between Qwen2-7B and Qwen2.5-7B on text (MMLU-redux 71.0 vs Qwen2.5-7B 75.4 / Qwen2-7B 67.3). OmniBench avg 56.13 vs Gemini-1.5-Pro 42.91; MMMU val 59.2; Video-MME w/o sub 64.3; speech-instruction MMLU 65.6 vs text Qwen2-7B 69.3. Streaming TTS WER 1.42/2.33/6.54 on SEED test-zh/en/hard. Code https://github.com/QwenLM/Qwen2.5-Omni; blog https://qwenlm.github.io/blog/qwen2.5-omni/.
- Paper
Titans: Learning to Memorize at Test Time
Treats attention as short-term memory and a deep MLP as long-term memory updated by surprise (gradient of associative ||M(k)-v||^2) with momentum and adaptive forget/weight-decay, plus persistent task tokens. Three hybrids: MAC, MAG, MAL. 760M MAG Wiki ppl 18.61 vs Transformer++ 25.21 and Gated DeltaNet-H2 19.88; MAC best on long-context NIAH. BABILong MAC beats GPT-4 and Llama3.1-8B+RAG at far fewer params. Claims >2M context. Code "available soon" on abs.
- Paper
Continual Learning via Sparse Memory Finetuning
Replaces one mid-stack FFN with a 1M-slot memory layer (k=32, 4 heads) and finetunes only the top-t slots that are highly accessed on the current batch relative to DCLM pretraining (TF-IDF). On a 1.3B model, TriviaQA 1K fact stream: NaturalQuestions F1 drops 11% vs 89% full finetuning and 71% LoRA at matched target learning; document-stream SimpleQA shows the same Pareto pattern. Naive memory FT and TF-only ranking forget more. No official code on abs.
- Paper
Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free
Compares ~30 gating variants on 15B MoE (15A2B, 2.54B active) and 1.7B dense models trained on up to 3.5T tokens. A head-specific sigmoid gate after SDPA (G1) is best: MoE 400B-token Avg PPL 5.761 vs 6.026 baseline and MMLU 60.82 vs 58.79, beating parameter-matched KV-head/expert expansions. Gains come from non-linearity between low-rank Wv and Wo plus query-dependent sparse gates (mean score 0.116). First-token attention falls 46.7%→4.8%; YaRN-extended RULER at 128k is 58.82 vs 31.65. Gate also damps loss spikes and allows higher LR (8e-3) where the baseline diverges. Claims first attention-sink-free models.
- Paper
Synthetic Computers at Scale for Long-Horizon Productivity Simulation
Builds user-specific computers (persona → profile → filesystem plan → content-rich artifacts) then runs month-scale sims: a setup agent writes deliverables, a work agent (Claude Sonnet 4.6; Opus 4.6 for setup) executes over the machine with simulated collaborators. 1,000 computers; mean 2,272 turns / 8.59h per run. Occupation skills from 900 train sims lift held-out rubric 61.6%→68.6% (win 83/100) and transfer to GDPVal (Sonnet 105 wins / 67 losses). Public release: 100 computers plus 500 retrospective reports (HF 98 rows).
- Paper
Dynamic Mixture of Experts: An Auto-Tuning Approach for Efficient Transformer Models
DynMoE replaces fixed top-k with top-any gating (cosine similarity vs a trainable per-expert threshold) so tokens activate a variable number of experts, plus an adaptive add/remove process when tokens activate none or experts go unused. A diversity+simplicity auxiliary loss encourages sparse orthogonal expert representations. Competitive with tuned GMoE on DomainBed and MoE-LLaVA on VQA-style benches while activating fewer params (StableLM-1.6B: avg k=1.25 / 1.75B vs k=2 / 2.06B). Visualizations suggest bottom layers need MoE more than top layers and a shared easy-to-activate expert per layer. Code https://github.com/LINs-lab/DynMoE.
- Paper
Agentic Discovery of Neural Architectures: AIRA-Compose and AIRA-Design
Dual AIRS-Bench frameworks. AIRA-Compose recasts Composer NAS: agents arrange 16-layer strings over MLP/attention(/Mamba), then stretch/stack to 350M–3B. 14 AIRAformer/AIRAhybrid designs; at 1B / 37.5B tokens AIRAformer-D beats Llama 3.2 by 2.4 pp 0-shot avg and AIRAhybrid-D beats approx. Nemotron-2 by 3.8 pp; AIRAformer-C isoFLOP slope 54% steeper than Llama 3.2. AIRA-Design: agents write LRA attention (within 2.3/2.6 pp of human SOTA on retrieval/text) and Autoresearch train.py (Greedy Opus 4.5 +lit BPB 0.968, beating published min). No official code on abs.