Search papers, labs, and topics across Lattice.
This paper introduces SelectInfer, a neuron-level optimization framework designed to enhance the efficiency of large language model (LLM) inference on resource-constrained edge devices. By employing an offline profiling method to identify critical task-specific and general-purpose neurons, SelectInfer implements selective neuron loading and computation, significantly reducing memory usage and computational demands. Evaluation results demonstrate that SelectInfer maintains task performance while achieving substantial efficiency gains, marking a meaningful advancement in LLM deployment for edge applications.
SelectInfer slashes memory and computation needs for LLMs on edge devices without sacrificing performance, revolutionizing on-device AI capabilities.
Large Language Models (LLMs) have demonstrated remarkable capabilities across a range of Natural Language Processing (NLP) tasks, but their high computational and memory demands pose significant challenges for deployment on resource-constrained edge devices. Existing approaches to model compression and optimization often rely on coarse-grained pruning or quantization, which can compromise accuracy or require re-training and fine-tuning. In this work, we introduce SelectInfer, a neuron-level optimization framework that enables efficient LLM inference on edge devices through selective neuron loading and computation. By profiling and identifying both task-specific and general-purpose neurons using an offline LLM profiler, SelectInfer implements two key optimizations: selective loading, which reduces memory footprint by selectively loading a subset of neurons that were identified to be most important during the offline stage, and selective computation, which dynamically computes only the most relevant neurons at runtime. Evaluation across multiple datasets shows that SelectInfer achieves significant reductions in memory footprint and computation while preserving task performance, making it a practical step towards enabling LLM deployment on edge devices