An item cold start recommendation method and device for reinforcing new user features
By constructing shallow and deep pyramid models and dynamically adjusting weights using new user tag features, the cold start problem caused by insufficient new user features is solved, thereby improving recommendation accuracy and user experience.
Patent Information
- Application Number
- CN202311417781.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-27
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-10-27
AI Technical Summary
In existing technologies, insufficient new user features lead to poor cold start recommendation performance. This is especially true in the early stages of target recommendation applications when new users have sparse online behavior and insufficient preference information, resulting in limited training data and easy susceptibility to being misled by existing users, thus failing to meet expectations for recommendation performance.
By acquiring a sample feature dataset, a cold-start recommendation model for items, including a shallow pyramid model and a deep pyramid model, is constructed. The feature weights are dynamically adjusted using new user tag features to strengthen new user features and improve recommendation accuracy.
It improves the accuracy of cold start recommendations when there is insufficient information for new users, adapts to different scenarios, and enhances the user experience.
Smart Images

Figure CN117540080B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of sequence recommendation technology, and in particular to a method and apparatus for cold-start item recommendation that enhances the characteristics of new users. Background Technology
[0002] Targeted recommendation apps help users access the most valuable content promptly. The more accurate and efficient the recommendations, the better the user experience and the higher the user rating. However, targeted recommendation apps often have a large number of new users and items, and the data on these new users and items is insufficient. For example, when new users have limited basic information, it's difficult to immediately identify items that match or are similar to their interests for recommendation, leading to the cold start problem. This is especially true when targeted recommendation apps are relatively new and in their early stages of promotion, with many new users. The limited online behavior and preference information of these new users, coupled with insufficient training data, makes them susceptible to being influenced by existing users, resulting in recommendations for new users falling short of expectations.
[0003] Therefore, how to make good use of new user characteristics, enhance the adaptability of new user characteristics to different scenarios, and improve the accuracy of cold start recommendations when user information is insufficient are technical problems that need to be solved. Summary of the Invention
[0004] In view of this, embodiments of this application provide a method, apparatus, electronic device, and storage medium for cold start recommendation of items with enhanced new user characteristics, in order to solve the problem that the accuracy of cold start recommendation results based on new user characteristics in the prior art is not high.
[0005] A first aspect of this application provides a method for cold-starting item recommendation that enhances new user characteristics, including:
[0006] Obtain a sample feature dataset; the sample features include user features, item features, and user-item cross features, wherein the user features include at least new user label features;
[0007] Construct an item cold start recommendation model; the item cold start recommendation model includes a shallow pyramid model and a deep pyramid model;
[0008] The user features, the item features, and the user-item cross features are input into the shallow pyramid model to obtain weight values corresponding to the user features, the item features, and the user-item cross features, respectively.
[0009] The user features, item features, and user-item cross-features, adjusted with corresponding weight values, are input into the deep pyramid model to obtain cold start recommendation results for items.
[0010] A second aspect of this application provides an item cold start recommendation device that enhances new user characteristics, comprising:
[0011] The sample feature data acquisition module is configured to acquire a sample feature dataset; the sample features include user features, item features, and user-item cross features, wherein the user features include at least new user tag features.
[0012] The item cold start recommendation model construction module is configured to construct an item cold start recommendation model; the item cold start recommendation model includes a shallow pyramid model and a deep pyramid model;
[0013] The feature weight optimization module is configured to input the user features, the item features, and the user-item cross features into the shallow pyramid model to obtain weight values corresponding to the user features, item features, and user-item cross features, respectively.
[0014] The cold start recommendation result acquisition module is configured to input the user features, the item features, and the user-item cross features, adjusted with corresponding weight values, into the deep pyramid model to obtain the cold start recommendation result.
[0015] A third aspect of this application provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method described in the first aspect.
[0016] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method described in the first aspect.
[0017] The beneficial effects of this application's embodiments compared to existing technologies include at least the following: First, this application's embodiments obtain a sample feature dataset; the sample features include user features, item features, and user-item cross-features, wherein user features at least include new user tag features; a cold-start recommendation model for items is constructed; the cold-start recommendation model for items includes a shallow pyramid model and a deep pyramid model; user features, item features, and user-item cross-features are input into the shallow pyramid model to obtain weight values corresponding to the user features, item features, and user-item cross-features respectively; the user features, item features, and user-item cross-features adjusted with corresponding weight values are input into the deep pyramid model to obtain the cold-start recommendation results for items. This application enhances the adaptability of new user features to different scenarios and improves the accuracy of cold-start recommendations when user information is insufficient by adjusting feature weights through new user features. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is one of the flowcharts illustrating the cold start recommendation method for items that enhances new user characteristics provided in this application embodiment;
[0020] Figure 2 This is the second flowchart illustrating the cold start recommendation method for enhancing new user characteristics provided in this application embodiment;
[0021] Figure 3 This is the third flowchart illustrating the cold start recommendation method for enhancing new user characteristics provided in this application embodiment;
[0022] Figure 4 This is the fourth flowchart of the item cold start recommendation method that enhances new user characteristics provided in the embodiments of this application;
[0023] Figure 5 This is the fifth flowchart illustrating the cold start recommendation method for enhancing new user characteristics provided in this application embodiment;
[0024] Figure 6 This is a schematic diagram of the structure of the item cold start recommendation device that enhances new user characteristics provided in the embodiments of this application;
[0025] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0026] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0027] The following describes in detail, with reference to the accompanying drawings, an item cold start recommendation method, apparatus, electronic device, and storage medium for enhancing new user characteristics according to embodiments of this application.
[0028] As described in the background technology, target recommendation applications can help users obtain the most valuable content in a timely manner. The more accurate and efficient the recommendation results of target recommendation applications, the better the user experience will be, and the higher the user's evaluation of target recommendation applications will be. In sequence recommendation tasks, the CNN-base model is commonly used. This is a sequence recommendation model based on convolutional neural networks. Its main process is as follows: (1) Input representation, that is, the input sequence (such as text, music, video, etc.) is represented as a matrix, where each row represents a time step and each column represents a feature. (2) Convolutional layer, that is, the local features of the input sequence are extracted through a series of convolutional layers. Each convolutional layer consists of multiple convolutional kernels. Each convolutional kernel performs convolution operation on a part of the input matrix to extract the local features of that part. Convolution operation can be implemented by sliding window. (3) Pooling layer, that is, after the convolutional layer, the pooling layer is used to further extract the features of the input sequence. The pooling layer usually adopts max pooling or average pooling, and selects the maximum value or average value from the output of each convolutional kernel as the output of the convolutional kernel. (4) Unfolding layer: The output of the pooling layer is unfolded into a one-dimensional vector, which is then used as the input to the fully connected layer. (5) Fully connected layer: Multiple fully connected layers can be used to improve the model's representational power. Each fully connected layer can contain multiple neurons. The fully connected layer can perform feature combination and classification of the input sequence. (6) Output layer: The output layer is determined according to the specific task requirements. For example, in text recommendation tasks, a softmax layer can be used to output the probability of each word, and the word with the highest probability can be selected as the recommendation result. Through the above process, the CNN-based sequence recommendation model can learn the local and global features of the input sequence and can effectively handle sequences of different lengths. During training, the backpropagation algorithm can be used to update the model parameters, enabling the model to better adapt to the training data. During prediction, the input sequence can be fed into the model, and recommendations can be made based on the model's output.
[0029] However, due to the large number of new users and items in target recommendation applications, the data on these new users and items is insufficient. For example, when the basic information of new users is limited, it is difficult to immediately identify items that match or are similar to their interests for recommendation, which is known as the cold start problem. Especially when target recommendation applications are relatively new and in the early stages of promotion, with many new users, the lack of training data and the scarcity of online behavior and preference information for these new users makes them susceptible to being misled by existing users, resulting in recommendations for new users not meeting expectations.
[0030] The essence of the cold start problem is to address the issue of missing data in recommendation systems. Based on the extent of data scarcity, the cold start problem can be summarized into three scenarios: user cold start, item cold start, and system cold start. Regardless of the application domain, recommendation systems universally face the cold start problem, a challenge that every system must overcome. For example, when using collaborative filtering algorithms, the system will encounter the cold start problem due to the characteristics of collaborative filtering. Currently, methods that have proven effective in solving the cold start problem include hybrid recommendation systems, those based on user interests, and those integrating other data sources.
[0031] The inventors retrieved domestic and international solutions for addressing the cold start problem in sequence recommendation. For example, a hybrid recommendation model scores users and items based on their discrepancies, then combines trust-based recommendation with item-based collaborative filtering. This algorithm uses the user's social network to replace similar neighbors in traditional nearest-neighbor collaborative filtering, thus mitigating the cold start problem to some extent. Other solutions utilize content-based hybrid approaches based on cross-layer association rules, integrating knowledge-based algorithms with collaborative filtering. Researchers have proposed a recommendation framework based on Deep Q-Networks that integrates CNN and GAN models, and also provide a recommendation model that embeds convolutional sequences to capture user positive feedback sequence preferences. A GAN framework is used to learn the relevance distribution of user negative feedback, and the generated negative feedback sequences of relevant positive feedback are used to achieve better relevance estimation, automatically learning the optimal recommendation strategy. Furthermore, a CNN-based label recommendation model based on attention mechanisms fully leverages the significant advantages of deep neural networks, employing CNNs to perform recommendation tasks. A novel attention-based CNN framework is proposed, combining local and global attention channels.
[0032] To address the cold start problem based on user interests, some researchers have proposed a user interest representation method based on probabilistic topic models and established an interest enhancement model based on random walks. A three-layer model was designed: one layer for users, one for interests, and one for items. The probabilistic topic model is used to obtain the user's current preferences. Then, a user interest expansion and preference transfer algorithm based on random walks is proposed to suggest items that match the user's interests and recommend them to the user.
[0033] To address the cold start problem by integrating other data sources, a hybrid recommendation method based on profile unfolding technology has been proposed. This method considers not only user rating data but also user demographic data to enrich the user's neighborhood set. By integrating features such as time, text, and relevance into the model, it can effectively improve the performance of projects during cold starts.
[0034] Furthermore, the inventors have also discovered a method to address the cold start problem in movie recommendations, proposing a method for constructing a knowledge graph and linking open data on this basis. Addressing the common cold start problem in collaborative filtering algorithms, an optimization method based on ant colony optimization is proposed to combine user or item content information. Other researchers have designed a preference pattern reflecting a person's frequently recurring major purchasing behaviors mined from item sequences over a period of time. By sampling a training set from non-cold-start users with similar preferences for items, sequential pattern mining and classification techniques are combined. In addition, to address the cold start problem for new users, traditional similarity calculation methods are improved through neural learning. Some researchers use collaborative tags, which perform well in cases of data sparsity and user cold start; based on this, collaborative tags are used to analyze user interest in items. Recently, further researchers have combined implicit relationships between users' item preferences and additional classification preferences to produce higher-quality recommendations while alleviating the cold start problem.
[0035] This application focuses on a solution for cold start recommendations of items for new users. Therefore, how to make good use of the characteristics of new users, strengthen the characteristics of new users to adapt to different scenarios, and improve the accuracy of cold start recommendations when user information is insufficient are technical problems that need to be solved.
[0036] It should be noted that this application uses a property recommendation service as the recommendation scenario for detailed explanation. Therefore, in the following description of the embodiments, items may be replaced by property listings. However, it should be understood that the method for solving the cold start problem for new users proposed in this application can be applied to other scenarios besides property recommendations, such as e-commerce recommendations, short video recommendations, etc. That is, items can be not only property listings, but any item that needs to be recommended, which will not be elaborated here.
[0037] like Figure 1 The diagram shown is a flowchart of a cold-start item recommendation method for enhancing new user characteristics according to this application. The method includes:
[0038] S101: Obtain the sample feature dataset; the above sample features include user features, item features and user-item cross features, wherein the above user features include at least the new user label features.
[0039] S102: Construct a cold start recommendation model for items; the above cold start recommendation model for items includes a shallow pyramid model and a deep pyramid model.
[0040] S103: Input the above user features, the above item features, and the above user-item cross features into the above shallow pyramid model to obtain the weight values corresponding to the above user features, the above item features, and the above user-item cross features, respectively.
[0041] S104: Input the above user features, above item features and above user-item cross features, adjusted with the corresponding weight values, into the deep pyramid model to obtain the cold start recommendation results for items.
[0042] This embodiment uses housing as an example to illustrate the concept. Specifically, the aforementioned user characteristics include new user tags, basic user information, user preferences, online user behavior, and offline user behavior. New user tags distinguish between new and existing users based on the richness of their basic information; users with less than 20% of their basic information are marked as new users, otherwise as existing users. Basic user information includes user ID, age, gender, city, membership level, and membership points. User preferences include location, apartment type, price, decoration, building age, city, and whether it's a school district property. Online user behavior includes clicking, following, online consultations with real estate advisors, and sharing. Offline user behavior includes viewing properties in person and visiting physical stores.
[0043] Specifically, property characteristics include basic property information, property quality, and supply and demand. Basic property information includes property ID, location within the community, area, orientation, floor, and total number of floors; property quality includes its age, renovation level, and availability of facilities; and supply and demand includes listing time, page views, popularity, and transaction rate.
[0044] It should be noted that the core idea of this application is to treat new users and old users as two separate scenarios, and to solve the user cold start problem by leveraging multi-scenario recommendation to increase the model's attention to new users. Therefore, in the embodiments, the new user tag features are added to a position closer to the final goal to exert a more direct and powerful influence; the new user tag features act as a referee, dynamically adjusting the weights of other input features, so that the model automatically amplifies the importance of features that are friendly to new users when facing new users.
[0045] In some embodiments, the shallow pyramid model described above includes a general feature extraction network and a scene feature extraction network.
[0046] Specifically, the aforementioned shallow tower sub-model is a machine learning technique used in deep learning models to predict positional deviation information. It is a lightweight model that uses features related to positional deviation as input. The output of the shallow tower is then added to a sigmoid function preceding the output of the deep tower. Therefore, the workflow of the shallow tower generally involves training a model with both deep and shallow towers using generalized features. Whenever new data enters the offline system, the generalized features of the data are extracted and input into the trained model, and the model's output is used to predict positional deviation information.
[0047] In some embodiments, the general feature extraction network comprises a plurality of first fully convolutional neural network layers connected in series and a Sigmoid activation layer configured after each first fully convolutional neural network layer.
[0048] In some embodiments, the scene feature extraction network includes multiple independent second fully convolutional neural network layers, and the number of the second fully convolutional neural network layers is the same as the number of the first fully convolutional neural network layers in the general feature extraction network.
[0049] In some embodiments, the scene feature extraction network is configured to obtain new user scene features based on the new user tags, and to merge the new user scene features with the general feature extraction network and generate weights for the corresponding features using a dynamic weighting strategy; the general feature extraction network is configured to cooperate with the scene feature extraction network to obtain weight values corresponding to the user features, the item features and the user-item cross features respectively.
[0050] Specifically, dynamic weighting strategies are widely used to solve various problems, such as machine learning, optimization, and data mining. By flexibly adjusting weights, dynamic weighting strategies can improve algorithm performance under different conditions, making the algorithm more adaptable and having better generalization ability. The core idea of dynamic weighting strategies is to automatically adjust the weights of different features or variables according to the different characteristics and requirements of the problem to achieve better results. These weights can change in real time during the execution of the algorithm to adapt to different environments and needs. The advantage of dynamic weighting strategies is that they provide a flexible way to balance multiple factors to obtain better results. In practical applications, a common example of dynamic weighting strategies is the feature selection problem in machine learning. Feature selection refers to selecting the most informative features from raw data for model building. In traditional feature selection methods, statistical methods or heuristic algorithms are usually used to select features, but these methods often ignore the correlation and interaction between features. Dynamic weighting strategies, on the other hand, can improve the accuracy and robustness of feature selection by adaptively adjusting the weight of each feature and considering the correlation between features.
[0051] In some embodiments, the user features, item features, and user-item cross-features are input into the shallow pyramid model to obtain weight values corresponding to the user features, item features, and user-item cross-features, respectively. Figure 2 As shown, it includes:
[0052] S211: Input the above user features, the above item features, and the above user-item cross features into the first fully convolutional neural network layer;
[0053] S212: Input the above-mentioned new user label features into the second fully convolutional neural network layer; wherein each second fully convolutional neural network layer is configured with a preset Stride value;
[0054] S213: Input the output features of the first fully convolutional neural network layer and the corresponding output features of the second fully convolutional neural network layer into the corresponding sigmoid activation layer until all the first fully convolutional neural network layers are passed, and obtain the weight values corresponding to the above-mentioned user features, the above-mentioned item features and the above-mentioned user-item cross features respectively.
[0055] Specifically, the dynamic weighting strategy described above is implemented using the LHUC algorithm. LHUC stands for Learning HiddenUnit Contribution, a weighted learning algorithm. It addresses bias by adding parameters to the neural network, specifically a weight parameter for each hidden unit. The LHUC algorithm improves the performance of the neural network by adjusting the weights of the hidden units. During training, each hidden unit in the network is assigned a weight to determine its proportion. In this way, the LHUC algorithm enhances the training ability and generalization ability of the neural network. The LHUC algorithm has wide application value in practical applications. Implementing this algorithm requires adding a weight parameter to each hidden unit.
[0056] Specifically, one embodiment of this application is implemented as follows: Figure 3 As shown. First, the input to this shallow pyramid model is the sample features we obtained, including user features, property features, and user-property interaction features. Through the above network, the new user tag features are fully cross-referenced with the above features, and through dynamic weight adjustment of the new user tag features, the importance of the new user tag features is increased. In the specific implementation, refer to... Figure 3 The shallow pyramid model includes a general feature extraction network and a scene feature extraction network. The general feature extraction network consists of multiple fully convolutional neural network layers connected in series and a sigmoid activation layer configured after each fully convolutional neural network layer. Figure 3Three cascaded fully convolutional neural networks (LCNs) were selected as hidden layers, each with a sigmoid activation layer at its output, forming a general feature extraction network. The scene feature extraction network consisted of multiple independent LCN layers, the same number as the general feature extraction network, thus also comprising three LCNs. However, the LCNs in the scene feature extraction network and the general feature extraction network were not required to have the same network structure. Furthermore, according to the LHUC algorithm, each LCN in the scene feature extraction network had a different stride value, such as... Figure 3 As shown, the Stride values are 32, 16, and 8, respectively.
[0057] In some embodiments, the user features, item features, and user-item cross-features adjusted with weighted values are input into a deep pyramid model to obtain cold-start item recommendation results, such as... Figure 4 As shown, it includes:
[0058] S411: Obtain the embedded representation features corresponding to the above user features, the above item features, and the above user-item cross features respectively;
[0059] S412: Multiply the corresponding weight values by the embedding representation features corresponding to the above user features, the above item features and the above user-item cross features respectively to obtain the weighted embedding representation features corresponding to the above user features, the above item features and the above user-item cross features.
[0060] S413: Input the weighted embedded representation features corresponding to the above user features, the above item features, and the above user-item cross features into the deep pyramid model to obtain the cold start recommendation results for items; the above deep pyramid model is constructed based on a deep learning sequence recommendation model.
[0061] Specifically, such as Figure 5 As shown, after obtaining a series of weights through the LHUC algorithm, the weights are multiplied by the corresponding feature embedding representation vectors, and then input into the deep pyramid model. This incorporates the feature of whether the user is a new user throughout the entire model training process. The model training process will not be elaborated upon in this application. Furthermore, the deep pyramid model can use a deep learning neural network (DNN) as the main model for sequence recommendation, or it can use sequence models such as RCNN, DIN, and RNN, all of which are within the protection scope of the technical features of this application.
[0062] This application first obtains a sample feature dataset; the sample features include user features, item features, and user-item cross-features, wherein user features include at least new user tag features; a cold-start recommendation model for items is constructed; the cold-start recommendation model for items includes a shallow pyramid model and a deep pyramid model; user features, item features, and user-item cross-features are input into the shallow pyramid model to obtain weight values corresponding to user features, item features, and user-item cross-features respectively; the user features, item features, and user-item cross-features adjusted with corresponding weight values are input into the deep pyramid model to obtain the cold-start recommendation results for items. This application enhances the adaptability of new user features to different scenarios, and improves the accuracy of cold-start recommendations when user information is insufficient by adjusting feature weights through new user features.
[0063] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.
[0064] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the system embodiments of this application, please refer to the method embodiments of this application.
[0065] Figure 6 This is a schematic diagram of an item cold start recommendation device that enhances new user characteristics, provided in an embodiment of this application. Figure 6 As shown, the item cold start recommendation device that enhances new user characteristics includes:
[0066] The sample feature data acquisition module 601 is configured to acquire a sample feature dataset; the sample features include user features, item features and user-item cross features, wherein the user features include at least new user tag features.
[0067] The item cold start recommendation model construction module 602 is configured to construct an item cold start recommendation model; the item cold start recommendation model includes a shallow pyramid model and a deep pyramid model;
[0068] The feature weight optimization module 603 is configured to input the aforementioned user features, the aforementioned item features, and the aforementioned user-item cross features into the aforementioned shallow pyramid model to obtain weight values corresponding to the aforementioned user features, the aforementioned item features, and the aforementioned user-item cross features, respectively.
[0069] The cold start recommendation result acquisition module 604 is configured to input the aforementioned user features, the aforementioned item features, and the aforementioned user-item cross features, which have been adjusted with corresponding weight values, into the deep pyramid model to obtain the cold start recommendation result for the item.
[0070] It should be understood that the item cold start recommendation device for enhancing new user characteristics according to the embodiments of this specification can also perform... Figures 1 to 5A method for implementing a cold start recommendation device for items that enhances new user characteristics, and how to implement such a device in [the context of the previous sentence]. Figures 1 to 5 The functions of the examples shown will not be repeated here. Furthermore, the sequence numbers of the steps in the above embodiments do not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0071] Figure 7 This is a schematic diagram of the electronic device 7 provided in an embodiment of this application. Figure 7 As shown, the electronic device 7 of this embodiment includes a processor 701, a memory 702, and a computer program 703 stored in the memory 702 and executable on the processor 701. When the processor 701 executes the computer program 703, it implements the steps in the various method embodiments described above. Alternatively, when the processor 701 executes the computer program 703, it implements the functions of each module / unit in the various device embodiments described above.
[0072] Electronic device 7 can be a desktop computer, laptop, handheld computer, cloud server, or other electronic device. Electronic device 7 may include, but is not limited to, processor 701 and memory 702. Those skilled in the art will understand that... Figure 7 This is merely an example of electronic device 7 and does not constitute a limitation on electronic device 7. It may include more or fewer components than shown, or different components.
[0073] The memory 702 can be an internal storage unit of the electronic device 7, such as a hard disk or RAM of the electronic device 7. The memory 702 can also be an external storage device of the electronic device 7, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc., equipped on the electronic device 7. The memory 702 can also include both internal and external storage units of the electronic device 7. The memory 702 is used to store computer programs and other programs and data required by the electronic device.
[0074] Processor 701 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 701 reads the corresponding computer program from non-volatile memory into memory and then executes it, forming a shared resource access control device at the logical level. The processor executes the program stored in memory and specifically performs the following operations:
[0075] Obtain a sample feature dataset; the sample features include user features, item features, and user-item cross features, wherein the user features include at least new user label features;
[0076] Construct a cold start recommendation model for items; the above cold start recommendation model includes a shallow pyramid model and a deep pyramid model;
[0077] The aforementioned user features, item features, and user-item cross-features are input into the aforementioned shallow pyramid model to obtain weight values corresponding to the aforementioned user features, item features, and user-item cross-features, respectively.
[0078] The user features, item features, and user-item cross features, adjusted with appropriate weights, are input into the deep pyramid model to obtain cold start recommendation results for items.
[0079] The above is as described in this instruction manual. Figures 1 to 5The item cold start recommendation method for enhancing new user characteristics disclosed in the illustrated embodiment can be applied to, or implemented by, processor 701. Processor 701 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor described above can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this specification. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this specification can be directly implemented by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.
[0080] Of course, in addition to the software implementation, the electronic devices in the embodiments of this specification do not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0081] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0082] If an integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program may include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0083] This specification also provides an embodiment of a computer-readable storage medium that stores one or more programs, the programs including instructions that, when executed by a portable electronic device including multiple applications, enable the portable electronic device to perform... Figures 1 to 5 The illustrated embodiment provides a method for enhancing new user characteristics during cold start item recommendation, specifically for executing the following methods:
[0084] Obtain a sample feature dataset; the sample features include user features, item features, and user-item cross features, wherein the user features include at least new user label features;
[0085] Construct a cold start recommendation model for items; the above cold start recommendation model includes a shallow pyramid model and a deep pyramid model;
[0086] The aforementioned user features, item features, and user-item cross-features are input into the aforementioned shallow pyramid model to obtain weight values corresponding to the aforementioned user features, item features, and user-item cross-features, respectively.
[0087] The user features, item features, and user-item cross features, adjusted with appropriate weights, are input into the deep pyramid model to obtain cold start recommendation results for items.
[0088] In summary, the above description is merely a preferred embodiment of this specification and is not intended to limit the scope of protection of this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.
[0089] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0090] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0091] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0092] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0093] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A cold-start item recommendation method that enhances the characteristics of new users, characterized in that, include: Obtain a sample feature dataset; the sample features include user features, item features, and user-item cross features, wherein the user features include at least new user label features; A cold start recommendation model for items is constructed. The cold start recommendation model for items includes a shallow pyramid model and a deep pyramid model. The shallow pyramid model includes a general feature extraction network and a scene feature extraction network. The deep pyramid model is constructed based on a deep learning sequence recommendation model. The user features, the item features, and the user-item cross features are input into the shallow pyramid model to obtain weight values corresponding to the user features, the item features, and the user-item cross features, respectively. The user features, item features, and user-item cross features, adjusted with appropriate weights, are input into the deep pyramid model to obtain cold start recommendation results for items. The general feature extraction network includes multiple first fully convolutional neural network layers connected in series and a Sigmoid activation layer configured after each first fully convolutional neural network layer; The scene feature extraction network includes multiple independent second fully convolutional neural network layers, and the number of the second fully convolutional neural network layers is the same as the number of the first fully convolutional neural network layers in the general feature extraction network. The scene feature extraction network is configured to obtain new user scene features based on the new user tag, and to fuse the new user scene features with the general feature extraction network, using a dynamic weighting strategy to generate weights for the corresponding features; the general feature extraction network is configured to cooperate with the scene feature extraction network to obtain weight values corresponding to the user features, the item features, and the user-item cross features, respectively. The user features, item features, and user-item cross-features are input into the shallow pyramid model to obtain weight values corresponding to the user features, item features, and user-item cross-features, respectively, including: The user features, the item features, and the user-item cross features are input into the first fully convolutional neural network layer; The new user label features are input into a second fully convolutional neural network layer; wherein each second fully convolutional neural network layer is configured with a preset stride value; The output features of the first fully convolutional neural network layer and the corresponding output features of the second fully convolutional neural network layer are input into the corresponding sigmoid activation layer until all the first fully convolutional neural network layers are passed, and weight values corresponding to the user features, the item features and the user-item cross features are obtained respectively.
2. The method according to claim 1, characterized in that, The user features, item features, and user-item cross-features, adjusted with weighted values, are input into the deep pyramid model to obtain cold-start item recommendation results, including: Embedded representation features corresponding to the user features, the item features, and the user-item cross-features are obtained respectively; The corresponding weight values are multiplied by the embedding representation features corresponding to the user features, the item features, and the user-item cross features, respectively, to obtain the weighted embedding representation features corresponding to the user features, the item features, and the user-item cross features; The weighted embedded representation features corresponding to the user features, the item features, and the user-item cross features are input into the deep pyramid model to obtain the cold start recommendation results for items.
3. A cold-start item recommendation device that enhances new user characteristics, characterized in that, include: The sample feature data acquisition module is configured to acquire a sample feature dataset; the sample features include user features, item features, and user-item cross features, wherein the user features include at least new user tag features. The item cold start recommendation model construction module is configured to construct an item cold start recommendation model; the item cold start recommendation model includes a shallow pyramid model and a deep pyramid model, the shallow pyramid model includes a general feature extraction network and a scene feature extraction network, and the deep pyramid model is constructed based on a deep learning sequence recommendation model; The feature weight optimization module is configured to input the user features, the item features, and the user-item cross features into the shallow pyramid model to obtain weight values corresponding to the user features, item features, and user-item cross features, respectively. The cold start recommendation result acquisition module is configured to input the user features, the item features and the user-item cross features adjusted with corresponding weight values into the deep pyramid model to obtain the cold start recommendation result of the item. The general feature extraction network includes multiple first fully convolutional neural network layers connected in series and a Sigmoid activation layer configured after each first fully convolutional neural network layer; The scene feature extraction network includes multiple independent second fully convolutional neural network layers, and the number of the second fully convolutional neural network layers is the same as the number of the first fully convolutional neural network layers in the general feature extraction network. The scene feature extraction network is configured to obtain new user scene features based on the new user tag, and to fuse the new user scene features with the general feature extraction network, using a dynamic weighting strategy to generate weights for the corresponding features; the general feature extraction network is configured to cooperate with the scene feature extraction network to obtain weight values corresponding to the user features, the item features, and the user-item cross features, respectively. The user features, item features, and user-item cross-features are input into the shallow pyramid model to obtain weight values corresponding to the user features, item features, and user-item cross-features, respectively, including: The user features, the item features, and the user-item cross features are input into the first fully convolutional neural network layer; The new user label features are input into a second fully convolutional neural network layer; wherein each second fully convolutional neural network layer is configured with a preset stride value; The output features of the first fully convolutional neural network layer and the corresponding output features of the second fully convolutional neural network layer are input into the corresponding sigmoid activation layer until all the first fully convolutional neural network layers are passed, and weight values corresponding to the user features, the item features and the user-item cross features are obtained respectively.
4. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 2.
5. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 2.
Citation Information
Patent Citations
Article recommendation method and device
CN116304285A
METHOD AND SERVER FOR SELECTING RECOMMENDATION ELEMENTS FOR THE USER
RU2017140971A3
