Information recommendation method and device, storage medium and electronic equipment
By constructing user interest representation and search user representation, combined with the information recommendation engine, the problem of insufficient timeliness and personalization of information recommendation in the existing technology is solved, highly personalized promotion information recommendation is realized, and user satisfaction and platform efficiency are improved. .
Patent Information
- Application Number
- CN202410986416.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-22
AI Technical Summary
Existing information recommendation technology cannot effectively integrate users' long-term interests and current search needs, resulting in insufficient timeliness and personalization of recommendation results and inability to meet users' real needs.
By receiving the user's target search request, the user's attribute information and historical search and browsing behavior sequence are determined, the information sequence reasoning model is used to construct user interest representation and search user representation, and combined with the information recommendation engine, personalized information recommendations are made.
It achieves the precise integration of user interests and search needs, improves the degree of personalization of recommendations, increases user satisfaction and interaction rate, and improves the platform's conversion efficiency and user stickiness.
Smart Images

Figure CN118779530A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an information recommendation method, device, storage medium and electronic device. Background Art
[0002] When users use application software with information search functions (such as search engines), they usually receive promotional information pushed by the service side during the search process. For example, in order to provide convenience to users, the promotional information may be advertising information to promote a certain product or thing. These promotional information are of great significance to service providers, users and information promotion parties. Summary of the invention
[0003] The present application provides an information recommendation method, device, storage medium and electronic device, and the technical solution is as follows:
[0004] In a first aspect, an embodiment of the present application provides an information recommendation method, the method comprising:
[0005] Receive a target search request input by a user object, and determine user attribute information and a historical search and browsing behavior sequence for the user object;
[0006] Determine the user interest representation and the search user representation of the user object based on the user attribute information and the historical search and browsing behavior sequence;
[0007] The user interest representation, the search user representation and the target search request are sent to an information recommendation engine, so that the information recommendation engine performs information recommendation processing on the user object in response to the target search request.
[0008] In a feasible implementation manner, determining the user interest representation and the search user representation of the user object based on the search term, the user attribute information, and the historical search and browsing behavior sequence includes:
[0009] Based on the user attribute information and the historical search and browsing behavior sequence, an information sequence reasoning model is used to perform search interest analysis processing on the user object to obtain a user interest representation and a search user representation.
[0010] In a feasible implementation, based on the user attribute information and the historical search and browsing behavior sequence, the information sequence inference model is used to perform search interest analysis on the user object to obtain the user interest representation and the search user representation, including:
[0011] Based on the user attribute information and the historical search browsing behavior sequence, the user interest representation and search user representation corresponding to the user object are determined in the user search key-value library through the information sequence reasoning model. The user search representation library includes a reference user interest representation and a reference search user representation corresponding to the reference user object. The reference user interest representation and the reference search user representation are processed by the information sequence reasoning model for searching the reference user object and then saved to the user search representation library.
[0012] In a feasible implementation, based on the user attribute information and the historical search and browsing behavior sequence, the information sequence inference model is used to perform search interest analysis on the user object to obtain the user interest representation and the search user representation, including:
[0013] A global graph of user browsing behavior is established based on the user attribute information and the historical search browsing behavior sequence, at least one browsing behavior sequence chain for the user object is extracted from the global graph of user browsing behavior, and the user attribute information and the browsing behavior sequence chain are input into the information sequence inference model for search interest analysis and processing to output user interest representation and search user representation.
[0014] In a feasible implementation manner, the method further includes:
[0015] Acquire reference history search and browsing behavior sequences and reference user attribute information corresponding to a plurality of reference user objects, establish a reference user browsing behavior global graph based on the reference history search and browsing behavior sequences, and extract at least one reference browsing behavior sequence chain for the reference user object from the reference user browsing behavior global graph;
[0016] The reference user attribute information and the reference browsing behavior sequence chain are input into the information sequence reasoning model for search interest parsing and processing to output a reference user interest representation and a reference search user representation, and a user search key-value library associated with the information sequence reasoning model is created based on the reference user interest representation and the reference search user representation.
[0017] In a feasible implementation manner, the inputting the reference user attribute information and the reference browsing behavior sequence chain into the information sequence reasoning model to perform search interest parsing processing to output a reference user interest representation and a reference search user representation includes:
[0018] Based on the reference user attribute information of the reference user object and the reference browsing behavior sequence chain, sample training data of at least one sample user object is selected, and output result labels are annotated for the sample training data, wherein the output result labels include user interest representation labels and search user representation labels;
[0019] Based on the sample training data, at least one round of model training is performed on the initial information sequence inference model. During the model training process, the initial information sequence inference model is used to determine a predicted output result for the sample training data, wherein the predicted output result includes a predicted user interest representation and a predicted search user representation;
[0020] Determining a model calculation loss based on the predicted output result and the output result label, and adjusting model parameters of the initial information sequence inference model using the model calculation loss until the initial information sequence inference model completes model training to obtain an information sequence inference model;
[0021] The information sequence reasoning model is adopted based on the reference user attribute information and the reference browsing behavior sequence chain to determine a reference user interest representation and a reference search user representation.
[0022] In a feasible implementation manner, the step of establishing a reference user browsing behavior global graph based on the reference historical search browsing behavior sequence, and extracting at least one reference browsing behavior sequence chain for the reference user object from the reference user browsing behavior global graph includes:
[0023] Determine the information items in the reference historical search and browsing behavior sequence, sort the information items with a time sequence as a reference to obtain a node sequence including all information item nodes, extract an information item edge set including all information item edges from the reference historical search and browsing behavior sequence with the node sequence as a reference, establish user edge relationships between all reference user objects and the information item nodes, and generate a user edge relationship set including all the user edge relationships;
[0024] Performing graph connection processing based on the node sequence, the edge set, and the user edge relationship set to obtain a global graph of reference user browsing behavior;
[0025] The reference user browsing behavior global graph is subjected to sequence chain splitting processing to obtain at least one reference browsing behavior sequence chain.
[0026] In a feasible implementation manner, after sending the user interest representation, the search user representation and the target search request to the information recommendation engine so that the information recommendation engine performs information recommendation processing on the user object in response to the target search request, the method further includes:
[0027] Collecting the actual search and browsing behavior sequence of the user object for the information recommendation item, and determining the actual user interest representation of the user object based on the actual search and browsing behavior sequence;
[0028] The information sequence inference model is calibrated based on the actual user interest representation.
[0029] In a second aspect, an embodiment of the present application provides an information recommendation device, the device comprising:
[0030] A request processing module, used to receive a target search request input by a user object, and determine user attribute information and a historical search and browsing behavior sequence for the user object;
[0031] A representation determination module, configured to determine a user interest representation and a search user representation of the user object based on the user attribute information and the historical search and browsing behavior sequence;
[0032] The information recommendation module is used to send the user interest representation, the search user representation and the target search request to the information recommendation engine, so that the information recommendation engine performs information recommendation processing on the user object in response to the target search request.
[0033] In a feasible implementation manner, the characterization determination module is used to:
[0034] Based on the user attribute information and the historical search and browsing behavior sequence, an information sequence reasoning model is used to perform search interest analysis processing on the user object to obtain a user interest representation and a search user representation.
[0035] In a feasible implementation manner, the characterization determination module is used to:
[0036] Based on the user attribute information and the historical search browsing behavior sequence, the user interest representation and search user representation corresponding to the user object are determined in the user search key-value library through the information sequence reasoning model. The user search representation library includes a reference user interest representation and a reference search user representation corresponding to the reference user object. The reference user interest representation and the reference search user representation are processed by the information sequence reasoning model for searching the reference user object and then saved to the user search representation library.
[0037] In a feasible implementation manner, the characterization determination module is used to:
[0038] A global graph of user browsing behavior is established based on the user attribute information and the historical search browsing behavior sequence, at least one browsing behavior sequence chain for the user object is extracted from the global graph of user browsing behavior, and the user attribute information and the browsing behavior sequence chain are input into the information sequence inference model for search interest analysis and processing to output user interest representation and search user representation.
[0039] In a feasible embodiment, the device is also used for:
[0040] Acquire reference history search and browsing behavior sequences and reference user attribute information corresponding to a plurality of reference user objects, establish a reference user browsing behavior global graph based on the reference history search and browsing behavior sequences, and extract at least one reference browsing behavior sequence chain for the reference user object from the reference user browsing behavior global graph;
[0041] The reference user attribute information and the reference browsing behavior sequence chain are input into the information sequence reasoning model for search interest parsing and processing to output a reference user interest representation and a reference search user representation, and a user search key-value library associated with the information sequence reasoning model is created based on the reference user interest representation and the reference search user representation.
[0042] In a feasible embodiment, the device is also used for:
[0043] Based on the reference user attribute information of the reference user object and the reference browsing behavior sequence chain, sample training data of at least one sample user object is selected, and output result labels are annotated for the sample training data, wherein the output result labels include user interest representation labels and search user representation labels;
[0044] Based on the sample training data, at least one round of model training is performed on the initial information sequence inference model. During the model training process, the initial information sequence inference model is used to determine a predicted output result for the sample training data, wherein the predicted output result includes a predicted user interest representation and a predicted search user representation;
[0045] Determining a model calculation loss based on the predicted output result and the output result label, and adjusting model parameters of the initial information sequence inference model using the model calculation loss until the initial information sequence inference model completes model training to obtain an information sequence inference model;
[0046] The information sequence reasoning model is adopted based on the reference user attribute information and the reference browsing behavior sequence chain to determine a reference user interest representation and a reference search user representation.
[0047] In a feasible embodiment, the device is also used for:
[0048] Determine the information items in the reference historical search and browsing behavior sequence, sort the information items with a time sequence as a reference to obtain a node sequence including all information item nodes, extract an information item edge set including all information item edges from the reference historical search and browsing behavior sequence with the node sequence as a reference, establish user edge relationships between all reference user objects and the information item nodes, and generate a user edge relationship set including all the user edge relationships;
[0049] Performing graph connection processing based on the node sequence, the edge set, and the user edge relationship set to obtain a global graph of reference user browsing behavior;
[0050] The reference user browsing behavior global graph is subjected to sequence chain splitting processing to obtain at least one reference browsing behavior sequence chain.
[0051] In a feasible embodiment, the device is also used for:
[0052] Collecting the actual search and browsing behavior sequence of the user object for the information recommendation item, and determining the actual user interest representation of the user object based on the actual search and browsing behavior sequence;
[0053] The information sequence inference model is calibrated based on the actual user interest representation.
[0054] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.
[0055] In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.
[0056] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:
[0057] In one or more embodiments of the present application, an electronic device receives a target search request input by a user object, determines user attribute information and a historical search browsing behavior sequence for the user object, and accurately constructs and determines a user interest representation and a search user representation by comprehensively utilizing the user's attribute information and historical search browsing behavior. Then, in combination with the user's real-time search request, personalized information recommendation processing is performed through an information recommendation engine. This can effectively integrate the user's long-term interests and current search needs, achieve highly personalized promotional information recommendations, improve user satisfaction, and help increase the user's click-through rate and interaction rate on recommended content, thereby improving the platform's conversion efficiency and user stickiness. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0059] Figure 1 This is a scenario diagram of an information recommendation system provided by an embodiment of the present application;
[0060] Figure 2 It is a flowchart of an information recommendation method provided in an embodiment of the present application;
[0061] Figure 3 is a schematic diagram of a search scenario provided in an embodiment of the present application;
[0062] Figure 4 This is a schematic diagram of a promotion information recall scenario provided by an embodiment of the present application;
[0063] Figure 5 This is another schematic diagram of a promotion information recall scenario provided by an embodiment of the present application;
[0064] Figure 6 It is a flowchart of information sequence reasoning provided by an embodiment of the present application;
[0065] Figure 7 It is a schematic diagram of a scenario for establishing a global graph and a sequence chain provided by an embodiment of the present application;
[0066] Figure 8 This is a schematic diagram of a process for constructing a user search key-value library provided in an embodiment of the present application;
[0067] Fig. 9 It is a flowchart of an information sequence reasoning model training provided by an embodiment of the present application;
[0068] Fig.10 This is a schematic diagram of a scenario for information sequence reasoning model processing provided by an embodiment of the present application;
[0069] Fig.11 It is a structural diagram of a module provided in an embodiment of the present application;
[0070] Fig.12 is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0071] Fig.13 It is a schematic diagram of the structure of the operating system and user space provided in the embodiment of the present application;
[0072] Fig.14 yes Fig.13 The architecture diagram of the Android operating system;
[0073] Fig.15 yes Fig.13 Architecture diagram of the IOS operating system. DETAILED DESCRIPTION
[0074] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0075] In the description of the present application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood in specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are an "or" relationship.
[0076] In the related art, to display the recommended promotional information, it is usually necessary to recall the most relevant promotional information content from the promotional information material pool (including search engine data, advertising materials placed by advertisers, etc.) based on the user's search term (SearchQuery). For historical users, the recall results cannot recall results that have not been seen in the user's historical behavior except for the search term itself, and the timeliness and diversity of the recall results are poor. For new users, the recall results are mostly popular content, which cannot meet the real needs of users and are not highly personalized. Based on this, the information recommendation method in the related art has the limitation of not being able to meet user needs and having poor recommendation effects.
[0077] The present application is described in detail below with reference to specific embodiments.
[0078] See also Figure 1 , is a schematic diagram of a scenario of an information recommendation system provided in this specification. Figure 1 As shown, the information recommendation system may include at least a client cluster and a service platform 100 .
[0079] The client cluster may include at least one client, such as Figure 1As shown, it specifically includes client 1 corresponding to user 1, client 2 corresponding to user 2, ..., client n corresponding to user n, where n is an integer greater than 0.
[0080] Each client in the client cluster may be an electronic device with communication function, including but not limited to: wearable device, handheld device, personal computer, tablet computer, vehicle-mounted device, smart phone, computing device or other processing device connected to a wireless modem, etc. Electronic devices may be called different names in different networks, such as: user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, cellular phone, cordless phone, personal digital assistant (PDA), electronic device in 5G network or future evolution network, etc.
[0081] The service platform 100 can be a separate server device, such as a rack-mounted, blade, tower, or cabinet-mounted server device, or a workstation, mainframe computer, or other hardware device with strong computing power; it can also be a server cluster composed of multiple servers, and the servers in the service cluster can be composed in a symmetrical manner, wherein each server has equivalent functions and status in the transaction link, and each server can provide services to the outside independently, and the independent service can be understood as not requiring the assistance of other servers.
[0082] In one or more embodiments of the present specification, the service platform 100 may establish a communication connection with at least one client in the client cluster, and complete the data interaction during the feature processing based on the communication connection.
[0083] It should be noted that the service platform 100 and at least one client in the client cluster establish a communication connection through a network for interactive communication, wherein the network can be a wireless network or a wired network, the wireless network includes but is not limited to a cellular network, a wireless local area network, an infrared network or a Bluetooth network, and the wired network includes but is not limited to Ethernet, a universal serial bus (USB) or a controller local area network. In one or more embodiments of the specification, technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. are used to represent data (such as a target compressed package) exchanged through a network. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec), etc. can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above data communication technologies.
[0084] The feature processing system embodiment provided in this specification and the information recommendation method in one or more embodiments belong to the same concept. The execution subject corresponding to the information recommendation method involved in one or more embodiments of the specification can be an electronic device, and the electronic device can be the above-mentioned service platform 100; the execution subject corresponding to the information recommendation method involved in one or more embodiments of the specification can also be an electronic device corresponding to the client, which is determined based on the actual application environment. The embodiment of the feature processing system and its implementation process can be detailed in the following method embodiment, which will not be repeated here.
[0085] In one embodiment, Figure 2 As shown, a method for information recommendation is proposed, which can be implemented by a computer program and can be run on an information recommendation device based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application. The information recommendation device can be an electronic device.
[0086] Specifically, the information recommendation method includes:
[0087] S102: receiving a target search request input by a user object, and determining user attribute information and a historical search and browsing behavior sequence for the user object;
[0088] When a user enters a search statement query in a search engine, the service platform may receive a search request from the user, the search request carrying the search statement query, and subsequently transmit the search request to an information recommendation engine, which may obtain the search statement carried in the search request.
[0089] Furthermore, after determining the target search request input by the user object, the user attribute information of the user object and the historical search and browsing behavior sequence of the past records can be obtained, such as age, gender, user ID, geographic location, occupation and other basic attributes, and the user ID uses the login account UID and GUID as a unique identifier. In some embodiments, the user attribute information can also include the search attribute information corresponding to the user's current target search request, and the search attribute information includes search keywords, search context, instant search behavior (such as click-through rate, page dwell time), etc. The creative introduction of this search attribute information in the user attribute information has multimodal characteristics, which is conducive to fully characterizing the user's search characteristics and assisting in subsequent accurate information recommendation.
[0090] The historical search and browsing behavior sequence can be understood as recording the historical user's search and browsing behavior based on the change of search and browsing time during the user's historical search and browsing process, extracting the information items involved in each search and browsing step, and the time sequence of the historical user's corresponding information items constitutes the historical search and browsing behavior sequence;
[0091] For example, see Figure 3 , Figure 3 It is a search scenario diagram, which obtains the user's user attribute information through the data management service (which can be called DMP service), obtains the user's click log in the search engine and the advertisement click log in the information promotion engine (the search engine and the information promotion engine can be collectively referred to as the information recommendation engine and search engine), and stitches them together through the user ID. i The search and browse click data set can be recorded as Click(u i )={(v k ,t k ),k∈N +}, where v k It represents the information item (also called information entry or information object) perceived by the user in the process of interaction with the search engine. The information item is a highly abstract information object in the user's search behavior, including but not limited to the user's search query, point of interest (POI), image, promotional information title (AdTitle), etc. t represents the timestamp.
[0092] Then, the search and browse click data set is sorted in chronological order to obtain the user's historical search and browse behavior sequence (which can be called Session sequence): S(u i )={(v1,t1),(v2,t2),…,(v n ,t n )}, where t1≤t2≤…≤t n .
[0093] S104: Determine the user interest representation and the search user representation of the user object based on the user attribute information and the historical search and browsing behavior sequence;
[0094] User interest representation can be understood as a user interest feature vector determined for a user object based on user attribute information and historical search and browsing behavior sequences; user interest representation is an abstract description of a user's long-term interests and preferences, and is represented in the form of a feature vector;
[0095] Search user representation can be understood as a user search feature vector determined for a user object with reference to user attribute information and historical search browsing behavior sequences. Search user representation mainly focuses on the user's search needs, search intent, user attributes, etc.
[0096] In one or more embodiments of the present specification, an information sequence reasoning model can be created and trained based on a machine learning model. Then, in actual applications, based on the user attribute information and the historical search and browsing behavior sequence as model input, the information sequence reasoning model is used to perform search interest analysis on the user object to obtain a user interest representation and a search user representation.
[0097] In a feasible implementation, the following method may be adopted:
[0098] Based on the user attribute information and the historical search and browsing behavior sequence, the information sequence reasoning model is used to perform search interest analysis on the user object to obtain a user interest representation and a search user representation. Through the information sequence reasoning model, the user interest representation of the user and the search user representation based on the recent behavior can be inferred from the user's historical behavior.
[0099] For example, based on user attribute information and historical search and browsing behavior sequences, an information sequence inference model is used to parse the user's search interests, by converting user interests and search behaviors into vector representations. This vectorized representation helps the information recommendation engine (also known as the information promotion engine) understand and process user data, so that the recommendation system can more effectively predict user behavior and preferences and accurately recommend promotional information;
[0100] The following is an explanation of the model training process of the information sequence reasoning model:
[0101] Model creation: Create an initial information sequence reasoning model for information sequence reasoning scenarios based on the machine learning model;
[0102] Sample data acquisition: Acquire a large amount of sample data. The sample data is based on the historical user search and click behavior data of the search engine. The sample data includes sample training data of one or more reference user objects (such as reference user attribute information, sample historical search and browsing behavior sequence). The sample historical search and browsing behavior sequence can also be a browsing behavior sequence chain of a reference user object.
[0103] Sample data labeling: Based on the needs of information sequence reasoning scenarios, expert services are introduced to manually label the sample data with corresponding sample labels. Sample labels (also called output result labels) include user interest representation labels and search user representation labels.
[0104] Model training process: input sample data into the initial information sequence inference model for at least one round of model training to obtain prediction output results, wherein the prediction output results include predicted user interest representation and predicted search user representation, and use the model loss function to determine the model loss value based on the prediction feature data (such as predicted service strategy features, predicted service product features, and predicted consulting intention features) and the output result label. Based on the model loss value, adjust the model parameters of the initial information sequence inference model until the model training end conditions are met to obtain the information sequence inference model.
[0105] Optionally, the model training end condition of the model may include, for example, the value of the loss function is less than or equal to a preset loss function threshold, the number of iterations reaches a preset number threshold, etc. The specific model training end condition can be determined based on actual conditions and is not specifically limited here.
[0106] It should be noted that the machine learning models involved in one or more embodiments of this specification include but are not limited to the fitting of one or more machine learning models such as convolutional neural network (CNN) model, deep neural network (DNN) model, recurrent neural network (RNN) model, embedding model, gradient boosting decision tree (GBDT) model, logistic regression (LR) model, etc.;
[0107] Optionally, the model loss function may be a hinge loss function, a cross entropy loss function, a vector distance loss function, a contrast loss function, etc.
[0108] S106: Send the user interest representation, the search user representation and the target search request to an information recommendation engine, so that the information recommendation engine performs information recommendation processing on the user object in response to the target search request.
[0109] Integrating user representation with search requests, user interest representation is a vector that reflects the user's long-term interests and preferences. For example, a user may have a lasting interest in technology, travel, or literature. Search user representation is a vector that focuses more on capturing the user's current search intent and recent behavior patterns. For example, if a user is recently searching for information about healthy eating, the user is a young person and his daily activities are in Wuhan. The target search request is the specific search query for this user object, which contains keywords or phrases entered by the user, such as "low-fat recipes." These "user interest representations, search user representations, and the target search request" information will be sent together to the information recommendation engine, which will use these data to perform information recommendation processing on the user object.
[0110] An information recommendation engine is usually an information recommendation system trained based on relevant technologies. In this specification, user interest representation and search user representation are creatively introduced, combined with the original target search request to instruct the information recommendation engine to provide information that is as close to the user's personal preferences and immediate needs as possible, thereby improving user satisfaction and the overall effectiveness of the platform.
[0111] In some embodiments, the information recommendation engine first receives the user's user interest representation, search user representation and target search request, and then performs fusion and analysis: the recommendation engine will perform fusion analysis on the received data, combining the user's long-term interests (user interest representation) and immediate needs (search user representation and target search request), and apply the information recommendation algorithm to select or generate recommended content based on the fused data. The information recommendation engine will try to find the content that best matches the user's current query and historical interests, which may include promotional information. The recommended information finally generated including multiple information recommendation items will be displayed to the user object in the form of search results, content lists, promotional information, related articles, etc.
[0112] In one or more embodiments of the present specification, a loop feedback mechanism may be introduced to continuously optimize and calibrate the information sequence reasoning model, that is, after executing the sending of the user interest representation, the search user representation, and the target search request to the information recommendation engine so that the information recommendation engine performs information recommendation processing on the user object in response to the target search request, the following method may be adopted:
[0113] The actual search and browsing behavior sequence of the user object for the information recommendation items is collected, the actual user interest representation of the user object is determined based on the actual search and browsing behavior sequence, and the information sequence inference model is calibrated based on the actual user interest representation.
[0114] Indicatively, after the recommended content is received by the user, the system begins to monitor and record the user's actual interaction data with the content, including: clicks on search results: users click on the search results provided by the recommendation system, which can directly reflect the user's interest in the recommended content; browsing behavior: the user's browsing path, dwell time, and interactive actions on the website; feedback behavior: users may directly provide feedback, such as ratings, comments, or like / dislike through buttons;
[0115] These actual interaction data are collected to form an actual search and browsing behavior sequence, which can be used as feedback information to fine-tune model parameters. Based on the actual search and browsing behavior sequence collected (such as calling expert services), the user's actual interest representation can be analyzed and the following steps can be performed:
[0116] Retraining model: Use the new actual interest representation as the user data set to retrain the information sequence reasoning model, that is, use the actual interest representation as the output result label, calculate the model loss value between the actual interest representation and the user interest representation, and perform model fine-tuning on the information sequence reasoning model based on the model loss value.
[0117] Model fine-tuning: Make minor adjustments to existing information sequence inference models, such as adjusting weights, parameters, and hyperparameters, to optimize model performance.
[0118] Cross-validation: Evaluate the effect of model adjustment through cross-validation and other techniques to ensure that the new model can maintain efficient recommendation effects on different data sets.
[0119] Solution effect verification: A user object searches for query information, the search term is "hotel", and the recent historical search and browsing behavior sequence is "Which hotel is good | Travel hotel reservation | Hotel facilities are good". Based on the inference service, the user's interests are captured to obtain the user interest representation and search user representation. The user interest representation, search user representation and the search term "hotel" in the search request are sent to the information recommendation engine. After the promotion information competition, please refer to Figure 4 , Figure 4 This is a schematic diagram of a promotion information recall scenario. The information recommendation engine recalls an advertisement titled "Hotel, Hotel Decoration - Free Quote" and displays it to the user object. After the user refreshes the page, please refer to Figure 5 , Figure 5This is another scenario diagram of promotional information recall. Another advertisement titled "Only Ctrip official website, hotel reservations are guaranteed!" was recalled, which increased the diversity of the recall results. Compared with the fixed recall results of search terms that only apply to target search requests, it greatly increased the click probability.
[0120] In one or more embodiments of the present application, an electronic device receives a target search request input by a user object, determines user attribute information and a historical search browsing behavior sequence for the user object, and accurately constructs and determines a user interest representation and a search user representation by comprehensively utilizing the user's attribute information and historical search browsing behavior. Then, in combination with the user's real-time search request, personalized information recommendation processing is performed through an information recommendation engine. This can effectively integrate the user's long-term interests and current search needs, achieve highly personalized promotional information recommendations, improve user satisfaction, and help increase the user's click-through rate and interaction rate on recommended content, thereby improving the platform's conversion efficiency and user stickiness.
[0121] In a feasible implementation, considering the timeliness of information recommendation, it is usually necessary to quickly recommend information. Based on this, the information sequence reasoning model is associated with the user search key-value library, and the recorded reference user object is searched for interest analysis using the information sequence reasoning model, and the model output result is saved to the user search representation library. Then, in the actual application process, if the current user object is a recorded reference user object, the information sequence reasoning model can directly query the user interest representation and search user representation corresponding to the current user object from the associated user search key-value library;
[0122] Specifically, the following method can be used to perform search interest analysis on the user object based on the user attribute information and the historical search and browsing behavior sequence using an information sequence inference model to obtain a user interest representation and a search user representation:
[0123] Based on the user attribute information and the historical search and browsing behavior sequence, determine the user interest representation and the search user representation corresponding to the user object in the user search key value library through the information sequence reasoning model;
[0124] That is, the information sequence reasoning model first queries the user search key value library to see whether the recorded reference user object contains the current user object (there is a user identifier in the user attribute information, such as a user id). If so, the user interest representation and search user representation corresponding to the user object are directly determined in the user search key value library. If not, the information sequence reasoning model is used to call the device computing resources to perform search interest analysis based on the user attribute information and the historical search and browsing behavior sequence, and output the user interest representation and search user representation.
[0125] Among them, the user search representation library includes a reference user interest representation and a reference search user representation corresponding to the reference user object. The reference user interest representation and the reference search user representation are saved to the user search representation library after the information sequence inference model performs search interest parsing on the reference user object.
[0126] In one or more embodiments of the present specification, the above-mentioned method can ensure the timeliness of information recommendation, realize rapid information recommendation, help improve user satisfaction, and help increase the user's click rate and interaction rate on recommended content, thereby improving the platform's conversion efficiency and user stickiness.
[0127] Please refer to Figure 6 , Figure 6 It is a flowchart of information sequence reasoning, specifically:
[0128] S2002: Establishing a global graph of user browsing behavior based on the user attribute information and the historical search and browsing behavior sequence;
[0129] To build a global graph of user browsing behavior, firstly, data integration is performed: by collecting user attribute information (such as age, gender, geographic location, etc.) and historical search and browsing behavior data, and then graph construction is performed: using these user attribute information and the historical search and browsing behavior sequence to build a global graph, in which nodes can represent individual users, web pages or other interactive objects, and edges represent the interactions between users and these objects (such as browsing, clicking, etc.). This graph structure helps to capture the complex relationships and patterns between user behaviors.
[0130] Exemplarily, a global user browsing behavior graph is established, and specific browsing behavior sequence chains are extracted from it. Combined with user attribute information, an information sequence reasoning model is used for analysis, and finally user interest representation and search user representation are generated.
[0131] S2004: extract at least one browsing behavior sequence chain for the user object from the global graph of user browsing behavior, input the user attribute information and the browsing behavior sequence chain into the information sequence reasoning model to perform search interest analysis and output user interest representation and search user representation.
[0132] In a feasible implementation manner, reference may be made to the following implementation manner:
[0133] A2: determining information items in the reference historical search and browsing behavior sequence, sorting the information items with a time sequence as a reference to obtain a node sequence including all information item nodes, extracting an information item edge set including all information item edges from the reference historical search and browsing behavior sequence with the node sequence as a reference, establishing user edge relationships between all reference user objects and the information item nodes, and generating a user edge relationship set including all the user edge relationships;
[0134] Exemplarily, it can be expressed as: S(u i )={(v1,t1),(v2,t2),…,(v n ,t n )}, where t1≤t2≤…≤t n , sorting the information items with the time sequence as reference to obtain the aforementioned node sequence including all information item nodes; extracting the information item edge set including all information item edges from the reference historical search and browsing behavior sequence with the node sequence as reference, that is, extracting the information item v1...v in the reference historical search and browsing behavior sequence n Extract information item edges in chronological order and obtain the information item edge set: E item2item ={v1→v2,v2→v3,…,v n-1 →v n}, at the same time, establish the user edge relationship between all reference user objects and the information item node, that is, establish the edge relationship between the user and the item, and generate a user edge relationship set containing all the user edge relationships.
[0135] A4: performing graph connection processing based on the node sequence, the edge set, and the user edge relationship set to obtain a global graph of the reference user browsing behavior;
[0136] A6: Perform sequence chain splitting processing on the reference user browsing behavior global graph to obtain at least one reference browsing behavior sequence chain.
[0137] Please refer to Figure 7 , Figure 7 It is a scenario diagram for building a global graph and sequence chain, such as Figure 7 As shown, assuming that A to Z represent different items (information items), a graph connection process is performed based on the node sequence, the edge set, and the user edge relationship set to connect the edge-connected nodes into a global graph according to the edge relationship - a reference user browsing behavior global graph, and at the same time, a sequence chain splitting process is performed on the reference user browsing behavior global graph to obtain at least one reference browsing behavior sequence chain;
[0138] For example, Figure 7As shown in the figure, based on the random walk algorithm: starting from a node in the graph, it transfers to other nodes based on different transfer probabilities or rules until the termination condition is reached. The node path from the initial node to the end of the walk is the reference browsing behavior sequence chain. For example, starting from node A, passing through nodes B, E, and F when the walk ends, the subsequence obtained by the walk is A--B--E--F, and a reference browsing behavior sequence chain is obtained by sampling.
[0139] In one or more embodiments of this specification, by constructing a global graph of user browsing behavior and combining user attribute information, using an information sequence reasoning model to parse and generate user interest representations and search user representations, the method can effectively capture and analyze user behavior patterns and interest evolution. Not only does it improve the accuracy and personalization level of the recommendation system, but it also enhances the adaptability to changes in user behavior, thereby improving user satisfaction and the user retention rate of the platform, ultimately driving the platform's business growth and optimizing user experience.
[0140] Please refer to Figure 8 , Figure 8 This is a flowchart of building a user search key-value library. For details, please refer to the following methods:
[0141] S3002: Acquire reference history search and browsing behavior sequences and reference user attribute information corresponding to a plurality of reference user objects, establish a reference user browsing behavior global graph based on the reference history search and browsing behavior sequences, and extract at least one reference browsing behavior sequence chain for the reference user object from the reference user browsing behavior global graph;
[0142] For details, please refer to the step explanations of other embodiments in this specification, which will not be repeated here.
[0143] S3004: Input the reference user attribute information and the reference browsing behavior sequence chain into the information sequence reasoning model to perform search interest analysis and output a reference user interest representation and a reference search user representation;
[0144] Input data to the information sequence reasoning model: First, input the reference user attribute information and the reference browsing behavior sequence chain into the information sequence reasoning model. These input data include the user's basic attributes (such as age, gender, location, etc.) and the user's browsing behavior (such as pages visited, links clicked, order of browsing, etc.). This can help the model deeply understand the user's behavior and preferences.
[0145] Output user interest representation and search user representation: The information sequence reasoning model analyzes the input data and outputs two key user representations: reference user interest representation and reference search user representation;
[0146] Reference user interest representation: It is a vector that describes the user's long-term interests and preferences.
[0147] Reference search user representation: reflects the user's current search intention and immediate needs.
[0148] S3006: Create a user search key-value library associated with the information sequence reasoning model based on the reference user interest representation and the reference search user representation.
[0149] Exemplarily, creating a user search key value library: based on the generated reference user interest representation and reference search user representation, creating an associated user search key value library, the design and functions of the user search key value library include:
[0150] Key-value correspondence: Each key (Key) corresponds to a user identifier, and the value (Value) is the reference user interest representation and the reference search user representation of the reference user object corresponding to the user identifier.
[0151] Dynamic update: The user search key-value library may not be static and can be updated in real time based on new user data and behaviors, thus ensuring that the information in the library always reflects the latest user interests and needs.
[0152] Personalized search optimization: The data in the library is used to optimize the search engine's response, ensuring that the user's search results are more closely aligned with their personal interests and immediate needs.
[0153] Considering the timeliness of information recommendation, it is usually necessary to make information recommendation quickly. Based on this, the above method is used to associate the information sequence reasoning model with the user search key-value library. After the recorded reference user object is searched and parsed using the information sequence reasoning model, the model output result is saved to the user search representation library. Then, in the actual application process, if the current user object is a recorded reference user object, the information sequence reasoning model can directly query the user interest representation and search user representation corresponding to the current user object from the associated user search key-value library;
[0154] In one or more embodiments of the present specification, the application of the user search key-value library can improve the efficiency and accuracy of the search engine, while enhancing the personalization of the recommendation system. For example, when a user submits a search request, the user search key-value library can be quickly retrieved to provide more relevant and personalized search results and recommendations, and the user search key-value library with fine association to the information sequence reasoning model enables the search and recommendation system to more effectively respond to the specific needs of individual users, thereby improving user satisfaction, increasing user engagement, and ultimately driving the overall success of the platform. In addition, this strategy also helps to better manage and utilize user data, bringing higher operational efficiency and data-driven decision support to the platform.
[0155] Please refer to Fig. 9 , Fig. 9 It is a flowchart of information sequence reasoning model training, which can be used to build and optimize information sequence reasoning models to accurately predict user interest representations and search user representations. Specifically:
[0156] S4002: Based on the reference user attribute information of the reference user object and the reference browsing behavior sequence chain, select sample training data of at least one sample user object, and annotate the sample training data with output result labels, wherein the output result labels include user interest representation labels and search user representation labels;
[0157] Data preparation and annotation
[0158] Select sample training data: Select a batch of sample user objects from the reference user objects. These sample user objects have corresponding user attribute information and browsing behavior sequence chains. These data are used as the basis for model training.
[0159] Label output result labels: Manually or automatically label output result labels for sample training data. Output result labels include user interest representation labels and search user representation labels. These labels represent the ideal model output and are used for comparison and error calculation during the training process.
[0160] S4004: performing at least one round of model training on the initial information sequence inference model based on the sample training data. During the model training process, the initial information sequence inference model is used to determine a prediction output result for the sample training data, wherein the prediction output result includes a predicted user interest representation and a predicted search user representation;
[0161] Model Training
[0162] Initial Information Sequence Inference Model: Use a predefined model architecture as a starting point. This model may be based on RNN, LSTM, GRU or other deep learning structures suitable for processing sequence data.
[0163] Perform model training: Input sample data into the initial information sequence inference model for at least one round of model training to obtain predicted output results. By inputting sample training data into the model, the model generates predicted output results, which include predicted user interest representations and search user representations. Input sample data into the initial information sequence inference model for at least one round of model training to obtain predicted output results;
[0164] Prediction output: The prediction output of the model is a representation of user interests and search intent inferred from the input data based on the current model parameters.
[0165] S4006: Determine the model calculation loss based on the predicted output result and the output result label, and use the model calculation loss to adjust the model parameters of the initial information sequence inference model until the initial information sequence inference model completes model training to obtain an information sequence inference model.
[0166] Loss calculation and parameter adjustment
[0167] Calculate model loss: Use a loss function (such as mean squared error, cross entropy, etc.) to calculate the difference between the output predicted by the model and the actual labeled result label. This loss value measures the predictive performance of the model.
[0168] Model parameter adjustment: According to the results of the loss function, the back propagation algorithm is used to adjust the model parameters to reduce the prediction error.
[0169] Training iteration: Repeat this training process until the model's performance reaches a predetermined standard or a certain number of training rounds. This process may include adjusting training parameters such as learning rate and batch size.
[0170] End training and model evaluation
[0171] End model training: The training process ends when the model error no longer decreases significantly or the model training stop condition is reached.
[0172] Model evaluation: The trained model is evaluated using an independent test dataset to verify its predictive power and generalization.
[0173] For example, see Fig.10 , Fig.10 It is a schematic diagram of a scenario processed by an information sequence reasoning model. The graph sequence model obtains a node feature through a gated graph neural network (GGNN) and another feature representation layer Embedding (dense vector expression of other feature information), and the node features are connected using a connection layer (Concat) to obtain a comprehensive node feature representation. The long-term interest in the sequence is captured through an attention mechanism layer (AttentionNetwork), and the user's short-term interest is captured through a pooling layer using several information items that the user has recently clicked. The user's dynamic interest is captured through a linear transformation layer (Linear Transformnation), and finally, the model calculation loss is determined based on the predicted output result and the output result label through a Softmax Layer using a function such as an optimized cross entropy loss function, and the model calculation loss is used to adjust the model parameters of the initial information sequence reasoning model.
[0174] In one or more embodiments of the present specification, the above-mentioned model training method can ensure that the information sequence reasoning model can accurately capture and reflect the user's interests and search behaviors. Through fine-tuning and continuous training, the model will become increasingly close to the complexity of real user behavior, thereby improving the effectiveness of the recommendation system and user satisfaction.
[0175] The following will be combined Fig.11 , the information recommendation device provided in the embodiment of the present application is introduced in detail. It should be noted that, Fig.11 The information recommendation device shown is used to execute this application Figures 1 to 10 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figures 1 to 10 The embodiment shown.
[0176] See also Fig.11 , which shows a schematic diagram of the structure of the information recommendation device of an embodiment of the present application. The information recommendation device 1 can be implemented as all or part of the device through software, hardware or a combination of both. According to some embodiments, the information recommendation device 1 includes a request processing module 11, a characterization determination module 12 and an information recommendation module 13, which are specifically used to:
[0177] The request processing module 11 is used to receive a target search request input by a user object, and determine user attribute information and a historical search and browsing behavior sequence for the user object;
[0178] A representation determination module 12, configured to determine a user interest representation and a search user representation of the user object based on the user attribute information and the historical search and browsing behavior sequence;
[0179] The information recommendation module 13 is used to send the user interest representation, the search user representation and the target search request to the information recommendation engine, so that the information recommendation engine performs information recommendation processing on the user object in response to the target search request.
[0180] Optionally, the characterization determination module 12 is used to:
[0181] Based on the user attribute information and the historical search and browsing behavior sequence, an information sequence reasoning model is used to perform search interest analysis processing on the user object to obtain a user interest representation and a search user representation.
[0182] Optionally, the characterization determination module 12 is used to:
[0183] Based on the user attribute information and the historical search browsing behavior sequence, the user interest representation and search user representation corresponding to the user object are determined in the user search key-value library through the information sequence reasoning model. The user search representation library includes a reference user interest representation and a reference search user representation corresponding to the reference user object. The reference user interest representation and the reference search user representation are processed by the information sequence reasoning model for searching the reference user object and then saved to the user search representation library.
[0184] Optionally, the characterization determination module 12 is used to:
[0185] A global graph of user browsing behavior is established based on the user attribute information and the historical search browsing behavior sequence, at least one browsing behavior sequence chain for the user object is extracted from the global graph of user browsing behavior, and the user attribute information and the browsing behavior sequence chain are input into the information sequence inference model for search interest analysis and processing to output user interest representation and search user representation.
[0186] Optionally, the device 1 is also used for:
[0187] Acquire reference history search and browsing behavior sequences and reference user attribute information corresponding to a plurality of reference user objects, establish a reference user browsing behavior global graph based on the reference history search and browsing behavior sequences, and extract at least one reference browsing behavior sequence chain for the reference user object from the reference user browsing behavior global graph;
[0188] The reference user attribute information and the reference browsing behavior sequence chain are input into the information sequence reasoning model for search interest parsing and processing to output a reference user interest representation and a reference search user representation, and a user search key-value library associated with the information sequence reasoning model is created based on the reference user interest representation and the reference search user representation.
[0189] Optionally, the device 1 is also used for:
[0190] Based on the reference user attribute information of the reference user object and the reference browsing behavior sequence chain, sample training data of at least one sample user object is selected, and output result labels are annotated for the sample training data, wherein the output result labels include user interest representation labels and search user representation labels;
[0191] Based on the sample training data, at least one round of model training is performed on the initial information sequence inference model. During the model training process, the initial information sequence inference model is used to determine a predicted output result for the sample training data, wherein the predicted output result includes a predicted user interest representation and a predicted search user representation;
[0192] Determining a model calculation loss based on the predicted output result and the output result label, and adjusting model parameters of the initial information sequence inference model using the model calculation loss until the initial information sequence inference model completes model training to obtain an information sequence inference model;
[0193] The information sequence reasoning model is adopted based on the reference user attribute information and the reference browsing behavior sequence chain to determine a reference user interest representation and a reference search user representation.
[0194] Optionally, the device 1 is also used for:
[0195] Determine the information items in the reference historical search and browsing behavior sequence, sort the information items with a time sequence as a reference to obtain a node sequence including all information item nodes, extract an information item edge set including all information item edges from the reference historical search and browsing behavior sequence with the node sequence as a reference, establish user edge relationships between all reference user objects and the information item nodes, and generate a user edge relationship set including all the user edge relationships;
[0196] Performing graph connection processing based on the node sequence, the edge set, and the user edge relationship set to obtain a global graph of reference user browsing behavior;
[0197] The reference user browsing behavior global graph is subjected to sequence chain splitting processing to obtain at least one reference browsing behavior sequence chain.
[0198] Optionally, the device 1 is also used for:
[0199] Collecting the actual search and browsing behavior sequence of the user object for the information recommendation item, and determining the actual user interest representation of the user object based on the actual search and browsing behavior sequence;
[0200] The information sequence inference model is calibrated based on the actual user interest representation.
[0201] It should be noted that, when the information recommendation device provided in the above embodiment executes the information recommendation method, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the information recommendation device provided in the above embodiment and the information recommendation method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.
[0202] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0203] In one or more embodiments of the present application, an electronic device receives a target search request input by a user object, determines user attribute information and a historical search browsing behavior sequence for the user object, and accurately constructs and determines a user interest representation and a search user representation by comprehensively utilizing the user's attribute information and historical search browsing behavior. Then, in combination with the user's real-time search request, personalized information recommendation processing is performed through an information recommendation engine. This can effectively integrate the user's long-term interests and current search needs, achieve highly personalized promotional information recommendations, improve user satisfaction, and help increase the user's click-through rate and interaction rate on recommended content, thereby improving the platform's conversion efficiency and user stickiness.
[0204] The present application also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded and executed by a processor as described above. Figures 1 to 10 The information recommendation method of the embodiment shown in the figure can be specifically executed by referring to Figures 1 to 10 The specific description of the illustrated embodiment will not be repeated here.
[0205] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor as described above. Figures 1 to 10 The information recommendation method of the embodiment shown in the figure can be specifically executed by referring to Figures 1 to 10 The specific description of the illustrated embodiment will not be repeated here.
[0206] Please refer to Fig.12 , which shows a block diagram of the structure of an electronic device provided by an exemplary embodiment of the present application. The electronic device in the present application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected via the bus 150.
[0207] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.
[0208] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The operating system may be an Android system, including a system deeply developed based on the Android system, an IOS system developed by Apple, including a system deeply developed based on the IOS system or other systems. The data storage area may also store data created by the electronic device during use, such as a phone book, audio and video data, chat record data, etc.
[0209] See also Fig.13As shown, the memory 120 can be divided into an operating system space and a user space. The operating system runs in the operating system space, and native and third-party applications run in the user space. In order to ensure that different third-party applications can achieve good operating results, the operating system allocates corresponding system resources to different third-party applications. However, different application scenarios in the same third-party application also have different requirements for system resources. For example, in the local resource loading scenario, the third-party application has higher requirements for disk reading speed; in the animation rendering scenario, the third-party application has higher requirements for GPU performance. The operating system and third-party applications are independent of each other, and the operating system often cannot perceive the current application scenario of the third-party application in a timely manner, resulting in the operating system being unable to perform targeted system resource adaptation according to the specific application scenario of the third-party application.
[0210] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to open up data communication between third-party applications and the operating system so that the operating system can obtain the current scenario information of third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.
[0211] Taking the Android operating system as an example, the programs and data stored in the memory 120 are as follows: Fig.14As shown, the memory 120 may store a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360 and an application layer 380, wherein the Linux kernel layer 320, the system runtime library layer 340 and the application framework layer 360 belong to the operating system space, and the application layer 380 belongs to the user space. The Linux kernel layer 320 provides underlying drivers for various hardware of electronic devices, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, etc. The system runtime library layer 340 provides the main feature support for the Android system through some C / C++ libraries. For example, the SQLite library provides database support, the OpenGL / ES library provides 3D drawing support, and the Webkit library provides browser kernel support, etc. The system runtime library layer 340 also provides an Android runtime library (Android runtime), which mainly provides some core libraries that allow developers to use Java language to write Android applications. The application framework layer 360 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content provider, package management, call management, resource management, and location management. At least one application runs in the application layer 380. These applications can be native applications that come with the operating system, such as contact applications, text messaging applications, clock applications, camera applications, etc.; they can also be third-party applications developed by third-party developers, such as game applications, instant messaging applications, photo beautification applications, etc.
[0212] Taking the operating system as an IOS system as an example, the programs and data stored in the memory 120 are as follows: Fig.15As shown, the IOS system includes: a core operating system layer 420 (Core OS layer), a core service layer 440 (Core Services layer), a media layer 460 (Media layer), and a touchable layer 480 (Cocoa Touch Layer). The core operating system layer 420 includes the operating system kernel, drivers, and underlying program frameworks, which provide functions closer to the hardware for use by the program framework located in the core service layer 440. The core service layer 440 provides system services and / or program frameworks required by the application, such as the foundation framework, account framework, advertising framework, data storage framework, network connection framework, geographic location framework, motion framework, etc. The media layer 460 provides audio-visual interfaces for the application, such as graphics and image related interfaces, audio technology related interfaces, video technology related interfaces, and wireless playback (AirPlay) interfaces for audio and video transmission technologies. The touchable layer 480 provides various commonly used interface-related frameworks for application development, and the touchable layer 480 is responsible for the user's touch interaction operations on the electronic device. For example, local notification service, remote push service, advertising framework, game tool framework, message user interface (UI) framework, user interface UIKit framework, map framework, etc.
[0213] exist Fig.15 Among the frameworks shown, the frameworks related to most applications include but are not limited to: the basic framework in the core service layer 440 and the UIKit framework in the touchable layer 480. The basic framework provides many basic object classes and data types, provides the most basic system services for all applications, and has nothing to do with UI. The classes provided by the UIKit framework are basic UI class libraries for creating touch-based user interfaces. iOS applications can provide UIs based on the UIKit framework, so it provides the basic architecture of applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, etc.
[0214] Among them, the method and principle of implementing data communication between third-party applications and the operating system in the IOS system can be referred to the Android system, and this application will not go into details here.
[0215] Among them, the input device 130 is used to receive input instructions or data, and the input device 130 includes but is not limited to a keyboard, a mouse, a camera, a microphone or a touch device. The output device 140 is used to output instructions or data, and the output device 140 includes but is not limited to a display device and a speaker. In one example, the input device 130 and the output device 140 can be combined, and the input device 130 and the output device 140 are touch screen displays, which are used to receive touch operations on or near the user using any suitable object such as a finger or a touch pen, and to display the user interface of each application. The touch screen display is usually set on the front panel of the electronic device. The touch screen display can be designed as a full screen, a curved screen or a special-shaped screen. The touch screen display can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in the embodiments of the present application.
[0216] In addition, those skilled in the art will appreciate that the structure of the electronic device shown in the above drawings does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the electronic device also includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a Bluetooth module and other components, which will not be described in detail here.
[0217] In the embodiment of the present application, the execution subject of each step may be the electronic device described above. Optionally, the execution subject of each step is the operating system of the electronic device. The operating system may be an Android system, an IOS system, or other operating systems, which is not limited in the embodiment of the present application.
[0218] The electronic device of the embodiment of the present application may also be equipped with a display device, which may be any device capable of realizing a display function, such as a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink screen, a liquid crystal display (LCD), a plasma display panel (PDP), etc. The user may use the display device on the electronic device 101 to view displayed text, images, videos and other information. The electronic device may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality) device, a car, a data storage device, an audio playback device, a video playback device, a notebook, a desktop computing device, a wearable device such as an electronic watch, an electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, electronic clothing and other devices.
[0219] exist Fig.12 In the electronic device shown, the processor 110 may be used to call an application stored in the memory 120 and specifically perform the following operations:
[0220] Receive a target search request input by a user object, and determine user attribute information and a historical search and browsing behavior sequence for the user object;
[0221] Determine the user interest representation and the search user representation of the user object based on the user attribute information and the historical search and browsing behavior sequence;
[0222] The user interest representation, the search user representation and the target search request are sent to an information recommendation engine, so that the information recommendation engine performs information recommendation processing on the user object in response to the target search request.
[0223] In one embodiment, the processor 110 performs the following steps when determining the user interest representation and the search user representation of the user object based on the search term, the user attribute information, and the historical search and browsing behavior sequence:
[0224] Based on the user attribute information and the historical search and browsing behavior sequence, an information sequence reasoning model is used to perform search interest analysis processing on the user object to obtain a user interest representation and a search user representation.
[0225] In one embodiment, the processor 110 performs the following steps when executing the process of performing search interest parsing processing on the user object based on the user attribute information and the historical search and browsing behavior sequence using the information sequence inference model to obtain the user interest representation and the search user representation:
[0226] Based on the user attribute information and the historical search browsing behavior sequence, the user interest representation and search user representation corresponding to the user object are determined in the user search key-value library through the information sequence reasoning model. The user search representation library includes a reference user interest representation and a reference search user representation corresponding to the reference user object. The reference user interest representation and the reference search user representation are processed by the information sequence reasoning model for searching the reference user object and then saved to the user search representation library.
[0227] In one embodiment, the processor 110 performs the following steps when executing the process of performing search interest parsing processing on the user object based on the user attribute information and the historical search and browsing behavior sequence using the information sequence inference model to obtain the user interest representation and the search user representation:
[0228] A global graph of user browsing behavior is established based on the user attribute information and the historical search browsing behavior sequence, at least one browsing behavior sequence chain for the user object is extracted from the global graph of user browsing behavior, and the user attribute information and the browsing behavior sequence chain are input into the information sequence inference model for search interest analysis and processing to output user interest representation and search user representation.
[0229] In one embodiment, the processor 110 further performs the following steps when executing the information recommendation method:
[0230] Acquire reference history search and browsing behavior sequences and reference user attribute information corresponding to a plurality of reference user objects, establish a reference user browsing behavior global graph based on the reference history search and browsing behavior sequences, and extract at least one reference browsing behavior sequence chain for the reference user object from the reference user browsing behavior global graph;
[0231] The reference user attribute information and the reference browsing behavior sequence chain are input into the information sequence reasoning model for search interest parsing and processing to output a reference user interest representation and a reference search user representation, and a user search key-value library associated with the information sequence reasoning model is created based on the reference user interest representation and the reference search user representation.
[0232] In one embodiment, the processor 110 further performs the following steps when executing the method:
[0233] Based on the reference user attribute information of the reference user object and the reference browsing behavior sequence chain, sample training data of at least one sample user object is selected, and output result labels are annotated for the sample training data, wherein the output result labels include user interest representation labels and search user representation labels;
[0234] Based on the sample training data, at least one round of model training is performed on the initial information sequence inference model. During the model training process, the initial information sequence inference model is used to determine a predicted output result for the sample training data, wherein the predicted output result includes a predicted user interest representation and a predicted search user representation;
[0235] The model calculation loss is determined based on the predicted output result and the output result label, and the model calculation loss is used to adjust the model parameters of the initial information sequence inference model until the initial information sequence inference model completes model training to obtain an information sequence inference model.
[0236] In one embodiment, the processor 110 performs the following steps when establishing a reference user browsing behavior global graph based on the reference historical search browsing behavior sequence and extracting at least one reference browsing behavior sequence chain for the reference user object from the reference user browsing behavior global graph:
[0237] Determine the information items in the reference historical search and browsing behavior sequence, sort the information items with a time sequence as a reference to obtain a node sequence including all information item nodes, extract an information item edge set including all information item edges from the reference historical search and browsing behavior sequence with the node sequence as a reference, establish user edge relationships between all reference user objects and the information item nodes, and generate a user edge relationship set including all the user edge relationships;
[0238] Performing graph connection processing based on the node sequence, the edge set, and the user edge relationship set to obtain a global graph of reference user browsing behavior;
[0239] The reference user browsing behavior global graph is subjected to sequence chain splitting processing to obtain at least one reference browsing behavior sequence chain.
[0240] In one embodiment, after executing the step of sending the user interest representation, the search user representation, and the target search request to the information recommendation engine so as to perform information recommendation processing on the user object in response to the target search request through the information recommendation engine, the processor 110 further performs the following steps:
[0241] Collecting the actual search and browsing behavior sequence of the user object for the information recommendation item, and determining the actual user interest representation of the user object based on the actual search and browsing behavior sequence;
[0242] The information sequence inference model is calibrated based on the actual user interest representation.
[0243] In one or more embodiments of the present application, an electronic device receives a target search request input by a user object, determines user attribute information and a historical search browsing behavior sequence for the user object, and accurately constructs and determines a user interest representation and a search user representation by comprehensively utilizing the user's attribute information and historical search browsing behavior. Then, in combination with the user's real-time search request, personalized information recommendation processing is performed through an information recommendation engine. This can effectively integrate the user's long-term interests and current search needs, achieve highly personalized promotional information recommendations, improve user satisfaction, and help increase the user's click-through rate and interaction rate on recommended content, thereby improving the platform's conversion efficiency and user stickiness.
[0244] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0245] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. An information recommendation method, characterized in that: The method comprises: Receive a target search request input by a user object, and determine user attribute information and a historical search and browsing behavior sequence for the user object; Determine the user interest representation and the search user representation of the user object based on the user attribute information and the historical search and browsing behavior sequence; The user interest representation, the search user representation and the target search request are sent to an information recommendation engine, so that the information recommendation engine performs information recommendation processing on the user object in response to the target search request.
2. The method according to claim 1, characterized in that The determining of the user interest representation and the search user representation of the user object based on the search term, the user attribute information and the historical search and browsing behavior sequence includes: Based on the user attribute information and the historical search and browsing behavior sequence, an information sequence reasoning model is used to perform search interest analysis processing on the user object to obtain a user interest representation and a search user representation.
3. The method according to claim 2, characterized in that The method of performing search interest analysis on the user object based on the user attribute information and the historical search and browsing behavior sequence using an information sequence inference model to obtain a user interest representation and a search user representation includes: Based on the user attribute information and the historical search browsing behavior sequence, the user interest representation and search user representation corresponding to the user object are determined in the user search key-value library through the information sequence reasoning model. The user search representation library includes a reference user interest representation and a reference search user representation corresponding to the reference user object. The reference user interest representation and the reference search user representation are processed by the information sequence reasoning model for searching the reference user object and then saved to the user search representation library.
4. The method according to claim 2, characterized in that: The method of performing search interest analysis on the user object based on the user attribute information and the historical search and browsing behavior sequence using an information sequence inference model to obtain a user interest representation and a search user representation includes: A global graph of user browsing behavior is established based on the user attribute information and the historical search browsing behavior sequence, at least one browsing behavior sequence chain for the user object is extracted from the global graph of user browsing behavior, and the user attribute information and the browsing behavior sequence chain are input into the information sequence inference model for search interest analysis and processing to output user interest representation and search user representation.
5. The method according to claim 3, characterized in that: The method further comprises: Acquire reference history search and browsing behavior sequences and reference user attribute information corresponding to a plurality of reference user objects, establish a reference user browsing behavior global graph based on the reference history search and browsing behavior sequences, and extract at least one reference browsing behavior sequence chain for the reference user object from the reference user browsing behavior global graph; The reference user attribute information and the reference browsing behavior sequence chain are input into the information sequence reasoning model for search interest parsing and processing to output a reference user interest representation and a reference search user representation, and a user search key-value library associated with the information sequence reasoning model is created based on the reference user interest representation and the reference search user representation.
6. The method according to claim 5, characterized in that The method further comprises: Based on the reference user attribute information of the reference user object and the reference browsing behavior sequence chain, sample training data of at least one sample user object is selected, and output result labels are annotated for the sample training data, wherein the output result labels include user interest representation labels and search user representation labels; Based on the sample training data, at least one round of model training is performed on the initial information sequence inference model. During the model training process, the initial information sequence inference model is used to determine a predicted output result for the sample training data, wherein the predicted output result includes a predicted user interest representation and a predicted search user representation; The model calculation loss is determined based on the predicted output result and the output result label, and the model calculation loss is used to adjust the model parameters of the initial information sequence inference model until the initial information sequence inference model completes model training to obtain an information sequence inference model.
7. The method according to claim 5, characterized in that The step of establishing a reference user browsing behavior global graph based on the reference historical search browsing behavior sequence, and extracting at least one reference browsing behavior sequence chain for the reference user object from the reference user browsing behavior global graph includes: Determine the information items in the reference historical search and browsing behavior sequence, sort the information items with a time sequence as a reference to obtain a node sequence including all information item nodes, extract an information item edge set including all information item edges from the reference historical search and browsing behavior sequence with the node sequence as a reference, establish user edge relationships between all reference user objects and the information item nodes, and generate a user edge relationship set including all the user edge relationships; Performing graph connection processing based on the node sequence, the edge set, and the user edge relationship set to obtain a global graph of reference user browsing behavior; The reference user browsing behavior global graph is subjected to sequence chain splitting processing to obtain at least one reference browsing behavior sequence chain.
8. The method according to claim 2, characterized in that: After sending the user interest representation, the search user representation and the target search request to the information recommendation engine so that the information recommendation engine performs information recommendation processing on the user object in response to the target search request, the method further includes: Collecting the actual search and browsing behavior sequence of the user object for the information recommendation item, and determining the actual user interest representation of the user object based on the actual search and browsing behavior sequence; The information sequence inference model is calibrated based on the actual user interest representation.
9. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 8.
10. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps as claimed in any one of claims 1 to 8.
Citation Information
Patent Citations
Buddhist recommendation processing method and device, computer equipment and storage medium
CN113158057A
Video content recommendation method and device
CN118233673A
Cited By
Interaction content prediction method and device, storage medium and electronic equipment
CN119293286A
Interactive content prediction method, device, storage medium and electronic device
CN119293286B
Article recommendation method, computing device, electronic device and storage medium
CN119831686A
