A resource recommendation method, electronic device and server

By mapping user vectors to a shared space through a cross-domain recommendation model, new user vectors are generated, which solves the problem that users with relatively simple behaviors cannot be recommended across domains, and achieves the effect of recommending resources in the first domain based on behaviors in other domains.

CN117688231BActive Publication Date: 2026-11-27青岛聚看云科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211065615.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-01
Publication Date
2026-11-27
Estimated Expiration
2042-09-01

AI Technical Summary

Technical Problem

Existing resource recommendation methods cannot meet the cross-domain resource recommendation needs of users with relatively simple behaviors. For example, users who have only watched TV series cannot be recommended movie-related resources.

Method used

The cross-domain recommendation model inputs user vectors into a shared space to generate new user vectors. These new user vectors are then used to feed back resources from the first domain. The cross-domain recommendation model is trained based on multiple user vector samples. The association features represented by the user vector samples include behavioral features corresponding to the first and second domains.

Benefits of technology

Even if the target user does not engage in any behavior specific to the first domain, resources from the first domain can still be recommended to them based on behavioral characteristics from other domains, thus satisfying the cross-domain resource recommendation needs of users with relatively singular behaviors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117688231B_ABST
    Figure CN117688231B_ABST
Patent Text Reader

Abstract

The application provides a resource recommendation method, an electronic device and a server. After receiving a resource recommendation request, if the associated features represented by the user vector carried by the resource recommendation request do not include the behavior features of the first field, and the associated features represented by the user vector include the behavior features of the second field, the user vector is input into a cross-domain recommendation model to obtain a new user vector. The associated features represented by the new user vector include the behavior features corresponding to the first field. Finally, the first field resource is fed back to the electronic device according to the new user vector. In this way, even if the target user does not have behavior for the first field, the target user can be recommended the resource of the first field according to the behavior features of the target user in other fields, so as to meet the cross-domain resource recommendation demand of the user with single behavior.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a resource recommendation method, electronic device, and server. Background Technology

[0002] With the development of internet technology, browsing online resources has gradually become one of the main ways for users to enjoy their daily entertainment. Faced with a vast amount of information, users often struggle to find the information they need quickly and effectively. Therefore, resource recommendation systems have emerged, and how to accurately recommend resources to users has become a key concern for various resource platforms.

[0003] The process of resource recommendation on a resource platform typically involves: determining the recommendation probability of each candidate resource based on the user characteristics of the target user and the content characteristics of each candidate resource using a resource recommendation model; and then selecting resources with higher recommendation probabilities from among the many candidate resources and recommending them to the target user.

[0004] However, in cross-domain resource recommendation scenarios, current methods cannot provide personalized recommendations for users with relatively simple behaviors. For example, for a user who has only watched TV series, since they have no experience watching movies, it is impossible to recommend movie-related resources to them. Current resource recommendation methods fail to meet the cross-domain resource recommendation needs of users with relatively simple behaviors. Summary of the Invention

[0005] This application provides a resource recommendation method, electronic device, and server to address the problem that current resource recommendation methods cannot meet the cross-domain resource recommendation needs of users with relatively simple behaviors.

[0006] Firstly, this embodiment provides a server for performing:

[0007] The device receives a resource recommendation request input by a target user from an electronic device. The resource recommendation request carries a first domain identifier and a user vector of the target user. The first domain identifier is used to characterize that the resource recommendation request is for a first domain, and the user vector is used to characterize the relevance features of the target user.

[0008] If the association features represented by the user vector do not contain behavioral features corresponding to the first domain, but the association features represented by the user vector contain behavioral features corresponding to the second domain, then the user vector is input into the cross-domain recommendation model to obtain a new user vector. The association features represented by the new user vector contain behavioral features corresponding to the first domain, and resources of the first domain are fed back to the electronic device based on the new user vector. The cross-domain recommendation model is a model trained based on multiple user vector samples, and the association features represented by the user vector samples simultaneously contain behavioral features corresponding to both the first and second domains.

[0009] If the associated features represented by the user vector include behavioral features corresponding to the first domain, then the resources of the first domain are fed back to the electronic device based on the user vector.

[0010] Secondly, this embodiment provides an electronic device, including:

[0011] The controller is used to perform:

[0012] Send a resource recommendation request input by the target user to the server, wherein the resource recommendation request carries a first domain identifier and a user vector of the target user, the first domain identifier is used to characterize that the resource recommendation request is for a first domain, and the user vector is used to characterize the association features of the target user;

[0013] If the associated features represented by the user vector do not contain behavioral features corresponding to the first domain, but the associated features represented by the user vector contain behavioral features corresponding to the second domain, then the resource in the first domain found based on the new user vector is received from the server. The new user vector is a vector generated after inputting the user vector into the cross-domain recommendation model. The associated features represented by the new user vector contain behavioral features corresponding to the first domain. The cross-domain recommendation model is a model trained based on multiple user vector samples. The associated features represented by the user vector samples contain behavioral features corresponding to both the first and second domains.

[0014] If the associated features represented by the user vector include behavioral features corresponding to the first domain, then the resources of the first domain found based on the user vector are received from the server.

[0015] Thirdly, this embodiment provides a resource recommendation method, which is applied to a server and includes:

[0016] Receive a resource recommendation request input by a target user from an electronic device, wherein the resource recommendation request carries a first domain identifier and a user vector of the target user, the first domain identifier being used to characterize that the resource recommendation request is for a first domain, and the user vector being used to characterize the relevance features of the target user;

[0017] If the association features represented by the user vector do not contain behavioral features corresponding to the first domain, but the association features represented by the user vector contain behavioral features corresponding to the second domain, then the user vector is input into the cross-domain recommendation model to obtain a new user vector. The association features represented by the new user vector contain behavioral features corresponding to the first domain, and resources of the first domain are fed back to the electronic device based on the new user vector. The cross-domain recommendation model is a model trained based on multiple user vector samples, and the association features represented by the user vector samples simultaneously contain behavioral features corresponding to both the first and second domains.

