The invention relates to the technical field of electrical
digital data processing, in particular to an intelligent contract
vulnerability detection method based on multi-
modal selection
state space fusion, and aims to solve the technical problem of low
vulnerability detection accuracy in the prior art. The method comprises the following steps: firstly, fusing global and local features of a contract graph to obtain graph
modal embedding features; performing feature alignment on the text context information of the intermediate representation text and the
byte code text to obtain text
modal embedding features; extracting spatial
layout features from the
color image and the
grayscale image, and splicing the spatial
layout features to obtain visual modal embedding features; thirdly, performing multiple rounds of feature
cross processing on the graph modal embedding features, the text modal embedding features and the visual modal embedding features based on a selection
state space to realize intra-modal and inter-modal information interaction, and then performing fusion to obtain multi-modal fusion features; and finally, performing feature normalization and regularization
processing on the multi-modal fusion features, and performing classification
processing to obtain a
vulnerability detection result.