Data recommendation processing method and device, equipment, medium and program product
By acquiring and processing the user's target feature data and associated feature data of associated objects, and using object-side and server-side models to generate object vector representations, the problem of information cocooning caused by the data recommendation system's excessive catering to user preferences is solved, and multi-dimensional Information recall and recommendation effects are improved.
Patent Information
- Application Number
- CN202310300199.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-09-20
AI Technical Summary
Existing data recommendation systems cater too much to user preferences, resulting in information cocoons and limited user vision, making it impossible to receive multi-dimensional valuable information.
By obtaining the target feature data of the target object and the associated feature data of the associated object, using the attribute feature module, behavioral feature module and attention module of the object-side model, the object vector representation is generated, combined with the multi-modal fusion vector representation of the server-side model, Make multimedia data recommendations.
It achieves multi-dimensional recall, provides more comprehensive multimedia data, improves the effect of data recommendation, avoids information cocoons, and expands the scope of information received by users.
Smart Images

Figure CN118673205A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, specifically to the field of machine learning, and in particular to a data recommendation processing method, device, equipment, medium and program product. Background Art
[0002] In the era of rapid development of the Internet, people can obtain a variety of information through smart devices such as mobile phones, personal computers, tablets, etc. as needed. However, as the threshold for content production is lowered, the upload volume of various multimedia data (such as news information, images, audio, video or commodities) is growing exponentially. How to enable users to receive valuable information has become an important issue to be considered in the field of data recommendation.
[0003] At present, when making data recommendations for users, they are all designed with the purpose of improving users' content interaction evaluation parameters (for example, click-through rate, forwarding rate, sharing rate, etc.), tending to cater to users' preferences and constantly recommend multimedia data of interest to users. In this way, although the information needs of users are met to a certain extent, sometimes they may cater too much to users' preferences, so as to build an information cocoon for users (referring to the phenomenon that people's information fields of concern are habitually guided by their own interests, thus confining their lives in a "cocoon" like a silkworm cocoon), that is, what users like is recommended to users, which can easily limit users' field of vision and narrow their information reception. Summary of the invention
[0004] The embodiments of the present application provide a data recommendation processing method, apparatus, device, medium and program product, which can perform data recommendation in combination with more object features.
[0005] On the one hand, an embodiment of the present application provides a data recommendation processing method, the method comprising:
[0006] Acquire a target feature data set of a target object to be recommended and a related feature data set of objects related to the target object, wherein the target feature data set includes: object attribute feature data and first object behavior feature data;
[0007] Obtaining an attribute vector representation of the object attribute feature data through an attribute feature module of the object-side model, and obtaining a behavior vector representation of the first object behavior feature data through a behavior feature module of the object-side model;
[0008] The joint vector representation corresponding to the object attribute feature data and the associated feature data set is obtained through the attention module of the object-side model;
[0009] The attribute vector representation, the behavior vector representation and the joint vector representation are fused through the fusion module of the object-side model to obtain the object vector representation of the target object;
[0010] According to the object vector representation of the target object, multimedia recommendation data is obtained from the content database.
[0011] On the one hand, an embodiment of the present application provides a data recommendation processing device, the device comprising:
[0012] An acquisition unit, used to acquire a target feature data set of a target object to be recommended and a related feature data set of an object related to the target object, wherein the target feature data set includes: object attribute feature data and first object behavior feature data;
[0013] a processing unit, configured to obtain an attribute vector representation of the object attribute feature data through an attribute feature module of the object-side model, and obtain a behavior vector representation of the first object behavior feature data through a behavior feature module of the object-side model;
[0014] The processing unit is further used to obtain a joint vector representation corresponding to the object attribute feature data and the associated feature data set through the attention module of the object-side model;
[0015] The processing unit is further used to fuse the attribute vector representation, the behavior vector representation and the joint vector representation through the fusion module of the object-side model to obtain the object vector representation of the target object;
[0016] The processing unit is further used to obtain multimedia recommendation data from the content database according to the object vector representation of the target object.
[0017] In one embodiment, the content database stores a plurality of multimedia data, each multimedia data has a corresponding multimedia vector representation generated by a server-side model, and the multimedia vector representation of the multimedia recommendation data obtained from the content database matches the object vector representation of the target object;
[0018] The server-side model and the object-side model are obtained through joint training. The loss parameters calculated by the loss function used in the joint training stage include: the object vector representation of the training object obtained by the object-side model in training, the multimedia vector representation of the multimedia training data obtained by the server-side model in training, and the supervision label determined based on the feedback processing of the training object on the multimedia training data.
[0019] In one embodiment, the acquisition unit is specifically used to: acquire a multimedia feature data set of target multimedia data, the multimedia feature data set including: position feature data and content feature data of multiple modalities;
[0020] The processing unit is specifically used for: generating modal vector representations of multiple modalities based on each content feature data and position feature data, and fusing the modal vector representations of multiple modalities to obtain a multimodal fusion vector representation; obtaining a multimodal transformation vector representation corresponding to the multimodal fusion vector representation through a transformer of a server-side model; encoding the multimodal transformation vector representation through a multi-layer perceptron of a server-side model to obtain a multimedia vector representation of target multimedia data; the target multimedia data is any one of the multiple multimedia data.
[0021] In one embodiment, when the processing unit is used to obtain content feature data of multiple modalities of target multimedia data, it is specifically used to: perform frame extraction processing on the video stream data included in the target multimedia data, and determine the content feature data of the image modality based on the image frames obtained by the frame extraction processing; perform text recognition processing on the image frames obtained by the frame extraction processing to obtain text information, and determine the content feature data of the text modality based on the text information and multimedia attribute dimension information of the target multimedia data; determine the content feature data of multiple modalities of the target multimedia data based on the content feature data of the image modality and the content feature data of the text modality.
[0022] In one embodiment, the processing unit is specifically used to: store the multimedia data generated by the content production end and the multimedia attribute dimension information of the multimedia data into a content database through the uplink and downlink content interface services; schedule the content processing system to perform content processing through the scheduling service, wherein the content processing includes any one or two of the following steps: scheduling the review system to perform review processing on the multimedia data, scheduling the review system to perform review processing on the multimedia attribute dimension information of the multimedia data, and scheduling the machine processing system to pre-process the multimedia data; wherein the review system obtains the multimedia data and / or the multimedia attribute dimension information of the multimedia data through the uplink and downlink content interface services; and the machine processing system obtains the multimedia data and / or the multimedia attribute dimension information of the multimedia data through the uplink and downlink content interface services.
[0023] In one embodiment, when the processing unit is used to schedule the machine processing system to pre-process the multimedia data, it is specifically used to: generate a multimedia vector representation of each submitted multimedia data through a server-side model; perform matching processing based on the multimedia vector representation of each submitted multimedia data to obtain a matching result, and the matching result represents the similarity between any two multimedia data in each submitted multimedia data; perform deduplication processing on the submitted multimedia data based on the similarity between any two multimedia data in each submitted multimedia data; wherein, when the multimedia vector representation of each submitted multimedia data is generated through the server-side model, the input of the server-side model includes: text content attribute feature data of each submitted multimedia data and an image frame obtained by frame extraction processing of each submitted multimedia data, and the text content attribute feature data includes multimedia attribute dimension information read from a content database and text information read from the image frame obtained by frame extraction processing.
[0024] In one embodiment, the object-side model includes a vector mapping layer, the attribute feature module includes a multi-layer perceptron, and the processing unit is used to obtain the attribute vector representation of the object attribute feature data through the attribute feature module of the object-side model. Specifically, it is used to: use the attribute mapping vector representation obtained by mapping the object attribute feature data through the vector mapping layer of the object-side model as the input of the attribute feature module; encode the attribute mapping vector representation through the multi-layer perceptron of the attribute feature module to obtain the attribute vector representation of the object attribute feature data.
[0025] In one embodiment, the object-side model includes a vector mapping layer, and the processing unit is used to obtain the behavior vector representation of the first object behavior feature data through the behavior feature module of the object-side model, and is specifically used to: use multiple behavior mapping vector representations of the first object behavior feature data obtained through the vector mapping layer of the object-side model as input to the behavior feature module of the object-side model, where the first object behavior feature data includes multiple multimedia consumption data sorted according to consumption time; process the multiple behavior mapping vector representations through the behavior feature module of the object-side model to obtain the behavior vector representation of the first object behavior feature data; wherein the behavior feature module of the object-side model obtains the behavior vector representation of the first object behavior feature data based on multiple multimedia consumption data whose consumption time meets the time limit condition; or, the behavior feature module of the object-side model obtains multiple behavior transformation vector representations corresponding to the multiple behavior mapping vector representations through the transformer of the behavior feature module, and processes the multiple behavior transformation vector representations through the average pooling layer of the behavior feature module to obtain the behavior vector representation of the first object behavior feature data.
[0026] In one embodiment, the associated feature data set includes M associated feature data corresponding to M associated objects, where M is a positive integer; the object-side model includes a vector mapping layer, and the attention module includes M object attention networks, a transformer and an average pooling layer; when the processing unit is used to obtain a joint vector representation corresponding to the object attribute feature data and the associated feature data set through the attention module of the object-side model, it is specifically used to: use the attribute mapping vector representation obtained by mapping the object attribute feature data through the vector mapping layer of the object-side model, and the M associated mapping vector representations obtained by mapping the M associated feature data through the vector mapping layer of the object-side model as inputs to the attention module; process the attribute mapping vector representation and the M associated mapping vector representations through the M object attention networks of the attention module to obtain M associated weight vector representations; obtain the associated transformation vector representations corresponding to the M associated weight vector representations through the transformer of the attention module; and process the associated transformation vector representation through the average pooling layer of the attention module to obtain a joint vector representation.
[0027] In one embodiment, the acquisition unit is specifically used to: acquire an outer product vector representation between the attribute mapping vector representation and the i-th association mapping vector representation among the M association mapping vector representations, where i is a positive integer less than or equal to M;
[0028] The processing unit is specifically used to: fuse the attribute mapping vector representation, the i-th association mapping vector representation and the outer product vector representation, and input the fused vector representation into the activation function layer of the i-th object attention network in the M object attention networks to obtain the output of the activation function layer of the i-th object attention network; use the output of the activation function layer of the i-th object attention network as the input of the linear layer of the i-th object attention network, and the linear layer of the i-th object attention network outputs the i-th association weight vector representation.
[0029] In one embodiment, the object-side model includes a vector mapping layer, which is used to map the input feature data, where the input feature data includes: object attribute feature data, first object behavior feature data, and any one or more of the feature data in the associated feature data set; when the input feature data belongs to one-hot feature data, the input feature data is mapped through the vector mapping layer; when the input feature data belongs to multi-hot feature data, the input feature data is mapped through the vector mapping layer, and the mapping vector representation obtained after the mapping processing is pooled, and the dimension of the mapping vector representation obtained after the pooling processing is the set dimension.
[0030] In one embodiment, the acquisition unit is specifically used to: acquire the second object behavior feature data of any associated object among the M associated objects, and the associated attribute feature data between any associated object and the target object, wherein the associated attribute feature data includes the associated type information and the associated number information;
[0031] The processing unit is specifically used to: determine the second object behavior feature data and the associated attribute feature data as associated feature data corresponding to any associated object.
[0032] On the one hand, an embodiment of the present application provides a smart device, the device comprising:
[0033] A processor for loading and executing computer programs;
[0034] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned data recommendation processing method is implemented.
[0035] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program is suitable for being loaded by a processor and executing the above-mentioned data recommendation processing method.
[0036] On the one hand, the embodiments of the present application provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the smart device reads the computer instructions from the computer-readable storage medium, and when the computer instructions are executed by the processor, the above-mentioned data recommendation processing method is implemented.
[0037] When recommending data for a target object, the embodiment of the present application may introduce a target feature data set including object attribute feature data and first object behavior feature data, and then capture the attribute vector representation of the modeled object attribute feature data through the attribute feature module of the object-side model, and capture the behavior vector representation of the modeled first object behavior feature data through the behavior feature module of the object-side model, and refer to the target object side features of the attribute vector representation and the behavior vector representation to reflect the target object's preference for multimedia data; at the same time, by obtaining the associated feature data set of the associated objects of the target object, and adaptively learning the associated object's preference for multimedia data from the object attribute feature data and the associated feature data set through the attention module of the object-side model, the preference of the target object for multimedia data can be specifically reflected through the object-side model. The object attribute feature data output by the attention module and the joint vector representation corresponding to the associated feature data set are represented; finally, the attribute vector representation, the behavior vector representation and the joint vector representation are fused through the fusion module of the object-side model to obtain the object vector representation of the target object. That is to say, the object vector representation of the target object can jointly represent the target object's preference for multimedia data and the target object's associated objects' preference for multimedia data. In this way, a more comprehensive object vector representation for representing the target object's preference can be obtained. Therefore, when obtaining multimedia recommendation data from the content database based on the object vector representation of the target object, multi-dimensional recall of multimedia data can be achieved, and more comprehensive multimedia data can be obtained to provide to the target object, thereby improving the effect of data recommendation. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1a is a schematic diagram of the structure of a multilayer perceptron provided in an embodiment of the present application;
[0040] Figure 1b is a schematic diagram of the structure of a converter provided in an embodiment of the present application;
[0041] Figure 2a It is a scenario diagram of a data recommendation processing solution provided in an embodiment of the present application;
[0042] Figure 2b It is a structural diagram of a network architecture provided by an embodiment of the present application;
[0043] Figure 3It is a flowchart of a data recommendation processing method provided in an embodiment of the present application;
[0044] Figure 4 is a schematic diagram of the structure of an object attention network provided in an embodiment of the present application;
[0045] Figure 5 It is a flowchart of another data recommendation processing method provided in an embodiment of the present application;
[0046] Figure 6 It is a scenario diagram of another data recommendation processing solution provided in an embodiment of the present application;
[0047] Figure 7 It is a flowchart of another data recommendation processing method provided in an embodiment of the present application;
[0048] Figure 8 It is a schematic diagram of an interaction scenario provided in an embodiment of the present application;
[0049] Fig. 9 It is a structural schematic diagram of a data recommendation processing device provided in an embodiment of the present application;
[0050] Fig.10 It is a structural diagram of a smart device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0052] In order to more clearly understand the technical solution provided by the embodiments of the present application, the key terms involved in the embodiments of the present application are first introduced here:
[0053] (1) Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new type of intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is also the study of the design principles and implementation methods of various intelligent machines, so that machines have the functions of perception, reasoning and decision-making.
[0054] In a possible implementation, the data recommendation processing method provided in the embodiment of the present application can be combined with the machine learning (ML) technology and deep learning technology in artificial intelligence. Among them, ML is a multi-field cross-disciplinary subject involving multiple disciplines such as probability theory, statistics, approximation theory, convex analysis, and algorithm complexity theory. It specializes in how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all fields of artificial intelligence. Machine learning and deep learning generally include technologies such as artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and formula-based learning.
[0055] For example, the data recommendation processing method provided in the embodiment of the present application may specifically involve a multilayer perceptron (MLP) and a transformer in machine learning and deep learning. For example, in the embodiment of the present application, the input of the MLP may be a multimodal transformation vector representation (or an attribute mapping vector representation), and then the hidden layer of the MLP may be selected to output a corresponding multimedia vector representation (or an attribute vector representation). For example, the embodiment of the present application may utilize a transformer to process object behavior feature data (including a plurality of multimedia consumption data sorted by consumption time) to automatically mine the information contained in the object behavior feature data (for example, the correlation between the various multimedia consumption data, such as the consumption of multimedia data 1 depends on the consumption of multimedia data 2, and the categories to which the various multimedia data consumed belong are the same, etc.).
[0056] MLP can also be called Artificial Neural Network (ANN). In addition to the input layer and the output layer, MLP also includes one or more hidden layers between the input layer and the output layer. The layers are fully connected. The first layer is the input layer, the middle layer is the hidden layer, and the last layer is the output layer. For easier understanding, please refer to Figure 1a , Figure 1a is a schematic diagram of the structure of a multilayer perceptron provided in an embodiment of the present application. It can be seen that Figure 1a The figure shows the simplest MLP, which includes only one hidden layer, i.e., a three-layer structure. When the input layer of the MLP contains n neurons, the input of the MLP is an n-dimensional vector. The neurons included in the hidden layer of the MLP are fully connected to the neurons included in the input layer. Assume that the input vector of the input layer is X = [x1, x2, ... x n ], then the output of the hidden layer is X1 = f(W1X + b1) = [a1, a2, ... a n], where W1 represents the weight (also called the connection coefficient), b1 represents the bias, and function f represents the activation function, which can be a sigmoid function, a tanh function, a relu function, etc. It can be understood that the use of the activation function can introduce nonlinear factors into neurons, so that MLP can arbitrarily approximate any nonlinear function, so that MLP can be used in more nonlinear models. The hidden layer to the output layer can be understood as a class of logistic regression (for example, it can be softmax regression or sigmoid regression). At this time, the output of the output layer can be Y=softmax(W2X1+b2) or sigmoid(W2X1+b2), where W2 represents the weight (also called the connection coefficient) and b2 represents the bias.
[0057] Transformer is a neural network based on the self-attention mechanism. For easier understanding, see Figure 1b , Figure 1b It is a structural diagram of a transformer provided in an embodiment of the present application. It can be seen that the Transformer is implemented based on the Encoder-Decoder framework, wherein the input part of the Transformer includes an input mapping (embedding) layer, an output mapping layer and a positional encoder. The input mapping layer can be used to convert input sequence data (which can be simply referred to as a sequence, for example, multiple multimedia consumption data sorted by consumption time) into a vector representation. At the same time, the input sequence data will be shifted right by one position and input to the output mapping layer. The position encoder can be used to perform position encoding processing on each data in the sequence data. The encoder included in the Transformer is used to perform a specified feature extraction process on the input sequence data, and can be composed of multiple (for example, N) encoder layers stacked, each encoder layer consisting of two sub-layer connection structures, and the first sub-layer connection structure includes a multi-head attention layer (Multi-HeadAttention), a residual connection (also called a jump connection, i.e. Figure 1bThe Transformer includes a decoder that can perform feature extraction operations in the target direction according to a given input, and can be composed of a plurality of (for example, N) decoder layers stacked together. Each decoder layer is based on the encoder layer and has a third sublayer connection structure constructed by a masked multi-head attention layer (Masked Multi-Head Attention), a residual connection, and a normalization layer. The output part of the Transformer includes a linear layer and a softmax function. The linear layer is used to obtain an output of a specified dimension. The softmax function can scale the numbers in the vector output by the linear layer to the range of 0-1.
[0058] (2) Data recommendation may refer to the process of distributing the multimedia data contained in the platform to platform objects (such as one or more resource accounts that have registered a platform account or temporarily logged into the platform) in a data recommendation platform (or data recommendation system). The essential problems to be solved include two points: efficiently connecting people and information; filtering out valuable information so that the right people can see the right information. Among them, the multimedia data contained in the data recommendation platform may include but is not limited to: videos (which can be divided into long videos and short videos according to the length of the video playback time), audio (such as music or voice audio, etc.), animation, literature (such as journals or papers, etc.), news information, etc.; the embodiments of the present application do not limit the specific types and contents of multimedia data.
[0059] It is understandable that the data recommendation platform may refer to an application that supports the distribution or recommendation of multimedia data. An application may refer to a computer program for completing one or more specific tasks; by classifying the application according to different dimensions (such as the operation mode and function of the application), the types of the same application under different dimensions can be obtained. For example: classified according to the operation mode of the application, the application may include but is not limited to: a client installed in a terminal device, an embedded sub-client integrated in the client (as a sub-program of the client), a web (WorldWide Web, Global Wide Area Network) application opened through a browser, and so on. Another example: classified according to the functional type of the application, the application may include but is not limited to: game applications, live broadcast applications, short video applications, video applications, music applications, shopping applications, novel applications, payment applications, and other applications with the function of displaying data information such as text, images, audio, and video.
[0060] Furthermore, the data recommendation platform can also be a plug-in (or function) included in the above-mentioned application that supports resource recommendation. For example, if the application is the instant messaging application mentioned above, then the data recommendation platform can be a data recommendation plug-in included in the instant messaging application; if the multimedia data is a short video, the data recommendation function provided by the instant messaging application is a short video distribution function; in this way, the target object (such as any object using the instant messaging application) can also browse and publish multimedia data in the process of using the instant messaging application for social interaction, without the need for application jump (such as jumping from the instant messaging application to an independent data recommendation application).
[0061] It should be noted that the multimedia type distributed by the same data recommendation platform is not limited to one type. For example, the multimedia types of multimedia data supported by the same data recommendation platform can include both video and audio. In addition, the embodiments of the present application do not limit the multimedia type of multimedia data distributed by the data recommendation platform, the type of application the data recommendation platform is, or the type of application that provides the data recommendation function.
[0062] It should also be noted that different data recommendation platforms adopt different data recommendation strategies. The data recommendation strategy of traditional data recommendation platforms is to use the information of multimedia data to extract the features of multimedia data, thereby calculating the user's preference for the extracted features, and then recommending multimedia data that matches the user's preferences to the user. For example, if the multimedia data is a short video, then the information of the short video (such as the title, type, upload time or content of the short video) can be used to recommend the short video to users who prefer the same information (such as the video type is food), so as to recommend short videos that may be of interest to the user. However, this data recommendation strategy of recommending what the user prefers can easily trap users in their own single preferences, narrowing the user's information selection and information reception, and limiting their vision.
[0063] This application embodiment proposes a data recommendation processing solution. The following briefly introduces the general implementation process of the data recommendation processing solution. For ease of understanding, please refer to Figure 2a , Figure 2a A schematic diagram of a scenario of a data recommendation processing solution provided in an embodiment of the present application. Figure 2aThe smart device 20 shown can obtain a target feature data set of a target object to be recommended (for example, any resource account in a data recommendation platform) and a related feature data set of an associated object of the target object (for example, a follow-up account, a friend account, a group friend account, etc.). The target feature data set includes: object attribute feature data and first object behavior feature data. The object attribute feature data may include relevant information of a user using the target object, for example, basic information of the user, preference information (for example, short-term interest tags, long-term interest tags, etc.). The first object behavior feature data may include behavior information generated by the target object for the recommended multimedia data; for example, when the recommended multimedia data is a short video, the first object behavior feature data may be a statistical behavior of the target object for watching the short video, such as the total duration of watching the short video within a period of time (for example, 3 days), the number of views of the short video, the category to which the watched short video belongs, the short video like sequence within a period of time (for example, 3 days), the short video collection sequence within a period of time (for example, 3 days), etc. The related feature data set may include information that can characterize the preferences of the associated objects of the target object for the multimedia data, and information reflecting the degree of association between the target object and the associated object.
[0064] Further, the smart device 20 can convert the object attribute feature data into a vector representation, and then input the object attribute feature data represented by the vector into the attribute feature module of the object-side model, so as to obtain the attribute vector representation of the object attribute feature data through the attribute feature module of the object-side model. It can be understood that the attribute vector representation is a feature obtained by modeling the target object, which can be used to characterize the target object. And the first object behavior feature data can be converted into a vector representation, and then the first object behavior feature data represented by the vector is input into the behavior feature module of the object-side model, so as to obtain the behavior vector representation of the first object behavior feature data through the behavior feature module of the object-side model. It can be understood that the behavior vector representation is a feature obtained by modeling the historical behavior of the target object, which can be used to characterize the target object's preference for multimedia data. Further, the associated feature data set can be converted into a vector representation, and then the associated feature data set represented by the vector and the object attribute feature data represented by the vector are input into the attention module of the object-side model, so as to adaptively learn the associated object's preference for multimedia data from the object attribute feature data and the associated feature data set through the attention module of the object-side model, and specifically can be characterized by the joint vector representation corresponding to the object attribute feature data and the associated feature data set output by the attention module of the object-side model. Therefore, the attribute vector representation, behavior vector representation and joint vector representation can be finally fused through the fusion module of the object-side model to obtain the object vector representation of the target object. That is to say, the object vector representation can jointly represent the target object's preference for multimedia data and the target object's associated objects' preference for multimedia data. By combining more object features, the target object's preference can be more comprehensively expressed.
[0065] In addition, the content database includes multiple multimedia data to be distributed (or recommended). When the smart device 20 recommends data for the target object, it can obtain a set of multimedia feature data of the target multimedia data (any multimedia data in the content database). The multimedia feature data set includes: position feature data and content feature data of multiple modalities. The position feature data is determined according to the position of the target multimedia data in the multimedia consumption sequence to which it belongs (including multiple multimedia consumption data sorted by consumption time). The content feature data of the multiple modalities may include multimedia attribute dimension information of the corresponding multimedia data (for example, title, author, cover image, release time, category label, etc.), as well as text information, video information, audio information, etc. included in the corresponding multimedia data.
[0066] Furthermore, the smart device 20 can convert the position feature data and the content feature data of multiple modalities into vector representations, and input the position feature data and content feature data of the vector representations into the transformer of the server-side model, thereby obtaining the multimodal transformation vector representation corresponding to the multimodal fusion vector representation through the transformer of the server-side model. The multimodal transformation vector representation is then encoded through the multi-layer perceptron of the server-side model to obtain a multimedia vector representation of the target multimedia data. It should be noted that the multimedia vector representation is used to characterize the characteristics of the target multimedia data, and the timing information of the target multimedia data can be introduced into the multimedia vector representation through the position feature data.
[0067] Finally, when it is determined that the object vector representation of the target object matches the multimedia vector representation of the target multimedia data, the smart device 20 may use the target multimedia data as multimedia recommendation data and push the multimedia recommendation data to the target object.
[0068] It is understandable that when the embodiments of the present application are applied to specific products or technologies, such as when making data recommendations for a target object, it is inevitable to obtain the target feature data set of the target object and the associated feature data set of the target object's associated objects. In this case, it is necessary to obtain the permission or consent of the target object and the associated objects, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0069] From the above, it can be seen that the embodiment of the present application not only uses the object attribute feature data and the first object behavior feature data to model the preferences of the target object, but also uses the associated feature data set of the associated objects of the target object to additionally introduce the preferences of the associated objects, so that the constructed object vector representation of the target object can not only reflect the preferences of the target object, but also reflect the preferences of the associated objects. When using the object vector representation of the target object for data recommendation, it can help the data recommendation platform to realize the distribution of multimedia data from multiple dimensions, realize information exchange interaction, expand the scope of data recommendation, obtain more comprehensive multimedia data to provide to the target object, and thus improve the effect of data recommendation.
[0070] It is understandable that the server-side model and object-side model mentioned above can be obtained through joint training. The specific implementation process can be seen in Figure 7 The illustrated embodiment.
[0071] See also Figure 2b , Figure 2b Schematic diagram of a network architecture provided by the embodiment of the present application based on the above data recommendation processing solution. Figure 2bAs shown, the network architecture may include a server 100 and a terminal cluster, and the terminal cluster may include multiple terminal devices. The embodiment of the present application does not limit the number of terminal devices included in the terminal cluster. Figure 2b As shown, the terminal cluster may specifically include: terminal device 200a, terminal device 200b, terminal device 200c, ..., terminal device 200n, wherein there may be a communication connection between the terminal clusters, for example, there is a communication connection between terminal device 200a and terminal device 200b, and there is a communication connection between terminal device 200a and terminal device 200c. At the same time, any terminal device in the terminal cluster may be in communication connection with the server 100, for example, there is a communication connection between terminal device 200a and server 100. The above-mentioned communication connection does not limit the connection method, and may be directly or indirectly connected through a wired communication method, or directly or indirectly connected through a wireless communication method, or through other methods, which are not limited in this application.
[0072] Among them, any terminal device in the terminal cluster (such as terminal device 200a) is deployed with a data recommendation platform, specifically an application that carries the data recommendation platform; in this way, resource accounts can receive and publish multimedia data through the data recommendation platform deployed in the terminal device. Any terminal device (such as terminal device 200a) may include but is not limited to: smart phones (such as smart phones with Android systems, or smart phones with Internet working Operating System (IOS)), tablet computers, portable personal computers, mobile Internet devices (Mobile Internet Devices, MID), vehicle-mounted devices, head-mounted devices and other devices. The embodiments of this application do not limit the type of terminal devices.
[0073] Server 100 is a server corresponding to the terminal cluster, specifically a background server of a data recommendation platform deployed in each terminal device in the terminal cluster, and is used to interact with each terminal device in the terminal cluster to provide computing and application service support for the data recommendation platform in each terminal device in the terminal cluster. Server 100 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0074] It is understandable that the data recommendation processing solution provided in the embodiment of the present application can be Figure 2b Any terminal device (such as terminal device 200a) and server 100 in the illustrated architecture may be executed by either or both of them; that is, the execution subject smart device 20 of the embodiment of the present application may be at least one of the terminal device or the server. Optionally, the joint training process of the server-side model and the object-side model mentioned above is executed by the server 100, and the trained server-side model and object-side model may be directly deployed in the server 100, so that each time data is recommended, the server 100 calls the trained server-side model and object-side model to implement data recommendation; at this time, the execution subject smart device of the data recommendation processing solution provided in the embodiment of the present application includes the server 100. Optionally, the trained server-side model and object-side model can also be deployed in the terminal device; for example, after the server-side model and object-side model are trained in the server 100, the trained server-side model and object-side model are sent to the terminal device, and the trained server-side model and object-side model are deployed in the terminal device; at this time, the intelligent device that executes the data recommendation processing solution provided in the embodiment of the present application includes the terminal device and the server; for example, if the joint training process of the server-side model and the object-side model is executed by the terminal device, then the trained server-side model and object-side model can be directly deployed in the terminal device, and at this time, the intelligent device that executes the data recommendation processing solution provided in the embodiment of the present application includes the terminal device.
[0075] For further understanding, please refer to Figure 3 , Figure 3 This is a flowchart of a data recommendation processing method provided by an embodiment of the present application; the data recommendation processing method can be executed by the above-mentioned smart device, which includes but is not limited to a terminal device or a server; for ease of understanding, the present application embodiment takes the smart device as an example of a server to illustrate the specific process of performing data recommendation in the server. Figure 3 As shown, the method may include but is not limited to steps S301-S306:
[0076] S301: Acquire a target feature data set of a target object to be recommended and a related feature data set of objects related to the target object, wherein the target feature data set includes: object attribute feature data and first object behavior feature data.
[0077] The target object may be any resource account that has registered a platform account or temporarily logged into the platform on the data recommendation platform. In one embodiment, when the target object has a need to obtain multimedia data, the data recommendation platform may receive a data recommendation request sent by the target object. The data recommendation platform may then respond to the received data recommendation request by obtaining the target feature data set of the target object and the associated feature data set of the associated objects of the target object, so as to implement multimedia data recommendations for the target object. Optionally, the data recommendation request may be automatically generated by the target object when the data recommendation platform is started; optionally, the data recommendation request may be generated when the target object performs a refresh operation in the information display interface of the data recommendation platform (a carrier for displaying multimedia data); the specific method of generating the data recommendation request is not limited in the embodiment of the present application.
[0078] Among them, the target feature data set of the target object includes object attribute feature data and first object behavior feature data. The object attribute feature data may include relevant information of the user who uses the target object, for example, the object attribute feature data may include one or more object attributes, and the object attribute may refer to the user's identification, gender, age, long-term interest tags, short-term interest tags and other attribute information, which are not limited here. The first object behavior feature data may include the behavior information generated by the target object for the recommended multimedia data (specifically, it may be positive behavior information to reflect the target object's preference for multimedia data), such as the multimedia consumption sequence of the target object, the sequence identifier (ID, used to uniquely identify the multimedia consumption sequence) of the multimedia consumption sequence to which the multimedia data consumed by the target object belongs (which may include multiple multimedia consumption data sorted by consumption time), the category to which the multimedia data consumed by the target object belongs, the number of times the target object consumes multimedia data, and so on. It can be understood that consumption may refer to positive feedback operations such as click, comment, play, view, favorite, and forward. The multimedia consumption sequence includes multiple multimedia consumption data sorted by consumption time. For example, if a user consumes multimedia data 1, multimedia data 2, and multimedia data 3 successively, then multimedia data 1, multimedia data 2, and multimedia data 3 are multimedia consumption data, and the multimedia consumption sequence can be multimedia data 1-multimedia data 2-multimedia data 3.
[0079] The associated feature data set may include behavior information generated by the associated objects of the target object for the recommended multimedia data (specifically, it may be positive behavior information to reflect the associated object's preference for multimedia data), and information that can characterize the degree of association (e.g., intimacy) between the target object and the associated objects. In one embodiment, the target object may have M (positive integer) associated objects, and the associated feature data set may include M associated feature data corresponding to the M associated objects. In a specific implementation, the associated relationship chain of the target object may be obtained, and the associated relationship chain is established using each account with a predetermined associated relationship (the predetermined associated relationship may be a social relationship, such as a group friend relationship, a friend relationship, and an interactive relationship). Due to the rapid development of various instant messaging applications and social applications, one or more associated relationship chains already exist for each account. For example, for the target object, the data source of its associated relationship chain may be: a group, an interactive message table, a friend list, a follow-up list, etc. Of course, the associated relationship chain may additionally include other information, such as the number of chats between different accounts, the number of common groups, the number of common friends, etc. In an embodiment of the present application, the association relationship chain constructed for the target object may include the target object and multiple associated objects of the target object (for example, the follow-up account followed by the target object, the first account that has a friend relationship, a group friend relationship, or an interactive relationship with the target object, the second account that has a friend relationship, a group friend relationship, or an interactive relationship with the first account of the target object, etc.), and the association relationship chain may additionally include information as shown in Table 1 below.
[0080] Table 1
[0081]
[0082]
[0083] Furthermore, the embodiment of the present application can determine M associated objects from multiple associated objects included in the associated relationship chain of the target object. The M associated objects can be all associated objects included in the associated relationship chain, or can be part of the associated objects screened from all associated objects included in the associated relationship chain (for example, randomly screened).
[0084] Then, the second object behavior feature data of any associated object among the M associated objects and the associated attribute feature data between any associated object and the target object can be obtained. Among them, the second object behavior feature data of any associated object (i.e., information that can characterize the preference of any associated object) can include the behavior information (specifically, positive behavior information) generated by any associated object for the recommended multimedia data, such as the multimedia consumption sequence of any associated object, the sequence ID of the multimedia consumption sequence to which the multimedia data consumed by any associated object belongs, the category to which the multimedia data consumed by any associated object belongs, the number of times the multimedia data is consumed by any associated object, and so on. The associated attribute feature data (i.e., information that can characterize the degree of association between the target object and any associated object) can include association type information and association number information, wherein the association type information can include the relationship category and the predetermined association relationship between any associated object and the target object obtained from the association relationship chain, and the association number information can include the relationship chain characteristics between any associated object and the target object obtained from the association relationship chain. Finally, the second object behavior feature data and the associated attribute feature data are determined as the association feature data corresponding to any associated object.
[0085] It can be understood that associated objects with different predetermined association relationships with the target object have different degrees of importance in affecting the interest of the target object. The embodiments of the present application can use this information obtained from the association relationship chain (i.e., relationship category, predetermined association relationship and relationship chain characteristics) to characterize the degree of association between different objects, and then further characterize the degree of influence of behaviors between different objects.
[0086] It should be noted that when the smart device in the embodiment of the present application obtains data such as the target feature data set of the target object and the associated feature data set of the associated objects of the target object, it can display a prompt interface or pop-up window. The prompt interface or pop-up window is used to prompt the target object or the associated object that it is currently collecting data such as the target feature data set or the associated feature data set. Only after the target object or the associated object issues a confirmation operation on the prompt interface or pop-up window, the relevant steps of data acquisition are started, otherwise it ends.
[0087] S302: Obtain an attribute vector representation of the object attribute feature data through the attribute feature module of the object-side model.
[0088] Among them, the object-side model includes a vector mapping (embedding) layer, which is used to map the input feature data of the input embedding layer to convert the input feature data into a mapping vector representation (embedding-vector) form (a low-dimensional dense vector). In an embodiment of the present application, the input feature data can be of two types: one-hot feature data obtained by one-hot encoding and multi-hot feature data obtained by multi-hot encoding. For example, there are seven types of week attributes (weekday) from Monday to Saturday, so one-hot encoding for weekday = Monday can obtain [1, 0, 0, 0, 0, 0], and there are three types of interest attributes (interest) including reading, playing ball, and dancing, so multi-hot encoding for interest = {read, dance} can obtain [1, 0, 1]. In one embodiment, the embedding layer performs mapping processing on the input feature data, including: when the input feature data belongs to one-hot feature data, the input feature data is mapped through the embedding layer to convert and obtain the corresponding mapping vector representation. When the input feature data belongs to multi-hot feature data, the input feature data can also be mapped through the embedding layer first, but the mapping vector representation obtained at this time is actually a vector list (including multiple vectors). In order to make the dimensions of each mapping vector representation the same, the embodiment of the present application will then perform pooling processing on the mapping vector representation obtained after the mapping processing, so that the dimension of the mapping vector representation obtained after the pooling processing is the set dimension. The pooling processing can be implemented by sum-pooling (cumulative pooling), average-pooling (average pooling), max-pooling (maximum pooling), weighted-sum-pooling (a simple pooling processing method that decays over time), etc., and there is no limitation on this.
[0089] In an embodiment of the present application, when the attribute vector representation of the object attribute feature data is obtained by the attribute feature module of the object-side model, the object attribute feature data can be input as input feature data into the embedding layer of the object-side model, and the object attribute feature data is mapped by the embedding layer of the object-side model to obtain the attribute mapping vector representation. In a specific implementation, each piece of information included in the object attribute feature data can exist in the form of one-hot feature data or multi-hot feature data, for example, the user's ID, gender, and age can exist in the form of one-hot feature data, and the user's long-term interest tags and short-term interest tags can exist in the form of multi-hot feature data. After the embedding layer converts each feature data in the object attribute feature data (which can include one or both of the one-hot feature data and the multi-hot feature data) into a corresponding mapping vector representation, the obtained mapping vector representations can be fused (for example, vector concatenation, vector addition, etc.) to obtain the attribute mapping vector representation.
[0090] Furthermore, the attribute mapping vector representation is used as the input of the attribute feature module of the object-side model, and the attribute mapping vector representation is encoded by the multilayer perceptron of the attribute feature module to obtain the attribute vector representation of the object attribute feature data. At this time, the output of the hidden layer of the multilayer perceptron can be used as the attribute vector representation of the object attribute feature data. Since the attribute vector representation is obtained by capturing and modeling the object attribute feature data of the target object, the embodiment of the present application can characterize the target object through the attribute vector representation.
[0091] S303: Obtain a behavior vector representation of the first object behavior feature data through a behavior feature module of the object-side model.
[0092] In an embodiment of the present application, when a behavior vector representation of the first object behavior feature data is obtained through the behavior feature module of the object-side model, the first object behavior feature data can be used as input feature data and input into the embedding layer of the object-side model. The first object behavior feature data is mapped through the embedding layer of the object-side model to obtain multiple behavior mapping vector representations of the first object behavior feature data.
[0093] Specifically, multiple multimedia consumption data whose consumption time (such as forwarding time, viewing time, comment time or playback time, etc.) meets the time limit condition (which can be set manually, such as within three days) can be obtained, and the multiple multimedia consumption data are sorted in the order of consumption time, so as to obtain multiple multimedia consumption data sorted according to consumption time (i.e., multimedia consumption sequence). It should be noted that the multiple multimedia consumption data obtained at this time refer to the multimedia data consumed by the target object. The first object behavior feature data may include the multiple multimedia consumption data sorted according to consumption time, and the statistical data of each multimedia consumption data (for example, multimedia attribute dimension information (such as tags, covers, titles, release time, categories, etc.), the sequence ID of the multimedia consumption sequence to which it belongs, the number of views, etc.). Then, when the embedding layer of the object-side model maps the first object behavior feature data, it may specifically map the statistical data of each multimedia consumption data to obtain the behavior mapping vector representation corresponding to each multimedia consumption data, and then multiple multimedia consumption data may correspond to multiple behavior mapping vector representations. It should be noted that each information in the statistical data of each multimedia consumption data can also exist in the form of one-hot feature data or multi-hot feature data. After the embedding layer converts each feature data in the statistical data of each multimedia consumption data (which may include one or both of the one-hot feature data and the multi-hot feature data) into a corresponding mapping vector representation, the obtained mapping vector representations can be fused (for example, vector concatenation, vector addition, etc.) to obtain the corresponding behavior mapping vector representation.
[0094] Further, the multiple behavior mapping vector representations are processed by the behavior feature module of the object-side model to obtain the behavior vector representation of the first object behavior feature data. Wherein, the behavior feature module includes a transformer and an average-pooling layer. In one embodiment, multiple behavior transformation vector representations corresponding to the multiple behavior mapping vector representations can be obtained by the Transformer of the behavior feature module. Specifically, the multiple behavior mapping vector representations can be sorted according to the order of consumption time of the multimedia consumption data corresponding to each of the multiple behavior mapping vector representations, and the multiple behavior mapping vector representations sorted according to the consumption time are determined as the object behavior feature sequence of the target object, and then the object behavior feature sequence is input into the Transformer of the behavior feature module, and the behavior transformation vector representation (encoder embedding) corresponding to each behavior mapping vector representation in the object behavior feature sequence is obtained by the Transformer, then the multiple behavior mapping vector representations correspond to multiple behavior transformation vector representations. Then, the multiple behavior transformation vector representations can be processed by the average pooling layer (average-pooling, which can also be replaced by mean pooling) of the behavior feature module to obtain the behavior vector representation of the first object behavior feature data. It should be noted that, at this time, the behavior vector representation focuses on representing the target object's global preference for multimedia data (ie, long-term preference).
[0095] Optionally, the behavior transformation vector representation corresponding to the last behavior mapping vector representation in the object behavior feature sequence can also be determined as the behavior vector representation of the first object behavior feature data, at which time the focus is on expressing the target object's real-time preference for multimedia data (i.e., short-term preference).
[0096] It should be noted that, based on its own attention mechanism, Transformer can take into account the correlation (such as temporal sequence) between each multimedia consumption data in the multimedia consumption sequence, and then can learn the deep representation (i.e., behavior transformation vector representation) of each multimedia consumption data by capturing the correlation relationship between each multimedia consumption data and other multimedia consumption data in the multimedia consumption sequence (such as temporal relationship, such as the consumption of multimedia data 1 depends on the consumption of multimedia data 2). The embodiment of the present application combines the attribute vector representation and the behavior vector representation as the feature on the target object side, which can effectively reflect the target object's preference for multimedia data, thereby improving the recommendation effect of the data recommendation platform.
[0097] S304. Obtain a joint vector representation corresponding to the object attribute feature data and the associated feature data set through the attention module of the object-side model.
[0098] Among them, Figure 3 It can be seen from S301 in the corresponding embodiment that the target object can have M associated objects, and the associated feature data set includes M associated feature data corresponding to the M associated objects. Among them, the attention module of the object-side model includes M object attention networks (User Attention Network, UAT), transformers (Transformer) and average pooling layers. In one embodiment, the process of obtaining the joint vector representation corresponding to the object attribute feature data and the associated feature data set through the attention module of the object-side model can include the following steps (1)-(4):
[0099] (1) The attribute mapping vector representation obtained by mapping the object attribute feature data through the embedding layer of the object-side model and the M associated mapping vector representations obtained by mapping the M associated feature data through the embedding layer of the object-side model are used as the input of the attention module.
[0100] Among them, the object attribute feature data is mapped through the embedding layer of the object-side model to obtain the attribute mapping vector representation, which can be seen in Figure 3 The description of S302 in the corresponding embodiment will not be repeated here.
[0101] In one embodiment, each associated feature data can be used as input feature data and input into the embedding layer of the object-side model. The embedding layer of the object-side model performs mapping processing on each associated feature data to obtain an associated mapping vector representation corresponding to each associated feature data. Then, M associated feature data correspond to M associated mapping vector representations. It should be noted that each piece of information in each associated feature data (i.e., the second object behavior feature data, the associated attribute feature data) can exist in the form of one-hot feature data or multi-hot feature data. Then, after the embedding layer converts each feature data in each associated feature data (which may include one or both of the one-hot feature data and the multi-hot feature data) into a corresponding mapping vector representation, the obtained mapping vector representations can be fused (for example, vector concatenation, vector addition, etc.) to obtain the corresponding associated mapping vector representation.
[0102] (2) The attribute mapping vector representation and the M association mapping vector representation are processed by the M UATs of the attention module to obtain M association weight vector representations.
[0103] For easier understanding, see Figure 4 , Figure 4A schematic diagram of the structure of an object attention network provided in an embodiment of the present application. Specifically, the attribute mapping vector representation and the i-th (i is a positive integer less than or equal to M) association mapping vector representation in the M association mapping vector representations can be input to the i-th UAT in the M UATs, and the i-th UAT performs a vector outer product operation on the attribute mapping vector representation and the i-th association mapping vector representation through an outer product operation component to obtain the outer product vector representation between the attribute mapping vector representation and the i-th association mapping vector representation. Then, the attribute mapping vector representation, the i-th association mapping vector representation and the outer product vector representation are fused (such as splicing), and the vector representation obtained after the fusion is input into the activation function layer of the i-th UAT (for activation operation, the relu function can be used as the activation function), and the output of the activation function layer of the i-th UAT is obtained. Further, the output of the activation function layer of the i-th UAT is used as the input of the linear layer (Linear layer, i.e., fully connected layer) of the i-th UAT, and the linear layer of the i-th UAT outputs the i-th association weight vector representation.
[0104] Among them, optionally, the i-th UAT can also obtain the difference vector representation between the attribute mapping vector representation and the i-th association mapping vector representation (specifically, it can be achieved by element-level vector subtraction), and fuse the difference vector representation with the attribute mapping vector representation, the i-th association mapping vector representation and the outer product vector representation as the input of the activation function layer of the i-th UAT.
[0105] It should be noted that associated objects with different degrees of association with the target object have different degrees of importance in influencing the interest of the target object, and the outer product vector representation (or difference vector representation) can be used to measure the similarity between two vectors. Therefore, the present application can simulate the relationship between the target object and the associated object with the help of the outer product vector representation, and then adaptively perform association modeling on the attribute mapping vector representation and the association mapping vector representation based on the outer product vector representation (or difference vector representation), so as to assign an association weight vector representation to each associated object of the target object (which can be used to reflect the degree of influence of the associated object on the interest of the target object). At the same time, since the association mapping vector representation incorporates information related to the historical behavior of the associated object (achieved by capturing and modeling the behavioral feature data of the second object), the interest expression of the associated object can be learned in the process of association modeling, that is, the association weight vector representation can also reflect the preference of the associated object.
[0106] (3) The associated transformation vector representation corresponding to the M associated weight vector representations is obtained through the Transformer of the attention module.
[0107] After obtaining the M association weight vector representations, the M association weight vector representations can be input into the Transformer of the attention module, which activates and characterizes the influence of different associated objects, thereby outputting the association transformation vector representations corresponding to the M association weight vector representations.
[0108] (4) The associated transformation vector representation is processed through the average pooling layer of the attention module to obtain a joint vector representation corresponding to the object attribute feature data and the associated feature data set.
[0109] The associated transformation vector representation is input to the average pooling layer of the attention module, and the average pooling layer of the attention module outputs the joint vector representation corresponding to the object attribute feature data and the associated feature data set. It should be noted that the joint vector representation can characterize the associated object's preference for multimedia data, and also considers the influence of the preferences of different associated objects on the behavior of the target object.
[0110] S305 , fusing the attribute vector representation, the behavior vector representation, and the joint vector representation through the fusion module of the object-side model to obtain an object vector representation of the target object.
[0111] In one embodiment, the attribute vector representation, the behavior vector representation, and the joint vector representation may be concatenated, and the concatenated vector representation may be input into the MLP of the fusion module to obtain the object vector representation of the target object. It is understandable that the object vector representation of the target object may jointly represent the preference of the target object for multimedia data and the preference of the associated objects of the target object for multimedia data.
[0112] S306: Acquire multimedia recommendation data from a content database according to the object vector representation of the target object.
[0113] The content database stores multiple multimedia data, each of which has a corresponding multimedia vector representation generated by a server-side model, and the multimedia vector representation of the multimedia recommendation data obtained from the content database matches the object vector representation of the target object.
[0114] In a specific implementation, a similarity operation is performed between the object vector representation of the target object and the multimedia vector representation of each multimedia data in the content database to obtain S similarity operation results (the content database contains S candidate resources). Then, from the S similarity operation results, one or more target similarity operation results whose similarity operation results are greater than the similarity threshold are determined. Subsequently, the multimedia vector representation corresponding to each target similarity operation result is determined as a target multimedia vector representation that matches the object vector representation of the target object. Finally, the multimedia data corresponding to the target multimedia vector representation is used as multimedia recommendation data. It can be understood that the number of multimedia recommendation data determined to be different varies depending on the value of the similarity threshold; the embodiment of the present application does not limit the specific value of the similarity threshold.
[0115] It can be seen that the embodiments of the present application can introduce the behavioral information of the associated objects through the associated relationship chain of the target object, and expand the dissemination of social interests through these social-related information, so that social recommendations and interest recommendations can support each other to form a strong loop, thereby expanding the scope of content distribution, and can improve and avoid the information cocoon effect, thereby strengthening and assisting the data recommendation process. At the same time, it can play a very positive role in promoting content generation, cold start of content, retention of new users, arousal of low-activity users, and social circle recommendations.
[0116] The target multimedia data is any one of the multiple multimedia data stored in the content database. Figure 5 , Figure 5 is a flow chart of another data recommendation processing method provided in an embodiment of the present application. The data recommendation processing method is used to obtain a multimedia vector representation of target multimedia data. The method may include but is not limited to steps S501-S504:
[0117] S501. Acquire a multimedia feature data set of target multimedia data, where the multimedia feature data set includes: position feature data and content feature data of multiple modalities.
[0118] The position characteristic data is determined based on the position of the target multimedia data in the multimedia consumption sequence to which it belongs. For example, if there are 3 multimedia consumption data in the multimedia consumption sequence to which the target multimedia data belongs, the position characteristic data of the first multimedia consumption data is 1, the position characteristic data of the second multimedia consumption data is 2, and the position characteristic data of the third multimedia consumption data is 3.
[0119] In one embodiment, obtaining content feature data of multiple modes of target multimedia data includes: performing frame extraction processing on the video stream data included in the target multimedia data, and determining the content feature data of the image mode according to the image frame obtained by the frame extraction processing. Then, the image frame obtained by the frame extraction processing can be subjected to text recognition processing to obtain text information, which can include subtitles in the image frame, text description information of the image content, etc., and then determining the content feature data of the text mode according to the text information and the multimedia attribute dimension information of the target multimedia data. Among them, the multimedia attribute dimension information includes multiple attribute information of the target multimedia data, such as the file size, cover image, title, release time, author, whether it is original and the first-level category, second-level category, third-level category, etc. of the target multimedia data. Finally, the content feature data of the image mode and the content feature data of the text mode are determined as the content feature data of multiple modes of the target multimedia data.
[0120] S502: Generate modal vector representations of multiple modalities based on the content feature data and the position feature data, and fuse the modal vector representations of multiple modalities to obtain a multi-modal fused vector representation.
[0121] For each image frame in the content feature data of the image modality, an image encoder (used to convert an image into a vector representation, such as Swin Transformer (a deep learning model based on Transformer)) can be used for encoding processing to obtain a modal vector representation of the image modality. For the content feature data of the text modality, a text encoder (used to convert text into a vector representation, such as BERT (Bidirectional Encoder Representationsfrom Transformers, a bidirectional encoder representation model based on transformers)), one-hot encoding, multi-hot encoding, etc. can be used for encoding processing to obtain a modal vector representation of the text modality. For example, the text information extracted from the image frame can be encoded using a text encoder, and the multimedia attribute dimension information of the target multimedia data can be encoded using one-hot encoding or multi-hot encoding. In one implementation, the modal vector representation corresponding to the position feature data can be obtained through one-hot encoding. For example, if there are 3 multimedia consumption data in the multimedia consumption sequence to which the target multimedia data belongs, when the position feature data is 1, the corresponding modal vector is represented as [1, 0, 0], when the position feature data is 2, the corresponding modal vector is represented as [0, 1, 0], and when the position feature data is 3, the corresponding modal vector is represented as [0, 0, 1].
[0122] In this way, after obtaining the modal vector representations of multiple modalities, the modal vector representations of the multiple modalities can be fused to obtain a multimodal fused vector representation. Optionally, the fusion process can be implemented by inputting the modal vector representations of the multiple modalities into a single-layer Transfromer.
[0123] S503. Obtain a multimodal transformation vector representation corresponding to the multimodal fusion vector representation through a transformer of the server-side model.
[0124] In an embodiment of the present application, the multimodal fusion vector representation may be input into the transformer of the server-side model, and the transformer of the server-side model may perform deeper cross-modal fusion to generate a multimodal transformation vector representation corresponding to the multimodal fusion vector representation.
[0125] S504: Encode the multimodal transformation vector representation through the multi-layer perceptron of the server-side model to obtain a multimedia vector representation of the target multimedia data.
[0126] In the embodiment of the present application, the multimodal transformation vector representation can be input into the multi-layer perceptron (MLP) of the server-side model, and the output of the hidden layer of the MLP of the server-side model can be used as the multimedia vector representation of the target multimedia data.
[0127] From the above, it can be seen that the embodiments of the present application can use the attribute information, location information, and content information of multiple dimensions of the target multimedia data to model the target multimedia data, and can describe the target multimedia data from multiple angles, so that the obtained multimedia vector representation can more accurately represent the target multimedia data.
[0128] In summary, the embodiments of the present application can provide Figure 6Schematic diagram of the scenario of the data recommendation processing scheme shown. Among them, the input of the object-side model can be regarded as a high-dimensional sparse binary vector, which is composed of the target feature data set of the target object and the individual feature data in the associated feature data set of the target object's associated objects (which can be one-hot feature data or multi-hot feature data). Then the vector mapping layer of the object-side model obtains the corresponding attribute mapping vector representation, association mapping vector representation (when there are M associated objects, the number of association mapping vector representations is M) and behavior mapping vector representation (which may include multiple, one behavior mapping vector representation corresponds to one multimedia consumption data) through mapping processing. Further, the attribute mapping vector representation is processed by the multi-layer perceptron of the attribute feature module to obtain the attribute vector representation; the behavior mapping vector representation is processed by the behavior feature module (including transformer and average pooling layer) to obtain the behavior vector representation; the association mapping vector representation is processed by the attention module (including multiple UATs, transformers and average pooling layers) to obtain the joint vector representation. The final fusion module (including multi-layer perceptron and splicing components ) fuses the attribute mapping vector representation, the behavior vector representation and the joint vector representation to obtain the object vector representation of the target object. The input of the server-side model is the multimedia feature data set of the target multimedia data (which can be any one in the content database), and each information in the multimedia feature data set of the target multimedia data can be converted into a vector representation, thereby obtaining the modal vector representation of multiple modalities, and then the modal vector representation of multiple modalities is fused to obtain a multimodal fusion vector representation. Finally, the multimodal fusion vector is processed by the server-side model (including a transformer and a multi-layer perceptron) to obtain the multimedia vector representation of the target multimedia data. When performing data recommendation, when it is determined that the object vector representation of the target object matches the multimedia vector representation of the target multimedia data, the target multimedia data can be used as multimedia recommendation data, and the multimedia recommendation data can be pushed to the target object.
[0129] When recommending data for a target object, the embodiment of the present application may introduce a target feature data set including object attribute feature data and first object behavior feature data, and then capture the attribute vector representation of the modeled object attribute feature data through the attribute feature module of the object-side model, and capture the behavior vector representation of the modeled first object behavior feature data through the behavior feature module of the object-side model, and refer to the target object side features of the attribute vector representation and the behavior vector representation to reflect the target object's preference for multimedia data; at the same time, by obtaining the associated feature data set of the associated objects of the target object, and adaptively learning the associated object's preference for multimedia data from the object attribute feature data and the associated feature data set through the attention module of the object-side model, the preference of the target object for multimedia data can be specifically reflected through the object-side model. The object attribute feature data output by the attention module and the joint vector representation corresponding to the associated feature data set are represented; finally, the attribute vector representation, the behavior vector representation and the joint vector representation are fused through the fusion module of the object-side model to obtain the object vector representation of the target object. That is to say, the object vector representation of the target object can jointly represent the target object's preference for multimedia data and the target object's associated objects' preference for multimedia data. In this way, a more comprehensive object vector representation for representing the target object's preference can be obtained. Therefore, when obtaining multimedia recommendation data from the content database based on the object vector representation of the target object, multi-dimensional recall of multimedia data can be achieved, and more comprehensive multimedia data can be obtained to provide to the target object, thereby improving the effect of data recommendation.
[0130] For further information, see Figure 7 , Figure 7 : is a flowchart of another data recommendation processing method provided by an embodiment of the present application. The data recommendation processing method can be executed by the above-mentioned smart device, where the smart device includes but is not limited to a terminal device or a server; for ease of understanding, the present application embodiment takes the smart device as an example of a server to illustrate the specific process of jointly training the object-side model under training and the server-side model in the server. Figure 7 As shown, the method may include but is not limited to steps S701-S704:
[0131] S701. Obtain an object vector representation of a training object through an object-side model in training.
[0132] It is understandable that the training object can be any resource account that has registered a platform account on the data recommendation platform or temporarily logged into the platform. The embodiment of the present application can obtain a training feature data set of the training object and a training associated feature data set of the training associated object of the training object. Among them, the training feature data set may include training object attribute feature data and training object behavior feature data. Furthermore, the object vector representation of the training object can be obtained by using the training feature data set and the training associated feature data set through the object-side model in training. The detailed implementation process can be found in the above Figure 3 Steps S301-S306 in the corresponding embodiment will not be described in detail here.
[0133] It is understandable that when the embodiments of the present application are applied to specific products or technologies, it is inevitable to obtain the training feature data set of the training object and the training-related feature data set of the training object's training-related objects. Therefore, it is necessary to obtain the permission or consent of the training object and the training-related objects, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0134] S702: Obtain multimedia vector representation of multimedia training data through the server model in training.
[0135] It is understandable that the multimedia training data can be any multimedia data distributed to the training object. In the embodiment of the present application, a training multimedia feature data set of the multimedia training data can be obtained, and then the multimedia vector representation of the multimedia training data can be obtained by using the training multimedia feature data set through the server model in training. The detailed implementation process can be found in the above Figure 5 Steps S501-S504 in the corresponding embodiment will not be described in detail here.
[0136] S703: Determine a supervision label according to the feedback processing of the training object on the multimedia training data.
[0137] When the training subject performs positive feedback processing such as clicking, playing, forwarding, sharing or positively commenting on the multimedia training data, the supervision note can be determined as a positive sample label (which can be marked as 1). When the training subject performs negative feedback processing on the multimedia training data (for example, not clicking, not playing, quickly swiping, etc.), the supervision note can be determined as a negative sample label (which can be marked as 0).
[0138] S704. Based on the loss parameters calculated by the loss function adopted in the joint training stage, the server-side model in training and the object-side model in training are jointly trained to obtain the server-side model and the object-side model, wherein the loss parameters include: object vector representation of the training object, multimedia vector representation of the multimedia training data, and supervision labels.
[0139] In one embodiment, the loss function used in the joint training stage may be a binary cross entropy loss function, which is applicable to 0 / 1 binary classification, and the output result range is [0, 1], which can measure the degree of matching. The formula description is shown in the following formula (1):
[0140]
[0141] Among them, loss represents the loss function value, y represents the supervision label (1 or 0), a represents the similarity between the multimedia vector representation of the multimedia training data and the object vector representation of the training object, and n represents the number of training samples. It can be understood that a training sample includes a multimedia vector representation of multimedia training data, an object vector representation of a training object, and a supervision label determined based on the feedback processing of the multimedia training data by the training object. It can be understood that, in this way, when y is 0, the first half of the formula is 0, and a needs to be as 0 as possible to make the value of the second half smaller; when y is 1, the second half is 0, and a needs to be as 1 as possible to make the value of the first half smaller, so as to achieve the desired effect of making y as close to a as possible.
[0142] It can be understood that the embodiments of the present application can use the loss function shown in formula (1) and the loss parameters calculated by the loss function used in the joint training stage to calculate the corresponding loss function value, and then based on the loss function value, the model parameters of the object-side model and the server-side model in training can be corrected, thereby realizing the joint training of the object-side model and the server-side model.
[0143] It can be understood that the training goal of jointly training the object-side model and the server-side model in training is to enable the object-side model and the server-side model to obtain better model parameters, so as to accurately predict the object vector representation of the target object and the multimedia vector representation of the target multimedia data.
[0144] Among them, it can be understood that based on the loss function value, the model parameters of the object-side model and the server-side model in training are corrected, which can be specifically: correcting the model parameters of the object-side model and the server-side model in training in the direction of reducing the loss function value. It should be noted that "in the direction of reducing the model loss function value" means: the model optimization direction with the goal of minimizing the loss function value. By optimizing the model in this direction, the loss function value generated by the object-side model and the server-side model in training after the model parameters are corrected must be less than the loss function value generated by the object-side model and the server-side model in training before the model parameters are corrected. For example, the loss function value calculated this time is 0.85. Then, after correcting the model parameters in the direction of reducing the loss function value, the subsequent loss function value should be less than 0.85.
[0145] It is understandable that when the joint training result indicates that the object-side model and the server-side model in training after the model parameter correction meet the model convergence condition, the object-side model and the server-side model in training that meet the model convergence condition can be used as the object-side model and the server-side model respectively. Wherein, satisfying the model convergence condition includes: the loss function value is less than the set loss threshold, and the number of model parameter corrections reaches a preset number of times or more.
[0146] From the above, it can be seen that the embodiment of the present application can obtain the object-side model and the server-side model by jointly training the object-side model and the server-side model in training, and then use the object-side model to generate an object vector representation of the target object, and use the server-side model to generate a multimedia vector representation of the target multimedia data, thereby assisting the data recommendation platform in distributing multimedia data through the object-side model and the server-side model, which is conducive to improving the effect of data recommendation.
[0147] It can be understood that in an embodiment of the present application, one or more resource accounts can realize the reception and publication of multimedia data in the data recommendation platform through the terminal devices carried by them. For the convenience of explanation and distinction, the terminal devices used by content generators who publish or upload multimedia data in the data recommendation platform are referred to as content production ends, and the terminal devices used by content consumers who receive and browse multimedia data in the data recommendation platform are referred to as content consumption ends.
[0148] It is understandable that short videos refer to video content played on various new media platforms, suitable for viewing in a mobile state and a short leisure state, and pushed at a high frequency, ranging from a few seconds to a few minutes. At present, short videos have been rising from many head traffic platforms such as UGC (User Generated Content), PGC (Professional Generated Content), and user uploads at the beginning, to MCN (Multi-Channel Network), and then to professional short video applications. Short videos have become one of the important ways of communication for content entrepreneurship and social media platforms. Various short video content is also becoming more and more abundant. Both producers and consumers of short video content have become a huge group. Among them, PGC is also called PPC (Professionally-produced Content), which is used to refer to content personalization, diversified perspectives, and virtualization of social relationships. MCN is to unite PGC content, and with the strong support of capital, to ensure the continuous output of content, so as to ultimately achieve stable realization. For the convenience of explanation, the subsequent embodiments are explained by taking the multimedia data distributed by the data recommendation platform as a short video as an example.
[0149] For further information, see Figure 8 , Figure 8 It is a schematic diagram of an interaction scenario provided in an embodiment of the present application. Figure 8 The content production end and content consumption end in the above Figure 2b Any terminal device in the corresponding embodiment. It can be understood that content producers such as PGC, UGC, MCN, PUGC (Professional Generated Content + User Generated Content, a content production mode that combines UGC + PGC) can directly interact with the uplink and downlink content interface services of smart devices (for example, a background server that provides data recommendation services) through the content production end used. Specifically, the content producer can obtain the interface address of the uplink and downlink content interface service through the content production end, and through the interface address, upload the multimedia data to be published (for example, local or filmed video) and the multimedia attribute dimension information of the multimedia data (for example, title, author, summary, cover image, release time, whether it is original, classification and tag information (for example, the multimedia data is an article about watches, the first-level classification of the article can be technology, the second-level classification can be smart watches, and the third-level classification can be domestic watches. The tag information can specifically be the brand and model of the watch) etc.) to the uplink and downlink content interface service. Among them, the content producer can select matching music, filter templates and filter beautification functions for the uploaded multimedia data.
[0150] Furthermore, the smart device can store the multimedia data generated (i.e., uploaded) by the content production end and the multimedia attribute dimension information of the multimedia data in the content database through the uplink and downlink content interface services. It should be noted that before storing the multimedia data generated by the content production end in the content database, the uplink and downlink content interface services can also perform standard transcoding operations on the multimedia data to normalize the multimedia data and ensure the compatibility of the multimedia data. After the transcoding is completed, the information such as the file size, bit rate, specifications, and the captured cover image can also be saved in the content database.
[0151] It should be noted that the content database can be a storage server that the content production end accesses from a group of storage server clusters that are widely distributed, or it can refer to a warehouse specifically used to store data. When the content database refers to a storage server, it is necessary to download the multimedia data and / or multimedia attribute dimension information of the multimedia data in the storage server through a download file system. Among them, the download file system is usually a group of parallel servers, which are composed of related task scheduling and distribution clusters, and can control the speed and progress of the download.
[0152] Optionally, the multimedia attribute dimension information of the multimedia data can be stored in the content database (in this case, a warehouse dedicated to storing data), and the multimedia data can be stored in the storage server. It should be noted that in addition to being a data source for external services, the storage server can also be used as a data source for internal services, and can be used for downloading file systems to obtain original multimedia data for related processing. The channels of internal and external data sources are usually deployed separately to avoid mutual influence.
[0153] The scheduling service can be used to be responsible for the entire scheduling process of multimedia data flow, and can control the scheduling order and priority. Specifically, the smart device can schedule the content processing system to perform content processing through the scheduling service. Among them, the content processing includes any one or two steps of the following: scheduling the audit system to audit and process the multimedia data, scheduling the audit system to audit and process the multimedia attribute dimension information of the multimedia data, and scheduling the machine processing system to pre-process the multimedia data.
[0154] Among them, the audit system is usually a system developed based on a web database with complex business, which can include machine audit processing and manual audit processing. In one implementation, the audit system can obtain multimedia data and / or multimedia attribute dimension information of multimedia data through the upstream and downstream content interface services, and then can first use the audit model obtained by machine learning training to conduct a preliminary audit of the multimedia data and / or the multimedia attribute dimension information of multimedia data (i.e., machine audit processing), and then conduct a secondary manual audit on this basis to ensure that the uploaded multimedia data and / or the multimedia attribute dimension information of multimedia data meets the specified specifications. For example, the specified specifications can be laws or policies, so as to filter out multimedia data and / or multimedia attribute dimension information of multimedia data that do not meet the specified specifications, so as to improve the accuracy and efficiency of the audit through human-machine collaboration. It should be noted that the audit results of the audit system can be written into the content database through the scheduling service.
[0155] In one embodiment, the scheduling machine processing system performs preprocessing on the multimedia data, including: generating a multimedia vector representation of each submitted multimedia data (which may refer to each multimedia data stored in the content data) through a server-side model. Specifically, the machine processing system may obtain each submitted multimedia data and / or multimedia attribute dimension information of each submitted multimedia data through an uplink and downlink content interface service, and then perform frame extraction processing on each submitted multimedia data (using a video frame extraction service) to obtain a corresponding image frame, and read text information from the image frame obtained by the frame extraction processing (using a text recognition service), and then determine the text content attribute feature data of each submitted multimedia data based on the read text information and the multimedia attribute dimension information obtained from the content database. The text content attribute feature data of each submitted multimedia data and the image frame obtained by the frame extraction processing of each submitted multimedia data can be used as inputs of the server-side model to generate a multimedia vector representation of each submitted multimedia data.
[0156] Optionally, the smart device may also provide an audio separation service to separate audio stream data from the multimedia data, and then use the audio stream data as a multi-dimensional input for the content of the multimedia data.
[0157] Furthermore, matching processing is performed based on the multimedia vector representation of each submitted multimedia data to obtain a matching result, which represents the similarity between any two multimedia data in each submitted multimedia data (used to reflect the repetition between the two multimedia data). Finally, deduplication processing is performed on the submitted multimedia data based on the similarity between any two multimedia data in each submitted multimedia data, for example, multimedia data repeatedly stored in the content database is marked and filtered. At this time, the deduplication result of the deduplication processing performed by the machine processing system can also be written into the content database through the scheduling service.
[0158] In one embodiment, the smart device can also call the machine processing system by calling the service to distribute multimedia data to the content consumption end. Specifically, the smart device can respond to the data recommendation request sent by the content consumption end, generate the object vector representation of the content consumer corresponding to the content consumption end through the object end model, and then match the object vector representation of the content consumer with the multimedia vector representation of each multimedia data in the content database to determine the multimedia recommendation data distributed to the content consumer, and then distribute the multimedia recommendation data to the content consumer through the content distribution export service. Since the number of multimedia data in the content database is very large, the corresponding number of multimedia vector representations is also very large. In the process of matching the object vector representation with the multimedia vector representation of each multimedia data, the computing pressure of the smart device is huge. Therefore, the present application can use the Faiss index library (ElasticSearch index library, etc., a search and data analysis engine) as the index library of multimedia data, and perform operations based on the vector function provided in Faiss (or ElasticSearch), so as to realize the rapid acquisition of multimedia recommendation data. Optionally, the object vector representation (embedding result) of each resource account and the multimedia vector representation (embedding result) of each multimedia data may be saved separately, and then the corresponding embedding result may be directly queried for matching when making data recommendations.
[0159] In one embodiment, the content consumption end can also directly communicate with the uplink and downlink content interface modules to obtain the index information of the required multimedia data, and then download the corresponding multimedia data from the content database through the index information and display it on the display screen (or simply referred to as the display screen) of the content consumption end. In addition, the content consumption end can also report various consumption behaviors of the content consumer to the server after obtaining the permission or permission of the content consumer. For example, if the multimedia data is a short video, the consumption behavior may include the playback time of the short video, the cache time, the loading time, the freeze situation, and various interactive behaviors between the content consumer and the short video, such as commenting, forwarding, sharing, collecting, liking, reporting, etc.
[0160] The embodiments of the present application can use a machine processing system, a content database, an upstream and downstream content interface service, a content recommendation model (including a server-side model and an object-side model), an audit system, and a scheduling service to build a complete content data processing system, which can realize automatic submission and storage of content, and fully automated processing of auditing, deduplication, and recommendation without human intervention, thereby improving the efficiency of content processing.
[0161] The above describes in detail the method of the embodiment of the present application. In order to facilitate the implementation of the above solution of the embodiment of the present application, the following provides a device of the embodiment of the present application. Fig. 9 , Fig. 9 is a structural diagram of a data recommendation processing device provided in an embodiment of the present application; the data recommendation processing device can be used as a computer program (including program code) running in a smart device; the data recommendation processing device can be used to execute Figure 3 , Figure 5 as well as Figure 7 Some or all of the steps in the method embodiment shown. Fig. 9 , the data recommendation processing device includes the following units:
[0162] An acquisition unit 901 is used to acquire a target feature data set of a target object to be recommended and a related feature data set of an object related to the target object, wherein the target feature data set includes: object attribute feature data and first object behavior feature data;
[0163] A processing unit 902 is configured to obtain an attribute vector representation of the object attribute feature data through an attribute feature module of the object side model, and obtain a behavior vector representation of the first object behavior feature data through a behavior feature module of the object side model;
[0164] The processing unit 902 is further used to obtain a joint vector representation corresponding to the object attribute feature data and the associated feature data set through the attention module of the object-side model;
[0165] The processing unit 902 is further used to fuse the attribute vector representation, the behavior vector representation and the joint vector representation through the fusion module of the object-side model to obtain an object vector representation of the target object;
[0166] The processing unit 902 is further configured to obtain multimedia recommendation data from the content database according to the object vector representation of the target object.
[0167] In one embodiment, the content database stores a plurality of multimedia data, each multimedia data has a corresponding multimedia vector representation generated by a server-side model, and the multimedia vector representation of the multimedia recommendation data obtained from the content database matches the object vector representation of the target object;
[0168] The server-side model and the object-side model are obtained through joint training. The loss parameters calculated by the loss function used in the joint training stage include: the object vector representation of the training object obtained by the object-side model in training, the multimedia vector representation of the multimedia training data obtained by the server-side model in training, and the supervision label determined based on the feedback processing of the training object on the multimedia training data.
[0169] In one embodiment, the acquisition unit 901 is specifically used to: acquire a multimedia feature data set of target multimedia data, the multimedia feature data set including: position feature data and content feature data of multiple modalities;
[0170] The processing unit 902 is specifically used for: generating modal vector representations of multiple modalities based on each content feature data and position feature data, and fusing the modal vector representations of multiple modalities to obtain a multimodal fusion vector representation; obtaining a multimodal transformation vector representation corresponding to the multimodal fusion vector representation through a transformer of a server-side model; encoding the multimodal transformation vector representation through a multi-layer perceptron of a server-side model to obtain a multimedia vector representation of target multimedia data; the target multimedia data is any one of the multiple multimedia data.
[0171] In one embodiment, when the processing unit 902 is used to obtain content feature data of multiple modalities of target multimedia data, it is specifically used to: perform frame extraction processing on the video stream data included in the target multimedia data, and determine the content feature data of the image modality based on the image frames obtained by the frame extraction processing; perform text recognition processing on the image frames obtained by the frame extraction processing to obtain text information, and determine the content feature data of the text modality based on the text information and multimedia attribute dimension information of the target multimedia data; determine the content feature data of multiple modalities of the target multimedia data based on the content feature data of the image modality and the content feature data of the text modality.
[0172] In one embodiment, the processing unit 902 is specifically used to: store the multimedia data generated by the content production end and the multimedia attribute dimension information of the multimedia data into a content database through the uplink and downlink content interface services; schedule the content processing system to perform content processing through the scheduling service, wherein the content processing includes any one or two of the following steps: scheduling the review system to perform review processing on the multimedia data, scheduling the review system to perform review processing on the multimedia attribute dimension information of the multimedia data, and scheduling the machine processing system to pre-process the multimedia data; wherein the review system obtains the multimedia data and / or the multimedia attribute dimension information of the multimedia data through the uplink and downlink content interface services; and the machine processing system obtains the multimedia data and / or the multimedia attribute dimension information of the multimedia data through the uplink and downlink content interface services.
[0173] In one embodiment, when the processing unit 902 is used to schedule the machine processing system to pre-process the multimedia data, it is specifically used to: generate a multimedia vector representation of each submitted multimedia data through a server-side model; perform matching processing based on the multimedia vector representation of each submitted multimedia data to obtain a matching result, and the matching result represents the similarity between any two multimedia data in each submitted multimedia data; perform deduplication processing on the submitted multimedia data based on the similarity between any two multimedia data in each submitted multimedia data; wherein, when the multimedia vector representation of each submitted multimedia data is generated through the server-side model, the input of the server-side model includes: text content attribute feature data of each submitted multimedia data and image frames obtained by frame extraction processing of each submitted multimedia data, and the text content attribute feature data includes multimedia attribute dimension information read from the content database and text information read from the image frames obtained by frame extraction processing.
[0174] In one embodiment, the object-side model includes a vector mapping layer, the attribute feature module includes a multi-layer perceptron, and the processing unit 902 is used to obtain the attribute vector representation of the object attribute feature data through the attribute feature module of the object-side model. Specifically, it is used to: use the attribute mapping vector representation obtained by mapping the object attribute feature data through the vector mapping layer of the object-side model as the input of the attribute feature module; encode the attribute mapping vector representation through the multi-layer perceptron of the attribute feature module to obtain the attribute vector representation of the object attribute feature data.
[0175] In one embodiment, the object-side model includes a vector mapping layer, and the processing unit 902 is used to obtain the behavior vector representation of the first object behavior feature data through the behavior feature module of the object-side model, and is specifically used to: use multiple behavior mapping vector representations of the first object behavior feature data obtained through the vector mapping layer of the object-side model as the input of the behavior feature module of the object-side model, and the first object behavior feature data includes multiple multimedia consumption data sorted according to consumption time; process the multiple behavior mapping vector representations through the behavior feature module of the object-side model to obtain the behavior vector representation of the first object behavior feature data; wherein the behavior feature module of the object-side model obtains the behavior vector representation of the first object behavior feature data based on multiple multimedia consumption data whose consumption time meets the time limit condition; or, the behavior feature module of the object-side model obtains multiple behavior transformation vector representations corresponding to the multiple behavior mapping vector representations through the transformer of the behavior feature module, and processes the multiple behavior transformation vector representations through the average pooling layer of the behavior feature module to obtain the behavior vector representation of the first object behavior feature data.
[0176] In one embodiment, the associated feature data set includes M associated feature data corresponding to M associated objects, where M is a positive integer; the object-side model includes a vector mapping layer, and the attention module includes M object attention networks, a transformer and an average pooling layer; when the processing unit 902 is used to obtain the joint vector representation corresponding to the object attribute feature data and the associated feature data set through the attention module of the object-side model, it is specifically used to: use the attribute mapping vector representation obtained by mapping the object attribute feature data through the vector mapping layer of the object-side model, and the M associated mapping vector representations obtained by mapping the M associated feature data through the vector mapping layer of the object-side model, as inputs to the attention module; process the attribute mapping vector representation and the M associated mapping vector representations through the M object attention networks of the attention module to obtain M associated weight vector representations; obtain the associated transformation vector representation corresponding to the M associated weight vector representations through the transformer of the attention module; and process the associated transformation vector representation through the average pooling layer of the attention module to obtain a joint vector representation.
[0177] In one embodiment, the acquisition unit 901 is specifically used to: acquire an outer product vector representation between the attribute mapping vector representation and the i-th association mapping vector representation among the M association mapping vector representations, where i is a positive integer less than or equal to M;
[0178] The processing unit 902 is specifically used to: fuse the attribute mapping vector representation, the i-th association mapping vector representation and the outer product vector representation, and input the fused vector representation into the activation function layer of the i-th object attention network in the M object attention networks to obtain the output of the activation function layer of the i-th object attention network; use the output of the activation function layer of the i-th object attention network as the input of the linear layer of the i-th object attention network, and the linear layer of the i-th object attention network outputs the i-th association weight vector representation.
[0179] In one embodiment, the object-side model includes a vector mapping layer, which is used to map the input feature data, where the input feature data includes: object attribute feature data, first object behavior feature data, and any one or more of the feature data in the associated feature data set; when the input feature data belongs to one-hot feature data, the input feature data is mapped through the vector mapping layer; when the input feature data belongs to multi-hot feature data, the input feature data is mapped through the vector mapping layer, and the mapping vector representation obtained after the mapping processing is pooled, and the dimension of the mapping vector representation obtained after the pooling processing is the set dimension.
[0180] In one embodiment, the acquisition unit 901 is specifically used to: acquire the second object behavior feature data of any associated object among the M associated objects, and the associated attribute feature data between any associated object and the target object, wherein the associated attribute feature data includes the associated type information and the associated number information;
[0181] The processing unit 902 is specifically configured to determine the second object behavior feature data and the associated attribute feature data as associated feature data corresponding to any associated object.
[0182] According to one embodiment of the present application, Fig. 9 The various units in the data recommendation processing device shown can be individually or completely combined into one or several other units to form, or one (some) of the units can be further divided into multiple functionally smaller units to form, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the data recommendation processing device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units. According to another embodiment of the present application, it can be executed by running on a general computing device such as a computer including processing elements and storage elements such as a central processing unit (CPU), a random access storage medium (RAM), and a read-only storage medium (ROM). Figure 3 , Figure 5 as well as Figure 7 A computer program (including program code) for each step involved in the corresponding method shown in FIG. Fig. 9 The data recommendation processing device shown in the embodiment of the present application is implemented by the data recommendation processing method. The computer program can be recorded on a computer-readable recording medium, for example, and loaded into the above-mentioned computing device through the computer-readable recording medium and run therein.
[0183] When recommending data for a target object, the embodiment of the present application may introduce a target feature data set including object attribute feature data and first object behavior feature data, and then capture the attribute vector representation of the modeled object attribute feature data through the attribute feature module of the object-side model, and capture the behavior vector representation of the modeled first object behavior feature data through the behavior feature module of the object-side model, and refer to the target object side features of the attribute vector representation and the behavior vector representation to reflect the target object's preference for multimedia data; at the same time, by obtaining the associated feature data set of the associated objects of the target object, and adaptively learning the associated object's preference for multimedia data from the object attribute feature data and the associated feature data set through the attention module of the object-side model, the preference of the target object for multimedia data can be specifically reflected through the object-side model. The object attribute feature data output by the attention module and the joint vector representation corresponding to the associated feature data set are represented; finally, the attribute vector representation, the behavior vector representation and the joint vector representation are fused through the fusion module of the object-side model to obtain the object vector representation of the target object. That is to say, the object vector representation of the target object can jointly represent the target object's preference for multimedia data and the target object's associated objects' preference for multimedia data. In this way, a more comprehensive object vector representation for representing the target object's preference can be obtained. Therefore, when obtaining multimedia recommendation data from the content database based on the object vector representation of the target object, multi-dimensional recall of multimedia data can be achieved, and more comprehensive multimedia data can be obtained to provide to the target object, thereby improving the effect of data recommendation.
[0184] Fig.10 is a schematic diagram of the structure of a smart device provided in an embodiment of the present application. Fig.10 , the intelligent device includes a processor 1001, a communication interface 1002 and a computer-readable storage medium 1003. The processor 1001, the communication interface 1002 and the computer-readable storage medium 1003 can be connected via a bus or other means. The communication interface 1002 is used to receive and send data. The computer-readable storage medium 1003 can be stored in the memory of the intelligent device, the computer-readable storage medium 1003 is used to store a computer program, the computer program includes program instructions, and the processor 1001 is used to execute the program instructions stored in the computer-readable storage medium 1003. The processor 1001 (or CPU (Central Processing Unit)) is the computing core and control core of the intelligent device, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding function.
[0185] The embodiment of the present application also provides a computer-readable storage medium (Memory), which is a memory device in an intelligent device for storing programs and data. It is understandable that the computer-readable storage medium here can include both the built-in storage medium in the intelligent device and the extended storage medium supported by the intelligent device. The computer-readable storage medium provides a storage space, which stores the processing system of the intelligent device. In addition, one or more instructions suitable for being loaded and executed by the processor 1001 are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage; optionally, it can also be at least one computer-readable storage medium located away from the aforementioned processor.
[0186] In one embodiment, the computer-readable storage medium stores one or more instructions; the processor 1001 loads and executes the one or more instructions stored in the computer-readable storage medium to implement the corresponding steps in the above data recommendation processing method embodiment; in a specific implementation, the one or more instructions in the computer-readable storage medium are loaded by the processor 1001 and execute the following steps:
[0187] Acquire a target feature data set of a target object to be recommended and a related feature data set of objects related to the target object, wherein the target feature data set includes: object attribute feature data and first object behavior feature data;
[0188] Obtaining an attribute vector representation of the object attribute feature data through an attribute feature module of the object-side model, and obtaining a behavior vector representation of the first object behavior feature data through a behavior feature module of the object-side model;
[0189] The joint vector representation corresponding to the object attribute feature data and the associated feature data set is obtained through the attention module of the object-side model;
[0190] The attribute vector representation, the behavior vector representation and the joint vector representation are fused through the fusion module of the object-side model to obtain the object vector representation of the target object;
[0191] According to the object vector representation of the target object, multimedia recommendation data is obtained from the content database.
[0192] In one embodiment, the content database stores a plurality of multimedia data, each multimedia data has a corresponding multimedia vector representation generated by a server-side model, and the multimedia vector representation of the multimedia recommendation data obtained from the content database matches the object vector representation of the target object;
[0193] The server-side model and the object-side model are obtained through joint training. The loss parameters calculated by the loss function used in the joint training stage include: the object vector representation of the training object obtained by the object-side model in training, the multimedia vector representation of the multimedia training data obtained by the server-side model in training, and the supervision label determined based on the feedback processing of the training object on the multimedia training data.
[0194] In one embodiment, one or more instructions in a computer-readable storage medium are loaded by the processor 1001 and specifically execute the following steps: obtaining a multimedia feature data set of target multimedia data, the multimedia feature data set including: position feature data and content feature data of multiple modalities; generating modal vector representations of multiple modalities based on each content feature data and position feature data, and fusing the modal vector representations of multiple modalities to obtain a multimodal fusion vector representation; obtaining a multimodal transformation vector representation corresponding to the multimodal fusion vector representation through a transformer of a server-side model; encoding the multimodal transformation vector representation through a multilayer perceptron of a server-side model to obtain a multimedia vector representation of the target multimedia data; the target multimedia data is any one of the multiple multimedia data.
[0195] In one embodiment, when one or more instructions in a computer-readable storage medium are loaded and executed by the processor 1001 to obtain content feature data of multiple modalities of target multimedia data, the following steps are specifically performed: frame extraction is performed on the video stream data included in the target multimedia data, and content feature data of the image modality is determined based on the image frames obtained by the frame extraction process; text recognition is performed on the image frames obtained by the frame extraction process to obtain text information, and content feature data of the text modality is determined based on the text information and multimedia attribute dimension information of the target multimedia data; content feature data of multiple modalities of the target multimedia data is determined based on the content feature data of the image modality and the content feature data of the text modality.
[0196] In one embodiment, one or more instructions in a computer-readable storage medium are loaded by the processor 1001 and specifically execute the following steps: storing multimedia data generated by the content production end and multimedia attribute dimension information of the multimedia data in a content database through upstream and downstream content interface services; scheduling the content processing system to perform content processing through a scheduling service, wherein the content processing performed includes any one or two of the following steps: scheduling the review system to perform review processing on the multimedia data, scheduling the review system to perform review processing on the multimedia attribute dimension information of the multimedia data, and scheduling the machine processing system to pre-process the multimedia data; wherein the review system obtains multimedia data and / or multimedia attribute dimension information of multimedia data through upstream and downstream content interface services; and the machine processing system obtains multimedia data and / or multimedia attribute dimension information of multimedia data through upstream and downstream content interface services.
[0197] In one embodiment, when one or more instructions in a computer-readable storage medium are loaded and executed by the processor 1001 to schedule the machine processing system to pre-process multimedia data, the following steps are specifically performed: a multimedia vector representation of each submitted multimedia data is generated through a server-side model; matching processing is performed based on the multimedia vector representation of each submitted multimedia data to obtain a matching result, and the matching result represents the similarity between any two multimedia data in each submitted multimedia data; and the submitted multimedia data is deduplicated based on the similarity between any two multimedia data in each submitted multimedia data; wherein, when the multimedia vector representation of each submitted multimedia data is generated through the server-side model, the input of the server-side model includes: text content attribute feature data of each submitted multimedia data and image frames obtained by frame extraction processing of each submitted multimedia data, and the text content attribute feature data includes multimedia attribute dimension information read from a content database and text information read from the image frames obtained by frame extraction processing.
[0198] In one embodiment, the object-side model includes a vector mapping layer, and the attribute feature module includes a multi-layer perceptron. When one or more instructions in the computer-readable storage medium are loaded and executed by the processor 1001 to obtain the attribute vector representation of the object attribute feature data through the attribute feature module of the object-side model, the following steps are specifically performed: the attribute mapping vector representation obtained by mapping the object attribute feature data through the vector mapping layer of the object-side model is used as the input of the attribute feature module; the attribute mapping vector representation is encoded through the multi-layer perceptron of the attribute feature module to obtain the attribute vector representation of the object attribute feature data.
[0199] In one embodiment, the object-side model includes a vector mapping layer, and when one or more instructions in a computer-readable storage medium are loaded and executed by the processor 1001 to obtain a behavior vector representation of the first object behavior feature data through the behavior feature module of the object-side model, the following steps are specifically performed: multiple behavior mapping vector representations of the first object behavior feature data obtained through the vector mapping layer of the object-side model are used as inputs to the behavior feature module of the object-side model, and the first object behavior feature data include multiple multimedia consumption data sorted according to consumption time; the multiple behavior mapping vector representations are processed through the behavior feature module of the object-side model to obtain a behavior vector representation of the first object behavior feature data; wherein the behavior feature module of the object-side model obtains the behavior vector representation of the first object behavior feature data based on multiple multimedia consumption data whose consumption time meets the time limit condition; or, the behavior feature module of the object-side model obtains multiple behavior transformation vector representations corresponding to the multiple behavior mapping vector representations through the transformer of the behavior feature module, and processes the multiple behavior transformation vector representations through the average pooling layer of the behavior feature module to obtain the behavior vector representation of the first object behavior feature data.
[0200] In one embodiment, the associated feature data set includes M associated feature data corresponding to M associated objects, where M is a positive integer; the object-side model includes a vector mapping layer, and the attention module includes M object attention networks, a transformer and an average pooling layer; when one or more instructions in the computer-readable storage medium are loaded and executed by the processor 1001 to obtain a joint vector representation corresponding to the object attribute feature data and the associated feature data set through the attention module of the object-side model, the following steps are specifically performed: the attribute mapping vector representation obtained by mapping the object attribute feature data through the vector mapping layer of the object-side model, and the M associated mapping vector representations obtained by mapping the M associated feature data through the vector mapping layer of the object-side model are used as inputs of the attention module; the attribute mapping vector representation and the M associated mapping vector representations are processed by the M object attention networks of the attention module to obtain M associated weight vector representations; the associated transformation vector representations corresponding to the M associated weight vector representations are obtained by the transformer of the attention module; the associated transformation vector representations are processed by the average pooling layer of the attention module to obtain a joint vector representation.
[0201] In one embodiment, one or more instructions in a computer-readable storage medium are loaded and executed by the processor 1001 to process the attribute mapping vector representation and the M association mapping vector representations through the M object attention networks of the attention module to obtain M association weight vector representations, and specifically perform the following steps: obtain the outer product vector representation between the attribute mapping vector representation and the i-th association mapping vector representation in the M association mapping vector representations, where i is a positive integer less than or equal to M; fuse the attribute mapping vector representation, the i-th association mapping vector representation and the outer product vector representation, and input the fused vector representation into the activation function layer of the i-th object attention network in the M object attention networks to obtain the output of the activation function layer of the i-th object attention network; use the output of the activation function layer of the i-th object attention network as the input of the linear layer of the i-th object attention network, and the linear layer of the i-th object attention network outputs the i-th association weight vector representation.
[0202] In one embodiment, the object-side model includes a vector mapping layer, which is used to map the input feature data, where the input feature data includes: object attribute feature data, first object behavior feature data, and any one or more of the feature data in the associated feature data set; when the input feature data belongs to one-hot feature data, the input feature data is mapped through the vector mapping layer; when the input feature data belongs to multi-hot feature data, the input feature data is mapped through the vector mapping layer, and the mapping vector representation obtained after the mapping processing is pooled, and the dimension of the mapping vector representation obtained after the pooling processing is the set dimension.
[0203] In one embodiment, when one or more instructions in a computer-readable storage medium are loaded and executed by the processor 1001 to obtain a set of associated feature data of associated objects of a target object, the following steps are specifically performed: obtaining the second object behavior feature data of any associated object among the M associated objects, and the associated attribute feature data between any associated object and the target object, the associated attribute feature data including association type information and association number information; determining the second object behavior feature data and the associated attribute feature data as the associated feature data corresponding to any associated object.
[0204] Based on the same inventive concept, the principles and beneficial effects of solving the problems by the smart device provided in the embodiments of the present application are similar to the principles and beneficial effects of solving the problems by the data recommendation processing method in the method embodiments of the present application. Please refer to the principles and beneficial effects of the implementation of the method. For the sake of concise description, they will not be repeated here.
[0205] The embodiment of the present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the smart device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the smart device executes the above-mentioned data recommendation processing method.
[0206] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0207] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted through a computer-readable storage medium. The computer instructions can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
[0208] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A data recommendation processing method, characterized in that: include: Acquire a target feature data set of a target object to be recommended and a related feature data set of objects related to the target object, wherein the target feature data set includes: object attribute feature data and first object behavior feature data; Obtaining an attribute vector representation of the object attribute feature data through an attribute feature module of the object side model, and obtaining a behavior vector representation of the first object behavior feature data through a behavior feature module of the object side model; Obtaining a joint vector representation corresponding to the object attribute feature data and the associated feature data set through an attention module of the object-side model; The attribute vector representation, the behavior vector representation and the joint vector representation are fused by a fusion module of the object-side model to obtain an object vector representation of the target object; According to the object vector representation of the target object, multimedia recommendation data is obtained from a content database.
2. The method according to claim 1, characterized in that The content database stores a plurality of multimedia data, each of which has a corresponding multimedia vector representation generated by a server-side model, and the multimedia vector representation of the multimedia recommendation data obtained from the content database matches the object vector representation of the target object; The server-side model and the object-side model are obtained through joint training. The loss parameters calculated by the loss function used in the joint training stage include: the object vector representation of the training object obtained by the object-side model in training, the multimedia vector representation of the multimedia training data obtained by the server-side model in training, and the supervision label determined based on the feedback processing of the training object on the multimedia training data.
3. The method according to claim 2, characterized in that The method further comprises: Acquire a multimedia feature data set of target multimedia data, wherein the multimedia feature data set includes: position feature data and content feature data of multiple modalities; Generating modal vector representations of multiple modalities based on each content feature data and the position feature data, and fusing the modal vector representations of the multiple modalities to obtain a multimodal fused vector representation; Obtaining a multimodal transformation vector representation corresponding to the multimodal fusion vector representation through a transformer of the server-side model; The multi-modal transformation vector representation is encoded by the multi-layer perceptron of the server-side model to obtain a multimedia vector representation of the target multimedia data; The target multimedia data is any one of the plurality of multimedia data.
4. The method according to claim 3, characterized in that Obtain content feature data of multiple modalities of target multimedia data, including: Performing frame extraction processing on the video stream data included in the target multimedia data, and determining content feature data of the image modality according to the image frames obtained by the frame extraction processing; Performing text recognition processing on the image frames obtained by the frame extraction processing to obtain text information, and determining content feature data of the text modality according to the text information and multimedia attribute dimension information of the target multimedia data; Content feature data of multiple modalities of the target multimedia data are determined according to the content feature data of the image modality and the content feature data of the text modality.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The multimedia data generated by the content production end and the multimedia attribute dimension information of the multimedia data are stored in the content database through the uplink and downlink content interface services; Scheduling the content processing system to perform content processing through the scheduling service, wherein the content processing includes any one or two of the following steps: scheduling the audit system to perform audit processing on the multimedia data, scheduling the audit system to perform audit processing on the multimedia attribute dimension information of the multimedia data, and scheduling the machine processing system to pre-process the multimedia data; Among them, the audit system obtains multimedia data and / or multimedia attribute dimension information of multimedia data through the upstream and downstream content interface services; the machine processing system obtains multimedia data and / or multimedia attribute dimension information of multimedia data through the upstream and downstream content interface services.
6. The method according to claim 5, characterized in that The scheduling machine processing system pre-processes the multimedia data, including: Generate multimedia vector representations of each submitted multimedia data through the server-side model; Performing matching processing according to the multimedia vector representation of each submitted multimedia data to obtain a matching result, wherein the matching result represents the similarity between any two multimedia data in each submitted multimedia data; Deduplication processing is performed on the submitted multimedia data according to the similarity between any two multimedia data in each submitted multimedia data; Among them, when generating the multimedia vector representation of each submitted multimedia data through the server-side model, the input of the server-side model includes: the text content attribute feature data of each submitted multimedia data and the image frame obtained by frame extraction processing of each submitted multimedia data, and the text content attribute feature data includes the multimedia attribute dimension information read from the content database and the text information read from the image frame obtained by frame extraction processing.
7. The method according to claim 1, characterized in that The object-side model includes a vector mapping layer, the attribute feature module includes a multi-layer perceptron, and the attribute vector representation of the object attribute feature data is obtained through the attribute feature module of the object-side model, including: Using the attribute mapping vector representation obtained by mapping the object attribute feature data through the vector mapping layer of the object-side model as the input of the attribute feature module; The attribute mapping vector representation is encoded by the multi-layer perceptron of the attribute feature module to obtain the attribute vector representation of the object attribute feature data.
8. The method according to claim 1, characterized in that The object-side model includes a vector mapping layer, and obtaining the behavior vector representation of the first object behavior feature data through the behavior feature module of the object-side model includes: Using a plurality of behavior mapping vector representations of the first object behavior feature data obtained by the vector mapping layer of the object-side model as inputs to a behavior feature module of the object-side model, wherein the first object behavior feature data includes a plurality of multimedia consumption data sorted by consumption time; Processing a plurality of behavior mapping vector representations through a behavior feature module of an object-side model to obtain a behavior vector representation of the first object behavior feature data; The behavior feature module of the object-side model obtains the behavior vector representation of the first object behavior feature data according to a plurality of multimedia consumption data whose consumption time meets the time limit condition; Alternatively, the behavior feature module of the object-side model obtains multiple behavior transformation vector representations corresponding to the multiple behavior mapping vector representations through the transformer of the behavior feature module, and processes the multiple behavior transformation vector representations through the average pooling layer of the behavior feature module to obtain the behavior vector representation of the first object behavior feature data.
9. The method according to claim 1, characterized in that The associated feature data set includes M associated feature data corresponding to M associated objects, where M is a positive integer; the object-side model includes a vector mapping layer, and the attention module includes M object attention networks, a transformer, and an average pooling layer; The joint vector representation corresponding to the object attribute feature data and the associated feature data set is obtained by the attention module of the object-side model, including: Using the attribute mapping vector representation obtained by mapping the object attribute feature data through the vector mapping layer of the object-side model, and the M association mapping vector representations obtained by mapping the M association feature data through the vector mapping layer of the object-side model as inputs to the attention module; Processing the attribute mapping vector representation and the M association mapping vector representations through the M object attention networks of the attention module to obtain M association weight vector representations; Obtaining, through the transformer of the attention module, an association transformation vector representation corresponding to the M association weight vector representations; The associated transformation vector representation is processed by the average pooling layer of the attention module to obtain the joint vector representation.
10. The method according to claim 9, characterized in that The M object attention networks of the attention module process the attribute mapping vector representation and the M association mapping vector representations to obtain M association weight vector representations, including: Obtaining an outer product vector representation between the attribute mapping vector representation and an i-th association mapping vector representation among the M association mapping vector representations, where i is a positive integer less than or equal to M; The attribute mapping vector representation, the i-th association mapping vector representation and the outer product vector representation are fused, and the fused vector representation is input into the activation function layer of the i-th object attention network in the M object attention networks to obtain the output of the activation function layer of the i-th object attention network; The output of the activation function layer of the i-th object attention network is used as the input of the linear layer of the i-th object attention network, and the i-th associated weight vector output by the linear layer of the i-th object attention network is represented.
11. The method according to claim 1, characterized in that The object-side model includes a vector mapping layer, and the vector mapping layer is used to perform mapping processing on input feature data, and the input feature data includes: object attribute feature data, first object behavior feature data, and any one or more of feature data in an associated feature data set; When the input feature data belongs to one-hot feature data, mapping the input feature data through a vector mapping layer; When the input feature data belongs to multi-hot feature data, the input feature data is mapped through a vector mapping layer, and the mapping vector representation obtained after the mapping processing is pooled, and the dimension of the mapping vector representation obtained after the pooling processing is the set dimension.
12. The method according to claim 1, characterized in that The associated feature data set includes M associated feature data corresponding to M associated objects, and the step of acquiring the associated feature data set of the associated objects of the target object includes: Acquire second object behavior feature data of any associated object among the M associated objects, and associated attribute feature data between any associated object and the target object, wherein the associated attribute feature data includes association type information and association frequency information; The second object behavior feature data and the associated attribute feature data are determined as the associated feature data corresponding to any associated object.
13. A data recommendation processing device, characterized in that: include: An acquisition unit, configured to acquire a target feature data set of a target object to be recommended and an associated feature data set of an associated object of the target object, wherein the target feature data set includes: object attribute feature data and first object behavior feature data; a processing unit, configured to obtain an attribute vector representation of the object attribute feature data through an attribute feature module of the object side model, and obtain a behavior vector representation of the first object behavior feature data through a behavior feature module of the object side model; The processing unit is further used to obtain a joint vector representation corresponding to the object attribute feature data and the associated feature data set through an attention module of the object-side model; The processing unit is further used to fuse the attribute vector representation, the behavior vector representation and the joint vector representation through a fusion module of the object-side model to obtain an object vector representation of the target object; The processing unit is further configured to obtain multimedia recommendation data from a content database according to the object vector representation of the target object.
14. A smart device, characterized in that: include: a processor adapted to execute a computer program; A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the data recommendation processing method according to any one of claims 1 to 12 is implemented.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the data recommendation processing method according to any one of claims 1 to 12.
16. A computer program product, characterized in that The computer program product includes computer instructions, and when the computer instructions are executed by a processor, the data recommendation processing method according to any one of claims 1 to 12 is implemented.
