Information processing method and device, equipment, storage medium and program product

By obtaining K-hop neighbor data from information heterogeneous data and aggregating embedded features, the problem of low efficiency in determining the correlation between recommended information in information recommendation is solved, and efficient and accurate correlation acquisition is achieved, which is suitable for large-scale heterogeneous graphs. .

CN118626705APending Publication Date: 2024-09-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310246060.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-07
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In information recommendation applications, existing technology is difficult to efficiently determine the correlation between recommended information, especially when the scale of heterogeneous graphs is large, resulting in low efficiency in correlation determination.

Method used

By obtaining K-hop neighbor data from information heterogeneous data, aggregating embedded features, and determining the correlation between recommended information based on the similarity of semantic features, reducing computing resource consumption and improving efficiency.

Benefits of technology

It improves the efficiency and accuracy of correlation determination in information recommendation, especially when the heterogeneous graph scale is large, reduces the consumption of computing resources and solves the cold start problem.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626705A
    Figure CN118626705A
Patent Text Reader

Abstract

The invention provides an information processing method and device, equipment, a storage medium and a program product. The method is applied to correlation determination scenes of various information such as artificial intelligence, cloud technology, smart traffic and vehicle-mounted information, and comprises the steps that K-hop neighbor data of to-be-recommended information is acquired from information heterogeneous data, and the information heterogeneous data comprises co-occurrence information among all pieces of recommended information and at least one attribute of each piece of recommended information; the K-hop neighbor data comprises to-be-recommended information, at least one target attribute of the to-be-recommended information, and a recommended information acquisition result co-occurring with the to-be-recommended information in K hops; aggregating each embedded feature corresponding to each piece of to-be-aggregated information to obtain a semantic feature, the to-be-aggregated information being recommendation information or target attributes in the K-hop neighbor data; and determining the correlation between the at least two pieces of to-be-recommended information based on the feature similarity between the at least two semantic features. Through the method and the device, the correlation determination efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to information processing technology in the field of information recommendation, and in particular to an information processing method, device, equipment, storage medium and program product. Background Art

[0002] In information recommendation applications, the process of determining the correlation between recommended information is often involved. Generally speaking, in order to determine the correlation between recommended information, a heterogeneous graph of the entire information in the information database is usually constructed, and the features of each node in the heterogeneous graph are extracted based on the embedded features of each node, and then the correlation between recommended information is determined based on the features extracted from each node; however, in the above process of determining the correlation between recommended information, the feature extraction process is performed on the entire information, which affects the efficiency of determining the correlation. Summary of the invention

[0003] The embodiments of the present application provide an information processing method, apparatus, device, storage medium and program product, which can improve the efficiency of determining correlation.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] The present application provides an information recommendation method, the method comprising:

[0006] The following processing is performed on each of the at least two pieces of information to be recommended:

[0007] Acquire K-hop neighbor data of the information to be recommended from the information heterogeneous data, wherein the information heterogeneous data includes co-occurrence information between each piece of recommended information and at least one attribute of each piece of recommended information, and the K-hop neighbor data includes the information to be recommended, at least one target attribute of the information to be recommended, and a result of obtaining recommended information co-occurring with the information to be recommended within K hops, where K is a positive integer;

[0008] Aggregating each embedded feature corresponding to each piece of information to be aggregated to obtain a semantic feature, wherein the information to be aggregated is the recommended information or the target attribute in the K-hop neighbor data;

[0009] Based on the feature similarity between at least two of the semantic features, the correlation between at least two of the information to be recommended is determined, wherein at least two of the semantic features correspond one-to-one to at least two of the information to be recommended.

[0010] The present application provides an information processing device, the information processing device comprising:

[0011] The feature acquisition module is used to perform the following processing on each of the at least two pieces of information to be recommended: acquiring K-hop neighbor data of the information to be recommended from the information heterogeneous data, wherein the information heterogeneous data includes co-occurrence information between each piece of recommended information and at least one attribute of each piece of recommended information, and the K-hop neighbor data includes the information to be recommended, at least one target attribute of the information to be recommended, and the acquisition result of the recommended information co-occurring with the information to be recommended within K hops, where K is a positive integer; aggregating each embedded feature corresponding to each piece of information to be aggregated to obtain a semantic feature, wherein the information to be aggregated is the recommended information or the target attribute in the K-hop neighbor data;

[0012] The correlation determination module is used to determine the correlation between at least two pieces of information to be recommended based on the feature similarity between at least two of the semantic features, wherein at least two of the semantic features correspond to at least two pieces of information to be recommended in a one-to-one manner.

[0013] In an embodiment of the present application, when the recommendation information acquisition result indicates at least one co-occurring recommendation information that co-occurs with the information to be recommended within K hops, the recommendation information in the K-hop neighbor data is the information to be recommended or the co-occurring recommendation information, wherein the co-occurring recommendation information refers to the recommendation information that co-occurs with the information to be recommended; the feature acquisition module is also used to combine the first embedded feature and at least one second embedded feature to obtain a first feature to be aggregated, wherein the first embedded feature is the embedded feature of the information to be recommended, and the second embedded feature is the embedded feature of the co-occurring recommendation information; integrate at least one third embedded feature to obtain a second feature to be aggregated, wherein the third embedded feature is the embedded feature of the target attribute; aggregate the first feature to be aggregated and the second feature to be aggregated to obtain a first aggregated feature; perform semantic extraction on the first aggregated feature to obtain the semantic feature of the information to be recommended.

[0014] In an embodiment of the present application, when the recommendation information acquisition result indicates that there is no co-occurring recommended information of the information to be recommended within K hops, the recommended information in the K-hop neighbor data is the information to be recommended; the feature acquisition module is also used to aggregate the first embedded feature and the second feature to be aggregated to obtain a second aggregated feature, wherein the second feature to be aggregated is obtained by integrating at least one third embedded feature corresponding to at least one of the target attributes; and semantic extraction is performed on the second aggregated feature to obtain the semantic feature of the information to be recommended.

[0015] In an embodiment of the present application, the information processing device also includes an embedded representation module, which is used to obtain a recommendation information sequence interacted by each account from each recommendation information; determine the embedded features of each recommendation information based on multiple recommendation information sequences corresponding to multiple accounts; replace the corresponding recommendation information in the recommendation information sequence based on at least one attribute of each recommendation information in the recommendation information sequence to obtain an attribute sequence; determine the embedded features of each attribute in the information heterogeneous data based on multiple attribute sequences corresponding to multiple recommendation information sequences.

[0016] In an embodiment of the present application, the information processing device also includes a co-occurrence determination module, which is used to determine, in the recommendation information sequence, any two of the recommendation information within a co-occurrence time window as a co-occurrence information pair; count the number of co-occurrences of each of the co-occurrence information pairs in multiple recommendation information sequences; and combine each of the co-occurrence information pairs and the number of co-occurrences corresponding to each of the co-occurrence information pairs into co-occurrence information between each of the recommendation information.

[0017] In an embodiment of the present application, the embedding representation module is further used to replace the corresponding recommendation information in the recommendation information sequence based on the attribute association result of each recommendation information in each attribute category in the recommendation information sequence, so as to obtain a sub-attribute sequence, wherein at least one of the attributes includes at least one attribute association result corresponding to at least one attribute category, and the attribute sequence includes at least one sub-attribute sequence corresponding to at least one attribute category; and the following processing is performed for each attribute category: based on multiple sub-attribute sequences corresponding to multiple recommendation information sequences, the embedding feature of each attribute in each attribute category of the information heterogeneous data is determined, wherein the multiple attribute sequences include multiple sub-attribute sequences corresponding to each attribute category.

[0018] In an embodiment of the present application, the feature acquisition module is also used to obtain a second embedded feature set corresponding to each hop within K hops from at least one of the second embedded features; obtain a pooled feature of the second embedded feature set, and fuse the pooled feature with the combination weight corresponding to the second embedded feature set to obtain a feature to be combined; combine the first embedded feature with K features to be combined to obtain the first feature to be aggregated.

[0019] In an embodiment of the application, the information processing device also includes an information screening module, which is used to select the co-occurrence recommendation information of the threshold number from the recommendation information acquisition result when the co-occurrence number is greater than the threshold number, wherein the co-occurrence number is the number of the co-occurrence recommendation information in the recommendation information acquisition result; and determine each of the co-occurrence recommendation information of the threshold number as the information to be aggregated.

[0020] In an embodiment of the application, the aggregation of the semantic features and the acquisition of the feature similarity are achieved through a correlation model. At this time, the information processing device also includes a model training module, which is used to obtain K-hop sample neighbor data of each sample to be recommended in the sample pair to be recommended from the sample heterogeneous data, wherein the sample heterogeneous data includes co-occurrence information between each recommended sample and at least one sample attribute of each recommended sample, and the K-hop sample neighbor data includes the sample to be recommended, at least one target sample attribute of the sample to be recommended, and the acquisition result of the recommended sample co-occurring with the sample to be recommended within K hops; based on the model to be trained, each sample to be aggregated in each of the K-hop sample neighbor data is feature aggregated to obtain sample semantic features, and the sample semantic feature pairs of the sample pair to be recommended are predicted to obtain predicted correlation, wherein the model to be trained is a network model to be trained for predicting correlation; based on the difference between the predicted correlation and the correlation label of the sample pair to be recommended, the model to be trained is trained to obtain the correlation model.

[0021] In an embodiment of the present application, the information processing device also includes an information application module, which is used to obtain the target correlation between the target information to be recommended and each remaining information to be recommended in the remaining information to be recommended sequence from the correlation between at least two of the information to be recommended, wherein the target information to be recommended is any one of the at least two information to be recommended, and the remaining information to be recommended is the information to be recommended other than the target information to be recommended in the at least two information to be recommended; based on the target correlation, a specified number of the remaining information to be recommended selected from the remaining information to be recommended sequence is determined as the recommendation result.

[0022] In an embodiment of the present application, the information application module is also used to count the relevant number of the remaining information to be recommended whose target relevance is greater than a relevance threshold in the remaining information sequence to be recommended; determine the recommendation concentration based on the relevant number and the total relevant number of the remaining information to be recommended in the remaining information sequence to be recommended; and determine the recommendation result in combination with the recommendation concentration and the remaining information sequence to be recommended.

[0023] An embodiment of the present application provides an electronic device for information processing, the electronic device comprising:

[0024] A memory for storing computer executable instructions or computer programs;

[0025] The processor is used to implement the information processing method provided in the embodiment of the present application when executing the computer executable instructions or computer programs stored in the memory.

[0026] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions or a computer program, wherein the computer-executable instructions or the computer program are used to implement the information processing method provided in the embodiment of the present application when executed by a processor.

[0027] An embodiment of the present application provides a computer program product, including computer executable instructions or a computer program. When the computer executable instructions or the computer program are executed by a processor, the information processing method provided by the embodiment of the present application is implemented.

[0028] The embodiments of the present application have at least the following beneficial effects: for each piece of information to be recommended among at least two pieces of information to be recommended whose correlation is to be obtained, the corresponding K-hop neighbor data is obtained from the sample heterogeneous data, so that feature extraction is performed based on each embedded feature corresponding to each piece of information to be aggregated in the K-hop neighbor data, thereby achieving correlation acquisition; since the K-hop neighbor data has a smaller data volume than the full amount of information in the information heterogeneous data, the computing resource consumption of the correlation acquisition process can be reduced, thereby improving the correlation acquisition efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a schematic diagram of the architecture of the information processing system provided by the embodiment of the present application;

[0030] Figure 2 This is a method provided by the embodiment of the present application. Figure 1 A schematic diagram of the structure of the server in FIG.

[0031] Figure 3 This is a flow chart of the information processing method provided in the embodiment of the present application. Figure 1 ;

[0032] Figure 4 is a schematic diagram of a process for obtaining semantic features provided in an embodiment of the present application;

[0033] Figure 5 is a schematic diagram of a process for obtaining embedded features provided in an embodiment of the present application;

[0034] Figure 6 This is a schematic diagram of a process for obtaining co-occurrence information provided in an embodiment of the present application;

[0035] Figure 7It is a schematic diagram of the model training process provided in the embodiment of the present application;

[0036] Figure 8 This is a flow chart of the information processing method provided in the embodiment of the present application. Figure 2 ;

[0037] Fig. 9 is an exemplary flowchart of determining correlation provided in an embodiment of the present application;

[0038] Fig.10 is a schematic diagram of an exemplary heterogeneous information network provided in an embodiment of the present application;

[0039] Fig.11 is a schematic diagram of an exemplary new heterogeneous information network provided in an embodiment of the present application;

[0040] Fig.12 is a schematic diagram of an exemplary K-jump subgraph provided in an embodiment of the present application;

[0041] Fig.13 is a schematic diagram of the structure of an exemplary correlation model provided in an embodiment of the present application;

[0042] Fig.14 It is a structural schematic diagram of an exemplary semantic tower provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0044] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0045] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0046] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meaning as those commonly understood by those skilled in the art of the present application. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0047] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0048] 1) Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0049] 2) Machine Learning (ML) is a multi-disciplinary subject involving probability theory, statistics, approximation theory, convex analysis, and algorithmic complexity theory. It is used to study how computers simulate or implement human learning behaviors to acquire new knowledge or skills; and to reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Machine learning applications are spread across all areas of artificial intelligence. Machine learning usually includes technologies such as artificial neural networks, belief networks, reinforcement learning, transfer learning, and inductive learning.

[0050] 3) Artificial neural network is a mathematical model that imitates the structure and function of biological neural networks. The exemplary structures of artificial neural networks in the embodiments of the present application include graph convolutional networks (GCN, a neural network for processing graph-structured data), deep neural networks (DNN), convolutional neural networks (CNN), recurrent neural networks (RNN), neural state machines (NSM), and phase-function neural networks (PFNN). The models to be trained and the correlation models involved in the embodiments of the present application are all models corresponding to artificial neural networks.

[0051] 4) Homogeneous Graph, also known as Homogeneous Network or Single Network, is a graph including one type of node and one type of edge; the co-occurrence information between the various recommendation information in the embodiment of the present application (for example, the video co-occurrence network) can be a homogeneous graph.

[0052] 5) Heterogeneous Graph, also known as Heterogeneous Network or Heterogeneous Information Network (HIN), is a graph with at least two or more types of vertices and edges; the information heterogeneous data, K-hop neighbor data, sample heterogeneous data, and K-hop sample neighbor data in the embodiments of the present application can be heterogeneous graphs.

[0053] 6) Embedding Representation, also known as embedding features, is a distributed representation of the input "object" generated based on a neural network model, such as the embedding features in the embodiments of the present application. The embedding representation can be obtained through a graph, and the embedding representation at this time is also called a graph embedding representation; in the process of obtaining the graph embedding representation, based on the topological structure of the graph (the relationship between nodes, subgraphs, and edges, etc.). In general, the graph embedding representation can be obtained through matrix decomposition, random walks (such as DeepWalk, Node2vec, and Metapath2vec) and deep learning. Among them, in the process of obtaining the graph embedding representation based on random walks, the node sequence is first obtained through random walks, and then the nodes in the node sequence are used as words, and the entire sequence is used as sentences, so as to learn the graph embedding representation of the node through a word vector algorithm (such as Word2vec). In the process of obtaining the graph embedding representation based on deep learning, the embedding representation of the node can be learned based on the graph neural network; the embodiments of the present application can obtain the graph embedding representation based on deep learning.

[0054] 7) Information recommendation, which is achieved by predicting the account's "rating" or "preference" for items. The information recommended may include videos, music, news, commodities, and search terms, etc. Information recommendation can be classified based on the recall method into account-to-item recommendation (User-to-Item, U2I) and item-to-item recommendation (Item-to-Item, I2I); among which, U2I is used to directly recommend items to an account, and I2I is used to recommend similar items to an account based on the items. In an embodiment of the present application, U2I can be implemented based on the correlation between at least two pieces of information to be recommended, and I2I can also be implemented based on the correlation between at least two pieces of information to be recommended.

[0055] 8) Co-Occurrence Network is a homogeneous graph, and in this homogeneous graph, if two nodes appear at the same time in the same scene, an edge connects the two nodes; in addition, the edge may include a weight, and the weight on the edge indicates the number of times the two nodes appear together (called the number of co-occurrences); thus, the larger the weight on the edge, the more related the two nodes are. In an embodiment of the present application, the co-occurrence information is the co-occurrence network; the co-occurrence information may include the result of whether each recommendation information (or each recommendation sample) co-occurs, or the result of whether each recommendation information (or each recommendation sample) co-occurs, and the number of co-occurrences of any two recommendation information (or recommendation samples). Co-occurrence refers to the appearance of two recommendation information in the same time window of the same scene.

[0056] 9) Semantic tags, including explicit semantic tags and implicit semantic features; where explicit semantic tags are discrete text tags such as entities, word segments, topics, key strings, concepts, and categories; implicit semantic features are usually model features obtained by model learning, such as topic features of topic modeling algorithm (LDA) and cluster identification (ID) of text clustering. In information recommendation, each recommended information includes explicit semantic tags, and information recommendation is performed based on explicit semantic tags; the attributes in the embodiments of the present application are explicit semantic tags.

[0057] It should be noted that in order to determine the correlation between recommended information, a heterogeneous graph of all information in the information database (including all account information, all recommended information and all attribute information) is usually constructed, and the feature extraction of each node is performed based on the embedded features of each node in the heterogeneous graph, and then the correlation between recommended information is determined according to the features extracted from each node; however, in the above process of determining the correlation between recommended information, the feature extraction is performed on the full amount of information, which affects the efficiency of determining the correlation. In addition, as the scale of the heterogeneous graph becomes larger and larger (for example, the number of account nodes may reach hundreds of millions or even larger), the efficiency of determining the correlation becomes lower and lower. In addition, the above feature extraction depends on the prior information of the meta-path, and the process of extracting features by performing heuristic random walks in the heterogeneous graph affects the efficiency of feature extraction, and thus affects the efficiency of determining the correlation.

[0058] Based on this, the embodiments of the present application provide an information processing method, device, electronic device, computer-readable storage medium and computer program product, which can improve the efficiency and accuracy of obtaining correlation. The following describes an exemplary application of an electronic device for information processing (hereinafter referred to as an information processing device) provided in an embodiment of the present application. The information processing device provided in an embodiment of the present application can be implemented as various types of terminals such as smart phones, smart watches, laptops, tablet computers, desktop computers, smart home appliances, set-top boxes, smart car devices, portable music players, personal digital assistants, dedicated messaging devices, intelligent voice interaction devices, portable game devices and smart speakers. It can also be implemented as a server, and can be implemented as a combination of the two. Below, an exemplary application when the information processing device is implemented as a server will be described.

[0059] See also Figure 1 , Figure 1 is a schematic diagram of the architecture of the information processing system provided in the embodiment of the present application; Figure 1 As shown, to support an information processing application, in the information processing system 100, the terminal 200 (the terminal 200-1 and the terminal 200-2 are shown as examples) is connected to the server 400 via the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two. In addition, the information processing system 100 also includes a database 500 for providing data support to the server 400; and Figure 1 What is shown in FIG. 5 is a case where the database 500 is independent of the server 400. In addition, the database 500 may also be integrated in the server 400, which is not limited in the embodiment of the present application.

[0060] Terminal 200 is used to respond to account operations (graphic interface 410-1 is shown as an example, describing an application scenario of inputting a string for searching), send a recommendation request to server 400 through network 300, receive recommendation results sent by server 400 through network 300, and display the recommendation results (graphic interface 410-2 is shown as an example, describing a recommendation scenario of recommending possible search strings).

[0061] The server 400 is used to perform the following processing on each of the at least two pieces of information to be recommended in response to a recommendation request: obtaining K-hop neighbor data of the information to be recommended from the information heterogeneous data, wherein the information heterogeneous data includes co-occurrence information between each piece of recommended information and at least one attribute of each piece of recommended information, and the K-hop neighbor data includes the information to be recommended, at least one target attribute of the information to be recommended, and a result of obtaining recommended information co-occurring with the information to be recommended within K hops, where K is a positive integer; aggregating each embedded feature corresponding to each piece of information to be aggregated to obtain a semantic feature, wherein the information to be aggregated is the recommended information or the target attribute in the K-hop neighbor data; determining the correlation between the at least two pieces of information to be recommended based on the feature similarity between the at least two semantic features, wherein the at least two semantic features correspond one-to-one to the at least two pieces of information to be recommended; determining a recommendation result based on the correlation between the at least two pieces of information to be recommended, and sending the recommendation result to the terminal 200 via the network 300.

[0062] In some embodiments, the server 400 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The terminal and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.

[0063] See also Figure 2 , Figure 2 This is a method provided by the embodiment of the present application. Figure 1 The structural diagram of the server in Figure 2 As shown, the server 400 includes: at least one processor 410, a memory 450 and at least one network interface 420; in some embodiments, the server 400 also includes a user interface 430. The various components in the server 400 are coupled together through a bus system 440. It can be understood that the bus system 440 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 2 Various buses are labeled as bus system 440 .

