← Latest papers
💬 NLP

MARS: Enabling Autoregressive Models Multi-Token Generation

MARS is a lightweight fine-tuning method that enables autoregressive language models to generate multiple tokens per forward pass without architectural changes or extra parameters, achieving 1.5–1.7x throughput while maintaining baseline accuracy and offering real-time speed adjustment via confidence thresholding.

Original authors: Ziqi Jin, Lei Wang, Ziwei Luo, Aixin Sun

Published 2026-04-09
📖 4 min read☕ Coffee break read

Original authors: Ziqi Jin, Lei Wang, Ziwei Luo, Aixin Sun

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a professional chef (the AI model) tasked with writing a recipe.

The Old Way (Standard Autoregressive Models):
Traditionally, this chef writes the recipe one word at a time. Even if the next word is obvious—like writing "salt" after "pinch of"—the chef stops, thinks, writes "salt," stops again, thinks, and writes "pepper." It's a very careful, step-by-step process. It's accurate, but it's slow because the chef never takes a shortcut, even when the path is clear.

The Problem with Current "Fast" Methods:
Other teams tried to speed this up by hiring a sous-chef (Speculative Decoding) or giving the chef extra arms (Medusa/EAGLE).

  • The sous-chef tries to guess the next few words, but you have to keep two chefs in the kitchen, doubling the space and equipment needed.
  • The extra arms require building new limbs onto the chef, which is expensive and complicated.

The MARS Solution:
The authors of this paper, MARS, came up with a clever trick. They didn't hire a new chef or grow new arms. Instead, they gave the same chef a new training exercise.

They taught the chef to look ahead and say, "I'm 95% sure the next three words are 'salt', 'pepper', and 'sugar'." If the chef is confident, they write all three at once. If they are unsure (like when writing a complex, creative story), they slow down and write just one word at a time, exactly like before.

How It Works (The Analogy)

Think of the chef's workspace as a sliding window.

  1. The Training (The "Masked" Practice):
    During training, the authors put a "blindfold" (a [MASK] token) over the next few words on the recipe card. They ask the chef: "Based on what you've written so far, what goes in these blank spots?"

    • Crucial Twist: They also made the chef write the original recipe alongside the blindfolded one. This ensures the chef doesn't forget how to write normally. It's like practicing a new dance move while still keeping your balance on one foot.
  2. The Four Rules (Closing the Gaps):
    Previous attempts to do this failed because they broke the rules of how chefs work. MARS fixed three broken rules:

    • Rule 1 (Causality): The chef must only look forward, never backward. (Don't peek at the finished dish to guess the ingredients).
    • Rule 2 (Order): The chef must write left-to-right. (Don't write the last word before the first).
    • Rule 3 (Logic): The chef must use the same "brain" (parameters) for everything.
    • Rule 4 (The Blindfold): The only thing that changes is that the chef gets to guess a block of words at once, but only if they are confident.
  3. The Result (The "Confidence Knob"):
    When the chef is writing a boring, predictable sentence ("The sky is blue"), they might write 3 or 4 words in a single breath.
    When they are writing a complex math problem or a tricky joke, they switch back to writing one word at a time.

    • The Best Part: You can adjust a "confidence knob" (a threshold) in real-time. If the kitchen is super busy, you tell the chef, "Be a bit more confident, write 2 words at a time!" If the customer is picky, you say, "Slow down, write one word at a time." You don't need to swap chefs or restart the kitchen.

Why This is a Big Deal

  • No New Hardware: You don't need a bigger kitchen or a second chef. It's the exact same model, just smarter about when to speed up.
  • No Quality Loss: When the chef writes one word at a time, they are just as good as before. In fact, the practice of guessing blocks actually made them slightly better at the standard tasks.
  • Real Speed: In tests, this method made the AI 1.5 to 1.7 times faster without losing accuracy. It's like the chef suddenly found a way to chop vegetables twice as fast during the boring parts of the prep, but still carefully plated the fancy dish.

In a nutshell: MARS teaches an AI to "batch" its thinking. It learns to sprint when the path is clear and walk when the path is tricky, all without changing its brain or needing extra help.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →