Quantization-Based Method and System for Federated Fine-Tuning a Pre-Trained Large Language Model
AssigneeCity University of Hong Kong
InventorsDapeng WU, Hong HUANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeCity University of Hong Kong
InventorsDapeng WU, Hong HUANG
Estimating the term…
The present invention provides a quantization-based method and system for federated fine-tuning a pre-trained large language model (LLM). The system comprises an accelerator configured to identify outlier channels of the LLM and inject a set of adapters into the LLM; and local devices configured to: construct channel-wise scaling vectors on basis of the indices of the identified outlier channels; apply the channel-wise scaling vectors on input matrices of the LLM to obtain scaled activation matrices; quantize the scaled activation matrices to obtain quantized activation matrices; apply the channel-wise scaling vectors on the outlier weight matrices of the LLM to obtain scaled outlier weight matrices; quantize the scaled outlier weight matrices to obtain quantized outlier weight matrices; fine-tune the adapters of the LLM with the quantized activation matrices and the quantized outlier weight matrices. The server is further configured to perform weight aggregation to produce new adapters for the LLM.
A quantization-based method for federated fine-tuning a pre-trained large language model with a server and one or more devices, comprising:
A quantization-based system for federated fine-tuning a pre-trained large language model, comprises:
Dependencies are inferred from the claim text.