Data processing method and related device

By querying and training the feature correction model in the content recommendation system, the problem of insufficient accuracy of negative feedback data features is solved, and the accuracy of negative feedback data features is improved and the effectiveness of the content recommendation system is enhanced.

CN114328480BActive Publication Date: 2024-10-22TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111494696.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-08
Publication Date
2024-10-22
Estimated Expiration
2041-12-08

AI Technical Summary

Technical Problem

In the existing technology, the accuracy of negative feedback data features is insufficient, mainly due to the inaccuracy of the features caused by the difference between the sample acquisition time and the time for determining the negative feedback data features in an offline environment.

Method used

By obtaining the log data of the content recommendation system, including delivery logs, access logs and negative feedback logs, query the characteristics of the first sample data and the characteristics of the second sample data, and use these characteristics to train the feature correction model to correct the negative feedback logs. The negative feedback data features are corrected to ensure the consistency of the features in the issued state.

Benefits of technology

It improves the accuracy of negative feedback data features, avoids feature crossing and feature failure, and enhances the effectiveness of the content recommendation system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114328480B_ABST
    Figure CN114328480B_ABST
Patent Text Reader

Abstract

The present application proposes a data processing method and related devices, the data processing method includes: obtaining log data of a content recommendation system, the log data includes a distribution log, an access log and a negative feedback log; the distribution log is used to record information about pushing a content set to an object set; the access log is used to record information about access operations performed on the content set after the push; the negative feedback log is used to record information about negative feedback operations performed on the content set after the push; the distribution data features corresponding to the distribution log are stored in a database; the first sample data features are queried from the database according to the access log, and the second sample data features are queried from the database according to the negative feedback log; the feature correction model is trained using the first sample data features and the second sample data features, wherein the trained feature correction model is used to correct the negative feedback data features corresponding to the negative feedback log. Through the present application, the accuracy of the negative feedback data features can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In various recommendation scenarios such as public account recommendations, in order to ensure that the recommended content can be effectively adopted and accepted by users, negative feedback prediction models are often used to estimate and identify user negative feedback. Therefore, the negative feedback data features used to train negative feedback prediction models become an important data indicator in recommendation scenarios.

[0003] At present, after obtaining samples online, feature processing is performed on the obtained samples in an offline environment, and then the corresponding negative feedback data features in the offline environment are obtained. Since there is a large difference between the time of sample acquisition and the time of determining the negative feedback data features in the offline environment, the negative feedback data features finally extracted are not accurate enough. Therefore, how to improve the accuracy of negative feedback data features is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present application provide a data processing method, apparatus, computer device, computer-readable storage medium, and computer program product, which can improve the accuracy of negative feedback data features.

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

[0006] Obtain log data of the content recommendation system, which includes delivery log, access log and negative feedback log; delivery log is used to record information about pushing content sets to object sets; access log is used to record information about access operations performed on content sets after they are pushed; negative feedback log is used to record information about negative feedback operations performed on content sets after they are pushed; delivery data features corresponding to delivery log are stored in the database;

[0007] querying a first sample data feature from a database according to the access log, and querying a second sample data feature from a database according to the negative feedback log;

[0008] The first sample data feature and the second sample data feature are used to train a feature correction model, wherein the trained feature correction model is used to correct the negative feedback data feature corresponding to the negative feedback log.

[0009] On the one hand, an embodiment of the present application provides a data processing device, the device comprising:

[0010] The acquisition unit is used to acquire log data of the content recommendation system, and the log data includes a delivery log, an access log, and a negative feedback log; the delivery log is used to record information about pushing a content set to an object set; the access log is used to record information about access operations performed on a content set after it is pushed; the negative feedback log is used to record information about negative feedback operations performed on a content set after it is pushed; the delivery data features corresponding to the delivery log are stored in a database;

[0011] A processing unit, configured to query a first sample data feature from a database according to an access log, and query a second sample data feature from a database according to a negative feedback log;

[0012] The processing unit is further used to train a feature correction model using the first sample data feature and the second sample data feature, wherein the trained feature correction model is used to correct the negative feedback data feature corresponding to the negative feedback log.

[0013] In a possible implementation, the content set includes content i, which is any pushed content in the content set; the object set includes N objects that have received content i; i and N are both positive integers;

[0014] The delivery log includes a delivery log item corresponding to content i, and the delivery log item corresponding to content i records the image features of content i and the image features of N objects; the processing unit is further used to perform the following operations:

[0015] Perform feature extraction processing on the delivery log item corresponding to content i to obtain N delivery data features corresponding to content i; each delivery data feature is composed of the image feature of content i and the image feature of one of the N objects;

[0016] The N sent data features corresponding to content i are stored in the database.

[0017] In a possible implementation, the access log records information about the access operation performed by object j on content i after it is pushed, where object j is any one of N objects;

[0018] The processing unit queries the first sample data feature from the database according to the access log, and performs the following operations:

[0019] Extract access data features corresponding to content i from the access log, where the access data features include the image features of content i and the image features of object j;

[0020] Searching in a database according to the access data feature corresponding to content i, obtaining a first sent data feature corresponding to content i that matches the access data feature corresponding to content i;

[0021] The first sent data feature is determined as the first sample data feature.

[0022] In a possible implementation, before the processing unit searches the database according to the access data feature corresponding to the content i, it is further configured to perform the following operations:

[0023] Detect the click-through rate of content i;

[0024] When the click-through rate of content i is greater than or equal to the click-through rate threshold, a step of querying in a database according to the access data feature corresponding to content i is executed.

[0025] In a possible implementation, the negative feedback log records information that a negative feedback operation is performed on content i by object k after it is pushed, and object k is any one of the N objects;

[0026] The processing unit queries the second sample data feature from the database according to the negative feedback log to perform the following operations:

[0027] Extract negative feedback data features corresponding to content i from the negative feedback log, where the negative feedback data features include the image features of content i and the image features of object k;

[0028] Searching in a database according to the negative feedback data feature corresponding to content i, obtaining a second sent data feature corresponding to content i that matches the negative feedback data feature corresponding to content i;

[0029] The second sent data feature is determined as the second sample data feature.

[0030] In a possible implementation, the processing unit uses the first sample data feature and the second sample data feature to train a feature correction model to perform the following operations:

[0031] Using the first sample data feature to train a feature correction model to obtain a trained feature correction model;

[0032] The trained feature correction model is fine-tuned using the second sample data feature to obtain a trained feature correction model.

[0033] In a possible implementation, the processing unit is further configured to perform the following operations:

[0034] Performing feature preprocessing on the first sample data feature in a configured processing manner to obtain the preprocessed first sample data feature, and performing feature preprocessing on the second sample data feature in a configured processing manner to obtain the preprocessed second sample data feature;

[0035] Among them, the configuration processing method may include any one or more of the following: a processing method of converting enumeration type features into letter identifiers, a processing method of constructing a feature dictionary, a processing method of discretizing continuous features, and a processing method of normalizing features.

[0036] In a possible implementation, the processing unit is further configured to perform the following operations:

[0037] Obtain the negative feedback data features corresponding to the negative feedback log;

[0038] The trained feature correction model is called to correct the negative feedback data features corresponding to the negative feedback log to obtain consistent features.

[0039] In a possible implementation, the processing unit is further configured to perform the following operations:

[0040] Call the negative feedback prediction model and use the consistency feature to train the negative feedback prediction model;

[0041] When the trained negative feedback prediction model meets the model convergence condition, the trained negative feedback prediction model is determined as the trained negative feedback prediction model.

[0042] In a possible implementation, the processing unit is further configured to perform the following operations:

[0043] Call the trained negative feedback prediction model to predict the data to be pushed in the content recommendation system to obtain the target data;

[0044] Delete the target data from the data to be pushed;

[0045] Push the deleted data to be pushed to the target object.

[0046] On the one hand, an embodiment of the present application provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the above-mentioned data processing method.

[0047] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is read and executed by a processor of a computer device, the computer device executes the above-mentioned data processing method.

[0048] On the one hand, an embodiment of the present application provides a computer program product or a computer program, which includes computer instructions 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 performs the above-mentioned data processing method.

