Explore the research collection
3 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
Recursive Multi-Agent Systems (RecursiveMAS)
Extends the recursive/looped-model scaling axis from a single model to multi-agent systems: the whole team is cast as a unified latent-space recursive computation. Each agent acts as a layer of a recursive LM, connected through a lightweight RecursiveLink module (inner link for in-agent latent thought generation, outer link for cross-agent latent state transfer); only the final round decodes text. Trained with an inner-outer loop algorithm that jointly co-optimizes all RecursiveLinks (~13M trainable params, 0.31% of the system) with stable gradients, unlike text-based recursive SFT. Evaluated across 9 benchmarks (math, science, medicine, search, code) under 4 collaboration patterns: +8.3% average accuracy over the strongest baselines, 1.2x-2.4x inference speedup, and 34.6%-75.6% token reduction.
- Paper
OctoTools: An Agentic Framework with Extensible Tools for Complex Reasoning
arXiv 2502.11271 (submitted 2025-02-16; revised through 2026-04-13). Stanford Zou-group OctoTools: standardized tool cards, high-/low-level planner, executor for command generation, and greedy task-specific toolset optimization. Evaluated on 16 benchmarks (MathVista, MMLU-Pro, MedQA, GAIA-Text, etc.); reports +9.3% avg vs GPT-4o zero-shot and up to +10.6% vs AutoGen/GPT-Functions/LangChain with the same tools. Code at github.com/octotools/octotools; site octotools.github.io. Discord MarkTechPost writeup resolved to this arXiv primary.