Scientific and technological literature recommendation method, device, electronic device and storage medium

By constructing a heterogeneous graph and target heterogeneous graph learning model, and extracting author and document embedding vectors, the problem of low accuracy of scientific document recommendation in the existing technology is solved, and more accurate and personalized document recommendation is achieved.

CN118013023BActive Publication Date: 2024-10-01INST OF SCI & TECHN INFORMATION OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410188813.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-20
Publication Date
2024-10-01
Estimated Expiration
2044-02-20

AI Technical Summary

Technical Problem

Existing scientific literature recommendation methods have low accuracy, especially cannot effectively recommend new literature and junior scholars, and cannot fully consider content relevance and user relevance.

Method used

By obtaining the text content of multiple scientific and technological documents, extracting multiple types of data, constructing a heterogeneous graph, and inputting it into the target heterogeneous graph learning model, the author embedding vector and document embedding vector are obtained, and similarity calculations are performed based on these vectors to achieve individuality Recommended literature.

Benefits of technology

It improves the accuracy and personalization of scientific literature recommendations, can better mine the deep knowledge connections between documents and authors, and enhances the reliability and richness of recommendations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118013023B_ABST
    Figure CN118013023B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, electronic device and storage medium for recommending scientific and technological documents, belonging to the field of artificial intelligence technology, the method comprising: obtaining the text content of multiple scientific and technological documents, and extracting information based on the text content of each scientific and technological document to obtain multi-type data; constructing a heterogeneous graph based on the multi-type data; inputting the heterogeneous graph into a target heterogeneous graph learning model to obtain multiple author embedding vectors and multiple first document embedding vectors output by the target heterogeneous graph learning model; recommending scientific and technological documents based on each author embedding vector and each first document embedding vector to obtain scientific and technological document recommendation results corresponding to the authors of each scientific and technological document. The scientific and technological document recommendation method provided by the present invention combines research direction data with traditional metadata into a heterogeneous graph with refined data, thereby realizing the use of more refined description data as a hub to mine the deep knowledge association between documents and authors, thereby improving the accuracy of scientific and technological document recommendation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a scientific and technological literature recommendation method, device, electronic device and storage medium. Background Art

[0002] Knowledge in the field of science and technology is constantly being updated and developed, and scientific and technological literature is one of the most direct sources of information. Through scientific and technological literature recommendations, we can learn about the latest research results, new discoveries, technological developments and other important information. Therefore, scientific and technological literature recommendations provide scholars with extensive and reliable information resources, helping them to carry out their work in scientific research more systematically and effectively.

[0003] Existing scientific literature recommendation methods use content filtering algorithms and network structure graph-based recommendation algorithms. However, content filtering algorithms only detect the similarity between items with the same attributes or features, and cannot effectively recommend new documents that lack content features such as keywords or junior scholars who do not have much research experience, that is, they will face the cold start problem of recommendation; network structure graph-based recommendation algorithms can mine deep relationships between entities, but cannot take content relevance and user relevance into account to a large extent. Therefore, existing scientific literature recommendation methods will result in low accuracy in scientific literature recommendation. Summary of the invention

[0004] The present invention provides a scientific and technological literature recommendation method, device, electronic device and storage medium, which are used to solve the problem of low accuracy of scientific and technological literature recommendation in the prior art.

[0005] In a first aspect, the present invention provides a method for recommending scientific and technological literature, comprising:

[0006] Acquire the text contents of multiple scientific and technological documents, and extract information based on the text contents of each scientific and technological document to obtain multi-type data; the multi-type data includes document metadata and document research direction data; the document metadata includes at least author data and document data;

[0007] Build heterogeneous graphs based on multi-type data;

[0008] Inputting the heterogeneous graph into a target heterogeneous graph learning model to obtain a plurality of author embedding vectors and a plurality of first document embedding vectors output by the target heterogeneous graph learning model; the target heterogeneous graph learning model is trained based on multi-type sample data extracted from the text content of a plurality of sample documents;

[0009] Scientific and technological literature recommendation is performed based on the embedding vectors of each author and each first document, and the scientific and technological literature recommendation results corresponding to the authors of each scientific and technological literature are obtained.

[0010] In one embodiment, the scientific literature recommendation based on the embedding vectors of each author and each first document to obtain the scientific literature recommendation results corresponding to the authors of each scientific literature includes:

[0011] Extracting text information features from the text content of each scientific document to obtain multiple second document embedding vectors;

[0012] Based on the fusion of each first document embedding vector and each second document embedding vector, a plurality of target document embedding vectors are obtained;

[0013] Based on the similarity calculation of each target document embedding vector and each author embedding vector, the scientific document recommendation results corresponding to the authors of each scientific document are obtained.

[0014] In one embodiment, when multiple target document embedding vectors are obtained by fusing the first document embedding vectors and the second document embedding vectors, the following steps are performed for the first document embedding vector and the second document embedding vector corresponding to each scientific document:

[0015] Determine a first document weight value of a current first document embedding vector and a second document weight value of a current second document embedding vector;

[0016] Calculate the product of the current first document embedding vector and the first document weight value to obtain a first weighted document vector;

[0017] Calculate the product of the current second document embedding vector and the second document weight value to obtain a second weighted document vector;

[0018] The first weighted document vector and the second weighted document vector are summed to obtain a target document embedding vector corresponding to the current scientific document.

[0019] In one embodiment, when similarity calculation is performed based on each target document embedding vector and each author embedding vector to obtain the scientific document recommendation results corresponding to the authors of each scientific document, the following steps are performed for the author embedding vector corresponding to each scientific document:

[0020] Calculate the cosine similarity of the current author embedding vector and each target document embedding vector to obtain multiple similarity values;

[0021] Sort each similar value in descending order to obtain the sorting result;

[0022] Starting from the first similarity value in the sorting result, extracting a first preset number of similarity values ​​in order;

[0023] According to a first preset number of similarity values, a scientific and technological document recommendation table corresponding to the author of the current scientific and technological document is generated.

[0024] In one embodiment, the target heterogeneous graph learning model is obtained by the following steps:

[0025] Obtain the text content of multiple sample documents, and extract information based on the text content of each sample document to obtain multiple types of sample data;

[0026] Based on multi-type sample data, a sample heterogeneity graph is constructed;

[0027] Obtaining the domain category label of each document node in the sample heterogeneous graph;

[0028] Performing feature conversion on each node data in the sample heterogeneous graph to obtain initial features of each node data;

[0029] Based on the meta-path view and each initial feature, determining a first document vector sample corresponding to each document node in the sample heterogeneous graph and a first author vector sample corresponding to each author node;

