Skip to content
Bots
← All editions

AI Open Source Radar / #118

OnlineSPEC

Paulo Cesar Braga2 min read

English translation of the original edition published on LinkedIn. Assessments reflect the context of the original publication. View the original ↗

🔬 AI Open Source Radar #118

🧩 Architecture Layer ⚡ Adaptive Token Generation Layer

🆕 Emerging Discipline 🧠 Online Speculative Decoding Engineering

📌 Project: OnlineSPEC

An LLM typically generates tokens in a sequential manner.

Each new token depends on the previous context.

But there is a technique capable of speeding up this process:

Speculative Decoding.

A smaller and faster auxiliary model anticipates possible tokens.

The main model checks these proposals.

Now a question arises:

What if the auxiliary model could learn from the results of this verification itself?

🔴 THE PROBLEM

In traditional speculative decoding, the auxiliary model can remain static.

This creates difficulties:

❌ rejected proposals;

❌ computing waste;

❌ variable performance between tasks;

❌ difficulty following changes in traffic;

❌ low adaptation to different generation patterns.

An efficient auxiliary model in programming may not perform the same in open conversations.

Static Drafting ≠ Adaptive Inference

🟢 THE SOLUTION

OnlineSPEC investigates how to combine speculative decoding with online learning.

INPUT
↓
DRAFT MODEL
↓
PROPOSE TOKENS
↓
TARGET MODEL VERIFICATION
↓
ACCEPT / REJECT
↓
LEARNING SIGNAL
↓
ADAPT DRAFTER

The project brings together:

🧠 Online Learning

⚡ Speculative Decoding

🔀 Ensemble Drafting

📊 Acceptance Feedback

🔄 Adaptive Draft Models

🧪 EAGLE / Hydra / Lookahead Reasoning

⚙️ What stood out to me

Verification is no longer just a step that accepts or rejects tokens.

It also provides information to improve future proposals.

This creates a cycle:

PREDICT
↓
VERIFY
↓
LEARN
↓
PREDICT BETTER

The research also investigates a theoretical relationship between online learning performance and the acceleration achieved.

🔬 AI OPEN SOURCE RADAR

🟡 Recommendation: TRY IN RESEARCH

🏛️ Architectural role: ADAPTIVE SPECULATIVE DECODING

🌱 Maturity: Open Source / ICML 2026

💬 My view

Inference optimization is advancing beyond kernels, caches, and parallelism.

We are starting to explore systems that adapt their own execution strategy.

📈 My outlook

Adaptive Inference Engineering could become an important area for reducing latency and improving generation efficiency in language models.

📌 Repository: https://lnkd.in/dMpnjYJK

❓ Does your inference system only execute a fixed strategy or can it learn which strategies work best for each type of generation?

#AIOpenSourceRadar #OnlineSPEC #SpeculativeDecoding #OnlineLearning #LLMInference #AIEngineering #OpenSource