Method and device for recalling recommended objects, storage medium, and electronic device

Through the combination of chain structure and deep learning model, the score between the historical object and the object to be recommended is calculated, which solves the problem of poor recall accuracy and effect in the existing technology, realizes high-performance personalized recall service, and meets the needs of Meets high concurrency and low latency requirements.

CN113781087BActive Publication Date: 2024-10-22BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110127220.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-29
Publication Date
2024-10-22
Estimated Expiration
2041-01-29

AI Technical Summary

Technical Problem

In the existing technology, the two-stage recall technology based on collaborative filtering has insufficient accuracy, the diversity and discoverability of the recall effect are poor, and the inner product model vector recall cannot effectively utilize cross-features, resulting in poor recall effects.

Method used

Using a combination of chain structure and calculation process, the recommendation score between the historical object identification and the object identification to be recommended is calculated through the tree chain structure or the continuous index structure, and the deep learning model is used to optimize the score calculation and determine the recall object identification. for high-performance personalized recall.

Benefits of technology

It achieves high-performance personalized recall services for billions of objects, reduces the number of calculations and time-consuming calculations, meets the performance requirements for high concurrency and low latency online, and improves offline recall performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113781087B_ABST
    Figure CN113781087B_ABST
Patent Text Reader

Abstract

The present disclosure belongs to the field of computer technology, and relates to a method and device for recalling recommended objects, a storage medium, and an electronic device. The method includes: obtaining a historical object identifier, and determining a plurality of to-be-recommended object identifiers corresponding to the historical object identifier; wherein the plurality of to-be-recommended object identifiers are associated through a chain structure; calculating a plurality of to-be-recommended scores between the historical object identifier and the plurality of to-be-recommended object identifiers according to the chain structure; based on the chain structure, determining a recall object identifier among the plurality of to-be-recommended object identifiers according to the plurality of to-be-recommended scores, so as to recall according to the recall object identifier. On the one hand, the present disclosure effectively combines the chain structure with the calculation process, realizes a high-performance personalized recall service for objects at the billion level, and effectively reduces the number of calculations and the time consumption; on the other hand, it meets the performance requirements of high concurrency and low latency for online services, and also improves the recall performance in the offline process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method for recalling a recommended object, a device for recalling a recommended object, a computer-readable storage medium, and an electronic device. Background Art

[0002] With the popularization and rapid development of mobile Internet, online advertising has emerged. Online advertisers can programmatically purchase media resources and use algorithms and technologies to automatically achieve accurate target audience targeting, only delivering the right ads to the right people. Generally, this can be achieved through two methods: two-stage recall technology based on collaborative filtering and inner product model vector recall.

[0003] However, the two-stage recall technology based on "collaborative filtering" is not accurate enough, and the recall effect is not diverse and discoverable. The inner product model vector recall makes it impossible to effectively utilize cross-specificity, resulting in poor recall effect.

[0004] In view of this, there is an urgent need in the art to develop a new method and device for recalling recommended objects.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The purpose of the present disclosure is to provide a method for recalling recommended objects, a device for recalling recommended objects, a computer-readable storage medium and an electronic device, thereby at least to a certain extent overcoming technical problems such as insufficient recall accuracy and poor recall effect caused by limitations of related technologies.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to a first aspect of an embodiment of the present invention, a method for recalling a recommended object is provided, the method comprising: obtaining a historical object identifier, and determining a plurality of to-be-recommended object identifiers corresponding to the historical object identifier; wherein the plurality of to-be-recommended object identifiers are associated via a chain structure;

[0009] Calculating a plurality of to-be-recommended scores between the historical object identifier and the plurality of to-be-recommended object identifiers according to the chain structure;

[0010] Based on the chain structure, a recall object identifier is determined from among the multiple to-be-recommended object identifiers according to the multiple to-be-recommended scores, so as to perform recall according to the recall object identifier.

[0011] In an exemplary embodiment of the present invention, the step of calculating the multiple to-be-recommended scores between the historical object identifier and the multiple to-be-recommended object identifiers according to the chain structure includes:

[0012] If the chain structure is a tree-like chain structure, a plurality of interval tree-like levels are determined in the tree-like chain structure; wherein a next interval tree-like level in the plurality of interval tree-like levels is determined under a previous interval tree-like level;

[0013] A plurality of to-be-recommended scores between the historical object identifier and a plurality of to-be-recommended object identifiers in the plurality of interval tree levels are calculated.

[0014] In an exemplary embodiment of the present invention, the step of calculating the multiple to-be-recommended scores between the historical object identifier and the multiple to-be-recommended object identifiers according to the chain structure includes:

[0015] If the chain structure is a continuous index structure, a plurality of interval index levels are determined in the continuous index structure; wherein a next interval index level in the plurality of interval index levels is specified by a previous interval index level;

[0016] A plurality of to-be-recommended scores between the historical object identifier and a plurality of to-be-recommended objects in the plurality of interval index levels are calculated.

[0017] In an exemplary embodiment of the present invention, the step of calculating the multiple to-be-recommended scores between the historical object identifier and the multiple to-be-recommended object identifiers according to the chain structure includes:

[0018] If there are multiple historical object identifiers, calculating the multiple historical object identifiers and the multiple to-be-recommended object identifiers to obtain a score set;

[0019] A plurality of to-be-recommended scores corresponding to the plurality of historical object identifiers are determined in the score set.

[0020] In an exemplary embodiment of the present invention, the step of calculating the multiple to-be-recommended scores between the historical object identifier and the multiple to-be-recommended object identifiers according to the chain structure includes:

[0021] The historical object identifier and the multiple identifiers of objects to be recommended are input into a pre-trained deep learning model according to the chain structure, so that the deep learning model outputs multiple scores to be recommended.

[0022] In an exemplary embodiment of the present invention, the acquiring of the historical object identifier includes:

[0023] receiving an object recommendation request, wherein the object recommendation request carries terminal identification information;

[0024] The historical object identifier is obtained according to the terminal identifier information.

[0025] In an exemplary embodiment of the present invention, determining the recalled object identifier from the multiple to-be-recommended object identifiers according to the multiple to-be-recommended scores includes:

[0026] Comparing the multiple scores to be recommended to obtain a score comparison result;

[0027] A recall score is determined from among the multiple scores to be recommended according to the score comparison result, and a recalled object identifier is determined from among the multiple object identifiers to be recommended according to the recall score.

[0028] According to a second aspect of an embodiment of the present invention, there is provided a device for recalling a recommended object, the device comprising: an identification acquisition module, configured to acquire a historical object identification, and determine a plurality of to-be-recommended object identifications corresponding to the historical object identification; wherein the plurality of to-be-recommended object identifications are associated via a chain structure;

[0029] A score calculation module is configured to calculate a plurality of to-be-recommended scores between the historical object identifier and the plurality of to-be-recommended object identifiers according to the chain structure;

[0030] The object determination module is configured to determine a recall object identifier from among the multiple to-be-recommended object identifiers based on the chain structure and the multiple to-be-recommended scores, so as to perform recall according to the recall object identifier.

[0031] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor and a memory; wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the method for recalling a recommended object of any of the above exemplary embodiments is implemented.

[0032] According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for recalling a recommended object in any of the above exemplary embodiments is implemented.

[0033] It can be seen from the above technical solutions that the method for recalling recommended objects, the device for recalling recommended objects, the computer storage medium, and the electronic device in the exemplary embodiments of the present invention have at least the following advantages and positive effects:

[0034] In the method and apparatus provided by the exemplary embodiments of the present disclosure, on the one hand, the chain structure is effectively combined with the computing process to realize high-performance personalized recall services for hundreds of millions of objects, effectively reducing the number of calculations and computing time; on the other hand, the recall object identifier is determined according to different chain structures, which meets the performance requirements of high concurrency and low latency of online services and also improves the recall performance in the offline process.

[0035] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0037] Figure 1 A schematic diagram schematically illustrates a flow chart of a method for recalling a recommended object in an exemplary embodiment of the present disclosure;

[0038] Figure 2 A schematic diagram schematically illustrates a flow chart of a method for obtaining a historical object identifier in an exemplary embodiment of the present disclosure;

[0039] Figure 3 A schematic diagram schematically illustrates a flow chart of a method for determining a recommendation score using a tree-like chain structure in an exemplary embodiment of the present disclosure;

[0040] Figure 4 A schematic diagram schematically illustrates the effect of a tree-like chain structure in an exemplary embodiment of the present disclosure;

[0041] Figure 5 A schematic diagram schematically illustrates the effect of a method for generating a tree-like chain structure in an exemplary embodiment of the present disclosure;

[0042] Figure 6 A schematic diagram schematically illustrates a flow chart of a method for determining a score to be recommended using a continuous index structure in an exemplary embodiment of the present disclosure;

[0043] Figure 7 A schematic diagram schematically illustrates the effect of a continuous index structure in an exemplary embodiment of the present disclosure;

[0044] Figure 8 A schematic diagram schematically illustrates the effect of generating a tree-like hierarchical structure in cooperation with a deep learning model in an exemplary embodiment of the present disclosure;

[0045] Fig. 9A schematic diagram schematically illustrates a flow chart of a method for determining a score to be recommended according to a score set in an exemplary embodiment of the present disclosure;

[0046] Fig.10 A schematic diagram schematically illustrates the effect of calculating a score set in an exemplary embodiment of the present disclosure;