[0030] Based on the network model view and the initial features, determining a second document vector sample corresponding to each document node in the sample heterogeneous graph and a second author vector sample corresponding to each author node;

[0031] Perform weighted sum calculation based on the preset contrast loss function and the preset classification loss function to obtain the first objective function of each document node;

[0032] Determine the preset contrast loss function as the second objective function of each author node;

[0033] Based on the first document vector sample, the second document vector sample, the first objective function, and the domain category label corresponding to each document node, and the first author vector sample, the second author vector sample, and the second objective function corresponding to each author node, the initial heterogeneous graph learning model is trained to obtain the target heterogeneous graph learning model.

[0034] In one embodiment, when determining the first document vector sample corresponding to each document node in the sample heterogeneous graph based on the meta-path view and each initial feature, the following steps are performed for each document node in the sample heterogeneous graph:

[0035] Constructing a second preset number of meta-paths for the current document node;

[0036] Aggregate the initial features corresponding to all nodes on each meta-path respectively to obtain the path aggregation features of each meta-path;

[0037] Determine the path weight of each meta-path;

[0038] Based on the path aggregation features and path weights of each meta-path, embedding calculation is performed to obtain the first document vector sample of the current document node.

[0039] In one embodiment, when determining the second document vector sample corresponding to each document node in the sample heterogeneous graph based on the network model view and each initial feature, the following steps are performed for each document node in the sample heterogeneous graph:

[0040] Determine multiple neighbor nodes of the current document node;

[0041] Divide each neighbor node into multiple types of neighbor node combinations;

[0042] Determine the attention value of each neighbor node in each neighbor node combination to the current document node;

[0043] Based on the attention value of each neighbor node in each neighbor node combination to the current document node, the initial features corresponding to all neighbor nodes in each neighbor node combination are aggregated to obtain the neighbor aggregation features of each neighbor node combination;

[0044] Determine the type weight of each neighbor node combination to the current document node;

[0045] Based on the neighbor aggregation features and type weights of each neighbor node combination, an embedding calculation is performed to obtain a second document vector sample of the current document node.

[0046] In a second aspect, the present invention further provides a scientific literature recommendation device, comprising:

[0047] An information extraction module is used to obtain the text content of multiple scientific and technological documents, and extract information based on the text content of each scientific and technological document to obtain multi-type data; the multi-type data includes document metadata and document research direction data; the document metadata includes at least author data and document data;

[0048] A building module for building heterogeneous graphs based on multi-type data;

[0049] A heterogeneous graph learning module, used for inputting the heterogeneous graph into a target heterogeneous graph learning model to obtain a plurality of author embedding vectors and a plurality of first document embedding vectors output by the target heterogeneous graph learning model; the target heterogeneous graph learning model is trained based on multi-type sample data extracted from the text content of a plurality of sample documents;

[0050] The recommendation module is used to recommend scientific and technological documents based on the embedding vectors of each author and each first document, and obtain the scientific and technological document recommendation results corresponding to the authors of each scientific and technological document.

[0051] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned scientific and technological literature recommendation methods are implemented.

[0052] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-described scientific literature recommendation methods.

[0053] The scientific and technological literature recommendation method, device, electronic device and storage medium provided by the present invention combine more detailed research direction data of the literature with traditional metadata to jointly construct a heterogeneous graph with refined data, input the heterogeneous graph into a target heterogeneous graph learning model, and obtain multiple author embedding vectors and multiple first document embedding vectors output by the target heterogeneous graph learning model, so as to use more refined descriptive data as a hub to mine the deep knowledge relationship between the literature and the author, realize a more author-personalized literature recommendation method, and thus improve the accuracy of scientific and technological literature recommendation. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0055] Figure 1 It is a schematic flow chart of the scientific literature recommendation method provided by the present invention;

[0056] Figure 2 It is a structural schematic diagram of the scientific literature recommendation device provided by the present invention;

[0057] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0059] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein.

[0060] Combine the following Figure 1-Figure 3 The invention describes the scientific literature recommendation method, device, electronic device and storage medium provided by the invention.

[0061] Figure 1 It is a schematic diagram of the flow of the scientific literature recommendation method provided by the present invention.

[0062] like Figure 1 As shown, the scientific literature recommendation method provided by the present invention includes but is not limited to the following steps:

[0063] Step 100: obtaining text contents of multiple scientific and technological documents, and extracting information based on the text contents of each scientific and technological document to obtain multiple types of data;

[0064] Step 200: construct a heterogeneous graph based on multi-type data;

[0065] Step 300: inputting the heterogeneous graph into a target heterogeneous graph learning model to obtain a plurality of author embedding vectors and a plurality of first document embedding vectors output by the target heterogeneous graph learning model;

[0066] Step 400: Recommend scientific documents based on the embedding vectors of each author and each first document, and obtain scientific document recommendation results corresponding to the authors of each scientific document.

[0067] It should be noted that the scientific literature recommendation method provided in the embodiment of the present invention is implemented based on the scientific literature recommendation device. The scientific literature recommendation method uses the modeling tool of heterogeneous graph to combine more refined description data of the document with traditional metadata to jointly construct a heterogeneous graph structure with refined data. At the same time, combined with the idea of ​​content filtering, the text information and the graph structure information are integrated to achieve feature representation of the document entity, and further complete the scientific literature recommendation for the author of the document. Therefore, the embodiment of the present invention takes the scientific literature recommendation device as the execution subject as an example to describe the scientific literature recommendation method.

[0068] Specifically, the scientific and technological literature recommendation device obtains the text content of multiple scientific and technological literatures.

[0069] It should be noted that scientific and technological literature refers to books, journal articles, conference papers, reports and other documentary materials about the process, results and theoretical analysis of scientific research and technological development in the field of scientific and technological literature. Typical scientific and technological literature resources include the integrated database system of English computer literature (DataBase systems and Logic Programming, DBLP) and the Association for Computing Machinery (ACM). In order to better assist in recommendation, scientific and technological literature also needs to have corresponding field categories. For example, the scientific and technological literature of the DBLP dataset is divided into four categories representing the fields: database, data mining, machine learning, and information retrieval. The scientific and technological literature of the ACM dataset is divided into three categories representing the fields: database, wireless communication, and data mining.

