Commodity sorting processing method and its device, equipment, medium, and product
Through the combination of the dynamic routing layer and the product sorting model pool, the difference in difficulty range of product sorting in the e-commerce platform is solved, and efficient and accurate product sorting is achieved. It is suitable for e-commerce stores and independent stations, and reduces the cost and time complexity. .
Patent Information
- Application Number
- CN202210234248.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-10
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-03-10
AI Technical Summary
In the existing e-commerce platform, the product sorting processing of e-commerce stores and independent stations has poor reasoning ability due to sparse sample data and cannot be accurately sorted. Furthermore, it is expensive to build a neural network model for each store or site individually, making it difficult to implement. Efficient sorting.
The dynamic routing layer is used to input the comprehensive feature vector of product samples into the routing decision model to determine the difficulty of product sorting, and query the target model in the corresponding product ranking model pool according to the difficulty interval to calculate the ranking score, and dynamically schedule the model to improve the accuracy of sorting. sex and efficiency.
It improves the accuracy and efficiency of product sorting, saves product query service time on e-commerce platforms, is applicable to all e-commerce stores and independent sites, reduces the cost of building and training models, and improves generalization capabilities.
Smart Images

Figure CN114581196B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of online e-commerce, and in particular to a commodity sorting and processing method, and also to corresponding devices, equipment, non-volatile storage media and computer program products of the method. Background Art
[0002] Existing e-commerce platforms generally provide product query services to platform users so that platform users can query the products they need for consumption. After the product query service matches the corresponding products according to the query terms entered by the platform users, it will also sort these products. The sorting of products can generally be carried out with the help of corresponding neural networks to output products that are more in line with the user's shopping habits and preferences to the front of the page, so that users can browse the products they need for consumption as soon as possible.
[0003] Existing e-commerce platforms have a variety of e-commerce stores or independent websites as seller users of the platform, so as to provide seller users with corresponding categories of goods for consumption. Compared with the product sorting processing of the entire e-commerce platform, the platform often needs to separately model the neural networks used for the product sorting processing of different e-commerce stores and independent websites, so that the results output by the product sorting processing of each e-commerce store or independent website are more in line with the user's shopping habits and preferences in the e-commerce store or independent website. However, since the number of views and sample sizes of e-commerce stores and independent websites cannot be compared with those of e-commerce platforms, the neural network model separately constructed for e-commerce stores or independent websites for product sorting has poor reasoning ability due to sparse sample data, and cannot accurately sort out the product rankings that meet user needs for user use. In addition, the workload of separately modeling each e-commerce store and independent website is relatively huge, and the high development cost is not realistic for e-commerce platforms with a large number of e-commerce stores and independent websites.
[0004] In view of the problems existing in the product sorting processing in e-commerce stores and independent sites on existing e-commerce platforms, the applicant has made corresponding explorations in order to solve this problem. Summary of the invention
[0005] The purpose of the present application is to provide a commodity sorting processing method to meet user needs, and also relates to corresponding devices, equipment, non-volatile storage media and computer program products of the method.
[0006] In order to achieve the purpose of this application, the following technical solutions are adopted:
[0007] A commodity sorting processing method proposed for the purpose of this application includes the following steps:
[0008] Extracting a comprehensive feature vector of a product sample to be sorted of a product object to be sorted corresponding to a product query event, wherein the product sample to be sorted includes user feature information, product information to be sorted, and cross-feature information;
[0009] Inputting the comprehensive feature vector into the sample dynamic routing layer to drive the routing decision model in the sample dynamic routing layer to determine the commodity sorting difficulty of the commodity sample to be sorted according to the comprehensive feature vector;
[0010] According to the commodity ranking difficulty, a target commodity ranking model corresponding to the ranking difficulty interval of the commodity ranking difficulty in the commodity ranking model pool is queried, and multiple commodity ranking models in the commodity ranking model pool are stored corresponding to their ranking difficulty intervals;
[0011] The to-be-sorted commodity sample is input into the target commodity sorting model, and the sorting score corresponding to the to-be-sorted commodity sample is obtained to determine the ranking position of the to-be-sorted commodity object in the query commodity ranking.
[0012] In a further embodiment, the method comprises the following preparatory steps:
[0013] Performing text preprocessing on the product query words pushed by the user end, so as to input the product query words into the product query model that has been trained to convergence;
[0014] Acquire multiple to-be-sorted commodity objects output by the commodity query model to obtain to-be-sorted commodity information of the to-be-sorted commodity objects;
[0015] The user characteristic information of the user terminal is obtained to generate the commodity samples to be sorted corresponding to each commodity object to be sorted.
[0016] In a further embodiment, the step of driving the routing decision model in the sample dynamic routing layer to determine the difficulty of sorting the commodity sample to be sorted according to the comprehensive feature vector includes the following steps performed by the routing decision model:
[0017] Acquire the comprehensive feature vector pushed by the server, and push the comprehensive feature vector to the control gate module;
[0018] Obtain one or more expert identifiers output by the control gate module to query the target expert modules corresponding to the expert identifiers in the expert module pool;
[0019] The feature vector is pushed to each of the target expert modules to perform weighted sum calculation on the expert values output by each of the target expert modules, and the calculation result is used as the commodity ranking difficulty of the commodity sample to be ranked.
[0020] In a further embodiment, the step of querying the target product ranking model corresponding to the ranking difficulty interval of the product ranking difficulty in the product ranking model pool includes the following steps executed by the server:
[0021] According to the difficulty value represented by the difficulty of sorting the products, determine the difficulty range in which the difficulty value lies;
[0022] According to the difficulty range in which the difficulty value is located, the target commodity ranking model stored corresponding to the difficulty range is searched in the commodity ranking model pool.
[0023] In a further embodiment, the step of inputting the to-be-ranked commodity sample into the target commodity ranking model to obtain the ranking score corresponding to the to-be-ranked commodity sample includes the following steps performed by the commodity ranking model:
[0024] Calling a feature extraction model that has been trained to convergence to extract user feature information, product information to be sorted, and cross-feature information contained in the product sample to be sorted, so as to obtain a fused feature vector of the product object to be sorted;
[0025] Inputting the fused feature vector into an input layer, so as to calculate a hidden value of the fused feature vector by means of a hidden layer fully connected to the input layer;
[0026] The hidden value is normalized to obtain the ranking score of the commodity object to be ranked.
[0027] In a further embodiment, the method comprises the following post-processing steps:
[0028] Obtain the ranking score of each commodity object to be sorted outputted by each commodity sorting model;
[0029] According to the ranking score of each of the to-be-ranked commodity objects, the to-be-ranked commodity objects in the query commodity ranking are sorted in descending order;
[0030] The sorted query product rankings are pushed to the user end for display.
[0031] A commodity sorting processing device proposed for the purpose of this application includes:
[0032] A feature vector extraction module is used to extract a comprehensive feature vector of a product sample to be sorted of a product object to be sorted corresponding to a product query event, wherein the product sample to be sorted includes user feature information, product information to be sorted, and cross-feature information;
[0033] A sorting difficulty determination module, used to input the comprehensive feature vector into the sample dynamic routing layer to drive the routing decision model in the sample dynamic routing layer to determine the commodity sorting difficulty of the commodity sample to be sorted according to the comprehensive feature vector;
[0034] A target model query module is used to query a target product ranking model corresponding to a ranking difficulty interval of the product ranking difficulty in a product ranking model pool according to the product ranking difficulty, wherein multiple product ranking models in the product ranking model pool are stored corresponding to their ranking difficulty intervals;
[0035] The ranking position determination module is used to input the to-be-ranked commodity sample into the target commodity ranking model, obtain the ranking score corresponding to the to-be-ranked commodity sample, and determine the ranking position of the to-be-ranked commodity object in the query commodity ranking.
[0036] In a further embodiment, the ranking difficulty determination module includes:
[0037] A feature vector push submodule, used for acquiring the comprehensive feature vector pushed by the server, and pushing the comprehensive feature vector to the control gate module;
[0038] A target module query submodule, used to obtain one or more expert identifiers output by the control gate module, so as to query the target expert modules corresponding to these expert identifiers in the expert module pool;
[0039] The ranking difficulty calculation submodule is used to push the feature vector to each of the target expert modules to perform weighted sum calculation on the expert values output by each of the target expert modules, and use the calculation result as the commodity ranking difficulty of the commodity sample to be ranked.
[0040] In a further embodiment, the ranking difficulty determination module includes:
[0041] A difficulty range determination submodule, for determining the difficulty range in which the difficulty value belongs according to the difficulty value represented by the difficulty of sorting the commodities;
[0042] The target model query submodule queries the target commodity ranking model stored in the commodity ranking model pool according to the difficulty interval in which the difficulty value is located.
[0043] In a further embodiment, the ranking position determination module includes:
[0044] A comprehensive feature vector acquisition submodule is used to call a feature extraction model that has been trained to convergence, extract user feature information, product information to be sorted, and cross-feature information contained in the product sample to be sorted, so as to obtain a fused feature vector of the product object to be sorted;
[0045] An activation function calculation submodule, used for inputting the fused feature vector into an input layer, so as to calculate a hidden value of the fused feature vector by means of a hidden layer fully connected to the input layer;
[0046] The ranking score acquisition submodule is used to normalize the hidden value to obtain the ranking score of the commodity object to be sorted.
[0047] In order to solve the above technical problems, an embodiment of the present application also provides a computer device, including a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the above-mentioned commodity sorting processing method.
[0048] In order to solve the above technical problems, an embodiment of the present application further provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the above-mentioned commodity sorting processing method.
[0049] In order to solve the above technical problems, the embodiments of the present application also provide a computer program product, including a computer program and computer instructions. When the computer program and computer instructions are executed by a processor, the processor executes the steps of the above-mentioned commodity sorting processing method.
[0050] Compared with the prior art, the advantages of this application are as follows:
[0051] The present application constructs a query product ranking system that can be applied to all e-commerce stores and independent sites in the e-commerce platform. The server extracts the comprehensive feature vector of the product sample of the queried product object, and inputs the comprehensive feature vector into the dynamic routing layer. The dynamic routing layer is responsible for judging the difficulty of product ranking corresponding to the product sample, and then pushing the product sample to the corresponding product ranking model in the product ranking model pool for ranking score calculation, so as to determine the ranking position of the product object in the queried product ranking according to the ranking score, that is, the present application can route product samples of different ranking difficulties to the corresponding product ranking model in the product ranking model pool for ranking processing through the dynamic routing layer. Each product ranking model in the product ranking model pool has its own corresponding difficulty range. The product ranking model with a higher difficulty range has a stronger reasoning ability, so that it has the ability to judge the product object corresponding to the sample with higher ranking difficulty in the query product. The ranking position in the ranking, thereby improving the accuracy of the sorting processing of the products corresponding to these samples, so as to sort the product rankings that are in line with the user's consumption habits and preferences. However, at the same time, the model with higher reasoning ability has a larger network depth or width, which makes its reasoning time complexity higher. For samples with lower sorting difficulty, there is no need to push them to the product sorting model with higher reasoning ability for sorting processing. Through the dynamic routing layer, samples with lower sorting difficulty are pushed to the product sorting model with lower reasoning difficulty but lower time complexity, so as to improve the efficiency of product sorting processing, save time on product sorting processing in the entire product query service, and improve the effectiveness and efficiency of the product query service. From another perspective, the query product sorting system of the present application can dynamically schedule each product sorting model in the product sorting model pool, and call the corresponding model to infer the product samples matching it for product sorting processing.
[0052] Secondly, each product ranking model in the product ranking model pool of the product ranking system constructed in the present application that is more suitable for use also performs training sample screening and processing through the dynamic routing layer during model training, so that each product ranking model can be trained using training samples suitable for its network structure, thereby improving the training efficiency of each product ranking model, and the sample data owned by the e-commerce platform can be pushed to the dynamic routing layer as training samples for routing, so as to improve the training samples of each product ranking model and effectively improve the generalization ability of each product ranking model. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0054] Figure 1 A schematic diagram of a typical network deployment architecture related to implementing the technical solution of this application;
[0055] Figure 2A flowchart of a typical embodiment of the commodity sorting processing method of the present application;
[0056] Figure 3 A flowchart of a specific implementation method of a product query event triggered by a user terminal in this application;
[0057] Figure 4 A flowchart of a specific implementation method of the present application for determining the difficulty of sorting commodities of commodity samples to be sorted by a routing decision model;
[0058] Figure 5 A flowchart of a specific implementation method of querying a target product ranking model from a product ranking model pool according to the present application;
[0059] Figure 6 A flowchart of a specific implementation method of determining the ranking scores of the commodity objects to be ranked by the commodity ranking model of this application;
[0060] Figure 7 A flowchart of a specific implementation method of the present application for sorting the ranking of queried products according to the ranking scores of each product object to be sorted;
[0061] Figure 8 This is a principle block diagram of a typical embodiment of the commodity sorting processing device of the present application;
[0062] Fig. 9 This is a basic structural block diagram of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION
[0063] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present application.
[0064] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0065] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.
[0066] It will be understood by those skilled in the art that the "client", "terminal" and "terminal device" used herein include both devices with wireless signal receivers, which are devices with only wireless signal receivers without transmission capabilities, and devices with receiving and transmitting hardware, which are devices with receiving and transmitting hardware capable of two-way communication on a two-way communication link. Such devices may include: cellular or other communication devices such as personal computers, tablet computers, which have single-line displays or multi-line displays or cellular or other communication devices without multi-line displays; PCS (Personal Communications Service, personal communication system), which can combine voice, data processing, fax and / or data communication capabilities; PDA (Personal Digital Assistant, personal digital assistant), which may include a radio frequency receiver, pager, Internet / intranet access, web browser, notepad, calendar and / or GPS (Global Positioning System, global positioning system) receiver; traditional laptop and / or palmtop computers or other devices, which have and / or include radio frequency receivers. The "client", "terminal" and "terminal device" used herein may be portable, transportable, installed in a vehicle (air, sea and / or land), or suitable and / or configured to run locally, and / or in a distributed form, at any other location on the earth and / or in space. The "client", "terminal" and "terminal device" used herein may also be a communication terminal, an Internet terminal, a music / video playback terminal, such as a PDA, a MID (Mobile Internet Device) and / or a mobile phone with a music / video playback function, or a smart TV, a set-top box and other devices.
[0067] The hardware referred to by the names such as "server", "client", and "working node" in this application is essentially an electronic device with capabilities equivalent to those of a personal computer. It is a hardware device that has the necessary components revealed by the von Neumann principle, such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, and an output device. Computer programs are stored in its memory, and the central processing unit calls the program stored in the external memory into the internal memory for execution, executes the instructions in the program, and interacts with the input and output devices to complete specific functions.
[0068] It should be pointed out that the concept of "server" referred to in this application can also be extended to the case of server clusters. According to the network deployment principle understood by those skilled in the art, the servers should be logically divided. In physical space, these servers can be independent of each other but can be called through interfaces, or integrated into a physical computer or a set of computer clusters. Those skilled in the art should understand this flexibility, and should not use it to restrict the implementation of the network deployment method of this application.
[0069] See also Figure 1 , the hardware foundation required for the implementation of the relevant technical solutions of this application can be deployed according to the architecture shown in the figure. The server 80 referred to in this application is deployed in the cloud. As an online server, it can be responsible for further connecting relevant data servers and other servers that provide relevant support, etc., so as to form a logically related service cluster to provide services for relevant terminal devices such as the smartphone 81 and personal computer 82 shown in the figure or a third-party server (not shown). The smartphone and personal computer can access the Internet through a well-known network access method and establish a data communication link with the server 80 in the cloud to run terminal applications related to the services provided by the server.
[0070] For the server, the application is usually constructed as a service process, opening the corresponding program interface for remote calls by applications running on various terminal devices. The relevant technical solutions suitable for running on the server in this application can be implemented in the server in this way.
[0071] The application described herein refers to an application running on a server or terminal device. This application implements the relevant technical solutions of the present application in a programming manner. Its program code can be stored in a non-volatile storage medium recognizable by a computer in the form of computer executable instructions, and can be loaded into the memory by the central processing unit for execution. The relevant device of the present application is constructed by the operation of the application on the computer.
[0072] For the server, the application is usually constructed as a service process, opening the corresponding program interface for remote calls by applications running on various terminal devices. The relevant technical solutions suitable for running on the server in this application can be implemented in the server in this way.
[0073] Those skilled in the art should be aware that, although the various methods of the present application are described based on the same concept and thus present commonality to each other, unless otherwise specified, these methods can be independently executed. Similarly, for each embodiment disclosed in the present application, they are all proposed based on the same inventive concept, therefore, concepts with the same expression, and concepts that are appropriately changed for convenience despite different expressions, should be understood as equivalent.
[0074] See also Figure 2 A commodity sorting processing method of the present application, in its typical embodiment, comprises the following steps:
[0075] Step S11, extracting the comprehensive feature vector of the to-be-sorted product sample of the to-be-sorted product object corresponding to the product query event, wherein the to-be-sorted product sample includes user feature information, to-be-sorted product information and cross-feature information:
[0076] The server determines the commodity object to be sorted corresponding to the commodity query event to extract the comprehensive feature vector of the commodity sample to be sorted corresponding to the commodity object to be sorted, so as to subsequently determine the sorting difficulty of the commodity object to be sorted according to the feature vector.
[0077] The product query event refers to an event triggered by a platform user at the user end using a product query service. Specifically, the product query service provides an e-commerce platform with a service for platform users to search for products existing on the platform. After the platform user enters a product query term in the corresponding product query control, the server will obtain the product query term to call a product query model constructed based on a neural network or use product query rules to determine one or more product objects corresponding to the product query term. These product objects will be used as search product objects to be sorted, so that these product objects can be sorted before being pushed to the user end.
[0078] The commodity objects to be sorted obtained from each query have one-to-one commodity samples to be sorted, so as to determine the sorting score of each commodity object to be sorted according to the commodity samples to be sorted, and then sort the commodity objects to be sorted; the commodity samples to be sorted include the user feature information and commodity information to be sorted, the user feature information is the user feature information corresponding to the user end that triggers the commodity query event, the user feature information includes the user's age information, gender information, address information and other personal information, as well as the user's historical consumption behavior information on the e-commerce platform; the commodity information to be sorted is the commodity information of the commodity object corresponding to the commodity samples to be sorted, and the commodity information to be sorted includes commodity attribute information such as price information, category information and delivery information of the commodity object.
[0079] In addition, the sample of goods to be sorted also includes the cross-feature information, which is a cross-feature used to characterize the user feature information and the product information to be sorted. For example, when the gender information contained in the user feature information is female, and the category information contained in the product information to be sorted is cosmetics, then the gender information and the product category information are cross-features. Correspondingly, when the age information contained in the user feature information is 24 years old, and the category information contained in the product information to be sorted is sports equipment, and the price information contained therein is a low-price feature such as 100 yuan, then the age information, category information and price information are cross-features. Those skilled in the art can design the cross-features of the user feature information and the product information to be sorted in the cross-feature information according to the actual application scenario, which can be specifically achieved by combining cross-features using corresponding neural networks or rules, which will not be elaborated herein.
[0080] After the server obtains the sample of goods to be sorted, it will call the feature extraction model with converged training values to extract the feature vector of the sample of goods to be sorted. The feature extraction model is generally constructed based on a neural network. For example, image feature extraction methods such as SIFT, ORB or HOG are applied to extract image data contained in the user feature information, the product information to be sorted or the cross-feature information, and text feature extraction methods such as TF-IDF, N-Gram or NLP are applied to extract text data contained in the user feature information, the product information to be sorted or the cross-feature information.
[0081] After the feature extraction model extracts the feature vectors corresponding to the user feature information, the product information to be sorted and the cross-feature information respectively, these feature vectors can be fused to generate the comprehensive feature vector that can comprehensively characterize the features of the user feature information, the product information to be sorted and the cross-feature information. When the feature extraction model fuses the feature vectors of each information, a feature fusion algorithm such as TFN or LMF is generally used for feature fusion.
[0082] Step S12, inputting the comprehensive feature vector into the sample dynamic routing layer to drive the routing decision model in the sample dynamic routing layer to determine the commodity sorting difficulty of the commodity sample to be sorted according to the comprehensive feature vector:
[0083] After the server obtains the comprehensive feature vector, it inputs the comprehensive feature vector into the dynamic routing layer so that the routing decision model in the dynamic routing layer obtains the comprehensive feature vector and further outputs the commodity sorting difficulty of the commodity sample to be sorted.
[0084] The dynamic routing layer is responsible for determining the difficulty of sorting the commodity samples to be sorted. The dynamic routing layer has the routing decision model, which outputs the difficulty of sorting the commodity samples to be sorted according to the comprehensive feature vector.
[0085] The routing decision model is generally constructed based on the idea of expert mixture, that is, the Mixture-of-Experts (MoE) model, but the routing decision model generally sets a control gate module on the basis of the expert mixture idea. The routing decision model includes a control gate module and multiple expert modules, wherein the expert module is used to preliminarily predict the difficulty of commodity sorting of the comprehensive feature vector, and the network structure or algorithm structure of each expert module is generally different. Correspondingly, the control gate module determines which target expert modules among the multiple expert modules need to be activated according to the comprehensive feature vector to calculate the comprehensive feature vector, and then performs a weighted sum operation on the results output by each target expert module, so as to use the operation result as the commodity sorting difficulty of the commodity sample to be sorted.
[0086] Of course, the routing basic model can also be an expert mixed model without a control gate module, that is, only multiple expert modules calculate the comprehensive feature vector, and then perform weighted sum operation on the calculation results of each of these expert modules to use the calculation results as the commodity sorting difficulty of the commodity samples to be sorted.
[0087] The commodity sorting difficulty is used to characterize the sorting difficulty of the corresponding commodity samples to be sorted, so that the commodity samples to be sorted can be subsequently input into the corresponding commodity sorting model for sorting according to the commodity sorting difficulty. As mentioned above, the commodity sorting difficulty is generally obtained by the routing decision model through weighted summation of the results output by the corresponding expert modules, that is, each expert module has a corresponding weight. After the routing decision model obtains the results output by the corresponding expert modules, it will perform a weighted summation operation on the output results of the expert modules according to the corresponding weights of each of the expert modules. The operation results are generally normalized so that the numerical value represented by the commodity sorting difficulty obtained by the final operation is within the range of 0-1.
[0088] Step S13, according to the commodity ranking difficulty, query the target commodity ranking model corresponding to the ranking difficulty interval of the commodity ranking difficulty in the commodity ranking model pool, and multiple commodity ranking models in the commodity ranking model pool are stored corresponding to their ranking difficulty intervals:
[0089] After the server determines the commodity ranking difficulty of the commodity sample to be ranked, it will query the target commodity ranking model required to calculate the ranking score for the commodity sample to be ranked from the commodity ranking model pool according to the commodity ranking difficulty.
[0090] The commodity ranking model pool stores a plurality of different commodity ranking models, which are generally composed of different neural network structures, and each commodity ranking model has a corresponding ranking difficulty range, which is used to characterize the difficulty of commodity ranking that each of the commodity ranking models can handle. For example, for a commodity ranking model with a more complex neural network structure and a higher reasoning ability, it can deal with commodity samples to be ranked with a higher difficulty in commodity ranking, so as to ensure that the ranking score calculated by the commodity ranking model for the commodity sample to be ranked is more accurate than that of the commodity ranking model with a lower reasoning ability. Accordingly, the commodity samples to be ranked with a lower difficulty in commodity ranking can be handed over to a commodity ranking model with a simpler neural network structure and a faster reasoning to calculate the ranking score, so as to shorten the time complexity of the commodity samples to be ranked with a lower difficulty in commodity ranking.
[0091] Each product ranking model in the product ranking model pool can also be constructed by the same neural network concept. For example, these product ranking models are all constructed based on the multi-perceptron (MLP) model, but different product ranking models have different numbers of layers in the hidden layer. The product ranking model with more layers has higher reasoning ability but the time complexity is also increased accordingly, while the product ranking model with fewer layers has lower reasoning ability than the model with higher layers, but its time complexity is lower. Correspondingly, the product ranking model with higher number of layers in the hidden layer will have a higher sorting difficulty interval than the product ranking model with lower number of layers. Based on this logic, the sorting difficulty interval of each product ranking model in the product ranking model pool is divided, and the product ranking model and its sorting difficulty interval are stored correspondingly, so that the server can query the target product ranking model with the corresponding sorting difficulty interval in the product ranking model pool according to the product sorting difficulty of the product sample to be sorted for sorting score calculation.
[0092] After the server obtains the difficulty of sorting the goods, it will determine the difficulty value represented by the difficulty of sorting the goods to judge the difficulty range of the goods sample to be sorted, and then query the target goods sorting model stored corresponding to the difficulty range from the goods sorting model pool, so as to input the goods sample to be sorted into the target goods sorting model for sorting score calculation.
[0093] Step S14: input the product sample to be sorted into the target product sorting model, obtain the sorting score corresponding to the product sample to be sorted, and determine the ranking position of the product object to be sorted in the query product ranking:
[0094] After the server queries the corresponding target product ranking model from the product ranking model pool, the sample of the product to be sorted is input into the target product ranking model to determine that the target product ranking model calculates the ranking score corresponding to the product object to be sorted according to the sample of the product to be sorted and outputs it, so that the server determines the ranking position of the product object to be sorted in the query product ranking according to the ranking score.
[0095] The target product ranking model is a neural network model that has been trained to a convergent state. The target product ranking model is generally constructed based on a multi-perceptron (MLP) model. After the target product ranking model obtains the sample of the product to be sorted, it will call a feature extraction model that has been trained to convergence to extract the user feature information, the product information to be sorted and the cross-feature information contained in the sample of the product to be sorted, so as to obtain a fused feature vector composed of the features of these information, and then the fused feature vector is input into the layer, and the hidden value of the fused feature vector is calculated by the hidden layer fully connected to the input layer, and then the hidden value is normalized by the output layer in the target product ranking model to output the ranking score of the product object to be sorted.
[0096] After the server obtains the ranking score output by the target product ranking model, it will determine the ranking position of the product object to be sorted in the query product ranking according to the ranking score. The query product ranking stores the product objects to be sorted queried by the product query event, and these product objects to be sorted will be handed over to the corresponding product ranking model in the product ranking model pool for ranking score calculation, so that the server can sort the product objects to be sorted stored in the query product ranking in descending order according to the respective ranking scores of these product objects to be sorted, so as to push the query product ranking to the user terminal associated with the product query event for display, thereby completing the product query service used by the user terminal.
[0097] Through the typical implementation of this method, it can be known that this method constructs a query product ranking system that can be applied to all e-commerce stores and independent sites in the e-commerce platform. The server extracts the comprehensive feature vector of the product sample of the queried product object, and inputs the comprehensive feature vector into the dynamic routing layer. The dynamic routing layer is responsible for judging the difficulty of product ranking corresponding to the product sample, and then pushing the product sample to the corresponding product ranking model in the product ranking model pool for ranking score calculation, so as to determine the ranking position of the product object in the query product ranking according to the ranking score, that is, this method can route product samples of different ranking difficulties to the corresponding product ranking model in the product ranking model pool for sorting processing through the dynamic routing layer. Each product ranking model in the product ranking model pool has its own corresponding difficulty range. The product ranking model with a higher difficulty range has a stronger reasoning ability, so that it has the ability to judge the product corresponding to the sample with higher ranking difficulty. The ranking position of the object in the query product ranking is improved, thereby improving the accuracy of the ranking processing of the products corresponding to these samples, so as to sort the product ranking that meets the user's consumption habits and preferences. However, at the same time, the model with higher reasoning ability has a larger network depth or width, which makes its reasoning time complexity higher. For samples with lower sorting difficulty, there is no need to push them to the product sorting model with higher reasoning ability for sorting processing. Through the dynamic routing layer, the samples with lower sorting difficulty are pushed to the product sorting model with lower reasoning difficulty but lower time complexity, so as to improve the efficiency of product sorting processing, save the time of product sorting processing in the entire product query service, and improve the effect efficiency of the product query service. From another perspective, the query product sorting system of this method can dynamically schedule each product sorting model in the product sorting model pool, and call the corresponding model to infer the product samples matching it for product sorting processing.
[0098] Secondly, each product ranking model in the product ranking model pool for a higher-level product ranking system constructed by this method also screens and processes training samples through a dynamic routing layer during model training, so that each product ranking model can be trained using training samples suitable for its network structure, thereby improving the training efficiency of each product ranking model. The sample data owned by the e-commerce platform can be pushed to the dynamic routing layer as training samples for routing, thereby improving the training samples of each product ranking model and effectively improving the generalization ability of each product ranking model.
[0099] The above typical embodiments and their variations fully disclose the implementation scheme of the commodity ranking processing method of the present application. However, various variations of the method can still be derived by changing and expanding some technical means. Other embodiments are briefly described as follows:
[0100] In one embodiment, please refer to Figure 3 , the method comprises the following pre-steps:
[0101] Step S08, performing text preprocessing on the product query word pushed by the user terminal, so as to input the product query word into the product query model that has been trained to convergence:
[0102] This embodiment is associated with the product query event. The product query word is pushed by the user end that triggers the product query event to query the corresponding product object for browsing and consumption. After receiving the product query word, the server will perform text preprocessing on the product query word, for example, remove special characters in the product query word, such as spaces and other characters that interfere with the subsequent product query model for product query, and perform text preprocessing such as word segmentation on the text after the feature characters are removed; those skilled in the art can design the processing method of the text preprocessing according to the actual application scenario, such as text preprocessing for English text or text preprocessing for Chinese, and this step will not be repeated.
[0103] After the server completes the preprocessing of the product query word, the server inputs the product query word into the vector-to-vector product query model.
[0104] The product query model is generally a model built based on a neural network. The product query model is generally a convolutional neural network architecture, which performs convolution processing according to the feature vector of the product query term, determines the similarity between the product query term and each product object in the e-commerce platform, and then outputs multiple product objects with higher similarity as the product objects to be sorted corresponding to the product query term. Of course, those skilled in the art can also use existing or independently developed neural networks or rules to determine the product objects to be sorted corresponding to the product query term. Since the product query model is not the focus of this application, this step will not be repeated.
[0105] Step S09, obtaining a plurality of to-be-sorted commodity objects output by the commodity query model, to obtain to-be-sorted commodity information of the to-be-sorted commodity objects:
[0106] After obtaining the plurality of commodity objects to be sorted, the server will obtain the commodity information to be sorted corresponding to each of the commodity objects to be sorted from the commodity database.
[0107] Step S10, obtaining user characteristic information of the user terminal to generate the commodity samples to be sorted corresponding to each commodity object to be sorted:
[0108] When the server obtains the to-be-sorted commodity information corresponding to each of the to-be-sorted commodity objects, it will simultaneously obtain the user feature information of the user terminal, so as to determine the cross-feature information corresponding to the to-be-sorted commodity objects based on the user feature information and the to-be-sorted commodity information, and then encapsulate and generate the to-be-sorted commodity samples corresponding to each of the to-be-sorted commodity objects.
[0109] In this embodiment, the samples of each commodity object to be sorted are constructed according to the commodities that the user needs to query, that is, when the present invention sorts the commodities queried by the user, it will sort according to the user characteristics, commodity characteristics and the cross characteristics of the two.
[0110] In one embodiment, please refer to Figure 4 The step of driving the routing decision model in the sample dynamic routing layer to determine the difficulty of sorting the commodity sample to be sorted according to the comprehensive feature vector includes the following steps performed by the routing decision model:
[0111] Step S121, obtaining the comprehensive feature vector pushed by the server, and pushing the comprehensive feature vector to the control gate module:
[0112] After the routing decision model obtains the comprehensive feature vector, it pushes the comprehensive feature vector to the control gate module. The control gate module is a classifier, which will determine the target expert module corresponding to the comprehensive feature vector in the expert module pool according to the comprehensive feature vector, and then activate one or more target expert modules in the expert module pool to calculate the expert value of the comprehensive feature vector respectively.
[0113] Step S122, obtaining one or more expert identifiers output by the control gate module, and searching the expert module pool for target expert modules corresponding to these expert identifiers:
[0114] The control gate module outputs one or more expert identifiers, which correspond to the corresponding expert modules in the expert module pool, so that according to the expert identifiers, the target expert modules corresponding to the expert identifiers are queried from the expert module pool, and then the comprehensive feature vector is pushed to the target expert module for expert value calculation.
[0115] Step S123, pushing the feature vector to each of the target expert modules to perform weighted sum calculation on the expert values output by each of the target expert modules, and using the calculation result as the commodity ranking difficulty of the commodity sample to be ranked:
[0116] After searching for each of the target expert modules, the comprehensive feature vector is input into the target expert modules to drive the target expert modules to respectively calculate the expert values of the comprehensive feature vector.
[0117] After obtaining the expert values output by each target expert module, these expert values will be weighted and summed according to the expert weights corresponding to each of these target expert modules, and the calculation result will be used as the commodity ranking difficulty of the commodity sample to be sorted corresponding to the comprehensive feature vector.
[0118] In this embodiment, the routing decision model determines the difficulty of sorting the product samples to be sorted based on the comprehensive feature vector, so as to determine the product sorting model that needs to obtain the product samples to be sorted for sorting score calculation, thereby improving the processing efficiency of determining the ranking position of the product object corresponding to the sample in the queried product ranking.
[0119] In one embodiment, please refer to Figure 5 The step of querying the target product ranking model corresponding to the ranking difficulty interval of the product ranking difficulty in the product ranking model pool includes the following steps executed by the server:
[0120] Step S131, according to the difficulty value represented by the difficulty of sorting the products, determine the difficulty range in which the difficulty value is located:
[0121] The server determines the difficulty value represented by the difficulty of product sorting according to the difficulty value, so as to determine the target product sorting model for calculating the sorting scores of the to-be-sorted product samples corresponding to the difficulty of product sorting.
[0122] The numerical range of the difficulty value represented by the difficulty of product sorting is generally within the range of 0-1, and correspondingly, the interval size of the difficulty interval is generally also set within the range of 0-1.
[0123] Step S132, according to the difficulty range of the difficulty value, query the target product ranking model stored corresponding to the difficulty range in the product ranking model pool:
[0124] After the server determines the difficulty range in which the difficulty value represented by the difficulty of commodity sorting is located, it will query the commodity sorting model set to the difficulty range in the commodity sorting model pool, and use the commodity sorting model as the target commodity sorting model to calculate the sorting score of the commodity sample to be sorted.
[0125] In this embodiment, the commodity ranking model corresponding to the commodity sample to be ranked is determined according to the difficulty of ranking the commodity sample to be ranked, so as to calculate the ranking score of the commodity sample to be ranked using the commodity ranking model.
[0126] In one embodiment, please refer to Figure 6 The step of inputting the sample of the commodity to be sorted into the target commodity sorting model to obtain the sorting score corresponding to the sample of the commodity to be sorted includes the following steps performed by the commodity sorting model:
[0127] Step S141, calling the feature extraction model that has been trained to convergence, extracting the user feature information, the product information to be sorted and the cross feature information contained in the product sample to be sorted, so as to obtain the fused feature vector of the product object to be sorted:
[0128] After the target product sorting model obtains the product samples to be sorted input by the server, it will call the feature extraction model that converges with the training value, first extract the feature vectors of the user feature information, the product information to be sorted and the cross-feature information contained in the product samples to be sorted, and then fuse these feature vectors to generate the fused feature vector that can characterize the characteristics of these information.
[0129] Of course, this step can also be performed by the server, which extracts the fused feature vector corresponding to the user of the to-be-ranked product in advance for the target product ranking model, and then inputs the fused feature vector into the target product ranking model.
[0130] Step S142, input the fused feature vector into the input layer, so as to calculate the hidden value of the fused feature vector with the help of the hidden layer fully connected to the input layer:
[0131] After the target product ranking model obtains the fused feature vector, the fused feature vector is input into the input layer to calculate the hidden value of the fused feature vector with the help of the hidden layer fully connected to the input layer. The neural network structure is an MLP neural network. The MLP model includes an input layer, a hidden layer and an output layer. The input layer is used to store the input feature vector, and its neurons are determined according to the input feature vector. The neurons in the hidden layer are fully connected to the neurons in the input layer. The number of neurons in the hidden layer is generally determined by the corresponding weights, biases, activation functions (such as sigmoid functions or tahn functions) and the number of neurons in the input layer. Correspondingly, the output layer is connected to the hidden layer, and the output layer normalizes the result of the hidden layer output to obtain the corresponding ranking score.
[0132] Step S143, normalize the hidden value to obtain the ranking score of the commodity object to be ranked:
[0133] The normalization process generally uses a function algorithm such as a softmax regression function that can be applied to multi-category logistic regression to normalize the hidden value output by the hidden layer, so that the processing result is used as the ranking score of the commodity object to be sorted.
[0134] In this embodiment, the product ranking model calculates the ranking score of the to-be-ranked product object corresponding to the sample according to the fusion features of the sample, so as to determine the ranking position of the to-be-ranked product object in the query product ranking.
[0135] In one embodiment, please refer to Figure 7 , including the following post-processing steps:
[0136] Step S15, obtaining the ranking score of each commodity object to be sorted outputted by each commodity sorting model:
[0137] After the server inputs the to-be-sorted product samples corresponding to all the to-be-sorted product objects corresponding to the product query event into the corresponding product sorting models in the product sorting model pool for sorting score calculation, the server will wait for these product sorting models to complete the sorting score calculation of the corresponding to-be-sorted product samples to obtain the sorting scores corresponding to all the to-be-sorted product objects corresponding to the product query event.
[0138] Step S16, sorting the to-be-sorted commodity objects in the query commodity ranking in descending order according to the ranking score of each to-be-sorted commodity object:
[0139] The server sorts the query product ranking storing the query product objects to be sorted according to the sorting scores of all the query product objects to be sorted corresponding to the product query event. The server generally sorts the query product ranking in descending order according to the ranking scores of the query product objects to be sorted, that is, the query product objects with higher sorting scores are ranked higher in the query product ranking.
[0140] Step S17: Push the sorted query product ranking to the user terminal for display:
[0141] After the server completes the sorting process of all the product objects to be sorted in the queried product ranking, it pushes the queried product ranking to the user end that triggers the product query event, so as to use the queried product ranking as the service result of the platform user at the user end using the product query service.
[0142] In this embodiment, the server will obtain the ranking scores output by each product ranking model to sort all product objects in the queried product ranking, so as to sort the product objects that meet the product query terms and user characteristics to the front positions in the ranking, and then push the queried product ranking to the user end for display.
[0143] Furthermore, by functionalizing each step in the method disclosed in the above embodiments, a commodity sorting processing device of the present application can be constructed. According to this idea, please refer to Figure 8In a typical embodiment, the device includes: a feature vector extraction module 11, which is used to extract the comprehensive feature vector of the to-be-sorted product sample of the to-be-sorted product object corresponding to the product query event, wherein the to-be-sorted product sample contains user feature information, to-be-sorted product information and cross-feature information; a sorting difficulty determination module 12, which is used to input the comprehensive feature vector into the sample dynamic routing layer to drive the routing decision model in the sample dynamic routing layer to determine the product sorting difficulty of the to-be-sorted product sample according to the comprehensive feature vector; a target model query module 13, which is used to query the target product sorting model corresponding to the sorting difficulty interval of the product sorting difficulty in the product sorting model pool according to the product sorting difficulty, wherein multiple product sorting models in the product sorting model pool are stored corresponding to their sorting difficulty intervals; a ranking position determination module 14, which is used to input the to-be-sorted product sample into the target product sorting model to obtain the sorting score corresponding to the to-be-sorted product sample to determine the ranking position of the to-be-sorted product object in the query product ranking.
[0144] In one embodiment, the sorting difficulty determination module 12 includes: a feature vector pushing submodule, used to obtain the comprehensive feature vector pushed by the server, and push the comprehensive feature vector to the control gate module; a target module query submodule, used to obtain one or more expert identifiers output by the control gate module, so as to query the target expert modules corresponding to these expert identifiers in the expert module pool; a ranking difficulty calculation submodule, used to push the feature vector to each of the target expert modules, so as to perform weighted sum calculation on the expert values output by each of the target expert modules, and use the calculation result as the commodity sorting difficulty of the commodity sample to be sorted.
[0145] In one embodiment, the sorting difficulty determination module 12 includes: a difficulty interval determination submodule, for determining the difficulty interval in which the difficulty value represented by the commodity sorting difficulty is located according to the difficulty value; and a target model query submodule, for querying the target commodity sorting model stored corresponding to the difficulty interval in the commodity sorting model pool according to the difficulty interval in which the difficulty value is located.
[0146] In one embodiment, the ranking position determination module 14 includes: a comprehensive feature vector acquisition submodule, which is used to call a feature extraction model that has been trained to convergence, extract user feature information, to-be-sorted product information and cross-feature information contained in the to-be-sorted product sample, so as to obtain a fused feature vector of the to-be-sorted product object; an activation function calculation submodule, which is used to input the fused feature vector into the input layer, so as to calculate the hidden value of the fused feature vector with the help of a hidden layer fully connected to the input layer; and a ranking score acquisition submodule, which is used to normalize the hidden value and obtain the ranking score of the to-be-sorted product object.
[0147] In order to solve the above technical problems, the embodiment of the present application also provides a computer device for running a computer program implemented according to the commodity sorting processing method. Fig. 9 , Fig. 9 This is a basic structural block diagram of the computer device in this embodiment.
[0148] like Fig. 9 As shown, a schematic diagram of the internal structure of a computer device. The computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected via a system bus. Among them, the non-volatile storage medium of the computer device stores an operating system, a database, and computer-readable instructions. The database may store a control information sequence. When the computer-readable instructions are executed by the processor, the processor can implement a commodity sorting processing method. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device may store computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor can execute a commodity sorting processing method. The network interface of the computer device is used to connect and communicate with a terminal. Those skilled in the art can understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0149] In this embodiment, the processor is used to execute the specific functions of each module / submodule in the commodity sorting processing device of the present application, and the memory stores the program code and various data required to execute the above modules. The network interface is used to transmit data between user terminals or servers. The memory in this embodiment stores the program code and data required to execute all modules / submodules in the commodity sorting processing device, and the server can call the program code and data of the server to execute the functions of all submodules.
[0150] The present application also provides a non-volatile storage medium, in which the commodity sorting processing method is written into a computer program and stored in the storage medium in the form of computer-readable instructions. When the computer-readable instructions are executed by one or more processors, it means that the program is run in the computer, thereby enabling one or more processors to execute the steps of the commodity sorting processing method of any of the above-mentioned embodiments.
[0151] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0152] In summary, this application implements a product ranking system suitable for e-commerce stores and independent sites. Through dynamic routing, product samples are pushed to the corresponding model for inference, with high processing efficiency.
[0153] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0154] Those skilled in the art will appreciate that the various operations, methods, steps, measures, and schemes in the processes discussed in this application may be alternated, altered, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and processes discussed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted. Further, the steps, measures, and schemes in the prior art that are similar to those disclosed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted.
[0155] The above is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A commodity sorting processing method, characterized in that: The steps include: Extracting a comprehensive feature vector of a product sample to be sorted of a product object to be sorted corresponding to a product query event, wherein the product sample to be sorted includes user feature information, product information to be sorted, and cross-feature information; Inputting the comprehensive feature vector into the sample dynamic routing layer to drive the routing decision model in the sample dynamic routing layer to determine the commodity sorting difficulty of the commodity sample to be sorted according to the comprehensive feature vector; According to the commodity ranking difficulty, a target commodity ranking model corresponding to the ranking difficulty interval of the commodity ranking difficulty in the commodity ranking model pool is queried, and multiple commodity ranking models in the commodity ranking model pool are stored corresponding to their ranking difficulty intervals; Input the product sample to be sorted into the target product sorting model, obtain the sorting score corresponding to the product sample to be sorted, so as to determine the ranking position of the product object to be sorted in the query product ranking; The routing decision model performs the following steps: Acquire the comprehensive feature vector pushed by the server, and push the comprehensive feature vector to the control gate module; Obtain one or more expert identifiers output by the control gate module to query the target expert modules corresponding to the expert identifiers in the expert module pool; Pushing the feature vector to each of the target expert modules to perform weighted sum calculation on the expert values output by each of the target expert modules, and using the calculation result as the commodity ranking difficulty of the commodity sample to be ranked; The step of querying the target product ranking model corresponding to the ranking difficulty interval of the product ranking difficulty in the product ranking model pool includes the following steps executed by the server: According to the difficulty value represented by the difficulty of sorting the products, determine the difficulty range in which the difficulty value lies; According to the difficulty range in which the difficulty value is located, the target commodity ranking model stored corresponding to the difficulty range is searched in the commodity ranking model pool.
2. The method according to claim 1, characterized in that The following pre-steps are included: Performing text preprocessing on the product query words pushed by the user end, so as to input the product query words into the product query model that has been trained to convergence; Acquire multiple to-be-sorted commodity objects output by the commodity query model to obtain to-be-sorted commodity information of the to-be-sorted commodity objects; The user characteristic information of the user terminal is obtained to generate the commodity samples to be sorted corresponding to each commodity object to be sorted.
3. The method according to claim 1, characterized in that The step of inputting the to-be-sorted commodity sample into the target commodity sorting model to obtain the sorting score corresponding to the to-be-sorted commodity sample includes the following steps performed by the commodity sorting model: Calling a feature extraction model that has been trained to convergence to extract user feature information, product information to be sorted, and cross-feature information contained in the product sample to be sorted, so as to obtain a fused feature vector of the product object to be sorted; Inputting the fused feature vector into an input layer, so as to calculate a hidden value of the fused feature vector by means of a hidden layer fully connected to the input layer; The hidden value is normalized to obtain the ranking score of the commodity object to be ranked.
4. The method according to claim 1, characterized in that The following post-processing steps are included: Obtain the ranking score of each commodity object to be sorted outputted by each commodity sorting model; According to the ranking score of each of the to-be-ranked commodity objects, the to-be-ranked commodity objects in the query commodity ranking are sorted in descending order; The sorted query product rankings are pushed to the user end for display.
5. A commodity sorting processing device, characterized in that: The method for sorting commodities according to any one of claims 1 to 4 comprises: A feature vector extraction module is used to extract a comprehensive feature vector of a product sample to be sorted of a product object to be sorted corresponding to a product query event, wherein the product sample to be sorted includes user feature information, product information to be sorted, and cross-feature information; A sorting difficulty determination module, used to input the comprehensive feature vector into the sample dynamic routing layer to drive the routing decision model in the sample dynamic routing layer to determine the commodity sorting difficulty of the commodity sample to be sorted according to the comprehensive feature vector; A target model query module is used to query a target product ranking model corresponding to a ranking difficulty interval of the product ranking difficulty in a product ranking model pool according to the product ranking difficulty, wherein multiple product ranking models in the product ranking model pool are stored corresponding to their ranking difficulty intervals; The ranking position determination module is used to input the to-be-ranked commodity sample into the target commodity ranking model, obtain the ranking score corresponding to the to-be-ranked commodity sample, and determine the ranking position of the to-be-ranked commodity object in the query commodity ranking.
6. An electronic device, comprising a central processing unit and a memory, characterized in that: The central processing unit is used to call and run a computer program stored in the memory to execute the steps of the method according to any one of claims 1 to 4.
7. A non-volatile storage medium, characterized in that: It stores a computer program implemented according to the method described in any one of claims 1 to 4 in the form of computer-readable instructions, and when the computer program is called and executed by a computer, the steps included in the method are executed.
8. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Search result ordering method and system
CN102081776A
Question pushing method and system
CN102637170A
