Explore the research collection
243 entries · showing 97–120 · Follow this search
- Paper
Extending SWE-2's Reward Function to Steer the Pareto Frontier
Extension of Cognition's SWE-2 RL reward function R = S - lambda^(e) C. SWE-2's 'slope-matched penalty' sets lambda^(e) to the slope of the base model's Pareto curve, which pushes the frontier but is unopinionated about where on the frontier the model lands (all points on an iso-reward line earn equal reward). This work steers the direction of improvement with a tradeoff parameter alpha in [0,1]: maximizing tau subject to u_e(pi) >= alpha*tau and v_e(pi) >= (1-alpha)*tau, where u_e, v_e are relative success/cost improvements. Reformulating max_pi min_beta of a weighted Lagrangian gives the same SWE-2-form reward with lambda as a function of beta, yielding the per-RL-step update log lambda^(e) <- log lambda_prev^(e) + eta[(1-alpha) u_e_hat - alpha v_e_hat]: raise lambda when success gains exceed the alpha mix, lower it when cost savings do. On a constructed toy family of effort-adjustable RL tasks (100 problems, 5 trainable parameters, closed-form Pareto curve), each alpha's median improvement direction lands within 1 degree of its target; fixed lambda increases both success and cost.
- Paper
Enabling Frontier-Scale Training for the GLM-5.3 Family
Field report on the training infrastructure that made GLM-5.3 and GLM-5.3 Flash trainable with RL. Two camps of the 'expedition': (1) silent numerical mismatches — the Megatron trainer and vLLM sampler can drift into different policies without crashing (flat reward curve hours later). A 5-minute numerical regression test compares trainer/sampler logprobs token-by-token, deliberately perturbs only the trainer's adapter to confirm the stale sampler disagrees, then resyncs and confirms agreement — ~28x faster than a ~150-minute training cycle. It caught two real bugs (shared-expert scaling, cached prefill), fixed upstream in SkyRL. (2) slow handoffs — LoRA adapter sync took >6.5 minutes on full GLM-5.3 because the shared-expert adapter was duplicated per expert and written to disk. An in-memory path dedupes tensors and uses NCCL/CUDA IPC, cutting sync from ~390s to ~13s (~29.4x). Validation trek: trained both models on DAPO-math with a tight 8,192-token response limit; over 20 steps AIME 2024 accuracy rose 57%->81% (GLM-5.3) and 54%->83% (Flash), while Flash's share of capped responses fell 46%->6% and average length 5,217->2,424 tokens.
- Paper
Finetuning with Sampling: SFT Learns Better Than You Think
Conventional wisdom: RL generalizes well on new tasks without losing existing capabilities, while SFT suffers weak generalization and catastrophic forgetting — but SFT can learn from off-policy expert data, whereas RL must find successful trajectories by repeated sampling. Instead of modifying the learning objective for off-policy data, this work tailors the data distribution to the learner: an MCMC (Metropolis-Hastings) sampling algorithm progressively transforms off-policy traces to be more on-policy given a reference model. The target distribution is the KL-closest distribution to the base model consistent with a privileged information constraint C; the information constraint is absorbed into the MCMC proposer (used in-context to generate candidates) rather than as a verifier, and the data processing inequality guarantees the trajectory distribution moves closer to the base model as MCMC progresses. Across scientific skill acquisition, mathematical reasoning, and open-ended expertise, sampling-augmented SFT rivals prevailing post-training techniques — often generalizing better and forgetting less than strong on-policy baselines like RL and on-policy distillation — and the pass@k curve can exceed both base model and on-policy learning, i.e., learning genuinely new abilities rather than just sharpening. Sampling is framed as a model-native operator shaping data for learnability, with broader utility as a general primitive across the post-training stack (RL, OPD, self-play).
- Paper
AgentWorld: Benchmarking Long-Horizon Collaboration of Multi-agent LLMs
Existing multi-agent benchmarks test competitive settings, short-horizon interactions under 20 steps, or simply aggregate individual performance — failing to isolate genuine collaboration. AgentWorld is a benchmark of 100 human-annotated tasks (plus 100 augmented variants) for long-horizon multi-agent collaboration: tasks span 50+ interaction rounds in a rich MMORPG sandbox and require 3-20 agents with asymmetric roles and abilities to coordinate through communication, joint planning, and resource sharing under a blackbox setting where each agent acts independently without access to others' internal states. To quantify collaboration effectiveness beyond binary task success, it introduces Causal Collaboration Effectiveness (CCE), a graph-based metric tracing causal dependencies between agent actions to measure what fraction of a team's effort actually contributed to the outcome. Experiments with Gemini 3 Flash, Claude Haiku 4.5, GPT-5 Mini, and DeepSeek R1-70B: even the best model achieves only 52.0% task success, with systematic failure modes including communication breakdowns, role confusion, and inability to maintain shared plans across rounds. Fully open-source.
- Paper
Local Support Learning
Local Support Learning (LSL) augments gradient-based training so LLMs of up to 7B parameters learn new tasks at full capacity while retaining prior capabilities — without access to prior data. The core idea: cast forgetting as a geometric problem and optimize for the worst case. A gradient update ΔW is a matrix that changes the output for every input not orthogonal to it, giving each update a global effect; LSL constrains the update to act only on the adapter's training distribution. Each learning phase pairs a standard weight adapter (e.g., LoRA), trained as usual, with a tailored gate enabling the adapter only on inputs from its training distribution — a GMM-based gate whose likelihood decays away from its training data, so it naturally stays closed on prior data it has never seen (conventional MLP classifiers lack this guarantee). Experiments fine-tune LLMs on chemistry, English-to-Igbo translation, and cybersecurity while measuring retention of pretraining skills (math, coding, instruction following): LSL achieves near-optimal retention with strong new-task performance across multiple phases, is robust to hyperparameter choice (no LR/batch-size/rank retention tradeoff), scales from 88% (1.5B) to 97% (3B) to 99% (7B) retention, and costs about the same as standard LoRA in memory and compute.
- Paper
Targeting Pivotal Decisions for Credit Assignment in Agentic Reinforcement Learning
GRPO gives every token in a trajectory the same advantage, so the training signal cannot distinguish decisive steps from the rest. ProVer targets potentially pivotal decisions for fine-grained credit assignment: given a rollout group, an agentic judge contrasts successful and failed trajectories to propose the segment responsible for their divergent outcomes; rather than trusting the judge directly, ProVer verifies the segment by estimating its advantage from the difference in terminal success rates between current-policy continuations sampled before and after the segment, folding positive estimates into the GRPO advantages of policy tokens within the segment. Model judgment is used only to select where to verify, grounding local credit in observed outcomes without exhaustively evaluating every intermediate state. Across ALFWorld, WebShop, and SearchQA, ProVer achieves the strongest average performance at both model scales, with relative improvements over GRPO of 9.91% for Qwen3.5-2B and 7.12% for Qwen3.5-4B; informed segment selection works with modest additional generation overhead even without a frontier-scale judge.
- Paper
Etalon: Holistic Performance Evaluation Framework for LLM Inference Systems
Argues that conventional LLM serving metrics (TTFT, TBT, normalised latency, TPOT) fail to capture the nuances of streamed inference and user-facing performance for real-time applications like chat and translation. Etalon is a comprehensive evaluation framework built around per-request token arrival traces and deadline-based evaluation: its fluidity-index measures the fraction of per-token deadlines met within a request (tokens arriving early build slack; a missed deadline counts missed slots and resets subsequent deadlines from that token's arrival), and the fluid token generation rate is the highest playback rate inferred from evaluated requests that meets a chosen fluidity target for a specified share of requests. The framework connects scheduling behavior (prefill/decode interference, chunked prefill, speculative decoding with client buffering) to service targets, and supports capacity search: estimating the maximum request rate a replica can sustain under specified targets to plan deployment size. The authors evaluate open-source platforms and model-as-a-service offerings with Etalon, exposing skewed token-generation patterns that averages hide.
- Paper
Thinking Before Thinking: Scaling Agentic Inference Through Meta-Reasoning
Introduces agentic meta-reasoning, an inference-time harness that makes agent control choices — which partial work to build on, whether to start fresh, when to stop — an explicit, structured reasoning process. Workers carry out task-level computation while a controller consolidates what the run has established, explores next options, assesses each option's worth under the remaining budget, and dispatches chosen work with context from persistent memory; between decisions the controller carries only a compact account of the run rather than replaying full history. Against production coding agents (Codex, Claude Code), research harnesses, and a Direct Control Agent baseline with the same workers and compute allowance, meta-reasoning reaches 71.5% on ProgramBench with GPT-5.5 vs 58.0% for Codex, and 67.2% with Opus 4.8 vs 65.5% for Claude Code; on other benchmarks (abstract reasoning, multi-domain long-horizon reasoning, proof generation) it gains 3.6-4.2 points over direct control averaged across three frontier models. It keeps improving over tested budget ranges where direct control plateaus, though its overhead can hurt at small budgets; artifact-graph analysis shows more reuse of earlier work and higher coverage of correct solutions.
- Paper
Gender bias across LLMs is common and highly heterogeneous
Studies gender bias across ten LLMs released between April 2025 and June 2026 (nine vendors) with two paradigms: gender attribution to stereotyped phrases (Study 1) and moral judgments about abusing or sacrificing a woman or a man to prevent a catastrophic outcome (Study 2). In Study 1, two of ten models attributed masculine-stereotyped phrases to female writers more often than the reverse, while three showed the opposite pattern. In Study 2, several models converged on a male-disadvantaging asymmetry directionally consistent with a documented human tendency to protect female targets from harm, though the conditions under which it emerged varied by model; three other models showed no variation across conditions. Gender-related biases are common, but their direction and magnitude are highly heterogeneous — some models behave in diametrically opposite ways — so bias auditing should be an ongoing, multi-vendor process rather than a one-time assessment. The authors suspect the heterogeneity reflects heterogeneous post-training fine-tuning rather than pretraining.
- Paper
cua-speedrun: Standardized Benchmarking of the Speed of Computer-Use Agents
Proposes cua-speedrun, a standardized framework for evaluating computer-use agents (CUAs) on speed, cost, and performance under a uniform virtual machine setup, execution pipeline, and common agent interface, addressing a reproducibility crisis where varying machine/container configurations confound speed measurement. Across four CUA benchmarks (OSWorld, OSWorld 2.0, CUA-World, MyPCBench), no single model family is optimal across performance, speed, and cost, and no open-weight models lie on the efficiency frontier. Counterintuitively, for some models increasing reasoning effort speeds up overall task completion (better actions, shorter trajectories), while faster environment input-output (40-1000x) can slow agents down because they act before the UI finishes updating. The benchmark task sets can also be substantially reduced without degrading statistical power, enabling faster, cheaper evaluation. All code, infrastructure, and analysis are public.
- Paper
Emergent One-Third Scaling Law as Attention Tries to Concentrate
Proposes an origin for neural scaling laws: any softmax learning peaked distributions, regardless of its position in the model, develops logit magnitudes that grow as a power law with exponent 1/3, becoming a training bottleneck whose loss contribution decays with the same 1/3 exponent — so total loss obeys 1/3 scaling whenever at least one softmax learns peaked distributions. Toy models show the effect for both output selection and attention-like gating, with a 'loss universality' result (any reasonable loss yields the same law; nonlinearity is the key ingredient). In real LLMs (Pythia, OLMo), loss falls and attention's internal logits grow with exponents near 1/3 while the output head shows no such growth, pointing to attention heads — not the LM head — as the bottleneck driving 1/3 loss scaling. Bypassing the output softmax with MSE training, and using sigmoid/tanh gates, preserves the law.
- Paper
RLTL;DR: Self-improvement by Internalizing Self-generated Feedback
In RLVR the agent makes multiple attempts and optimizes toward the successful ones -- which breaks down in self-improvement,where tasks are so hard the agent has low or no chance of success and no teacher or example solutions exist. RLTL;DR: after each failed attempt,the policy is shown the verifier outputs and writes its own feedback as a single TL;DR insight; the next rollout is conditioned on all previous insights,sequentially sampling rollouts until a solution is found. Crucially,the in-context insights are backpropagated to internalize a direct task-to-insight mapping. On challenging tool-calling and coding datasets filtered to Pass@128=0,standard GRPO on a Qwen 3.5 9B Thinking policy stays flat at Pass@1 0-1%; RLTL;DR breaks the learning barrier to Pass@1 14-31% with insights in context during training,and 12-13% with no insight in context at eval time. A reduced variant,SFTL;DR,trains only on 4k (task,insight) tuples with no rollouts shown or backpropagated and recovers almost the full performance of RLTL;DR and classical SFT on full rollouts -- a compacted training paradigm of the form "on this sort of task,keep this sort of thing in mind". Sequential rather than parallel attempts per task; backpropagating the insight tokens semantically smooths and generalizes knowledge to similar tasks.
- Paper
GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Models
100 GSM8K-test questions become symbolic templates (names, numbers, conditions); 50 instantiations each (5,000 eval items) plus harder P1/P2 clause variants and GSM-NoOp (irrelevant but topical clauses). Across 25 open/closed models, accuracy is a wide distribution; GSM8K often sits >1σ above the GSM-Symbolic mean. Models are more robust to name swaps than number swaps. Difficulty M1→P2 shifts the mean down and variance up. GSM-NoOp drops SOTA models up to 65% (Phi-3-mini) even with 8 shots of the same question. Hypothesis: pattern-matching, not formal reasoning. ICLR 2025. Data https://github.com/apple/ml-gsm-symbolic and HF apple/GSM-Symbolic.
- Paper
T-FREE: Tokenizer-Free Generative LLMs via Sparse Representations for Memory-Efficient Embeddings
T-FREE splits on whitespace/digits/specials, represents each word as n×m hashed character triplets into a v-entry embedding (best v=8k, m=10 at 1B), and trains a multi-label BCE head. Cuts embedding+head params >85% vs a 64k Unigram baseline (1B: 0.84B vs 1.07B params) at competitive 18-benchmark scores. Duplicate-token rate 0% vs 15–35% for BPE/Unigram. Fertility closer to 1.0 across EN/DE/RU/VI/AR than English-centric tokenizers. 3B English→German continual pretrain gains ~5 pp on German HellaSwag/ARC while the Unigram baseline barely moves. Code https://github.com/Aleph-Alpha/trigrams.
- Paper
Liquid Time-constant Networks
LTCs replace a Neural-ODE f with linear first-order units whose τ is gated by f: dx/dt = −[1/τ+f]x + f A, solved with a fused implicit/explicit Euler step and trained by BPTT. τ and hidden state are bounded; trajectory-length expressivity exceeds Neural ODEs and CT-RNNs. AAAI-21. Improves several UCI-style series vs LSTM/CT-RNN/Neural ODE/CT-GRU (traffic SE 0.099 vs LSTM 0.169; person-activity setting 2 acc 0.882 vs Latent ODE 0.846). Code https://github.com/raminmh/liquid_time_constant_networks.
- Paper
FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision
FlashAttention-3 redesigns FA2 for Hopper: warp-specialized TMA/WGMMA producer-consumer, pingpong scheduling so softmax hides under GEMM, and FP8 with in-kernel V transpose, block quantization, and Hadamard incoherent processing. H100 FP16 is 1.5-2.0× FA2 (up to 740 TFLOPs/s, 75% util) and 1.5-1.75× backward; FP8 reaches ~1.2 PFLOPs/s with 2.6× lower RMSE vs per-tensor FP8 on outlier-injected QKV. Competitive with or faster than cuDNN FA2 at seq≥1k. Code https://github.com/Dao-AILab/flash-attention.
- Paper
From Local to Global: A Graph RAG Approach to Query-Focused Summarization
GraphRAG: LLM extracts entities/relations/claims into a knowledge graph, Leiden-partitions it hierarchically, and pregenerates community summaries; query-time map-reduce over those summaries answers global QFS that vector RAG misses. Podcast (~1M tok) and news (~1.7M tok) graphs: 8,564/15,754 nodes. vs vector RAG, comprehensiveness win rates ~72–83% and diversity ~62–82% (GPT-4 judge, 125 questions×5). Root-level summaries use ~2–3% of source tokens. Code https://github.com/microsoft/graphrag.
- Paper
Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecture
I-JEPA: a ViT context encoder plus a narrow predictor, conditioned on positional mask tokens, predicts EMA target-encoder patch representations of several large target blocks from one context block. Multi-block masking (4 targets scale 0.15–0.2; context 0.85–1.0 minus overlap). No view augs. ViT-H/14 IN1K 300 ep: IN linear 79.3 / 1% 73.3; ViT-H/16@448: 81.1 / 77.3. Beats MAE linear-probe; competitive with DINO/iBOT; Clevr/Dist 72.4 vs DINO 53.4. ViT-H/14 on 16 A100 <72h / <1200 GPU-h. ICCV 2023.
- Paper
Charformer: Fast Character Transformers via Gradient-based Subword Tokenization
GBST scores candidate byte n-gram blocks (max width 4) position-wise and mixes them, then mean-pools (ds=2–3). Charformer is a T5-style encoder-decoder on the 256-byte vocab. CharformerSBase (134M, deep encoder): English GLUE avg 83.6 vs T5-Base 84.3 / Byte-T5 81.5; Civil Comments 83.0 vs T5 81.2; IMDb 94.4 vs T5 94.2. Multilingual long-PT: TyDiQA-GoldP 81.2/71.3 vs mT5-Base 80.8/70.0, 28% faster with ~3× fewer params. ICLR 2022 camera-ready. Implementation https://github.com/google-research/google-research/tree/master/charformer.
- Paper
TCNCA: Temporal Convolution Network with Chunked Attention for Scalable Sequence Processing
Swaps MEGA’s FFT-parallel EMA (O(L log L)) for a TCN of dilated-conv residual blocks (one conv per block, O(L)) followed by fixed-window chunked attention. EnWik8 BPC 1.01 vs MEGA 1.02 / Transformer-XL 1.06 at 39M params, with 1.37×/1.24× faster train forward/backward vs MEGA. Dilated conv vs parallel EMA is up to 7.07×/2.86× faster at seq 131k on V100. LRA average 85.5 vs MEGA-chunk 85.6 with 1.28× inference. A simplified TCNCA matches MEGA on associative recall. No official code on abs.
- Paper
Mixture-of-Depths: Dynamically allocating compute in transformer-based language models
MoD caps each (or every other) block to k tokens for attention+MLP; others take a residual. Expert-choice top-k keeps a static graph. IsoFLOP: 12.5% capacity every other block matches or beats vanilla at fewer FLOPs/step (up to ~50–66% faster sampling). An auxiliary router predictor enables causal decode (~99% top-k match). No official code on abs. Not the Luo/Specia Mixture-of-Depths Ensemble (papers_local 576).
- Paper
Multi-Novelty: Improve the Diversity and Novelty of Contents Generated by Large Language Models via inference-time Multi-Views Brainstorming
Model-agnostic inference-time brainstorming: GPT-4o text views and crawled-image descriptions (Qwen-2VL then GPT-4o-mini rewrite) prepend extra perspectives before generation. DNC eval (diversity, novelty, correctness) on 10 prompts × 100–2000 samples (909,500 answers). Text views lift GPT-4o novelty ~5–9× (SBERT) and DeepSeek-R1 ~2×; correctness often drops (GPT-4o 99.6%→92.6% text / 94.6% image). No official code on abs.
- 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
Byte Latent Transformer: Patches Scale Better Than Tokens
BLT maps bytes to variable patches via next-byte entropy, then a light local encoder, a large latent Transformer, and a local decoder. First flop-controlled byte-level scaling study to 8B / 4T bytes: matches Llama 3 at equal train FLOPs and can cut inference FLOPs ~50% with patch size 6–8. For a fixed inference budget, growing patch size and model size together beats BPE. Robustness: noisy HellaSwag 64.3 vs Llama 3 56.9; CUTE 54.1 vs 27.5. Code https://github.com/facebookresearch/blt.