Data processing method, device and readable storage medium

By introducing attribute features of future moments into the adversarial network, training the generator and discriminator, and adjusting model parameters, the problem of a single type of existing associated recommendation models is solved, and the diversity and quality of media data recommendations are improved.

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

Patent Information

Application Number
CN202111675687.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-09-10
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

Existing associated recommendation models are too single-type when recommending media data, resulting in a decline in recommendation quality.

Method used

By introducing attribute features of future moments into the initial adversarial network, the generator and discriminator are trained together, the model parameters are adjusted, and a target adversarial network is generated to predict the triggering probability of media data and enrich recommended media data types.

Benefits of technology

It improves the diversity of recommended media data types and recommendation quality, can better match the interests of target objects, and improves the effect of the recommendation system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114357301B
    Figure CN114357301B
Patent Text Reader

Abstract

The present application discloses a data processing method, device and readable storage medium, the method comprising: obtaining the general attribute features and first future attribute features respectively corresponding to each first sample media data of the first sample object, outputting the first trigger probability of the first sample object for each first sample media data in the initial discriminator according to the general attribute features and the first future attribute features, and outputting the second trigger probability for the candidate sample media data provided by the initial generator in the initial discriminator; adjusting the model parameters of the initial adversarial network according to the first trigger probability and the second trigger probability to obtain the target adversarial network. By adopting the present application, the running time of the probability prediction model can be reduced and the quality of the recommended candidate media data can be improved. The embodiments of the present application can be applied to various scenarios such as cloud technology, artificial intelligence, smart transportation, and assisted driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a data processing method, device and readable storage medium. Background Art

[0002] With the advent of the digital age, readers have higher and higher requirements for the association recommendation effect of reading content. Association recommendation is applied to scenarios such as database, multimedia data viewing, and travel route analysis. It is a common operation in artificial intelligence models and computer deep learning. Commonly used association recommendation models include recommendation algorithms based on traditional methods such as collaborative filtering and logistic regression, recommendation algorithms using deep learning sorting algorithms and reinforcement learning algorithms, and masked language models (MLM).

[0003] The commonly used association recommendation model currently has a wide coverage and can provide associated recommendation media data for multiple types of target media data. Currently, the associated recommendation of media data is usually based on some hot content, which will result in the recommended media data type being too single, reducing the recommendation quality. Summary of the invention

[0004] The embodiments of the present application provide a data processing method, device, and readable storage medium, which can enrich the types of recommended media data and improve the recommendation quality.

[0005] On the one hand, an embodiment of the present application provides a data processing method, including:

[0006] Determine, according to the first historical trigger attribute information associated with the first sample object and the media attribute information respectively corresponding to the at least two first sample media data, a common attribute feature respectively corresponding to the first sample object for each first sample media data;

[0007] Acquire a first future attribute feature of the first sample object associated with the first historical trigger attribute information at a future moment;

[0008] Screening out candidate sample media data from at least two second sample media data by an initial generator in the initial adversarial network, and sending the candidate sample media data to an initial discriminator in the initial adversarial network;

[0009] In the initial discriminator, according to the common attribute feature and the first future attribute feature respectively corresponding to each first sample media data of the first sample object, a first trigger probability of the first sample object for each first sample media data is output, and in the initial discriminator, a second trigger probability for the candidate sample media data is output;

[0010] According to the first trigger probability and the second trigger probability, the model parameters of the initial adversarial network are adjusted to obtain the target adversarial network, and the target generator in the target adversarial network is determined as a probability prediction model for predicting the trigger probability of the target object for the media data.

[0011] Furthermore, the at least two first sample media data include first sample media data S i , i is a positive integer;

[0012] The method also includes:

[0013] Determine the object attribute information of the first sample object, the trigger record information of the first sample object, and the distribution environment information of the historically triggered first sample media data as the first historically triggered attribute information associated with the first sample object; the historically triggered first sample media data is the first sample media data recorded in the trigger record information;

[0014] The first sample media data S i The media data label, media data content category and media data scene category of the first sample media data S i The corresponding media attribute information.

[0015] Furthermore, screening out candidate sample media data from at least two second sample media data by an initial generator in the initial adversarial network includes:

[0016] Determine, according to the second historical trigger attribute information associated with the second sample object and the media attribute information respectively corresponding to the at least two second sample media data, a common attribute feature respectively corresponding to the second sample object for each second sample media data;

[0017] Inputting the common attribute features of the second sample object corresponding to each second sample media data into an initial generator in the initial adversarial network, and generating the first generation trigger probability of the second sample object corresponding to each second sample media data through the initial generator;

[0018] According to the second historical trigger attribute information, S matching samples are screened out from at least two second sample media data; the S matching samples are second sample media data that have not been triggered by the second sample object; S is a positive integer;

[0019] The S matching samples are sorted according to the first generation trigger probability to obtain sorted S matching samples, and K matching samples are obtained from the sorted S matching samples as candidate sample media data; K is a positive integer less than or equal to S.

[0020] Furthermore, the initial discriminator includes a feature convolution layer, a neural network perception layer, and a fully connected activation layer;

[0021] In the initial discriminator, outputting a first trigger probability of the first sample object for the first sample media data according to the common attribute feature corresponding to the first sample object for the candidate sample media data and the first future attribute feature includes:

[0022] Performing convolution fusion processing on the general attribute feature corresponding to the first sample media data and the first future attribute feature of the first sample object through the feature convolution layer to obtain a first sample convolution fusion feature, and inputting the first sample convolution fusion feature into the neural network perception layer;

[0023] Performing weighted conversion processing on the convolution fusion feature of the first sample through the neural network perception layer to obtain the feature to be activated corresponding to the convolution fusion feature of the first sample, and inputting the feature to be activated into the fully connected activation layer;

[0024] The features to be activated are activated through the fully connected activation layer to obtain a first trigger probability of the first sample object for the first sample media data.

[0025] Furthermore, outputting a second trigger probability for the candidate sample media data in the initial discriminator includes:

[0026] Acquire a second future attribute feature of the second sample object associated with the second historical trigger attribute information at a future moment;

[0027] In the initial discriminator, a second trigger probability of the second sample object for the candidate sample media data is output according to the common attribute feature corresponding to the second sample object for the candidate sample media data and the second future attribute feature.

[0028] Further, according to the first trigger probability and the second trigger probability, the model parameters of the initial adversarial network are adjusted to obtain the target adversarial network, including:

[0029] Determine a first loss value for the first sample media data according to the first trigger probability and a true trigger label for the first sample media data;

[0030] Determine a second loss value for the candidate sample media data according to the second trigger probability;

[0031] Adjusting the model parameters of the initial discriminator according to the adversarial discriminant loss function, the first loss value, and the second loss value;

[0032] Adjusting the model parameters of the initial generator according to the adversarial generation loss function, the first loss value, and the second loss value;

[0033] Generate a target adversarial network based on the adjusted initial discriminator and the adjusted initial generator.

[0034] Furthermore, according to the adjusted initial discriminator and the adjusted initial generator, a target adversarial network is generated, including:

[0035] Determine, according to the second historical trigger attribute information associated with the second sample object and the media attribute information respectively corresponding to the at least two second sample media data, a common attribute feature respectively corresponding to the second sample object for each second sample media data;

[0036] Inputting the common attribute features of the second sample object corresponding to each second sample media data into the initial generator, and generating the first generation trigger probability of the second sample object corresponding to each second sample media data through the initial generator;

[0037] determining a third loss value for the second sample media data according to the first generated trigger probability and a true trigger label for the second sample media data;

[0038] According to the supervised loss function and the third loss value, the model parameters of the adjusted initial generator are adjusted to obtain the target generator, and the target generator and the adjusted initial discriminator are determined as the target adversarial network.

[0039] Furthermore, according to the adjusted initial discriminator and the adjusted initial generator, a target adversarial network is generated, including:

[0040] Inputting the common attribute features of the first sample object corresponding to each first sample media data into the initial generator, and generating the second generation trigger probability corresponding to each first sample media data by the first sample object through the initial generator;

[0041] Obtaining first latent features of the first sample object corresponding to each first sample media data from the initial generator, and obtaining second latent features of the first sample object corresponding to each first sample media data from the initial discriminator;

[0042] According to the error between the first trigger probability and the second generated trigger probability, and the error between the first latent feature and the second latent feature, the model parameters of the adjusted initial generator are adjusted to obtain the target generator;

[0043] According to the error between the first trigger probability and the second generated trigger probability, and the error between the first latent feature and the second latent feature, the model parameters of the adjusted initial discriminator are adjusted to obtain the target discriminator, and the target generator and the target discriminator are determined as a target adversarial network.

[0044] An embodiment of the present application provides a data processing device, including:

[0045] a general feature determination module, configured to determine a general attribute feature of the first sample object corresponding to each first sample media data according to the first historical trigger attribute information associated with the first sample object and the media attribute information corresponding to at least two first sample media data respectively;

[0046] A future feature acquisition module, used to acquire a first future attribute feature of the first sample object associated with the first historical trigger attribute information at a future moment;

[0047] A candidate sample screening module, configured to screen candidate sample media data from at least two second sample media data through an initial generator in an initial adversarial network, and the initial generator sends the candidate sample media data to an initial discriminator in the initial adversarial network;