[0018] If the associated features represented by the user vector include behavioral features corresponding to the first domain, then the resources of the first domain are fed back to the electronic device based on the user vector.

[0019] The resource recommendation method, electronic device, and server provided in this application embodiment, after receiving a resource recommendation request, if the user vector representing the association features carried in the resource recommendation request does not contain behavioral features of the first domain, but the association features represented by the user vector contain behavioral features corresponding to the second domain, then the user vector is input into a cross-domain recommendation model to obtain a new user vector. The association features represented by the new user vector contain behavioral features corresponding to the first domain. Finally, resources of the first domain are fed back to the electronic device based on the new user vector. The cross-domain recommendation model is a model trained based on multiple user vector samples. The association features represented by the user vector samples simultaneously contain behavioral features corresponding to both the first and second domains. If the association features represented by the user vector contain behavioral features corresponding to the first domain, then resources of the first domain are fed back to the electronic device based on the user vector. In this way, even if the target user has no behavior related to the first domain, resources of the first domain can still be recommended to the target user based on the target user's behavioral features in other domains, thereby meeting the cross-domain resource recommendation needs of users with relatively simple behaviors. Attached Figure Description

[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0021] Figure 1 An operational scenario between a display device and a control device according to some embodiments is illustrated;

[0022] Figure 2 A hardware configuration block diagram of a control device 100 according to some embodiments is shown;

[0023] Figure 3 A hardware configuration block diagram of a display device 200 according to some embodiments is shown;

[0024] Figure 4 A software configuration diagram of a display device 200 according to some embodiments is shown;

[0025] Figure 5 A schematic diagram illustrating the principle of a content-based personalized recommendation method according to some embodiments is shown;

[0026] Figure 6 A framework diagram of a resource recommendation system according to some embodiments is shown;

[0027] Figure 7 A schematic diagram illustrating the principle of vector mapping to a shared space according to some embodiments is shown;

[0028] Figure 8 A schematic diagram illustrating the principle of constructing a new user vector according to some embodiments is shown;

[0029] Figure 9 This diagram illustrates the principle of resource matching in a shared space according to some embodiments;

[0030] Figure 10 A schematic diagram of a user interface provided by a display device 200 according to some embodiments is shown;

[0031] Figure 11 A schematic diagram of yet another user interface provided by display device 200 according to some embodiments is shown;

[0032] Figure 12 A schematic diagram of yet another user interface provided by display device 200 according to some embodiments is shown;

[0033] Figure 13 A schematic diagram of yet another user interface provided by display device 200 according to some embodiments is shown;

[0034] Figure 14 A schematic diagram illustrating yet another principle for constructing a new user vector according to some embodiments is shown;

[0035] Figure 15 A signaling diagram is shown according to a resource recommendation method in some embodiments;

[0036] Figure 16 A flowchart of a resource recommendation method according to some embodiments is shown. Detailed Implementation

[0037] To make the objectives, technical solutions, and advantages of some embodiments of this application clearer, the technical solutions of some embodiments of this application will be clearly and completely described below with reference to specific embodiments and corresponding drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.

[0038] It should be noted that the brief descriptions of terms in some embodiments of this application are only for the convenience of understanding the implementation methods described below, and are not intended to limit the implementation methods of some embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0039] In some embodiments of this application, the terms "first," "second," "third," etc., in the specification, claims, and accompanying drawings are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms can be used interchangeably where appropriate.

[0040] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

[0041] The term "module" refers to any known or subsequently developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.

[0042] The term "remote control" as used in this application refers to a component of a display device (such as the display device disclosed in this application), which typically enables wireless control of the display device over a short distance. It generally connects to the display device using infrared and / or radio frequency (RF) signals and / or Bluetooth, and may also include functional modules such as WiFi, wireless USB, Bluetooth, and motion sensors. For example, a handheld touch remote control replaces most of the physical built-in hard buttons in a typical remote control device with a user interface on a touchscreen.

[0043] The electronic device in this application can be a display device or other electronic devices with voice assistant functions. The following description uses a display device as an example. Figure 1 This is a schematic diagram illustrating an operational scenario between a display device and a terminal device provided in some embodiments of this application. For example... Figure 1 As shown, users can operate the display device 200 through the mobile terminal 300 and the terminal device 100.

[0044] In some embodiments, the terminal device 100 may be a remote control. Communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, and other short-range communication methods, controlling the display device 200 wirelessly or via other wired means. Users can control the display device 200 by inputting user commands through buttons on the remote control, voice input, control panel input, etc.

[0045] In some embodiments, the mobile terminal 300 may install software applications with the display device 200 to establish a connection and communication via a network communication protocol, thereby achieving one-to-one control operation and data communication. Alternatively, audio and video content displayed on the mobile terminal 300 can be transmitted to the display device 200 to achieve synchronous display.

[0046] like Figure 1 The diagram also shows that the display device 200 communicates with the server 400 via various communication methods. This allows the display device 200 to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.

[0047] In addition to providing broadcast television reception functions, the display device 200 can also be equipped with intelligent network television functions that provide computer support, including but not limited to network television, smart television, Internet Protocol television (IPTV), etc.

[0048] Figure 2 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of display device 200.

[0049] In some embodiments, the display device 200 includes at least one of a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.

[0050] In some embodiments, the detector 230 is used to collect signals from the external environment or to interact with the outside world.

[0051] In some embodiments, the display 260 includes a display screen component for presenting images, a driving component for driving image display, a component for receiving image signals from the controller output, and components for displaying video content, image content, menu control interface, and user control UI interface, etc.

[0052] In some embodiments, the communicator 220 is a component for communicating with external devices or the server 400 according to various communication protocol types.

[0053] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display device 200.

[0054] In some embodiments, a user can input user commands through a graphical user interface (GUI) displayed on a display 260, and the user input interface receives user input commands through the graphical user interface (GUI).

[0055] In some embodiments, user interface 280 is an interface that can be used to receive control input.

