Explore the research collection
4 entries · Follow this search
- Paper
Hybrid Reasoning Agents
HybridAgent is an LLM agent that dynamically navigates between latent reasoning and text-based interaction within a single unified generation process, combining efficient latent "inner thinking" with text-based tool calls and external inspection. The core mechanism is HybridLink, a lightweight residual adapter mapping last-layer hidden states back into the input embedding space (e_{t+1} = h_t + W2·GELU(W1·h_t), ~10M params at 4B), enabling sequence-wise recurrence in latent mode without representation mismatch. Mode transitions: text mode emits a <latent> anchor token to enter latent mode; latent mode exits when the HybridLink-projected state nearest-matches a </latent> anchor; span lengths emerge adaptively. Latent thoughts remain interpretable: each latent step maps to its nearest token embedding, recovering readable pseudo-text. Multi-turn generation runs over a continuous working memory (KV entries from text, latent thoughts, and tool observations), losslessly preserving hybrid context across turns. Post-training: HybridSFT (format activation, HybridLink activation with cos+MSE regression, then self-conditioned two-pass training with joint CE at text and regression at latent positions, closing the train-inference mismatch) stabilizes tool-integrated hybrid generation; HybridRL scales reasoning via a hybrid policy factorization (policy likelihoods only over sampled text positions, since latents are deterministic given the backbone and fixed HybridLink) with exact rollout replay, rewarding correctness, format, and multi-tool use — learning when to think in latent space vs act through text. Built on Qwen3-Base at 4B/8B/14B and evaluated on 11 benchmarks (math, science, medicine, search, agentic reasoning) against text-based, latent, and frontier-agent baselines: HybridAgent improves performance by 10.4% on average at the RL stage (18.5% at SFT stage; 14B beats the strongest agentic baseline by 17.4%), with 35.5–54.7% token reduction, 1.8–2.6× faster inference, and 2.7–3.7× cost savings. Tool use stays reliable (higher valid call rates than GRPO, 99.7% execution success) and the exposed text trace remains monitorable/debuggable (first-error localization 98–99%), exposing 43–49% fewer text tokens while carrying 26–28% more key reasoning steps per 100 visible tokens. Code, models, and training data are public: github.com/togethercomputer/HybridAgent (MIT) with HybridAgent-8B-Agentic and -14B-Agentic checkpoints plus HybridSFT-v1/v2 and HybridRL datasets on Hugging Face.
- Paper
Transformers need glasses! Information over-squashing in language tasks
We study how information propagates in decoder-only Transformers, which are the architectural backbone of most existing frontier large language models (LLMs). We rely on a theoretical signal propagation analysis -- specifically, we analyse the representations of the last token in the final layer of the Transformer, as …
- Paper
Round and Round We Go! What makes Rotary Positional Encodings useful?
Positional Encodings (PEs) are a critical component of Transformer-based Large Language Models (LLMs), providing the attention mechanism with important sequence-position information. One of the most popular types of encoding used today in LLMs are Rotary Positional Encodings (RoPE), that rotate the queries and keys bas…
- Paper
Composer 2 Technical Report
Cursor technical report PDF (pdfTeX creation 2026-03-24). Composer 2 is trained in two phases: continued pretraining for coding knowledge, then asynchronous RL for long-horizon multi-step coding in the real Cursor harness (read/edit/shell/grep/semantic search/web). Base selected as Kimi K2.5 (1.04T total / 32B active MoE) after FreshBench/state-tracking/perplexity comparisons vs GLM5 and DeepSeek V3.2. Introduces CursorBench from real engineering sessions. Reports CursorBench accuracy 61.3 (major gain vs prior Composer), Terminal-Bench 61.7, SWE-bench Multilingual 73.7 in their harness; closed weights via Cursor product.