Data processing method and device

The DeepFM model is used to vectorize and train the characteristics of e-commerce platform product titles, and combine low-order and high-order interaction effects to identify unauthorized brand violations, solving the problems of detection misjudgment and high manual maintenance costs in the existing technology. Achieved effective brand violation determination on e-commerce platforms.

CN113342969BActive Publication Date: 2024-10-22BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010139561.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-03
Publication Date
2024-10-22
Estimated Expiration
2040-03-03

AI Technical Summary

Technical Problem

When the existing technology detects illegal listing of unauthorized brands in product titles on e-commerce platforms, the rule-based matching method requires manual maintenance of brand tables and category relationships, which is time-consuming and labor-intensive, and traditional machine learning models cannot effectively reflect feature interaction effects and deep understanding. Abstract representation, leading to misjudgment problems.

Method used

The DeepFM model is used to vectorize and train the features in the product title, and combines low-order and high-order interaction effects to identify unauthorized brand violations and assist in the compliance of product details pages.

Benefits of technology

Effectively identify unauthorized brand violations in product titles, reduce misjudgments, support e-commerce platforms’ brand violation determination, and meet business application needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113342969B_ABST
    Figure CN113342969B_ABST
Patent Text Reader

Abstract

The present invention discloses a data processing method and device, and relates to the field of computer technology. A specific implementation of the method includes: obtaining a data source, cleaning and processing the data source to screen out relevant features for model training; vectorizing the relevant features, merging all vectorized features as feature vectorization results; dividing the feature vectorization results into a training data set and an evaluation data set, and training a deep factor machine decomposition model based on the feature vectorization results and data labels in the training data set; tuning the parameters of the deep factor machine decomposition model to obtain a parameter tuning model; and using the parameter tuning model to perform data processing. This implementation effectively identifies the illegal hanging of unauthorized brands in product titles, assists in the compliance of product details pages, and meets business applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a data processing method and device. Background Art

[0002] With the increasing prosperity of e-commerce platforms, some merchants will enter other brand words in addition to the authorized brand words in the product titles in order to increase the exposure of their products. In this regard, in order to maintain the commodity management order of e-commerce platforms and avoid damaging the brand rights and interests of peer merchants, measures need to be taken to conduct compliance quality inspections on the information on the product details page. At present, the identification of brand random hanging violations is largely based on the detection method of rule-based matching, that is, for some brand words, by manually maintaining a homogeneous brand word data table and related category rules, based on fixed matching rules, the illegal random hanging of limited products and some brands is detected. In addition, there is also a detection method using traditional machine learning models, which integrates multiple product attributes (such as product categories, brands, prices, etc.) and uses traditional LR / xgboost and other machine learning models to identify brand random hanging violations in product titles.

[0003] In the process of realizing the present invention, the inventors found that there are at least the following problems in the prior art: the detection method based on regular matching requires manual maintenance of many brand tables and the relationship between brands and categories, which is not only time-consuming and labor-intensive, but also not conducive to the rapid growth of commodity data and brand expansion; and the detection method based on traditional machine learning models cannot well reflect the interaction effects between features and the deep abstract representation of features. At the same time, it lacks contextual understanding of text data, which makes the detection of some special situations have the problem of misjudgment. Summary of the invention

[0004] In view of this, the present invention provides a data processing method, which processes the data source and establishes a related model, and uses the model to process the data to be processed. This makes it possible to detect unauthorized brands in the product title in the e-commerce field, so as to effectively support the determination of brand violations in a large amount of business details, and protect the authorized brands of merchants.

[0005] To achieve the above-mentioned purpose, according to one aspect of an embodiment of the present invention, a data processing method is provided, which is characterized in that it includes: obtaining a data source, cleaning and processing the data source to screen out relevant features for model training; vectorizing the relevant features, merging all vectorized features as feature vectorization results; dividing the feature vectorization results into a training data set and an evaluation data set, and training a deep factor machine decomposition model based on the feature vectorization results and data labels in the training data set; tuning the parameters of the deep factor machine decomposition model to obtain a parameter tuning model; and using the parameter tuning model to perform data processing.

[0006] One embodiment of the above invention has the following advantages or beneficial effects: because the DeepFM model (Deep Factor Machine) is used instead of the traditional machine learning model and rule matching method to detect the illegal and disorderly hanging behavior of unauthorized brands in product titles, the low-order and high-order interaction effects of multiple feature vectors are combined, so as to achieve the technical effect of being able to effectively identify the illegal and disorderly hanging behavior of unauthorized brands in product titles, assist in the compliance of product details pages, and meet business applications.

[0007] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0009] Figure 1 is a schematic diagram of the main flow of a data processing method according to an embodiment of the present invention;

[0010] Figure 2 is a schematic diagram of a detailed system execution flow of a data processing method according to an embodiment of the present invention;

[0011] Figure 3 is a schematic diagram of main modules of a data processing device according to an embodiment of the present invention;

[0012] Figure 4 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0013] Figure 5 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0014] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0015] Figure 1 1 is a schematic diagram of the main process of the data processing method according to an embodiment of the present invention, and is a preferred flow diagram of the method. The method uses the DeepFM model for data processing. The DeepFM model is a model algorithm based on combining the FM model and the deep learning network, which can simultaneously learn the interaction effects of low-order and high-order features.

[0016] The data processing method of the embodiment of the present invention includes:

[0017] Step S101: obtaining a data source, cleaning and processing the data source to screen out relevant features for model training;

[0018] Step S102: vectorizing the relevant features screened out in the above step S101, and merging all vectorized features as feature vectorization results;

[0019] Step S103: Divide the feature vectorization results in step S102 into a training data set and an evaluation data set, and train the DeepFM model based on the feature vectorization results and data labels in the training data set;

[0020] Step S104: tuning the parameters of the DeepFM model trained in step S103 to obtain a parameter tuning model; and

[0021] Step S105: using the parameter tuning model tuned in the above step S104 to perform data processing.

[0022] The present invention uses the DeepFM model instead of the traditional machine learning model and rule matching method to detect the illegal and disorderly hanging behavior of unauthorized brands in product titles, thereby combining the low-order and high-order interaction effects of multiple feature vectors to achieve the technical effect of being able to effectively identify the illegal and disorderly hanging behavior of unauthorized brands in product titles, assist in the compliance of product details pages, and meet business applications.

[0023] Figure 2 It is a schematic diagram of a detailed system execution flow of a data processing method according to an embodiment of the present invention.

[0024] Below, refer to Figure 2, based on the above overall embodiment, each step is described in detail.

[0025] Step S101: Acquire a data source, clean and process the data source to filter out relevant features for model training. The data source includes multiple data sources such as e-commerce platform products and brand words. The processing method includes word segmentation and / or matching.

[0026] In step S101, all data features used in the solution are preprocessed and screened, including:

[0027] a) Feature preprocessing: mainly includes cleaning of special characters in text data, text segmentation, matching and extraction of relevant brand word data, etc.;

[0028] b) Data feature screening: mainly including product titles, brand words in product titles, product authorized brand words, product categories and other related attribute information; and

[0029] c) Feature analysis results: Basic statistical analysis is performed on features such as brand and category.

[0030] Step S102: vectorize the relevant features screened out in the above step S101, and merge all the vectorized features as the feature vectorization result. The feature vectorization result is used for subsequent model training. Specifically, the vectorization of the features screened out in the above step S101 includes: one-hot feature vectorization for the discrete features screened out in the above step S101; feature embedding vectorization for text features by training the word2vec model; and one-hot feature vectorization for continuous features after discretization. Among them, the word2vec model is a model method for embedded text vectorization proposed by Google.

[0031] In step S102, vectorization is performed on the relevant features selected in step S101, including:

[0032] a) If it is a discrete feature, the feature is one-hot encoded. A discrete feature refers to a feature value that is not continuous, such as a person's gender ({male, female} non-continuous value). One-hot encoding (i.e., one-hot vectorization) means using an N-bit state register to encode N states. For example, the feature of the motherland: ["China", "United States", "France"]. After one-hot feature encoding, "China" is converted to "100", "United States" is converted to "010", and "France" is converted to "001";

[0033] b) If it is a text feature, the embedding vector of the relevant text is obtained by training the word2vec model based on the corpus of the e-commerce platform. The text feature refers to the feature represented by the text, such as the product name, etc. The embedding vector (i.e., embedding vector) refers to the conversion of the text into a vector form that can represent the semantics of the text through a certain model, such as using the word2vec model for text embedded vectorization;

[0034] c) If it is a continuous feature, the feature is discretized and then one-hot encoded. A continuous feature is a feature with numerical continuity, such as a person's age (a continuous value between 0 and 120 years old) or a test score (a continuous value between 0 and 100 points).

[0035] d) Finally, all vectorized features are merged as the feature vectorization result for subsequent model training.

[0036] Here, the text features are embedded vectorized by using the word2vec model, thereby increasing the feature vector that reflects the brand context. The discretization is, for example, for the product price feature, and can be discretized according to the price range.

[0037] Step S103: Divide the feature vectorization results in step S102 into a training data set and an evaluation data set, and train the DeepFM model based on the feature vectorization results and data labels in the training data set.

[0038] In step S103, it is mainly used for the construction and training of the DeepFM model, which includes:

[0039] a) DeepFM model construction:

[0040] It mainly includes FM (Factor Machine, mainly used to solve the problem of feature combination and deep sparse matrix) layer construction, DNN (Deep Neural Networks) layer construction, and Logistic (logic) layer construction;

[0041] b) DeepFM model training:

[0042] First, the samples are divided into a training data set and an evaluation data set at a ratio of 9:1. The training data set is used for model training, and the evaluation data set is used to evaluate the model effectiveness.

[0043] Secondly, the vectorized results of various feature data of the training data set are input into the DeepFM model. After passing through the multi-layer structure of the DeepFM model, the predicted labels of these training samples are finally output;

[0044] Then, combine the true label of the training data (y) and the model prediction label Calculate the cross entropy loss function (L, as shown below) and minimize the loss function through the back propagation algorithm, that is, optimize the relevant structural parameters in the DeepFM model (the structural parameters of the model are the network parameters of the model itself, which are automatically obtained through model training).

[0045]

[0046] Among them, yi is the true training data label of the i-th sample, The model predicts the label of the i-th sample, i = 1, 2, ..., n, n is the number of training samples, and L is the overall loss function of the model; that is, the sum of the loss functions of all samples.

[0047] Finally, when the loss converges, the trained DeepFM model is obtained, which can be used to predict samples with unknown labels.

[0048] Step S104: Tune the parameters of the DeepFM model trained in step S103 to obtain a parameter tuning model. Use the evaluation data set and the DeepFM model to evaluate the model performance for tuning. If the performance of the model meets the requirements, it is obtained as a parameter tuning model; if the performance of the model does not meet the requirements, the model parameters are adjusted to achieve the optimal prediction performance, and finally the parameter tuning model is obtained.

[0049] In step S104, it is mainly used to evaluate the effectiveness of the training model in step S103 and to tune the model hyperparameters, which are parameters set before starting the learning process and do not need to be obtained through training. They can be manually adjusted through the prediction performance of the model, such as learning rate, number of iterations, number of neurons, etc. Step S104 includes:

[0050] a) Based on the feature vector quantization results and labels of the evaluation data set divided in step S103, evaluate the precision of the training model in step S103 to see whether it meets the business requirements;

[0051] b) If satisfied, the judgment model is output for online judgment;

[0052] c) If it is not satisfied, the model hyperparameters can be adjusted through grid search or random search methods to improve the model generalization performance until the requirements are met, and finally the optimized judgment model is output.

[0053] Precision indicates the proportion of examples classified as positive that are actually positive examples.

[0054] Precision = TP / (TP+FP).

[0055] Among them, TP: True Position, true, positive samples predicted by the model as positive; FP: False Position, false positive, negative samples predicted by the model as positive.

[0056] It should be noted that in the parameter tuning module of the embodiment of the present invention, considering the requirement for discrimination accuracy in the application system, it is preferred to use precision as the evaluation indicator. However, other evaluation criteria may also be used. For example, when it is necessary to balance the precision and recall rate of the model, F1-score may also be considered as the evaluation criterion.

[0057] F1-score=2*Precision*Recall / (Precision+Recall)

[0058] Among them, Precision is the precision rate and Recall is the recall rate.

[0059] Step S105: Use the optimized parameters in step S104 to tune the model and process the data. For example, deploy the trained and optimized model to an online machine and return the prediction result. The prediction result is an online determination result of whether the product violates the brand misuse rule.

[0060] In step S105, it is mainly used for online deployment of the optimized model and online data calling.

[0061] a) Online deployment: deploy the optimized model in step S104 to multiple online machines;

[0062] b) Online call: For the product data of the online mall, relevant feature information is extracted and converted into feature vectors. The deployed model is called through http (Hypertext Transfer Protocol) requests and the prediction results are returned.