[0048] A first probability triggering module is used to output a first triggering probability of the first sample object for each first sample media data in the initial discriminator according to the common attribute feature and the first future attribute feature respectively corresponding to each first sample media data by the first sample object;

[0049] A second probability triggering module, configured to output a second triggering probability for the candidate sample media data in the initial discriminator;

[0050] The adversarial model adjustment module is used to adjust the model parameters of the initial adversarial network according to the first trigger probability and the second trigger probability to obtain a target adversarial network, and determine the target generator in the target adversarial network as a probability prediction model for predicting the trigger probability of the target object for media data.

[0051] The at least two first sample media data include the first sample media data S i , i is a positive integer;

[0052] The data processing device also includes:

[0053] A historical information triggering module, configured to determine object attribute information of a first sample object, trigger record information of the first sample object, and distribution environment information of historically triggered first sample media data as first historical trigger attribute information associated with the first sample object; the historically triggered first sample media data is the first sample media data recorded in the trigger record information;

[0054] The media information determination module is used to determine the first sample media data S i The media data label, media data content category and media data scene category of the first sample media data S i The corresponding media attribute information.

[0055] Among them, the candidate sample screening module includes:

[0056] a feature determination unit, configured to determine, based on the second historical trigger attribute information associated with the second sample object and the media attribute information respectively corresponding to at least two second sample media data, a common attribute feature of the second sample object corresponding to each second sample media data;

[0057] A generator generating unit, configured to input the common attribute features of the second sample object corresponding to each second sample media data into an initial generator in the initial adversarial network, and generate a first generation trigger probability corresponding to each second sample media data by the second sample object through the initial generator;

[0058] The matching sample screening unit is used to screen out S matching samples from at least two second sample media data according to the second historical trigger attribute information; the S matching samples are second sample media data that have not been triggered by the second sample object; S is a positive integer;

[0059] The candidate sample acquisition unit is used to sort the S matching samples according to the first generation trigger probability to obtain the sorted S matching samples, and obtain K matching samples from the sorted S matching samples as candidate sample media data; K is a positive integer less than or equal to S.

[0060] Among them, the initial discriminator includes a feature convolution layer, a neural network perception layer, and a fully connected activation layer;

[0061] The first probability trigger module includes:

[0062] A feature convolution unit, configured to perform convolution fusion processing on the general attribute feature corresponding to the first sample media data and the first future attribute feature of the first sample object through a feature convolution layer to obtain a first sample convolution fusion feature, and input the first sample convolution fusion feature into the neural network perception layer;

[0063] A feature conversion unit, configured to perform convolution fusion processing on the general attribute feature corresponding to the first sample media data and the first future attribute feature of the first sample object through a feature convolution layer to obtain a first sample convolution fusion feature, and input the first sample convolution fusion feature into the neural network perception layer;

[0064] The feature activation unit is used to activate the feature to be activated through the fully connected activation layer to obtain a first trigger probability of the first sample object for the first sample media data.

[0065] Wherein, the second probability trigger module includes:

[0066] A feature acquisition unit, configured to acquire a second future attribute feature of a second sample object associated with the second historical trigger attribute information at a future moment;

[0067] The trigger probability output unit is used to output the second trigger probability of the second sample object for the candidate sample media data in the initial discriminator according to the common attribute feature corresponding to the second sample object for the candidate sample media data and the second future attribute feature.

[0068] Among them, the adversarial model adjustment module includes:

[0069] A first loss determining unit, configured to determine a first loss value for the first sample media data according to the first trigger probability and a true trigger tag for the first sample media data;

[0070] A second loss determining unit, configured to determine a second loss value for the candidate sample media data according to a second trigger probability;

[0071] A discriminant model adjustment unit, used to adjust the model parameters of the initial discriminator according to the adversarial discriminant loss function, the first loss value and the second loss value;

[0072] A generation model adjustment unit, configured to adjust the model parameters of the initial generator according to the adversarial generation loss function, the first loss value, and the second loss value;

[0073] The adversarial network generation unit is used to generate a target adversarial network according to the adjusted initial discriminator and the adjusted initial generator.

[0074] Among them, the adversarial network generation unit includes:

[0075] a feature determination subunit, configured to determine, based on the second historical trigger attribute information associated with the second sample object and the media attribute information respectively corresponding to at least two second sample media data, a common attribute feature of the second sample object corresponding to each second sample media data;

[0076] A first probability generating subunit is used to input the common attribute feature of the second sample object corresponding to each second sample media data into an initial generator, and generate a first generation trigger probability corresponding to each second sample media data by the second sample object through the initial generator;

[0077] a loss determination subunit, configured to determine a third loss value for the second sample media data according to the first generated trigger probability and a true trigger tag for the second sample media data;

[0078] The first network determines a subunit, which is used to adjust the model parameters of the adjusted initial generator according to the supervision loss function and the third loss value to obtain a target generator, and determine the target generator and the adjusted initial discriminator as a target adversarial network.

[0079] Among them, the adversarial network generation unit includes:

[0080] The second probability generating subunit is used to input the common attribute feature of the first sample object corresponding to each first sample media data into the initial generator, and generate the second generation triggering probability of the first sample object corresponding to each first sample media data through the initial generator;

[0081] A latent feature acquisition subunit, configured to acquire, from the initial generator, first latent features of the first sample object corresponding to each first sample media data, and to acquire, from the initial discriminator, second latent features of the first sample object corresponding to each first sample media data;

[0082] A generation model adjustment subunit, configured to adjust the model parameters of the adjusted initial generator according to the error between the first trigger probability and the second generation trigger probability, and the error between the first latent feature and the second latent feature, to obtain a target generator;

[0083] The second network determines a subunit, which is used to adjust the model parameters of the adjusted initial discriminator according to the error between the first trigger probability and the second generated trigger probability, and the error between the first latent feature and the second latent feature, to obtain a target discriminator, and determine the target generator and the target discriminator as a target adversarial network.

[0084] On one hand, the present application provides a computer device, including: a processor, a memory, and a network interface;

[0085] The above-mentioned processor is connected to the above-mentioned memory and the above-mentioned network interface, wherein the above-mentioned network interface is used to provide a data communication function, the above-mentioned memory is used to store a computer program, and the above-mentioned processor is used to call the above-mentioned computer program so that the computer device executes the method in the embodiment of the present application.

[0086] On one hand, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. The computer program is suitable for being loaded by a processor and executing the method in the embodiment of the present application.

[0087] On the one hand, an embodiment of the present application provides a computer program product or a computer program, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method in the embodiment of the present application.

[0088] In the embodiment of the present application, the first sample object is determined to have a common attribute feature corresponding to each first sample media data according to the first historical trigger attribute information associated with the first sample object and the media attribute information corresponding to at least two first sample media data. The first future attribute feature associated with the first historical trigger attribute information of the first sample object at a future moment can also be obtained. In the process of training the initial adversarial network, the initial discriminator can output the first trigger probability of the first sample object for each first sample media data based on the common attribute feature and the first future attribute feature. The initial discriminator can also output the second trigger probability corresponding to the candidate sample media data provided by the initial generator. According to the first trigger probability and the second trigger probability, the model parameters of the initial adversarial network are adjusted to obtain the target adversarial network. The target generator in the target adversarial network is determined as a probability prediction model for predicting the trigger probability of the target object for the media data. Since the embodiment of the present application introduces the first future attribute feature at a future moment, the probability prediction model obtained in the training can better mine media data that can match the target object and have richer types, thereby enriching the types of recommended media data and improving the quality of recommendation. BRIEF DESCRIPTION OF THE DRAWINGS

[0089] 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.

[0090] Figure 1 It is a schematic diagram of a system architecture provided by an embodiment of the present application;

[0091] Figure 2 This is a schematic diagram of a scenario for media data association recommendation provided by an embodiment of the present application;

[0092] Figure 3 It is a flowchart of a data processing method provided in an embodiment of the present application;

[0093] Figure 4 It is a schematic diagram of the structure of an initial adversarial network provided in an embodiment of the present application;

[0094] Figure 5a is a schematic diagram of the structure of an initial discriminator provided in an embodiment of the present application;

[0095] Figure 5b It is a structural schematic diagram of an initial generator provided in an embodiment of the present application;

[0096] Figure 6 It is a flowchart of another data processing method provided in an embodiment of the present application;

[0097] Figure 7 It is a flowchart of another data processing method provided in an embodiment of the present application;

[0098] Figure 8 is a schematic diagram of the structure of another initial adversarial network provided in an embodiment of the present application;

[0099] Fig. 9 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;

[0100] Fig.10 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0101] 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.

[0102] To facilitate understanding, some nouns are briefly explained as follows:

[0103] 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 intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.

[0104] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. Basic artificial intelligence technologies generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operating / interactive systems, mechatronics and other technologies. Artificial intelligence software technologies mainly include computer vision technology, speech processing technology, natural language processing technology, as well as machine learning / deep learning, autonomous driving, smart transportation and other major directions.

[0105] See also Figure 1 , Figure 1Schematic diagram of a system architecture provided by an embodiment of the present application. Figure 1 As shown, the system may include a business server 100 and a terminal cluster, and the terminal cluster may include: terminal device 200a, terminal device 200b, terminal device 200c, ..., terminal device 200n. It is understandable that the above system may include one or more terminal devices, and the present application does not limit the number of terminal devices. Among them, the terminal device mentioned above may be an electronic device, including but not limited to a mobile phone, a tablet computer, a desktop computer, a laptop computer, a PDA, a vehicle-mounted device, an augmented reality / virtual reality (Augmented Reality / Virtual Reality, AR / VR) device, a helmet display, a smart TV, a wearable device, a smart speaker, a digital camera, a camera and other mobile Internet devices (mobile internet device, MID) with network access capability, or terminal devices in scenarios such as trains, ships, and flights.

[0106] Among them, there can be a communication connection between 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 can have a communication connection with the business server 100, for example, there is a communication connection between terminal device 200a and business server 100, wherein the above communication connection does not limit the connection method, and can be directly or indirectly connected through a wired communication method, or directly or indirectly connected through a wireless communication method, or through other methods, and this application does not limit it here.

[0107] It should be understood that Figure 1 Each terminal device in the terminal cluster shown in the figure may be installed with an application client. When the application client runs in each terminal device, it can be respectively connected to the above Figure 1 The business servers 100 shown in the figure interact with each other, that is, the above-mentioned communication connection. Among them, the application client can be an application client with data sorting function such as a short video application, a video application, a live broadcast application, a social application, an instant messaging application, a game application, a music application, a shopping application, a novel application, a browser, etc. Among them, the application client can be an independent client or an embedded sub-client integrated in a client (for example, a social client, an educational client, and a multimedia client, etc.), which is not limited here.

[0108] For the convenience of subsequent understanding and explanation, please refer to Figure 2 , Figure 2 is a schematic diagram of a scenario for media data recommendation provided by an embodiment of the present application. Figure 2In the example, the terminal device 200c is playing media data through the target application. At this time, the terminal device 200c can send an association recommendation request to the business server 100. The business server 100 can obtain the first historical trigger attribute information of the target object corresponding to the terminal device 200c based on the association recommendation request (for example, the first historical trigger attribute information can be determined based on factors such as the object attribute information of the target object and the media data triggered by the target object). Then, the business server 100 can generate corresponding general attribute features for the media data to be recommended based on the first historical trigger attribute information and the media attribute information of the media data to be recommended in the database. At this time, the business server 100 can call the probability prediction model and input the general attribute features corresponding to the media data to be recommended into the probability prediction model. The probability prediction model can output the target trigger probability corresponding to the media data to be recommended. The target trigger probability can also be understood as the interest level of the target object in the media data to be recommended. Therefore, the business server 100 can push several media data to be recommended with a higher target trigger probability to the terminal device 200c. For example, the number of media data pushed to the terminal device 200c is S (S is a positive integer), then the S media data can be sorted based on the target trigger probability in the terminal device 200c, and a media data list containing the sorted S media data is displayed in the target application. The target object plays the triggered media data by triggering the media data in the media data list.

[0109] The training process of the probability prediction model is described below. Figure 3-Figure 8 Corresponding embodiment.

[0110] It can be understood that in the specific implementation of the present application, related data such as the first historical trigger attribute information is involved. When the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0111] It is understandable that the method provided in the embodiment of the present application can be executed by a computer device, and the computer device can be a terminal device or a business server, or a system composed of a terminal device and a business server. Among them, the business server 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 databases, cloud services, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. Terminal devices include but are not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, car terminals, etc. Among them, the terminal device and the business server can be directly or indirectly connected by wired or wireless means, and the embodiments of the present application are not limited here.

[0112] It is understandable that the above system architecture can be applied to media data recommendation scenarios such as relevant recommendation of target media data, playback sorting of media data, target media data analysis, etc., and specific business scenarios will not be listed one by one here.

[0113] For further information, see Figure 3 , Figure 3 is a flow chart of a data processing method provided in an embodiment of the present application. Figure 3 As shown, the data processing method may at least include the following steps S101 to S105.

[0114] Step S101, determining a common attribute feature of the first sample object corresponding to each first sample media data according to first historical trigger attribute information associated with the first sample object and media attribute information corresponding to at least two first sample media data respectively;

[0115] Specifically, the first sample object may be an object that operates on the target application. The first historical trigger attribute information may be information obtained by analyzing the historical behavior of the first sample object. For example, if the first sample object has recently clicked on video A, video B, and video C, then the first historical trigger attribute information corresponding to the first sample object may be determined based on the object attribute information of the first sample object itself (such as gender, age, hobbies, etc.) and the browsing time, click time, and video attribute information (such as video type, video duration, etc.) of video A, video B, and video C. That is, the first historical trigger attribute information may be used to characterize the first sample object's recent habit and interest in watching videos. Further, the first historical trigger attribute information may include object attribute information of the first sample object, trigger record information of the first sample object, and distribution environment information of the historically triggered first sample media data, wherein the trigger record information is a record of the first sample media data triggered by the first sample object, and the trigger record information specifically includes parameters such as media attribute information, trigger time, browsing time, acquisition method, and trigger frequency of the first sample media data triggered by the first sample object, wherein the acquisition method may include a method obtained based on self-recommendation by the service server and a method obtained based on search keywords. The historically triggered first sample media data is the first sample media data recorded in the trigger record information, and therefore the distribution environment information may include factors such as the network quality and the geographical area in which the terminal corresponding to the first sample object obtained the historically triggered first sample media data.

[0116] The first sample media data may be sample media data triggered by the first sample object, or may be sample media data not triggered by the first sample object. The media attribute information corresponding to the first sample media data may include media data tags, media data content categories, and media data scene categories. Taking video as an example, media data tags may include comedy tags, documentary tags, and emotional tags, etc. Media data content types may include sports, music, literature, history, technology, food, etc. Media data scene categories may include video support categories for configuring multi-function displays, article support categories for configuring dedicated screens, audio support categories for configuring speakers, and composite categories combining at least two support categories. Optionally, the media attribute information may also include data format types, which may include video, audio, articles, pictures, or tweets with pictures, etc.

[0117] The object attribute information of the first sample object, the trigger record information of the first sample object, and the distribution environment information of the historically triggered first sample media data can be obtained from the media database. The media database may include at least two sample objects, the object attribute information of at least two sample objects, the trigger record information of at least two sample objects, the sample media data historically triggered by at least two sample objects, the distribution environment information of the historically triggered sample media data corresponding to each sample object, the media data tags of at least two sample media data, the media data content categories of at least two sample media data, and the media data scene categories of at least two sample media data.

[0118] It can be understood that at least two first sample media data may include a first sample media data Si, where i is a positive integer; that is, the computer device may determine the object attribute information of the first sample object obtained from the media database, the trigger record information of the first sample object, and the distribution environment information of the historical triggering of the first sample media data as the first historical trigger attribute information associated with the first sample object, and determine the media data label, media data content category, and media data scene category of the first sample media data Si obtained from the media database as the media attribute information corresponding to the first sample media data Si.

[0119] After obtaining the first historical trigger attribute information and the media attribute information corresponding to the first sample media data Si, the computer device can splice the first historical trigger attribute information and the media attribute information corresponding to the first sample media data Si into a universal attribute feature corresponding to the first sample object for the first sample media data Si, and so on, the computer device can generate universal attribute features corresponding to each first sample media data of the first sample object. Alternatively, the computer device can also perform convolution processing on the first historical trigger attribute information and the media attribute information corresponding to the first sample media data Si, respectively, to obtain the first attribute convolution feature corresponding to the first historical trigger attribute information, and the second attribute convolution feature of the media attribute information corresponding to the first sample media data Si, and then splice or fuse the first attribute convolution feature and the second attribute convolution feature to obtain the universal attribute feature corresponding to the first sample object for the first sample media data Si, and so on, the computer device can generate universal attribute features corresponding to each first sample media data of the first sample object.

[0120] Step S102, obtaining a first future attribute feature of the first sample object associated with the first historical trigger attribute information at a future moment;

[0121] Specifically, taking the current moment as the dividing line, any moment after the current moment may be a future moment. The computer device may determine the feature of the first sample object associated with the first historical trigger attribute information at the future moment as the first future attribute feature corresponding to the first sample object.

[0122] It is understandable that the historical triggering behavior of the first sample object is highly correlated with the future triggering behavior of the sample object. From the perspective of the two connected moments before and after, the triggering of the first sample object is coherent, and the future attribute features can be used as a supplement and fine-grained footnote to the general attribute features. For example, if the historical triggering first sample media data is an orange cat, then with the orange cat as the first historical triggering attribute feature, the cow cat can be the first future attribute feature. If the association is made in time units longer than the moment, such as hours, days, months, and years, the points of interest of the first sample object can be migrated in different topics, and the first future attribute feature can help the recommendation system in the target application capture the potential connection between different points of interest. For example, if the historical triggering first sample media data is food, then with food as the first historical triggering attribute feature, cooking tools can be the first future attribute feature. For another example, if the historical triggering first sample media data is an orange cat, then with the orange cat as the first historical triggering attribute feature, it can be associated with multiple fields such as food that orange cats like, books related to orange cat habits, and film and television works with orange cats as characters. It can also be secondary expanded in these multiple fields. The relevant information of each field can be used as the first future attribute feature. When obtaining the first future attribute feature related to the historically triggered first sample media data, all the related information can be sorted according to the matching degree, and the first N relatively matching related information covering a wide range of fields are selected, and the selected N related information are aggregated to obtain the first future attribute feature. The first future attribute feature can be obtained by averaging and pooling the related label features, content category features, and scene type features of the media data at the future moment.