[0047] Fig.11 A schematic diagram schematically illustrates a flow chart of a method for determining a recalled object identifier in an exemplary embodiment of the present disclosure;

[0048] Fig.12 A schematic diagram schematically illustrates a flow chart of a method for recalling a recommended object in an application scenario in an exemplary embodiment of the present disclosure;

[0049] Fig.13 A schematic diagram schematically shows the structure of a device for recalling a recommended object in an exemplary embodiment of the present disclosure;

[0050] Fig.14 An electronic device for implementing a method for recalling a recommended object in an exemplary embodiment of the present disclosure is schematically shown;

[0051] Fig.15 A computer-readable storage medium for implementing a method for recalling a recommended object in an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0052] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0053] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0054] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and their repeated descriptions will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities.

[0055] With the popularization and rapid development of mobile Internet, online advertising has emerged. Online advertising refers to advertising placed on online media. Different from traditional advertising, online advertising has formed a technology-based advertising model with crowd-oriented and product-oriented in the development process of just over a decade.

[0056] Currently, programmatic advertising platforms use technology to conduct advertising transactions and management. Advertisers can programmatically purchase media resources and use algorithms and technologies to automatically achieve accurate target audience targeting, only delivering the right ads to the right people. However, with the rapid growth of mobile users and data, users have more and more interests, and how to use recommendation algorithms to deliver ads to the right people has become a key issue.

[0057] In the e-commerce environment, recommendation advertising is one of the most important forms of online advertising. It shows users the products that they are most likely to be interested in. The ad recall system is an important part of the recommendation advertising system. The role of the ad recall system can be summarized as taking the user's historical behavior as input and recalling the set of products that the user is most likely to be interested in from the entire product library.

[0058] Early recall systems would traverse the entire product library, use simple algorithms, and rely on relatively little computing power to recall the target set of items from the product library. With the development of the Internet, the number of users and products has expanded rapidly, and the growth rate has exceeded the speed of computing power improvement. The recall system that traverses the entire product library cannot obtain the target set of products within an acceptable time.

[0059] In the early days of the development of recommendation systems, in order to solve the contradiction between computing power and data volume, a two-stage recall technology based on "collaborative filtering" was generally used. The core idea of ​​this type of method is that "similar" users may be interested in "similar" products.

[0060] The two-stage recall technology first clusters products under similarity tags through various similarity calculation rules. During the recall, the first stage obtains and filters user behavior (products that users have browsed, followed, and purchased in the past) and recalls some tags; the second stage outputs the products under the similarity tags as a recalled set.

[0061] In the two-stage recall process, the second-stage product-to-product matching is the core step, and its matching rules rely on the similarity between products calculated offline. According to the triggering product and label (the result of the first stage), directly index the K products with the highest similarity. In general, the similarity between two products is characterized by the overlap of their respective user groups (browsing, clicking, paying attention to the product, etc.). The online recall system based on two-stage matching does not need to traverse the entire product library, and the computational complexity is only related to the richness of user behavior, avoiding the linear growth of computational overhead with the growth of data volume. It is low-cost and mature in technology, and is widely used in the industry.

[0062] With the development of interest modeling and indexing technology, the industry has gradually transitioned to inner product model vector recall to achieve one-step recall. On the index side, the increasingly sophisticated vector similarity recall technology provides efficiency guarantees for the application of this solution; on the model side, the core idea is to train the user interest model so that the distance measurement between the user vector and the product vector (such as inner product distance, etc.) produced by the model can represent the user's interest in the product. When providing online services, first input the user behavior into the user interest model and output a user vector; then use the approximate vector to recall all products in the library and recall the K products with the highest similarity. This type of method has achieved one-step recall of large-scale candidate sets for the first time.

[0063] The two-stage recall technology based on "collaborative filtering" is relatively simple to implement, but the rule-based similarity calculation and the two-stage recall mode of "user-label-product" limit the overall accuracy. In addition, since the overall recall idea is to find similarities based on historical behaviors, the recall results are poor in diversity and discoverability.

[0064] The inner product model vector recall relies on vector similarity, so it can only use the inner product model to measure the user's interest in products. Some more advanced model structures that can be used in the sorting stage, as well as some user-product cross-features, cannot be effectively utilized. In addition, there is inconsistency between the goals of vector index construction and model optimization. The optimization goal of the product quantization index is to minimize the approximation error, while the optimization goal of the vector recall is to maximize the TopK recall rate. This will result in the final recall effect not being optimal.

[0065] In view of the problems existing in the related art, the present disclosure proposes a method for recalling recommended objects, which is applied to a terminal. Figure 1 A flowchart of a method for recalling recommended objects is shown, such as Figure 1 As shown, the method for recalling the recommended object includes at least the following steps:

[0066] Step S110: Obtain the historical object identifier, and determine a plurality of to-be-recommended object identifiers corresponding to the historical object identifier; wherein the plurality of to-be-recommended object identifiers are associated via a chain structure.

[0067] Step S120: Calculate multiple to-be-recommended scores between the historical object identifiers and the multiple to-be-recommended object identifiers according to a chain structure.

[0068] Step S130: Based on the chain structure, determine the recalled object identifier from the multiple to-be-recommended object identifiers according to the multiple to-be-recommended scores, so as to perform the recall according to the recalled object identifier.

[0069] In the exemplary embodiments of the present disclosure, on the one hand, the chain structure is effectively combined with the computing process to realize high-performance personalized recall services for hundreds of millions of objects, effectively reducing the number of calculations and computing time; on the other hand, the recall object identifier is determined according to different chain structures, which meets the performance requirements of high concurrency and low latency of online services and also improves the recall performance in the offline process.

[0070] The following is a detailed description of each step of the method for recalling recommended objects.

[0071] In step S110, a historical object identifier is obtained, and a plurality of to-be-recommended object identifiers corresponding to the historical object identifier are determined; wherein the plurality of to-be-recommended object identifiers are associated via a chain structure.

[0072] In an exemplary embodiment of the present disclosure, Figure 2 A flow chart of a method for obtaining a historical object identifier is shown, Figure 2 As shown, the method at least includes the following steps: In step S210, an object recommendation request is received, and the object recommendation request carries terminal identification information.

[0073] The object recommendation request may be a request content such as an advertisement recommendation request, and the object recommendation request carries the terminal identification information of the recommended object. The terminal identification information may be identification information that uniquely represents the terminal, or identification information that uniquely represents the client used on the terminal, which is not specifically limited in this exemplary embodiment.

[0074] In step S220, the historical object identifier is obtained according to the terminal identifier information.

[0075] Further, after determining the terminal identification information, the historical object identification may be searched in the corresponding database. The historical object identification may be an identification representing the user's historical browsing object, or an object identification corresponding to other historical behaviors, which is not specifically limited in this exemplary embodiment.

[0076] In this exemplary embodiment, by acquiring historical object identifications based on terminal identification information, identification information of objects that the user is historically interested in can be collected, providing prior information for subsequent determination of the accuracy of the recalled object.

[0077] In step S120, multiple to-be-recommended scores between the historical object identifiers and the multiple to-be-recommended object identifiers are calculated according to a chain structure.

[0078] In an exemplary embodiment of the present disclosure, Figure 3 A schematic diagram of a process for determining a score to be recommended using a tree-like chain structure is shown. Figure 3 As shown, the method includes at least the following steps: in step S310, if the chain structure is a tree-like chain structure, multiple interval tree levels are determined in the tree-like chain structure; wherein the next interval tree level in the multiple interval tree levels is determined under the previous interval tree level.

[0079] Figure 4 A schematic diagram showing the effect of the tree-like chain structure is shown in FIG. Figure 4 As shown, taking the selection of an interval tree structure across two tree levels as an example, starting from the root node 1, child nodes 2 and 3 are obtained. At this time, the root node 1 is the previous interval tree level, and child nodes 2 and 3 are temporarily ignored. Instead, the level where child nodes 4, 5, 6 and 7 are located is obtained as the interval tree level, and this interval tree level is the next interval tree level. Obviously, the next interval tree levels 4, 5, 6 and 7 are below the level of the previous interval tree level 1.

[0080] Since the tree-like chain structure satisfies the maximum logarithm property, the father of the optimal TopK node in a certain layer must belong to the optimal TopK in the previous layer.

[0081] Therefore, child node 6 is the optimal node of this layer, and the subtree of child node 6 must contain the optimal node of the next interval tree level. By looping in this way, multiple interval tree level structures in the tree chain structure can be reached.

[0082] In step S320, a plurality of to-be-recommended scores between the historical object identifiers and a plurality of to-be-recommended object identifiers in a plurality of interval tree levels are calculated.

[0083] When determining that child node 6 is the optimal node in the interval tree hierarchy, multiple to-be-recommended scores between the historical object identifier and the to-be-recommended object identifiers of each node in the interval tree hierarchy can be calculated to determine the recalled object identifier based on the multiple to-be-recommended scores.

[0084] Figure 5 The schematic diagram of the effect of the generation method of the tree-like chain structure is shown as follows: Figure 5As shown in the figure, the tree-like chain structure not only has the maximum heap tree property, but also fully satisfies the property of a complete binary tree. A complete binary tree is a form of data organization and also a form of a binary tree. Compared with an ordinary binary tree, a complete binary tree has the smallest depth with the same number of nodes.