[0064] The processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0065] The user interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0066] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.

[0067] The memory 450 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.

[0068] In some embodiments, memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0069] Operating system 451, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0070] A network communication module 452, for reaching other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 include: Bluetooth, Wireless Fidelity (Wi-Fi), and Universal Serial Bus (USB), etc.;

[0071] a presentation module 453 for enabling presentation of information via one or more output devices 431 (e.g., display screen, speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripherals and displaying content and information);

[0072] The input processing module 454 is used to detect one or more user inputs or interactions from one of the one or more input devices 432 and translate the detected inputs or interactions.

[0073] In some embodiments, the information processing device provided in the embodiments of the present application can be implemented in software. Figure 2 An information processing device 455 stored in the memory 450 is shown, which may be software in the form of a program or a plug-in, including the following software modules: a feature acquisition module 4551, a correlation determination module 4552, an embedding representation module 4553, an information screening module 4554, a model training module 4555, and an information application module 4556. These modules are logical, and thus may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.

[0074] In some embodiments, the information processing device provided in the embodiments of the present application can be implemented in hardware. As an example, the information processing device provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the information processing method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC), DSP, programmable logic device (Programmable Logic Device, PLD), complex programmable logic device (Complex Programmable Logic Device, CPLD), field programmable gate array (Field-Programmable Gate Array, FPGA) or other electronic components.

[0075] In some embodiments, the terminal or server can implement the information processing method provided in the embodiments of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APPlication, APP), that is, a program that needs to be installed in the operating system to run, such as a video APP or a search engine APP; it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a small program that can be embedded in any APP. In short, the above-mentioned computer program can be any form of application, module or plug-in.

[0076] Below, the information processing method provided by the embodiment of the present application will be described in combination with the exemplary application and implementation of the information processing device provided by the embodiment of the present application. In addition, the information processing method provided by the embodiment of the present application is applied to the relevance determination scenarios of various information such as cloud technology, artificial intelligence, smart transportation and vehicle-mounted.

[0077] See also Figure 3 , Figure 3 This is a flow chart of the information processing method provided in the embodiment of the present application. Figure 1 ;in, Figure 3 The execution subject of each step is the information processing device, and each step is described below.

[0078] In the embodiment of the present application, the information processing device performs the following processing (ie, step 101 and step 102) on each of the at least two pieces of information to be recommended.

[0079] It should be noted that when the information processing device determines the correlation between the recommended information, the recommended information to be processed is the information to be recommended; here, the information processing device can obtain the correlation between any two of the at least two pieces of information to be recommended; in addition, the information processing device performs steps 101 and 102 on each of the at least two pieces of information to be recommended, and then determines the correlation between any two of the at least two pieces of information to be recommended based on the obtained results. The recommended information refers to candidate information for recommendation to the object to be recommended, which can be at least one of a video, a character string, information to be traded, a virtual item, an application, music, and an article.

[0080] Step 101: Obtain K-hop neighbor data of the information to be recommended from the information heterogeneous data.

[0081] In an embodiment of the present application, the information processing device includes information heterogeneous data, or the information processing device can obtain information heterogeneous data from other devices (for example, storage devices such as databases, devices that send correlation determination instructions, etc.), and the information heterogeneous data includes co-occurrence information between each piece of recommended information, and at least one attribute of each piece of recommended information. Since the information to be recommended is the recommended information to be processed, each piece of recommended information in the information heterogeneous data includes the information to be recommended, and the information processing device can determine the acquisition result of the recommended information that co-occurs with the information to be recommended within K hops from the co-occurrence information between each piece of recommended information included in the information heterogeneous data; and the information processing device can obtain at least one attribute corresponding to the information to be recommended based on at least one attribute of each piece of recommended information included in the information heterogeneous data, where the attribute corresponding to the information to be recommended is referred to as the target attribute; thus, the K-hop neighbor data includes the information to be recommended, at least one target attribute of the information to be recommended, and the acquisition result of the recommended information that co-occurs with the information to be recommended within K hops. result; wherein, the recommendation information acquisition result may indicate at least one co-occurring recommendation information that co-occurs with the information to be recommended within K hops, or may indicate that there is no co-occurring recommendation information with the information to be recommended within K hops, and the co-occurring recommendation information refers to the recommendation information that co-occurs with the information to be recommended (it may be direct co-occurrence or indirect co-occurrence based on neighbors); and the recommendation information acquisition result may include the recommendation information acquisition sub-result corresponding to each hop, and the recommendation information acquisition sub-result indicates the acquisition result of the recommendation information that co-occurs with the information to be recommended in each hop (it may be co-occurring recommendation information or non-co-occurring recommendation information), so that the recommendation information acquisition result includes K recommendation information acquisition sub-results corresponding one by one to the K hops.

[0082] It should be noted that the information heterogeneous data can be in the form of text description, table form, heterogeneous graph form, etc., and the embodiments of the present application do not limit this. Here, when the information heterogeneous data is a heterogeneous graph, the nodes in the information heterogeneous data include nodes corresponding to the recommended information and nodes corresponding to the attributes, and the edges in the information heterogeneous data include edges indicating the co-occurrence between the recommended information and edges indicating the association between the recommended information and the attributes; in addition, at least one attribute of each recommended information can be attribute-free or correspond to at least one attribute category, and when at least one attribute of each recommended information corresponds to at least one attribute category, at least one attribute includes the attribute associated with the recommended information in each attribute category of at least one attribute category. K hops refer to the minimum number of edges included with the information to be recommended. For example, if the recommended information 1 and the information to be recommended 2 are direct neighbors in the co-occurrence information, then there is 1 hop between the recommended information 1 and the information to be recommended 2; if the recommended information 1 and the information to be recommended 3 also include recommended information 4 in the co-occurrence information, then there are 2 hops between the recommended information 1 and the information to be recommended 3; K is a positive integer constant, such as 2. In addition, attributes can be discrete or obtained by discretizing continuous attributes.

[0083] Step 102: Aggregate each embedded feature corresponding to each piece of information to be aggregated to obtain a semantic feature, wherein the information to be aggregated is the recommended information or target attribute in the K-hop neighbor data.

[0084] In an embodiment of the present application, the information processing device obtains the semantic feature representation of the information to be recommended based on the K-hop neighbor data; here, the information processing device determines each piece of information to be aggregated from the K-hop neighbor data, and aggregates the semantic feature representation of the information to be recommended based on each embedded feature corresponding to each piece of information to be aggregated, and the semantic feature representation of the information to be recommended is referred to as the semantic feature of the information to be recommended. Among them, the embedded feature is the basic feature of each piece of information to be aggregated, which is an embedded representation that can be obtained by word vector, can also be obtained by one-hot encoding, can also be obtained by a preset neural network model, etc., and the embodiment of the present application does not limit this.

[0085] It should be noted that each information to be aggregated can be the full amount of information in the K-hop neighbor data, or it can be partial information screened out from the K-hop neighbor data based on a maximum threshold, etc., and the embodiments of the present application do not limit this. In addition, the information to be aggregated is the recommended information or target attribute in the K-hop neighbor data, and the recommended information in the K-hop neighbor data is determined based on the recommended information acquisition result; thus, when the recommended information acquisition result indicates that there is no co-occurring recommended information with the information to be recommended within K hops, the recommended information in the K-hop neighbor data is the information to be recommended; when the recommended information acquisition result indicates at least one co-occurring recommended information that co-occurs with the information to be recommended within K hops, the recommended information in the K-hop neighbor data is the information to be recommended or the co-occurring recommended information.

[0086] Step 103: Determine the correlation between at least two pieces of information to be recommended based on the feature similarity between at least two semantic features.

[0087] In an embodiment of the present application, after the information processing device completes step 102 and step 103 for each of at least two pieces of information to be recommended, at least two semantic features corresponding one-to-one to the at least two pieces of information to be recommended are obtained; here, the information processing device calculates the feature similarity between any two of the at least two semantic features, and determines the correlation between the two pieces of information to be recommended corresponding to the two semantic features based on the feature similarity.

[0088] It should be noted that the feature similarity between at least two semantic features includes the feature similarity between any two semantic features among the at least two semantic features; the correlation between at least two pieces of information to be recommended includes the correlation between any two pieces of information to be recommended among the at least two pieces of information to be recommended.

[0089] It can be understood that, for each of the at least two pieces of information to be recommended whose correlation is to be obtained, the corresponding K-hop neighbor data is obtained from the sample heterogeneous data, and feature extraction is performed based on each embedded feature corresponding to each piece of information to be aggregated in the K-hop neighbor data, so as to achieve the acquisition of correlation; since the K-hop neighbor data has a smaller data volume than the full amount of information in the information heterogeneous data, it can reduce the computing resource consumption of the correlation acquisition process, thereby improving the efficiency and versatility of correlation acquisition.

[0090] In the embodiment of the present application, when the recommendation information acquisition result indicates at least one co-occurring recommendation information that co-occurs with the information to be recommended within K hops, the recommendation information in the K-hop neighbor data is the information to be recommended or the co-occurring recommendation information. Figure 4 , Figure 4 is a schematic diagram of a flow chart of obtaining semantic features provided in an embodiment of the present application, wherein: Figure 4 The execution subject of each step in is the information processing device; Figure 4As shown, in step 102, the information processing device aggregates each embedded feature corresponding to each information to be aggregated to obtain a semantic feature, including steps 1021 to 1024. Each step is described below.

[0091] Step 1021: Combine the first embedded feature and at least one second embedded feature to obtain a first feature to be aggregated.

[0092] It should be noted that, since the K-hop neighbor data at this time includes the information to be recommended, at least one co-occurring recommendation information corresponding to the information to be recommended, and at least one target attribute corresponding to the information to be recommended, the embedded features corresponding to each information to be aggregated include the embedded features of the information to be recommended, the embedded features of the co-occurring recommendation information, and the embedded features of the target attribute; since the information to be recommended and the co-occurring recommendation information are both recommendation information, the information processing device first combines the embedded features corresponding to the information to be recommended and the co-occurring recommendation information respectively; thus, the information processing device first combines the first embedded feature and the at least one second embedded feature, and the obtained combination result is the first feature to be aggregated. Among them, the embedded feature of the information to be recommended is called the first embedded feature, and the embedded feature of the co-occurring recommendation information is called the second embedded feature; in addition, the at least one second embedded feature can correspond to the at least one co-occurring recommendation information one by one, or can be the first preset number of second embedded features corresponding to the first preset number of co-occurring recommendation information selected from the at least one co-occurring recommendation information based on the first preset number (at this time, the number of the second embedded features in the at least one second embedded feature is less than the number of the co-occurring recommendation information in the at least one co-occurring recommendation information, and the number of the co-occurring recommendation information included in the at least one common recommendation information is greater than the first preset number).

