The invention belongs to the technical field of
data processing and generation, and particularly relates to a federal cross-domain retrieval entity recommendation method and
system for mineral resource retrieval, and the method comprises two stages of federal cross-domain
semantic learning and behavior prediction based on a large
language model. The method comprises the following steps: firstly, locally extracting semantic features of texts of knowledge entities from each
data domain, encrypting the semantic features and uploading the encrypted semantic features to a
server, and mining a cross-domain public semantic structure by the
server through clustering to generate a shared
semantic vector and issuing the shared
semantic vector; and obtaining the user and entity representation of the ID
modal based on the user-entity interaction sequence, and embedding and fusing the issued shared
semantic vector and the ID
modal entity through knowledge
distillation to obtain an enhanced local representation. And projecting the user and enhanced entity representation into a soft prompt which can be understood by a large
language model through a mapping network, forming a mixed prompt in combination with a task instruction, inputting the mixed prompt into the large
language model for reasoning, and recommending a next possible retrieval entity to the user. And on the premise of protecting
user privacy, knowledge migration and fusion among non-overlapping fields are realized.