The invention discloses an online group recommendation method and
system based on a multi-scale contrast learning double-
tower model, and belongs to the technical field of
artificial intelligence, and the method comprises the steps that firstly, the
system obtains and preprocesses related information of online group recommendation, generating a group sequence of the user, initial representation of the user, initial representation of the event and a neighbor set of the user and the event; a left
tower of the model is composed of a sequence coding network, comprises a group embedding coding layer, a sequence initial coding layer and a similar user coding layer, and aims to extract sequence representation of a
user group; the right
tower is composed of a group coding network, comprises an opinion fusion layer and a
feature aggregation layer, and is used for generating final representation of the group; the comparison
learning network comprises a group-group comparison layer, a sequence-
sequence comparison layer and a sequence-group comparison layer, and corresponding comparison loss functions are constructed; by optimizing a
loss function, a multi-scale contrast learning double-tower optimization model is obtained through training, and finally an accurate personalized group recommendation result is achieved.