[0093] In an embodiment of the present application, in step 1021, the information processing device combines the first embedded feature and at least one second embedded feature to obtain the first feature to be aggregated, including: the information processing device first obtains the second embedded feature set corresponding to each jump within K jumps from at least one second embedded feature; then obtains the pooled feature of the second embedded feature set, and fuses the pooled feature with the combination weight corresponding to the second embedded feature set to obtain the feature to be combined; finally, the first embedded feature is combined with the K features to be combined to obtain the first feature to be aggregated. In other words, the information processing device can first combine the corresponding second embedded feature set in each jump, that is, the pooled feature; then combine the K pooled features corresponding to the K jumps based on the combination weight of each jump to obtain K features to be combined; finally, the first embedded feature is combined with the K features to be combined into the first feature to be aggregated. Among them, the combination weight of each jump can be the same, or it can be negatively correlated with the value of each jump (for example, 2 in 2 jumps).

[0094] Step 1022: Integrate at least one third embedded feature to obtain a second feature to be aggregated.

[0095] In an embodiment of the present application, when at least one third embedded feature is one third embedded feature, this one third embedded feature is the second feature to be aggregated; when at least one third embedded feature is multiple third embedded features, the information processing device can integrate multiple third embedded features by any one of splicing, pooling and fusion. Here, the information processing device determines the integration result of at least one third embedded feature as the second feature to be aggregated. Among them, the third embedded feature is an embedded feature of the target attribute; at least one third embedded feature can correspond to at least one target attribute one-to-one, or it can be a second preset number of third embedded features corresponding to a second preset number of target attributes selected from at least one target attribute based on a second preset number (at this time, the number of third embedded features in at least one third embedded feature is less than the number of target attributes in at least one target attribute, and the number of target attributes included in at least one target attribute is greater than the second preset number).

[0096] Step 1023: Aggregate the first feature to be aggregated and the second feature to be aggregated to obtain a first aggregated feature.

[0097] In an embodiment of the present application, the information processing device may aggregate the first feature to be aggregated and the second feature to be aggregated by any one of splicing, pooling, and fusion, and determine the obtained aggregation result of the first feature to be aggregated and the second feature to be aggregated as the first aggregated feature.

[0098] Step 1024: perform semantic extraction on the first aggregated features to obtain semantic features of the information to be recommended.

[0099] In an embodiment of the present application, the information processing device may perform semantic extraction on the first aggregated features based on a fully connected manner, and the extracted features are semantic features of the information to be recommended.

[0100] It can be understood that the semantic features of the information to be recommended are obtained by obtaining K-hop neighbor data of the information to be recommended, and aggregating the embedded features corresponding to the co-occurring recommendation information and the target attributes in the K-hop neighbor data into the embedded features of the information to be recommended; the obtained semantic features are associated with both the embedded features of the K-hop co-occurring recommendation information and the embedded features of the corresponding attributes, thereby improving the richness and accuracy of the semantic features, and further improving the accuracy of the correlation.

[0101] In an embodiment of the present application, when the recommendation information acquisition result indicates that there is no co-occurring recommended information in the K-hop neighbor data, the recommended information in the K-hop neighbor data is the information to be recommended. At this time, in step 102, the information processing device aggregates each embedded feature corresponding to each information to be aggregated to obtain a semantic feature, including: the information processing device aggregates the first embedded feature and the second feature to be aggregated to obtain a second aggregate feature; and performs semantic extraction on the second aggregate feature to obtain the semantic feature of the information to be recommended. Here, the second feature to be aggregated is obtained by integrating at least one third embedded feature corresponding to at least one target attribute, which is the process described in step 1022.

[0102] It should be noted that, since the information to be recommended has no co-occurring recommended information within K hops, the information processing device aggregates the embedded features of the target attributes into the embedded features of the information to be recommended to obtain the semantic features of the information to be recommended; in this way, the accuracy of the semantic features of the information to be recommended in the cold start scenario can be improved.

[0103] In the embodiment of the present application, the information processing method also includes a process of obtaining embedded features. Figure 5 , Figure 5 is a schematic diagram of a process for obtaining embedded features provided in an embodiment of the present application, wherein: Figure 5 The execution subject of each step in is the information processing device; Figure 5 As shown, the process of acquiring the embedded features includes steps 104 to 107, and each step is described below.

[0104] Step 104: Obtain the recommendation information sequence interacted by each account from each recommendation information.

[0105] In an embodiment of the present application, the information processing device is able to obtain each piece of recommendation information, at least one attribute of each piece of recommendation information, and interaction information of multiple accounts with each piece of recommendation information; thus, the information processing device is able to determine the sequence corresponding to the recommendation information interacted by each account of the multiple accounts based on the interaction information of the multiple accounts with each piece of recommendation information, which is referred to herein as a recommendation information sequence.

[0106] It should be noted that, in the recommendation information sequence, the recommendation information is arranged in order based on the interaction time in the interaction information.

[0107] Step 105: Determine the embedded features of each recommendation information based on the multiple recommendation information sequences corresponding to the multiple accounts.

[0108] It should be noted that after the information processing device completes the acquisition of the recommendation information sequence interacted by each account, it can obtain multiple recommendation information sequences corresponding to multiple accounts. Here, the information processing device combines multiple recommendation information sequences into a total sequence, and obtains the embedded representation of each recommendation information in the total sequence based on the total sequence, thereby obtaining the embedded features of each recommendation information in each recommendation information.

[0109] Step 106: Based on at least one attribute of each piece of recommended information in the recommended information sequence, replace the corresponding recommended information in the recommended information sequence to obtain an attribute sequence.

[0110] In an embodiment of the present application, the information processing device obtains the embedded features of the attributes based on the recommendation information sequence. Here, the recommendation information sequence that completes the replacement of each recommendation information is the attribute sequence; wherein the attributes between at least one attribute of the recommendation information can be random or sequential.

[0111] Step 107: Determine the embedding feature of each attribute in the information heterogeneous data based on the multiple attribute sequences corresponding to the multiple recommendation information sequences.

[0112] It should be noted that the information processing device can obtain an attribute sequence for each recommended information sequence, thereby obtaining multiple attribute sequences corresponding to multiple recommended information sequences. Here, the information processing device combines multiple attribute sequences into a total sequence, and obtains the embedded representation of each attribute in the total sequence based on the total sequence, thereby obtaining the embedded features of each attribute in the information heterogeneous data.

[0113] In an embodiment of the present application, when at least one attribute of each recommended information corresponds to at least one attribute category, step 106 and step 107 can be implemented by obtaining the embedded features of each attribute in each attribute category; that is, the information processing device replaces the corresponding recommended information in the recommended information sequence based on at least one attribute of each recommended information in the recommended information sequence to obtain an attribute sequence, and determines the embedded features of each attribute in the information heterogeneous data based on multiple attribute sequences corresponding to the multiple recommended information sequences, including: the information processing device replaces the corresponding recommended information in the recommended information sequence based on the attribute association result of each recommended information in the recommended information sequence in each attribute category to obtain a sub-attribute sequence; and for each attribute category, determines the embedded features of each attribute in each attribute category of the information heterogeneous data based on multiple sub-attribute sequences corresponding to the multiple recommended information sequences.

[0114] It should be noted that the attribute association result refers to the attribute associated with the recommended information in each attribute category, which can indicate the attribute associated with the recommended information in each attribute category, or the attribute not associated with the recommended information in each attribute category; wherein, at least one attribute includes at least one attribute association result corresponding to at least one attribute category. The attribute sequence includes at least one sub-attribute sequence corresponding to at least one attribute category, and the multiple attribute sequences include multiple sub-attribute sequences corresponding to each attribute category.

[0115] It can be understood that by obtaining the embedded features of each attribute in the attribute category based on the attribute category, the processing process of obtaining the embedded features of the attribute based on the attribute category is realized, which can refine the granularity of obtaining the embedded features and improve the accuracy of the embedded features of the attribute.

[0116] In the embodiment of the present application, the information processing method also includes a process of obtaining co-occurrence information between each piece of recommended information. Figure 6 , Figure 6 is a schematic diagram of a process for obtaining co-occurrence information provided by an embodiment of the present application, wherein: Figure 6 The execution subject of each step in is the information processing device; Figure 6 As shown, the process of obtaining co-occurrence information includes step 104 and step 108 to step 110; that is, after the information processing device in step 104 obtains the recommendation information sequence interacted by each account from each recommendation information, the information processing method also includes: step 108 to step 110, and each step is explained below.

[0117] Step 108: In the recommendation information sequence, any two pieces of recommendation information within the co-occurrence time window are determined as a co-occurrence information pair.

[0118] It should be noted that, in the recommendation information sequence, all the recommended information located within the co-occurrence time window is in a co-occurrence relationship, and thus, the information processing device determines any two recommended information located within the co-occurrence time window in the recommendation information sequence as a co-occurrence information pair; wherein the co-occurrence time window is a time window used to determine the co-occurrence of recommended information.

[0119] Step 109: Count the number of times each co-occurrence information pair co-occurs in multiple recommendation information sequences.

[0120] It should be noted that the number of co-occurrences is positively correlated with the correlation of the co-occurrence information pair; here, the information processing device counts the number of co-occurrences of each co-occurrence information pair in multiple recommendation information sequences to determine the co-occurrence relationship between each recommendation information based on the number of co-occurrences.

[0121] Step 110: Combine each co-occurrence information pair and the co-occurrence times corresponding to each co-occurrence information pair into co-occurrence information between each recommended information.

[0122] In an embodiment of the present application, the information processing device determines the co-occurrence information pairs in each recommended information sequence, and is thus able to obtain the co-occurrence information pairs corresponding to multiple recommended information sequences; here, the information processing device can also count the number of co-occurrences of each co-occurrence information pair in multiple recommended information sequences; thus, the co-occurrence information between the recommended information obtained by the information processing device includes each co-occurrence information pair and the number of co-occurrences corresponding to each co-occurrence information pair, and the co-occurrence information between the recommended information is the co-occurrence relationship between the recommended information. In addition, the information processing device can also obtain the co-occurrence information between the recommended information based on the co-occurrence number threshold; that is, the information processing device obtains the co-occurrence information between the recommended information by filtering out the co-occurrence information pairs whose co-occurrence times are lower than the co-occurrence number threshold.

