OSAIMar 4, 2025

FlexInfer: Breaking Memory Constraint via Flexible and Efficient Offloading for On-Device LLM Inference

arXiv:2503.03777v17 citationsh-index: 5EuroMLSys
Originality Incremental advance
AI Analysis

This addresses the challenge of deploying large language models on resource-constrained devices, representing a strong specific gain rather than a foundational advancement.

The paper tackles the problem of high memory demands hindering on-device LLM inference by proposing FlexInfer, an optimized offloading framework that uses techniques like asynchronous prefetching to enhance memory efficiency, achieving up to 12.5 times better throughput than existing methods under limited resources.

Large Language Models (LLMs) face challenges for on-device inference due to high memory demands. Traditional methods to reduce memory usage often compromise performance and lack adaptability. We propose FlexInfer, an optimized offloading framework for on-device inference, addressing these issues with techniques like asynchronous prefetching, balanced memory locking, and flexible tensor preservation. These strategies enhance memory efficiency and mitigate I/O bottlenecks, ensuring high performance within user-specified resource constraints. Experiments demonstrate that FlexInfer significantly improves throughput under limited resources, achieving up to 12.5 times better performance than existing methods and facilitating the deployment of large models on resource-constrained devices.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes