The invention discloses a mobile application
privacy policy compliance detection method based on a pre-training model, and aims to realize efficient and intelligent
privacy policy compliance automatic detection. The method comprises the following steps: firstly, constructing a hierarchical
privacy policy compliance detection
index system according to domestic related laws and regulations and standards; secondly, collecting an original text of the privacy policy through a
web crawler technology, and constructing an unlabeled corpus after cleaning and structured
processing; thirdly, constructing a multi-
label classification
data set based on a mode of combining a large
language model and manual review; mapping the text and the
label to a unified
semantic vector space by adopting a text-
label joint embedding strategy, and inputting the text and the label into a multi-
granularity classification model; according to the model, on the basis of an ERNIE pre-training model, context feature enhancement and deep semantic interaction are realized through a bidirectional long-short-
term memory network, a self-attention mechanism and a text-label cross attention mechanism, so that the multi-label classification performance is remarkably improved; finally, according to a label prediction result output by the model and a preset
index system, compliance judgment is automatically completed, and a structured detection report is generated. According to the invention, the
automation degree and efficiency of privacy
policy compliance detection are effectively improved.