[0056] Figure 3 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of the terminal device. (e.g.) Figure 3 As shown, the terminal device 100 includes a controller 111, a communication interface 130, a user input / output interface, a memory, and a power supply.

[0057] Terminal device 100 is configured to control display device 200, and to receive user input operation commands and convert the operation commands into commands that display device 200 can recognize and respond to, thus acting as an intermediary for interaction between user and display device 200.

[0058] In some embodiments, the terminal device 100 may be a smart device. For example, the terminal device 100 may be equipped with various applications that control the display device 200 according to user needs.

[0059] In some embodiments, such as Figure 1 As shown, mobile terminal 300 or other smart display devices can perform similar functions to terminal device 100 after installing the application that controls display device 200.

[0060] The controller 111 includes a processor 112, RAM 113, ROM 114, a communication interface 130, and a communication bus. The controller 111 is used to control the operation of the terminal device 100, as well as the communication and cooperation between internal components and the external and internal data processing functions.

[0061] Under the control of the controller 111, the communication interface 130 enables communication of control signals and data signals with the display device 200. The communication interface 130 may include at least one of other near-field communication modules such as WiFi chip 131, Bluetooth module 132, and NFC module 133.

[0062] User input / output interface 140, wherein the input interface includes at least one of other input interfaces such as microphone 141, touchpad 142, sensor 143, button 144, etc.

[0063] In some embodiments, the terminal device 100 includes at least one of a communication interface 130 and an input / output interface 140. The terminal device 100 is configured with the communication interface 130, such as a WiFi, Bluetooth, or NFC module, which can encode user input commands via WiFi, Bluetooth, or NFC protocols and send them to the display device 200.

[0064] The memory 190 is used to store various operating programs, data, and applications of the driving and control terminal device 100 under the control of the controller. The memory 190 can also store various control signal instructions input by the user.

[0065] The power supply 180 is used to provide operating power support for the various components of the terminal device 100 under the control of the controller.

[0066] Figure 4 Provided for some embodiments of this application Figure 1 The diagram shows the software configuration in the display device. In some embodiments, the system is divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the Android runtime and the System Library layer (referred to as the "System Runtime Library Layer"), and the kernel layer.

[0067] In some embodiments, at least one application runs in the application layer. These applications may be Windows programs that come with the operating system, system settings programs, clock programs, camera applications, etc., or they may be applications developed by third-party developers.

[0068] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer includes predefined functions. It acts as a central processing unit, determining the actions taken by applications within the application layer.

[0069] like Figure 4 As shown, in some embodiments of this application, the application framework layer includes managers, content providers, and a view system.

[0070] In some embodiments, the Activity Manager is used to: manage the lifecycle of individual applications and the usual navigation back functionality.

[0071] In some embodiments, the window manager is used to manage all window programs.

[0072] In some embodiments, the system runtime library layer provides support for the upper layer, namely the framework layer. When the framework layer is accessed, the Android operating system runs the C / C++ libraries contained in the system runtime library layer to implement the functions that the framework layer needs to perform.

[0073] In some embodiments, the kernel layer is a layer between hardware and software. For example... Figure 4 As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, touch sensor, pressure sensor, etc.).

[0074] In some embodiments, the kernel layer also includes a power driver module for power management.

[0075] In some embodiments, Figure 4 The software programs and / or modules corresponding to the software architecture in the document are stored in [the relevant database]. Figure 2 or Figure 3 In the first or second memory shown.

[0076] To clearly illustrate the technical solution of this application, the basic concepts involved in this application are listed below:

[0077] Content-based recommendation algorithms build recommendation models based on resource-related information, user-related information, and user interactions with resources to provide recommendation services. Resource-related information can include metadata such as textual descriptions of resources, tags, user reviews, and manually annotated information. User-related information refers to demographic information (such as age, gender, preferences, region, income, etc.). User interactions with resources can include commenting, saving, liking, watching, browsing, clicking, adding to cart, and purchasing. Content-based recommendation algorithms generally rely solely on the user's own behavior to provide recommendations and do not involve the behavior of other users.

[0078] The basic principle of content-based recommendation algorithms is to obtain a user's interests and preferences based on their historical behavior, and then recommend resources that are similar to those interests. For example... Figure 5 As shown, content-based personalized recommendations generally require three steps: constructing user feature representations (i.e., user vectors) based on user information and user behavior; constructing resource feature representations (i.e., resource vectors) based on resource information; and recommending resources to users based on user and resource feature representations (i.e., recommended resources).

[0079] First, the similarity between resources needs to be calculated beforehand. Then, similar resources from the user's history are recommended to the user. In some embodiments, resource features are converted into vectorized representations, and then the similarity between two resources can be calculated using cosine similarity. Resources can be represented by tags, meaning each tag can be associated with a set of resources. Therefore, based on the user's tag representation, the user's interest tags can be associated with a set of resources. This set of tag-associated resources can then serve as a candidate set for recommendations to the user.

[0080] Once users and resources are embedded in the same vector space, the similarity between users and resources can be calculated. Then, resources with high similarity between resources and users can be recommended to users. Alternatively, user similarity can be calculated based on the user's vector representation, and resources liked by similar users can be recommended to that user.

[0081] Constructing user feature representations can be based on user actions towards resources (such as clicks, purchases, favorites, and plays) to create a user preference profile, or it can be expressed based on the user's demographic characteristics. With user feature representations, resources matching the user's characteristics can be recommended. Methods for constructing user features include:

[0082] User behavior records, used as display features, specifically record a user's preferences for resources over a past period. For example, in the video domain, if a user has watched three videos (A, B, and C) in the past, the user's behavior can be scored based on the proportion of each video's viewing time to the total video duration. In this example, the resources the user has historically interacted with are directly used as the user's feature representation, allowing similar resources to be recommended to the user during the recommendation process.

