← Latest papers
💻 computer science

AHASD: Asynchronous Heterogeneous Architecture for LLM Adaptive Drafting Speculative Decoding on Mobile Devices

This paper introduces AHASD, a task-level asynchronous heterogeneous mobile architecture that leverages NPU-PIM collaboration with novel control mechanisms to achieve up to 4.2×\times throughput and 5.6×\times energy efficiency improvements for speculative decoding in large language models compared to existing baselines.

Original authors: Ma zirui, Fan Zhihua, Li Wenxing, Wu Haibin, Zhang Fulin, Ye Xiaochun, Li Wenming

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

Original authors: Ma zirui, Fan Zhihua, Li Wenxing, Wu Haibin, Zhang Fulin, Ye Xiaochun, Li Wenming

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 trying to write a long story, but you have a strict rule: you must ask a very wise, slow, and expensive editor (the Target Model) to check every single word you write before you can write the next one. This makes writing incredibly slow.

To speed things up, you hire a quick, energetic assistant (the Draft Model) to guess the next few words for you. You write these guesses down, and then the wise editor checks them all at once. If the guesses are good, you keep them and move on. If they are bad, you throw them away and start over. This is called Speculative Decoding.

However, on a mobile phone, this process has two big problems:

  1. The "Waiting Game": Sometimes the assistant guesses 2 words, sometimes 20. If the assistant is slow, the editor sits idle waiting. If the assistant is fast, the editor sits idle waiting for the next batch. They are constantly holding hands, waiting for each other to finish, which wastes time.
  2. The "Bad Guess" Problem: Sometimes the assistant gets overconfident and guesses a whole paragraph of nonsense because the context is tricky. The editor has to reject the whole thing, wasting all the energy the assistant spent guessing.

The paper introduces AHASD, a new system designed to fix these problems on mobile phones using a special type of computer chip called PIM (Processing-in-Memory) and a standard AI chip called an NPU.

Here is how AHASD works, using simple analogies:

1. The "Unsynced Dance" (Task-Level Asynchronous Execution)

In old systems, the assistant and the editor had to dance in perfect lockstep. If the assistant stopped, the editor stopped.
AHASD breaks the chain. It lets the assistant (running on the memory chip, PIM) and the editor (running on the processor, NPU) work independently.

  • The Analogy: Imagine a factory assembly line. Instead of the worker waiting for the machine to finish before starting the next step, the worker keeps grabbing new parts from a bin (the queue) and working on them while the machine is still processing the previous batch. They don't wait for each other; they just keep the line moving. This eliminates the "idle time" where one device sits around doing nothing.

2. The "Confidence Radar" (Entropy-History-Aware Drafting)

The assistant sometimes gets too confident and starts guessing wildly when it should be cautious.
AHASD gives the assistant a "Confidence Radar." It looks at the history of its recent guesses.

  • The Analogy: Think of a weather forecaster. If they have been wrong about rain for the last three days, they stop predicting rain for the next day, even if the clouds look similar. Similarly, if the assistant's guesses have low "confidence" (high entropy), the system tells it: "Stop guessing ahead! Wait for the editor to confirm the current word before you guess the next one." This stops the assistant from wasting energy on guesses that will definitely be thrown away.

3. The "Smart Timer" (Time-Aware Pre-Verification)

Sometimes the assistant finishes its work, but the editor is still busy. The assistant might start guessing again, but if it guesses too much, the editor might run out of work to check and sit idle.
AHASD uses a "Smart Timer" to decide exactly when the assistant should pause and do a quick "mini-check" (pre-verification) on its own.

  • The Analogy: Imagine a chef (the assistant) chopping vegetables while a sous-chef (the editor) is cooking a sauce. The chef knows exactly how long the sauce will take. If the chef sees the sauce will be done in 5 seconds, the chef stops chopping and does a quick taste test (pre-verification) on the vegetables to make sure they are ready. This ensures the sous-chef has fresh vegetables ready the moment the sauce is done, so the sous-chef never has to stand around waiting.

The Results

The authors built a simulation of this system on a mobile phone chip. They found that:

  • Speed: It is up to 4.2 times faster than using just a standard graphics card (GPU) and 1.5 times faster than previous attempts to mix mobile chips with memory processing.
  • Battery Life: It is up to 5.6 times more energy-efficient than a standard GPU and 1.24 times better than the previous best mobile system.
  • Cost: All these fancy new features only take up about 3% of the extra space on the memory chip, which is a very small price to pay for such a big speed boost.

In short, AHASD is like giving your phone's AI a team of workers who stop waiting for each other, check their own confidence before guessing, and time their breaks perfectly to keep the work flowing smoothly without wasting battery power.

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 →