[0049] In an embodiment of the present application, first, the log data of the content recommendation system can be obtained, and the log data may include a sending log, an access log, and a negative feedback log; the sending log is used to record information about pushing a content set to an object set; the access log is used to record information about access operations performed on the content set after it is pushed; the negative feedback log is used to record information about negative feedback operations performed on the content set after it is pushed; and the sending data features corresponding to the sending log are stored in a database. Then, the first sample data feature can be queried from the database based on the access log, and the second sample data feature can be queried from the database based on the negative feedback log. Next, the first sample data feature and the second sample data feature can be used to train a feature correction model, wherein the trained feature correction model can be used to correct the negative feedback data feature corresponding to the negative feedback log. It can be seen that in the embodiment of the present application, the first sample data feature and the second sample data feature are both obtained by querying the database. In this way, the first sample data feature and the second sample data feature can be fixed as the sent data feature in the sent state; then the feature correction model is trained based on the first sample data feature and the second sample data feature in the sent state, and the trained feature correction model is used to correct the negative feedback data feature corresponding to the negative feedback log, and finally the sent data feature in the sent state can be obtained. Therefore, the state of the negative feedback data feature when the negative feedback operation is performed on the content set after being pushed can be corrected to the sent state, avoiding the problems of feature crossing and feature failure, making the negative feedback data feature more accurate, thereby improving the accuracy of the negative feedback data feature. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0051] Figure 1 It is a schematic diagram of the principle of a data processing solution provided in an embodiment of the present application;

[0052] Figure 2 It is a structural diagram of a data processing system provided in an embodiment of the present application;

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

[0054] Figure 4 is a schematic diagram of a database provided in an embodiment of the present application;

[0055] Figure 5 It is a flowchart of a model training method provided in an embodiment of the present application;

[0056] Figure 6 It is a flowchart of another model training method provided in an embodiment of the present application;

[0057] Figure 7 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;

[0058] Figure 8 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0059] Here, exemplary embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application.

[0060] The present application embodiment proposes a data processing solution, which can improve the accuracy of negative feedback data features. The solution can be applied to various recommendation scenarios such as public account recommendation, and can train a negative feedback prediction model with better effect based on relatively accurate negative feedback data features, thereby improving the effectiveness of the content recommendation system. Figure 1 , Figure 1 is a schematic diagram of the principle of a data processing solution provided in an embodiment of the present application, such as Figure 1As shown, the general principle of the data processing scheme is as follows: First, log data can be extracted from the content recommendation system (for example, in the advertising recommendation scenario, the content recommendation system can be an advertising recommendation system) as the data source for data processing. Among them, the log data may include a delivery log, an access log, and a negative feedback log; the delivery log is used to record the information of pushing the content set to the object set; the access log is used to record the information of the access operation performed on the content set after the push (for example, the click operation performed by the user after the content set is exposed); the negative feedback log is used to record the information of the negative feedback operation performed on the content set after the push (for example, the user's complaint operation, etc.). In a possible implementation, the delivery log in the data source can be sampled, and then the delivery data features corresponding to the sampled delivery log are stored in the database. Then, the first sample data feature can be queried from the database according to the access log, and the second sample data feature can be queried from the database according to the negative feedback log. Next, the feature correction model can be trained using the first sample data feature and the second sample data feature. Finally, the trained feature correction model can be called to correct the negative feedback data feature corresponding to the negative feedback log to obtain a consistent feature. Subsequently, a large package reporting tool (such as the mmbizsec Tlrecfeaturereporter tool) can be used to report consistency features and first sample data features, and regularly generate training data for the negative feedback prediction model, and export the training data for the negative feedback prediction model to the storage platform WFS (a decentralized storage platform).

[0061] It can be seen that in the embodiment of the present application, the first sample data feature and the second sample data feature are both obtained by querying the database. In this way, the first sample data feature and the second sample data feature can be fixed as the sent data features in the sent state; then, the feature correction model is trained based on the first sample data feature and the second sample data feature in the sent state, and the trained feature correction model is used to correct the negative feedback data feature corresponding to the negative feedback log. The consistency feature finally obtained is also the sent data feature in the sent state. Therefore, the state of the negative feedback data feature when the content set is subjected to a negative feedback operation after being pushed can be corrected to the sent state, avoiding the problems of feature crossing and feature failure, making the consistency feature more accurate, thereby improving the accuracy of the negative feedback data feature.

[0062] Next, the above-mentioned data processing solution is introduced in combination with the technical terms involved in this application:

[0063] 1. Artificial Intelligence

[0064] 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. Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level technology and software-level technology. Basic artificial intelligence technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, and mechatronics. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0065] In one possible implementation, the data processing scheme of the present application can be combined with machine learning technology in the field of artificial intelligence. For example, machine learning technology can be used to train feature correction models, and machine learning technology can be used to train negative feedback prediction models, etc. Among them, the so-called machine learning (ML) is a multi-field cross-disciplinary subject involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in how computers simulate or implement human learning behavior to acquire new knowledge or skills, and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all fields of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and learning by teaching.

[0066] 2. Blockchain:

[0067] The blockchain network is a network composed of a peer-to-peer network (P2P network) and a blockchain. The blockchain refers to a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm. It is essentially a decentralized database, a string of data blocks (or blocks) generated by cryptographic methods.

[0068] In one possible implementation, the data processing scheme of the present application can be combined with blockchain technology. For example, the log data of the content recommendation system (including the distribution log, access log and negative feedback log, etc.) can be uploaded to the blockchain of the blockchain network for storage to prevent the internal data of the computer device from being tampered with, thereby improving the security and privacy of the log data.

[0069] 3. Cloud Technology:

[0070] Cloud storage is a new concept that extends and develops from the concept of cloud computing. A distributed cloud storage system (hereinafter referred to as storage system) refers to a storage system that uses cluster applications, grid technology, and distributed storage file systems to bring together a large number of different types of storage devices (storage devices are also called storage nodes) in the network through application software or application interfaces to work together and provide external data storage and business access functions.

[0071] In one possible implementation, when executing the data processing solution of the present application, the sent data features corresponding to the sent log are stored in a database. This process involves large-scale calculations and requires large computing power and storage space. Therefore, in one possible implementation of the present application, a computer device can obtain sufficient computing power and storage space through cloud storage technology to execute the storage of the sent data features corresponding to the sent log involved in the present application.

[0072] It is understandable that the data processing scheme provided by the embodiment of the present application can be applied to various recommendation scenarios such as public account recommendation. Specifically, the data processing scheme provided by the embodiment of the present application can be used to call the trained feature correction model to correct the negative feedback data features corresponding to the negative feedback log in the log data to obtain the consistency feature, and then train the negative feedback prediction model through the consistency feature. When the content recommendation system needs to push the data to be pushed to the object, the trained negative feedback prediction model can be called to predict and identify the data to be pushed, thereby identifying the target data in the data to be pushed that may be negatively fed back by the user. Then, the content recommendation system can delete or intercept the target data, and push the deleted data to be pushed to the target object, which can improve the effectiveness of the content recommendation system, so that the recommended data can be pushed to the user in a targeted manner according to the user's needs, reducing the possibility of negative feedback operations being performed by the user, thereby improving the user experience.

[0073] Based on the above description, next, see Figure 2 , Figure 2 Schematic diagram of a data processing system provided in an embodiment of the present application. Figure 2As shown, the structural diagram of the data processing system may include: a terminal device 201 and a server 202. The terminal device 201 and the server 202 may be directly or indirectly connected via wired or wireless communication, which is not limited in this application; in addition, the number of terminal devices 201 in the embodiment of the present application is only for example, which is also not limited in this application.

[0074] Figure 2 The terminal device 201 shown may include, but is not limited to: mobile phones, tablet computers, laptop computers, PDAs, mobile Internet devices (MIDs), intelligent voice interaction devices, vehicle-mounted terminals, roadside devices, aircraft, wearable devices, smart home appliances, or wearable devices with data processing functions such as smart watches, smart bracelets, pedometers, etc.

[0075] Figure 2 The server 202 shown can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms, etc.

[0076] In a possible implementation, when the terminal device 201 and the server 202 jointly execute the data processing scheme in the present application, the terminal device 201 can obtain the log data of the content recommendation system, wherein the log data includes the sending log, the access log and the negative feedback log; the sending log is used to record the information of pushing the content set to the object set; the access log is used to record the information of the access operation performed on the content set after the push; the negative feedback log is used to record the information of the negative feedback operation performed on the content set after the push; the sending data features corresponding to the sending log are stored in the database. Then, the terminal device 201 can send the log data to the server 202. After the server 202 obtains the log data sent by the terminal device 201, the server 202 can query the first sample data feature from the database according to the access log, and query the second sample data feature from the database according to the negative feedback log. Next, the server 202 can use the first sample data feature and the second sample data feature to train the feature correction model.

