Explore the research collection
6 entries · Follow this search
- Paper
Context Language Models
Introduces Context Language Models (CLMs): language models that natively manage their own context by treating the context as a file and allowing unrestricted updates to it, letting the model learn what is most important to maintain in context and naturally extending to multi-agent systems where multiple agent contexts coexist as files. Building CLMs zero-shot with existing models outperforms SOTA context-management strategies: 11.4% higher accuracy with 21.5% fewer FLOPs on BrowseComp-Plus, 5% higher scores with 59% fewer FLOPs on 12-hour EdgeBench, and 65% greater improvement with the same compute on a 24-hour multi-repository agent-swarm task. Shifting context management from external harness control to intrinsic model behavior enables both in-context and parametric learning of context-management strategies: steering CLMs with natural-language instructions evolved through a skill-optimization loop improves held-out accuracy by up to 35.9 points while reducing compute. An online RL method for CLMs improves Qwen3.5-9B on BrowseComp-Plus by 47.6% while using 12% fewer FLOPs. Co-designed Suffix Cache Reuse for CLM serving further cuts server-side compute by 35% relative to standard SGLang at matched performance.
- Paper
Allspark: Weak to Strong Transfer via Alternating Chain of Thought
Asks whether reasoning improvements learned by a small, weak model can benefit a larger, stronger model without using the strong model's rollouts during training. Introduces Allspark, a training and inference framework for weak-to-strong transfer through alternating chains of thought: a weak teacher is trained with RL alongside a frozen copy of the same model, the two alternate reasoning segments, and the frozen model produces the final answer. At inference time a stronger student replaces the frozen training partner while both models remain fixed. Because they communicate through text, the teacher can steer students from different model families and with different tokenizers. Studied at two scales: controlled Qwen3-1.7B/4B experiments across math and reasoning domains, and larger-scale experiments with an Inkling-Small teacher on 96 ARC-AGI-2 development problems. The Inkling experiments show accuracy gains in within-family and cross-family settings, including transfer to Kimi K2.6 and Nemotron 3 Ultra, with benefits varying across inference settings; analyses also characterize the accuracy-token tradeoff. Motivates reusing a trained weak teacher across strong students.
- Paper
Recirculation
An inference-time architectural enhancement for off-the-shelf foundation models that markedly reduces perplexity and boosts accuracy across generation and reasoning tasks. Recirculation introduces a specific form of recurrence that lets the model act as a dynamical system tracking belief states, motivated by the limitation that state updates in feedforward transformers are bounded by model depth. It adds essentially no generation latency (serial processing only in the prefill phase), and an adaptive variant needs only light hyperparameter tuning with frozen model weights.
- Paper
FreeToken: Efficient Edge-Native MoE Serving with Bandwidth-Adaptive Execution
An edge-native mixture-of-experts serving system that treats a personal machine as a unified, elastic inference platform rather than a small GPU. FreeToken co-designs model layout and loading, expert residency, CPU-GPU execution, agentic state reuse, and runtime memory management around the realities of local AI: agentic workloads with shifting execution patterns and heterogeneous per-machine hardware. Instead of a fixed offloading strategy, it continuously maps computation and model state onto available resources.
- Paper
FlashHead: Efficient Drop-In Replacement for the Classification Head in Language Model Inference
Argues growing vocabularies make the dense LM head a major param/compute bottleneck (up to ~60% params / ~50% decode compute on small models). FlashHead reframes next-token scoring as balanced-cluster multiprobe retrieval with sampling support and selective quantization, reporting up to ~1.75× model-level speedups (e.g. Llama-3.2-1B) with near-baseline accuracy; gains compound with W4A16.
- Paper
WeDLM: Reconciling Diffusion Language Models with Standard Causal Attention for Fast Inference
arXiv 2512.22737. Proposes WeDLM: Topological Reordering places observed tokens in the physical prefix while preserving RoPE logical positions so masked recovery works under a strict causal mask; Dual-Stream Masking reduces train–inference gap; Streaming Parallel Decoding commits confident left-to-right prefixes with a dynamic sliding window. Instantiated on Qwen2.5-7B and Qwen3-8B (100B continued pretrain + SFT). Reports ~3× speedups on reasoning vs vLLM-served AR and up to ~10× in low-entropy regimes while matching/improving quality. Code/models: github.com/Tencent/WeDLM; HF tencent/WeDLM collection; project wedlm.github.io.