Technology

Together AI's Aurora Learns on the Fly

Together AI's Aurora framework uses RL to continuously adapt speculative decoding for faster LLM inference, outperforming static models.

Daniel Singer

By Daniel Singer, Editor, StartupHub.ai

2 min read

Together AI's Aurora Learns on the Fly
Credit: Together AI

Running large language models efficiently in production demands constant optimization, but traditional methods often fall short. Speculative decoding, a technique designed to speed up inference, frequently underperforms due to stale draft models that can't keep pace with live traffic shifts. Together AI aims to solve this with its new open-source framework, Aurora.

Aurora is built on a reinforcement learning (RL) foundation, enabling it to learn directly from live inference traces and continuously update its draft models without interrupting service. This creates a self-improving flywheel for LLM inference optimization.

A Serve-to-Train Flywheel

The system comprises decoupled Inference and Training Servers. The Inference Server uses a speculative decoding engine to generate token proposals, which are then verified by the target model. Accepted and rejected token results are streamed to a data buffer.

The Training Server asynchronously fetches this data, updates a copy of the draft model, and hot-swaps improved weights back to the inference server. This process avoids the significant costs and complexities of large-scale offline activation collection pipelines.

By framing speculative decoding as an RL problem, Aurora aligns training signals directly with real deployment utility. It learns not just from accepted tokens (imitation loss) but also from rejected proposals (discard sampling), using a specialized Tree Attention mechanism to process complex branching structures efficiently.

The daily brief

Get the free daily brief with the day's AI news, new AI startups and funding rounds every morning.

Join 64,000 other subscribers.

Adapting to Shifting Demands

Experiments show Aurora's ability to adapt to dynamic traffic patterns. When faced with abrupt shifts across different domains like code generation and finance, the system recovers its performance within approximately 10,000 requests.

Across various batch sizes and models like Qwen3-Coder-Next-FP8, Aurora consistently delivered speedups. It achieved an additional 1.25x speedup over a well-trained static speculator, demonstrating that continuous adaptation compounds benefits. In mixed traffic scenarios, online training from scratch with Aurora even surpassed carefully pretrained static baselines.

This approach challenges the conventional wisdom that extensive offline pretraining is mandatory for effective speculative decoding, offering a more dynamic and cost-efficient solution for LLM inference optimization.

Mentioned in this story

Sources

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

TopicsAuroraTogether AIFlashAttention-4Speculative DecodingReinforcement LearningLLM InferenceAI InfrastructureOpen Source

Daniel Singer

Written by

Daniel Singer

Editor, StartupHub.ai

Daniel Singer is the editor of StartupHub.ai, a technology expert and thought leader on AI and its applications across sectors, from fintech and healthcare to developer tooling and consumer software. He writes and tests the tools covered here thoroughly and regularly, and built StartupHub.ai to give founders, operators and buyers a clearer read on what they are actually being sold.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute, free.

Watch

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.