[0123] Step S103, screening out candidate sample media data from at least two second sample media data by an initial generator in the initial adversarial network, and sending the candidate sample media data to an initial discriminator in the initial adversarial network;

[0124] Specifically, the computer device determines the general attribute features corresponding to each second sample media data of the second sample object according to the second historical trigger attribute information associated with the second sample object and the media attribute information corresponding to at least two second sample media data. Among them, the first sample object is different from the second sample object, and at least two first sample media data and at least two second sample media data may be different, or may partially overlap. The parameter dimensions contained in the second historical trigger attribute information may be the same as the parameter dimensions contained in the above-mentioned first historical trigger attribute information. Therefore, the parameter dimensions contained in the general attribute features corresponding to each second sample media data of the second sample object may also be the same as the parameter dimensions contained in the general attribute features corresponding to each first sample media data of the first sample object. Therefore, the specific contents contained in the second historical trigger attribute information and the general attribute features corresponding to each second sample media data of the second sample object will not be repeated here.

[0125] For further information, please see Figure 4 , Figure 4 Schematic diagram of the structure of an initial adversarial network provided in an embodiment of the present application. Figure 4 In the initial generator 300, the computer device can input the universal attribute features of the second sample object corresponding to each second sample media data into the initial generator in the initial adversarial network 300, and generate the first generation trigger probability of the second sample object corresponding to each second sample media data through the initial generator (for example, the first generation trigger probability can be used to characterize the probability of the second sample object clicking the second sample media data). In the initial generator, S matching samples can be screened out from at least two second sample media data according to the second historical trigger attribute information. First, it can be known that the second historical trigger attribute information records the second sample media data triggered by the second sample object. Therefore, the second sample media data other than the second sample media data recorded by the second historical trigger attribute information in the at least two second sample media data can be determined as matching samples, that is, the S matching samples are the second sample media data that have not been triggered by the second sample object; S is a positive integer.

[0126] Further, the initial generator may sort the S matching samples according to the first generation trigger probability to obtain the sorted S matching samples, and obtain K matching samples from the sorted S matching samples as candidate sample media data; K is a positive integer less than or equal to S. K may be adaptively selected according to the training requirements of the initial adversarial network. The sorted S matching samples may be sorted in descending order based on the first generation trigger probability.

[0127] Step S104, in the initial discriminator, according to the common attribute feature and the first future attribute feature respectively corresponding to each first sample media data of the first sample object, output the first trigger probability of the first sample object for each first sample media data, and output the second trigger probability for the candidate sample media data in the initial discriminator;

[0128] For details, please see Figure 4 The computer device may input the common attribute features and the first future attribute features corresponding to each first sample media data of the first sample object into the initial discriminator. Figure 5a , Figure 5a is a schematic diagram of the structure of an initial discriminator provided in an embodiment of the present application. Figure 5a As shown, the initial discriminator includes a feature convolution layer, a neural network perception layer and a fully connected activation layer. Taking the first sample media data Si of at least two first sample media data as an example, the first sample object is subjected to convolution fusion processing for the general attribute feature corresponding to the first sample media data Si and the first future attribute feature through the feature convolution layer to obtain the first sample convolution fusion feature. Specifically, the convolution feature A of the first sample object for the general attribute feature corresponding to the first sample media data Si is generated, and the convolution feature B corresponding to the first future attribute feature is generated, and then the convolution feature A and the convolution feature B are fused to obtain the first sample convolution fusion feature. For example, the feature convolution layer can be an adaptive factorization network (AFN). The initial discriminator further inputs the first sample convolution fusion feature into the neural network perception layer, and performs weighted conversion processing on the first sample convolution fusion feature through the neural network perception layer to obtain the to-be-activated feature corresponding to the first sample convolution fusion feature. For example, the neural network perception layer can include a multilayer perceptron (MLP) and a gate recurrent unit (GRU). The initial discriminator further inputs the features to be activated into the fully connected activation layer, and activates the features to be activated through the fully connected activation layer to obtain the first trigger probability of the first sample object for the first sample media data Si. For example, the fully connected activation layer may include a linear rectification function (ReLU, Rectified Linear Unit).

[0129] The initial discriminator can be deployed using the basic framework of the List-wise Recommendation framework based on Deep reinforcement learning LIRD model, and can use Double DQN as the basic reinforcement learning model. Double DQN can simplify the model and improve the robustness under the joint training framework of reinforcement learning and generative adversarial networks (GAN). The state in the initial discriminator can represent the output feature (for example, the above-mentioned feature to be activated) corresponding to the general attribute feature and the first future attribute feature, and the feedback in the initial discriminator can represent the first trigger probability of the first sample object for a first sample media data.

[0130] For example, if Up represents the object attribute information of the first sample object, Uc represents the trigger record information of the first sample object, Ci represents the distribution environment information of a certain history triggering the first sample media data, Di represents the media attribute information corresponding to the history triggering the first sample media data, Ffi represents the first future attribute feature, d t Indicates the first sample media data Si currently identified, s t It may refer to the to-be-activated feature corresponding to the currently identified first sample media data Si, q D It can be the first trigger probability for the first sample media data Si, and the first sample convolution fusion feature can be The feature to be activated can be s t D =MLP(GRU({f 1 D ,…,f t-1 D})), the first trigger probability can be q D (s t , a t )=RELU(MLP(Concat(s t D , d t ))).

[0131] Furthermore, the computer device may obtain a second future attribute feature of the second sample object associated with the second historical trigger attribute information at a future moment, wherein the principle of obtaining the second future attribute feature is the same as the principle of obtaining the first future attribute feature, which will not be described in detail here. In the initial discriminator, according to the general attribute feature corresponding to the second sample object for the candidate sample media data and the second future attribute feature, the second trigger probability of the second sample object for the candidate sample media data is output, which can also be based on Figure 5a The model structure of the initial discriminator shown is used to output the second trigger probability, that is, the principle of the initial discriminator outputting the second trigger probability is the same as the principle of outputting the first trigger probability, which will not be repeated here.

[0132] Optional, please also see Figure 5b , Figure 5b Schematic diagram of the structure of an initial generator provided in an embodiment of the present application. Figure 5b The initial generator shown can be used to output the first generation trigger probability mentioned in S103. The initial generator can also include a feature convolution layer, a neural network perception layer and a fully connected activation layer. The network structure of each layer in the initial generator can be the same as that of the initial discriminator. The difference from the initial discriminator is that the data input to the feature convolution layer of the initial generator only contains general attribute features. Taking the second sample media data Sj of at least two second sample media data as an example, the initial generator can perform convolution processing on the general attribute features corresponding to the second sample media data Sj of the second sample object through the feature convolution layer to obtain the second sample convolution feature, and input the second sample convolution feature into the neural network perception layer. The initial generator performs weighted conversion processing on the second sample convolution feature through the neural network perception layer to obtain the feature to be activated corresponding to the second sample convolution feature. The initial generator inputs the feature to be activated into the fully connected activation layer. The initial generator activates the feature to be activated through the fully connected activation layer to obtain the first generation trigger probability of the second sample object for the second sample media data Sj.