[0085] Moreover, the leaf nodes of the tree-like chain structure represent all the recommendable objects, such as all the products in the library, and the remaining nodes represent abstract interest aggregates. The granularity of interest aggregation from top to bottom is from coarse to fine.

[0086] In the recall process, first select the top node of the tree-like chain structure, that is, the root node, and calculate the recommended object identifier and historical behavior identifier corresponding to the root node to obtain the corresponding recommended score. The recommended score can represent the user's interest in the object corresponding to the recommended object identifier. Next, select the K nodes with the highest recommended scores. According to the maximum heap tree property of the tree-like chain structure, the objects of the K nodes with the highest matching degree with the user's interests must exist in the subtree of the K nodes selected this time. Therefore, other nodes in this layer are pruned. Then, select the child nodes of K nodes in the next layer or the next interval tree hierarchy structure, and repeat the calculation steps until the leaf layer is reached.

[0087] Obviously, when calculating multiple scores to be recommended for the tree-like chain structure, the scores in the tree-like chain structure may be calculated layer by layer, or the scores in multiple selected interval tree-like levels may be calculated across levels. This exemplary embodiment does not specifically limit this.

[0088] According to the maximum heap tree property of the tree-like chain structure, for any optimal node in the nth layer, the parent node of the node must be the optimal node in the n-1th layer. Therefore, as long as the optimal node of each layer is selected in the top-down search process, the optimal node of the next layer must be the child node of the node selected in this layer, and the final recall object identifier can be determined at the leaf layer of the tree-like chain structure.

[0089] For example, when the number of products in the entire library is N and the number of recalls is K, and the time complexity of calculating the recommended score of each layer of the tree chain structure is O(N), the time complexity is That is, the number of recalls * 2 * the number of model calculations (the depth of the tree). In practical applications, N is usually in the hundreds of millions, and K is in the hundreds of millions. For example, if N and K are 100 million and 200 respectively, it is necessary to score 100 million products through a tree-like chain structure, and only 7,400 calculations are required.

[0090] Furthermore, when searching the interval tree levels of the tree-like chain structure, the number of calculations can be reduced from 4 to 2 (the root node does not actually need to be calculated), and the number of input nodes of the word is reduced from 2 to 4. In other words, the calculation across m layers reduces the number of calculations by m times, increases the scale of a single calculation by m times, and the overall calculation complexity remains unchanged, and the efficiency is greatly improved.

[0091] In this exemplary embodiment, by calculating the scores to be recommended in the interval tree levels in the tree chain structure, the amount of data calculated each time can be increased and the number of calculations can be reduced while keeping the complexity unchanged, thereby greatly improving the calculation efficiency.

[0092] Figure 6 A flow chart showing a method for determining a score to be recommended using a continuous index structure is shown. Figure 6 As shown, the method includes at least the following steps: in step S610, if the chain structure is a continuous index structure, multiple interval index levels are determined in the continuous index structure; wherein the next interval index level in the multiple interval index levels is specified by the previous interval index level.

[0093] When in offline calculation process, you can use Figure 3 The calculation method of the tree-like chain structure is shown in FIG. In order to better improve the recall efficiency during the online calculation process, a continuous index structure can be used for calculation.

[0094] Figure 7 A schematic diagram showing the effect of a continuous index structure is shown in FIG. Figure 7 As shown, the subsequent candidate nodes of each node in the tree-like chain structure are clustered and placed in a continuous memory space, that is, the interval index level. At the same time, there is an index between each node and its interval index level, which is also stored in a continuous memory space. The serial number of each index in the memory space is the serial number of the node.

[0095] Among them, the continuous memory identification data is stored in a continuous control, and the address of any data can be directly found according to the index of the data.

[0096] Specifically, starting from node 1, candidate nodes 4, 5, 6, and 7 are specified according to the index of position "1", and the recommended object identifiers of the candidate nodes are calculated to obtain the optimal node 6. Further, candidate nodes 24, 25, 26, and 27 are determined according to the index of position "6" for subsequent calculations until the final recalled object identifier is determined.

[0097] In step S620, a plurality of to-be-recommended scores between the historical object identifier and a plurality of to-be-recommended objects in a plurality of interval index levels are calculated.

[0098] When determining that the optimal node is candidate node 6, the historical object identifier and the to-be-recommended object identifiers of candidate nodes 4, 5, 6 and 7 may be calculated to obtain the corresponding to-be-recommended scores, so as to determine that the optimal node is candidate node 6 according to the to-be-recommended scores.

[0099] In this exemplary embodiment, a continuous index structure is used to calculate the score to be recommended, thereby avoiding the layer-by-layer traversal of the tree-like chain structure and improving the operating efficiency during the online calculation process.

[0100] The method of calculating the recommended scores in step S320 and step S620 may be implemented through a deep learning model.

