A distillation-based static vector model generation method and system

By using a distillation-based static vector model generation method, leveraging the lexical and principal component analysis of the basic model, and combining Zipf's law and smooth inverse frequency weighting algorithm, a lightweight static vector model is generated. This solves the problem of efficient inference on edge devices and mobile devices, enabling high-precision applications in resource-constrained scenarios.

CN122332898APending Publication Date: 2026-07-03JIANGSU MARITIME INST

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
JIANGSU MARITIME INST
Filing Date
2026-04-03
Publication Date
2026-07-03

Smart Images

  • Figure CN122332898A_ABST
    Figure CN122332898A_ABST
Patent Text Reader

Abstract

This invention discloses a static vector model generation method based on distillation, comprising: obtaining all independent lexical units in the basic model's word segmenter; inputting each independent lexical unit individually into the basic model for forward propagation to extract representations and constructing an initial embedding matrix; applying principal component analysis to the initial embedding matrix for dimensionality reduction; and using a smooth inverse frequency weighting algorithm based on Zipf's law, employing vocabulary ranking as a proxy variable to calculate lexical probabilities, and performing weighted optimization on the dimensionality-reduced embedding matrix to generate the target static vector model. This invention eliminates the dependence of traditional model distillation on massive amounts of data and GPUs, simplifies complex Transformer nonlinear inference to an extremely fast table lookup operation through computational collapse, and retains most of the deep semantic understanding capabilities of the original model while reducing model size and increasing CPU inference speed.
Need to check novelty before this filing date? Find Prior Art