[0077] Finally, the server 202 can call the trained feature correction model to correct the negative feedback data features corresponding to the negative feedback log to obtain a consistent feature. Subsequently, the server 202 can send the consistent feature to the terminal device 201, and the terminal device 201 can use the consistent feature to train the negative feedback prediction model.

[0078] It should be understood that the above is only an exemplary description of the various steps that the terminal device 201 and the server 202 are responsible for executing, and the embodiments of the present application do not limit this. For example, querying the first sample data feature from the database according to the access log, and querying the second sample data feature from the database according to the negative feedback log; using the first sample data feature and the second sample data feature to train the feature correction model; and calling the trained feature correction model to correct the negative feedback data feature corresponding to the negative feedback log to obtain a consistent feature. These processes can also be executed by the terminal device 201. For another example, after the server 202 sends the trained feature correction model to the terminal device 201, the terminal device 201 executes the subsequent steps of calling the trained feature correction model to correct the negative feedback data feature corresponding to the negative feedback log to obtain a consistent feature, and so on.

[0079] Furthermore, we can Figure 2 The provided data processing system is deployed on the nodes of the blockchain. For example, the server 202 and the terminal device 201 can be used as node devices of the blockchain to form a blockchain network. Therefore, the data processing process involved in this application can be executed on the blockchain, which can not only ensure the fairness and justice of the data processing process, but also make the data processing process traceable, thereby improving the security of the data processing process.

[0080] It can be understood that the system architecture diagram described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

[0081] Based on the above description of the data processing scheme, the present application embodiment proposes a data processing method. Figure 3 As shown, Figure 3 This is a flow chart of a data processing method provided in an embodiment of the present application. The data processing method can be executed by the terminal device or server mentioned above, or can be executed by the terminal device and the server together. For the convenience of explanation, the following description will be given by taking a computer device executing the data processing method as an example. Among them, the data processing method may include the following steps S301 to S303:

[0082] S301: Obtain log data of the content recommendation system, which includes a delivery log, an access log, and a negative feedback log; the delivery log is used to record information about pushing a content set to an object set; the access log is used to record information about access operations performed on a content set after it is pushed; the negative feedback log is used to record information about negative feedback operations performed on a content set after it is pushed; the delivery data features corresponding to the delivery log are stored in a database.

[0083] In the embodiments of the present application, a content set refers to a collection of one or more content to be pushed; an object set refers to a collection of one or more objects (such as users) that receive the content to be pushed. A content recommendation system refers to a background system that recommends content sets to object sets, and the background system may record the specific content of the content set, the specific content of the object set, the timestamp of the push, and so on. For example, in an advertising push scenario, the content push system may be an advertising push system (such as an XXX advertising platform); for another example, in a message push scenario, the content push system may be a social platform, and so on.

[0084] The delivery log refers to the delivery flow corresponding to the delivery state. The so-called delivery state refers to the state corresponding to when the content set is pushed to the object in the content recommendation system. For example, when the advertising recommendation system needs to recommend advertising data to the object, the timestamp (for example, January 1st 10:00) corresponding to the advertising data pushed to one or more users (for example, user A, user B, and user C, etc.) by the advertising recommendation system is the delivery state. The delivery flow can record: January 1st 10:00, the target advertising data is pushed to user A, user B, and user C, etc.

[0085] The access log refers to the exposure / click flow corresponding to the exposure / click state. The so-called exposure state refers to the state corresponding to when the content set is presented to the object set, and the so-called click state refers to the state corresponding to when the object performs a click operation on a specific content. For example, after the advertising recommendation system recommends advertising data to the object, the timestamp corresponding to when the advertising data is presented to the object (for example, January 2, 10:00) is the exposure state; for another example, the timestamp corresponding to when the object performs a click operation on the exposed advertising data (for example, January 2, 10:01) is the click state. Then, the exposure / click flow can record information such as: at 10:01 on January 2, the advertising data was triggered by user A and user B to click, etc. It can be understood that the time interval between the exposure state and the click state is short, so in a possible implementation method, the exposure state and the click state can be collectively referred to as the access state.

[0086] Negative feedback log refers to the negative feedback flow corresponding to the negative feedback state. The so-called negative feedback state refers to the state corresponding to when the object performs a negative feedback operation on the content set. The so-called negative feedback operation refers to the user's operation tending to make the user dislike the content. Negative feedback operations may include but are not limited to: user complaint operations, dislike operations, etc. For example, after the advertising recommendation system recommends advertising data to the object, and after presenting the advertising data to the object, the timestamp corresponding to the negative feedback operation performed by the object (for example, January 2nd 10:02) is the negative feedback state. Then, the negative feedback flow can record information such as: January 2nd 10:02, advertising data was triggered by user A to perform a negative feedback operation, etc.

[0087] In a possible implementation, for the delivery log, access log and negative feedback log included in the log data, the data link is usually: delivery status -> exposure / click status -> negative feedback status. For example, in the advertising recommendation scenario, the delivery log can record 10,000 pieces of information recording the push of the content set to the object set, the exposure log can record 3,000 pieces of information presented to the object after the content set is pushed, the click log can record 300 pieces of information of the click operation performed on the content set after the push, and the negative feedback log can record 10 pieces of information of the negative feedback operation performed on the content set after the push. In addition, the delivery log, access log and negative feedback log can all be stored in the storage format of: content set-object set-timestamp-behavior status, for example, the storage format can be a table. Next, please refer to Tables 1-3 for examples of the storage formats of the delivery log, access log and negative feedback log.

[0088] Table 1. Storage format of the sent log

[0089] Content Collection Object Set Timestamp Behavioral state Advertisement 1 User 1, User 2, User 3 January 2nd 10:00 Delivery status Advertisement 2 User 3, User 4, User 5 January 1, 10:00 Delivery status Ad 3 User 1, User 3, User 6 January 1, 10:00 Delivery status ... ... ... Delivery status Advertisement 10000 User 2, User 5, User 6 January 1, 10:00 Delivery status

[0090] It can be understood that, as shown in Table 1, the advertising recommendation system can push the same advertising content to one or more objects at the same time. For example, Advertisement 1 can be pushed to User 1, User 2, and User 3 at the same time (such as at 10:00 on January 1). The same object can also receive one or more advertising contents at the same time. For example, User 1 can receive Advertisement 1 and Advertisement 3 at the same time (such as at 10:00 on January 1).

[0091] Table 2. Storage format of access logs

[0092] Content Collection Object Set Timestamp Behavioral state Advertisement 1 User 1, User 2 January 1, 10:01 Click Status Advertisement 2 User 4, User 5 January 1, 10:01 Click Status Ad 3 User 1, User 3, User 6 January 1, 10:01 Click Status ... ... ... ... Ad 300 User 2, User 5, User 6 January 1, 10:01 Click Status

[0093] It is understandable that, as shown in Table 2, after a certain advertisement content is pushed to an object, only some of the objects may perform a click operation. For example, the advertisement recommendation system pushes advertisement 1 to user 1, user 2, and user 3, but only user 1 and user 2 click on advertisement 1.

[0094] Table 3. Storage format of negative feedback log

[0095] Content Collection Object Set Timestamp Behavioral state Advertisement 1 User 1 January 1, 10:02 Negative feedback state Advertisement 2 User 4 January 1, 10:02 Negative feedback state Ad 3 User 1, User 3 January 1, 10:02 Negative feedback state ... ... ... ... Advertisement 10 User 6 January 1, 10:02 Negative feedback state

[0096] It is also understandable that, as shown in Table 3, after a certain advertisement content is pushed to an object and the object performs a click operation, only a smaller number of objects may perform a negative feedback operation (such as a complaint operation, etc.). For example, the advertisement recommendation system pushes advertisement 1 to user 1, user 2, and user 3, wherein user 1 and user 2 click on advertisement 1, and only user 1 performs a negative feedback operation on advertisement 1.

[0097] In a possible implementation, the content set includes content i, which is any pushed content in the content set; the object set includes N objects that have received content i; i and N are both positive integers. The delivery log includes a delivery log item corresponding to content i, and the delivery log item corresponding to content i records the portrait features of content i and the portrait features of N objects. Then, the computer device can perform feature extraction processing on the delivery log item corresponding to content i to obtain N delivery data features corresponding to content i; each delivery data feature is composed of the portrait feature of content i and the portrait feature of one of the N objects; then, the computer device stores the N delivery data features corresponding to content i in a database.

