Main body characterization method, device, equipment and medium

Through the neural network method, combined with the attention mechanism and multi-interest feature extraction, multiple subject representations are generated, which solves the problem of subject representation in the existing technology being difficult to express fine-grained information, and improves the accuracy and application effect of recall and recommendation.

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

Patent Information

Application Number
CN202310402241.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-11
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing subject representation methods are difficult to effectively express the fine-grained information and information distribution of the subject, resulting in limited recall and recommendation accuracy, and the inability to fully utilize the interaction data between subjects and objects.

Method used

Using the neural network method, by obtaining the subject's attribute characteristics and historical interaction operation feature sequences, combined with the attention mechanism for feature embedding and fusion, multiple subject representations are generated, and multi-interest feature extraction and perceptual attention modules are used for constraint training to generate targets. neural network.

Benefits of technology

It improves the accuracy and comprehensiveness of information expression of subject representation, realizes fine-grained modeling of subject information, enhances the application effect of subsequent tasks, and improves the matching between subject characteristics and information categories.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118797544A_ABST
    Figure CN118797544A_ABST
Patent Text Reader

Abstract

The invention provides a subject characterization method and device, equipment and a medium, relates to the technical field of artificial intelligence, can be applied to scenes such as cloud technology, artificial intelligence, intelligent traffic and auxiliary driving, and comprises the following steps: obtaining subject attribute features of a target subject, and a historical operation feature sequence generated by the target subject for historical interaction operation of multiple operation objects; the historical interaction operation comprises positive feedback operation and negative feedback operation; inputting the subject attribute feature and the historical operation feature sequence into a subject feature module of a target neural network for feature embedding, performing feature fusion based on an attention mechanism on the obtained attribute embedded feature and the operation embedded feature sequence to obtain a subject fusion feature, performing multi-interest feature extraction on the operation embedded feature sequence, and performing feature extraction on the subject fusion feature; and generating a plurality of subject representations of the target subject according to the attribute embedding feature, the plurality of subject interest features and the subject fusion feature. The method can effectively improve the representation accuracy of the sample main body.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a subject characterization method, device, equipment and medium. Background Art

[0002] Subject representation is the data basis for application scenarios such as object recall or object recommendation for the subject, which directly affects the task effects such as recall and recommendation accuracy. Existing subject representation methods usually generate a subject representation for each subject based on the subject's interactive operation information on the object. However, in actual scenarios, the subject's information distribution is diverse and complex, and different information categories or interest categories may be unrelated. Therefore, it is difficult to achieve subject information modeling using a single vector with limited length, and it is impossible to express the subject's fine-grained information and subject information distribution, which in turn limits the application effect of subsequent tasks. Summary of the invention

[0003] The present application provides a subject characterization method, apparatus, device and medium, which can significantly improve the accuracy and comprehensiveness of information expression of subject characterization.

[0004] In one aspect, the present application provides a subject characterization method, the method comprising:

[0005] Acquire subject attribute features of a target subject and a historical operation feature sequence generated by the target subject performing historical interactive operations on multiple operation objects, wherein the historical interactive operations include positive feedback operations and negative feedback operations;

[0006] Inputting the subject attribute feature and the historical operation feature sequence into the subject feature module of the target neural network for feature embedding, performing feature fusion based on the attention mechanism on the obtained attribute embedding feature and operation embedding feature sequence to obtain subject fusion feature, performing multi-interest feature extraction on the operation embedding feature sequence to obtain multiple subject interest features, and generating multiple subject representations of the target subject according to the attribute embedding feature, the multiple subject interest features and the subject fusion feature;

[0007] The target neural network is a model obtained by combining the sample subject attribute characteristics, sample operation feature sequence, sample object feature sequence and sample label of the sample subject, generating multiple sample subject representations for the subject feature module of the preset neural network, extracting sample object representations for the object feature module of the preset neural network, determining target sample representations for the perception attention module of the preset neural network, and performing constraint training for feedback category prediction on the category prediction module of the preset neural network.

[0008] On the other hand, the present application provides a neural network training method, the method comprising:

[0009] Acquire training data, the training data including sample subject attribute features of a sample subject, a sample operation feature sequence generated by the sample subject performing interactive operations on multiple operation objects, a sample object feature sequence corresponding to the sample operation feature sequence, and a sample label, the interactive operation including a positive feedback operation and a negative feedback operation, and the sample label is used to characterize the interactive feedback category of the sample subject on the operation object;

[0010] Inputting the sample subject attribute feature and the sample operation feature sequence into the subject feature module of the preset neural network for feature embedding, performing feature fusion based on the attention mechanism on the obtained sample attribute embedding feature and the sample operation embedding feature sequence to obtain the sample subject fusion feature, performing multi-interest feature extraction on the sample operation embedding feature sequence to obtain multiple sample subject interest features, and generating multiple sample subject representations according to the sample attribute embedding feature, the multiple sample subject interest features and the sample subject fusion feature;

[0011] Inputting the sample object feature sequence into the object feature module of the preset neural network for feature extraction to obtain a sample object representation of each operation object in the sample object feature sequence;

[0012] Inputting the plurality of sample subject representations and the sample object representations into a perceptual attention module of the preset neural network to determine a target sample representation from the plurality of sample subject representations based on the sample object representation;

[0013] Inputting the target sample representation and the sample object representation into the category prediction module of the preset neural network for feedback category prediction to obtain a category prediction result;

[0014] The preset neural network is trained based on the category prediction result and the sample label to obtain the target neural network.

[0015] Another aspect provides a subject characterization device, the device comprising:

[0016] Subject data acquisition module: used to acquire subject attribute characteristics of a target subject, and a historical operation feature sequence generated by the target subject performing historical interactive operations on multiple operation objects, wherein the historical interactive operations include positive feedback operations and negative feedback operations;

[0017] Representation module: used for inputting the subject attribute features and the historical operation feature sequence into the subject feature module of the target neural network for feature embedding, performing feature fusion based on the attention mechanism on the obtained attribute embedding features and operation embedding feature sequence to obtain subject fusion features, performing multi-interest feature extraction on the operation embedding feature sequence to obtain multiple subject interest features, and generating multiple subject representations of the target subject according to the attribute embedding features, the multiple subject interest features and the subject fusion features;

[0018] The target neural network is a model obtained by combining the sample subject attribute characteristics, sample operation feature sequence, sample object feature sequence and sample label of the sample subject, generating multiple sample subject representations for the subject feature module of the preset neural network, extracting sample object representations for the object feature module of the preset neural network, determining target sample representations for the perception attention module of the preset neural network, and performing constraint training for feedback category prediction on the category prediction module of the preset neural network.

[0019] Another aspect provides a neural network training device, the device comprising:

[0020] Data acquisition module: used to acquire training data, the training data including sample subject attribute features of the sample subject, sample operation feature sequences generated by the sample subject performing interactive operations on multiple operation objects, sample object feature sequences corresponding to the sample operation feature sequences, and sample labels, the interactive operations including positive feedback operations and negative feedback operations, and the sample labels used to characterize the interactive feedback categories of the sample subject on the operation objects;

[0021] A sample subject characterization module: used to input the sample subject attribute feature and the sample operation feature sequence into the subject feature module of the preset neural network for feature embedding, perform feature fusion based on the attention mechanism on the obtained sample attribute embedding feature and the sample operation embedding feature sequence to obtain the sample subject fusion feature, perform multi-interest feature extraction on the sample operation embedding feature sequence to obtain multiple sample subject interest features, and generate multiple sample subject characterizations according to the sample attribute embedding feature, the multiple sample subject interest features and the sample subject fusion feature;

[0022] Sample object characterization module: used for inputting the sample object feature sequence into the object feature module of the preset neural network for feature extraction, and obtaining the sample object characterization of each operation object in the sample object feature sequence;

[0023] A target representation determination module: used for inputting the plurality of sample subject representations and the sample object representations into the perception attention module of the preset neural network, so as to determine a target sample representation from the plurality of sample subject representations based on the sample object representation;

[0024] Category prediction module: used for inputting the target sample representation and the sample object representation into the category prediction module of the preset neural network for feedback category prediction to obtain a category prediction result;

[0025] Network training module: used to train the preset neural network based on the category prediction results and the sample labels to obtain a target neural network.

[0026] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the neural network training subject characterization method as described above.

[0027] On the other hand, a computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the neural network training subject characterization method as described above or to implement the subject characterization method as described above.

[0028] On the other hand, a server is provided, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the neural network training subject characterization method as described above or to implement the subject characterization method as described above.

[0029] On the other hand, a terminal is provided, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the neural network training subject characterization method as described above or to implement the subject characterization method as described above.

[0030] On the other hand, a computer program product or a computer program is provided, which includes computer instructions, which, when executed by a processor, implement the neural network training subject characterization method as described above or implement the subject characterization method as described above.

[0031] The subject characterization method, apparatus, device, storage medium, server, terminal, computer program, and computer program product provided in this application have the following technical effects:

