The invention discloses a large
language model recommendation
system and method based on
time sequence diagram information enhancement, and belongs to the technical field of
artificial intelligence and recommendation systems. According to the method, a two-stage training framework is provided, firstly, in a graph prompt
fine tuning stage, parameters of a pre-training
language model are frozen, a plurality of sequence interaction graphs are constructed based on user-article interaction historical data, a graph neural
network model and
a domain alignment module are trained, and
graph embedding representation aligned with a
semantic space of the
language model is generated; and secondly, in a collaborative
fine tuning stage, fixing parameters of a graph neural network and
a domain alignment module, embedding a graph into an organization, fusing text features to form graph enhancement prompt information, and performing
fine tuning on a language model by adopting a parameter efficient fine tuning technology. And finally, forming the recommendation
system by the finely-adjusted modules. According to the method, the
sequence diagram is embedded into the sequence to be input into the language model, the dynamic evolution of the interest of the user is captured by utilizing a self-attention mechanism, and the accuracy, timeliness, diversity and fairness of recommendation are improved.