[0133] For example, if Up' represents the object attribute information of the second sample object, Uc' represents the trigger record information of the second sample object, Ci' represents the distribution environment information of a certain history triggering the second sample media data Sj, Di' represents the media attribute information corresponding to the second sample media data triggered by the second sample object, d t ' represents the second sample media data Sj currently identified, s t ' may refer to the to-be-activated feature corresponding to the currently identified second sample media data Sj, q G It can be the first generation trigger probability for the second sample media data Sj, and the second sample convolution fusion feature can be f i G=AFN(Up', Uc', Ci', Di'), the feature to be activated can be s t G =MLP(GRU({f 1 G ,…,f t-1 G})), the first generation trigger probability can be q G (s t ', a t ')=RELU(MLP(Concat(s t G , d t '))).

[0134] Step S105, adjusting the model parameters of the initial adversarial network according to the first trigger probability and the second trigger probability to obtain a target adversarial network, and determining the target generator in the target adversarial network as a probability prediction model for predicting the trigger probability of the target object for the media data.

[0135] Specifically, the computer device can determine the first loss value of each first sample media data according to the first trigger probability and the true trigger label of each first sample media data. The second loss value for the candidate sample media data can also be determined according to the second trigger probability. Then, according to the adversarial discriminant loss function, the first loss value and the second loss value, the model parameters of the initial discriminator are adjusted; according to the adversarial generation loss function, the first loss value and the second loss value, the model parameters of the initial generator are adjusted. If the adjusted initial discriminator and the adjusted initial generator meet the model convergence conditions, the adjusted initial discriminator and the adjusted initial generator can be determined as the target adversarial network, and then the target generator in the target adversarial network is determined as a probability prediction model for predicting the trigger probability of the target object for the media data, for example, Figure 2 As shown, the probability prediction model can be used to recommend media data for the target object.

[0136] For example, if σ(h φ (u,d|f c ,f f )) represents the first trigger probability,

[0137] may refer to a first loss value for at least two first sample media data, It may refer to a first loss value for positive sample media data (that is, first sample media data triggered by the first sample object) among the at least two first sample media data. It may refer to a first loss value for negative sample media data (ie, first sample media data that has not been triggered by the first sample object) in at least two first sample media data. It can be a second loss value for the candidate sample media data, where the loss function of the adversarial network can be:

[0138]

[0139] The network loss function includes the adversarial discriminant loss function and the adversarial generation loss function. It can be understood that the adversarial discriminant loss function takes the sum of the first loss value and the second loss value as the model optimization target, so the adversarial discriminant loss function can be:

[0140] The adversarial generation loss function takes the minimization of the sum of the first loss value and the second loss value as the model optimization objective. Therefore, the adversarial generation loss function can be:

[0141] Optionally, the loss function of the adversarial network can also be: in, y t It can be determined based on the real trigger label, the loss function L of the adversarial network G,D Including adversarial discriminant loss function and adversarial generation loss function. It can be understood that It can be the first loss value of the adversarial discriminant loss function, It can be the second loss value of the adversarial discriminant loss function. The adversarial discriminant loss function takes the maximization of the sum of the first loss value and the second loss value as the model optimization goal. Therefore, the adversarial discriminant loss function can be:

[0142] The adversarial generation loss function takes the minimization of the sum of the first loss value and the second loss value as the model optimization objective. Therefore, the adversarial generation loss function can be:

[0143] Optionally, after generating the target adversarial network, the target generator in the target adversarial network can be further optimized through reinforcement learning, P θ (d|u,f c ) may be the first trigger probability of the first sample object u for the first sample media data d, f c It can be a common attribute feature of the first sample object u for the first sample media data d,f It can be the first future attribute feature of the first sample object u, and the optimization function can be:

[0144]

[0145] The target generator is further adjusted based on the optimization function, and the adjusted target generator is determined as a probability prediction model for predicting the triggering probability of the target object for the media data.

[0146] It can be understood that in the specific implementation of the present application, when it comes to obtaining any relevant data of the first sample object, the second sample object and the target object, when the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0147] In the embodiment of the present application, the first sample object is determined to have a common attribute feature corresponding to each first sample media data according to the first historical trigger attribute information associated with the first sample object and the media attribute information corresponding to at least two first sample media data. The first future attribute feature associated with the first historical trigger attribute information of the first sample object at a future moment can also be obtained. In the process of training the initial adversarial network, the initial discriminator can output the first trigger probability of the first sample object for each first sample media data based on the common attribute feature and the first future attribute feature. The initial discriminator can also output the second trigger probability corresponding to the candidate sample media data provided by the initial generator. According to the first trigger probability and the second trigger probability, the model parameters of the initial adversarial network are adjusted to obtain the target adversarial network. The target generator in the target adversarial network is determined as a probability prediction model for predicting the trigger probability of the target object for the media data. Since the embodiment of the present application introduces the first future attribute feature at a future moment, the probability prediction model obtained in the training can better mine media data that can match the target object and have richer types, thereby enriching the types of recommended media data and improving the quality of recommendation.

[0148] For further information, see Figure 6 , wherein the specific implementation of the above step S105 can be found in Figure 6 , Figure 6 is a flow chart of a data processing method provided in an embodiment of the present application. Figure 6 As shown, the data processing method may at least include the following steps S201-S205.

[0149] Step S201, determine the first loss value for the first sample media data according to the first trigger probability and the real trigger label for the first sample media data; determine the second loss value for the candidate sample media data according to the second trigger probability; adjust the model parameters of the initial discriminator according to the adversarial discriminant loss function, the first loss value and the second loss value; adjust the model parameters of the initial generator according to the adversarial generation loss function, the first loss value and the second loss value.

[0150] The specific process of this step can be found in the above Figure 3 The specific description of step S105 in the corresponding embodiment will not be repeated here.

[0151] Step S202, determining a common attribute feature of the second sample object corresponding to each second sample media data according to the second historical trigger attribute information associated with the second sample object and the media attribute information corresponding to at least two second sample media data respectively;

[0152] Step S203, inputting the common attribute features of the second sample object corresponding to each second sample media data into an initial generator, and generating the first generation trigger probability of the second sample object corresponding to each second sample media data through the initial generator;

[0153] The specific implementation of S202 and S203 can be found in the above Figure 3 The process of generating the common attribute feature of the second sample object corresponding to each second sample media data in S103 in the corresponding embodiment and the process of generating the first generation trigger probability are not described in detail here.

[0154] Step S204: determining a third loss value for the second sample media data according to the first generated trigger probability and the real trigger label for the second sample media data;

[0155] Specifically, the real trigger tag of any second sample media data may be a tag of the second sample media data being clicked by the second sample object or a tag of the second sample media data not being clicked by the second sample object. For the second sample media data having the real trigger tag, it is represented as a t ~E real . According to the first generation trigger probability q corresponding to each second sample media data G (s t ', a t ')(q G (s t ', a t The specific meaning of ') can be found in the above Figure 5bThe corresponding description content) and the real trigger tag for each second sample media data can determine the third loss value for each second sample media data:

[0156]

[0157] in, y t ' can be determined based on the real trigger tag.

[0158] Step S205, according to the supervision loss function and the third loss value, the model parameters of the adjusted initial generator are adjusted to obtain the target generator, and the target generator and the adjusted initial discriminator are determined as the target adversarial network.

[0159] Specifically, the supervision loss function can be obtained by taking the real trigger label of the second sample object as the supervision information:

[0160]

[0161] Therefore, based on L MSE The loss value of the adjusted initial generator is used to further adjust the model parameters to obtain the target generator.

[0162] In an embodiment of the present application, by inputting the universal attribute features of the target media data and the future attribute features of the target media data into the initial adversarial network, and then using the supervised loss function and the knowledge distillation optimization function for joint optimization, a more robust probability prediction model can be obtained. Since the embodiment of the present application introduces the first future attribute features at a future moment, the probability prediction model obtained in training can better mine media data that can match the target object and have richer types. Furthermore, using the first trigger history information of the first sample object as a supervised feature can increase the correlation between the probability prediction model and the first sample object, thereby enriching the types of recommended media data and improving the quality of recommendation.

[0163] For further information, see Figure 7 , wherein the specific implementation of the above step S105 can be found in Figure 7 , Figure 7 is a flow chart of a data processing method provided in an embodiment of the present application. Figure 7 As shown, the data processing method may at least include the following steps S301-S305.

[0164] S301, determining a first loss value for the first sample media data according to the first trigger probability and the real trigger label for the first sample media data; determining a second loss value for the candidate sample media data according to the second trigger probability; adjusting the model parameters of the initial discriminator according to the adversarial discriminant loss function, the first loss value and the second loss value; adjusting the model parameters of the initial generator according to the adversarial generation loss function, the first loss value and the second loss value

[0165] The specific process of this step can be found in the above Figure 3 The specific description of step S105 in the corresponding embodiment will not be repeated here.

[0166] Step S302, inputting the common attribute feature of the first sample object corresponding to each first sample media data into an initial generator, and generating a second generation trigger probability corresponding to each first sample media data by the initial generator;

[0167] Specifically, the principle of the initial generator outputting the second generation trigger probability corresponding to the first sample media data can be the same as the above Figure 5b The principle of the initial generator outputting the first generation trigger probability corresponding to the second sample media data in the corresponding embodiment is the same and will not be repeated here.

[0168] Step S303, obtaining the first latent features of the first sample object corresponding to each first sample media data from the initial generator, and obtaining the second latent features of the first sample object corresponding to each first sample media data from the initial discriminator;

[0169] Specifically, the first latent features corresponding to each first sample media data of the first sample object are obtained from the initial generator. The first hidden feature Can be the above Figure 5b The features to be activated in the first sample object are obtained from the initial discriminator for each first sample media data. The second hidden feature Can be the above Figure 5a Features to be activated in .

[0170] Step S304, adjusting the model parameters of the adjusted initial generator according to the error between the first trigger probability and the second generated trigger probability, and the error between the first latent feature and the second latent feature, to obtain a target generator;

[0171] Specifically, we can obtain the knowledge distillation loss function:

[0172]

[0173] The error between the first trigger probability and the second generated trigger probability can be expressed as The error between the first latent feature and the second latent feature can be expressed as

[0174] Based on the knowledge distillation loss function L KD The resulting loss value can be used to adjust the model parameters of the adjusted initial generator to obtain the target generator.

[0175] Step S305, according to the error between the first trigger probability and the second generated trigger probability, and the error between the first latent feature and the second latent feature, the model parameters of the adjusted initial discriminator are adjusted to obtain the target discriminator, and the target generator and the target discriminator are determined as the target adversarial network.

[0176] Specifically, the same principle can also be applied based on the knowledge distillation loss function L KD The generated loss value is used to adjust the model parameters of the adjusted initial discriminator to obtain the target discriminator, and the target generator and the target discriminator are determined as the target adversarial network.

[0177] Alternatively, you can also obtain the knowledge distillation loss function L in another way: KD The loss value generated: the general attribute feature and the second future attribute feature corresponding to each second sample media data Sj of the second sample object are input into the initial discriminator, and the third trigger probability corresponding to each second sample media data Sj of the second sample object is generated by the initial discriminator (the principle of the initial discriminator generating the third trigger probability is the same as the principle of the initial discriminator generating the first trigger probability, which will not be repeated here); the third hidden feature corresponding to each second sample media data Sj of the second sample object is obtained from the initial generator, and the fourth hidden feature corresponding to each second sample media data Sj of the second sample object is obtained from the initial discriminator; according to the error between the third trigger probability and the first generated trigger probability, and the error between the third hidden feature and the fourth hidden feature, the model parameters of the adjusted initial generator are adjusted to obtain the target generator. According to the error between the third trigger probability and the first generated trigger probability, and the error between the third hidden feature and the fourth hidden feature, the model parameters of the adjusted initial discriminator are adjusted to obtain the target discriminator, and the target generator and the target discriminator are determined as the target adversarial network. The error between the third trigger probability and the first generated trigger probability can be expressed as The error between the third latent feature and the fourth latent feature can be expressed as

[0178] In an embodiment of the present application, by inputting the universal attribute features of the target media data and the future attribute features of the target media data into the initial adversarial network, and then using the supervised loss function and the knowledge distillation optimization function for joint optimization, a more robust probability prediction model can be obtained. Since the embodiment of the present application introduces the first future attribute features at a future moment, the probability prediction model obtained in training can better mine media data that can match the target object and have richer types. Furthermore, using the initial discriminator as the teacher model and the initial generator as the student model, knowledge distillation is performed, and the initial generator is updated, which can increase the prediction accuracy of the probability prediction model and improve the accuracy of the probability prediction model, thereby enriching the types of recommended media data and improving the quality of recommendations.

[0179] See also Figure 8 , Figure 8 is a schematic diagram of the structure of an initial adversarial network provided in an embodiment of the present application. Figure 8 As shown in , the initial adversarial network can be jointly optimized through adversarial training, supervised loss function optimization, and knowledge distillation, as shown in Figure 8 As shown, adversarial training of the initial adversarial network can be achieved through the general attribute feature, the first future attribute feature, the first generated trigger probability, the first trigger probability and the second trigger probability. For example, Figure 3 The loss function L of the anti-network in S105 in the corresponding embodiment G,D Adversarial training is achieved. Furthermore, the initial generator and the initial discriminator can be jointly optimized through adversarial training, knowledge distillation, and the use of supervised loss functions. Figure 8 In the above Figure 6 Corresponding to the supervision loss function L in the embodiment MSE Further optimization adjustments are made to the initial generator. Figure 8 In the above Figure 7 The knowledge distillation loss function L in the corresponding embodiment KD The initial generator and the initial discriminator are optimized and adjusted respectively. Among them, the joint optimization function for the initial adversarial network can be L 1 =λ 1 L G,D +λ 2 L MES , joint optimization function L 1 It can be understood as: based on λ 1 L G +λ 2 LMES Adjust the model parameters of the initial generator based on λ 1 L D Adjust the model parameters of the initial discriminator. Alternatively, the joint optimization function for the initial adversarial network can also be L 2 =λ 1 L G,D +λ 3 L KD , joint optimization function L 2 It can be understood as: based on λ 1 L G +λ 3 L KD Adjust the model parameters of the initial generator based on λ 1 L D Adjust the model parameters of the initial discriminator, and then adjust the model parameters based on λ 3 L KD The adjusted initial discriminator is further optimized. Alternatively, the joint optimization function for the initial adversarial network can also be L = λ 1 L G,D +λ 2 L MES +λ 3 L KD , the joint optimization function L can be understood as: based on λ 1 L G +λ 2 L MES +λ 3 L KD Adjust the model parameters of the initial generator based on λ 1 L D Adjust the model parameters of the initial discriminator, and then adjust the model parameters based on λ 3 L KD The adjusted initial discriminator is further optimized. 1 , 2 and 3 are the weight coefficients in the joint optimization function. 1 or L 2 Or L can realize the model training of the initial adversarial network.

[0180] The target adversarial network can be called Adversarial Future Encoding (AFE). The target adversarial network can be deployed based on the basic framework of the List-wise Recommendation framework based on Deep reinforcement learning LIRD model, or based on the basic framework of other models. For example, the target generator and target discriminator of the target adversarial network can be deployed based on the Point-wise Recommendation framework model of the Automatic Feature Interaction Learning via Self-Attentive Neural Networks (AutoInt). The target adversarial network has universality for different frameworks.

[0181] In the embodiment of the present application, the first sample object is determined to have a common attribute feature corresponding to each first sample media data according to the first historical trigger attribute information associated with the first sample object and the media attribute information corresponding to at least two first sample media data. The first future attribute feature associated with the first historical trigger attribute information of the first sample object at a future moment can also be obtained. In the process of training the initial adversarial network, the initial discriminator can output the first trigger probability of the first sample object for each first sample media data based on the common attribute feature and the first future attribute feature. The initial discriminator can also output the second trigger probability corresponding to the candidate sample media data provided by the initial generator. According to the first trigger probability and the second trigger probability, the model parameters of the initial adversarial network are adjusted to obtain the target adversarial network. The target generator in the target adversarial network is determined as a probability prediction model for predicting the trigger probability of the target object for the media data. Since the embodiment of the present application introduces the first future attribute feature at a future moment, the probability prediction model obtained in the training can better mine media data that can match the target object and have richer types, thereby enriching the types of recommended media data and improving the quality of recommendation.

[0182] For further information, see Fig. 9 , Fig. 9 : is a schematic diagram of the structure of a data processing device provided in an embodiment of the present application. The above-mentioned data processing device may be a computer program (including program code) running in a computer device, for example, the data processing device is an application software; the device may be used to execute the corresponding steps in the method provided in an embodiment of the present application. Fig. 9 As shown, the data processing device 1 may include: a general feature determination module 11, a future feature acquisition module 12, a candidate sample screening module 13, a first probability trigger module 14, a second probability trigger module 15, an adversarial model adjustment module 16, a historical information trigger module 17 and a media information determination module 18.

[0183] The general feature determination module 11 is used to determine the general attribute feature of the first sample object corresponding to each first sample media data according to the first historical trigger attribute information associated with the first sample object and the media attribute information corresponding to at least two first sample media data respectively;

[0184] A future feature acquisition module 12, configured to acquire a first future attribute feature of the first sample object associated with the first historical trigger attribute information at a future moment;

[0185] A candidate sample screening module 13 is used to screen candidate sample media data from at least two second sample media data through an initial generator in an initial adversarial network, and the initial generator sends the candidate sample media data to an initial discriminator in the initial adversarial network;

[0186] A first probability triggering module 14 is used to output a first triggering probability of the first sample object for each first sample media data in the initial discriminator according to the common attribute feature and the first future attribute feature respectively corresponding to each first sample media data by the first sample object;

[0187] A second probability triggering module 15, configured to output a second triggering probability for the candidate sample media data in the initial discriminator;

[0188] The adversarial model adjustment module 16 is used to adjust the model parameters of the initial adversarial network according to the first trigger probability and the second trigger probability to obtain a target adversarial network, and determine the target generator in the target adversarial network as a probability prediction model for predicting the trigger probability of the target object for media data.

[0189] The specific functional implementation of the general feature determination module 11, the future feature acquisition module 12, the candidate sample screening module 13, the first probability trigger module 14, the second probability trigger module 15 and the adversarial model adjustment module 16 can be found in the above Figure 3 Steps S101 to S105 in the corresponding embodiment are not described in detail here.

[0190] See also Fig. 9 , at least two first sample media data include first sample media data S i , i is a positive integer;

[0191] The data processing device 1 may further include: a history information triggering module 17 and a media information determining module 18 .

[0192] The historical information triggering module 17 is used to determine the object attribute information of the first sample object, the triggering record information of the first sample object and the distribution environment information of the historically triggered first sample media data as the first historical triggering attribute information associated with the first sample object; the historically triggered first sample media data is the first sample media data recorded in the triggering record information;

[0193] The media information determination module 18 is used to determine the media data tag, media data content category and media data scene category of the first sample media data Si as the media attribute information corresponding to the first sample media data Si.

[0194] The specific functional implementation of the historical information triggering module 17 and the media information determining module 18 can be found in the above Figure 3 The step S101 in the corresponding embodiment will not be described in detail here.

[0195] See also Fig. 9 , wherein the candidate sample screening module 13 includes:

[0196] The feature determination unit 131 is used to determine the common attribute feature of the second sample object corresponding to each second sample media data according to the second historical trigger attribute information associated with the second sample object and the media attribute information corresponding to at least two second sample media data respectively;

[0197] A generator generating unit 132, configured to input the common attribute features of the second sample object corresponding to each second sample media data into an initial generator in the initial adversarial network, and generate a first generation trigger probability corresponding to each second sample media data by the second sample object through the initial generator;

[0198] The matching sample screening unit 133 is used to screen out S matching samples from at least two second sample media data according to the second historical trigger attribute information; the S matching samples are second sample media data that have not been triggered by the second sample object; S is a positive integer;

[0199] The candidate sample acquisition unit 134 is used to sort the S matching samples according to the first generation trigger probability to obtain the sorted S matching samples, and obtain K matching samples from the sorted S matching samples as candidate sample media data; K is a positive integer less than or equal to S.

[0200] The specific functional implementation of the feature determination unit 131, the generator generation unit 132, the matching sample screening unit 133 and the candidate sample acquisition unit 134 can be found in the above Figure 3 The step S103 in the corresponding embodiment will not be described in detail here.

[0201] See also Fig. 9 , where the initial discriminator includes a feature convolution layer, a neural network perception layer, and a fully connected activation layer;

[0202] The first probability triggering module 14 includes:

[0203] The feature convolution unit 141 is used to perform convolution fusion processing on the general attribute feature corresponding to the first sample media data and the first future attribute feature of the first sample object through the feature convolution layer to obtain a first sample convolution fusion feature, and input the first sample convolution fusion feature into the neural network perception layer;

[0204] The feature conversion unit 142 is used to perform convolution fusion processing on the general attribute feature corresponding to the first sample media data and the first future attribute feature of the first sample object through the feature convolution layer to obtain a first sample convolution fusion feature, and input the first sample convolution fusion feature into the neural network perception layer;

[0205] The feature activation unit 143 is configured to activate the feature to be activated through a fully connected activation layer to obtain a first trigger probability of the first sample object for the first sample media data.

[0206] The specific functional implementation of the feature convolution unit 141, the feature conversion unit 142 and the feature activation unit 143 can be found in the above Figure 3 The step S104 in the corresponding embodiment will not be described in detail here.

[0207] See also Fig. 9 , wherein the second probability triggering module 15 includes:

[0208] The feature acquisition unit 151 is used to acquire a second future attribute feature of the second sample object associated with the second historical trigger attribute information at a future moment;

[0209] The trigger probability output unit 152 is used to output a second trigger probability of the second sample object for the candidate sample media data in the initial discriminator according to the common attribute feature and the second future attribute feature corresponding to the second sample object for the candidate sample media data.

[0210] The specific functional implementation of the feature acquisition unit 151 and the trigger probability output unit 152 can be found in the above Figure 3The step S104 in the corresponding embodiment will not be described in detail here.

[0211] See also Fig. 9 , wherein the adversarial model adjustment module 16 includes:

[0212] A first loss determining unit 161, configured to determine a first loss value for the first sample media data according to the first trigger probability and a true trigger tag for the first sample media data;

[0213] A second loss determining unit 162, configured to determine a second loss value for the candidate sample media data according to the second trigger probability;

[0214] A discriminant model adjustment unit 163, configured to adjust the model parameters of the initial discriminator according to the adversarial discriminant loss function, the first loss value, and the second loss value;

[0215] A generation model adjustment unit 164, configured to adjust the model parameters of the initial generator according to the adversarial generation loss function, the first loss value, and the second loss value;

[0216] The adversarial network generating unit 165 is used to generate a target adversarial network according to the adjusted initial discriminator and the adjusted initial generator.

[0217] The specific functional implementation of the first loss determination unit 161, the second loss determination unit 162, the discriminant model adjustment unit 163, the generation model adjustment unit 164 and the adversarial network generation unit 165 can be referred to above. Figure 3 Step S105 in the embodiment will not be described in detail here.

[0218] See also Fig. 9 , wherein the adversarial network generation unit 165 comprises:

[0219] The feature determination subunit 1651 is used to determine the common attribute feature of the second sample object corresponding to each second sample media data according to the second historical trigger attribute information associated with the second sample object and the media attribute information corresponding to at least two second sample media data respectively;

[0220] The first probability generating subunit 1652 is used to input the common attribute feature of the second sample object corresponding to each second sample media data into the initial generator, and generate the first generation trigger probability of the second sample object corresponding to each second sample media data through the initial generator;

[0221] The loss determination subunit 1653 is used to determine a third loss value for the second sample media data according to the first generated trigger probability and the real trigger tag for the second sample media data;

[0222] The first network determination subunit 1654 is used to adjust the model parameters of the adjusted initial generator according to the supervision loss function and the third loss value to obtain the target generator, and determine the target generator and the adjusted initial discriminator as the target adversarial network.

[0223] The specific functional implementation of the feature determination subunit 1651, the first probability generation subunit 1652, the loss determination subunit 1653 and the first network determination subunit 1654 can be referred to above. Figure 6 The steps S201-S204 in the corresponding embodiment are not described in detail here.

[0224] See also Fig. 9 , wherein the adversarial network generation unit 165 comprises:

[0225] The second probability generating subunit 1655 is used to input the common attribute feature of the first sample object corresponding to each first sample media data into the initial generator, and generate the second generation triggering probability of the first sample object corresponding to each first sample media data through the initial generator;

[0226] The latent feature acquisition subunit 1656 is used to acquire the first latent feature of the first sample object corresponding to each first sample media data from the initial generator, and acquire the second latent feature of the first sample object corresponding to each first sample media data from the initial discriminator;

[0227] A generation model adjustment subunit 1657, configured to adjust the model parameters of the adjusted initial generator according to the error between the first trigger probability and the second generation trigger probability, and the error between the first latent feature and the second latent feature, to obtain a target generator;

[0228] The second network determination subunit 1658 is used to adjust the model parameters of the adjusted initial discriminator according to the error between the first trigger probability and the second generated trigger probability, and the error between the first latent feature and the second latent feature, to obtain the target discriminator, and determine the target generator and the target discriminator as the target adversarial network.

[0229] The specific functional implementation of the second probability generation subunit 1655, the latent feature acquisition subunit 1656, the generation model adjustment subunit 1657 and the second network determination subunit 1658 can be found in the above Figure 6 Step S204 in the embodiment will not be described in detail here.

[0230] In an embodiment of the present application, by inputting the common attribute features of the target media data and the future attribute features of the target media data into the initial adversarial network, and then using the supervised loss function and the knowledge distillation optimization function for joint optimization, a more robust recommendation model can be obtained. The method provided in the embodiment of the present application constructs a general framework suitable for different scenarios based on adversarial modeling of future attribute features (AFE, Adversarial Future Encoding), and assists in improving the recommendation effect based on a variety of future attribute features on different recommendation models. A set of joint optimization functions are designed, combining adversarial learning, supervised loss functions, and knowledge distillation optimization functions to greatly improve the stability of model training. The method provided in the embodiment of the present application can enrich the types of recommended media data and improve the quality of recommendations.

[0231] For further information, see Fig.10 , Fig.10 Schematic diagram of the structure of a computer device provided in an embodiment of the present application. Fig.10 As shown, the computer device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display) and a keyboard (Keyboard), and the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1005 may optionally also be at least one storage device located away from the aforementioned processor 1001. As shown in FIG. Fig.10 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a device control application.

[0232] exist Fig.10 In the computer device 1000 shown, the network interface 1004 can provide a network communication function; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:

[0233] Determine, according to the first historical trigger attribute information associated with the first sample object and the media attribute information respectively corresponding to at least two first sample media data, a common attribute feature respectively corresponding to each first sample media data by the first sample object;

[0234] Acquire a first future attribute feature of the first sample object associated with the first historical trigger attribute information at a future moment;

[0235] Screening out candidate sample media data from at least two second sample media data by an initial generator in an initial adversarial network, wherein the initial generator sends the candidate sample media data to an initial discriminator in the initial adversarial network;

[0236] In the initial discriminator, according to the common attribute feature and the first future attribute feature respectively corresponding to each first sample media data by the first sample object, a first trigger probability of the first sample object for each first sample media data is output, and in the initial discriminator, a second trigger probability for the candidate sample media data is output;

[0237] According to the first trigger probability and the second trigger probability, the model parameters of the initial adversarial network are adjusted to obtain a target adversarial network, and the target generator in the target adversarial network is determined as a probability prediction model for predicting the trigger probability of the target object for media data.

[0238] The first sample object may be an object that operates the target application. The first historical trigger attribute information may be information obtained by analyzing the historical behavior of the first sample object. For example, if the first sample object has recently clicked on video A, video B, and video C, the first historical trigger attribute information corresponding to the first sample object may be determined based on the object attribute information of the first sample object itself (such as gender, age, hobbies, etc.) and the browsing time, click time, and video attribute information (such as video type, video duration, etc.) for video A, video B, and video C. That is, the first historical trigger attribute information may be used to characterize the habit and interest of the first sample object in watching videos recently. Further, the first historical trigger attribute information may include the object attribute information of the first sample object, the trigger record information of the first sample object, and the distribution environment information of the historically triggered first sample media data, wherein the trigger record information is the record of the first sample media data triggered by the first sample object, and the trigger record information specifically includes the parameters such as the media attribute information, trigger time, browsing time, acquisition method, and trigger frequency of the first sample media data triggered by the first sample object, wherein the acquisition method may include the method obtained based on the recommendation of the service server and the method obtained based on the search keyword. Among them, the historically triggered first sample media data is the first sample media data recorded in the trigger record information. Therefore, the distribution environment information may include factors such as the network quality and the geographical area when the terminal corresponding to the first sample object obtains the historically triggered first sample media data.

[0239] The first sample media data may be sample media data triggered by the first sample object, or may be sample media data not triggered by the first sample object. The media attribute information corresponding to the first sample media data may include media data tags, media data content categories, and media data scene categories. Taking video as an example, media data tags may include comedy tags, documentary tags, and emotional tags, etc. Media data content types may include sports, music, literature, history, technology, food, etc. Media data scene categories may include video support categories for configuring multi-function displays, article support categories for configuring dedicated screens, audio support categories for configuring speakers, and composite categories combining at least two support categories. Optionally, the media attribute information may also include data format types, which may include video, audio, articles, pictures, or tweets with pictures, etc.

[0240] It should be understood that the computer device 1000 described in the embodiment of the present application can execute the above Figure 2 , Figure 3 , Figure 4 , Figure 5a , Figure 5b as well as Figure 6 The description of the data processing method in the corresponding embodiment can also be performed as described above. Fig. 9 The description of the data processing device 1 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.

[0241] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, Figure 2 , Figure 3 , Figure 4 , Figure 5a , Figure 5b as well as Figure 6 For details on the data processing methods provided in each step, please refer to the above Figure 2 , Figure 3 , Figure 4 , Figure 5a , Figure 5b as well as Figure 6 The implementation methods provided by each step will not be described in detail here. In addition, the description of the beneficial effects of adopting the same method will not be described in detail here either.

[0242] The computer-readable storage medium may be the data processing device provided in any of the aforementioned embodiments or the internal storage unit of the computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the computer device. Further, the computer-readable storage medium may also include both the internal storage unit of the computer device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0243] The present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device can execute the above-mentioned Figure 2 , Figure 3 , Figure 4 , Figure 5a , Figure 5b as well as Figure 6 The description of the data processing method in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated here.

