The invention discloses an efficient graph comparison learning method for social recommendation. As an emerging self-
supervised learning normal form, graph contrast learning is excellent in response to data sparseness and
cold start due to the fact that the graph contrast learning can effectively capture similarity and heterogeneity characteristics in a graph structure, although the learning normal form achieves a good effect in a recommendation
system, the graph contrast learning can be used for solving the problems of data sparseness and
cold start. However, the method still faces three defects: (1) average neighbor aggregation and a non-adaptive representation reading mechanism are adopted in a
message propagation process, and high-quality node representation is difficult to learn; (2) a
visual angle is enhanced by depending on a random disturbance generation graph during intervention of comparative learning, which may destroy the inherent structure of graph data and further weaken the accuracy of the model; and (3) equally treating all observation samples during parameter optimization, and neglecting the difference influence of positive samples in different training stages. Specifically, aiming at the problems, the invention provides an efficient graph contrast learning method (EGCL for short). The method comprises the following steps: firstly, designing a graph adaptive propagation module, improving an
information propagation rule of a graph neural network by referring to a thermonuclear thought and an attention mechanism, and realizing differentiated aggregation of neighbor nodes by adopting a learnable
weight distribution strategy; secondly, designing a double contrast learning normal form which does not need graph enhancement, and realizing mutual promotion of node characterization through intra-domain contrast learning (inter-CL) and inter-domain contrast learning (inter-CL); and finally, introducing a
sample weight adaptive efficient optimization
algorithm, converting the training process into a double-layer
optimization problem, and adaptively adjusting the contribution degree of each sample to model optimization in different stages.