[0101] In an optional embodiment, the historical object identifier and multiple identifiers of objects to be recommended are input into a pre-trained deep learning model according to a chain structure, so that the deep learning model outputs multiple scores to be recommended.

[0102] Specifically, the deep learning model can be used to fit the classification samples, and the deep learning can be driven to approximate the maximum heap tree property. The classification samples include positive samples (objects of interest) and negative samples (objects of no interest), and the negative samples can be generated by random sampling at each layer.

[0103] The generation principle of the tree-like hierarchical structure and the deep learning model is to ensure that the calculation scores of the nodes of the tree-like hierarchical structure by the deep learning model satisfy the maximum heap tree property.

[0104] Figure 8 The schematic diagram shows the effect of the tree-like hierarchical structure generated by the deep learning model. Figure 8 As shown, node 18 is a product clicked by a user in a certain sample data, that is, a positive sample. According to the maximum heap tree property, the parent node of the positive sample, the parent node of the parent sample, and so on, are all positive samples, that is, nodes 9, 4, 2 and 1.

[0105] For this deep learning model, the weight of each node of the deep learning model can be adjusted so that the positive sample nodes 18, 9, 4, 2 and 1 get the highest score among all the nodes in the layer where the nodes are located, and the score of the negative samples is the lowest.

[0106] Since the deep learning model only focuses on sample fitting, the deep learning model can be a deep interest network (DIN) or other deep learning models, and this exemplary embodiment does not specifically limit this. Therefore, it also shows that the optimization upper limit of this calculation method is extremely high.

[0107] During calculation, in addition to calculations performed in step S320 and step S620, a deep learning model may be used to perform multi-batch calculations.

[0108] In an alternative embodiment, Fig. 9 A flow chart of a method for determining a score to be recommended based on a score set is shown. Fig. 9 As shown, the method at least includes the following steps: In step S910, if there are multiple historical object identifiers, multiple historical object identifiers and multiple to-be-recommended object identifiers are calculated to obtain a score set.

[0109] When multiple object recommendation requests are received, multiple historical object identifiers may be obtained. Furthermore, the calculation processes between the multiple historical object identifiers and the objects to be recommended may be combined to obtain a corresponding score set.

[0110] Fig.10 The schematic diagram of the effect of calculating the score set is shown in FIG. Fig.10 As shown, the calculations of three historical object identifiers and multiple to-be-recommended object identifiers are combined into the same input calculation, and the input is taken from the queue to be processed and input into the deep learning model, so that the deep learning model outputs a score set.

[0111] In step S920, a plurality of to-be-recommended scores corresponding to a plurality of historical object identifiers are determined in the score set.

[0112] Furthermore, the score set calculated by the deep learning model is distributed, that is, the scores to be recommended corresponding to the multiple historical identification objects are distributed to different input parties respectively.

[0113] The method of calculating the score set and determining the score to be recommended from the score set may be implemented based on an Nvidia graphics computing card (Graphics Processing Unit, GPU for short).

[0114] GPU has extremely strong parallel computing capabilities, which makes the calculation time of K values ​​within a certain range unchanged. According to the parallel computing characteristics of GPU, an optimization strategy for merging and processing multiple batches of computing tasks can be implemented.

[0115] In this exemplary embodiment, a score set is obtained through parallel calculation, thereby determining multiple scores to be recommended, reducing the number of calculations, improving the throughput of GPU calculations, reducing query time, avoiding the overhead loss of frequent GPU interactions, and improving GPU utilization.

[0116] In step S130, based on the chain structure, a recall object identifier is determined from a plurality of to-be-recommended object identifiers according to a plurality of to-be-recommended scores, so as to perform recall according to the recall object identifier.

[0117] In an exemplary embodiment of the present disclosure, when a plurality of to-be-recommended scores are determined layer by layer according to the chain structure, the calculation process may be looped to determine a recalled object identifier from a plurality of to-be-recommended object identifiers.

[0118] In an alternative embodiment, Fig.11 A flow chart of a method for determining a recall object identifier is shown, such as Fig.11 As shown, the method at least includes the following steps: In step S1110, a plurality of scores to be recommended are compared to obtain a score comparison result.

[0119] By comparing multiple scores to be recommended, the scores to be recommended can be sorted by comparing their sizes. Specifically, the sorting method can be from large to small or from small to large, and this exemplary embodiment does not make any special limitation on this.

[0120] In step S1120, a recall score is determined from among multiple to-be-recommended scores according to the score comparison result, and a recalled object identifier is determined from among multiple to-be-recommended object identifiers according to the recall score.

[0121] According to actual needs, the highest score among multiple recommended scores can be determined as the recall score, or the recall score equal to the recall quantity can be selected according to the recall quantity requirement. This exemplary embodiment does not make any special limitation on this.