[0032] The present application first obtains the subject attribute characteristics of the target subject and the historical operation feature sequence generated by the historical interaction operations performed by the target subject on multiple operation objects, wherein the historical interaction operations include positive feedback operations and negative feedback operations; the subject information is represented by combining the explicit feedback data and implicit feedback data reflecting the subject's interests, thereby reducing the sparsity of the data, making full use of the interaction data between the subject and the object, obtaining the global subject information containing hidden and explicit information, improving the information integrity of the input data, and facilitating the comprehensiveness of the information expression of the subject representation; and then inputting the subject attribute characteristics and the historical operation feature sequence into the subject feature module of the target neural network for feature embedding, and performing feature embedding on the obtained attribute embedding features and operation embedding features. The feature sequence is fused based on the attention mechanism to obtain the subject fusion feature, which can adaptively learn and express the interactive operation and subject attribute information, realize the importance of different operations on the subject's global information, and improve the matching degree between the sample subject representation and the subject attribute; then, multi-interest feature extraction is performed on the operation embedded feature sequence to obtain multiple subject interest features, and multiple subject representations of the target subject are generated according to the attribute embedding features, multiple subject interest features and subject fusion features; multiple subject representations on the unified vector space are used to express the diverse information distribution of the subject, realize the fine-grained modeling of the subject's global information, improve the representation accuracy, and thus improve the application effect of subsequent tasks. In addition, combined with the sample subject attribute characteristics, sample operation feature sequence, sample object feature sequence and sample label of the sample subject, the subject feature module of the preset neural network generates multiple sample subject representations, the object feature module of the preset neural network extracts the sample object representation, the perception attention module of the preset neural network determines the target sample representation, and the category prediction module of the preset neural network performs constraint training for feedback category prediction to obtain the target neural network, which is conducive to modeling and learning sample subject representations on multiple distributions, improving the matching degree of a single subject feature and its corresponding information category, and improving the application effect of subsequent tasks. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0034] Figure 1 is a schematic diagram of an application environment provided by an embodiment of the present application;

[0035] Figure 2 It is a flow chart of a subject characterization method provided in an embodiment of the present application;

[0036] Figure 3 It is a flowchart of a neural network training method provided in an embodiment of the present application;

[0037] Figure 4 It is a flowchart of another neural network training method provided in an embodiment of the present application;

[0038] Figure 5 It is a flowchart of another neural network training method provided in an embodiment of the present application;

[0039] Figure 6 It is a schematic diagram of a structural framework of a preset neural network provided in an embodiment of the present application;

[0040] Figure 7 is a schematic diagram of the structural framework of another preset neural network provided in an embodiment of the present application;

[0041] Figure 8 It is a schematic diagram of the structural framework of a local activation network provided in an embodiment of the present application;

[0042] Fig. 9 It is a schematic diagram of the structural framework of a multi-feature extraction network provided in an embodiment of the present application;

[0043] Fig.10 It is a schematic diagram of a framework of a subject characterization device provided in an embodiment of the present application;

[0044] Fig.11 It is a schematic diagram of a framework of a neural network training device provided in an embodiment of the present application;

[0045] Fig.12 It is a hardware structure block diagram of an electronic device for executing a subject characterization method or a neural network training method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0047] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server comprising a series of steps or submodules is not necessarily limited to those steps or submodules clearly listed, but may include other steps or submodules that are not clearly listed or inherent to these processes, methods, products or devices.

[0048] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0049] Feeds: A source of news, also translated as source material, feed, information provider, feed, summary, source, news subscription, web source (English: web feed, news feed, syndicated feed) is a data format through which the website transmits the latest information to the subject, usually arranged in a timeline. Timeline is the most primitive, intuitive and basic display form of Feed. The prerequisite for the subject to subscribe to a website is that the website provides a source of news. The convergence of feeds in one place is called aggregation, and the software used for aggregation is called an aggregator. For the final subject, an aggregator is software specifically used to subscribe to a website, and is generally also called an RSS reader, feed reader, news reader, etc.

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

[0051] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. The basic technologies of artificial intelligence generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics and other technologies. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0052] In recent years, with the research and progress of artificial intelligence technology, artificial intelligence technology has been widely used in many fields. The solution provided in the embodiment of the present application involves artificial intelligence machine learning / deep learning, computer vision technology, natural language processing and other technologies, which are specifically explained through the following embodiments.

[0053] See also Figure 1 , Figure 1 is a schematic diagram of an application environment provided by an embodiment of the present application, such as Figure 1 As shown, the application environment may include at least a terminal 01 and a server 02. In practical applications, the terminal 01 and the server 02 may be directly or indirectly connected via wired or wireless communication, which is not limited in this application.

[0054] The server 02 in the embodiment of the present application 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.

[0055] Specifically, cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data computing, storage, processing, and sharing. Cloud technology can be applied to various fields, such as medical cloud, cloud Internet of Things, cloud security, cloud education, cloud conferencing, artificial intelligence cloud services, cloud applications, cloud calls, and cloud social networking. Cloud technology is based on the cloud computing business model application. It distributes computing tasks on a resource pool composed of a large number of computers, so that various application systems can obtain computing power, storage space, and information services as needed. The network that provides resources is called a "cloud". The resources in the "cloud" are infinitely expandable in the eyes of users, and can be obtained at any time, used on demand, expanded at any time, and paid for by use. As a basic capability provider for cloud computing, a cloud computing resource pool (referred to as a cloud platform, generally referred to as an IaaS (Infrastructure as a Service)) platform will be established, and various types of virtual resources will be deployed in the resource pool for external customers to choose to use. The cloud computing resource pool mainly includes: computing devices (virtualized machines, including operating systems), storage devices, and network devices.

[0056] According to the logical function division, the PaaS (Platform as a Service) layer can be deployed on the IaaS layer, and the SaaS (Software as a Service) layer can be deployed on the PaaS layer, or SaaS can be directly deployed on IaaS. PaaS is a platform for software operation, such as databases, web containers, etc. SaaS is a variety of business software, such as web portals, SMS mass senders, etc. Generally speaking, SaaS and PaaS are upper layers relative to IaaS.

[0057] Specifically, the server 02 mentioned above may include a physical device, which may specifically include a network communication submodule, a processor, a memory, etc., and may also include software running in the physical device, which may specifically include an application program, etc.

[0058] Specifically, terminal 01 may include physical devices such as smart phones, desktop computers, tablet computers, laptops, digital assistants, augmented reality (AR) / virtual reality (VR) devices, intelligent voice interaction devices, smart home appliances, smart wearable devices, and vehicle-mounted terminal devices, and may also include software running in physical devices, such as applications.

[0059] In the embodiment of the present application, the server 02 can be used to provide sample subject characterization services, call the trained target neural network to extract the subject attribute characteristics and historical operation feature sequences of the target subject, and obtain multiple subject representations of the target subject for subsequent task applications, such as object recall or object recommendation for the target subject; or directly receive multiple subject representations sent by the terminal 01 for object recall or object recommendation. The server 02 can also be used to provide neural network training services to obtain the target neural network. Specifically, the server 02 can also be used to store training data, network parameters of the neural network, and feature databases. The terminal 01 can be used to collect or receive the subject's interactive operations to generate a historical operation feature sequence, and can also be used to call the target neural network to extract the subject attribute characteristics and historical operation feature sequences of the target subject, so as to send the generated multiple subject representations to the server for task application, or the interactive operation information and subject attribute information can be sent to the server 02 so that the server 02 performs corresponding feature extraction and task application operations.

[0060] Specifically, the subject representation obtained by the subject representation method of the present application can be applied to various application scenarios such as recall, recommendation, and search.

[0061] Furthermore, it is understandable that Figure 1 What is shown is merely an application environment of a subject characterization method or a neural network training method, and the application environment may include more or fewer nodes, and this application does not impose any limitation thereto.

[0062] The application environment involved in the embodiment of the present application, or the terminal 01 and the server 02 in the application environment, etc., can be a distributed system formed by connecting a client and multiple nodes (any form of computing devices in the access network, such as servers and user terminals) through network communication. The distributed system can be a blockchain system, which can provide the above-mentioned subject representation service, neural network training service and data storage service, etc.

[0063] The following is an introduction to the technical solution of this application based on the above application environment. The embodiments of this application can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, etc. Please refer to Figure 2 , Figure 2It is a flowchart of a subject characterization method provided in an embodiment of the present application. This specification provides method operation steps such as the embodiment or flowchart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many orders, and does not represent the only order of execution. When the actual system or server product is executed, it can be executed in the order of the method shown in the embodiment or the accompanying drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, as Figure 2 As shown, the method may include the following steps S101-S103:

[0064] S101: Acquire subject attribute features of a target subject and a historical operation feature sequence generated by the target subject performing historical interactive operations on multiple operation objects, where the historical interactive operations include positive feedback operations and negative feedback operations.

[0065] Specifically, the operation object is an object that can be displayed and perform interactive operations. For example, in the product recommendation scenario, the operation object can be product display information, and in the content recall scenario, the operation object can be a single item in the feeds. The target subject can be a behavioral subject that can receive the operation object and perform interactive operations on it, such as an account. The subject attribute feature is used to characterize the basic attributes of the target subject, and can include multiple discrete attribute features, such as the registration time of the account, the total active time, the statistical active time in different time windows, the registration location, the login location, etc.; the target subject can receive the operation object through the terminal and generate interactive operations and corresponding interactive operation data to send to the server; the interactive operation is the behavioral feedback of the subject to the object. In the information display scenario, the interactive operation can include but is not limited to click, exposure without click, click to dislike, fast swipe, comment, follow, repeated browsing, like, share, forward, collect, etc., among which, comment, follow, repeated browsing, like, share, forward, collect can be positive feedback operations, and click to dislike, fast swipe and exposure without click can be negative feedback operations.

[0066] Specifically, the historical operation feature sequence is a sequence formed by the operation information generated by the target subject performing historical interactive operations on a series of operation objects within a certain time window, and the element sequence of the historical operation feature sequence is arranged in time sequence. Exemplarily, the operation objects exposed to the target subject within 1 minute include operation objects A, B, C, D, and E, and the corresponding historical interactive operations are click, exposure without click, forwarding, fast sliding, and click dislike, respectively. Then the historical operation feature sequence is click / exposure without click / forwarding / fast sliding / click dislike. Specifically, time windows of different lengths can be set. Based on different statistical time lengths, the time windows can be divided into long-term interest windows and short-term interest windows, etc., and the feature sequence data of the target subject is collected based on time windows of different lengths to form dynamic feature information that can characterize the subject's long-term interests and short-term interests, and comprehensively use information from multiple data sources for subject expression modeling. It can be understood that as the length of the time window increases, the stability of the information represented by the corresponding historical interactive operations gradually decreases, but the subject operation information will also be richer.

[0067] Specifically, historical interactive operation data includes two categories: explicit feedback data and implicit feedback data. Explicit feedback data includes explicit positive feedback (such as the subject's collection / favorite, attention, repeated playback, like, forwarding, push, etc. of a certain operation object) and explicit negative feedback (such as the subject's explicit click on dislike, etc.); implicit feedback also includes implicit positive feedback (such as exposure click) and implicit negative feedback (such as exposure without click, segmented fast swipe, 5 seconds, 3 seconds, 1 second fast swipe, etc.). By combining implicit feedback operations that hide the subject's interests, the accuracy of the subject's representation can be improved.

[0068] S103: Input the subject attribute features and historical operation feature sequences into the subject feature module of the target neural network for feature embedding, perform feature fusion based on the attention mechanism on the obtained attribute embedding features and operation embedding feature sequences to obtain subject fusion features, perform multi-interest feature extraction on the operation embedding feature sequences to obtain multiple subject interest features, and generate multiple subject representations of the target subject based on the attribute embedding features, multiple subject interest features and subject fusion features.

[0069] Specifically, the methods of acquiring attribute embedding features, operation embedding feature sequences, subject fusion features, multiple subject interest features, and multiple subject representations are respectively similar to the methods of acquiring sample attribute embedding features, sample operation embedding feature sequences, sample subject fusion features, multiple sample subject interest features, and multiple sample subject representations in the subsequent neural network training method, and will not be described in detail again.

[0070] Specifically, the subject feature module can be used as a recall layer algorithm for the recommendation system, such as the recall service for information flow content. After obtaining multiple subject representations, it can be used for object recall of the target subject. The subject representation is used as the recall feature to perform feature retrieval in the object database to achieve object recall.

[0071] Among them, the target neural network is a model obtained by combining the sample subject attribute characteristics, sample operation feature sequence, sample object feature sequence and sample label of the sample subject, generating multiple sample subject representations for the subject feature module of the preset neural network, extracting sample object representations for the object feature module of the preset neural network, determining the target sample representation for the perception attention module of the preset neural network, and performing constraint training for feedback category prediction on the category prediction module of the preset neural network.

[0072] Based on the above solution, the present application embodiment also provides a neural network training method, please refer to Figure 3 , the method may include the following steps S201-S211:

[0073] S201: Obtain training data.

[0074] Among them, the training data includes the sample subject attribute features of the sample subject, the sample operation feature sequence generated by the sample subject's interactive operations on multiple operation objects, the sample object feature sequence corresponding to the sample operation feature sequence, and the sample label. The interactive operation includes positive feedback operation and negative feedback operation. The sample label is used to characterize the interactive feedback category of the sample subject to the operation object.

[0075] Specifically, the sample subject may be a behavioral subject that can receive an operation object and perform interactive operations on it, such as an account, etc. The sample subject attribute characteristics are similar to the aforementioned subject attribute characteristics and will not be elaborated on. The sample label corresponding to the aforementioned positive feedback operation represents the positive feedback category, and the sample label corresponding to the aforementioned negative feedback operation represents the negative feedback category. In some cases, the sample label may also be a multi-classification label, such as a positive label including multiple categories of positive feedback levels, and a negative label including multiple categories of negative feedback levels, which can be determined based on actual business applications.

[0076] Specifically, the sample operation feature sequence is a sequence formed by the operation information generated by the sample subject performing interactive operations on a series of operation objects within a certain time window, and the sample object feature sequence is a sequence formed by the object features of a series of operation objects in the corresponding sample operation feature sequence based on the time sequence, and the element positions of the sample operation feature sequence and the sample object feature sequence are arranged in time sequence. Exemplarily, the operation objects exposed to the sample subject within 1 minute include operation objects A, B, C, D, E, and the corresponding interactive operations are click, exposure without click, forwarding, fast sliding and click to dislike, respectively, and the sample labels are positive feedback, negative feedback, positive feedback, negative feedback and negative feedback, respectively. Then the sample operation feature sequence is click / exposure without click / forwarding / fast sliding / click to dislike, and the sequence elements are the operation information corresponding to the interactive operation, and may also include the object information of the corresponding operation object, etc. The sample object feature sequence is A / B / C / D / E, and the sequence elements are the object information of the operation object, such as the label information such as the content category of the operation object. Specifically, time windows of different lengths can be set. Based on different statistical durations, time windows can be divided into long-term interest windows and short-term interest windows, etc., and feature sequence data of sample subjects can be collected based on time windows of different lengths to form dynamic feature information that can characterize the subject's long-term and short-term interests. By comprehensively utilizing information from multiple data sources, global data perspectives and interest distribution representation modeling in training data and task applications can be achieved. Understandably, as the length of the time window increases, the stability of the information represented by the corresponding interactive operation gradually decreases, but the subject's operation information will also be richer.

[0077] Specifically, the subject's interactive operation data includes two categories: explicit feedback data and implicit feedback data. Explicit feedback data includes explicit positive feedback (such as the subject's collection / favorite, attention, repeated playback, like, forwarding, push, etc. of a certain operation object) and explicit negative feedback (such as the subject's explicit click on dislike, etc.); implicit feedback also includes implicit positive feedback (such as exposure click) and implicit negative feedback (such as exposure not click, segmented fast sliding, 5 seconds, 3 seconds, 1 second fast sliding, etc.). By combining the implicit feedback operation that hides the subject's interests, the explicit feedback data reflecting the subject's interests are combined with the implicit feedback data to perform sample subject representation modeling, avoiding the data sparsity problem introduced by the single use of explicit feedback data, improving the accuracy of sample subject representation, and then optimizing the effect of tasks such as recommendation; and based on the sample operation feature sequence and sample object feature sequence generated by continuous interactive operations as training samples, based on the rich global operation sequence, the subject's multi-interest intentions are explicitly detected, which can realize the subject's multi-dimensional interest point modeling, learn the global correlation of the subject's interests, and better characterize the subject's local and global interest features.

[0078] S203: Input the sample subject attribute features and the sample operation feature sequence into the subject feature module of the preset neural network for feature embedding, perform feature fusion based on the attention mechanism on the obtained sample attribute embedded features and sample operation embedded feature sequence to obtain sample subject fusion features, perform multi-interest feature extraction on the sample operation embedded feature sequence to obtain multiple sample subject interest features, and generate multiple sample subject representations based on the sample attribute embedded features, the multiple sample subject interest features and the sample subject fusion features.

[0079] In the implementation of this application, during the training process, a single output is a sample group formed by a sample operation feature sequence, a sample subject attribute feature, and a sample object feature sequence. Figure 6 , taking the sample subject attribute features and sample operation feature sequences on the subject side as the input of the subject feature module, subject representation modeling is performed. The sample subject attribute features include discrete and sparse attribute data, which may include one-hot features, such as ID features (such as account ID, registration years, etc.), and the sequence elements in the sample operation feature sequence may be multi-hot features, such as ID features (such as interactive operation categories, object information of the target operation object corresponding to the interactive operation, such as object ID, category, and TagID, etc.). Feature embedding may be specifically an embedding operation to convert the sample subject attribute features into sample attribute embedding features in the form of embedded vectors, and convert the sample operation feature sequence into a sample operation embedding feature sequence in the form of embedded vectors.

[0080] In some embodiments, in addition to the operation information, the sample operation feature sequence also introduces the position information of the sequence elements. Figure 3 The sample operation feature sequence is obtained by the following steps S301-S307:

[0081] S301: Acquire multiple operation information and operation time of the interactive operation generated by the sample subject performing interactive operations on multiple operation objects based on time sequence recommendation, and exposure time of each operation object corresponding to the sample object feature sequence for the sample subject;

[0082] S303: Determine the time interval between the operation time of each interactive operation and the exposure time of each operation object based on the operation time and exposure time;

[0083] S305: generating operation position information corresponding to each of the plurality of operation information based on the time interval;

[0084] S307: Using the operation time sequence as the sequence order, generating a sample operation feature sequence according to the plurality of operation information and the operation position information of each of the plurality of operation information.

[0085] Specifically, the operation information may include but is not limited to the interactive operation category, the object ID, category and TagID of the target interactive object corresponding to the operation information. The operation time (action_time) is the trigger time for the corresponding sample subject to perform the interactive operation. The exposure time (current_time) refers to the time when the operation object is exposed to the sample subject, such as the time when the operation object is recommended and displayed to the page corresponding to the sample subject. For the same sample group, for each operation object corresponding to the sample object feature sequence, the time interval between the operation time of multiple operation objects and the exposure time of the operation object in S301 is obtained, such as for the aforementioned object E, the time interval between the interactive operation click, exposure not click, forwarding, fast sliding and click dislike and the object E is determined respectively, and the time interval timegap = current_time-action_time. In some cases, the time interval can be directly used as the operation position information of the sequence element, and in other cases, the time interval can be positionally encoded to map the time intervals of multiple operation objects to a preset interval, such as log encoding, which is equivalent to taking the logarithm of Log to achieve integer interval mapping, reduce the order of magnitude of data, and reduce the occupied encoding storage space. In the application stage of the target neural network, such as the sample subject characterization stage, the request trigger time of the target subject can be used as current_time, so as to subtract the operation time of each interactive operation corresponding to the historical operation feature sequence from the request trigger time to obtain the time interval and operation position information corresponding to each sequence element. Further, the element data of the sequence element is generated according to the operation information and operation position information of the interactive operation, and the operation timing of multiple interactive operations is used as the bit sequence to sort them and obtain the operation feature sequence.

[0086] Understandably, in some scenarios, the order in which many interactive operations occur has a strict sequence relationship and time difference, and the time length corresponding to each interactive operation is also different. The importance of sequence elements at different positions in the sample operation feature sequence is inconsistent. In some cases, the closer the interactive operation is to the request trigger time, the more important it is. The above scheme introduces the operation time of the interactive operation in the sequence, introduces the time information into the network to characterize the detailed operation information of the subject, and realizes the adaptive description of the element weight based on the sequence position, thereby increasing the information proportion of important operations and optimizing the subject feature characterization effect.

[0087] For some examples, please refer to Figure 6 The main feature module includes a feature embedding layer, and the sample operation embedding feature sequence is obtained by the following steps S401-S403:

[0088] S401: performing feature embedding processing on multiple operation information and operation position information in the sample operation feature sequence based on the feature embedding layer to obtain information embedding features and position embedding features;

[0089] S403: Perform feature fusion on the information embedding features and position embedding features corresponding to the multiple operation information to obtain a sample operation embedding feature sequence.

[0090] Specifically, feature embedding is performed on the operation information and the operation position information respectively, and the obtained vectors (information embedding features and position embedding features) are fused to obtain sample operation embedding features, and then obtain sample operation embedding feature sequences. In one embodiment, the feature fusion here can be specifically feature concatenation, refer to Figure 7 , the sequence elements corresponding to each interactive operation in the sample operation feature sequence are converted into embedded feature vectors based on time sequence arrangement after the feature embedding layer. The positive feedback operation generates a positive feedback embedding feature vector (Pos Item emb) and the negative feedback operation generates a negative feedback embedding feature vector (Neg Item emb). In this way, the original expression of the sample operation feature sequence is performed by combining the operation information and the operation position information, so that different elements in the same sequence of the same sample subject and different sequences have different time position expressions, which improves the matching degree between the original features and the subject and the accuracy of interest expression.

[0091] In the embodiment of the present application, after obtaining the sample attribute embedding feature and the sample operation embedding feature sequence, the feature fusion of the two is realized based on the attention mechanism to determine the attention relationship between the sample attribute embedding feature and each sample operation embedding feature, so as to characterize the importance of different interactive operations on the subject's global information. Figure 4 and Figure 7 The main feature module includes a local activation network. The above-mentioned sample attribute embedding feature and sample operation embedding feature sequence are subjected to feature fusion based on the attention mechanism to obtain the sample main fusion feature, including the following steps S501-S503:

[0092] S501: performing attention processing on the sample attribute embedding features and the sample operation embedding features corresponding to the sample operation embedding feature sequence based on the local activation network to obtain the operation weight information corresponding to each sample operation embedding feature;

[0093] S503: Fusing the sample attribute embedding feature and the sample operation embedding feature corresponding to the sample operation embedding feature sequence based on the operation weight information to obtain the sample subject fusion feature.

[0094] Specifically, the operation weight information is used to indicate the importance of the sample operation embedding feature to the sample subject's representation information expression. The larger the operation weight, the higher the representation importance, and vice versa. Through the local activation network based on the self-attention mechanism, the attention score of each sample operation embedding feature corresponding to the sample attribute embedding feature of the subject in the sample operation embedding feature sequence is calculated, and different weights are calculated based on the attention relationship between the subject and different interactive operations, and then weighted fusion is realized to learn different operation weights during the training process, capture the diversity and emphasis of the subject on different operation contents, and fully explore the importance of different operations and behaviors on the subject's interest points. The information, better characterizes the expression proportion of different operations in global interests, so that the clustered multi-sample subject representation is more matched with the subject.

[0095] In addition, for the subject feature network part, the sample operation feature sequence is the most important subject-side feature, which contains a large amount of hidden information. Due to the differences between subjects, the length of the sequence varies greatly. Based on the attention processing of the above-mentioned local activation network, the fine-grained information expression of the sequence element information is realized, avoiding the information loss and single expression problems caused by the conventional pooling operation compressed into a fixed-dimensional vector. In particular, the information extraction of variable-length sequences is used to improve the richness and diversity of feature information, and personalized representation is achieved for different subjects.

[0096] In one embodiment, the feature processing principle of the local activation network is as follows Figure 8 As shown, feature cross processing is performed on the sample attribute embedding feature and the sample operation embedding feature sequence to obtain a cross result, and the cross result, sample attribute embedding feature and sample operation embedding feature are feature fused to obtain a cross fusion feature, and then activation processing is performed on it based on the activation layer and weight matrix processing is performed on the output of the activation layer based on the linear layer, and an operation weight tensor is output, including the operation weight information corresponding to each sample operation embedding feature. Specifically, the feature cross processing here can be an outer product processing, and the cross result is equivalent to the element wise difference vector between the sample attribute embedding feature and the sample operation embedding feature sequence. The feature fusion can be a feature concat operation, so that a learning weight can be assigned to each different behavior of the user, and a more comprehensive interest expression and corresponding characterization can be learned from different historical operation sequences according to the basic information of the subject itself, so as to perform global interest modeling.

[0097] In the embodiment of the present application, the sample operation embedding feature sequence is individually characterized to achieve multi-interest modeling. Figure 8 The subject feature module also includes a multi-feature extraction network, which extracts multiple interest features from the sample operation embedded feature sequence to obtain multiple sample subject interest features, including the following steps S601-S603:

[0098] S601: Inputting the sample operation embedding feature sequence into a multi-feature extraction network, constructing a graph of the sample operation embedding feature sequence based on the object categories of multiple operation objects corresponding to the sample operation feature sequence, and obtaining an interest graph;

[0099] S603: Extract multiple interest features based on structural information extraction from the interest graph based on a multi-feature extraction network to obtain multiple sample subject interest features.

[0100] Specifically, the object category can be a category label stored in the database for the operation object, which can be used to characterize the interest category to which the operation object belongs, or the object category can be an interest category adapted to the current sample subject obtained by modeling the interest matching of the operation object information with the sample subject, and the representation form can be, for example, an interest label. Each operation object corresponding to the sample operation embedding feature sequence can form a graph structure based on the operation information and the operation position information, and the association between the sequence elements is expressed through the graph structure. The interest graph includes a plurality of first nodes for referring to the operation object, a plurality of second nodes for referring to the object category, and edges between the nodes. The plurality of first nodes are connected based on the operation timing of the interactive operation of the sample subject, and the edge connecting the first node and the second node is used to characterize the association between the operation object referred to by the first node and the object category referred to by the second node. Specifically, the interest graph can be a directed graph, and the direction of the edge is determined by the timing, and the direction of the edge connecting the two first nodes indicates the operation sequence of the interactive operation performed by the sample subject on the operation object corresponding to the two first nodes.

[0101] For example, a sample operation embedding feature sequence corresponds to the operation object time sequence of object 1 / object 5 / object 3 / object 1. After clicking object 1, the sample subject browses objects 5 and 3 in sequence, and then returns to watch object 1. The object categories of objects 1, 3, and 5 are all "film and television". Then, an edge is formed between the nodes of object 1 and object 3, an edge is formed between the nodes of object 3 and object 5, and an edge is formed between the nodes of object 5 and object 1. Objects 1, 3, and 5 all have edges pointing to the object category node "film and television". These nodes and edges constitute the initial interest graph (refer to Fig. 9 ). The node information of each node in the interest graph includes the sample operation embedding features corresponding to the operation object referred to by the node, and the edge information may include timing information and the aforementioned time interval or operation location information. In the construction of the interest graph, it can essentially be regarded as the sample operation embedding feature clustering based on the object category, and through the graph structure, it can realize the information propagation of adjacent nodes with each node as the center, adaptively perform the operation feature clustering of the main operation sequence and the structural information extraction between different operation features, enrich the representation dimension of the sample subject, and support complex and diverse sequence feature processing.

[0102] In some embodiments, in order to improve the expression accuracy of the interest graph, the sample operation embedding features corresponding to the positive feedback operation are extracted from the input sample operation embedding feature sequence ( Figure 7 The POS Item emb in the example is used to realize the graph construction of the interest graph. Accordingly, the first node is used to refer to the operation object on which the sample subject performs the positive feedback operation, that is, the operation object whose sample label is the positive feedback category or the positive feedback level.

[0103] Specifically, in a single iteration of the sample subject representation modeling process, an interest graph is constructed to extract the internal relationship information of each element in the sample operation feature sequence, and each sequence element in the sample operation embedding feature sequence corresponding to each sample group is used as the central node, and the remaining elements are sampled once as neighbor nodes to implement graph construction training, and sample neighbor nodes based on the number of co-occurrences as weights. Specifically, neighbor node sampling can adopt sampling algorithms such as Skim-Gram, which are not limited here. In one embodiment, a multi-feature extraction network can be constructed based on GNN (Government Neural Network), and the network framework is as follows: Fig. 9 As shown, the sample operation embedding feature sequence is input into the category activation layer, and the category clustering-based graph construction is realized based on the object category in the object analogy pool to obtain the interest graph, which is then used as the input of the encoder to perform multi-interest feature modeling to obtain multiple sample subject interest features. The GNN graph convolutional network is used.

[0104] In the embodiment of the present application, after obtaining the sample attribute embedding feature, the sample subject interest feature and the sample subject fusion feature, a multi-interest sample subject representation is constructed. Figure 7 The subject feature module includes a fully connected neural network and a feature fusion network. The aforementioned generation of multiple sample subject representations based on sample attribute embedding features, multiple sample subject interest features and sample subject fusion features includes the following steps S701-S703:

[0105] S701: extracting the sample attribute embedding features based on the fully connected network to obtain attribute extraction features;

[0106] S703: Based on the feature fusion network, feature fusion processing is performed on the attribute extraction features, the multiple sample subject interest features and the sample subject fusion features to obtain multiple sample subject representations.

[0107] Specifically, through feature fusion, the interest features of the sample subject are fused with the information carried by the attribute extraction features and the sample subject fusion features to realize the construction of multi-interest sample subject representation, make full use of the multi-dimensional information related to the subject, realize multi-interest intention learning, and realize global interest modeling based on global interest information.

[0108] In one embodiment, the fully connected network can be an MLP (Multilayer Perceptron), and the feature fusion network can be constructed based on the Transformer network and the MLP network, and the input is fused in combination with the attention mechanism, which is applicable to input features of different lengths, and realizes information cross-learning between multiple sample subject representations and attribute extraction features, and sample subject fusion features. It can be understood that the fully connected network and the feature fusion network can also be constructed based on other types of neural networks, not limited to the above examples.

[0109] S205: Inputting the sample object feature sequence into the object feature module of the preset neural network for feature extraction to obtain a sample object representation of each operation object in the sample object feature sequence.

[0110] In an embodiment of the present application, sample object representation is extracted through a separate object feature module, and a sample object feature sequence is used as a whole input to cross-learn the object information of continuously consumed operation objects within a certain time window to optimize the information expression of the sample object representation of a single operation object.

[0111] In some embodiments, the sample object feature sequence includes the operation object features and object position information of each of the multiple operation objects. The operation object features may include object attribute features, object category features, and object content features. Object attribute features include but are not limited to title information, author information, release time, etc. Object category features include but are not limited to various tag information to which the operation object belongs, such as primary, secondary, and tertiary categories, etc. Object content features include but are not limited to content Asr / ocr and other extraction information, content cover, etc.; object position information may be the positional information of the operation object in the sample object feature sequence, such as the positional sequence number. Accordingly, S205 may include S2051-S2053:

[0112] S2051: extracting the operation object features and object position information corresponding to each operation object in the sample object feature sequence to obtain content extraction features and object position features of each operation object;

[0113] S2052: Fusing content extraction features and object position features to obtain object fusion features of each operation object;

[0114] S2053: Extracting a representation of each operation object based on the object fusion features of the multiple operation objects corresponding to the sample object feature sequence to obtain a sample object representation of each operation object.

[0115] Specifically, the timing information is introduced through the object position information, and the representation modeling of a single operation object is performed through the object fusion features of each operation object in the sequence, so as to learn the deep representation of a single object, improve the matching degree between the sample object representation and the subject, and improve the accuracy of information expression.

[0116] In one embodiment, a lightweight Bert network (Bidirectional Encoder Representation from Transformers) can be used to extract text feature information such as title and author, and a SwinTransform network can be used to extract visual information for information such as video frames and cover images to obtain content extraction features. Feature conversion can be achieved through embedding operations for object position features. In this way, the relationship between each operation object corresponding to the historical sample object feature sequence of the subject captured by Transformer and other operation objects in the sequence is learned to calculate the deep representation of the operation object.

[0117] In some embodiments, the content extraction features include multiple modal features, such as the aforementioned, which may include multimodal information such as text, image, and video; accordingly, S2052 may specifically include: fusing multiple modal features with object position features to obtain object fusion features; S2053 may specifically include: performing feature cross-extraction on the object fusion features of multiple operation objects corresponding to the sample object feature sequence to obtain a multimodal representation of each operation object; performing cross-modal fusion on the multimodal representation to obtain a sample object representation. In this way, cross-modal object feature extraction and fusion representation are achieved, and the information multidimensionality and comprehensiveness of the sample object representation are improved.

[0118] Combination Figure 7 In a multimodal scenario, the object feature module sets a cross-modal fusion network to perform cross-modal fusion. Exemplarily, the cross-modal fusion network can be constructed based on a Cross-Model Transformer.

[0119] S207: Input the multiple sample subject representations and the sample object representations into a perception attention module of a preset neural network to determine a target sample representation from the multiple sample subject representations based on the sample object representation.

[0120] In the embodiment of the present application, a perceptual attention module is used to perform attention processing on the sample object representation in multiple sample subject representations based on the attention mechanism, so as to calculate different weights based on the relationship between the sample object representation and the multiple sample subject representations, so as to implement sample subject representation screening. Accordingly, S207 may include steps S2071-S2072:

[0121] S2071: performing attention processing on each sample subject representation and sample object representation in the plurality of sample subject representations based on the perception attention module to obtain subject weight information corresponding to each sample subject representation;

[0122] S2073: Determine a target sample representation corresponding to the sample object representation by combining the subject weight information and multiple sample subject representations.

[0123] Specifically, the subject weight information is used to indicate the compatibility between the sample subject representation and the sample object representation. The higher the subject weight, the higher the compatibility, and the higher the correlation between the sample object representation and the sample subject representation, and vice versa. In some cases, the sample subject representation with the highest subject weight or the TOPN sample subject representations is determined as the target sample representation. In other cases, multiple sample subject representations are weighted fused based on the subject weight information, and the resulting fusion vector is determined as the target sample representation. In this way, weight calculation and sample subject representation matching are achieved based on the attention score, which improves the accuracy of category prediction, thereby improving the learning effect and optimizing the network effect.

[0124] Specifically, the sample object representation is used as the query vector query(Q), and multiple sample subject representations are used as the key vector Key(K) and the value vector Value(V). The attention score is calculated and the weight mapping is performed according to the cross information (such as the inner product) between the sample object representation and the sample subject representation to obtain the subject weight information. Among them, Q represents the information that needs to be paid attention to, K represents the vector used to measure the similarity between the query vector and the input vector, and V represents the actual value of the input vector. In the attention mechanism, the attention weight is obtained by calculating the similarity between the query vector and the key vector. Then, by multiplying the attention weight with the value vector, a weighted value vector is obtained as the input of the next layer, and then weight mapping is performed to obtain the topic weight information. This process can be expressed by the following formula: Subject weight (Q, K, V) = softmax(QK^T / sqrt(d k ))V, where d k is the dimension of the key vector K, and softmax represents normalizing the similarity so that the sum of the attention weights is 1. Based on this method, the network can adaptively select different input information according to the query vector, thereby improving the model performance.

[0125] In some embodiments, the perceptual attention module may include a first matrix conversion layer, a second matrix conversion layer, a cross layer and a Softmax layer constructed based on a matrix multiplication function. Multiple sample subject representations are input as K and sample object representations are input as Q into the first matrix conversion layer for linear combination processing of the sample object representation and the multiple sample subject representations. The obtained result is input into the cross layer for processing and then into the Softmax layer for inner product calculation and weight processing to obtain subject weight information. The subject weight information and multiple sample subject representations are input into the second matrix conversion layer as V to output the target sample representation.

[0126] S209: Inputting the target sample representation and the sample object representation into the category prediction module of the preset neural network to perform feedback category prediction to obtain a category prediction result.

[0127] Specifically, based on the category prediction module, similarity processing is performed on the target sample representation and the sample object representation to obtain a similarity result, and feedback category prediction is performed based on the similarity result to obtain the category prediction result. Specifically, the similarity processing here can be to calculate the vector distance between the target sample representation and the sample object representation, and use the obtained vector distance as the similarity result. Specifically, the obtained similarity result can be subjected to normalized mapping processing, such as processing based on a softmax function, to obtain a category prediction result. Exemplarily, the category prediction result is used to characterize the confidence that the sample subject belongs to the sample label, such as the confidence that it belongs to a positive feedback category, or the confidence that it belongs to a positive feedback level.

[0128] S211: Train a preset neural network based on the category prediction results and sample labels to obtain a target neural network.

[0129] Specifically, the target neural network can be used for recommendation tasks, or the subject feature module thereof can be used for subject representation, and the object feature module can be used for object representation, and then applied to the subject representation and vector retrieval matching of the subject to recall the topK related objects.

[0130] In summary, the present application combines explicit feedback data and implicit feedback data reflecting the subject's interests to represent the subject information, reduces the sparsity of the data, makes full use of the interaction data between the subject and the object, obtains global subject information containing hidden and explicit information, improves the information integrity of the input data, and is conducive to the comprehensiveness of the information expression of the sample subject representation; and can adaptively learn and express the interactive operations and subject attribute information, realize the importance of different operations on the subject's global information, and improve the matching degree between the sample subject representation and the subject attributes; in addition, multiple sample subject representations are generated to express the diverse information distribution of the subject through multiple sample subject representations on a unified vector space, realize fine-grained modeling of the subject's global information, improve the representation accuracy, and thus improve the application effect of subsequent tasks; at the same time, the adaptive selection of sample subject representations in combination with object features is conducive to modeling and learning of sample subject representations on multiple distributions, improves the matching degree between a single subject feature and its corresponding information category, and improves the application effect of subsequent tasks.

[0131] In some embodiments, S211 may include: determining a network loss based on a category prediction result and a sample label; and training a preset neural network according to the network loss until a training end condition is satisfied to obtain a target neural network.

[0132] Specifically, the similarity between the generated target sample representation and the sample object representation is determined through the category prediction module, and then the category prediction result is obtained, and the loss is calculated in combination with the sample label corresponding to the sample object representation to perform network training. The training end condition can be specifically that the model loss difference between two adjacent iterations is less than the preset loss, or the number of training iterations reaches a preset number. In this way, the neural network parameters are adjusted through network loss to optimize feature embedding, feature extraction, graph construction, multi-feature extraction and feature fusion to achieve improved network effect. Network loss is used to measure the degree of match between the target sample representation and the sample object representation. In the binary classification scenario, the loss function can use Binary crossentropy (BCE). Let the label be y and the network prediction result be The BCE loss function formula is: Where i is the sample index, N is the total number of samples in a single iteration, and σ(x) is the probability that the network predicts that the sample belongs to the label y, that is, the category prediction result. If it is a multi-classification scenario, the multi-category cross entropy loss function (categorical_crossentropy) is used.

[0133] Combination Figure 7, multiple fully connected neural networks are set in the neural network, such as MLP network. In addition to the input and output layers, it can have multiple hidden layers in the middle. The simplest MLP contains only one hidden layer, that is, a three-layer structure. The multi-layer perceptron is fully connected between layers. The bottom layer is the input layer, the middle layer is the hidden layer, and the last layer is the output layer (Concat feature--ReLU--FC). For the MLP network in the feature fusion network, for the input layer, it is adapted to the input. For example, if the input is an n-dimensional vector, there are n neurons. The input layer can receive the video clip results and text information (title and Tag) extracted by the small video a priori to output the sub-network vector; for the hidden layer, its neurons are fully connected with the input layer. Assuming that the input layer is represented by vector X, the output of the hidden layer is f(W1X+b1), W1 is the weight (also called the connection coefficient), b1 is the bias, and the function f can be a commonly used sigmoid function or tanh function. The sigmoid function can be selected as the activation function in this application; for the output layer, the hidden layer to the output layer can be regarded as a category of logistic regression, that is, softmax regression, and the output of the output layer is softmax(W2X1+b2), X1 represents the output f(W1X+b1) of the hidden layer, and the MLP layer output of each sub-network selects the vector of the second hidden layer. Through a three-layer MLP network, a low-dimensional dense vector of K dimensions (such as 1024 dimensions) is finally output. Finally, a softmax (sigmoid) layer is used to obtain the category prediction result to achieve the corresponding loss calculation.

[0134] In summary, this application can better characterize the local and global interest characteristics of the subject based on the neural network model for global interest modeling, from the relationship between the subject operations and the relationship between the interactive operations and the subject attributes and features, to achieve accurate recommendations, enhance the application experience and subject stickiness, and improve the overall recommendation efficiency and recommendation effect; in addition, through the global interest neural network, it can provide more recall possibilities for objects, improve and enhance the utilization efficiency of the object pool content, so that different object contents have more opportunities to be recommended and distributed and recalled, expand the recommended interest points, and improve the subject retention time.

[0135] The present application embodiment also provides a subject characterization device 700, such as Fig.10 As shown, Fig.10 A schematic structural diagram of a subject characterization device provided in an embodiment of the present application is shown, and the device may include the following modules.

[0136] Subject data acquisition module 11: used to obtain sample subject attribute features of the target subject and a historical operation feature sequence generated by the target subject performing historical interactive operations on multiple operation objects, where the historical interactive operations include positive feedback operations and negative feedback operations;

[0137] Representation module 12: used for inputting the sample subject attribute features and historical operation feature sequences into the subject feature module of the target neural network for feature embedding, performing feature fusion based on the attention mechanism on the obtained attribute embedding features and operation embedding feature sequences to obtain subject fusion features, performing multi-interest feature extraction on the operation embedding feature sequences to obtain multiple subject interest features, and generating multiple subject representations of the target subject based on the attribute embedding features, the multiple subject interest features and the subject fusion features;

[0138] The target neural network is a model obtained by combining the sample subject attribute characteristics, sample operation feature sequence, sample object feature sequence and sample label of the sample subject, generating multiple sample subject representations for the subject feature module of the preset neural network, extracting sample object representations for the object feature module of the preset neural network, determining target sample representations for the perception attention module of the preset neural network, and performing constraint training for feedback category prediction on the category prediction module of the preset neural network.

[0139] The present application embodiment also provides a subject characterization device 800, such as Fig.11 As shown, Fig.11 A schematic diagram of the structure of an abnormality detection device provided in an embodiment of the present application is shown, and the device may include the following modules.

[0140] Data acquisition module 21: used to acquire training data, the training data includes sample subject attribute features of the sample subject, a sample operation feature sequence generated by the sample subject performing interactive operations on multiple operation objects, a sample object feature sequence corresponding to the sample operation feature sequence, and a sample label, the interactive operation includes a positive feedback operation and a negative feedback operation, and the sample label is used to characterize the interactive feedback category of the sample subject to the operation object;

[0141] The sample subject characterization module 22 is used to input the sample subject attribute feature and the sample operation feature sequence into the subject feature module of the preset neural network for feature embedding, perform feature fusion based on the attention mechanism on the obtained sample attribute embedding feature and the sample operation embedding feature sequence to obtain the sample subject fusion feature, perform multi-interest feature extraction on the sample operation embedding feature sequence to obtain multiple sample subject interest features, and generate multiple sample subject representations according to the sample attribute embedding feature, the multiple sample subject interest features and the sample subject fusion feature;

[0142] Sample object characterization module 23: used for inputting the sample object feature sequence into the object feature module of the preset neural network for feature extraction, and obtaining the sample object characterization of each operation object in the sample object feature sequence;

[0143] A target representation determination module 24 is used to input a plurality of sample subject representations and a sample object representation into a perception attention module of a preset neural network, so as to determine a target sample representation from the plurality of sample subject representations based on the sample object representation;

[0144] Category prediction module 25: used for inputting the target sample representation and the sample object representation into the category prediction module of the preset neural network for feedback category prediction to obtain a category prediction result;

[0145] Network training module 26: used to train a preset neural network based on the category prediction results and sample labels to obtain a target neural network.

[0146] In some embodiments, the sample body characterization module 22 may include:

[0147] Operation information acquisition submodule: used to acquire multiple operation information and operation time generated by the sample subject's interactive operation on multiple operation objects recommended based on time sequence, as well as the exposure time of each operation object corresponding to the sample object feature sequence for the sample subject;

[0148] A time interval determination submodule: used to determine the time interval between the operation time of each interactive operation and the exposure time of each operation object based on the operation time and the exposure time;

[0149] An operation position generating submodule: used for generating operation position information corresponding to each of a plurality of operation information based on a time interval;

[0150] Sequence generation submodule: used to generate a sample operation feature sequence based on the operation timing as the sequence position order and the operation position information of each of the multiple operation information.

[0151] In some embodiments, the subject feature module includes a feature embedding layer, and the sample subject characterization module 22 may include:

[0152] Feature embedding submodule: used to perform feature embedding processing on multiple operation information and operation position information in the sample operation feature sequence based on the feature embedding layer to obtain information embedding features and position embedding features;

[0153] Embedding fusion submodule: used to fuse the information embedding features and position embedding features corresponding to multiple operation information to obtain a sample operation embedding feature sequence.

[0154] In some embodiments, the subject feature module includes a local activation network, and the sample subject characterization module 22 may include:

[0155] Operation weight determination submodule: used to perform attention processing on the sample attribute embedding features and the sample operation embedding features corresponding to the sequence of sample operation embedding features based on the local activation network, and obtain the operation weight information corresponding to each sample operation embedding feature. The operation weight information is used to indicate the importance of the sample operation embedding feature to the expression of the sample subject representation information;

[0156] Subject fusion submodule: used to fuse the sample attribute embedding features and the sample operation embedding features corresponding to the sample operation embedding feature sequence based on the operation weight information to obtain the sample subject fusion features.

[0157] In some embodiments, the subject feature module includes a multi-feature extraction network, and the sample subject characterization module 22 may include:

[0158] Graph construction submodule: used to input the sample operation embedding feature sequence into the multi-feature extraction network, and to construct a graph of the sample operation embedding feature sequence based on the object categories of multiple operation objects corresponding to the sample operation feature sequence to obtain an interest graph, wherein the interest graph includes multiple first nodes for referring to the operation objects, multiple second nodes for referring to the object categories, and edges between the nodes, wherein the multiple first nodes are connected based on the operation timing of the interactive operation of the sample subject, and the edge connecting the first node and the second node is used to represent the association between the operation object referred to by the first node and the object category referred to by the second node;

[0159] Multi-feature extraction submodule: used to extract multi-interest features based on structural information extraction from the interest graph based on the multi-feature extraction network, and obtain interest features of multiple sample subjects.

[0160] In some embodiments, the subject feature module includes a fully connected neural network and a feature fusion network, and the sample subject characterization module 22 may include:

[0161] Attribute extraction submodule: used to extract the sample attribute embedding features based on the fully connected network to obtain attribute extraction features;

[0162] Sample subject representation submodule: used to perform feature fusion processing on attribute extraction features, multiple sample subject interest features and sample subject fusion features based on the feature fusion network to obtain multiple sample subject representations.

[0163] In some embodiments, the sample object feature sequence includes operation object features and object position information of each of a plurality of operation objects, and the sample object characterization module 13 may include:

[0164] Object feature extraction submodule: used to extract the operation object features and object position information corresponding to each operation object in the sample object feature sequence, and obtain the content extraction features and object position features of each operation object;

[0165] Object fusion submodule: used to fuse content extraction features and object position features to obtain object fusion features of each operation object;

[0166] Sample object representation submodule: used to extract the representation of each operation object based on the object fusion features of multiple operation objects corresponding to the sample object feature sequence, and obtain the sample object representation of each operation object.

[0167] In some embodiments, the content extraction features include multiple modal features; the object fusion submodule may be specifically used to: fuse the multiple modal features with the object position features to obtain the object fusion features;

[0168] The sample object representation submodule can be specifically used to: perform feature cross-extraction on the object fusion features of multiple operation objects corresponding to the sample object feature sequence to obtain a multimodal representation of each operation object; and perform cross-modal fusion on the multimodal representation to obtain a sample object representation.

[0169] In some embodiments, the target representation determination module 24 may include:

[0170] Subject weight submodule: used to perform attention processing on each sample subject representation and sample object representation in multiple sample subject representations based on the perception attention module, and obtain subject weight information corresponding to each sample subject representation, and the subject weight information is used to indicate the compatibility between the sample subject representation and the sample object representation;

[0171] Target representation submodule: used to combine subject weight information and multiple sample subject representations to determine the target sample representation corresponding to the sample object representation.

[0172] In some embodiments, the category prediction module 25 can be specifically used to: perform similarity processing on the target sample representation and the sample object representation based on the category prediction module to obtain a similarity result, and perform feedback category prediction based on the similarity result to obtain the category prediction result.

[0173] It should be noted that the above device embodiment and method embodiment are based on the same implementation method.

[0174] An embodiment of the present application provides a device, which may be a terminal or a server, including a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement a subject characterization method or a neural network training method as provided in the above method embodiment.

[0175] The memory can be used to store software programs and modules. The processor executes various functional applications and abnormality detection by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required for functions, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory can also include a memory controller to provide the processor with access to the memory.

[0176] The method embodiments provided in the embodiments of the present application can be executed in electronic devices such as mobile terminals, computer terminals, servers or similar computing devices. Fig.12 1 is a hardware structure block diagram of an electronic device for a subject characterization method or a neural network training method provided in an embodiment of the present application. Fig.12 As shown, the electronic device 900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 910 (the processor 910 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 930 for storing data, and one or more storage media 920 (such as one or more mass storage devices) for storing application programs 923 or data 922. Among them, the memory 930 and the storage medium 920 can be short-term storage or permanent storage. The program stored in the storage medium 920 may include one or more modules, each of which may include a series of instruction operations in the electronic device. Furthermore, the central processing unit 910 can be configured to communicate with the storage medium 920 and execute a series of instruction operations in the storage medium 920 on the electronic device 900. The electronic device 900 may also include one or more power supplies 960, one or more wired or wireless network interfaces 950, one or more input and output interfaces 940, and / or, one or more operating systems 921, such as Windows Server TM , Mac OS X TM , Unix TM , LinuxTM, FreeBSDTM, etc.

[0177] The input / output interface 940 may be used to receive or send data via a network. The specific example of the network may include a wireless network provided by a communication provider of the electronic device 900. In one example, the input / output interface 940 includes a network adapter (Network Interface Controller, NIC), which may be connected to other network devices via a base station so as to communicate with the Internet. In one example, the input / output interface 940 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0178] It can be understood by those skilled in the art that Fig.12 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig.12 More or fewer components as shown, or with Fig.12 Different configurations are shown.

[0179] An embodiment of the present application also provides a computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one program related to an anomaly detection method in a method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the anomaly detection method provided by the above method embodiment.

[0180] Optionally, in this embodiment, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0181] 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 comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above-mentioned various optional implementations.

[0182] The subject characterization method, apparatus, device, storage medium, server, terminal and program product provided by the above-mentioned application,

[0183] The present application first obtains the sample subject attribute features of the target subject and the historical operation feature sequence generated by the target subject's historical interactive operations on multiple operation objects, wherein the historical interactive operations include positive feedback operations and negative feedback operations; the subject information is represented by combining explicit feedback data and implicit feedback data reflecting the subject's interests, thereby reducing the sparsity of the data, making full use of the interactive data between the subject and the object, obtaining the global subject information containing hidden and explicit information, improving the information integrity of the input data, and facilitating the comprehensiveness of the information expression of the subject representation; and then inputting the sample subject attribute features and the historical operation feature sequence into the subject feature module of the target neural network for feature embedding, and performing feature embedding on the obtained attribute embedding features and operation embedding features. The feature sequence is embedded in the attention mechanism to perform feature fusion, and the subject fusion feature is obtained. It can adaptively learn and express the interactive operation and subject attribute information, realize the importance of different operations on the subject's global information, and improve the matching degree between the sample subject representation and the subject attribute; then, multi-interest feature extraction is performed on the operation embedded feature sequence to obtain multiple subject interest features, and multiple subject representations of the target subject are generated according to the attribute embedding features, multiple subject interest features and subject fusion features; multiple subject representations on the unified vector space are used to express the diverse information distribution of the subject, realize the fine-grained modeling of the subject's global information, improve the representation accuracy, and thus improve the application effect of subsequent tasks. In addition, combined with the sample subject attribute characteristics, sample operation feature sequence, sample object feature sequence and sample label of the sample subject, the subject feature module of the preset neural network generates multiple sample subject representations, the object feature module of the preset neural network extracts the sample object representation, the perception attention module of the preset neural network determines the target sample representation, and the category prediction module of the preset neural network performs constraint training for feedback category prediction to obtain the target neural network, which is conducive to modeling and learning sample subject representations on multiple distributions, improving the matching degree of a single subject feature and its corresponding information category, and improving the application effect of subsequent tasks.

[0184] Sample subject attribute characteristics

[0185] It should be noted that the above-mentioned sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of the present application are described. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0186] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment and storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0187] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by instructing the relevant hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0188] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A subject characterization method, characterized in that: The method comprises: Acquire subject attribute features of a target subject and a historical operation feature sequence generated by the target subject performing historical interactive operations on multiple operation objects, wherein the historical interactive operations include positive feedback operations and negative feedback operations; Inputting the subject attribute feature and the historical operation feature sequence into the subject feature module of the target neural network for feature embedding, performing feature fusion based on the attention mechanism on the obtained attribute embedding feature and operation embedding feature sequence to obtain subject fusion feature, performing multi-interest feature extraction on the operation embedding feature sequence to obtain multiple subject interest features, and generating multiple subject representations of the target subject according to the attribute embedding feature, the multiple subject interest features and the subject fusion feature; The target neural network is a model obtained by combining the sample subject attribute characteristics, sample operation feature sequence, sample object feature sequence and sample label of the sample subject, generating multiple sample subject representations for the subject feature module of the preset neural network, extracting sample object representations for the object feature module of the preset neural network, determining target sample representations for the perception attention module of the preset neural network, and performing constraint training for feedback category prediction on the category prediction module of the preset neural network.

2. The method according to claim 1, characterized in that The target neural network is obtained by the following method: Acquire training data, the training data including sample subject attribute features of a sample subject, a sample operation feature sequence generated by the sample subject performing interactive operations on multiple operation objects, a sample object feature sequence corresponding to the sample operation feature sequence, and a sample label, the interactive operation including a positive feedback operation and a negative feedback operation, and the sample label is used to characterize the interactive feedback category of the sample subject on the operation object; Inputting the sample subject attribute feature and the sample operation feature sequence into the subject feature module of the preset neural network for feature embedding, performing feature fusion based on the attention mechanism on the obtained sample attribute embedding feature and the sample operation embedding feature sequence to obtain the sample subject fusion feature, performing multi-interest feature extraction on the sample operation embedding feature sequence to obtain multiple sample subject interest features, and generating multiple sample subject representations according to the sample attribute embedding feature, the multiple sample subject interest features and the sample subject fusion feature; Inputting the sample object feature sequence into the object feature module of the preset neural network for feature extraction to obtain a sample object representation of each operation object in the sample object feature sequence; Inputting the plurality of sample subject representations and the sample object representations into a perceptual attention module of the preset neural network to determine a target sample representation from the plurality of sample subject representations based on the sample object representation; Inputting the target sample representation and the sample object representation into the category prediction module of the preset neural network for feedback category prediction to obtain a category prediction result; The preset neural network is trained based on the category prediction result and the sample label to obtain the target neural network.