[0070] Furthermore, the scientific and technological literature recommendation device extracts information based on the text content of each acquired scientific and technological literature to obtain multi-type data, wherein the multi-type data includes literature metadata and literature research direction data, the literature metadata at least includes traditional entities such as literature data, conference data, journal data, institutional data, author data, title data, abstract data, keyword data, etc., the literature research direction data at least includes fine-grained labels such as research questions, method models, instruments and equipment, measurement indicators, data materials, theoretical principles, etc., that is, the literature metadata mainly describes the attributes and characteristics of scientific and technological literature, and the literature research direction data mainly describes the research direction content and related data involved in the literature.

[0071] It should be noted that due to the different nature and distribution characteristics of document metadata and document research direction data, the extraction methods of document metadata and document research direction data are different. Document metadata usually relies on pattern matching and rule-based methods to match directly from text content, while research direction data relies more on text mining and deep learning technology to be extracted from title data and abstract data.

[0072] Furthermore, the scientific literature recommendation device normalizes the multi-type data to obtain normalized data, and constructs a heterogeneous graph based on the normalized data, wherein each node in the heterogeneous graph represents the multi-type data, and each node data in the heterogeneous graph represents the normalized substantial content of the multi-type data. It should be noted that the multi-type data represents the existence of multiple types of data, but each type of data also has multiple data of the same type. Therefore, the multi-type data described in the embodiment of the present invention includes data of the same type and data of different types. Correspondingly, all nodes in the heterogeneous graph also include nodes of the same type and nodes of different types.

[0073] It should be noted that a heterogeneous graph is a complex graph structure that contains multiple types of nodes and edges to simulate the complex relationships between each node. The construction of a heterogeneous graph often requires the integration of data from different sources. Different data sources may use different naming rules and standards. Normalization can unify data from these different sources under a common standard, making data integration smoother and avoiding data conflicts and information loss caused by inconsistent data. Therefore, normalizing multi-type data can make the nodes and node data in the heterogeneous graph unique and understandable.

[0074] Furthermore, the scientific and technological literature recommendation device inputs the heterogeneous graph into a target heterogeneous graph learning model to obtain multiple author embedding vectors and multiple first document embedding vectors output by the target heterogeneous graph learning model, wherein the target heterogeneous graph learning model is trained based on multi-type sample data extracted from the text content of multiple sample documents.

[0075] Furthermore, the scientific and technological document recommendation device extracts text information features from the text content of each scientific and technological document to obtain a plurality of second document embedding vectors.

[0076] Furthermore, the scientific literature recommendation device recommends scientific literature based on the embedding vectors of each author, the embedding vectors of each first document and the embedding vectors of each second document, and obtains scientific literature recommendation results corresponding to the authors of each scientific literature.

[0077] The scientific and technological literature recommendation method provided by the present invention combines more detailed research direction data of the literature with traditional metadata to jointly construct a heterogeneous graph with refined data, and inputs the heterogeneous graph into a target heterogeneous graph learning model to obtain multiple author embedding vectors and multiple first document embedding vectors output by the target heterogeneous graph learning model, so as to use more refined descriptive data as a hub to mine the deep knowledge relationship between the literature and the author, and realize a more author-personalized literature recommendation method, thereby improving the accuracy of scientific and technological literature recommendation.

[0078] Further, based on step 400, the scientific literature recommendation is performed based on the embedding vectors of each author and each first document, and the scientific literature recommendation results corresponding to the authors of each scientific literature are obtained, including:

[0079] Extracting text information features from the text content of each scientific document to obtain multiple second document embedding vectors;

[0080] Based on the fusion of each first document embedding vector and each second document embedding vector, a plurality of target document embedding vectors are obtained;

[0081] Based on the similarity calculation of each target document embedding vector and each author embedding vector, the scientific document recommendation results corresponding to the authors of each scientific document are obtained.

[0082] Specifically, the scientific and technological document recommendation device extracts text information features from the text content of each scientific and technological document to obtain a plurality of second document embedding vectors.

[0083] It should be noted that the purpose of extracting the features of the text content of scientific and technological literature is to supplement the missing semantic information in the heterogeneous graph structure. When the document embedding vector is subsequently fused, the missing semantic information in the heterogeneous graph structure can be supplemented.

[0084] It should be further explained that, to extract text information features from the text content of scientific and technological documents, the pre-trained language model Scibert can be fine-tuned by using the comparative learning method of document titles and keywords, and the model can be further used to vectorize text information such as document titles and abstracts. The training method and application method of the model are common methods of extracting text information features, which will not be elaborated here.

[0085] Furthermore, the scientific and technological document recommendation device obtains a plurality of target document embedding vectors by fusing the first document embedding vectors and the second document embedding vectors.

[0086] Furthermore, the scientific literature recommendation device performs similarity calculation based on the embedding vector of each target document and the embedding vector of each author to obtain the scientific literature recommendation results corresponding to the authors of each scientific literature.

[0087] The embodiment of the present invention fuses the first document embedding vector output by the target heterogeneous graph learning model and the second document embedding vector extracted from the text information feature to obtain the target document embedding vector, and further performs similarity calculation based on the target document embedding vector and the author embedding vector to obtain the scientific and technological document recommendation result corresponding to the author of the scientific and technological document, so as to use more refined descriptive data as the hub to mine the deep knowledge relationship between the document and the author, realize a more author-personalized document recommendation method, and thus improve the accuracy of scientific and technological document recommendation.

[0088] Furthermore, when a plurality of target document embedding vectors are obtained by fusing the first document embedding vectors and the second document embedding vectors, the following steps are performed for the first document embedding vector and the second document embedding vector corresponding to each scientific document:

[0089] Determine a first document weight value of a current first document embedding vector and a second document weight value of a current second document embedding vector;

[0090] Calculate the product of the current first document embedding vector and the first document weight value to obtain a first weighted document vector;

[0091] Calculate the product of the current second document embedding vector and the second document weight value to obtain a second weighted document vector;

[0092] The first weighted document vector and the second weighted document vector are summed to obtain a target document embedding vector corresponding to the current scientific document.

[0093] Specifically, the scientific and technological literature recommendation device determines the first document weight value of the current first document embedding vector and the second document weight value of the current second document embedding vector, wherein the first document weight value and the second document weight value are set according to actual conditions, and the first document weight value and the second document weight value may be the same.

[0094] Furthermore, the scientific and technological document recommendation device calculates the product of the current first document embedding vector and the first document weight value to obtain a first weighted document vector.

[0095] Furthermore, the scientific and technological document recommendation device calculates the product of the current second document embedding vector and the second document weight value to obtain a second weighted document vector.

[0096] Furthermore, the scientific and technological document recommendation device calculates the sum of the first weighted document vector and the second weighted document vector to obtain a target document embedding vector corresponding to the current scientific and technological document.