[0244] The term "comprising" and any variations thereof in the description, claims and drawings of the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment including a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other step units inherent to these processes, methods, devices, products or equipment.

[0245] 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 herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. 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.

[0246] The method and related apparatus provided by the embodiment of the present application are described with reference to the method flow chart and / or structural diagram provided by the embodiment of the present application. Specifically, each process and / or box in the method flow chart and / or structural diagram, as well as the combination of the processes and / or boxes in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the process. Figure 1 Schematic diagram of one or more processes and / or structures Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 Schematic diagram of one or more processes and / or structures Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A flow or multiple flows and / or structures illustrate the steps of the functions specified in one block or multiple blocks.

[0247] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A data processing method, characterized in that: include: Determine, according to the first historical trigger attribute information associated with the first sample object and the media attribute information respectively corresponding to at least two first sample media data, a common attribute feature respectively corresponding to each first sample media data by the first sample object; Acquire a first future attribute feature of the first sample object associated with the first historical trigger attribute information at a future moment; Screening out candidate sample media data from at least two second sample media data by an initial generator in an initial adversarial network, wherein the initial generator sends the candidate sample media data to an initial discriminator in the initial adversarial network; In the initial discriminator, according to the common attribute feature and the first future attribute feature respectively corresponding to each first sample media data by the first sample object, a first trigger probability of the first sample object for each first sample media data is output, and in the initial discriminator, a second trigger probability for the candidate sample media data is output; According to the first trigger probability and the second trigger probability, the model parameters of the initial adversarial network are adjusted to obtain a target adversarial network, and the target generator in the target adversarial network is determined as a probability prediction model for predicting the trigger probability of the target object for media data.

