Optimizing large language models with domain-oriented model compression
AssigneeNEC Laboratories America, Inc.
InventorsYanchi Liu, Wei Cheng, Xujiang Zhao, Runxue Bao, Haifeng Chen, Nan Zhang
Life of this patent
Estimating the term…
Loading patent…
AssigneeNEC Laboratories America, Inc.
InventorsYanchi Liu, Wei Cheng, Xujiang Zhao, Runxue Bao, Haifeng Chen, Nan Zhang
Estimating the term…
Systems and methods for optimizing large language models (LLM) with domain-oriented model compression. Importance weights for general knowledge in a trained LLM, pretrained with deep learning, can be determined by computing the error when removing a weight from the trained LLM. The trained LLM can be iteratively optimized to obtain a domain-compressed LLM with domain knowledge while maintaining general knowledge by: fine-tuning the trained LLM iteratively with domain knowledge using the importance weights for general knowledge to obtain a fine-tuned LLM; determining importance weights for domain knowledge in the LLM with a regularization term by using gradient descent to optimize parameters when the fine-tuned LLM is trained with domain knowledge; and pruning learned knowledge based on importance weights for domain knowledge. A corrective action can be performed on a monitored entity using the domain-compressed LLM.
A computer-implemented method for optimizing large language models (LLM) with domain-oriented model compression, comprising:
A system for optimizing large language models (LLM) with domain-oriented model compression, comprising:
A non-transitory computer program product comprising a computer-readable storage medium including program code for optimizing large language models (LLM) with domain-oriented model compression, wherein the program code when executed on a computer causes the computer to:
Dependencies are inferred from the claim text.