[0097] It should be noted that the first document weight values ​​of each first document embedding vector are the same, and the second document weight values ​​of each second document embedding vector are the same.

[0098] The embodiment of the present invention weights the first document embedding vector by the first document weight value, and weights the second document embedding vector by the second document weight value, and further sums the weighted vectors to obtain the target document embedding vector, thereby realizing the fusion of the first document embedding vector and the second document embedding vector. This can supplement the semantic missing information in the heterogeneous graph structure, improve the richness and accuracy of the semantic representation, and help reveal the deep semantic connection and knowledge structure between the documents, thereby improving the accuracy and reliability of subsequent scientific and technological literature recommendations. In addition, the combination of text-based content filtering and graph-based representation learning methods is used for scientific and technological literature recommendation, which solves the problems of single recommendation results and cold start.

[0099] Furthermore, when similarity calculation is performed based on the embedding vectors of each target document and the embedding vectors of each author to obtain the scientific document recommendation results corresponding to the authors of each scientific document, the following steps are performed for the author embedding vector corresponding to each scientific document:

[0100] Calculate the cosine similarity of the current author embedding vector and each target document embedding vector to obtain multiple similarity values;

[0101] Sort each similar value in descending order to obtain the sorting result;

[0102] Starting from the first similarity value in the sorting result, extracting a first preset number of similarity values ​​in order;

[0103] According to a first preset number of similarity values, a scientific and technological document recommendation table corresponding to the author of the current scientific and technological document is generated.

[0104] Specifically, the scientific literature recommendation device calculates the cosine similarity of the current author embedding vector and the embedding vector of each target document respectively to obtain multiple similarity values.

[0105] Furthermore, the scientific literature recommendation device sorts each similarity value in descending order to obtain a sorting result.

[0106] Furthermore, the scientific literature recommendation device starts from the first similarity value in the sorting result and extracts a first preset number of similarity values ​​in sequence, wherein the first preset number of similarity values, that is, the first N similarity values ​​extracted from the sorting result, is set according to actual conditions.

[0107] Furthermore, the scientific and technological document recommendation device generates a scientific and technological document recommendation table corresponding to the author of the current scientific and technological document according to a first preset number of similarity values.

[0108] The embodiment of the present invention calculates the similarity between each author embedding vector and each target document embedding vector to obtain multiple similarity values, further sorts the similarity values ​​in descending order to obtain a sorting result, extracts a first preset number of similarity values ​​from the sorting result, and generates a scientific and technological literature recommendation table corresponding to each author based on the first preset number of similarity values, so as to use more refined descriptive data as a hub to mine the deep knowledge relationship between the document and the author, realize a more author-personalized document recommendation method, and thus improve the accuracy of scientific and technological literature recommendation.

[0109] Furthermore, the target heterogeneous graph learning model is obtained through the following steps:

[0110] Obtain the text content of multiple sample documents, and extract information based on the text content of each sample document to obtain multiple types of sample data;

[0111] Based on multi-type sample data, a sample heterogeneity graph is constructed;

[0112] Obtaining the domain category label of each document node in the sample heterogeneous graph;

[0113] Performing feature conversion on each node data in the sample heterogeneous graph to obtain initial features of each node data;

[0114] Based on the meta-path view and each initial feature, determining a first document vector sample corresponding to each document node in the sample heterogeneous graph and a first author vector sample corresponding to each author node;

[0115] Based on the network model view and the initial features, determining a second document vector sample corresponding to each document node in the sample heterogeneous graph and a second author vector sample corresponding to each author node;

[0116] Perform weighted sum calculation based on the preset contrast loss function and the preset classification loss function to obtain the first objective function of each document node;

[0117] Determine the preset contrast loss function as the second objective function of each author node;

[0118] Based on the first document vector sample, the second document vector sample, the first objective function, and the domain category label corresponding to each document node, and the first author vector sample, the second author vector sample, and the second objective function corresponding to each author node, the initial heterogeneous graph learning model is trained to obtain the target heterogeneous graph learning model.

[0119] Specifically, the scientific and technological literature recommendation device obtains the text content of multiple sample documents, and extracts information based on the text content of each sample document to obtain multi-type sample data, wherein the multi-type sample data includes document metadata samples and document research direction data samples, and the document metadata samples include at least author sample data and document sample data.

[0120] Furthermore, the scientific literature recommendation device constructs a sample heterogeneity graph based on multi-type sample data.

[0121] Furthermore, the scientific literature recommendation device obtains the field category label of each literature node in the sample heterogeneous graph.

[0122] Furthermore, the scientific literature recommendation device performs feature conversion on each node data in the sample heterogeneous graph to obtain the initial features of each node data.

[0123] In one embodiment, the formula for the initial features of each node data is as follows:

[0124]

[0125] Among them, i represents node i; φ i Represents the type of node i; σ() represents the activation function; A mapping matrix representing the type to which node i belongs. That is, a mapping matrix is ​​preset for each specific type. The mapping matrix can be determined based on the optimization preset criteria such as minimizing the projection error and maximizing the difference between classes. The bias term that represents the type of node i; h i ∈R d×1 Characterize the initial features of node i (which can be considered as projection features).

[0126] Furthermore, the scientific literature recommendation device determines the first document vector sample corresponding to each document node in the sample heterogeneous graph and the first author vector sample corresponding to each author node based on the meta-path view and each initial feature.

[0127] Furthermore, the scientific literature recommendation device determines the second document vector sample corresponding to each document node in the sample heterogeneous graph and the second author vector sample corresponding to each author node based on the network model view and each initial feature.

[0128] It should be noted that during the model training process, the first document vector sample determined based on the meta-path view and the second document vector sample determined based on the network mode view will be pre-set with a preset contrast loss function to perform comparative learning on the document vectors generated by different views. Similarly, the first author vector sample determined based on the meta-path view and the second author vector sample determined based on the network mode view will be pre-set with a preset contrast loss function to perform comparative learning on the author vectors generated by different views.

[0129] Furthermore, the scientific literature recommendation device performs weighted summation calculation based on the preset contrast loss function and the preset classification loss function to obtain the first objective function of each literature node, wherein the preset contrast loss function and the preset classification loss function are both set according to the actual situation, and the weight value of the preset contrast loss function and the weight value of the preset classification loss function are also set according to the actual situation. Moreover, the objective function of each literature node for optimizing the model prediction performance is a first objective function that integrates the preset contrast loss function and the preset classification loss function. By superimposing the two parts of the loss, the vector expression is more suitable for the node classification task.