[0123] In an embodiment of the present application, before step 102, a process of screening each piece of information to be aggregated is also included; that is, before the information processing device aggregates each embedded feature corresponding to each piece of information to be aggregated and obtains the semantic feature, the information processing method also includes: when the co-occurrence quantity is greater than a quantity threshold, the information processing device selects a quantity threshold number of co-occurrence recommendation information from the recommendation information acquisition result; and determines each co-occurrence recommendation information in the quantity threshold number of co-occurrence recommendation information as one piece of information to be aggregated.

[0124] It should be noted that the co-occurrence number is the number of co-occurring recommended information in the recommendation information acquisition result. A quantity threshold is set in the information processing device, or the information processing device can obtain the quantity threshold from other devices. The quantity threshold represents the maximum number of recommended information to be aggregated that co-occurs with the information to be recommended. Therefore, when the co-occurrence number is greater than the quantity threshold, it indicates that the number of co-occurring recommended information in the recommendation information acquisition result is large. In order to simplify the amount of aggregated data, here, the information processing device selects the quantity threshold number of co-occurring recommended information from the recommendation information acquisition result, and determines the quantity threshold number of co-occurring recommended information, at least one target attribute and the information to be recommended as each piece of information to be aggregated.

[0125] In an embodiment of the present application, the information processing device may also set different sub-quantity thresholds for each hop to achieve control over the number of co-occurring recommendation information in each hop; at this time, when the co-occurrence number is greater than the sub-quantity threshold for each hop, the information processing device selects a sub-quantity threshold number of co-occurrence recommendation information from the co-occurrence recommendation information set, the sub-co-occurrence number being the number of co-occurrence recommendation information in each hop of the recommendation information acquisition result, and the co-occurrence recommendation information set being a set consisting of co-occurrence recommendation information in each hop.

[0126] In the embodiment of the present application, the aggregation of semantic features and the acquisition of feature similarity can be achieved through a correlation model; see Figure 7 , Figure 7 is a schematic diagram of the model training process provided by the embodiment of the present application, wherein: Figure 7 The execution subject of each step in is the information processing device; Figure 7 As shown, the correlation model is obtained through steps 111 to 113, and each step is described below.

[0127] Step 111: Obtain K-hop sample neighbor data of each to-be-recommended sample in the to-be-recommended sample pair from the sample heterogeneous data.

[0128] It should be noted that the sample heterogeneous data includes the co-occurrence information between each recommended sample and at least one sample attribute of each recommended sample, and the K-hop sample neighbor data includes the sample to be recommended, at least one target sample attribute of the sample to be recommended, and the acquisition result of the recommended sample co-occurring with the sample to be recommended within K hops. In addition, the sample heterogeneous data and the information heterogeneous data can be the same or the same type of information, which is not limited in the embodiments of the present application; the related processing process of the sample to be recommended is similar to that of the information to be recommended, the related processing process of each recommended sample is similar to that of each recommended information, the related processing process of the K-hop neighbor data is similar to that of the K-hop sample neighbor data, the related processing process of the sample attribute is similar to that of the attribute, and the related processing process of the target sample attribute is similar to that of the target attribute, which will not be described repeatedly in the embodiments of the present application.

[0129] Step 112: Based on the model to be trained, feature aggregation is performed on each sample to be aggregated in each K-hop sample neighbor data to obtain sample semantic features, and sample semantic feature pairs of the sample pairs to be recommended are predicted to obtain prediction correlations.

[0130] It should be noted that the model to be trained is a network model to be trained for predicting correlation, which can be an originally constructed neural network model or a pre-trained neural network model, etc., and the embodiments of the present application are not limited to this; the process of the information processing device acquiring the semantic features of the samples is similar to the process of acquiring the semantic features, and the process of acquiring the predicted correlation is similar to the process of acquiring the correlation between at least two pieces of information to be recommended, and the embodiments of the present application will not be repeated here.

[0131] Step 113: Based on the difference between the predicted correlation and the correlation label of the sample pair to be recommended, the model to be trained is trained to obtain a correlation model.

[0132] It should be noted that there is a real correlation between the pairs of samples to be recommended. Here, the real correlation between the pairs of samples to be recommended is called a correlation label. The correlation label can be obtained through manual annotation, or it can be automatically determined based on the sameness of attributes and the number of co-occurrences, or it can be determined based on random sampling, etc. The embodiments of the present application are not limited to this. In addition, the correlation label can indicate that the samples to be recommended are similar, for example, represented by 1, or it can indicate that the samples to be recommended are not similar, for example, represented by 0.

[0133] In an embodiment of the present application, an information processing device obtains a loss function value based on the difference between the predicted correlation and the correlation label of the sample pair to be recommended, and performs backpropagation in the model to be trained based on the loss function value to adjust the model parameters of the model to be trained, thereby realizing the training of the model to be trained; wherein, the training of the model to be trained can be iterative, and in the process of iterative training of the model to be trained, when the iteration end condition is met, the iterative training is ended, and the currently trained model to be trained is determined as the correlation model; wherein, the iteration end condition can be determined based on at least one of the training duration, the number of iterations, and the correlation prediction accuracy.

[0134] In the examples of this application, see Figure 8 , Figure 8 This is a flow chart of the information processing method provided in the embodiment of the present application. Figure 2 ;in, Figure 8 The execution subject of each step in is the information processing device; Figure 8 As shown, step 103 also includes step 114 and step 115; that is, after the information processing device determines the correlation between at least two pieces of information to be recommended based on the feature similarity between at least two semantic features, the information processing method also includes step 114 and step 115, and each step is described below.

[0135] Step 114: Obtain, from the correlations between at least two pieces of information to be recommended, a target correlation between the target information to be recommended and each piece of remaining information to be recommended in the sequence of remaining information to be recommended.

[0136] It should be noted that the target information to be recommended is any one of the at least two information to be recommended, and the remaining information to be recommended is at least one of the at least two information to be recommended except the target information to be recommended. Here, the information processing device can obtain at least one target correlation corresponding to the target information to be recommended and the sequence of the remaining information to be recommended.

[0137] Step 115: Based on the target relevance, a specified number of remaining information to be recommended selected from the remaining information to be recommended sequence is determined as a recommendation result.

[0138] It should be noted that when the remaining information to be recommended sequence includes multiple remaining information to be recommended, the information processing device selects a specified number of remaining information to be recommended with the largest target correlation from the remaining recommended information sequence based on multiple target correlations corresponding to the target information to be recommended and the multiple remaining information to be recommended, and determines the selected specified number of remaining information to be recommended with the largest target correlation as the recommendation result.

[0139] Continue to see Figure 8 In an embodiment of the present application, step 114 also includes steps 116 to 118; that is, after the information processing device obtains the target correlation between the target information to be recommended and each remaining information to be recommended in the remaining information to be recommended sequence from the correlation between at least two information to be recommended, the information processing method also includes steps 116 to 118, and each step is explained below.

[0140] Step 116: In the remaining sequence of information to be recommended, count the number of remaining information to be recommended whose target relevance is greater than a relevance threshold.

[0141] In an embodiment of the present application, when the remaining information to be recommended sequence includes multiple pieces of remaining information to be recommended, the information processing device counts the number of remaining information to be recommended in the remaining information to be recommended sequence whose target correlation is greater than the correlation threshold, thereby obtaining the relevant number; wherein the correlation threshold represents the minimum threshold for determining whether the target information to be recommended is correlated with the remaining information to be recommended.

[0142] Step 117: Determine the recommendation concentration based on the relevant quantity and the total relevant quantity of the remaining information to be recommended in the remaining information sequence to be recommended.

[0143] It should be noted that the total relevant number refers to the number of remaining information to be recommended in the remaining information sequence to be recommended; here, the recommendation concentration obtained by the information processing device is positively correlated with the relevant number and negatively correlated with the total relevant number.

[0144] Step 118: Determine the recommendation result by combining the recommendation concentration and the remaining information sequence to be recommended.

[0145] In the embodiment of the present application, the information processing device can obtain a concentration threshold, which indicates the minimum value of whether the recommended information is concentrated; therefore, when the recommended concentration is greater than the concentration threshold, it indicates that the recommended information is relatively concentrated. At this time, the information processing device combines the recommended information selected from the remaining information sequence to be recommended and the recommended information whose target correlation is lower than the correlation threshold as the recommendation result; and when the recommended concentration is less than or equal to the concentration threshold, it indicates that the recommended information is relatively dispersed. At this time, the remaining information sequence to be recommended is determined as the recommendation result. In this way, the control of the recommendation concentration can be achieved, thereby improving the diversity of information recommendation.

[0146] The following is an exemplary application of an embodiment of the present application in an actual application scenario. The exemplary application describes extracting K-hop subgraphs (called K-hop neighbor data) corresponding to any two videos (called at least two pieces of information to be recommended) from a heterogeneous information network (called information heterogeneous data), and calculating the correlation of the two extracted K-hop subgraphs through a correlation model, and determining the correlation of the two K-hop subgraphs as the correlation of the two videos.

[0147] See also Fig. 9 , Fig. 9 is an exemplary flowchart of determining correlation provided by an embodiment of the present application, wherein: Fig. 9 The execution subject of each step in is the server; Fig. 9 As shown, the exemplary process of determining correlation includes steps 901 to 905, and each step is described below.

[0148] Step 901: Construct a new heterogeneous information network.

[0149] It should be noted that see Fig.10 , Fig.10 is a schematic diagram of an exemplary heterogeneous information network provided in an embodiment of the present application; Fig.10 As shown, in the heterogeneous information network 10-1 (denoted as G), there are account node sets 10-11 (denoted as U), video node sets 10-12 (denoted as V, referred to as each recommended sample), and attribute node sets 10-131 to 10-13n (denoted as A1, ..., A n, n is a positive integer); wherein each attribute node set corresponds to an attribute category. In addition, in the heterogeneous information network 10-1, it also includes edges between the account node set 10-11 and the video node set 10-12 (expressed as E, E∈U×V), indicating that there is interaction between the account nodes in the account node set 10-11 and the video nodes in the video node set 10-12 (for example, (u, v)∈E, indicating that there is interaction between the account node u∈U and the video node v∈V), and each edge in E includes the interaction time between the account node and the video node; in the heterogeneous information network 10-1, it also includes edges between the account node set 10-11 and the attribute node set 10-131 to the attribute node set 10-13n (expressed as E1,…,E n ) indicates that the semantic labels corresponding to the video nodes in the video node set 10-12 are the attribute nodes in the attribute node set 10-131 to the attribute node set 10-13n; that is, the edge set E i , i∈{1,…,n} means that the video nodes in the video node set V include the i-th attribute node set A i The attribute nodes in E, (v,a)∈E i Indicates that the video node is in the i-th attribute node set A i Includes attribute node a.

