Explore the research collection
355 entries · showing 337–355 · Follow this search
- Paper
MemoHarness: Agent Harnesses That Learn from Experience
Decomposes the harness into six control surfaces (context, tool, generation, orchestration, memory, output) plus a dual-layer experience bank of per-case diagnoses and distilled global patterns. Training-time search (T=10) starts from a minimal harness with GPT-5.3-Codex; test-time adaptation retrieves similar successes/failures with no labels or extra search. On Terminal-Bench 18-task held-out split, 0.806 vs Codex 0.722 (+0.084); LiveCodeBench 0.900→0.967; FinanceAgent 0.600→0.767. Cross-model mean +0.098 (GLM-5 +0.233). Reported cost $6.89 vs Codex $10.28 because 13.32M of 14.18M input tokens were cached. Authors note the 18-task split, no CIs, and incomplete component ablations.
- Paper
Full-Pipeline Inference Optimization for MiMo-V2.5 Series: Pushing Hybrid SWA Efficiency to the Limit
Engineering report for MiMo-V2.5 / V2.5-Pro Hybrid Sliding Window Attention (example: 70 layers, 10 full + 60 SWA, W=128; ~7× less attention FLOPs and KV vs full attention) plus sparse MoE and vision/audio/video encoders. Dual-pool KV with strict O(W) SWA storage, layerwise prefetch, SWA-aware prefix cache trees, GCache L3 (RDMA, co-deployed on GPU nodes), KVCache-affinity router (~+25% L2 hit, ~+30% input throughput), length bucketing, halved EP after SWA storage (~40% e2e), MTP in prefill (2.3× on first 128 decode tokens), GPU image preprocess and parallel video decode (1-hour video 156s→23s). Reports ~93% production KV hit rate. Positions as the first large-scale serving system covering Hybrid SWA+MoE+multimodal. Not a dataset.
- Paper
Metis: Memory Foundation Model
Defines memory foundation models: a persistent parametric memory state plus native remember/forget/update procedures executed in forward computation rather than external RAG. Metis blocks add a local dense memory matrix and a hyper-memory updater (Gated Delta Network) fused via memory attention; online maintenance is a gradient-free forward pass with frozen weights. Mid-trained on 357,137 primary + 609,443 auxiliary synthetic multi-step trajectories from 27 public benchmarks (~406M primary tokens). Under no-context eval, Metis-27B leads Temp-LoRA and δ-Mem on MemOps, LoCoMo (Gold), and NextMem, still well below full-context Qwen3.5. Releases Metis-4B/9B/27B. Long-horizon compression loss and latent confusion remain.
- Paper
Not All LLM Reasoning is Visible in the Chain-of-Thought
Defines invisible reasoning via filler-token diagnostics: accuracy rises with fixed, question-independent filler spans, depends on filler type, and the type ranking differs across models. Evaluates 13 frontier models on 4-digit multiplication, nested arithmetic, and variable-counting. Many models gain (up to +13 pp; Gemini 3 Flash +10.7 arithmetic; Opus 4.5 +11.2 arithmetic / +10.0 multiplication with counting fillers). Filler tokens let Opus 4.5 satisfy a hidden modular constraint (x mod 2 = 1: 33.5%→44.5% N/A) without hurting the primary task. RL on Qwen3-235B creates filler-type preferences but the test-time filler benefit does not persist; SFT also fails to transfer it.
- Paper
Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Compute
Unified TTC for SWE agents: internal TTC (development-contextualized long-CoT trajectories bootstrapped with DeepSeek R1 from GitHub issues, then rejection-sampled) plus external TTC (PRM-guided search at repository understanding, fault localization, and patch generation, with execution verification and a DPO ORM). On SWE-bench Verified, Qwen2.5-Coder-32B SWE-Reasoner reports 37.6% with internal TTC and 46% at external budget 8, matching Claude 3.5 Sonnet v2 and beating o1/DeepSeek-R1 in the paper's 2025 comparison. Code https://github.com/yingweima2022/SWE-Reasoner.
- Paper
Qwen-Music Technical Report
Three-stage system: 25 Hz single-codebook Music Semantic Tokenizer (0.6B Conformer), Qwen-Music-LLM (3B dense Qwen3.5-Omni init with Melody-CoT planning), and Qwen-Music-Render (1.3B DiT + Spec-VAE + Band-Mode Refiner to 48 kHz stereo). LLM trained on >5M hours of multilingual music with a quality-graded curriculum then SFT/DPO/GSPO. On 600 ZH/EN prompts, best on 13/16 SongBench/SongEval/AudioBox-Aesthetic metrics; professional A/B prefers it over MiniMax Music 2.6 (66.7%) and Suno V5 (55.4%), comparable to Suno V5.5 (50.3%). Cover mode reports lower Melody MAE than Suno V5.5/V5 and MiniMax Cover on an AI-generated reference set.
- Paper
Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineering
OpenMLE is a full stack: OpenMLE-Gym (5,758 quality-gated executable tasks), OpenMLE-ERL (execution-grounded SFT+RL on the four operators), and OpenMLE-Evo (experience-guided search). Frontis-MA1-35B post-trained on this stack raises MLE-Bench Lite Medal Average from 39.39% (Qwen3.6-35B-A3B) to 60.61% under OpenMLE-Evo and 71.21% under OpenMLE-Evo-Max (12h / one RTX 4090 12GB). NatureBench Lite Match-SOTA moves 50%→70% by swapping the trained model and 20%→50% by swapping the harness. Weights, gym, and traces are released.
- Paper
Zero-Mem: Zero-Token Memory Operations for LLM Agents
Keeps original interaction traces as the source of record and builds two non-generative views: an entity–context graph (spaCy NER, co-occurrence + adjacency, Personalized PageRank) and a temporal hierarchy (turn/window/episode/local). Query routing fuses the views, then deterministic calibration filters and ranks evidence; only the final-QA reader invokes an LLM. On LoCoMo with GPT-4o-mini, average F1 59.15 vs GAM 53.75; HotpotQA 56K–448K also leads. Memory-operation LLM tokens are 0 and latency falls 57.6% vs LightMem. Official code promised after peer review.
- Paper
ReToken: One Token to Improve Vision–Language Models for Visual Retrieval
Diagnoses query–key attention as a weak visual retriever in VLMs and scores frames in value space instead. ReToken is one learnable token plus a final-layer projection, trained with class-balanced BCE on MIRAGE multi-image QA while the VLM is frozen by default. On Visual Haystacks it lifts Qwen3VL-8B by 13.4 points and InternVL3.5-8B by 12.4 points at C=50 (>20% relative); trained only on images it transfers zero-shot to hour-scale video (+8.0 on LVBench with Qwen3VL-8B). Training and long-video inference fit on one H100. Code https://github.com/avaxiao/ReToken.
- Paper
Toward a mechanistic understanding of inference in visual cortex and diffusion models
Extends sparse coding with a learned pairwise latent interaction matrix M and trains the recurrent ISTA dynamics with denoising score matching plus implicit differentiation. After natural-image training, M recovers collinear V1-like horizontal connections and denoises contours far better than factorial sparse coding, approaching a parameter-matched U-Net. The denoising Jacobian decomposes as Phi J_z Phi^T with sparse-gated lateral spread, explaining contour-tied harmonic bases. On faces, ~30% of latents detach from pixels and act as an emergent hierarchy for global consistency. Yields testable V1 surround-excitation hypotheses.
- Paper
LongCat Sparse Attention: Taming the Lightning via Streaming-aware Hierarchical Cross-Layer Indexing
LongCat Sparse Attention (LSA) composes three indexer changes on DSA: Streaming-Aware Indexing (sink+sliding-window contiguous budget plus dynamic sparse tokens for coalesced HBM), Cross-Layer Indexing (N=2 owner/reuse with distillation; halves indexer passes), and training-free Hierarchical Indexing (coarse page recall then token refine; net win at >=256K). Matches full MLA on general/long-context benches at 69B-A3B and 560B-A27B, enables 1M-token native training, and underpins LongCat-2.0 (1.6T-A48B). Releases LongCat-Flash-Lite-Sparse (69B-A3B).
- Paper
DAPD: Dual-Anchored Policy Distillation
Diagnoses OPSD failure as information asymmetry: a privileged teacher (reference/tool) supervises a student that lacks that information at inference, so the student learns unreproducible privilege-dependent behavior. DAPD adds Dual-Path Anchoring (self-conditioned bridge aligning reference and rollout with and without privilege) and Dual-Source Anchoring (reference-to-rollout and rollout-to-reference). On Qwen3-4B, +2.00 avg over OPSD across reasoning/coding/instruct; gains hold at scale (+2.69 at 4B, +2.78 at 32B vs OPSD on reasoning Avg@12) while OPSD's gains vanish. Code https://github.com/uanu2002/DAPD.
- Paper
Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse
Shows within-family matched-KV pairs (shared KV head count and head dim) have substantial linear structure: on Qwen3 14B->32B one source layer explains 56%/32% of target key/value variance, 79%/65% with multiple layers. A closed-form per-head ridge mapper with top-k cross-layer source selection and RoPE-stripped content-space keys retains 73-98% of standalone-prefill accuracy on four of six pairs (Qwen3, Llama 3.1, Ministral 3) and is 2.7-25x faster than re-prefill; two Ministral pairs collapse and a nonlinear MLP recovers up to +37 pp HellaSwag. Attention-output cosine predicts retention better than reconstruction R^2.
- Paper
Towards Physics of Multimodal Pretraining: Knowledge Flow, Modality Synergy, Early Unification, and Recipes
Four findings: (1) Knowledge flow is asymmetric — language boosts all visual tasks, understanding is a strong prior for generation, generation is largely neutral backward. (2) Task complexity and architecture (shared attention/norm, split FFNs) determine synergy vs competition. (3) Early joint unification beats late alignment; delayed vision causes vision laziness. (4) Asymmetric recipes (e.g. 70/25/5 L/U/G) plus MoE and early unification scale; 13.5B MoE on 2T tokens. Project page https://junlinhan.github.io/projects/physics_of_mm_pretrain/
- Paper
Filesystem-Based Memory for LLM Agents: Organization, Evolution, and Sustainability
Treats deployed filesystem memory (markdown trees + generic file tools) as a design space with management/search/execution roles sharing one store for declarative memory and skills. Across LoCoMo, PersonaMem, REALTALK, and ALFWorld, varies store shape, scale, harness, and model strength. Organization's reliable payoff is search cost (roughly halves retrieval on large material), not answer quality. Organization erodes for all but the strongest management agent; tool set reshapes the store as strongly as swapping the model. No agent converts organization itself into better answers.
- Paper
Is One Layer Enough? Training A Single Transformer Layer Can Match Full-Parameter RL Training
Systematic layer-wise study of how reinforcement-learning post-training of large language models distributes its gains across transformer layers. Against the usual assumption that every layer should be updated uniformly, the authors find that training a single transformer layer recovers most of the improvement achieved by full-parameter RL training and in some cases surpasses it. They introduce "layer contribution", the fraction of full RL improvement recovered by training one layer in isolation, and measure it across seven models spanning two families (Qwen3, Qwen2.5), three RL algorithms (GRPO, GiGPO, Dr. GRPO) and task domains including mathematical reasoning, code generation and agentic decision-making. RL gains concentrate in a small subset of layers, and a consistent structural pattern emerges: high-contribution layers sit in the middle of the stack while layers near the input and output ends contribute substantially less. The resulting layer rankings stay strongly correlated across datasets, tasks, model families and RL algorithms.
- Paper
Qwen-Audio-3.0-TTS: Freely Controllable and Highly Robust Speech Synthesis with Multi-Stage Training Paradigm
Technical report on Qwen-Audio-3.0-TTS, a production-oriented text-to-speech system that the authors position as jointly advancing content consistency, speaker similarity, prosodic naturalness, audio quality, controllability, multilingual coverage, efficiency and robustness. It pairs a 12.5 Hz low-frame-rate speech tokenizer (for reduced inference latency) with a five-stage progressive training paradigm that coordinates optimisation of the language model and the flow-matching model. Control is exposed at inference through free-style natural-language instructions plus fine-grained inline tags, and the system supports 16 languages and 20 Chinese dialect regions, one-pass long-form synthesis up to 3 minutes, and generation from noisy, reverberant or unclear reference speech. Evaluated on SEED-TTS-Eval, CV3-Eval, instruction-following, long-form and acoustic-robustness suites, where the paper reports state-of-the-art or strongest aggregate results on many dimensions and first place on the independent Artificial Analysis Text-to-Speech Leaderboard.
- Paper
Stealing Reasoning Traces from Proprietary LLM APIs
Leading LLM providers hide chain-of-thought reasoning by returning it to clients as encrypted blocks that are passed back with each request. The authors identify an architectural vulnerability: these encrypted blocks are interchangeable across sessions, users, and models within a provider's ecosystem. Injecting an encrypted reasoning trace from a strong model into a weaker, less safeguarded model of the same provider makes it decode and emit the trace verbatim in plaintext, a scalable "decryption jailbreak" that never jailbreaks the stronger model directly. Four attack vectors are demonstrated across Anthropic, OpenAI, and Google: circumventing anti-distillation protections; large-scale private data extraction (decoding 315,320 reasoning blocks scraped from public repositories recovered 367 PII artifacts and 182 credentials); exposure of hazardous reasoning content even when the visible answer refuses; and invisible prompt injection hidden inside encrypted blocks to poison public agentic rollouts. Cryptographic and system-level mitigations are proposed following responsible disclosure.
- Paper
AIMO-2 Winning Solution: Building State-of-the-Art Mathematical Reasoning Models with OpenMathReasoning dataset
This paper presents our winning submission to the AI Mathematical Olympiad - Progress Prize 2 (AIMO-2) competition. Our recipe for building state-of-the-art mathematical reasoning models relies on three key pillars. First, we create a large-scale dataset comprising 540K unique high-quality math problems, including olympiad-level problems, and their 3.2M long-reasoning solutions.