[0130] Furthermore, the scientific literature recommendation device determines the preset contrast loss function as the second objective function of each author node. It should be noted that the objective function used by each author node to optimize the model prediction performance is the preset contrast loss function, that is, the second objective function. Since the author nodes are not classified, there is no need to superimpose the classification loss part.

[0131] Furthermore, the scientific and technological literature recommendation device trains the initial heterogeneous graph learning model based on the first document vector sample, the second document vector sample, the first objective function, and the domain category label corresponding to each document node, and the first author vector sample, the second author vector sample, and the second objective function corresponding to each author node to obtain a target heterogeneous graph learning model.

[0132] It should be noted that since the first objective function of the document node is different from the second objective function of the author node, the training process for the vector samples of the document node and the vector samples of the author node is different. Therefore, it can be considered that there are two sub-models in the initial heterogeneous graph learning model, which are trained corresponding to the vector samples of the document node and the vector samples of the author node respectively. Since the vector samples of the document node and the vector samples of the author node are trained in the large model as the initial heterogeneous graph learning model, the author embedding vector and the document embedding vector output by the target heterogeneous graph learning model after training have the same dimension in the actual application process, so as to facilitate the subsequent similarity calculation.

[0133] It should be further explained that the vectors generated by the two views are learned by comparison, with the goal of making the vector representation based on the network pattern view and the vector representation based on the meta-path view consistent on the same document node or the same author node, and making the same type of document nodes or the same type of author nodes more similar in vector representation. Therefore, in actual application, the vectors generated by the two views have similar effects. Since the network pattern view is more common, the author embedding vector and document embedding vector output by the target heterogeneous graph learning model are both determined based on the network pattern view.

[0134] The embodiment of the present invention constructs a sample heterogeneous graph based on the text content of multiple sample documents, performs feature conversion on each node data in the sample heterogeneous graph, obtains the initial features of each node data, further generates a first document vector sample and a first author vector sample through a network mode view, and generates a second document vector sample and a second author vector sample through a meta-path view, further determines a first objective function of the document node and a second objective function of the author node, further trains the initial heterogeneous graph learning model based on multiple vector samples and corresponding objective functions to obtain a target heterogeneous graph learning model, and uses the above data to train the target heterogeneous graph learning model, while ensuring that the document vector or the author vector tends to be consistent on the same type of nodes, it shows better similarity on different types of nodes, thereby realizing embedded representation learning of document nodes and author nodes in the heterogeneous graph, thereby improving the generalization performance of the model.

[0135] Further, when determining the first document vector sample corresponding to each document node in the sample heterogeneous graph based on the meta-path view and each initial feature, the following steps are performed for each document node in the sample heterogeneous graph:

[0136] Constructing a second preset number of meta-paths for the current document node;

[0137] Aggregate the initial features corresponding to all nodes on each meta-path respectively to obtain the path aggregation features of each meta-path;

[0138] Determine the path weight of each meta-path;

[0139] Based on the path aggregation features and path weights of each meta-path, embedding calculation is performed to obtain the first document vector sample of the current document node.

[0140] It should be noted that the meta-path refers to a specific path under the network pattern TG = (A, R), which can be recorded as A1→A2→...→Al+1. The meta-path defines a composite path from entity A to A, where R represents the combination operation of the relationship. The meta-path captures the high-order relationship of nodes in the heterogeneous graph, and different meta-paths describe semantic relationships from different angles. For example, in an academic heterogeneous graph, the meta-path "author-paper-author" indicates that the authors have co-authored a paper, that is, a co-author relationship, and "author-paper-conference-paper-author" indicates that the authors have published papers at the same conference, that is, a co-conference relationship. Both can be used to represent the relationship between authors, but they represent different semantic features. The former emphasizes authors who have written a large number of papers with multiple authors, while the latter emphasizes authors who have published many papers at well-known conferences.

[0141] It should be further explained that when analyzing with the meta-path view, the embedding representation process for the document node is consistent with the embedding representation process for the author node. Therefore, the following only describes the embedding representation process for the document node, and does not elaborate on the embedding representation process for the author node.

[0142] Specifically, the scientific and technological literature recommendation device constructs a second preset number of meta-paths for the current literature node, wherein the second preset number is set according to actual conditions.

[0143] Furthermore, the scientific literature recommendation device aggregates the initial features corresponding to all nodes on each meta-path respectively to obtain the path aggregation features of each meta-path.

[0144] In one embodiment, the formula for the path aggregation feature of each meta-path is as follows:

[0145]

[0146] Where i represents document node i; φn Characterize metapaths; Characterization metapath φ n All nodes on the n Node j on h i Characterizes the initial features of document node i; h j Characterize the initial features of node j; d i Characterizes the degree of document node i; d j Characterizes the degree of node j; Represents the meta-path corresponding to document node i n Path aggregation features.

[0147] Further, the scientific and technological literature recommendation device determines the path weight of each meta-path. Further, the scientific and technological literature recommendation device performs embedding calculation based on the path aggregation characteristics and path weight of each meta-path to obtain a first document vector sample of the current document node.

[0148] In one embodiment, the formula for the path weight of each meta-path is as follows:

[0149]

[0150] Among them, n represents n element paths; φ n Characterize metapaths; A weight matrix representing the meta-path; Characterizes the path weight of the meta-path.

[0151] Furthermore, the formula of the weight matrix of the meta-path is as follows:

[0152]

[0153] Among them, V represents the set of document nodes; Path aggregation features that characterize meta-paths; W mp ∈R d×d Characterize learnable parameters; b mp ∈R d×1 Represents learnable parameters; a mp Representing semantic-level attention vectors, which can be obtained dynamically by calculating and weighting the input information; A weight matrix representing a meta-path.

[0154] Furthermore, the formula for the first document vector sample of a document node is as follows:

[0155]

[0156] Among them, i represents document node i; n represents n meta-paths; Path aggregation features that characterize meta-paths; Characterizes the path weight of the meta-path.

[0157] The embodiment of the present invention performs analysis based on the meta-path view, aggregates the initial features corresponding to all nodes on each meta-path, obtains the path aggregation features of each meta-path, further combines the path weights of each meta-path, performs embedding calculation, and obtains the first document vector sample of the document node. Feature aggregation and path weight calculation are performed on multiple meta-paths to generate richer and more accurate node embedding vectors, thereby improving the performance and effect of heterogeneous graph learning.

[0158] Further, when determining the second document vector sample corresponding to each document node in the sample heterogeneous graph based on the network mode view and each initial feature, the following steps are performed for each document node in the sample heterogeneous graph:

[0159] Determine multiple neighbor nodes of the current document node;

[0160] Divide each neighbor node into multiple types of neighbor node combinations;