[0063] Figure 3 1 is a schematic diagram of main modules of a data processing device according to an embodiment of the present invention, and is a preferred schematic diagram of the device.

[0064] The present invention also provides a data processing device of the embodiment of the present invention. The device detects the brand random hanging behavior in the product title based on the DeepFM model, and assists the platform product details page to be compliant. The device 300 mainly includes: a feature screening module 301, which obtains the data source, cleans and processes the data source to screen out relevant features for model training; a feature vectorization module 302, which vectorizes the relevant features, merges all vectorized features as feature vectorization results; a model training module 303, which divides the feature vectorization results into a training data set and an evaluation data set, and trains the DeepFM model based on the feature vectorization results and data labels in the training data set; a parameter tuning module 304, which tunes the parameters of the DeepFM model to obtain a parameter tuning model; and a model application module 305, which uses the parameter tuning model to perform data processing.

[0065] The feature screening module 301 obtains a data source, cleans and processes the data source to screen out relevant features for model training. The data source includes: e-commerce platform products and brand words and other data sources. The text processing method includes word segmentation and / or matching.

[0066] The feature screening module 301 pre-processes and screens all data features used in the solution.

[0067] a) Feature preprocessing: mainly includes cleaning of special characters in text data, text segmentation, matching and extraction of relevant brand word data, etc.;

[0068] b) Data feature screening: mainly including product titles, brand words in product titles, product authorized brand words, product categories and other related attribute information; and

[0069] c) Feature analysis results: Basic statistical analysis is performed on features such as brand and category.

[0070] The feature vectorization module 302 vectorizes the relevant features and merges all the vectorized features as feature vectorization results. The feature vectorization results are used for subsequent model training. Specifically, the features screened out by the feature screening module 301 are vectorized, including: one-hot feature vectorization for the discrete features screened out by the feature screening module 301; feature embedding vectorization for text features by training the word2vec model; and one-hot feature vectorization for continuous features after discretization.

[0071] The feature vectorization module 302 vectorizes the features selected by the feature selection module 301.

[0072] a) If it is a discrete feature, the feature is one-hot encoded. A discrete feature refers to a feature value that is not continuous, such as a person's gender ({male, female} non-continuous value). One-hot encoding (i.e., one-hot vectorization) means using an N-bit state register to encode N states. For example, the feature of the motherland: ["China", "United States", "France"]. After one-hot feature encoding, "China" is converted to "100", "United States" is converted to "010", and "France" is converted to "001";

[0073] b) If it is a text feature, the embedding vector of the relevant text is obtained by training the word2vec model based on the corpus of the e-commerce platform. The text feature refers to the feature represented by the text, such as the product name, etc. The embedding vector (i.e., embedding vector) refers to the conversion of the text into a vector form that can represent the semantics of the text through a certain model, such as using the word2vec model for text embedded vectorization;

[0074] c) If it is a continuous feature, the feature is discretized and then one-hot encoded. A continuous feature is a feature with numerical continuity, such as a person's age (a continuous value between 0 and 120 years old) or a test score (a continuous value between 0 and 100 points); and

[0075] d) Finally, all vectorized features are merged as the feature vectorization result for subsequent model training.

[0076] Here, the text features are embedded vectorized by using the word2vec model, thereby increasing the feature vector that reflects the brand context. The discretization is, for example, for the product price feature, and can be discretized according to the price range.

[0077] The model training module 303 divides the feature vectorization results into a training data set and an evaluation data set, and trains the DeepFM model based on the feature vectorization results and data labels in the training data set. The data labels refer to the positive and negative category labels of the samples, for example: positive samples are labeled 1, negative samples are labeled 0. In this case, the violation samples are labeled 1, and the non-violation samples are labeled 0.

[0078] The model training module 303 is mainly used to build and train the DeepFM model.

[0079] a) DeepFM model construction:

[0080] It mainly includes FM (Factor Machine, mainly used to solve the problem of feature combination and deep sparse matrix) layer construction, DNN (Deep Neural Networks) layer construction, and Logistic layer construction;

[0081] b) DeepFM model training:

[0082] First, the samples are divided into a training data set and an evaluation data set at a ratio of 9:1. The training data set is used for model training, and the evaluation data set is used to evaluate the model effectiveness.