3. The method according to claim 2, characterized in that The sample operation characteristic sequence is obtained in the following manner: Acquire a plurality of operation information generated by the sample subject performing interactive operations on a plurality of operation objects recommended based on a time sequence and the operation time of the interactive operations, as well as the exposure time of each operation object corresponding to the sample object feature sequence for the sample subject; Determine, based on the operation time and the exposure time, a time interval between the operation time of each interactive operation and the exposure time of each operation object; generating operation position information corresponding to each of the plurality of operation information based on the time interval; The sample operation feature sequence is generated based on the operation timing as the sequence order and the operation position information of each of the multiple operation information.

4. The method according to claim 3, characterized in that The main feature module includes a feature embedding layer, and the sample operation embedding feature sequence is obtained in the following manner: Based on the feature embedding layer, feature embedding processing is performed on multiple operation information and operation position information in the sample operation feature sequence to obtain information embedding features and position embedding features; Feature fusion is performed on the information embedding features and position embedding features corresponding to the multiple operation information to obtain the sample operation embedding feature sequence.

5. The method according to claim 2, characterized in that: The subject feature module includes a local activation network, and the feature fusion of the obtained sample attribute embedding feature and the sample operation embedding feature sequence based on the attention mechanism is performed to obtain the sample subject fusion feature, which includes: Based on the local activation network, attention processing is performed on the sample attribute embedding feature and the sample operation embedding feature corresponding to the sample operation embedding feature sequence to obtain operation weight information corresponding to each sample operation embedding feature, wherein the operation weight information is used to indicate the importance of the sample operation embedding feature to the expression of the sample subject representation information; The sample attribute embedding feature and the sample operation embedding feature corresponding to the sample operation embedding feature sequence are fused based on the operation weight information to obtain the sample subject fusion feature.