[0150] Here, according to Fig.10 The heterogeneous information network G=(U,V,A1,…,A n ,E,E1,…,E n ), building a new heterogeneous information network G I (called sample heterogeneous data).

[0151] First, construct a video co-occurrence network between each video node in the video node set V (called the co-occurrence information between each recommended sample). The video co-occurrence network refers to the co-occurrence edge set E between each video node. I∈V×V, represents the co-occurrence relationship between videos. When constructing a video co-occurrence network, the video nodes interacted (e.g., watched) by each account node are first sorted according to the interaction time, and the co-occurrence relationship between each video node is determined based on a pre-set time window (e.g., 10 minutes, 20 minutes, etc., called the co-occurrence time window); since the videos interacted by the same account in the same time window are similar, in the sorted video node sequence (called the recommendation information sequence), it is determined that there is a co-occurrence edge between each video node in the same time window of the same account, and the number of co-occurrences is accumulated for the co-occurrence edge, and the number of co-occurrences is used as the co-occurrence weight; thus, a co-occurrence edge set is obtained. Here, a co-occurrence weight threshold (called the co-occurrence number threshold) can also be set, such as 3 times, to filter out co-occurrence edges with low correlation (co-occurrence weight is lower than the co-occurrence weight threshold) to reduce noise.

[0152] Next, a new heterogeneous information network G of videos is constructed based on the video co-occurrence network. I From the heterogeneous information network G = (U, V, A1, ..., A n ,E,E1,…,E n ) deletes the user node set U and the edge E associated with the user node U, and joins the video co-occurrence network E I , thus obtaining the new heterogeneous information network G I =(V,A1,…,A n ,E I ,E1,…,E n ). I A collection of video nodes and various attribute nodes associated with the video nodes i , as well as video nodes and various attribute node sets A i Relationship E i .