[0083] Secondly, the vectorized results of various feature data of the training data set are input into the DeepFM model. After passing through the multi-layer structure of the DeepFM model, the predicted labels of these training samples are finally output;

[0084] Then, combine the true label of the training data (y) and the model prediction label Calculate the cross entropy loss function (L, as shown below) and minimize the loss function through the back propagation algorithm, that is, optimize the relevant structural parameters in the DeepFM model (the structural parameters of the model are the network parameters of the model itself, which are automatically obtained through model training).

[0085]

[0086] Among them, yi is the true training data label of the i-th sample, The model predicts the label of the i-th sample, i = 1, 2, ..., n, n is the number of training samples, and L is the overall loss function of the model; that is, the sum of the loss functions of all samples.

[0087] Finally, when the loss converges, the trained DeepFM model is obtained, which can be used to predict samples with unknown labels.

[0088] The parameter tuning module 304 tunes the parameters of the DeepFM model to obtain a parameter tuning model. The evaluation data set and the DeepFM model are used to evaluate the model performance for tuning. If the performance of the model meets the requirements, it is obtained as a parameter tuning model; if the performance of the model does not meet the requirements, the model parameters are adjusted to achieve the optimal prediction performance, and finally the parameter tuning model is obtained.

[0089] The parameter tuning module 304 is mainly used to evaluate the effectiveness of the model trained by the model training module 303 and to tune the model hyperparameters, which are parameters set before the learning process begins. They do not need to be obtained through training and can be manually adjusted through the prediction performance of the model, such as learning rate, number of iterations, number of neurons, etc. Among them,

[0090] a) Based on the feature vector quantization results and labels of the evaluation data set divided by the model training module 303, evaluate the accuracy of the model trained by the model training module 303 to see whether it meets the business requirements;

[0091] b) If satisfied, the judgment model is output for online judgment;

[0092] c) If it is not satisfied, the model hyperparameters can be adjusted through grid search or random search methods to improve the model generalization performance until the requirements are met, and finally the optimized judgment model is output.

[0093] Precision indicates the proportion of examples classified as positive that are actually positive examples.

[0094] Precision = TP / (TP+FP).

[0095] Among them, TP: True Position, true, positive samples predicted by the model as positive; FP: False Position, false positive, negative samples predicted by the model as positive.

[0096] It should be noted that in the parameter tuning module of the embodiment of the present invention, considering the requirement for discrimination accuracy in the application system, it is preferred to use precision as the evaluation indicator. However, other evaluation criteria may also be used. For example, when it is necessary to balance the precision and recall rate of the model, F1-score may also be considered as the evaluation criterion.

[0097] F1-score=2*Precision*Recall / (Precision+Recall)

[0098] Among them, Precision is the precision rate and Recall is the recall rate.

[0099] The model application module 305 uses the parameter tuning model to perform data processing. For example, the trained and tuned model is deployed to an online machine and a prediction result is returned. The prediction result is an online determination result of whether the product has violated the brand misuse rule.

[0100] The model application module 305 is mainly used for online deployment of the optimized model and online data calling.

[0101] a) Online deployment: deploying the model optimized by the parameter tuning module 304 to multiple machines online;

[0102] b) Online call: For the product data of the online mall, relevant feature information is extracted and converted into feature vectors. The deployed model is called through http (Hypertext Transfer Protocol) requests and the prediction results are returned.

[0103] Figure 4 An exemplary system architecture 400 to which the data processing method or detection device according to the embodiment of the present invention can be applied is shown.

[0104] like Figure 4 As shown, system architecture 400 may include terminal devices 401, 402, 403, network 404 and server 405. Network 404 is used to provide a medium for communication links between terminal devices 401, 402, 403 and server 405. Network 404 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0105] Users can use terminal devices 401, 402, 403 to interact with server 405 through network 404 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 401, 402, 403, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0106] The terminal devices 401 , 402 , and 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0107] The server 405 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 401, 402, and 403. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.

[0108] It should be noted that the data processing method provided in the embodiment of the present invention is generally executed by the server 405 , and accordingly, the detection device is generally disposed in the server 405 .

[0109] It should be understood that Figure 4 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0110] Reference below Figure 5 , which shows a schematic diagram of the structure of a computer system 500 of a terminal device suitable for implementing an embodiment of the present invention. Figure 5The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0111] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0112] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.

[0113] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present invention are executed.