[0098] Specifically, in the advertising recommendation scenario, assuming that content i is advertisement 1, the corresponding log item of advertisement 1 may record the image features of advertisement 1 and the image features of N objects (such as user 1, user 2, and user 3). For example, the feature extraction model may be used to perform feature extraction processing on advertisement 1 to obtain the image feature x1 of advertisement 1, and the feature extraction model may be used to perform feature extraction processing on user 1, user 2, and user 3 to obtain the image feature y1 of user 1, the image feature y2 of user 2, and the image feature y3 of user 3. The feature extraction processing may include but is not limited to data mining, data processing, etc. The so-called image features of the target object may refer to the labels for the target object, and the number of labels may be one or more. For example, the image features of user 1 may include attribute features (such as age, gender, etc.), interest features, behavior features, psychological features, etc. In addition, the so-called portrait features of the target content also refer to: the labels given to the target content. The number of labels can be one or more. For example, the portrait features of Advertisement 1 may include: field features (such as sports, food, current affairs, etc.), language features (such as Chinese, English, Korean, etc.), etc.

[0099] In a possible implementation, the dispatch log items can be stored in a database in the form of item (content)-user (object). The database here can be a ttlkv database (time to live key value, a database with automatic expiration function), that is, the database has a valid period. If the dispatch data feature stored in the database exceeds the valid period, the dispatch data feature will be deleted from the database. In this way, problems such as feature failure caused by too long storage time can be avoided, and the validity of the dispatch data feature stored in the database can be guaranteed.

[0100] It should be noted that the storage format of the database may include but is not limited to: table format, linked list format (such as Figure 4 As shown, Figure 4 is a schematic diagram of a database provided in an embodiment of the present application. The characteristics of the sent data stored in the database may be stored in a linked list form), etc., and the embodiment of the present application does not specifically limit this. For example, assuming that the storage format of the database is in a table form, as shown in Table 4 below:

[0101] Table 4. Database storage format

[0102] uer1 user2 ... user N Item1 x1-y1 x1-y2 ... x1-y Item2 x2-y1 x2-y2 x1-yM ... ... ... ... ... item N xN-y1 xN-y2 ... ...

[0103] As shown in Table 4 above, for example, item 1 may be a dispatch log item corresponding to advertisement 1, and the dispatch log item corresponding to advertisement 1 may include: the image feature x1 of advertisement 1 and the image features y1, y2, ..., y N of N objects. For another example, item 2 may be a dispatch log item corresponding to advertisement 2, and the dispatch log item corresponding to advertisement 2 may include: the image feature x2 of advertisement 2 and the image features y1, y2, ..., y M of M objects. M is a positive integer, and M and N may be the same or different.

[0104] In another possible implementation, the computer device may first perform sampling processing on the delivery log, and then store the delivery data features corresponding to the delivery log after the sampling processing in a database. The detailed execution steps corresponding to the computer device storing the delivery data features corresponding to the delivery log after the sampling processing in the database can be specifically referred to the above method, and the embodiments of the present application will not be repeated here. Since the delivery log includes a lot of content, this sampling processing method can reduce the computing burden of the computer, thereby improving the efficiency of data processing.

[0105] S302: querying a database for a first sample data feature according to the access log, and querying a database for a second sample data feature according to the negative feedback log.

[0106] In a possible implementation, before the computer device searches the database according to the access data features corresponding to content i, the process may further include: the computer device detects the click-through rate of content i; when the click-through rate of content i is greater than or equal to the click-through rate threshold, the computer device executes the step of searching the database according to the access data features corresponding to content i. Specifically, when a click operation is performed on content i, the CTR (Click-Through-Rate) of content i may be detected, wherein the CTR of content i may refer to the historical click-through rate, and the historical click-through rate of content i may be determined according to: the number of times content i is clicked and the number of times content i is exposed.

[0107] For example, the computer device can obtain the number of times content i is clicked in a certain time period in the past (for example, within 24 hours), and the number of times content i is exposed in the time period. Then, the computer device determines the ratio between the number of times content i is clicked and the number of times content i is exposed as the click-through rate of content i. For example, in an advertising recommendation scenario, assuming that content i is advertisement 1, and assuming that the current time is 12:00 on January 2, the number of times advertisement 1 is exposed (assuming 100 times) and the number of times advertisement 1 is clicked (assuming 20 times) within the 24 hours from 12:00 on January 1 to 12:00 on January 2 can be obtained, and the computer device can determine that the CTR of advertisement 1 is 20 / 100. Assuming that the click-through rate threshold is 10%, the computer device can determine that the CTR of advertisement 1 (20%) is greater than the click-through rate threshold (10%), wherein the click-through rate threshold can be set by the user or by the system, and the embodiment of the present application does not specifically limit this. In this way, since the click-through rate of content i is detected in advance, the hit rate of the database can be guaranteed. Next, the computer device executes the step of searching the database according to the access data features corresponding to content i.

[0108] In a possible implementation, the access log records the information that the content i is accessed by the object j after being pushed, and the object j is any one of the N objects. That is, assuming that after the advertisement 1 is pushed to the user 1, the user 2, and the user 3, and assuming that the user 1 and the user 2 both click on the advertisement 1, then the object j refers to any one of the user 1 and the user 2, that is, the object j can refer to the user 1, and the object j can also refer to the user 2.

[0109] Specifically, the computer device queries the first sample data feature from the database according to the access log, which may include: first, the computer device extracts the access data feature corresponding to the content i from the access log, and the access data feature includes the image feature of the content i and the image feature of the object j. Then, the computer device queries the database according to the access data feature corresponding to the content i, and obtains the first sent data feature corresponding to the content i that matches the access data feature corresponding to the content i. Finally, the computer device determines the first sent data feature as the first sample data feature.

[0110] For example, in an advertisement recommendation scenario, assume that content i is advertisement 1 and object j is user 1. Then the computer device can extract the access data features corresponding to advertisement 1 from the access log. The access data features corresponding to advertisement 1 include the portrait features of advertisement 1 and the portrait features of user 1. Here, the portrait features of advertisement 1 may include: the content key of advertisement 1 (i.e., the unique identifier of advertisement 1), and the portrait features of user 1 may include: the object key of user 1 (i.e., the unique identifier of user 1, such as an identity document (Id)). Then, the computer device queries the database according to the unique identifier of advertisement 1 and the unique identifier of user 1, and obtains the portrait features of advertisement 1 in the "sending state" and the portrait features of user 1 in the "sending state". Finally, the computer device determines the first sent data features corresponding to advertisement 1 obtained (i.e., including the portrait features of advertisement 1 in the "sending state" and the portrait features of user 1 in the "sending state") as the first sample data features.

[0111] In a possible implementation, the negative feedback log records the information that the content i is negatively fed back by the object k after being pushed, and the object k is any one of the N objects. It is understandable that k and j may be the same or different. That is, assuming that after advertisement 1 is pushed to user 1, user 2, and user 3, assuming that user 1 performs a click operation on the advertisement 1, and user 2 performs a negative feedback operation on the advertisement 1, then k and j are different, that is, object j refers to user 1, and object k refers to user 2; for another example, assuming that after advertisement 1 is pushed to user 1, user 2, and user 3, assuming that user 1 performs a click operation on the advertisement 1, and user 1 performs a negative feedback operation on the advertisement 1, then k and j are the same, that is, object j refers to user 1, and object k also refers to user 1. Of course, it is understandable that if user 2 performs a negative feedback operation on the advertisement 1, then user 2 must have performed a click operation on the advertisement 1.

[0112] Specifically, the computer device queries the second sample data feature from the database according to the negative feedback log, which may include: first, the computer device extracts the negative feedback data feature corresponding to the content i from the negative feedback log, and the negative feedback data feature includes the image feature of the content i and the image feature of the object k. Then, the computer device queries the database according to the negative feedback data feature corresponding to the content i, and obtains the second sent data feature corresponding to the content i that matches the negative feedback data feature corresponding to the content i; and determines the second sent data feature as the second sample data feature.

[0113] For example, in an advertisement recommendation scenario, assume that content i is advertisement 1 and object k is user 2. Then the computer device can extract the negative feedback data features corresponding to advertisement 1 from the access log, and the negative feedback data features corresponding to advertisement 1 include the portrait features of advertisement 1 and the portrait features of user 2. Here, the portrait features of advertisement 1 may include: the content key of advertisement 1 (i.e., the unique identifier of advertisement 1), and the portrait features of user 2 may include: the object key of user 2 (i.e., the unique identifier of user 2, such as an identity document (Identity document, Id)). Then, the computer device queries the database according to the unique identifier of advertisement 1 and the unique identifier of user 2, and obtains the portrait features of advertisement 1 in the "sending state" and the portrait features of user 2 in the "sending state". Finally, the computer device determines the second sent data features corresponding to advertisement 1 obtained (i.e., including the portrait features of advertisement 1 in the "sending state" and the portrait features of user 2 in the "sending state") as the second sample data features.

[0114] It can be understood that, for any pushed content in the content set, to determine its corresponding first sent data feature and second sent data feature, reference can be made to the aforementioned determination of the first sent data feature corresponding to content i and the determination of the second sent data feature corresponding to content i, and the embodiments of the present application will not be repeated here.

[0115] S303: Using the first sample data feature and the second sample data feature to train a feature correction model, the trained feature correction model is used to correct the data features corresponding to the negative feedback log.

[0116] In the embodiment of the present application, since the time interval between the timestamp corresponding to the "download status" and the timestamp corresponding to the "exposure status / click status / negative feedback status" is very long (for example, 12 hours, or even 1 day, etc.), the time intervals between the timestamp corresponding to the "exposure status", the timestamp corresponding to the "click status", and the timestamp corresponding to the "negative feedback status" are basically within the minute level. The so-called minute level means that the time interval is measured in minutes. For example, the time interval between the timestamp corresponding to the "exposure status" and the timestamp corresponding to the "click status" is 1 minute; for another example, the time interval between the timestamp corresponding to the "click status" and the timestamp corresponding to the "negative feedback status" is 2 minutes, and so on. Based on the above analysis, the training samples of the feature correction model can be obtained in two ways in the embodiment of the present application:

[0117] (1) Training sample A: refers to the first sample data feature obtained by querying the database based on the access log under the "access state". It should be noted that since the time interval between the timestamp corresponding to the "access state (i.e., exposure state / click state)" and the timestamp corresponding to the "negative feedback state" is very short (for example, 1 minute). Therefore, in the embodiment of the present application, the first sample data feature obtained by querying the database based on the access log under the "access state" can be directly used as the sample data feature under the "negative feedback state". Then, the first sample data feature can be used as a training sample for the feature correction model.

[0118] (2) Training sample B: refers to the second sample data feature obtained by hit query from the database according to the negative feedback log in the "negative feedback state". It should be noted that in the embodiment of the present application, the ratio between the number of exposures of the content exposed to the object set and the number of negative feedbacks of the content on which negative feedback operations are performed after exposure is 1000:4; or, the ratio between the number of exposures of the content exposed to the object set and the number of negative feedbacks of the content on which click operations and negative feedback operations are performed after exposure is 1000:4. Therefore, it can be understood that the second sample data feature obtained by hit query of the negative feedback log in the embodiment of the present application is a more accurate sample data feature under the "negative feedback state". Then, the second sample data feature can be used as a training sample for fine tuning of the feature correction model.

[0119] It can be understood that the role of the trained feature correction model in the embodiment of the present application is to correct the features in other states to the features in the sending state. It should be noted that since the negative feedback log accounts for a relatively small proportion in the sending log, the negative feedback data features corresponding to the negative feedback log can be fully reported in the embodiment of the present application, and then the trained feature correction model can be called to correct the negative feedback data features corresponding to the fully reported negative feedback log to obtain consistent features. In other words, in the embodiment of the present application, the trained feature correction model can be used to correct the negative feedback data features obtained in real time in the negative feedback state to obtain the negative feedback data features in the sending state (i.e., consistent features).

[0120] In an embodiment of the present application, first, the log data of the content recommendation system can be obtained, and the log data may include a sending log, an access log, and a negative feedback log; the sending log is used to record the information of pushing the content set to the object set; the access log is used to record the information of the access operation performed on the content set after the push; the negative feedback log is used to record the information of the negative feedback operation performed on the content set after the push; the sending data features corresponding to the sending log are stored in the database. Then, the first sample data feature can be queried from the database according to the access log, and the second sample data feature can be queried from the database according to the negative feedback log. Next, the first sample data feature and the second sample data feature can be used to train a feature correction model. Finally, the trained feature correction model can be called to correct the negative feedback data feature corresponding to the negative feedback log to obtain a consistent feature. It can be seen that in the embodiment of the present application, the first sample data feature and the second sample data feature are both obtained by querying the database. In this way, the first sample data feature and the second sample data feature can be fixed as the sent data feature in the sent state; then, the feature correction model is trained based on the first sample data feature and the second sample data feature in the sent state, and the trained feature correction model is used to correct the negative feedback data feature corresponding to the negative feedback log. The final consistency feature is also the sent data feature in the sent state. Therefore, the state of the negative feedback data feature when the content set is subjected to a negative feedback operation after being pushed can be corrected to the sent state, avoiding the problems of feature crossing and feature failure, making the consistency feature more accurate, thereby improving the accuracy of the negative feedback data feature.

[0121] See also Figure 5 , Figure 5 : is a flow chart of a model training method provided in an embodiment of the present application, and the model training method can be executed by a computer device. The model training method can include the following steps S501 to S504:

[0122] S501: Obtain log data of the content recommendation system.

[0123] Among them, the log data includes the delivery log, access log and negative feedback log; the delivery log is used to record the information of pushing the content set to the object set; the access log is used to record the information of the access operation performed on the content set after it is pushed; the negative feedback log is used to record the information of the negative feedback operation performed on the content set after it is pushed; the delivery data features corresponding to the delivery log are stored in the database. It should be noted that for the explanation of the delivery log, access log and negative feedback log, please refer to Figure 3 The description of step S301 in the embodiment will not be repeated here in the embodiment of the present application.

[0124] S502: querying a database for a first sample data feature according to the access log, and querying a database for a second sample data feature according to the negative feedback log.

[0125] In the embodiment of the present application, it is also necessary to explain that the detailed execution process of the computer device querying the first sample data feature from the database according to the access log, and the computer device querying the second sample data feature from the database according to the negative feedback log, can be specifically referred to Figure 3 The steps performed by the computer device in step S302 in the embodiment are not repeated here in the embodiment of the present application.

[0126] S503: Using the first sample data feature to train a feature correction model to obtain a trained feature correction model.

[0127] See also Figure 6 , Figure 6 FIG. 1 is a flow chart of another model training method provided in an embodiment of the present application. Figure 6 As shown, based on the description of step S303 in the above embodiment, in the embodiment of the present application, the first sample data feature can be used to train the feature correction model to obtain a trained feature correction model.

[0128] In the embodiments of the present application, the feature correction model may refer to a neural network model of any structure, for example, the neural network model may include but is not limited to: DNN (Deep Neural Networks) model, LSTM (Long Short-Term Memory) model, GRU (Gated Recurrent Neural Network) model, etc. The present application does not specifically limit the model structure of the feature correction model. In a possible implementation, considering the operating efficiency of the model, the embodiment of the present application may adopt a DNN model as the feature correction model.

[0129] It should be noted that the function of the feature correction model that needs to be trained in the embodiment of the present application is to correct the features in other states to the features in the sending state. Therefore, the predicted feature refers to the corresponding feature in the "sending state" obtained after the first sample data feature in the "negative feedback state" (that is, the training sample A described above refers to the first sample data feature obtained after the hit query from the database according to the access log in the "access state", which is approximately the first sample data feature in the "negative feedback state") is corrected by the feature correction model.

[0130] In a possible implementation, a computer device uses a first sample data feature to train a feature correction model, which may include: first, the computer device obtains a first label feature of the first sample data feature. Then the computer device may input the first sample data feature into the feature correction model, and output a first prediction feature corresponding to the first sample data feature. Finally, the computer device adjusts the model parameters of the feature correction model according to the difference between the first prediction feature corresponding to the first sample data feature and the first label feature of the first sample data feature. If the adjusted feature correction model satisfies the first model convergence condition, the training of the feature correction model is stopped to obtain the trained feature correction model.

