ShadowPEFT: Shadow Network for Parameter-Efficient Fine-Tuning

· Source: cs.CL updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Robotics & Autonomous Systems, Cloud Computing & IT Infrastructure · Depth: Expert, extended

Summary

ShadowPEFT is a novel Parameter-Efficient Fine-Tuning (PEFT) framework designed for large language models (LLMs) that centralizes adaptation through a depth-shared shadow module, contrasting with existing methods like LoRA that use distributed low-rank perturbations. This framework maintains a parallel shadow state at each transformer layer, which evolves to provide progressively richer hidden states and additive corrections to the backbone activations. Decoupled from the backbone, the shadow module can be reused across depth, independently pretrained, and deployed in a detached mode, benefiting edge computing. Experiments on Qwen3 models (0.6B, 4B, 8B parameters) across generation and understanding benchmarks (MMLU, GSM8K, SQuAD v2, Amazon review sentiment, 20 Newsgroup) demonstrate that ShadowPEFT matches or outperforms LoRA and DoRA, often with slightly fewer trainable parameters. It also shows superior out-of-distribution generalization and minimal inference latency overhead.

Key takeaway

For NLP Engineers and Research Scientists developing or deploying LLMs, ShadowPEFT offers a compelling alternative to traditional LoRA-style methods. Its centralized, detachable shadow module not only achieves competitive or superior performance with fewer parameters but also enables flexible deployment scenarios, such as lightweight edge inference. You should consider integrating ShadowPEFT to improve generalization, reduce latency in specific use cases, and facilitate modular adaptation of LLMs, especially for applications requiring robust performance across diverse tasks and deployment environments.

Key insights

ShadowPEFT centralizes LLM adaptation via a shared, stateful shadow network, offering modularity and competitive performance.

Principles

Method

ShadowPEFT maintains an evolving parallel shadow state that refines backbone hidden states via a low-rank bottleneck injection module and updates its state using a gated residual network, all while the base model remains frozen.

In practice

Topics

Code references

Best for: NLP Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.