[0161] Determine the attention value of each neighbor node in each neighbor node combination to the current document node;

[0162] Based on the attention value of each neighbor node in each neighbor node combination to the current document node, the initial features corresponding to all neighbor nodes in each neighbor node combination are aggregated to obtain the neighbor aggregation features of each neighbor node combination;

[0163] Determine the type weight of each neighbor node combination to the current document node;

[0164] Based on the neighbor aggregation features and type weights of each neighbor node combination, an embedding calculation is performed to obtain a second document vector sample of the current document node.

[0165] It should be noted that the network mode view starts from the graph structure itself, considering the direct connection relationship between nodes and the global graph topology characteristics. This view mainly focuses on the direct connection and path information between nodes, aims to capture the neighborhood relationship and global position of nodes in the graph structure, and is often used to represent the structural characteristics between nodes.

[0166] It should be further explained that when analyzing from a network model view, the embedding representation process for document nodes is consistent with the embedding representation process for author nodes. Therefore, only the embedding representation process for document nodes is described below.

[0167] Specifically, the scientific and technological literature recommendation device determines a plurality of neighboring nodes of the current literature node.

[0168] It should be noted that in the network model view, the document node is connected to multiple types of neighbor nodes, as well as neighbor nodes of the same type. Different types of neighbor nodes contribute differently to the embedding of the document node, and the contributions of neighbor nodes of the same type are also different. Therefore, the attention mechanism can be used in combination with the node level and type level to aggregate each type of neighbor nodes.

[0169] Furthermore, the scientific literature recommendation device divides each neighbor node into multiple types of neighbor node combinations.

[0170] Furthermore, the scientific literature recommendation device determines the attention value of each neighbor node in each neighbor node combination to the current literature node.

[0171] In one embodiment, m The formula for the attention value of each neighbor node in the type of neighbor node combination to the current document node is as follows:

[0172]

[0173] Among them, exp() represents the exponential function; LeakyReLU() represents the activation function; i represents the document node i; Characterization m Type of neighbor node combination; j represents φ m Neighbor node combination of type Neighbor node j in; Characterization φ m The node-level attention vector of this type can be obtained dynamically by calculating and weighting the input information; h i Characterizes the initial features of document node i; h j Represents the initial features of neighbor node j; || represents the connection operation; Characterization φ m The attention value of neighbor node j to document node i in the neighbor node combination of type.

[0174] Furthermore, the scientific and technological literature recommendation device aggregates the initial features corresponding to all neighbor nodes in each neighbor node combination based on the attention value of each neighbor node in each neighbor node combination to the current literature node, so as to obtain the neighbor aggregation features of each neighbor node combination.

[0175] In one embodiment, the neighbor aggregation feature of each neighbor node combination is expressed as follows:

[0176]

[0177] Among them, σ() is the activation function; i represents document node i; Characterization φ m Type of neighbor node combination; j represents φ m Neighbor node combination of type Neighbor node j in h j Characterize the initial features of neighbor node j; Characterization φ m The attention value of neighbor node j to document node i in the neighbor node combination of type; Characterization φ m Neighbor aggregation features of neighbor node combinations of types.

[0178] Furthermore, the scientific and technological literature recommendation device determines the type weight of each neighbor node combination to the current document node. Furthermore, the scientific and technological literature recommendation device performs embedding calculation based on the neighbor aggregation features and type weights of each neighbor node combination to obtain a second document vector sample of the current document node.

[0179] In one embodiment, the formula for the type weight of each neighbor node combination to the current document node is as follows:

[0180]

[0181] Among them, s represents s types; φ m Characterize the combination of neighbor nodes; A weight matrix representing the combination of neighbor nodes; Characterizes the type weight of the neighbor node combination to the current document node.

[0182] Furthermore, the formula of the weight matrix of the neighbor node combination is as follows:

[0183]

[0184] Among them, V represents the set of document nodes; Neighbor aggregation features that characterize the combination of neighbor nodes; W sc ∈R d×d Characterize learnable parameters; b sc ∈R d×1 Represents learnable parameters; a sc Representing type-level attention vectors, which can be obtained dynamically by calculating and weighting the input information; A weight matrix that represents the combination of neighbor nodes.

[0185] Furthermore, the formula for the second document vector sample of the document node is as follows:

[0186]

[0187] Among them, i represents document node i; s represents s types; Neighborhood aggregation features that characterize the combination of neighbor nodes; Characterizes the type weight of the neighbor node combination to the current document node.

[0188] The embodiment of the present invention performs analysis based on a network mode view, aggregates the initial features corresponding to all neighbor nodes in each neighbor node combination based on the attention value of each neighbor node in each neighbor node combination to the current document node, and obtains the neighbor aggregation features of each neighbor node combination. The embedding calculation is further combined with the type weight of each neighbor node combination to the current document node to obtain the second document vector sample of the document node, which can effectively capture the complex relationships in heterogeneous information networks and generate high-quality and efficient embedding representations, thereby improving the performance and effect of heterogeneous graph learning.

[0189] Furthermore, the present invention also provides a scientific literature recommendation device.

[0190] Reference Figure 2 , Figure 2 It is a structural schematic diagram of the scientific literature recommendation device provided by the present invention.

[0191] The scientific literature recommendation device comprises:

[0192] The information extraction module 210 is used to obtain the text content of multiple scientific and technological documents, and extract information based on the text content of each scientific and technological document to obtain multi-type data; the multi-type data includes document metadata and document research direction data; the document metadata includes at least author data and document data;

[0193] A construction module 220 is used to construct a heterogeneous graph based on multi-type data;

[0194] A heterogeneous graph learning module 230 is used to input the heterogeneous graph into a target heterogeneous graph learning model to obtain a plurality of author embedding vectors and a plurality of first document embedding vectors output by the target heterogeneous graph learning model; the target heterogeneous graph learning model is trained based on multi-type sample data extracted from the text content of a plurality of sample documents;

[0195] The recommendation module 240 is used to recommend scientific documents based on the embedding vectors of each author and the embedding vectors of each first document, and obtain the scientific document recommendation results corresponding to the authors of each scientific document.

[0196] The scientific and technological literature recommendation device provided by the present invention combines more detailed research direction data of the literature with traditional metadata to jointly construct a heterogeneous graph with refined data, inputs the heterogeneous graph into a target heterogeneous graph learning model, obtains multiple author embedding vectors and multiple first document embedding vectors output by the target heterogeneous graph learning model, and uses more refined descriptive data as a hub to mine the deep knowledge relationship between the literature and the author, thereby realizing a more author-personalized literature recommendation method, thereby improving the accuracy of scientific and technological literature recommendation.

