The invention discloses a
biomolecule relation modeling method based on
semantic consistency hypergraph contrast learning, and aims to model a complex relation between biomolecules by effectively combining a
local structure and global
semantic information. According to the method, firstly, local representation of nodes is enriched by expanding a
message aggregation mechanism guided by a subgraph, and global context information is combined to improve the modeling precision of the biomolecular relationship; secondly, performing
hypergraph reconstruction by adopting a double-layer consistency mechanism, and maintaining the consistency of a
local structure and
semantics at a
node level and a hyperedge level through
semantics and structure constraints; besides, soft clustering is carried out by using a
Gaussian mixture model (GMM) and a
Bayesian information criterion (BIC) strategy, hyperedge selection is further optimized, and
structural consistency in a reconstruction process is ensured. In order to ensure the consistency of local and global
semantics, the method introduces a multi-
granularity comparison target in a comparison learning framework, performs training at node, hyperedge and extended subgraph levels, feeds back high-level
semantic information to low-level
semantic information through a cross-layer feedback mechanism, stabilizes the model and enhances
semantic alignment between representations. Experimental results show that the provided framework is excellent in performance in node classification and clustering tasks on multiple reference data sets, and compared with an existing method, local and global semantic relationships can be better captured and aligned, and the
hypergraph learning effect is remarkably improved.