The application discloses a content style protection method and
system based on adaptive
drift detection. The method decouples the style vector into three levels of high-dimensional sub-vectors of vocabulary,
syntax and
semantics through a style decoupling step. A multi-dimensional
drift detection step calculates the cosine drift degree layer by layer, while detecting cross-layer
coupling and
time sequence patterns to capture more complex drift characteristics. An adaptive threshold acquisition step dynamically updates the exclusive threshold of each element according to the sample size and user preference. When a drift is detected, a drift attribution step acquires
tracking data by inserting a monitoring unit at each probe node in the generation link, and uses Shapley marginal contribution value to accurately locate the
root cause node. A directional protection intervention step solves a multi-objective
optimization problem with constraints to perform targeted style correction on the
root cause node. The application effectively prevents the occurrence of style drift problems while maintaining content effectiveness through the organic combination of fine-grained style decoupling, multi-dimensional
drift detection, Shapley value attribution, adaptive threshold and
Pareto optimal intervention.