Наука и технология в современном миреМирзаева Ширин Нодировна, Тахиров Чингиз Аъзамович +22026
Reducing Latency and Enhancing Accuracy in LLM Inference through Firmware-Level Optimization
Firmware-Level Optimization · Reena Chandra · Automation Engineer
Международный журнал по обработке сигналов, встраиваемым системам и проектированию СБИС · 05 · 26-36 · 2025
Аннотация
Many edge and embedded platforms now rely on Large Language Models (LLMs) to efficiently handle natural language processing with just basic tools. Due to inference running slowly, limits on hardware, and making sacrifices between accuracy and efficiency, performing in real time is still a problem. This research analyzes firmware improvements that address these constraints, with the main goal of improving latency without any loss in the model's accuracy. This study put together a structure that brings together specific firmware actions, scheduled accesses to memory, and instructions that depend on the microarchitecture. We use 4-bit and 8-bit operations, predict memory accesses, and choose a schedule tuned for the ARM NEON and x86 AVX hardware. For confirmation, a special HIL framework processes tests in real time using a fault injection system for memory, accuracy, and latency tracking. We observe that our approach achieves a major improvement in time and energy use while maintaining over 95% of the original model’s performance. This work provides useful suggestions for developers and system architects using LLMs in applications that require fast responses. KEYWORDS Large Language Models (LLMs), Firmware Optimization, Inference, Latency, Accuracy, Efficiency, Edge Computing, Quantization, Hardware-in-the-Loop (HIL) Testing, Embedded Systems 1. Introduction The explosion of Large Language Models (LLMs) has revolutionized the field of artificial intelligence applications by showcasing record-breaking performance in natural language understanding, generation, and reasoning. Nevertheless, the implementation of these advanced models on memory-scarce edge and embedded systems poses severe technical problems that call for imaginative optimization techniques. The intrinsic computational complexity of transformer-based models and their huge memory footprints impose tremendous obstacles to achieving real- time inference on embedded platforms. Recent advances in the field have placed increasing emphasis on the essential role that latency optimization plays in LLM deployment. As described in modern work, the proportion of computational time spent by attention mechanisms in LLM inference is highly context- dependent, with a range from below 20% in brief contexts to over 50% in lengthy contexts of thousands of tokens. Such variation posits the need for adaptive optimization techniques that can vary dynamically in response to varying operational conditions. The shift from edge-based to edge-based inference is a paradigm shift that presents many benefits, such as lower network dependence, better protection of privacy, and lower response latency in real-time applications. https://www.academicpublishers.org/journals/index.php/ijvsli 26 AMERICAN ACADEMIC PUBLISHER Nonetheless, this shift calls for the reevaluation of optimization strategies on a fundamental level, from conventional software-level optimization to involve more profound firmware-level interventions that can push the efficiency of hardware utilization to the maximum. The relevance of this study is heightened by industry forecasts that the edge inference Application Specific Integrated Circuits (ASIC) market will hit $4.3 billion by 2024, including embedded architectures with AI chipsets integrated, discrete ASICs, and hardware accelerators. This growth pattern is a testament to the escalating need for optimized edge AI solutions and attests to the significance of creating strong optimization frameworks for embedded LLM deployment. 2. LITERATURE REVIEW AND BACKGROUND 2.1 Current State of LLM Optimization The domain of LLM optimization has seen tremendous advancements, especially in coping with the twin challenges of computational efficiency and preserving model. Classic optimization techniques have focused mostly on algorithmic optimization, such as model pruning, knowledge distillation, and some type of quantization [1]. Such software-centric methods, however, do not make use of the strengths of underlying hardware platforms to their full potential, especially in applications of embedded systems where resource constraints are most significant. Low-bit quantization technologies have recently made great strides in opening efficient LLM use on hardware- limited edge devices [2]. Microsoft Research has pinpointed breakthroughs like T-MAC, Ladder, and LUT Tensor Core technologies to achieve enhanced computational efficiency with greater hardware compatibility. These breakthroughs mark a vital step toward narrowing the gap between model complexity and hardware capabilities [3]. 2.2 Embedded Systems and Edge Computing Challenges The use of LLMs on embedded systems presents novel challenges that set it apart from its more conventional cloud- based counterparts. The power consumption in edge computing must be very limited, memory is scarce, processing power is low, and the system requires quick or nearly instant ways to respond [4]. They require optimization that extends
Доказательный фрагмент
«Many edge and embedded platforms now rely on Large Language Models (LLMs) to efficiently handle natural language processing with just basic tools.»
Образец извлечения
Демо-превьюMany edge and embedded platforms now rely on Large Language Models (LLMs) to efficiently handle natural language processing with just basic tools. Полный текст публикации CiteX не хранит — доступ к первоисточнику открывается по DOI согласно лицензии издателя и выбранному плану.
- Цитирований
- 0
- Тип
- Журнал
- Страна
- Узбекистан
- Ключевые слова
- Large Language Models (LLMs), Firmware Optimization, Inference, Latency, Accuracy, Efficiency, Edge Computing
Смежные источники
ЖУРНАЛ ТЕХНИЧЕСКИХ ИССЛЕДОВАНИЙЭлмурод Сотволдиевич Умаров, Зиёдбек Шавкатович Халилов +12021
МонографииЮсупова Н. А.2026
Авторефераты диссертацийKarimova Gulirano Muxtor qizi2026