[0153] See also Fig.11 , Fig.11 is a schematic diagram of an exemplary new heterogeneous information network provided in an embodiment of the present application; Fig.11 As shown, the new heterogeneous information network 11-1 is the heterogeneous information network 10-1 without the account node set and adding the video co-occurrence network E I (Example shows the video co-occurrence network E I The heterogeneous information network obtained after the edge 11-21 to the edge 11-25 in the I ∈V×V, represents the co-occurrence relationship between each video node in the video node set.

[0154] It is understandable that in the process of determining the correlation between video nodes, it is independent of the account node. Therefore, the interaction relationship between the video node and the account node is deleted, and the interaction relationship between the account node and the video node is converted into a co-occurrence relationship between video nodes, thereby simplifying the network structure and highlighting the relationship between video nodes.

[0155] Step 902: Obtain the embedded representation (called embedded feature) of each node in the new heterogeneous information network.

[0156] It should be noted that this step is used to obtain V, A1, ..., A n The embedded representation of each node (called recommendation information or attribute) in each node set in .

[0157] First, based on the heterogeneous information network C, the behavior sequence s of each account node u is obtained u ∈S, represents the sequence of video nodes v connected to each account node u∈U in the graph G; wherein the videos in the behavior sequence are arranged in chronological order based on the interaction time between the account and the video, S is the set of behavior sequences corresponding to the set of all account nodes, and is a set of video node sequences for the video node set V.

[0158] Secondly, based on the behavior sequence set (called multiple recommendation information sequences), obtain the attribute node set A i The attribute nodes in the set form an attribute node sequence set, thus obtaining the attribute node set A1,…,A n Here, for each video node in each behavior sequence in the behavior sequence set, determine the video node in the attribute node set A. i and replace the video node with the at least one attribute node; when at least one attribute node is replaced for all video nodes in the behavior sequence, an attribute node sequence corresponding to the behavior sequence is obtained; when corresponding attribute node sequences are obtained for all behavior sequences in the behavior sequence set, an attribute node set A is obtained. i The corresponding attribute node sequence set; then obtain the attribute node set A1,…,A n The corresponding n attribute node sequence sets. Among them, when the video node is in the attribute node set A i When at least one attribute node connected therein is a plurality of attribute nodes, the sorting order between the plurality of attribute nodes may be random.

[0159] Finally, for the video node set V and the attribute node set A1,…,A n The corresponding sequence sets are used to learn the embedded representation of each video node and the embedded representation of each attribute node based on the word vector algorithm.

[0160] Step 903: construct training data based on the new heterogeneous information network.

[0161] It should be noted that the training data includes positive sample data and negative sample data. The correlation label of the positive sample data is, for example, 1, and the correlation label of the negative sample data is, for example, 0. For the positive sample data, since E I represents the co-occurrence relationship between each video node in the video node set, so it can be I Based on E, we can filter the positive sample data for training the model. I Based on the two video nodes associated with the edge in , it is determined whether the number of commonalities between the two video nodes is greater than the number threshold, and whether they include the same attribute nodes, and the two video nodes whose number of commonalities is greater than the number threshold and include the same attribute nodes are determined as positive sample data; in addition, the positive sample data can also be manually labeled based on the relevance standard of the video recommendation scene.

[0162] Negative sample data can be obtained by random sampling in the video node set. Here, the ratio of positive sample data to negative sample data is preset, and the training data is constructed based on the ratio; for example, when the ratio is 1 to 5, for every video node pair representing positive sample data, 5 video node pairs representing negative sample data are randomly selected from the video node set.

[0163] Step 904: Train a correlation model based on the training data.

[0164] It should be noted that for each video node in each video node pair in the training data, the new heterogeneous information network G I The K-hop subgraph where the video node is located is extracted (called K-hop sample neighbor data). The K-hop subgraph consists of two parts. One part is the co-occurrence network (V, E I ) is the nodes within K hops centered on the video node v (called the recommended sample acquisition result), where the nodes within K hops centered on the video node v are obtained by breadth-first traversal centered on the video node v. The other part is all attribute nodes of the video node v (called at least one target attribute sample), and each attribute node is a direct neighbor of the video node v in each attribute node set (i.e., a 1-hop neighbor); in this way, the K-hop subgraph can be simplified, and the analyzability and accuracy of the information can be ensured.

[0165] For example, see Fig.12 , Fig.12 is a schematic diagram of an exemplary K-jump subgraph provided in an embodiment of the present application; Fig.12As shown, the K jumpers of video nodes 12-11 Figure 12-2 It includes the video node 12 - 11 , video nodes 12 - 12 to 12 - 19 that co-occur with the video node 12 - 11 within K hops (1 hop and 2 hops are shown as examples), and attribute nodes 12 - 21 to 12 - 25 of the video node 12 - 11 .

[0166] In the embodiment of the present application, for each video node pair (referred to as a recommended sample pair), the relevance of the video node pair is predicted by a relevance model to be trained (referred to as a model to be trained). Fig.13 , Fig.13 is a schematic diagram of an exemplary correlation model provided in an embodiment of the present application; Fig.13 As shown, the correlation model 13-1 to be trained includes a semantic tower 13-11 and a semantic tower 13-12, and also includes a matching layer 13-13; wherein the semantic tower 13-11 and the semantic tower 13-12 share model parameters, and each semantic tower is used to obtain the semantic features of a video node based on a K-hop subgraph of the video node; in addition, the matching layer 13-13 can use a cosine function (Cosine) to calculate the cosine similarity (called feature similarity) between two semantic features corresponding to the two video nodes, so as to determine the cosine similarity as the correlation between the two video nodes in the video node pair (called predicted correlation).

[0167] Next, based on a loss function (e.g., binary cross entropy), obtain the loss function value corresponding to the calculated correlation and the correlation label of the video node pair in the training data, and train the correlation model to be trained based on the loss function value to obtain a trained correlation model.

[0168] The processing of the semantic tower is explained below.

[0169] See also Fig.14 , Fig.14 is a schematic diagram of the structure of an exemplary semantic tower provided in the embodiment of the present application; Fig.14 As shown, semantic tower 14-1 (can be Fig.13 The semantic tower 13-11 in the Fig.13 The semantic tower 13-12 in the example includes an input layer 14-2, an embedding layer 14-3, a pooling layer 14-4, a concatenation layer 14-5, and a representation layer 14-6; and the semantic tower 14-1 can be Fig.10 The input layer 14-2, the embedding layer 14-3, the pooling layer 14-4, the concatenation layer 14-5 and the representation layer 14-6 are described below.

[0170] Input layer 14-2 is used to obtain video nodes and attribute nodes in the K-hop subgraph, including input layer 14-21 and input layer 14-22; wherein input layer 14-21 is the input layer of the video nodes in the K-hop subgraph, and input layer 14-22 is the input layer of the attribute nodes in the K-hop subgraph. In addition, each hop video node corresponds to an input layer, so that input layer 14-21 includes the input layer of the video node (called 0-hop video node) whose relevance is to be determined, and K input layers corresponding to the K-hop video nodes (the input layer of the 1-hop video node to the input layer of the K-hop video node). Here, each of the K input layers includes the longest sequence M1, for example, 10; when the number of video nodes in each hop is greater than M1, M1 video nodes are randomly selected from the full amount of video nodes of the hop and input into the corresponding input layer. Input layer 14-22 includes the attribute node set A1,…,A n The corresponding n input layers (the input layer of A1 to A n The input layer of n input layers), and the input of each input layer is the video node whose relevance is to be determined in A i The attribute sequence associated in , and each input layer includes the longest sequence M2, for example, 5; for the video node to be determined in A i When the number of attributes associated in is greater than M2, the video node whose relevance is to be determined is selected in A i Among all the attributes associated in , M2 attributes are randomly selected and input into the corresponding input layer.

[0171] The embedding layer 14-3 is used to match each video node and each attribute node obtained by the input layer 14-2 to an embedded representation from the embedded representation of each node of the new heterogeneous information network obtained in step 902. Among them, each video node obtained from the input layer 14-2 shares the embedding layer 14-31, and each A obtained from the input layer 14-2 i The attribute node of A1 corresponds to an embedding layer, thus corresponding to the attribute node set A1,…,A n , the embedded layer 14 - 3 also includes embedded layers 14 - 321 to embedded layers 14 - 32n.

[0172] The pooling layer 14-4 is used to convert the W×D-dimensional tensor output by the embedding layer into a 1×D tensor, where W is the number of nodes (video nodes or attribute nodes) and D is the dimension of the embedded feature. Here, based on the pooling layer 14-4, the output of the embedding layer of the video nodes of 0 to K hops and the output of the embedding layer of each attribute node set are respectively subjected to global average pooling operations, thereby obtaining the pooled representation corresponding to the video nodes of 0 to K hops and the pooled representation corresponding to each attribute node set.

[0173] The concatenation layer 14-5 is used to concatenate the two pooling representations obtained from the pooling layer 14-4 to obtain a complete embedding representation of the video node whose relevance is to be determined.

[0174] The representation layer 14-6 is used to learn the semantics of the complete embedded representation obtained from the splicing layer 14-5 to obtain the semantic features of the video nodes whose relevance is to be determined; wherein, the representation layer 14-6 can be implemented by superimposing multiple layers of fully connected layers.

[0175] Step 905: predict the correlation between any two video nodes in the new heterogeneous information network based on the correlation model.

[0176] It should be noted that after the above correlation model is trained, the semantic features of the video nodes in the video node set can be extracted using the "semantic tower" on either side. Then, the cosine similarity of the two semantic features is calculated through the matching layer to obtain the correlation of the video nodes.

[0177] It should be noted that after obtaining the correlation between two videos, the video can be recalled and sorted based on the correlation in the recommendation service; the concentration of the recommended videos can also be determined based on the correlation in the recommendation service, thereby controlling the diversity of the recommended videos based on the concentration.

[0178] In the embodiment of the present application, the video node is the video, and the attribute node is the attribute.

[0179] It can be understood that the embodiment of the present application utilizes the interactive relationship between the account and the video to obtain the video co-occurrence network, and based on the video co-occurrence network, the association between the video node and various attributes, constructs a heterogeneous information network for obtaining the video K-jump subgraph; when calculating the correlation between two video nodes, based on the K-jump subgraph of the two video nodes, the correlation between the two video nodes can be predicted; that is, based on the correlation model, the two K-jump subgraphs of the two videos obtained are processed, and the correlation between the two videos can be predicted, and the lightweight prediction of the correlation can be achieved, which can improve the efficiency of correlation acquisition. In addition, since the K-jump subgraph includes the video nodes within the K-jumps where the video nodes co-occur and the attributes of the video nodes, the accuracy and richness of the feature vectors of the video nodes are improved, and the accuracy of the correlation can be improved; even for the cold start video newly added to the recommendation system, since accurate semantic features can still be obtained based on the various attributes associated with the video, and the correlation between the video and other videos can be accurately obtained based on the semantic features, the cold start problem can be solved. In addition, since the embodiment of the present application is used to obtain the heterogeneous information network of the video K-hop subgraph, including the video co-occurrence network, the association between video nodes and various attributes, which is independent of the account size, it can simplify the heterogeneous information network, thereby reducing the consumption of computing resources and storage resources and improving the versatility of correlation acquisition.

[0180] The method for predicting correlation provided in the embodiment of the present application can also be applied to other recommendation services such as product recommendation, music recommendation, search keyword recommendation, etc.; since the process of obtaining correlation is similar, the embodiment of the present application will not be repeated here.

[0181] The following is a description of an exemplary structure of the information processing device 455 provided in the embodiment of the present application implemented as a software module. In some embodiments, Figure 2 As shown, the software modules stored in the information processing device 455 of the memory 450 may include:

[0182] The feature acquisition module 4551 is used to perform the following processing on each of the at least two pieces of information to be recommended: acquiring K-hop neighbor data of the information to be recommended from the information heterogeneous data, wherein the information heterogeneous data includes co-occurrence information between each piece of recommended information and at least one attribute of each piece of recommended information, and the K-hop neighbor data includes the information to be recommended, at least one target attribute of the information to be recommended, and the acquisition result of the recommended information co-occurring with the information to be recommended within K hops, where K is a positive integer; aggregating each embedded feature corresponding to each piece of information to be aggregated to obtain a semantic feature, wherein the information to be aggregated is the recommended information or the target attribute in the K-hop neighbor data;

[0183] The correlation determination module 4552 is used to determine the correlation between at least two pieces of information to be recommended based on the feature similarity between at least two of the semantic features, wherein at least two of the semantic features correspond one-to-one to at least two pieces of information to be recommended.

[0184] In an embodiment of the present application, when the recommendation information acquisition result indicates at least one co-occurring recommendation information that co-occurs with the information to be recommended within K hops, the recommendation information in the K-hop neighbor data is the information to be recommended or the co-occurring recommendation information, wherein the co-occurring recommendation information refers to the recommendation information that co-occurs with the information to be recommended; the feature acquisition module 4551 is also used to combine the first embedded feature and at least one second embedded feature to obtain a first feature to be aggregated, wherein the first embedded feature is the embedded feature of the information to be recommended, and the second embedded feature is the embedded feature of the co-occurring recommendation information; integrate at least one third embedded feature to obtain a second feature to be aggregated, wherein the third embedded feature is the embedded feature of the target attribute; aggregate the first feature to be aggregated and the second feature to be aggregated to obtain a first aggregated feature; perform semantic extraction on the first aggregated feature to obtain the semantic feature of the information to be recommended.

[0185] In an embodiment of the present application, when the recommendation information acquisition result indicates that there is no co-occurring recommended information of the information to be recommended within K hops, the recommended information in the K-hop neighbor data is the information to be recommended; the feature acquisition module 4551 is also used to aggregate the first embedded feature and the second feature to be aggregated to obtain a second aggregated feature, wherein the second feature to be aggregated is obtained by integrating at least one third embedded feature corresponding to at least one of the target attributes; and semantic extraction is performed on the second aggregated feature to obtain the semantic feature of the information to be recommended.

[0186] In an embodiment of the present application, the information processing device 455 also includes an embedded representation module 4553, which is used to obtain a recommendation information sequence interacted by each account from each recommendation information; determine the embedded features of each recommendation information based on multiple recommendation information sequences corresponding to multiple accounts; replace the corresponding recommendation information in the recommendation information sequence based on at least one attribute of each recommendation information in the recommendation information sequence to obtain an attribute sequence; determine the embedded features of each attribute in the information heterogeneous data based on multiple attribute sequences corresponding to multiple recommendation information sequences.

[0187] In an embodiment of the present application, the information processing device 455 also includes a co-occurrence determination module 4554, which is used to determine, in the recommendation information sequence, any two of the recommendation information within the co-occurrence time window as a co-occurrence information pair; count the number of co-occurrences of each of the co-occurrence information pairs in multiple recommendation information sequences; and combine each of the co-occurrence information pairs and the number of co-occurrences corresponding to each of the co-occurrence information pairs into co-occurrence information between each of the recommendation information.

[0188] In an embodiment of the present application, the embedding representation module 4553 is also used to replace the corresponding recommendation information in the recommendation information sequence based on the attribute association result of each recommendation information in each attribute category in the recommendation information sequence, and obtain a sub-attribute sequence, wherein at least one of the attributes includes at least one attribute association result corresponding to at least one attribute category, and the attribute sequence includes at least one sub-attribute sequence corresponding to at least one attribute category; and the following processing is performed for each attribute category: based on multiple sub-attribute sequences corresponding to multiple recommendation information sequences, determine the embedding features of each attribute in each attribute category of the information heterogeneous data, wherein the multiple attribute sequences include multiple sub-attribute sequences corresponding to each attribute category.

[0189] In an embodiment of the present application, the feature acquisition module 4551 is also used to obtain a second embedded feature set corresponding to each hop within K hops from at least one of the second embedded features; obtain a pooled feature of the second embedded feature set, and fuse the pooled feature with the combination weight corresponding to the second embedded feature set to obtain a feature to be combined; combine the first embedded feature with K features to be combined to obtain the first feature to be aggregated.

[0190] In the application embodiment, the information processing device 455 also includes an information screening module 4554, which is used to select the co-occurrence recommendation information of the threshold number from the recommendation information acquisition result when the co-occurrence number is greater than the threshold number, wherein the co-occurrence number is the number of the co-occurrence recommendation information in the recommendation information acquisition result; and determine each of the co-occurrence recommendation information of the threshold number as the information to be aggregated.

[0191] In the application embodiment, the aggregation of the semantic features and the acquisition of the feature similarity are achieved through a correlation model. At this time, the information processing device 455 also includes a model training module 4555, which is used to obtain K-hop sample neighbor data of each sample to be recommended in the sample pair to be recommended from the sample heterogeneous data, wherein the sample heterogeneous data includes co-occurrence information between each recommended sample and at least one sample attribute of each recommended sample, and the K-hop sample neighbor data includes the sample to be recommended, at least one target sample attribute of the sample to be recommended, and the acquisition result of the recommended sample co-occurring with the sample to be recommended within K hops; based on the model to be trained, each sample to be aggregated in each of the K-hop sample neighbor data is feature aggregated to obtain sample semantic features, and the sample semantic feature pairs of the sample pair to be recommended are predicted to obtain predicted correlation, wherein the model to be trained is a network model to be trained for predicting correlation; based on the difference between the predicted correlation and the correlation label of the sample pair to be recommended, the model to be trained is trained to obtain the correlation model.

[0192] In an embodiment of the present application, the information processing device 455 also includes an information application module 4556, which is used to obtain the target correlation between the target information to be recommended and each remaining information to be recommended in the remaining information to be recommended sequence from the correlation between at least two of the information to be recommended, wherein the target information to be recommended is any one of the at least two information to be recommended, and the remaining information to be recommended is the information to be recommended other than the target information to be recommended in the at least two information to be recommended; based on the target correlation, a specified number of the remaining information to be recommended selected from the remaining information to be recommended sequence is determined as the recommendation result.

[0193] In an embodiment of the present application, the information application module 4556 is also used to count the relevant number of the remaining information to be recommended whose target relevance is greater than a relevance threshold in the remaining information sequence to be recommended; determine the recommendation concentration based on the relevant number and the total relevant number of the remaining information to be recommended in the remaining information sequence to be recommended; and determine the recommendation result in combination with the recommendation concentration and the remaining information sequence to be recommended.

[0194] The embodiment of the present application provides a computer program product, which includes computer executable instructions or computer programs, and the computer executable instructions or computer programs are stored in a computer-readable storage medium. The processor of the electronic device reads the computer executable instructions or computer programs from the computer-readable storage medium, and the processor executes the computer executable instructions or computer programs, so that the electronic device performs the above-mentioned information processing method of the embodiment of the present application.

[0195] The present application embodiment provides a computer-readable storage medium, in which computer-executable instructions or computer programs are stored. When the computer-executable instructions or computer programs are executed by a processor, the processor will execute the information processing method provided by the present application embodiment, for example, Figure 3 The information processing method shown.

[0196] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.

[0197] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0198] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0199] As an example, computer-executable instructions may be deployed to be executed on one electronic device (in which case, this one electronic device is an information processing device), or on multiple electronic devices located at one location (in which case, multiple electronic devices located at one location are information processing devices), or on multiple electronic devices distributed at multiple locations and interconnected by a communication network (in which case, multiple electronic devices distributed at multiple locations and interconnected by a communication network are information processing devices).