[0122] After the recall score is determined, the to-be-recommended object identifier corresponding to the recall score is determined as the recalled object identifier.

[0123] In this exemplary embodiment, the recalled object identifier can be determined from the to-be-recommended object identifiers by comparison. The determination method is simple and accurate and is applicable to the needs of various recall scenarios.

[0124] After the recall object identifier is determined, the corresponding recall object can be determined according to the recall object identifier for recall processing.

[0125] The following is a detailed description of the method for recalling recommended objects in the embodiment of the present disclosure in conjunction with an application scenario.

[0126] Fig.12 A flowchart of a method for recalling recommended objects in an application scenario is shown, such as Fig.12 As shown, in step S1210, an advertisement recommendation request is obtained, and the advertisement recommendation request carries the client identification information of the object to be recommended, that is, the terminal identification information.

[0127] In step S1220, the historical object identifier corresponding to the historical behavior is searched in the database according to the client identifier information.

[0128] In step S1230, nodes of the tree-like chain structure are selected from top to bottom.

[0129] In step S1240, the historical object identifier of the user's historical behavior and the identifier of the object to be recommended of the selected node are input into the deep learning model.

[0130] In step S1250, the output of the model is the score of the tree node, and the top K nodes are selected according to the score. Specifically, the output of the deep learning model is the recommended score of the node in the tree chain structure, and the top K nodes are selected according to the recommended score.

[0131] In step S1260, the left and right child nodes of the TopK nodes are selected as input data for the next deep learning model estimation.

[0132] In step S1270, steps S1240 to S1260 are repeated until the leaf nodes of the tree-like chain structure are traversed and the leaf node scoring is completed.

[0133] In step S1280, the result of recommending products with the TopK leaf nodes as the object is returned.

[0134] The tree-like chain structure organizes the products in a tree structure. During the query process, the optimal tree node will be searched layer by layer until the leaf layer is reached. The deep learning model takes the tree node's identification of the object to be recommended and the historical object identification of the user's behavior as input, and inputs the user's interest in each node, that is, the score. The tree-like chain structure and the deep learning model work together with strong consistency, that is, the two are trained from the same data set, correct each other during training, and must keep the same version during the working process.

[0135] In the application scenario of the present invention, on the one hand, the chain structure is effectively combined with the computing process to realize high-performance personalized recall services for hundreds of millions of objects, effectively reducing the number of calculations and computing time; on the other hand, the recall object identifier is determined according to different chain structures, which meets the performance requirements of high concurrency and low latency of online services and also improves the recall performance in the offline process.

[0136] In addition, in an exemplary embodiment of the present disclosure, a device for recalling a recommended object is also provided. Fig.13 A schematic diagram of the structure of a device for recalling recommended objects is shown in FIG. Fig.13 As shown, the device 1300 for recalling recommended objects may include: an identification acquisition module 1310, a score calculation module 1320 and an object determination module 1330. Among them:

[0137] The identification acquisition module 1310 is configured to obtain the historical object identification and determine multiple to-be-recommended object identifications corresponding to the historical object identification; wherein the multiple to-be-recommended object identifications are associated through a chain structure; the score calculation module 1320 is configured to calculate multiple to-be-recommended scores between the historical object identification and the multiple to-be-recommended object identifications according to the chain structure; the object determination module 1330 is configured to determine the recall object identification from the multiple to-be-recommended object identifications based on the chain structure and according to the multiple to-be-recommended scores, so as to recall according to the recalled object identification.

[0138] The specific details of the above-mentioned recommended object recalling device 1300 have been described in detail in the corresponding recommended object recalling method, so they will not be repeated here.

[0139] It should be noted that although several modules or units of the recall device 1300 for recommending objects are mentioned in the above detailed description, such division is not mandatory. In fact, according to an embodiment of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units for concretization.

[0140] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0141] Refer to the following Fig.14 1400 according to this embodiment of the present invention is described. Fig.14 The electronic device 1400 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0142] like Fig.14 As shown, the electronic device 1400 is in the form of a general computing device. The components of the electronic device 1400 may include, but are not limited to: the at least one processing unit 1410, the at least one storage unit 1420, a bus 1430 connecting different system components (including the storage unit 1420 and the processing unit 1410), and a display unit 1440.

[0143] The storage unit stores program codes, which can be executed by the processing unit 1410, so that the processing unit 1410 executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.

[0144] The storage unit 1420 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 1421 and / or a cache storage unit 1422 , and may further include a read-only storage unit (ROM) 1423 .

