Work

Efficient inference and adaptation in deep learning : from edge systems to large language models

Year: 2026
Type: dissertation
Abstract: The development of deep learning (DL) in artificial intelligence is undergoing rapid advancements, evolving from conventional DL models to modern large foundation models. While these advances have significantly improved model capability, they have also introduced new challenges for deploying and adapting DL models under practical resource constraints, including latency, memory, and energy limitations. Consequently, improving the resource efficiency of DL throughout its lifecycle has become an increasingly important research problem.This thesis investigates efficient inference, training, and adaptation in DL across the model lifecycle from four complementary perspectives: (1) enabling lightweight and energy-efficient inference of DL models on edge devices and distributed Internet of Things (IoT) systems; (2) developing memory-efficient training algorithms on edge devices; (3) improving the parameter efficiency of fine-tuning large language models (LLMs) for downstream tasks; and (4) leveraging the inference process itself for efficient task-specific adaptation of LLMs. These four perspectives are addressed as follows.First, for efficient inference, this thesis proposes a lightweight inference scheme with reduced latency and energy, specifically designed for deep neural networks (DNNs) trained using the Forward-Forward algorithms (FF). In addition, it introduces efficient inference for distributed IoT systems with an energy-aware neural architecture search (NAS) framework to maximize prediction performance while satisfying strict constraints.Second, beyond efficient inference, this thesis investigates efficient training, focusing on the emerging forward-only algorithms, which are a family of learning algorithms that avoid explicit error backpropagation and recurrent feedback. This thesis proposes a memory-efficient forward-only algorithm that reduces dynamic memory overhead in the training process. It further provides a comparison between backpropagation (BP) and forward-only algorithms in terms of binary quantization, offering key insights into aligning optimization techniques with the forward-only learning mechanism.Third, for parameter-efficient fine-tuning of modern LLMs, this thesis studies the link between fine-tuning specific bias terms (Query, Key, and Value projections) and downstream performance. The findings reveal that in low-data regimes, fine-tuning only the bias terms of the Value projection is sufficient. Directly fine-tuning the bias terms of the Value projection achieves extreme parameter efficiency while maintaining competitive adaptation capability in low-data regimes.Finally, motivated by the rapid growth and large-scale deployment of LLM inference services, this thesis explores how the inference process itself can be leveraged to enable efficient task-specific adaptation of LLMs. It proposes a forward-only adaptation framework during LLM inference serving, achieving lower peak memory consumption and faster task adaptation.Overall, this thesis advances efficient inference, training, and adaptation across multiple stages of the model lifecycle, spanning efficient and lightweight inference, memory-efficient training on edge systems, parameter-efficient fine-tuning of LLMs, and forward-only LLM adaptation during inference. Collectively, these contributions highlight the importance of aligning efficiency techniques with the learning mechanism, infrastructure, and resource constraints. They further identify effective uses of forward-pass information for optimizing inference computation and guiding selective adaptation of DL models, as well as providing a broader perspective on efficient DL from edge systems to LLMs.
Institution: Lund University
Language: English
Open Access status: green
OpenAlex ID: W7225436093
Cites: 259
Cited by:
Related to: 10