[0200] It is understandable that in the embodiments of the present application, when the embodiments of the present application are applied to specific products or technologies, data related to the interaction information between the account and the recommendation information must be subject to user permission or consent, and the collection, use and processing of the relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0201] In summary, the embodiment of the present application aims at obtaining the correlation of each of the at least two pieces of information to be recommended, by obtaining the corresponding K-hop neighbor data from the sample heterogeneous data, so as to extract features based on the embedded features corresponding to each piece of information to be aggregated in the K-hop neighbor data; since the K-hop neighbor data is smaller in size than the full amount of information in the information heterogeneous data, the consumption of computing resources in the correlation acquisition process can be reduced, thereby improving the efficiency and versatility of correlation acquisition. In addition, the semantic features are at least obtained by aggregating the embedded features of the target attributes, thereby solving the cold start problem of the information to be recommended; and, when the information to be recommended includes co-occurring recommendation information within K hops, the semantic features aggregate both the embedded features of the co-occurring recommendation information and the embedded features of the target attributes, thereby improving the accuracy and richness of the semantic features, thereby improving the accuracy of correlation acquisition.

[0202] The above are only embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. An information processing method, characterized in that: The method comprises: The following processing is performed on each of the at least two pieces of information to be recommended: Acquire K-hop neighbor data of the information to be recommended from the information heterogeneous data, wherein the information heterogeneous data includes co-occurrence information between each piece of recommended information and at least one attribute of each piece of recommended information, and the K-hop neighbor data includes the information to be recommended, at least one target attribute of the information to be recommended, and a result of obtaining recommended information co-occurring with the information to be recommended within K hops, where K is a positive integer; Aggregating each embedded feature corresponding to each piece of information to be aggregated to obtain a semantic feature, wherein the information to be aggregated is the recommended information or the target attribute in the K-hop neighbor data; Based on the feature similarity between at least two of the semantic features, the correlation between at least two of the information to be recommended is determined, wherein at least two of the semantic features correspond one-to-one to at least two of the information to be recommended.

2. The method according to claim 1, characterized in that When the recommendation information acquisition result indicates at least one co-occurring recommendation information co-occurring with the information to be recommended within K hops, the recommendation information in the K-hop neighbor data is the information to be recommended or the co-occurring recommendation information, wherein the co-occurring recommendation information refers to the recommendation information co-occurring with the information to be recommended; The step of aggregating each embedded feature corresponding to each piece of information to be aggregated to obtain a semantic feature includes: Combining the first embedded feature and at least one second embedded feature to obtain a first feature to be aggregated, wherein the first embedded feature is the embedded feature of the information to be recommended, and the second embedded feature is the embedded feature of the co-occurrence recommendation information; Integrate at least one third embedded feature to obtain a second feature to be aggregated, wherein the third embedded feature is the embedded feature of the target attribute; Aggregating the first feature to be aggregated and the second feature to be aggregated to obtain a first aggregated feature; Perform semantic extraction on the first aggregated features to obtain the semantic features of the information to be recommended.

3. The method according to claim 1, characterized in that When the recommendation information acquisition result indicates that the information to be recommended has no co-occurring recommendation information within K hops, the recommendation information in the K-hop neighbor data is the information to be recommended; The step of aggregating each embedded feature corresponding to each piece of information to be aggregated to obtain a semantic feature includes: Aggregating the first embedded feature and the second feature to be aggregated to obtain a second aggregated feature, wherein the second feature to be aggregated is obtained by integrating at least one third embedded feature corresponding to at least one of the target attributes; Perform semantic extraction on the second aggregated features to obtain the semantic features of the information to be recommended.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: From each of the recommendation information, obtain a recommendation information sequence interacted by each account; Determining the embedded feature of each piece of recommendation information based on the plurality of recommendation information sequences corresponding to the plurality of accounts; Based on at least one of the attributes of each of the recommendation information in the recommendation information sequence, replace the corresponding recommendation information in the recommendation information sequence to obtain an attribute sequence; The embedded feature of each of the attributes in the information heterogeneous data is determined based on the plurality of attribute sequences corresponding to the plurality of recommendation information sequences.

5. The method according to claim 4, characterized in that After obtaining the recommendation information sequence interacted by each account from each of the recommendation information, the method further includes: In the recommendation information sequence, any two pieces of recommendation information within a co-occurrence time window are determined as a co-occurrence information pair; Counting the number of co-occurrences of each of the co-occurrence information pairs in the plurality of recommendation information sequences; The co-occurrence information pairs and the co-occurrence times corresponding to each co-occurrence information pair are combined into the co-occurrence information between the recommended information pairs.

6. The method according to claim 4, characterized in that The replacing the corresponding recommendation information in the recommendation information sequence based on at least one attribute of each recommendation information in the recommendation information sequence to obtain an attribute sequence includes: Based on the attribute association result of each of the recommended information in each attribute category in the recommended information sequence, the corresponding recommended information in the recommended information sequence is replaced to obtain a sub-attribute sequence, wherein at least one of the attributes includes at least one attribute association result corresponding to at least one of the attribute categories, and the attribute sequence includes at least one of the sub-attribute sequences corresponding to at least one of the attribute categories; The step of determining the embedding feature of each attribute in the information heterogeneous data based on the plurality of attribute sequences corresponding to the plurality of recommendation information sequences comprises: The following processing is performed for each of the attribute categories: The embedded feature of each attribute in each attribute category of the information heterogeneous data is determined based on a plurality of the sub-attribute sequences corresponding to a plurality of the recommendation information sequences, wherein the plurality of the attribute sequences include a plurality of the sub-attribute sequences corresponding to each of the attribute categories.

7. The method according to claim 2, characterized in that: The combining the first embedded feature and the at least one second embedded feature to obtain a first feature to be aggregated includes: Acquire a second embedding feature set corresponding to each hop within K hops from at least one of the second embedding features; Obtaining a pooled feature of the second embedded feature set, and fusing the pooled feature with a combination weight corresponding to the second embedded feature set to obtain a feature to be combined; The first embedded feature is combined with the K features to be combined to obtain the first feature to be aggregated.

8. The method according to any one of claims 1 to 3, characterized in that: Before aggregating the embedded features corresponding to the information to be aggregated to obtain the semantic features, the method further includes: When the co-occurrence number is greater than a number threshold, selecting the number threshold of co-occurrence recommendation information from the recommendation information acquisition result, wherein the co-occurrence number is the number of the co-occurrence recommendation information in the recommendation information acquisition result; Each of the co-occurrence recommendation information in the co-occurrence recommendation information of the number threshold is determined as the information to be aggregated.

9. The method according to any one of claims 1 to 3, characterized in that: The aggregation of the semantic features and the acquisition of the feature similarity are achieved through a correlation model, wherein the correlation model is obtained through the following steps: Acquire K-hop sample neighbor data of each to-be-recommended sample in the to-be-recommended sample pair from the sample heterogeneous data, wherein the sample heterogeneous data includes co-occurrence information between each recommended sample and at least one sample attribute of each recommended sample, and the K-hop sample neighbor data includes the to-be-recommended sample, at least one target sample attribute of the to-be-recommended sample, and a recommended sample acquisition result co-occurring with the to-be-recommended sample within K hops; Based on the model to be trained, feature aggregation is performed on each sample to be aggregated in each of the K-hop sample neighbor data to obtain sample semantic features, and sample semantic feature pairs of the sample pairs to be recommended are predicted to obtain predicted correlations, wherein the model to be trained is a network model to be trained for predicting correlations; Based on the difference between the predicted correlation and the correlation label of the to-be-recommended sample pair, the to-be-trained model is trained to obtain the correlation model.

10. The method according to any one of claims 1 to 3, characterized in that: After determining the correlation between at least two pieces of information to be recommended based on the feature similarity between at least two of the semantic features, the method further includes: From the correlation between at least two of the information to be recommended, obtaining a target correlation between the target information to be recommended and each of the remaining information to be recommended in the sequence of remaining information to be recommended, wherein the target information to be recommended is any one of the at least two information to be recommended, and the remaining information to be recommended is the information to be recommended other than the target information to be recommended in the at least two information to be recommended; Based on the target relevance, a specified number of the remaining information to be recommended is selected from the remaining information to be recommended sequence and determined as a recommendation result.

11. The method according to claim 10, characterized in that After obtaining the target correlation between the target information to be recommended and each of the remaining information to be recommended in the remaining sequence of information to be recommended from the correlation between at least two of the information to be recommended, the method further includes: In the remaining sequence of information to be recommended, counting the number of the remaining information to be recommended whose target relevance is greater than a relevance threshold; Determining a recommendation concentration based on the relevant number and the total relevant number of the remaining information to be recommended in the remaining information sequence to be recommended; The recommendation result is determined by combining the recommendation concentration and the remaining information sequence to be recommended.

12. An information processing device, characterized in that: The information processing device comprises: The feature acquisition module is used to perform the following processing on each of the at least two pieces of information to be recommended: acquiring K-hop neighbor data of the information to be recommended from the information heterogeneous data, wherein the information heterogeneous data includes co-occurrence information between each piece of recommended information and at least one attribute of each piece of recommended information, and the K-hop neighbor data includes the information to be recommended, at least one target attribute of the information to be recommended, and the acquisition result of the recommended information co-occurring with the information to be recommended within K hops, where K is a positive integer; aggregating each embedded feature corresponding to each piece of information to be aggregated to obtain a semantic feature, wherein the information to be aggregated is the recommended information or the target attribute in the K-hop neighbor data; The correlation determination module is used to determine the correlation between at least two pieces of information to be recommended based on the feature similarity between at least two of the semantic features, wherein at least two of the semantic features correspond to at least two pieces of information to be recommended in a one-to-one manner.

13. An electronic device for information processing, characterized in that: The electronic device comprises: A memory for storing computer executable instructions or computer programs; A processor, configured to implement the information processing method according to any one of claims 1 to 11 when executing computer executable instructions or computer programs stored in the memory.

14. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that: When the computer executable instructions or computer programs are executed by a processor, the information processing method according to any one of claims 1 to 11 is implemented.

15. A computer program product comprising computer executable instructions or a computer program, characterized in that: When the computer executable instructions or computer programs are executed by a processor, the information processing method according to any one of claims 1 to 11 is implemented.

Citation Information

Cited By

  • Resource recommendation method and device, model training method and device, equipment and medium

    CN120723977A