[0197] Furthermore, the recommendation module 240 further includes:

[0198] Extracting text information features from the text content of each scientific document to obtain multiple second document embedding vectors;

[0199] Based on the fusion of each first document embedding vector and each second document embedding vector, a plurality of target document embedding vectors are obtained;

[0200] Based on the similarity calculation of each target document embedding vector and each author embedding vector, the scientific document recommendation results corresponding to the authors of each scientific document are obtained.

[0201] Furthermore, the recommendation module 240 further includes:

[0202] Determine a first document weight value of a current first document embedding vector and a second document weight value of a current second document embedding vector;

[0203] Calculate the product of the current first document embedding vector and the first document weight value to obtain a first weighted document vector;

[0204] Calculate the product of the current second document embedding vector and the second document weight value to obtain a second weighted document vector;

[0205] The first weighted document vector and the second weighted document vector are summed to obtain a target document embedding vector corresponding to the current scientific document.

[0206] Furthermore, the recommendation module 240 further includes:

[0207] Calculate the cosine similarity of the current author embedding vector and each target document embedding vector to obtain multiple similarity values;

[0208] Sort each similar value in descending order to obtain the sorting result;

[0209] Starting from the first similarity value in the sorting result, extracting a first preset number of similarity values ​​in order;

[0210] According to a first preset number of similarity values, a scientific and technological document recommendation table corresponding to the author of the current scientific and technological document is generated.

[0211] Furthermore, the scientific literature recommendation device also includes:

[0212] Obtain the text content of multiple sample documents, and extract information based on the text content of each sample document to obtain multiple types of sample data;

[0213] Based on multi-type sample data, a sample heterogeneity graph is constructed;

[0214] Obtaining the domain category label of each document node in the sample heterogeneous graph;

[0215] Performing feature conversion on each node data in the sample heterogeneous graph to obtain initial features of each node data;

[0216] Based on the meta-path view and each initial feature, determining a first document vector sample corresponding to each document node in the sample heterogeneous graph and a first author vector sample corresponding to each author node;

[0217] Based on the network model view and the initial features, determining a second document vector sample corresponding to each document node in the sample heterogeneous graph and a second author vector sample corresponding to each author node;

[0218] Perform weighted sum calculation based on the preset contrast loss function and the preset classification loss function to obtain the first objective function of each document node;

[0219] Determine the preset contrast loss function as the second objective function of each author node;

[0220] Based on the first document vector sample, the second document vector sample, the first objective function, and the domain category label corresponding to each document node, and the first author vector sample, the second author vector sample, and the second objective function corresponding to each author node, the initial heterogeneous graph learning model is trained to obtain the target heterogeneous graph learning model.

[0221] Furthermore, the scientific literature recommendation device also includes:

[0222] Constructing a second preset number of meta-paths for the current document node;

[0223] Aggregate the initial features corresponding to all nodes on each meta-path respectively to obtain the path aggregation features of each meta-path;

[0224] Determine the path weight of each meta-path;

[0225] Based on the path aggregation features and path weights of each meta-path, embedding calculation is performed to obtain the first document vector sample of the current document node.

[0226] Furthermore, the scientific literature recommendation device also includes:

[0227] Determine multiple neighbor nodes of the current document node;

[0228] Divide each neighbor node into multiple types of neighbor node combinations;

[0229] Determine the attention value of each neighbor node in each neighbor node combination to the current document node;

[0230] Based on the attention value of each neighbor node in each neighbor node combination to the current document node, the initial features corresponding to all neighbor nodes in each neighbor node combination are aggregated to obtain the neighbor aggregation features of each neighbor node combination;

[0231] Determine the type weight of each neighbor node combination to the current document node;

[0232] Based on the neighbor aggregation features and type weights of each neighbor node combination, an embedding calculation is performed to obtain a second document vector sample of the current document node.

[0233] It should be noted that the scientific literature recommendation device provided by the present invention can execute the scientific literature recommendation method described in any of the above embodiments during specific operation, which will not be elaborated in this embodiment.

[0234] Figure 3 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 3 As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the scientific and technological literature recommendation method, which includes: obtaining the text content of multiple scientific and technological literatures, and extracting information based on the text content of each scientific and technological literature to obtain multi-type data; the multi-type data includes document metadata and document research direction data; the document metadata includes at least author data and document data; based on the multi-type data, constructing a heterogeneous graph; inputting the heterogeneous graph into the target heterogeneous graph learning model to obtain multiple author embedding vectors and multiple first document embedding vectors output by the target heterogeneous graph learning model; the target heterogeneous graph learning model is obtained by training based on the multi-type sample data extracted from the text content of multiple sample documents; recommending scientific and technological literature based on each author embedding vector and each first document embedding vector, and obtaining the scientific and technological literature recommendation results corresponding to the authors of each scientific and technological literature.

[0235] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0236] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the scientific and technological literature recommendation method provided by the above-mentioned embodiments, the method including: obtaining the text content of multiple scientific and technological documents, and extracting information based on the text content of each scientific and technological document to obtain multi-type data; the multi-type data includes document metadata and document research direction data; the document metadata includes at least author data and document data; based on the multi-type data, constructing a heterogeneous graph; inputting the heterogeneous graph into a target heterogeneous graph learning model to obtain multiple author embedding vectors and multiple first document embedding vectors output by the target heterogeneous graph learning model; the target heterogeneous graph learning model is trained based on multi-type sample data extracted from the text content of multiple sample documents; recommending scientific and technological documents based on each author embedding vector and each first document embedding vector to obtain scientific and technological literature recommendation results corresponding to the authors of each scientific and technological document.

[0237] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the scientific and technological literature recommendation method provided in the above-mentioned embodiments, the method comprising: obtaining the text content of multiple scientific and technological documents, and extracting information based on the text content of each scientific and technological document to obtain multi-type data; the multi-type data includes document metadata and document research direction data; the document metadata includes at least author data and document data; based on the multi-type data, constructing a heterogeneous graph; inputting the heterogeneous graph into a target heterogeneous graph learning model to obtain multiple author embedding vectors and multiple first document embedding vectors output by the target heterogeneous graph learning model; the target heterogeneous graph learning model is trained based on multi-type sample data extracted from the text content of multiple sample documents; recommending scientific and technological documents based on each author embedding vector and each first document embedding vector to obtain scientific and technological literature recommendation results corresponding to the authors of each scientific and technological document.

