Pith. sign in

REVIEW 4 cited by

Fast On-device LLM Inference with NPUs

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2407.05858 v2 pith:H3Q7ZAF5 submitted 2024-07-08 cs.AI

classification cs.AI
keywords inferencelevelon-deviceprefillachievesfirstlatencyllms
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

On-device inference for Large Language Models (LLMs), driven by increasing privacy concerns and advancements of mobile-sized models, has gained significant interest. However, even mobile-sized LLMs (e.g., Gemma-2B) encounter unacceptably high inference latency, often bottlenecked by the prefill stage in tasks like screen UI understanding. We present llm.npu, the first LLM inference system utilizing on-device Neural Processing Unit (NPU) offloading to reduce prefill latency. llm.npu enhances NPU offloading efficiency by re-constructing the prompt and model in three levels: (1) At prompt level, it divides variable-length prompts into multiple fixed-sized chunks while maintaining data dependencies; (2) At tensor level, it identifies and extracts significant outliers to run on the CPU/GPU in parallel with minimal overhead; (3) At block level, it schedules Transformer blocks in an out-of-order manner to the CPU/GPU and NPU based on their hardware affinity and sensitivity to accuracy. Compared to competitive baselines, llm.npu achieves 22.4x faster prefill speed and 30.7$\times$ energy savings on average, and up to 32.8x speedup in an end-to-end real-world application. For the first time, llm.npu achieves more than 1,000 tokens/sec prefilling for a billion-sized model.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Is Your NPU Ready for LLMs? Dissecting the Hidden Efficiency Bottlenecks in Mobile LLM Inference

    cs.AR 2026-07 conditional novelty 7.0 of 10

    Cross-layer measurements of five mobile LLM frameworks on CPU/GPU/NPU reveal amplified NPU framework gaps, a prefill–decode backend phase split, and up to ~55% NPU energy savings from scheduling fixes.

  2. Dissecting the Impact of Mobile DVFS Governors on LLM Inference Performance and Energy Efficiency

    cs.OS 2025-07 conditional novelty 6.0 of 10

    Independent Android DVFS governors waste energy and time during on-device LLM inference, and a coordinated governor (FUSE) recovers 7.0-36.8% of the lost performance.

  3. Fast and Cost-effective Speculative Edge-Cloud Decoding with Early Exits

    cs.RO 2025-05 conditional novelty 6.0 of 10

    Edge-cloud speculative decoding runs faster when early exits in the server model let the client pre-draft the next candidate tokens before final verification is complete.

  4. Efficient Deployment of Vision-Language Models on Mobile Devices: A Case Study on OnePlus 13R

    cs.LG 2025-07 conditional novelty 5.0 of 10

    A side-by-side mobile benchmark shows VLM runtimes on a OnePlus 13R leave accelerators idle, push CPUs to thermal limits, and achieve order-of-magnitude power savings only when the GPU handles image and language kernels.

Pith tools