[0145] The storage unit 1420 may also include a program / utility 1424 having a set (at least one) of program modules 1425, such program modules 1425 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0146] Bus 1430 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0147] The electronic device 1400 may also communicate with one or more external devices 1600 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1400, and / or communicate with any device that enables the electronic device 1400 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1450. In addition, the electronic device 1400 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1460. As shown, the network adapter 1460 communicates with other modules of the electronic device 1400 via a bus 1430. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0148] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0149] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible embodiments, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0150] refer to Fig.15 As shown, a program product 1500 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0151] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0152] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0153] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0154] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0155] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. A method for recalling recommended objects, It is characterized in that The method comprises: Acquire a historical object identifier, and determine a plurality of to-be-recommended object identifiers corresponding to the historical object identifier; wherein the plurality of to-be-recommended object identifiers are associated via a chain structure; Calculating a plurality of to-be-recommended scores between the historical object identifier and the plurality of to-be-recommended object identifiers according to the chain structure; Based on the chain structure, determining a recall object identifier from among the multiple to-be-recommended object identifiers according to the multiple to-be-recommended scores, so as to perform recall according to the recall object identifier; The step of calculating the multiple to-be-recommended scores between the historical object identifier and the multiple to-be-recommended object identifiers according to the chain structure includes: If the chain structure is a tree-like chain structure, a plurality of interval tree-like levels are determined in the tree-like chain structure; wherein a next interval tree-like level in the plurality of interval tree-like levels is determined under a previous interval tree-like level; A plurality of to-be-recommended scores between the historical object identifiers and the plurality of to-be-recommended object identifiers in the plurality of interval tree levels are calculated.

2. The method for recalling a recommended object according to claim 1, It is characterized in that The step of calculating the multiple to-be-recommended scores between the historical object identifier and the multiple to-be-recommended object identifiers according to the chain structure further includes: If the chain structure is a continuous index structure, a plurality of interval index levels are determined in the continuous index structure; wherein a next interval index level in the plurality of interval index levels is specified by a previous interval index level; A plurality of to-be-recommended scores between the historical object identifier and the plurality of to-be-recommended objects in the plurality of interval index levels are calculated.

3. The method for recalling a recommended object according to claim 1, It is characterized in that The step of calculating the multiple to-be-recommended scores between the historical object identifier and the multiple to-be-recommended object identifiers according to the chain structure further includes: If there are multiple historical object identifiers, calculating the multiple historical object identifiers and the multiple to-be-recommended object identifiers to obtain a score set; A plurality of to-be-recommended scores corresponding to the plurality of historical object identifiers are determined in the score set.

4. The method for recalling a recommended object according to claim 1, It is characterized in that The step of calculating the multiple to-be-recommended scores between the historical object identifier and the multiple to-be-recommended object identifiers according to the chain structure further includes: The historical object identifier and the multiple identifiers of objects to be recommended are input into a pre-trained deep learning model according to the chain structure, so that the deep learning model outputs multiple scores to be recommended.

5. The method for recalling a recommended object according to claim 1, It is characterized in that The obtaining of the historical object identifier includes: receiving an object recommendation request, wherein the object recommendation request carries terminal identification information; The historical object identifier is obtained according to the terminal identifier information.

6. The method for recalling a recommended object according to any one of claims 1 to 5, It is characterized in that The step of determining the recalled object identifier from the multiple to-be-recommended object identifiers according to the multiple to-be-recommended scores includes: Comparing the multiple scores to be recommended to obtain a score comparison result; A recall score is determined from among the multiple scores to be recommended according to the score comparison result, and a recalled object identifier is determined from among the multiple object identifiers to be recommended according to the recall score.

7. A device for recalling a recommended object, It is characterized in that include: The identification acquisition module is configured to acquire the historical object identification and determine a plurality of to-be-recommended object identifications corresponding to the historical object identification; wherein the plurality of to-be-recommended object identifications are associated via a chain structure; A score calculation module is configured to calculate a plurality of to-be-recommended scores between the historical object identifier and the plurality of to-be-recommended object identifiers according to the chain structure; an object determination module, configured to determine a recall object identifier from among the multiple to-be-recommended object identifiers based on the chain structure and according to the multiple to-be-recommended scores, so as to perform recall according to the recall object identifier; Among them, the calculation of multiple to-be-recommended scores between the historical object identifier and the multiple to-be-recommended object identifiers according to the chain structure includes: if the chain structure is a tree-like chain structure, determining multiple interval tree levels in the tree-like chain structure; wherein the next interval tree level in the multiple interval tree levels is determined under the previous interval tree level; calculating the multiple to-be-recommended scores between the historical object identifier and the multiple to-be-recommended object identifiers in the multiple interval tree levels.

8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method for recalling a recommended object described in any one of claims 1 to 6 is implemented.

9. An electronic device, It is characterized in that include: processor; A memory, configured to store executable instructions of the processor; The processor is configured to execute the method for recalling a recommended object as described in any one of claims 1 to 6 by executing the executable instructions.