2. The method according to claim 1, characterized in that The at least two first sample media data include first sample media data Si, where i is a positive integer; the method further includes: Determine the object attribute information of the first sample object, the trigger record information of the first sample object, and the distribution environment information of the historically triggered first sample media data as the first historically triggered attribute information associated with the first sample object; the historically triggered first sample media data is the first sample media data recorded in the trigger record information; The media data tag, media data content category, and media data scene category of the first sample media data Si are determined as media attribute information corresponding to the first sample media data Si.

3. The method according to claim 1, characterized in that The step of selecting candidate sample media data from at least two second sample media data by using an initial generator in the initial adversarial network includes: Determine, according to the second historical trigger attribute information associated with the second sample object and the media attribute information respectively corresponding to at least two second sample media data, a common attribute feature respectively corresponding to each second sample media data of the second sample object; Inputting the common attribute feature of the second sample object corresponding to each second sample media data into an initial generator in the initial adversarial network, and generating a first generation trigger probability corresponding to each second sample media data by the initial generator; According to the second historical trigger attribute information, S matching samples are screened out from the at least two second sample media data; the S matching samples are second sample media data that have not been triggered by the second sample object; S is a positive integer; The S matching samples are sorted according to the first generation trigger probability to obtain sorted S matching samples, and K matching samples are obtained from the sorted S matching samples as candidate sample media data; K is a positive integer less than or equal to S.