[0238] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0239] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0240] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for recommending scientific and technological literature, characterized in that: include: Acquire the text contents of multiple scientific and technological documents, and extract information based on the text contents of each scientific and technological document to obtain multi-type data; the multi-type data includes document metadata and document research direction data; the document metadata includes at least author data and document data; Build heterogeneous graphs based on multi-type data; Inputting the heterogeneous graph into a target heterogeneous graph learning model to obtain a plurality of author embedding vectors and a plurality of first document embedding vectors output by the target heterogeneous graph learning model; the target heterogeneous graph learning model is trained based on multi-type sample data extracted from the text content of a plurality of sample documents; Recommend scientific and technological documents based on the embedding vectors of each author and each first document, and obtain the scientific and technological document recommendation results corresponding to the authors of each scientific and technological document; The scientific literature recommendation based on the embedding vectors of each author and each first document, to obtain the scientific literature recommendation results corresponding to the authors of each scientific literature, includes: Extracting text information features from the text content of each scientific document to obtain multiple second document embedding vectors; Based on the fusion of each first document embedding vector and each second document embedding vector, a plurality of target document embedding vectors are obtained; Based on the similarity calculation of each target document embedding vector and each author embedding vector, the scientific document recommendation results corresponding to the authors of each scientific document are obtained.

2. The method for recommending scientific and technological literature according to claim 1, characterized in that: When multiple target document embedding vectors are obtained by fusing the first document embedding vectors and the second document embedding vectors, the following steps are performed for the first document embedding vector and the second document embedding vector corresponding to each scientific document: Determine a first document weight value of a current first document embedding vector and a second document weight value of a current second document embedding vector; Calculate the product of the current first document embedding vector and the first document weight value to obtain a first weighted document vector; Calculate the product of the current second document embedding vector and the second document weight value to obtain a second weighted document vector; The first weighted document vector and the second weighted document vector are summed to obtain a target document embedding vector corresponding to the current scientific document.

3. The method for recommending scientific and technological literature according to claim 1, characterized in that: When similarity calculation is performed based on the embedding vectors of each target document and the embedding vectors of each author to obtain the scientific document recommendation results corresponding to the authors of each scientific document, the following steps are performed for the author embedding vector corresponding to each scientific document: Calculate the cosine similarity of the current author embedding vector and each target document embedding vector to obtain multiple similarity values; Sort each similar value in descending order to obtain the sorting result; Starting from the first similarity value in the sorting result, extracting a first preset number of similarity values ​​in order; According to a first preset number of similarity values, a scientific and technological document recommendation table corresponding to the author of the current scientific and technological document is generated.

4. The method for recommending scientific and technological literature according to claim 1, characterized in that: The target heterogeneous graph learning model is obtained through the following steps: Obtain the text content of multiple sample documents, and extract information based on the text content of each sample document to obtain multiple types of sample data; Based on multi-type sample data, a sample heterogeneity graph is constructed; Obtaining the domain category label of each document node in the sample heterogeneous graph; Performing feature conversion on each node data in the sample heterogeneous graph to obtain initial features of each node data; Based on the meta-path view and each initial feature, determining a first document vector sample corresponding to each document node in the sample heterogeneous graph and a first author vector sample corresponding to each author node; Based on the network model view and the initial features, determining a second document vector sample corresponding to each document node in the sample heterogeneous graph and a second author vector sample corresponding to each author node; Perform weighted sum calculation based on the preset contrast loss function and the preset classification loss function to obtain the first objective function of each document node; Determine the preset contrast loss function as the second objective function of each author node; Based on the first document vector sample, the second document vector sample, the first objective function, and the domain category label corresponding to each document node, and the first author vector sample, the second author vector sample, and the second objective function corresponding to each author node, the initial heterogeneous graph learning model is trained to obtain the target heterogeneous graph learning model.

5. The method for recommending scientific and technological literature according to claim 4, characterized in that: When determining the first document vector sample corresponding to each document node in the sample heterogeneous graph based on the meta-path view and each initial feature, the following steps are performed for each document node in the sample heterogeneous graph: Constructing a second preset number of meta-paths for the current document node; Aggregate the initial features corresponding to all nodes on each meta-path respectively to obtain the path aggregation features of each meta-path; Determine the path weight of each meta-path; Based on the path aggregation features and path weights of each meta-path, embedding calculation is performed to obtain the first document vector sample of the current document node.

6. The method for recommending scientific and technological literature according to claim 4, characterized in that: When determining the second document vector sample corresponding to each document node in the sample heterogeneous graph based on the network model view and each initial feature, the following steps are performed for each document node in the sample heterogeneous graph: Determine multiple neighbor nodes of the current document node; Divide each neighbor node into multiple types of neighbor node combinations; Determine the attention value of each neighbor node in each neighbor node combination to the current document node; Based on the attention value of each neighbor node in each neighbor node combination to the current document node, the initial features corresponding to all neighbor nodes in each neighbor node combination are aggregated to obtain the neighbor aggregation features of each neighbor node combination; Determine the type weight of each neighbor node combination to the current document node; Based on the neighbor aggregation features and type weights of each neighbor node combination, an embedding calculation is performed to obtain a second document vector sample of the current document node.

7. A scientific literature recommendation device, characterized in that: include: An information extraction module is used to obtain the text content of multiple scientific and technological documents, and extract information based on the text content of each scientific and technological document to obtain multi-type data; the multi-type data includes document metadata and document research direction data; the document metadata includes at least author data and document data; A building module for building heterogeneous graphs based on multi-type data; A heterogeneous graph learning module, used for inputting the heterogeneous graph into a target heterogeneous graph learning model to obtain a plurality of author embedding vectors and a plurality of first document embedding vectors output by the target heterogeneous graph learning model; the target heterogeneous graph learning model is trained based on multi-type sample data extracted from the text content of a plurality of sample documents; A recommendation module is used to recommend scientific and technological documents based on the embedding vectors of each author and each first document, and obtain the scientific and technological document recommendation results corresponding to the authors of each scientific and technological document; The scientific literature recommendation based on the embedding vectors of each author and each first document, to obtain the scientific literature recommendation results corresponding to the authors of each scientific literature, includes: Extracting text information features from the text content of each scientific document to obtain multiple second document embedding vectors; Based on the fusion of each first document embedding vector and each second document embedding vector, a plurality of target document embedding vectors are obtained; Based on the similarity calculation of each target document embedding vector and each author embedding vector, the scientific document recommendation results corresponding to the authors of each scientific document are obtained.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the scientific and technological literature recommendation method according to any one of claims 1 to 6 are implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the scientific and technological literature recommendation method according to any one of claims 1 to 6 are implemented.