[0131] Among them, the so-called first model convergence condition may refer to: when the number of training times of the feature correction model reaches a preset training threshold, for example, 100 times, the feature correction model can be considered to meet the first model convergence condition, that is, the feature correction model after training 100 times is used as the trained feature correction model. Alternatively, when the difference data between the predicted features and the label features predicted by the model is less than the error threshold, the feature correction model can be considered to meet the first model convergence condition. Alternatively, when the change between the predicted features obtained by two adjacent trainings of the feature correction model is less than the change threshold, the feature correction model can be considered to meet the first model convergence condition.

[0132] In another possible implementation, the computer device may perform feature preprocessing on the first sample data feature through a configured processing method (for example, using a feature factory to perform lib standardization processing on the feature) to obtain the preprocessed first sample data feature. Then, the computer device uses the preprocessed first sample data feature to train the feature correction model to obtain the trained feature correction model. Among them, the configured processing method includes but is not limited to: a processing method for converting features of an enumeration type into letter identifiers, a processing method for constructing a feature dictionary, a processing method for discretizing continuous features, and a processing method for normalizing features. Among them, the so-called enumeration type feature can generally refer to a constant in life, that is, a feature that can be exhausted by giving examples, and according to the programming specifications, the enumeration type feature can be converted into a letter identifier. For example, if the enumeration type feature is "twelve months", the features converted into letter identifiers can be: Jan, Feb, Mar, Apr, May, Jun, July, Aug, Sep, Oct, Nov, Dec. For another example, if the enumeration type feature is "seven days of the week", the features converted into letter identifiers can be: Mon, Tue, Wed, Thu, Fri, Sat, Sun. For another example, if the enumeration type feature is "red, green, blue", the features converted into letter identifiers can be: Red, Green, Blue, and so on. By performing feature preprocessing on the first sample data features in a configured manner, planned processing can be ensured during the feature processing process, thereby improving the efficiency of data processing. Furthermore, using the standardized first sample data features to train a feature correction model can also improve the efficiency of model training.

[0133] S504: fine-tuning the trained feature correction model using the second sample data feature to obtain a trained feature correction model.

[0134] In the embodiment of the present application, according to the above description, the second sample data feature refers to: the second sent data feature obtained by querying the negative feedback log in the "negative feedback state" from the database is a more accurate sample data feature in the "negative feedback state", so Figure 6 As shown, the embodiment of the present application can utilize the second sample data features to fine-tune the feature correction model trained in the above step S503, so as to obtain a more accurate feature correction model.

[0135] In a possible implementation, the computer device uses the second sample data feature to fine-tune the trained feature correction model to obtain the trained feature correction model, which may include: first, the computer device obtains the second label feature of the second sample data feature. Then the computer device can input the second sample data feature into the trained feature correction model and output the second prediction feature corresponding to the second sample data feature. Finally, the computer device fine-tunes the model parameters of the trained feature correction model according to the difference between the second prediction feature corresponding to the second sample data feature and the second label feature of the second sample data feature to obtain the trained feature correction model.

[0136] In another possible implementation, the computer device may perform feature preprocessing on the second sample data features through a configured processing method to obtain the preprocessed second sample data features. Then, the computer device uses the preprocessed second sample data features to train the feature correction model to obtain the trained feature correction model. Among them, the configured processing method includes but is not limited to: a processing method for converting enumeration type features into letter identifiers, a processing method for constructing a feature dictionary, a processing method for discretizing continuous features, and a processing method for feature normalization. By performing feature preprocessing on the second sample data features in a configured manner, it is possible to ensure planned processing during the feature processing process, thereby improving the efficiency of data processing. Furthermore, using the standardized first sample data features to train the feature correction model can also improve the efficiency of model training.

[0137] In the above manner, since the production and acquisition of the first sample data feature and the second sample data feature are unified for online environment production, there is no need to maintain two sets of feature production systems, online and offline, so the feature consistency of the production environment and the online environment can be guaranteed. Furthermore, since the feature correction model is added, the accuracy of the consistency feature can be further improved.

[0138] In one possible implementation, the computer device can call a trained feature correction model to perform feature correction processing on the negative feedback data features corresponding to the negative feedback log to obtain a consistent feature. Specifically, since the negative feedback log accounts for a relatively small proportion of the issued log, in the embodiment of the present application, the negative feedback data features corresponding to the negative feedback log can be fully reported, and then the trained feature correction model can be called to correct the negative feedback data features corresponding to the fully reported negative feedback log to obtain a consistent feature. In other words, in the embodiment of the present application, the trained feature correction model can be used to correct the negative feedback data features obtained in real time under the negative feedback state to obtain the negative feedback data features (i.e., the consistent feature) under the issued state.

[0139] Next, the consistency feature obtained in the embodiment of the present application can be used as a training sample of the negative feedback prediction model. Specifically, the computer device uses the consistency feature to train the negative feedback prediction model, which can include: first, the computer device calls the negative feedback prediction model and trains the negative feedback prediction model using the consistency feature; then, when the trained negative feedback prediction model meets the second model convergence condition, the trained negative feedback prediction model is determined as the trained negative feedback prediction model. In another possible implementation, the first sample data feature can also be used as a training sample of the negative feedback prediction model, that is, the computer device also uses the consistency feature and the first sample data feature to train the negative feedback prediction model, and then obtains the trained negative feedback prediction model.

[0140] In the embodiment of the present application, the negative feedback prediction model may refer to a neural network model of any network structure, for example, the negative feedback prediction model may be: a DNN model, an LSTM model, etc. Specifically, the computer device calls the negative feedback prediction model, and training the negative feedback prediction model using the consistency feature may include: first, the computer device may obtain the label feature corresponding to the consistency feature; then, the computer device inputs the consistency feature into the negative feedback prediction model, and outputs the prediction feature corresponding to the consistency feature; finally, the computer device adjusts the model parameters of the negative feedback prediction model according to the difference between the label feature corresponding to the consistency feature and the prediction feature corresponding to the consistency feature.

[0141] In a possible implementation, in various recommendation scenarios such as public account recommendation and advertising recommendation, the computer device can call the trained negative feedback prediction model to predict the data to be pushed in the content recommendation system to obtain the target data; then, the computer device can delete the target data from the data to be pushed; finally, the deleted data to be pushed is pushed to the target object. For example, in an embodiment of the present application, for the data to be pushed in the content recommendation system, before the data to be pushed is pushed to the user, the trained negative feedback prediction model can be used to predict the target data that may be negatively fed back by the user, and then the target data is intercepted in advance. Finally, the data to be pushed after the target data is intercepted is recommended to the user. In this way, the effectiveness of the content recommendation system can be improved, so that the recommended data can be pushed to the user in a targeted manner according to the user's needs, reducing the possibility of negative feedback operations being performed by the user, thereby improving the user experience. Since the training samples (i.e., consistency features) of the negative feedback prediction model are more accurate, the trained negative feedback prediction model is also more accurate, and the prediction effect of the trained negative feedback prediction model put into use online is also better, thereby improving the efficiency of the content recommendation system.

[0142] It is understandable that in the specific implementation of the present application, data related to user information (such as identification, nickname, etc.) 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.

[0143] See also Figure 7 , Figure 7 700 is a schematic diagram of the structure of a data processing device provided in an embodiment of the present application. The data processing device 700 can be applied to a computer device corresponding to the above embodiment. The data processing device 700 can be a computer program (including program code) running in a computer device, for example, the data processing device 700 is an application software; the device can be used to execute the corresponding steps in the method provided in an embodiment of the present application. The data processing device 700 may include:

[0144] The acquisition unit 701 is used to acquire log data of the content recommendation system, and the log data includes a delivery log, an access log, and a negative feedback log; the delivery log is used to record information about pushing a content set to an object set; the access log is used to record information about access operations performed on the content set after it is pushed; the negative feedback log is used to record information about negative feedback operations performed on the content set after it is pushed; the delivery data features corresponding to the delivery log are stored in a database;

[0145] A processing unit 702 is used to query the first sample data feature from the database according to the access log, and query the second sample data feature from the database according to the negative feedback log;

[0146] The processing unit 702 is further used to train a feature correction model using the first sample data feature and the second sample data feature, wherein the trained feature correction model is used to correct the negative feedback data feature corresponding to the negative feedback log.

[0147] In a possible implementation, the content set includes content i, which is any pushed content in the content set; the object set includes N objects that have received content i; i and N are both positive integers;

[0148] The delivery log includes a delivery log item corresponding to content i, and the delivery log item corresponding to content i records the image features of content i and the image features of N objects; the processing unit 702 is further used to perform the following operations:

[0149] Perform feature extraction processing on the delivery log item corresponding to content i to obtain N delivery data features corresponding to content i; each delivery data feature is composed of the image feature of content i and the image feature of one of the N objects;

[0150] The N sent data features corresponding to content i are stored in the database.

[0151] In a possible implementation, the access log records information about the access operation performed by object j on content i after it is pushed, where object j is any one of N objects;

[0152] The processing unit 702 queries the database for the first sample data feature according to the access log, and performs the following operations:

[0153] Extract access data features corresponding to content i from the access log, where the access data features include the image features of content i and the image features of object j;

[0154] Searching in a database according to the access data feature corresponding to content i, obtaining a first sent data feature corresponding to content i that matches the access data feature corresponding to content i;

[0155] The first sent data feature is determined as the first sample data feature.

[0156] In a possible implementation, before the processing unit 702 searches the database according to the access data feature corresponding to the content i, it is further configured to perform the following operations:

[0157] Detect the click-through rate of content i;

[0158] When the click-through rate of content i is greater than or equal to the click-through rate threshold, a step of querying in a database according to the access data feature corresponding to content i is executed.

[0159] In a possible implementation, the negative feedback log records information that a negative feedback operation is performed on content i by object k after it is pushed, and object k is any one of the N objects;

[0160] The processing unit 702 queries the second sample data feature from the database according to the negative feedback log, and performs the following operations:

[0161] Extract negative feedback data features corresponding to content i from the negative feedback log, where the negative feedback data features include the image features of content i and the image features of object k;

[0162] Searching in a database according to the negative feedback data feature corresponding to content i, obtaining a second sent data feature corresponding to content i that matches the negative feedback data feature corresponding to content i;

[0163] The second sent data feature is determined as the second sample data feature.

[0164] In a possible implementation, the processing unit 702 uses the first sample data feature and the second sample data feature to train a feature correction model to perform the following operations:

[0165] Using the first sample data feature to train a feature correction model to obtain a trained feature correction model;

[0166] The trained feature correction model is fine-tuned using the second sample data feature to obtain a trained feature correction model.

[0167] In a possible implementation, the processing unit 702 is further configured to perform the following operations:

[0168] Performing feature preprocessing on the first sample data feature in a configured processing manner to obtain the preprocessed first sample data feature, and performing feature preprocessing on the second sample data feature in a configured processing manner to obtain the preprocessed second sample data feature;

[0169] Among them, the configuration processing method may include any one or more of the following: a processing method of converting enumeration type features into letter identifiers, a processing method of constructing a feature dictionary, a processing method of discretizing continuous features, and a processing method of normalizing features.

[0170] In a possible implementation, the processing unit 702 is further configured to perform the following operations:

[0171] Obtain the negative feedback data features corresponding to the negative feedback log;

[0172] The trained feature correction model is called to correct the negative feedback data features corresponding to the negative feedback log to obtain consistent features.

[0173] In a possible implementation, the processing unit 702 is further configured to perform the following operations:

[0174] Call the negative feedback prediction model and use the consistency feature to train the negative feedback prediction model;

[0175] When the trained negative feedback prediction model meets the model convergence condition, the trained negative feedback prediction model is determined as the trained negative feedback prediction model.

[0176] In a possible implementation, the processing unit 702 is further configured to perform the following operations:

[0177] Call the trained negative feedback prediction model to predict the data to be pushed in the content recommendation system to obtain the target data;

[0178] Delete the target data from the data to be pushed;

[0179] Push the deleted data to be pushed to the target object.

[0180] In an embodiment of the present application, first, the log data of the content recommendation system can be obtained, and the log data may include a sending log, an access log, and a negative feedback log; the sending log is used to record information about pushing a content set to an object set; the access log is used to record information about access operations performed on the content set after it is pushed; the negative feedback log is used to record information about negative feedback operations performed on the content set after it is pushed; and the sending data features corresponding to the sending log are stored in a database. Then, the first sample data feature can be queried from the database based on the access log, and the second sample data feature can be queried from the database based on the negative feedback log. Next, the first sample data feature and the second sample data feature can be used to train a feature correction model, wherein the trained feature correction model can be used to correct the negative feedback data feature corresponding to the negative feedback log. It can be seen that in the embodiment of the present application, the first sample data feature and the second sample data feature are both obtained by querying the database. In this way, the first sample data feature and the second sample data feature can be fixed as the sent data feature in the sent state; then the feature correction model is trained based on the first sample data feature and the second sample data feature in the sent state, and the trained feature correction model is used to correct the negative feedback data feature corresponding to the negative feedback log, and finally the sent data feature in the sent state can be obtained. Therefore, the state of the negative feedback data feature when the negative feedback operation is performed on the content set after being pushed can be corrected to the sent state, avoiding the problems of feature crossing and feature failure, making the negative feedback data feature more accurate, thereby improving the accuracy of the negative feedback data feature.

[0181] See also Figure 8 , Figure 8 800 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. The computer device 800 is used to execute the steps performed by the computer device in the aforementioned method embodiment, and the computer device 800 includes: one or more processors 810; one or more input devices 820, one or more output devices 830 and a memory 840. The above-mentioned processors 810, input devices 820, output devices 1330 and memory 840 are connected via a bus 850. The memory 840 is used to store a computer program, and the computer program includes program instructions. The processor 810 is used to call the program instructions stored in the memory 840 to perform the following operations:

[0182] Obtain log data of the content recommendation system, which includes delivery log, access log and negative feedback log; delivery log is used to record information about pushing content sets to object sets; access log is used to record information about access operations performed on content sets after they are pushed; negative feedback log is used to record information about negative feedback operations performed on content sets after they are pushed; delivery data features corresponding to delivery log are stored in the database;

[0183] querying a first sample data feature from a database according to the access log, and querying a second sample data feature from a database according to the negative feedback log;

[0184] The first sample data feature and the second sample data feature are used to train a feature correction model, wherein the trained feature correction model is used to correct the negative feedback data feature corresponding to the negative feedback log.

[0185] In a possible implementation, the content set includes content i, which is any pushed content in the content set; the object set includes N objects that have received content i; i and N are both positive integers;

[0186] The delivery log includes a delivery log item corresponding to content i, and the delivery log item corresponding to content i records the image features of content i and the image features of N objects; the processor 810 is further configured to perform the following operations:

[0187] Perform feature extraction processing on the delivery log item corresponding to content i to obtain N delivery data features corresponding to content i; each delivery data feature is composed of the image feature of content i and the image feature of one of the N objects;

[0188] The N sent data features corresponding to content i are stored in the database.

[0189] In a possible implementation, the access log records information about the access operation performed by object j on content i after it is pushed, where object j is any one of N objects;

[0190] The processor 810 queries the database for the first sample data feature according to the access log, and performs the following operations:

[0191] Extract access data features corresponding to content i from the access log, where the access data features include the image features of content i and the image features of object j;

[0192] Searching in a database according to the access data feature corresponding to content i, obtaining a first sent data feature corresponding to content i that matches the access data feature corresponding to content i;

[0193] The first sent data feature is determined as the first sample data feature.

[0194] In a possible implementation, before searching the database according to the access data feature corresponding to the content i, the processor 810 is further configured to perform the following operations:

[0195] Detect the click-through rate of content i;

[0196] When the click-through rate of content i is greater than or equal to the click-through rate threshold, a step of querying in a database according to the access data feature corresponding to content i is executed.

[0197] In a possible implementation, the negative feedback log records information that a negative feedback operation is performed on content i by object k after it is pushed, and object k is any one of the N objects;

[0198] The processor 810 queries the second sample data feature from the database according to the negative feedback log, and is used to perform the following operations:

[0199] Extract negative feedback data features corresponding to content i from the negative feedback log, where the negative feedback data features include the image features of content i and the image features of object k;

[0200] Searching in a database according to the negative feedback data feature corresponding to content i, obtaining a second sent data feature corresponding to content i that matches the negative feedback data feature corresponding to content i;

[0201] The second sent data feature is determined as the second sample data feature.

[0202] In a possible implementation, the processor 810 uses the first sample data feature and the second sample data feature to train a feature correction model to perform the following operations:

[0203] Using the first sample data feature to train a feature correction model to obtain a trained feature correction model;

[0204] The trained feature correction model is fine-tuned using the second sample data feature to obtain a trained feature correction model.

[0205] In a possible implementation, the processor 810 is further configured to perform the following operations:

[0206] Performing feature preprocessing on the first sample data feature in a configured processing manner to obtain the preprocessed first sample data feature, and performing feature preprocessing on the second sample data feature in a configured processing manner to obtain the preprocessed second sample data feature;

[0207] Among them, the configuration processing method may include any one or more of the following: a processing method of converting enumeration type features into letter identifiers, a processing method of constructing a feature dictionary, a processing method of discretizing continuous features, and a processing method of normalizing features.

[0208] In a possible implementation, the processor 810 is further configured to perform the following operations:

[0209] Obtain the negative feedback data features corresponding to the negative feedback log;

[0210] The trained feature correction model is called to correct the negative feedback data features corresponding to the negative feedback log to obtain consistent features.

[0211] In a possible implementation, the processor 810 is further configured to perform the following operations:

[0212] Call the negative feedback prediction model and use the consistency feature to train the negative feedback prediction model;

[0213] When the trained negative feedback prediction model meets the model convergence condition, the trained negative feedback prediction model is determined as the trained negative feedback prediction model.

[0214] In a possible implementation, the processor 810 is further configured to perform the following operations:

[0215] Call the trained negative feedback prediction model to predict the data to be pushed in the content recommendation system to obtain the target data;

[0216] Delete the target data from the data to be pushed;

[0217] Push the deleted data to be pushed to the target object.

[0218] In an embodiment of the present application, first, the log data of the content recommendation system can be obtained, and the log data may include a sending log, an access log, and a negative feedback log; the sending log is used to record information about pushing a content set to an object set; the access log is used to record information about access operations performed on the content set after it is pushed; the negative feedback log is used to record information about negative feedback operations performed on the content set after it is pushed; and the sending data features corresponding to the sending log are stored in a database. Then, the first sample data feature can be queried from the database based on the access log, and the second sample data feature can be queried from the database based on the negative feedback log. Next, the first sample data feature and the second sample data feature can be used to train a feature correction model, wherein the trained feature correction model can be used to correct the negative feedback data feature corresponding to the negative feedback log. It can be seen that in the embodiment of the present application, the first sample data feature and the second sample data feature are both obtained by querying the database. In this way, the first sample data feature and the second sample data feature can be fixed as the sent data feature in the sent state; then the feature correction model is trained based on the first sample data feature and the second sample data feature in the sent state, and the trained feature correction model is used to correct the negative feedback data feature corresponding to the negative feedback log, and finally the sent data feature in the sent state can be obtained. Therefore, the state of the negative feedback data feature when the negative feedback operation is performed on the content set after being pushed can be corrected to the sent state, avoiding the problems of feature crossing and feature failure, making the negative feedback data feature more accurate, thereby improving the accuracy of the negative feedback data feature.

[0219] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer storage medium, and a computer program is stored in the computer storage medium, and the computer program includes program instructions. When the processor executes the above program instructions, the method in the corresponding embodiment of the foregoing text can be executed, so it will not be repeated here. For technical details not disclosed in the computer storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application. As an example, the program instructions can be deployed on a computer device, or executed on multiple computer devices located in one place, or, executed on multiple computer devices distributed in multiple locations and interconnected by a communication network.

[0220] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes a computer instruction, and the computer instruction is stored in a computer-readable storage medium. The processor of the 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 method in the above corresponding embodiment, so it will not be repeated here.

[0221] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the above-mentioned program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The above-mentioned storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0222] 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: Obtaining log data of a content recommendation system, wherein the log data includes a delivery log, an access log, and a negative feedback log; The sending log is used to record information about pushing the content set to the object set; The access log is used to record the information of the access operation performed on the content set after it is pushed; the negative feedback log is used to record the information of the negative feedback operation performed on the content set after it is pushed; the sent data features corresponding to the sent log are stored in the database; querying a first sample data feature from the database according to the access log, and querying a second sample data feature from the database according to the negative feedback log; The first sample data feature and the second sample data feature are used to train a feature correction model, wherein the trained feature correction model is used to correct the negative feedback data feature corresponding to the negative feedback log.

2. The method according to claim 1, characterized in that The content set includes content i, and content i is any pushed content in the content set; The object set includes N objects that have received the content i; i and N are both positive integers; The delivery log includes a delivery log item corresponding to content i, and the delivery log item corresponding to content i records the image features of the content i and the image features of the N objects; The method further comprises: Perform feature extraction processing on the delivery log item corresponding to the content i to obtain N delivery data features corresponding to the content i; each delivery data feature is composed of a portrait feature of the content i and a portrait feature of one of the N objects; The N sent data features corresponding to the content i are stored in the database.

3. The method according to claim 2, characterized in that The access log records information about the access operation performed by the object j on the content i after it is pushed, and the object j is any one of the N objects; The querying the first sample data feature from the database according to the access log includes: Extracting access data features corresponding to content i from the access log, wherein the access data features include image features of content i and image features of object j; Searching the database according to the access data feature corresponding to the content i, and obtaining a first sent data feature corresponding to the content i that matches the access data feature corresponding to the content i; The first sent data feature is determined as a first sample data feature.

4. The method according to claim 3, characterized in that Before searching the database according to the access data feature corresponding to the content i, the method further includes: Detecting the click-through rate of the content i; When the click-through rate of the content i is greater than or equal to the click-through rate threshold, the step of querying the database according to the access data feature corresponding to the content i is performed.

5. The method according to claim 2, characterized in that The negative feedback log records information that the content i is subjected to a negative feedback operation by an object k after being pushed, and the object k is any one of the N objects; The querying the second sample data feature from the database according to the negative feedback log includes: Extracting negative feedback data features corresponding to content i from the negative feedback log, wherein the negative feedback data features include image features of content i and image features of object k; Searching the database according to the negative feedback data feature corresponding to the content i, to obtain a second sent data feature corresponding to the content i that matches the negative feedback data feature corresponding to the content i; The second sent data feature is determined as a second sample data feature.

6. The method according to claim 1, characterized in that The adopting the first sample data feature and the second sample data feature to train the feature correction model includes: Using the first sample data feature to train a feature correction model to obtain a trained feature correction model; The trained feature correction model is fine-tuned using the second sample data feature to obtain a trained feature correction model.

7. The method according to claim 6, characterized in that The method further comprises: Performing feature preprocessing on the first sample data feature in a configured processing manner to obtain preprocessed first sample data feature, and performing feature preprocessing on the second sample data feature in a configured processing manner to obtain preprocessed second sample data feature; The configured processing method may include any one or more of the following: a processing method for converting features of an enumeration type into letter identifiers, a processing method for constructing a feature dictionary, a processing method for discretizing continuous features, and a processing method for normalizing features.

8. The method according to claim 1, characterized in that The method further comprises: Obtaining negative feedback data features corresponding to the negative feedback log; The trained feature correction model is called to correct the negative feedback data features corresponding to the negative feedback log to obtain consistent features.

9. The method according to claim 8, characterized in that The method further comprises: Calling a negative feedback prediction model, and using the consistency feature to train the negative feedback prediction model; When the trained negative feedback prediction model meets the model convergence condition, the trained negative feedback prediction model is determined as the trained negative feedback prediction model.

10. The method according to claim 9, characterized in that The method further comprises: Calling the trained negative feedback prediction model to perform prediction processing on the data to be pushed in the content recommendation system to obtain target data; Deleting the target data from the data to be pushed; Push the deleted data to be pushed to the target object.

11. A data processing device, characterized in that: include: An acquisition unit, used to acquire log data of a content recommendation system, wherein the log data includes a delivery log, an access log, and a negative feedback log; The sending log is used to record information about pushing the content set to the object set; The access log is used to record the information of the access operation performed on the content set after it is pushed; the negative feedback log is used to record the information of the negative feedback operation performed on the content set after it is pushed; the sent data features corresponding to the sent log are stored in the database; a processing unit, configured to query a first sample data feature from the database according to the access log, and query a second sample data feature from the database according to the negative feedback log; The processing unit is further used to train a feature correction model using the first sample data feature and the second sample data feature, wherein the trained feature correction model is used to correct the negative feedback data feature corresponding to the negative feedback log.

12. A computer device, characterized in that: include: Memory and processor; a memory storing one or more computer programs; A processor, used to load the one or more computer programs to implement the data processing method according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the data processing method according to any one of claims 1 to 10.

14. A computer program product, characterized in that The computer program product comprises a computer program, and the computer program is suitable for being loaded by a processor and executing the data processing method according to any one of claims 1 to 10.