[0083] Vector-based interest features embed resources into a vector space based on resource information, using vectors to represent resources. Based on this vectorized representation, a user's interest vector can be represented by the average vector of the resources they have interacted with. There are many strategies for representing user interest vectors. One approach is to obtain a weighted preference vector based on the user's ratings of the resources they have interacted with, along with time-weighted calculations, rather than simply taking an average. Alternatively, multiple interest vectors can be constructed for the user based on the similarity between the resources they have interacted with (e.g., by clustering resources, the average vector of resources interacted with by the user in a particular cluster can be used as the user's interest vector for that cluster), thus better representing the user's multifaceted interests and preferences. Based on the user's interest vector and the resource's interest vector, the user's preference for resources can be calculated based on vector similarity, and resources can then be recommended to the user based on the magnitude of this preference.

[0084] User demographics, including information provided during login and registration, user-entered data from operational activities, and conclusions inferred from user behavior using algorithms (such as age, gender, region, income, hobbies, place of residence, and workplace), are crucial. Based on this user-dimensional information, user features can be vectorized, with the vector's dimension being the number of available user features. With these user feature vectors, user similarity can be calculated, allowing for the recommendation of resources favored by similar users.

[0085] The specific methods for generating user and resource vectors are as follows: Tags are arranged in a certain order, with each tag representing one dimension. Each resource can be represented as an N-dimensional vector (N being the number of tags). If a resource contains a certain tag, the vector's value for the corresponding tag component is 1; otherwise, it's 0—this is one-hot encoding. N can be very large (e.g., in the video domain, N could be tens of thousands, hundreds of thousands, or even millions). Tags can be obtained through algorithms, such as extracting keywords from text information using NLP (Neuro-Linguistic Programming) techniques. For images / videos, tags can be extracted from the image / video's descriptive information (title, etc.), or tags can be constructed by extracting relevant objects from the image / video using object detection methods. Tags can also be user-generated, meaning users can tag resources when interacting with them; these tags form a description of the resource. Tags can also be manually annotated.

[0086] In some embodiments, the resources possess structured information. For example, in the video domain, there is typically a media asset library. This library contains data for each program, including dimensions such as title, cast and crew, director, tags, ratings, and region. This type of data is generally stored in a relational database. For this type of data, a field (also a feature) can be used as a dimension of a vector. In this case, vectorization means that the value of each dimension is not necessarily numerical, but its form is still vectorized, i.e., a Vector Space Model (VSM).

[0087] If the resource is of text type, TF-IDF (term frequency-inverse document frequency, a common weighting technique used for information retrieval and information exploration) can be used to convert the text resource into a vector. By tokenizing all documents (i.e., resources) to obtain a set of all distinct words (assuming there are M words), an M-dimensional vector can be constructed for each document (each word is a dimension). The value of the dimension corresponding to a certain word in the vector can be measured by counting the importance of each word in the document, and this importance metric is TF-IDF. TF refers to the frequency of a certain word in a document, which is used to measure the importance of the word in the document. The more frequently a word appears, the greater its importance. Of course, stop words such as "的", "地", and "啊" will be removed in advance.

[0088] If the resource contains image, audio or video information, the specific vectorization method is as follows: utilize their text information (title, comments, description information, text information such as subtitles extracted by image technology, etc.). For audio, it can be converted into text through speech recognition, and then the text is vectorized. For images or videos, image and audio processing technologies can be used to directly extract features from images, videos, and audio for vectorized representation, so that the similarity can be easily calculated.

[0089] In some embodiments, the process of a resource platform recommending resources is usually as follows: according to the user characteristics of the target user and the resource content characteristics of each candidate resource, the recommendation probability of each candidate resource is determined through a resource recommendation model. Then, resources with higher recommendation probabilities are selected from numerous candidate resources and recommended to the target user.

[0090] However, in the cross-domain resource recommendation scenario, the resource recommendation method of the above embodiment cannot perform personalized recommendation for users with relatively single behaviors. For example, for users who have only watched TV dramas, since they have no viewing behavior in the movie field, resources related to movies cannot be recommended to them. The resource recommendation method of the above embodiment cannot meet the cross-domain resource recommendation requirements of users with relatively single behaviors.

[0091] To solve the problems in the above embodiments, the embodiments of the present application provide a resource recommendation method. The recommendation method provided by the embodiments of the present application can be applied to the recommendation system shown in Figure 6 . As shown in Figure 6As shown, the recommendation system may include a server 400 and an electronic device 200 used by the user. The server 400 may be any form of data processing server, such as a cloud server or a distributed server. The electronic device 200 may be a desktop computer, laptop computer, tablet computer, smartphone, display device, etc. The server 400 can execute the recommendation method provided in this embodiment to recommend resources to the user using the electronic device 200. The electronic device 200 can receive the resources recommended by the server 400 and output the resources to the user so that the user can perform network operations on the resources, such as browsing.

[0092] To address the technical challenge of failing to meet the cross-domain resource recommendation needs of users with relatively simple behaviors, Figure 6 In the recommendation system shown, server 400 receives a resource recommendation request sent by electronic device 200. The resource recommendation request carries a first domain identifier and a user vector of the target user. The first domain identifier is used to characterize that the resource recommendation request is for a first domain, and the user vector is used to characterize the association features of the target user.

[0093] If the association features represented by the user vector do not contain behavioral features corresponding to the first domain, but the association features represented by the user vector contain behavioral features corresponding to the second domain, then the user vector is input into the cross-domain recommendation model to obtain a new user vector. The association features represented by the new user vector contain behavioral features corresponding to the first domain, and resources of the first domain are fed back to the electronic device based on the new user vector. The cross-domain recommendation model is a model trained based on multiple user vector samples, and the association features represented by the user vector samples simultaneously contain behavioral features corresponding to both the first and second domains.

[0094] If the associated features represented by the user vector include behavioral features corresponding to the first domain, then the resources of the first domain are fed back to the electronic device based on the user vector.

[0095] For example, a user inputs a resource recommendation request on an electronic device, such as wanting to view resources in a first domain. After clicking the "Get Resources" button in the resource section of the first domain, the electronic device 200 sends a resource recommendation request to the server 400. The sent resource recommendation request carries the current user's user vector and an identifier for the first domain. After receiving the resource recommendation request, the server 400 first determines whether the association features represented by the user vector contain behavioral features corresponding to the first domain. That is, whether the current user has historical behavior related to the first domain, such as whether they have viewed resources in the first domain.

[0096] If the user vector represents associated features that include behavioral features corresponding to the first domain, meaning the current user has historical behaviors related to the first domain, then the server 400 can directly feed back resources of the first domain to the electronic device 200 based on the user vector. In other words, resources associated with the current user's historical behavioral features in the first domain can be obtained.

[0097] If the association features represented by the user vector do not contain behavioral features corresponding to the first domain, but instead contain behavioral features corresponding to the second domain—meaning the current user has no historical behavior in the first domain but has historical behavior in the second domain—then resources in the first domain cannot be directly obtained based on the user vector. In this application, the user vector is input into a cross-domain recommendation model to obtain a new user vector. The association features represented by this new user vector include behavioral features corresponding to the first domain. The cross-domain recommendation model is trained based on multiple user vector samples, and the association features represented by these user vector samples simultaneously contain behavioral features corresponding to both the first and second domains.

[0098] In other words, the user vector samples used to train the cross-domain recommendation model correspond to users with historical behaviors in both the first and second domains. This results in a cross-domain recommendation model that is linked to both domains. Therefore, inputting the user vectors into the cross-domain recommendation model generates behavioral features corresponding to the first domain. Finally, the server 400 feeds back resources from the first domain to the electronic device 200 based on the generated new user vectors. Through comprehensive analysis of cross-domain behavioral features, even if the target user has no behavior in the first domain, resources from the first domain can still be recommended to the target user based on their behavioral features in other domains, thus meeting the cross-domain resource recommendation needs of users with relatively singular behaviors.

[0099] It should be noted that the cross-domain recommendation model of this application can be trained on the basis of the existing model DL (Deep Learning). The deep learning model can be LSTM (Long Short Term Memory network) or RNN (Recurrent Neural Network). This application does not restrict which specific deep learning model is used.

[0100] In some embodiments, the training process of a cross-domain recommendation model may specifically be as follows:

[0101] A first user vector sample and a second user vector sample are obtained, wherein the first user vector sample is a user vector corresponding to a first domain of the sample user, and the second user vector sample is a user vector corresponding to a second domain of the sample user, and the sample user has behavioral features in both the first and second domains. Both the first user vector sample and the second user vector sample are mapped to a shared space using an orthogonal mapping matrix, resulting in a first mapped vector sample and a second mapped vector sample, respectively.

[0102] To obtain the optimal orthogonal mapping matrix, after mapping both the first and second user vector samples to the shared space using the optimal orthogonal mapping matrix, the resulting first mapped vector sample and second user vector sample are closest in distance within the shared space, and the second mapped vector sample and first user vector sample are also closest in distance within the shared space. Obtaining the optimal orthogonal mapping matrix is ​​an iterative process. For example, the objective function can be minimized through continuous iteration using the following formula. When the objective function iterates to its minimum value, the resulting matrix is ​​the optimal orthogonal matrix:

[0103]

[0104] in, For the first user vector sample, Let X be the second user vector sample, and X be the orthogonal mapping matrix. T For the transpose of X, For the first mapping vector sample, This is the sample of the second mapping vector.

[0105] The cross-domain recommendation model is obtained by training the ordinary recommendation model using the optimal orthogonal mapping matrix.

[0106] The following describes some embodiments of this application in detail with reference to the accompanying drawings.

[0107] In this embodiment, the first domain is the film domain, and the second domain is the television series domain. First, existing deep learning models are used to vectorize the sample user features. These sample user features can be based on user actions related to resources, such as clicking on resources in the film domain or playing resources in the television series domain.

[0108] In the film industry, user behavior and the film media assets being played are represented by u. a and i a Similarly, in the TV drama field, users with user behavior and the TV drama media assets being played are represented as u. b and i bMeanwhile, users who have watched both movies and TV series represent overlapping users from both the film and TV series domains. The user vector for the film domain is represented as follows: Resource vector representation in the film domain is User vector representation in the TV drama field is as follows Resource vector representation in the film domain is

[0109] In the film industry, users who have watched both movies and TV series are represented as u. ab In the realm of television dramas, users who have watched both movies and television dramas are represented as u. b And satisfy u b =u b The vectors of overlapping users in the film and television sectors are respectively... and

[0110] Since the vectors of overlapping users in the movie domain are obtained through the deep learning model (DL) of the movie domain... A The vectors for overlapping users in the TV drama domain are obtained through separate training, while the vectors for overlapping users in the TV drama domain are obtained through a deep learning model (DL) for the TV drama domain. B The user vectors of overlapping users in the movie domain are obtained through separate training. This does not equate to the user vector of the overlapping users in the TV drama field.

[0111] like Figure 7 The diagram illustrates the mapping principle, which maps user vectors and resource vectors from the film domain to the shared space using an orthogonal mapping matrix X, and simultaneously maps user vectors and resource vectors from the television drama domain to the transpose of the orthogonal matrix X using a transpose matrix X. T Mapped to the shared space. The user vectors of overlapping users in the film domain after mapping to the shared space ab are: The user vector of overlapping users in the TV series field is During model training, since the intent of the same user is similar in different domains, after mapping to the shared space, the user vectors of overlapping users in the movie domain will be... It should be related to the user vectors in the TV series field of shared space. Similar and overlapping user vectors in the TV drama field It should be related to user vectors in the film field within the shared space. similar.

[0112] For example, a loss function, such as the objective function in the above embodiment, can be used to obtain the optimal orthogonal mapping matrix through continuous iteration. This optimal orthogonal mapping matrix can then be applied to the neural network of the deep learning model to obtain the final cross-domain recommendation model.

[0113] When the server receives a resource recommendation request (400 status code), the request is for the movie domain. If the current user's user vector's associated features include behavioral characteristics specific to the movie domain (i.e., the current user has historical behavior related to movies), then movie resources are recommended to the current user based on that user vector. In other words, movie resources that the user might be interested in are recommended based on the movies the user has viewed. If the current user's user vector's associated features do not include behavioral characteristics specific to the movie domain, but include behavioral characteristics specific to the TV series domain (i.e., the current user has no historical behavior related to movies but has historical behavior related to TV series), then movie resources that the user might be interested in cannot be recommended based on the movies the user has viewed.

[0114] like Figure 8 The diagram illustrating the principle of constructing a new user vector shows how the current user's vector is mapped to a shared space for the film and television domains using the optimal orthogonal mapping matrix obtained in the above embodiment. Then, using the current user's vector for the television domain, a user vector for the film domain is constructed. The formula for constructing the new user vector is as follows:

[0115]

[0116]

[0117]

[0118] in, DL introduces new user vectors in the film, television, and variety show sectors respectively. A DL B DL B Recommendation models are provided for the film, television, and variety show sectors, respectively.

[0119] Taking the training process of a recommendation model in the film domain as an example, the user vectors in the film domain are... Media Resources Vector Input movie domain recommendation model DL A After training, once the training is complete, the optimal orthogonal mapping matrix is ​​used to generate new user vectors for the film domain. Then, new user vectors in the film industry Input movie domain recommendation model DL A DL recommendation model for the movie domain A Training is then performed. After an iterative training process, the final recommendation model DL is obtained. A .

[0120] Next, the constructed movie domain and user vectors are mapped to a shared space, and the vector distance between the user and the movie domain resource vectors in the shared space is calculated. This vector distance can be Euclidean distance or cosine distance. Finally, the movie resources are sorted in ascending order of vector distance, and the top N movie domain resources are fed back to the electronic device. This allows for the recommendation of movie resources to users even if they have no prior movie domain behavior history, leveraging their past behavior in other domains. For example, ... Figure 9 In the shared space shown, if user vector A is close to movie domain resource vector BE but far from other resource vectors, then resource BE will be recommended to the user.

[0121] In this application, by using an orthogonal mapping matrix to map user vectors to a shared space, the property that the inner product of vectors remains unchanged before and after the orthogonal transformation can be utilized to maximize the preservation of the similarity of vectors from different users during model training. Furthermore, the mapping matrix X can be easily transposed to obtain the inverse mapping matrix X during the orthogonal transformation. T This simplifies the model training and learning process. By introducing a dual learning mechanism, two domains can learn from each other, serving as each other's source and target domains without requiring manual specification of these domains. For example, when a resource recommendation request targets the TV series domain, but the current user has no historical behavior related to TV series but has historical behavior related to movies, the current user's user vector is mapped to a shared space using the optimal orthogonal mapping matrix described in the above embodiment to obtain a user vector for TV series. This new user vector is then used to output TV series resources to the current user. In other words, by leveraging the user's historical behavior in the movie domain, TV series resources are recommended to the user.

[0122] In some embodiments, the distance between the user vectors of other users and the current user's user vector in the shared space ab is increased. It should be noted that resource vectors from the TV series domain and the movie domain also need to be mapped to the shared space. During model training, the resource vectors corresponding to resources watched by the same user in the movie domain should be as close as possible to the resource vectors corresponding to resources watched in the TV series domain. Users who watch similar films in different domains can be clustered together.

[0123] In some embodiments, the associated features of the user vector representation further include the demographic features of the target user. If the associated features of the user vector representation include behavioral features corresponding to the first domain, then the user vector is a concatenated vector of the user behavior vector and the user demographic vector. The features represented by the user vector not only do not include the user's behavioral features in a certain domain, but also include the user's basic features, such as the user's age and gender. After concatenating the user behavior vector and the user demographic vector, a concatenated vector is obtained. Using this concatenated vector to recommend resources to users can better meet the user's actual needs.

[0124] The above embodiments can be applied to scenarios involving user media asset recommendations, for example, such as... Figure 10 The user interface shown includes movie and TV series themes on the media asset platform. If a user has a history of viewing media assets within the movie theme, the server directly provides similar movie media assets to the display device based on this history. However, if a user has no history of viewing media assets within the TV series theme, the server cannot directly provide similar movie media assets to the display device based on this history.

[0125] In this embodiment, if the user does not click the "Get Media Assets" button in the TV series theme, no media assets will be displayed in the TV series theme. If the user clicks the "Get Media Assets" button in the TV series theme, it is considered that the display device sends a resource recommendation request to the server. At this time, the server, according to the media asset recommendation method of the above embodiment, maps the user vector to the shared space to obtain a new user vector for the user in the TV series domain. The server then finds the nearest TV series vector based on the new user vector, and then the server feeds back the corresponding TV series media assets to the display device. Figure 11 The user interface shown displays the TV series media resources recommended by the server in the TV series theme after the display device receives the TV series media resources.

[0126] In some embodiments, if a user has a history of activity in both the movie and TV series categories, resources can be selectively recommended to the user based on their needs. For example, such as... Figure 12 The user interface shown has "Get" buttons on both movie and TV series themes. If the user does not click any "Get" button, only basic recommended resources are displayed on both movie and TV series themes. That is, the movie theme displays resources recommended based on the user's historical behavior in the movie field, and the TV series theme displays resources recommended based on the user's historical behavior in the TV series field.

[0127] If the user clicks the "Get Movie Themes and TV Series Themes" button, then as follows: Figure 13The user interface shown displays a comprehensive movie resource list under the "Movies" theme. This list is recommended based on the user's historical movie viewing history, as well as their historical TV series viewing history. Similarly, the "TV Series" theme displays a comprehensive TV series resource list, recommended based on the user's historical movie viewing history, as well as their historical TV series viewing history. This method of recommending resources to users enriches their historical behavioral patterns and further enhances the effectiveness of resource recommendations.

[0128] In some embodiments, user vectors from multiple other domains can also be used to recommend resources in the current domain. If the resource requested by the current user is in the movie domain, but the user has no historical behavior related to movies, then the user's historical behavior in the TV series and variety show domains can be used simultaneously to recommend movie resources. Specifically, such as... Figure 14 The diagram illustrates the mapping principle, which maps user vectors and resource vectors from the film domain to the shared space ab using an orthogonal mapping matrix X, and simultaneously maps user vectors and resource vectors from the TV series domain to the transpose of the orthogonal matrix X using a transpose matrix X. T Mapping to the shared space ab. Additionally, user vectors and resource vectors from the film domain are mapped to the shared space ac via an orthogonal mapping matrix Y, and user vectors and resource vectors from the variety show domain are mapped to the shared space ac via the transpose of the orthogonal matrix Y. T Mapped to the shared space ac.

[0129] In this embodiment, the optimal orthogonal mapping matrix X and the optimal orthogonal mapping matrix Y can be used to simultaneously generate new user vectors in the film domain. The resulting new user vectors can utilize user behavior characteristics from both the TV drama and variety show sectors, leading to more accurate resource recommendations. Then, the new user vectors from the movie sector... Input movie domain recommendation model DL A DL recommendation model for the movie domain A Training is then performed. After an iterative training process, the final recommendation model DL is obtained. A .

[0130] Using the optimal orthogonal mapping matrix acquisition method described in the above embodiments, the optimal orthogonal mapping matrix X and the optimal orthogonal mapping matrix Y are obtained. Then, the current user's user vector is mapped to the shared space ab and the shared space ac, respectively, resulting in new user vectors related to shared space ab and shared space ac. Finally, using a minimum distance method, movie resources are obtained from shared space ab and shared space ac, respectively. It should be noted that the resource vectors obtained from shared space ab and shared space ac can be further sorted, and finally, the TOPN resources with the smallest distance are recommended to the user. In this way, the user's historical behavior in both the TV drama and variety show fields can be utilized to recommend movie resources, further improving the personalized recommendation effect.

[0131] Based on the above embodiments, this application provides a method for recommending content across three domains: film, television, and variety shows. Figure 15 The signaling diagram is shown. All users (all users) watch movies, TV shows, variety shows, and other media resources on their electronic devices. The electronic devices record all user behavior and upload this behavior to the server. This application uses the full user behavior to train a cross-domain recommendation model, and both a regular recommendation model and a cross-domain recommendation model exist on the server side. After user A watches a movie, the server records user A's browsing, clicking, and playback behaviors through the electronic device. When user A reopens the electronic device, since user A has historical behavior related to movies, the server uses the regular recommendation model to recommend movie resources to user A based on this historical behavior. Since user A does not have historical behavior related to TV series or variety shows, the server uses the cross-domain recommendation model to recommend TV series and variety show resources to user A based on this historical behavior.

[0132] This application provides a resource recommendation method. Figure 16 This is a flowchart illustrating a resource recommendation method according to an exemplary embodiment. The resource recommendation method is applicable to... Figure 1 The server 400 in the implementation environment shown is an example. Figure 16 As shown, this resource recommendation method may include the following steps.

[0133] In step S101, a media resource recommendation request input by a target user is received from an electronic device. The resource recommendation request carries a first domain identifier and a user vector of the target user. The first domain identifier is used to characterize that the resource recommendation request is for a first domain, and the user vector is used to characterize the association features of the target user.

[0134] In step S102, if the association features represented by the user vector do not contain behavioral features corresponding to the first domain, and the association features represented by the user vector contain behavioral features corresponding to the second domain, then the user vector is input into the cross-domain recommendation model to obtain a new user vector. The association features represented by the new user vector contain behavioral features corresponding to the first domain, and resources of the first domain are fed back to the electronic device according to the new user vector. The cross-domain recommendation model is a model trained based on multiple user vector samples, and the association features represented by the user vector samples simultaneously contain behavioral features corresponding to both the first and second domains.

[0135] In step S103, if the associated features represented by the user vector include behavioral features corresponding to the first domain, then the resources of the first domain are fed back to the electronic device according to the user vector.

[0136] Those skilled in the art will understand that aspects of this application can be described and illustrated through several patentable types or situations, including any new and useful combination of processes, machines, products, or substances, or any new and useful improvements thereof. Accordingly, aspects of this application can be implemented entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. All of the above hardware or software may be referred to as a “data block,” “controller,” “engine,” “unit,” “component,” or “system.” Furthermore, aspects of this application may manifest as a computer product located on one or more computer-readable media, the product including computer-readable program code.

[0137] Furthermore, unless expressly stated in the claims, the order of processing elements and sequences, the use of numbers and letters, or other names described in this application are not intended to limit the order of the processes and methods of this application. Although the foregoing disclosure has discussed some currently considered useful embodiments of the invention through various examples, it should be understood that such details are for illustrative purposes only, and the appended claims are not limited to the disclosed embodiments; rather, the claims are intended to cover all modifications and equivalent combinations that conform to the substance and scope of the embodiments of this application. For example, while the system components described above can be implemented using hardware devices, they can also be implemented solely through software solutions, such as installing the described system on existing servers or mobile devices.

[0138] Similarly, it should be noted that, in order to simplify the description of the present application and thus aid in the understanding of one or more embodiments of the invention, the foregoing description of the embodiments of the present application sometimes combines multiple features into a single embodiment, drawing, or description thereof. However, this disclosure method does not imply that the subject matter of the application requires more features than those mentioned in the claims. In fact, the embodiments contain fewer features than all the features of the single embodiments disclosed above.

Claims

1. A server, characterized in that, The server is used to perform: Receive a resource recommendation request input by a target user from an electronic device, wherein the resource recommendation request carries a first domain identifier and a user vector of the target user, the first domain identifier being used to characterize that the resource recommendation request is for a first domain, and the user vector being used to characterize the relevance features of the target user; If the associated features represented by the user vector do not contain behavioral features corresponding to the first domain, but the associated features represented by the user vector contain behavioral features corresponding to the second domain, then the user vector is input into a cross-domain recommendation model to obtain a new user vector. The associated features represented by the new user vector contain behavioral features corresponding to the first domain, and resources of the first domain are fed back to the electronic device based on the new user vector. The cross-domain recommendation model is a model trained based on multiple user vector samples and an optimal orthogonal mapping matrix. The associated features represented by the user vector samples contain behavioral features corresponding to both the first and second domains. The optimal orthogonal mapping matrix is ​​obtained by iteratively minimizing the objective function. In the formula, This is the first user vector sample, which is the user vector of the sample user corresponding to the first domain. The second user vector sample is a user vector corresponding to the second domain of the sample user. The sample user has behavioral characteristics for both the first and second domains. It is an orthogonal mapping matrix. for transpose, For the first mapping vector sample, This is the second mapping vector sample; If the associated features represented by the user vector include behavioral features corresponding to the first domain, then the resources of the first domain are fed back to the electronic device based on the user vector.

2. The server according to claim 1, characterized in that, During the training process of the cross-domain recommendation model, the server is specifically used to perform: Obtain the first user vector sample and the second user vector sample; The first user vector sample and the second user vector sample are mapped to the shared space using the optimal orthogonal mapping matrix, resulting in a first mapped vector sample and a second mapped vector sample. The first mapped vector sample and the second user vector sample are closest to each other in the shared space, and the second mapped vector sample and the first user vector sample are also closest to each other in the shared space.

3. The server according to claim 2, characterized in that, In the process of recommending resources in the first domain to the target user based on the new user vector, the server is specifically used to perform: The new user vector and the resource vector in the first domain are both mapped to the shared space to obtain the mapped user vector and the mapped resource vector, respectively. Calculate the vector distance between the mapped user vector and the mapped resource vector; The resources in the first domain are sorted from nearest to farthest according to the vector distance, and a preset number of resources in the first domain before sorting are fed back to the electronic device.

4. The server according to claim 1, characterized in that, The associated features represented by the user vector also include the demographic features of the target user. If the associated features represented by the user vector include behavioral features corresponding to the first domain, then the user vector is a concatenated vector of the user behavior vector and the user demographic vector.

5. An electronic device, characterized in that, The electronic device includes: The controller is used to perform: Send a resource recommendation request input by the target user to the server, wherein the resource recommendation request carries a first domain identifier and a user vector of the target user, the first domain identifier is used to characterize that the resource recommendation request is for a first domain, and the user vector is used to characterize the association features of the target user; If the associated features represented by the user vector do not contain behavioral features corresponding to the first domain, but the associated features represented by the user vector contain behavioral features corresponding to the second domain, then the resource in the first domain found based on the new user vector, fed back by the server, is received. The new user vector is a vector generated after inputting the user vector into the cross-domain recommendation model. The associated features represented by the new user vector contain behavioral features corresponding to the first domain. The cross-domain recommendation model is a model trained based on multiple user vector samples and an optimal orthogonal mapping matrix. The associated features represented by the user vector samples contain behavioral features corresponding to both the first and second domains. The optimal orthogonal mapping matrix is ​​obtained by iteratively minimizing the objective function. In the formula, This is the first user vector sample, which is the user vector of the sample user corresponding to the first domain. The second user vector sample is a user vector corresponding to the second domain of the sample user. The sample user has behavioral characteristics for both the first and second domains. It is an orthogonal mapping matrix. for transpose, For the first mapping vector sample, This is the second mapping vector sample; If the associated features represented by the user vector include behavioral features corresponding to the first domain, then the resources of the first domain found based on the user vector are received from the server.

6. A resource recommendation method, characterized in that, The method is applied to a server, and the method includes: Receive a resource recommendation request input by a target user from an electronic device, wherein the resource recommendation request carries a first domain identifier and a user vector of the target user, the first domain identifier being used to characterize that the resource recommendation request is for a first domain, and the user vector being used to characterize the relevance features of the target user; If the association features represented by the user vector do not contain behavioral features corresponding to the first domain, but the association features represented by the user vector contain behavioral features corresponding to the second domain, then the user vector is input into a cross-domain recommendation model to obtain a new user vector. The association features represented by the new user vector contain behavioral features corresponding to the first domain, and resources of the first domain are fed back to the electronic device based on the new user vector. The cross-domain recommendation model is a model trained based on multiple user vector samples and an optimal orthogonal mapping matrix. The association features represented by the user vector samples simultaneously contain behavioral features corresponding to both the first and second domains. The optimal orthogonal mapping matrix is ​​obtained by iteratively minimizing the objective function. In the formula, This is the first user vector sample, which is the user vector of the sample user corresponding to the first domain. The second user vector sample is a user vector corresponding to the second domain of the sample user. The sample user has behavioral characteristics for both the first and second domains. It is an orthogonal mapping matrix. for transpose, For the first mapping vector sample, This is the second mapping vector sample; If the associated features represented by the user vector include behavioral features corresponding to the first domain, then the resources of the first domain are fed back to the electronic device based on the user vector.

7. The method according to claim 6, characterized in that, The method further includes: Obtain the first user vector sample and the second user vector sample; The first user vector sample and the second user vector sample are mapped to the shared space using the optimal orthogonal mapping matrix, resulting in a first mapped vector sample and a second mapped vector sample. The first mapped vector sample and the second user vector sample are closest to each other in the shared space, and the second mapped vector sample and the first user vector sample are also closest to each other in the shared space.

8. The method according to claim 7, characterized in that, Recommending resources from the first domain to the target user based on the new user vector includes: The new user vector and the resource vector in the first domain are both mapped to the shared space to obtain the mapped user vector and the mapped resource vector, respectively. Calculate the vector distance between the mapped user vector and the mapped resource vector; The resources in the first domain are sorted from nearest to farthest according to the vector distance, and a preset number of resources in the first domain before sorting are fed back to the electronic device.

Citation Information

Patent Citations

  • Content recommendation method and device based on artificial intelligence and computer equipment

    CN111966914A