APreQEL: Adaptive Mixed Precision Quantization For Edge LLMs
This work addresses the problem of efficient LLM deployment on resource-constrained edge devices, offering an incremental improvement over existing quantization methods.
The paper tackles the challenge of deploying large language models on edge devices by proposing an adaptive mixed precision quantization mechanism that balances memory, latency, and accuracy based on user-defined priorities, achieving new configuration designs not possible with uniform quantization.
Today, large language models have demonstrated their strengths in various tasks ranging from reasoning, code generation, and complex problem solving. However, this advancement comes with a high computational cost and memory requirements, making it challenging to deploy these models on edge devices to ensure real-time responses and data privacy. Quantization is one common approach to reducing memory use, but most methods apply it uniformly across all layers. This does not account for the fact that different layers may respond differently to reduced precision. Importantly, memory consumption and computational throughput are not necessarily aligned, further complicating deployment decisions. This paper proposes an adaptive mixed precision quantization mechanism that balances memory, latency, and accuracy in edge deployment under user-defined priorities. This is achieved by analyzing the layer-wise contribution and by inferring how different quantization types behave across the target hardware platform in order to assign the most suitable quantization type to each layer. This integration ensures that layer importance and the overall performance trade-offs are jointly respected in this design. Our work unlocks new configuration designs that uniform quantization cannot achieve, expanding the solution space to efficiently deploy the LLMs on resource-constrained devices.