6. The method according to claim 2, characterized in that The subject feature module includes a multi-feature extraction network, and the sample operation embedding feature sequence is subjected to multi-interest feature extraction to obtain a plurality of sample subject interest features, including: Inputting the sample operation embedded feature sequence into the multi-feature extraction network, constructing a graph of the sample operation embedded feature sequence based on the object categories of multiple operation objects corresponding to the sample operation feature sequence, and obtaining an interest graph, wherein the interest graph includes multiple first nodes for referring to operation objects, multiple second nodes for referring to object categories, and edges between nodes, wherein the multiple first nodes are connected based on the operation timing of interactive operations performed by the sample subject, and the edge connecting the first node and the second node is used to represent the association between the operation object referred to by the first node and the object category referred to by the second node; Based on the multi-feature extraction network, multi-interest features are extracted from the interest graph based on structural information to obtain the multiple sample subject interest features.

7. The method according to claim 2, characterized in that: The subject feature module includes a fully connected neural network and a feature fusion network, and the generating of multiple sample subject representations according to the sample attribute embedding feature, the multiple sample subject interest features and the sample subject fusion feature includes: Extracting the sample attribute embedding features based on the fully connected network to obtain attribute extraction features; Based on the feature fusion network, feature fusion processing is performed on the attribute extraction feature, the multiple sample subject interest features and the sample subject fusion feature to obtain the multiple sample subject representations.