[0114] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0115] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0116] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be provided in a processor. For example, they may be described as: a processor including a feature screening module, a feature vectorization module, a model training module, a parameter tuning module, and a model application module. Among them, the names of these modules do not constitute a limitation on the module itself under certain circumstances. For example, the feature screening module may also be described as "a module that combines multiple data sources such as e-commerce platform products and brand words, cleans text data, and screens out relevant features for model training through text processing methods such as word segmentation and matching."

[0117] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: obtaining a data source, cleaning and processing the data source to filter out relevant features for model training; vectorizing the relevant features, merging all vectorized features as feature vectorization results; dividing the feature vectorization results into a training data set and an evaluation data set, and training a deep factor machine decomposition model based on the feature vectorization results and data labels in the training data set; tuning the parameters of the deep factor machine decomposition model to obtain a parameter tuning model; and using the parameter tuning model to perform data processing.

[0118] According to the technical solution of the embodiment of the present invention, it can effectively support the determination of illegal and random hanging of brands of a large amount of business details and protect the authorized brands of merchants. This technology meets the application effect and should be protected.

[0119] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A data processing method, characterized in that: include: Acquire a data source, clean and process the data source to filter out relevant features for model training; The relevant features selected include: product title, brand words in product title, product authorized brand words, and product category; Vectorizing the relevant features, and merging all vectorized features as feature vectorization results; Dividing the feature vectorization results into a training data set and an evaluation data set, and training a deep factor machine decomposition model based on the feature vectorization results and data labels in the training data set; Tuning parameters of the deep factor machine factorization model to obtain a parameter-tuned model; and The parameter tuning model is used to perform data processing and identify unauthorized brand illegal hanging behaviors in product titles.

2. The data processing method according to claim 1, characterized in that: The vectorizing of the related features specifically includes: for the text features in the related features, performing feature embedding vectorization by training the word2vec model.

3. The data processing method according to claim 1, characterized in that: The tuning of the parameters of the deep factor machine decomposition model specifically includes: using the evaluation data set and the deep factor machine decomposition model to evaluate the model performance for tuning.

4. The data processing method according to claim 1, characterized in that: The training of the deep factor machine decomposition model specifically includes: inputting the feature vectorization result of the training data set into the deep factor machine decomposition model, combining the real label (y) of the training data and the model prediction label The cross entropy loss function (L) is calculated by the following formula, and the loss function is minimized through the back propagation algorithm to train and obtain the relevant parameters in the deep factor machine decomposition model. Among them, yi is the true training data label of the i-th sample, The model predicts the label of the i-th sample, i = 1, 2, ..., n, n is the number of training samples, and L is the overall loss function of the model; that is, the sum of the loss functions of all samples.

5. A data processing device, characterized in that: include: A feature screening module obtains a data source, cleans and processes the data source to screen out relevant features for model training; The relevant features selected include: product title, brand words in product title, product authorized brand words, and product category; A feature vectorization module vectorizes the relevant features and combines all vectorized features as feature vectorization results; A model training module, which divides the feature vectorization results into a training data set and an evaluation data set, and trains a deep factor machine decomposition model based on the feature vectorization results and data labels in the training data set; A parameter tuning module, which tunes the parameters of the deep factor machine decomposition model to obtain a parameter tuning model; and The model application module uses the parameter tuning model to perform data processing and identify unauthorized brand illegal hanging behaviors in product titles.

6. The data processing device according to claim 5, characterized in that: The vectorizing of the related features specifically includes: the feature vectorization module performs feature embedding vectorization on the text features in the related features by training the word2vec model.

7. The data processing device according to claim 5, characterized in that: The tuning of the parameters of the deep factor machine decomposition model specifically includes: the parameter tuning module uses the evaluation data set and the deep factor machine decomposition model to evaluate the model performance for tuning.

8. The data processing device according to claim 5, characterized in that: The training of the deep factor machine decomposition model specifically includes: inputting the feature vectorization result of the training data set into the deep factor machine decomposition model, combining the real label (y) of the training data and the model prediction label The cross entropy loss function (L) is calculated by the following formula, and the loss function is minimized through the back propagation algorithm to train and obtain the relevant parameters in the deep factor machine decomposition model. Among them, yi is the true training data label of the i-th sample, The model predicts the label of the i-th sample, i = 1, 2, ..., n, n is the number of training samples, and L is the overall loss function of the model; that is, the sum of the loss functions of all samples.

9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.