The invention relates to the technical field of model training learning, in particular to a training method of an intention recognition model for understanding user requirements in an intext
software scene, which comprises the following steps of: traversing paths to determine levels and establish variable-dimension
projection mapping, generating semantic orthogonal conflict samples, obtaining variable-dimension features by utilizing matrix transformation, and obtaining an intention recognition model for understanding user requirements in an intext
software scene. And quantizing the brother node overlapping degree to apply orthogonal constraint, updating the weight by minimizing the
positive sample distance and maximizing the conflict
sample distance, and constructing an intext
software intention recognition optimization model. According to the method, a mapping mechanism of a
hierarchical position and a variable-dimension projection matrix is established through
software architecture topology, a semantic orthogonal logic conflict sample is constructed, brother node feature
branch orthogonal constraint is introduced, and feature representation of parallel architecture branches is forcibly separated in a vector space; the logic conflict sample spacing is maximized, semantic overlapping of similar function nodes is eliminated, and a
decision boundary with high distinction degree is constructed to accurately analyze a complex nested instruction.