8. The method according to any one of claims 2 to 7, characterized in that: The sample object feature sequence includes operation object features and object position information of each of the multiple operation objects, and the step of inputting the sample object feature sequence into the object feature module of the preset neural network for feature extraction to obtain the sample object representation of each operation object in the sample object feature sequence includes: Extracting the operation object features and object position information corresponding to each operation object in the sample object feature sequence to obtain content extraction features and object position features of each operation object; Fusing the content extraction feature and the object position feature to obtain an object fusion feature of each operation object; A representation of each operation object is extracted based on the object fusion features of multiple operation objects corresponding to the sample object feature sequence to obtain a sample object representation of each operation object.

9. The method according to claim 8, characterized in that The content extraction features include multiple modality features; The fusing of the content extraction feature and the object position feature to obtain the object fusion feature of each operation object comprises: Performing feature fusion on the multiple modal features and the object position features to obtain the object fusion feature; The extracting the representation of each operation object based on the object fusion features of the multiple operation objects corresponding to the sample object feature sequence to obtain the sample object representation of each operation object includes: Performing feature cross-extraction on the object fusion features of the multiple operation objects corresponding to the sample object feature sequence to obtain a multimodal representation of each operation object; The multimodal representation is cross-modally fused to obtain the sample object representation.

10. The method according to any one of claims 2 to 7, characterized in that: The step of inputting the plurality of sample subject representations and the sample object representations into a perception attention module of the preset neural network to determine a target sample representation from the plurality of sample subject representations based on the sample object representation comprises: Performing attention processing on each sample subject representation and the sample object representation in the multiple sample subject representations based on the perception attention module to obtain subject weight information corresponding to each sample subject representation, wherein the subject weight information is used to indicate the compatibility between the sample subject representation and the sample object representation; The target sample representation corresponding to the sample object representation is determined by combining the subject weight information and the multiple sample subject representations.

11. The method according to any one of claims 2 to 7, characterized in that: The inputting the target sample representation and the sample object representation into the category prediction module of the preset neural network for feedback category prediction to obtain the category prediction result includes: Based on the category prediction module, similarity processing is performed on the target sample representation and the sample object representation to obtain a similarity result, and feedback category prediction is performed based on the similarity result to obtain the category prediction result.

12. A subject characterization device, characterized in that: The device comprises: Subject data acquisition module: used to acquire subject attribute characteristics of a target subject, and a historical operation feature sequence generated by the target subject performing historical interactive operations on multiple operation objects, wherein the historical interactive operations include positive feedback operations and negative feedback operations; Representation module: used for inputting the subject attribute features and the historical operation feature sequence into the subject feature module of the target neural network for feature embedding, performing feature fusion based on the attention mechanism on the obtained attribute embedding features and operation embedding feature sequence to obtain subject fusion features, performing multi-interest feature extraction on the operation embedding feature sequence to obtain multiple subject interest features, and generating multiple subject representations of the target subject according to the attribute embedding features, the multiple subject interest features and the subject fusion features; The target neural network is a model obtained by combining the sample subject attribute characteristics, sample operation feature sequence, sample object feature sequence and sample label of the sample subject, generating multiple sample subject representations for the subject feature module of the preset neural network, extracting sample object representations for the object feature module of the preset neural network, determining target sample representations for the perception attention module of the preset neural network, and performing constraint training for feedback category prediction on the category prediction module of the preset neural network.

13. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the subject characterization method according to any one of claims 1 to 11.

14. A computer device, characterized in that: The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the subject characterization method according to any one of claims 1-11.