PFedQFT: Personalized Federated Quantum-Inspired Fine-Tuning for Medical Large Language Models
Organizations: Institute of Fundamental and Frontier Sciences, University of Electronic Science and Technology of China, Chengdu, Sichuan, China · Key Laboratory of Quantum Physics and Photonic Quantum Information, Ministry of Education, University of Electronic Science and Technology of China, Chengdu, Sichuan, China · Sichuan Provincial Key Laboratory for Human Disease Gene Study and the Center for Medical Genetics, Department of Laboratory Medicine, Sichuan Academy of Medical Sciences and Sichuan Provincial People’s Hospital, University of Electronic Science and Technology of China, Chengdu, Sichuan, China · Sichuan Quantum Science and Technology Institute, Chengdu, Sichuan, China
Abstract
Medical data remain fragmented across institutional silos because of privacy, governance, and ownership constraints. Federated learning enables medical institutions to adapt large language models (LLMs) collaboratively without transferring raw records. However, independently parameterized low-rank adapters incur repeated parameter and communication costs across Transformer projections, while uniform aggregation may limit adaptation to heterogeneous institutional data. We propose PFedQFT, a quantum-inspired framework for personalized federated fine-tuning with a compact shared adapter. Specifically, PFedQFT constructs reusable orthonormal adaptation bases from compact skew-symmetric generators using a truncated matrix-exponential approximation followed by QR orthonormalization. Compatible projections reuse these bases, while a globally shared full core preserves the flexibility of each projection. Each client further maintains a lightweight private residual operator, whose directions are learned globally and whose coefficients remain local. Experiments on seven public medical tasks and multiple LLM backbones show substantial reductions in trainable parameters and per-round adapter upload volume, with competitive predictive performance on most tasks.
Figures & tables
| Non-IID Degree | MedQA-MCMLE | CHIP-CDN | CMeEE-V2 | |||
| FLoRA | PFedQFT | FLoRA | PFedQFT | FLoRA | PFedQFT | |
| Light | 81.83 | 81.49 | 78.32 | 76.52 | 77.79 | 76.74 |
| Moderate | 81.72 | 81.46 | 79.95 | 76.57 | 77.12 | 76.35 |
| Severe | 81.15 | 81.14 | 77.96 | 76.08 | 77.19 | 76.56 |
| Method | #TP (M) | TP (%) | Shared (MB) | Private (MB) | Upload (MB) | Time |
| FLoRA † | 24.3139 | 0.7568 | 97.2554 | – | 97.2554 | 0 h 45 min |
| FedAdam-LoRA | 24.3139 | 0.7568 | 97.2554 | – | 97.2554 | 0 h 37 min |
| FFA-LoRA | 12.3863 | 0.3855 | 49.5452 | – | 49.5452 | 1 h 06 min |
| FedEx-LoRA ‡ | 24.3139 | 0.7568 | 97.2554 | – | 97.2554 | 0 h 52 min |
| PFedQFT | 1.6524 | 0.0514 | 6.5981 | 0.011648 | 6.5981 | 6 h 23 min |
Federated Fine-Tuning
Federated fine-tuning adapts pretrained models across decentralized data holders without pooling their private data.
See all 115 papers