4. The method according to claim 1, characterized in that The initial discriminator includes a feature convolution layer, a neural network perception layer and a fully connected activation layer; The initial discriminator outputs a first trigger probability of the first sample object for the first sample media data according to the general attribute feature corresponding to the first sample object for the candidate sample media data and the first future attribute feature, including: Performing convolution fusion processing on the first sample object's general attribute feature corresponding to the first sample media data and the first future attribute feature through the feature convolution layer to obtain a first sample convolution fusion feature, and inputting the first sample convolution fusion feature into the neural network perception layer; Performing weighted conversion processing on the first sample convolution fusion feature through the neural network perception layer to obtain a to-be-activated feature corresponding to the first sample convolution fusion feature, and inputting the to-be-activated feature into the fully connected activation layer; The feature to be activated is activated through the fully connected activation layer to obtain a first trigger probability of the first sample object for the first sample media data.

5. The method according to claim 3, characterized in that: Outputting a second trigger probability for the candidate sample media data in the initial discriminator includes: Acquire a second future attribute feature of the second sample object associated with the second historical trigger attribute information at a future moment; In the initial discriminator, a second trigger probability of the second sample object for the candidate sample media data is output according to the common attribute feature corresponding to the second sample object for the candidate sample media data and the second future attribute feature.

6. The method according to claim 1, characterized in that The step of adjusting the model parameters of the initial adversarial network according to the first trigger probability and the second trigger probability to obtain a target adversarial network includes: determining a first loss value for the first sample media data according to the first trigger probability and a true trigger label for the first sample media data; Determine a second loss value for the candidate sample media data according to the second trigger probability; Adjusting the model parameters of the initial discriminator according to the adversarial discriminant loss function, the first loss value, and the second loss value; Adjusting the model parameters of the initial generator according to the adversarial generation loss function, the first loss value, and the second loss value; Based on the adjusted initial discriminator and the adjusted initial generator, a target adversarial network is generated.

7. The method according to claim 6, characterized in that The step of generating a target adversarial network according to the adjusted initial discriminator and the adjusted initial generator includes: Determine, according to the second historical trigger attribute information associated with the second sample object and the media attribute information respectively corresponding to at least two second sample media data, a common attribute feature respectively corresponding to each second sample media data of the second sample object; Inputting the common attribute feature of the second sample object corresponding to each second sample media data into the initial generator, and generating the first generation trigger probability corresponding to each second sample media data by the initial generator; determining a third loss value for the second sample media data according to the first generated trigger probability and a true trigger label for the second sample media data; According to the supervised loss function and the third loss value, the model parameters of the adjusted initial generator are adjusted to obtain a target generator, and the target generator and the adjusted initial discriminator are determined as a target adversarial network.

8. The method according to claim 6, characterized in that The step of generating a target adversarial network according to the adjusted initial discriminator and the adjusted initial generator includes: Inputting the common attribute feature of the first sample object corresponding to each first sample media data into the initial generator, and generating the second generation trigger probability corresponding to each first sample media data by the first sample object through the initial generator; Acquire the first latent features of the first sample object corresponding to each first sample media data from the initial generator, and acquire the second latent features of the first sample object corresponding to each first sample media data from the initial discriminator; According to the error between the first trigger probability and the second generation trigger probability, and the error between the first latent feature and the second latent feature, the model parameters of the adjusted initial generator are adjusted to obtain a target generator; According to the error between the first trigger probability and the second generated trigger probability, and the error between the first latent feature and the second latent feature, the model parameters of the adjusted initial discriminator are adjusted to obtain a target discriminator, and the target generator and the target discriminator are determined as a target adversarial network.

9. A computer device, characterized in that: include: Processor, memory, and network interface; The processor is connected to the memory and the network interface, wherein the network interface is used to provide a data communication function, the memory is used to store program code, and the processor is used to call the program code to execute the method described in any one of claims 1-8.

10. 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 method according to any one of claims 1 to 8.

11. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Training method of information recommendation model and related device

    CN111931062A

  • Bidirectional dynamic recommendation system based on generative adversarial network

    CN112395494A

  • Neural network training method, data processing method and related equipment

    CN113159315A

  • Semi-supervised regression with generative adversarial networks

    US20180336471A1

  • System and method for semi-supervised conditional generative modeling using adversarial networks

    US20190147333A1