The present application relates to the field of artificial intelligence and discloses a label-based optimization model training method, an apparatus, a device, and a storage medium, which are used for improving the optimization flexibility of a target optimization model as well as the accuracy of an optimized text. The label-based optimization model training method comprises: obtaining original text data and comparison text data; inputting the original text data into a preconfigured encoder, and obtaining target content hidden layer vector groups; obtaining target label groups according to the target content hidden layer vector groups and a decoder; training an initial optimization model on the basis of the target label groups; obtaining text data to be evaluated according to the original text data and the initial optimization model, and determining whether the text data to be evaluated matches with the comparison text data; if target text data to be evaluated does not match with the comparison text data, performing adjustment on the initial optimization model, and obtaining a target optimization model. Additionally, the present application further relates to blockchain technology, and the text data to be evaluated may be stored in a blockchain.
LABEL-BASED OPTIMIZATION MODEL TRAINING METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM