Feature crossover for machine learning

The semantic correlation between feature categories is automatically determined through the semantic analysis subsystem, which realizes the automation of feature intersection, solves the problem of time-consuming manual configuration and poor generalization ability, and improves model performance and generalization ability.

CN118742909APending Publication Date: 2024-10-01FACE CUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380023289.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-05-05
Filing Date
2023-05-02
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing technologies are difficult to automate during the feature crossover process, and manual configuration is time-consuming and difficult to generalize. Especially for complex tasks and simple models, unexpected interference may be introduced, and it is difficult to explain which features are crossed, affecting the model's generalization ability.

Method used

The semantic correlation relationship between multiple feature categories is determined through the semantic analysis subsystem, and it is automatically decided whether to apply the feature cross operation. The semantic correlation relationship is used to generate cross features, which is suitable for machine learning models with simple or complex structures.

Benefits of technology

It reduces the cost of feature crossover, improves model performance, maintains the model's generalization ability, and reduces dependence on deep learning models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118742909A_ABST
    Figure CN118742909A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to feature crossing for machine learning. In accordance with an example embodiment of the present disclosure, a method includes: determining a semantic correlation between a plurality of feature categories, the semantic correlation indicating a respective degree of semantic correlation between a respective feature category pair among the plurality of feature categories; obtaining at least two features for machine learning, the at least two features being classified in at least two feature categories of a plurality of feature categories for machine learning; and performing feature crossing on the at least two features based on the semantic correlation.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to U.S. patent application No. 17 / 737,918, filed on May 5, 2022, and entitled “FEATURECROSSING FOR MACHINE LEARNING,” the entire contents of which are incorporated herein by reference. Background Art

[0002] Machine learning models, especially deep neural networks, have been used in the fields of artificial intelligence (AI) and computer vision. These models have shown promising performance in many tasks, including prediction, recommendation, visual object recognition, natural language processing (NLP), etc.

[0003] Before training a machine learning model, it may involve a feature construction phase to determine the set of features to be extracted or considered in the machine learning model. In many cases, there may be various types of features that can be directly extracted from the raw input (such as input text), and those features may be used for model processing. In order to achieve better model performance, it is sometimes desirable to select two or more features for feature intersection and provide the intersection features for further model processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0004] The above and other objects, features and advantages of the exemplary embodiments disclosed herein will become more understandable through the following detailed description with reference to the accompanying drawings, in which several exemplary embodiments disclosed herein are shown by way of example and not limitation, wherein:

[0005] Figure 1 A block diagram illustrating an environment in which embodiments of the present disclosure may be implemented;

[0006] Figure 2 A block diagram showing a feature crossover system according to some example embodiments of the present disclosure;

[0007] Figure 3A According to some example embodiments of the present disclosure, Figure 2 Block diagram of the semantic analysis subsystem in the feature intersection system;

[0008] Figure 3B Some other exemplary embodiments according to the present disclosure are shown in Figure 2 Block diagram of the semantic analysis subsystem in the feature intersection system;

[0009] Figure 4 Examples of named entity recognition and entity tagging according to some example embodiments of the present disclosure are shown;

[0010] Figure 5 An example of entity classification according to some example embodiments of the present disclosure is shown;

[0011] Figure 6 shows an example relationship diagram for feature categories according to some example embodiments of the present disclosure;

[0012] Figure 7 A flowchart showing a process for feature intersection according to some example embodiments of the present disclosure; and

[0013] Figure 8 A block diagram of an example computing system / device suitable for implementing example embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0014] The principle of the present disclosure will now be described with reference to some example embodiments. It should be understood that these embodiments are described only for illustrative purposes to help those skilled in the art understand and implement the present disclosure without limiting the scope of the present disclosure. The disclosure described herein can be implemented in various ways except for the way described below.

[0015] In the following description and claims, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs.

[0016] References in this disclosure to "one embodiment," "an example embodiment," etc. indicate that the described embodiment may include a particular feature, structure, or characteristic, but it is not necessary that every embodiment include the particular feature, structure, or characteristic. Furthermore, these phrases do not necessarily refer to the same embodiment. Furthermore, when a particular feature, structure, or characteristic is described in conjunction with an example, it is considered within the knowledge of those skilled in the art to affect embodiments related to such features, structures, or characteristics to other embodiments. For example, whether or not explicitly described.

[0017] It should be understood that although the terms "first" and "second" etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element without departing from the scope of the exemplary embodiments. As used herein, the term "and / or" includes any and all combinations of one or more of the listed terms.

[0018] The terms used herein are only used for the purpose of describing specific embodiments and are not intended to limit the exemplary embodiments. As used herein, the singular forms "a", "an", and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "comprises", "comprising", "having", when used herein, specify the existence of stated features, elements and / or components, etc., but do not exclude the existence or addition of one or more other features, elements, components and / or combinations thereof.

[0019] As used herein, the term "model" refers to the association between input and output learned from training data, and therefore the corresponding output can be generated for a given input after training. The generation of the model can be based on machine learning technology. Machine learning technology can also be referred to as artificial intelligence (AI) technology. In general, a machine learning model can be established to receive input information and make predictions based on the input information. For example, a classification model can predict the category of input information in a predetermined set of categories. As used herein, "model" may also be referred to as "machine learning model", "learning model", "machine learning network" or "learning network", which are used interchangeably herein.

[0020] In general, machine learning can usually involve three stages, namely the training stage, the verification stage, and the application stage (also called the reasoning stage). In the training stage, a given machine learning model can be iteratively trained (or optimized) using a large amount of training data until the model can obtain consistent reasoning from the training data similar to that of human intelligence. During training, a set of parameter values ​​of the model are iteratively updated until the training goal is achieved. Through the training process, the machine learning model can be considered to be able to learn the association between input and output (also called input-output mapping) from the training data. In the verification stage, the verification input is applied to the trained machine learning model to test whether the model can provide the correct output, thereby determining the performance of the model. In general, the verification stage can be considered as a step in the training process, or sometimes it can be omitted. In the application stage, the resulting machine learning model can be used to process real-world model inputs based on a set of parameter values ​​obtained from the training process and determine the corresponding model outputs.

[0021] As mentioned above, feature crossover is desirable to achieve better model performance. Feature crossover can be a stage prior to model training, as the results of feature crossover indicate specific features to be considered within the model to be trained.

[0022] Figure 1 A block diagram of an environment 100 in which embodiments of the present disclosure may be implemented is shown. In the environment 100, a machine learning model 105 will be trained in a training phase or applied in an application phase.

[0023] The machine learning model 105 can be any machine learning architecture or deep learning architecture, such as a neural network. In the machine learning model 105, the output generated by one layer and passed to the next layer is generally referred to as a "feature". In an actual system, the machine learning model 105 can be configured to process a model input and generate a model output, which indicates a prediction or classification result of the model input. The tasks implemented by the machine learning model 105 can be defined according to the actual application to which the machine learning model 105 is applied.

[0024] In any of the training phase, the validation phase, or the application phase, the input to the machine learning model 105 is usually feature information, so that the machine learning model 105 can process or analyze the feature information to obtain the model output. For example, in the training phase or the validation phase, the input feature information can be obtained from the training data or the validation data, and in the application phase, the input feature information can be obtained from some real-world data to be processed.

[0025] In some cases, in order to achieve better model performance, it is desirable to perform feature crossover on some features that are directly predicted from the original input and apply the crossover features to be processed by the machine learning model 105. In this case, a feature crossover stage 110 is involved in the environment 100 to determine the features to be input to the machine learning model 105. In this example, it is assumed that a plurality of features 102-1, 102-2, ..., 102-N are extracted from the original input, where N is an integer greater than 1. For the purpose of discussion, the features 102-1, 102-2, ..., 102-N are collectively or individually referred to as features 102.

[0026] Features may be real-valued multidimensional vectors, also referred to as feature representations, feature vectors, or latent vectors. Features 102 may be extracted from some raw data. The type of features 102 to be extracted may depend on the task to be implemented by the machine learning model 105. For example, in the task of providing a machine learning model for predicting house prices, some features about house size, orientation, floor information, and house location may be extracted, such as "three bedrooms and one living room", "southeast", "top floor", and house location in a specific area may be extracted for predicting house prices.

[0027] At the feature crossover stage 110, two or more features can be selected from the N features 102, and a feature crossover operation can be applied to the two or more selected features to generate crossover features. It is assumed that after the feature crossover stage, one or more crossover features 112-1, 112-2, ..., 112-M can be determined, where M is an integer greater than or equal to 1. Note that although multiple crossover features are described, there may be only one or two crossover features. For the purposes of discussion, the crossover features 112-1, 112-2, ..., 112-M are collectively or individually referred to as crossover features 112. The crossover features 112 can be provided as input to the machine learning model 105. In some cases, some features 102 may be additionally input to the machine learning model 105, which features 102 are not crossed with other features 102 or the whole or part of the set of features 102.

[0028] A feature crossover operation (also referred to as a feature merge operation) is a logical combination operation applied to two or more features to generate a crossover feature. The logical combination operation may be any of various types of operations on vectors. Some examples of logical combination operations may include, but are not limited to, one or more of a multiplication operation, a sum operation, a division operation, and the like. The feature crossover operation used may depend on the application for the machine learning model.

[0029] Compared to the single features 102, the cross features 112 may be more beneficial in providing information to the machine learning model 105 to obtain the model output. As an example, in the task of predicting the price of a house, the feature about the longitude information of the house or the feature about the height information of the house may not provide discriminative information to the machine learning model to determine the house price. However, by applying a feature crossover operation, such as applying a multiplication operation, to the two features, the generated cross feature (represented as "[longitude x height]") may be more useful in determining the house price.

[0030] Traditionally, the features to be crossed are manually configured. However, for some complex tasks, as the number of extracted features increases, manual configuration is time-consuming, and it is not always easy to manually distinguish which features are to be crossed.

[0031] Currently, it has been proposed to directly input the extracted features into the deep learning model to generate the corresponding feature embeddings, and then require the deep learning model to learn to select the embeddings to be crossed through a training process. However, in this case, it is difficult to clearly explain which features are crossed, so some unexpected interference may be introduced in the machine learning process, and the results of feature crossing cannot be generalized in other tasks of machine learning. In addition, this scheme may require machine learning to have a complex structure and a large model depth in order to be able to implement the crossover operation. Therefore, this scheme is not suitable for some relatively simple models, such as logistic regression models, factorization machine (FM) models, etc.

[0032] According to an embodiment of the present disclosure, a scheme for automatic feature crossing is proposed. According to the scheme, feature crossing can be implemented based on semantic knowledge about multiple feature categories. Specifically, the semantic correlation relationship between multiple feature categories is determined for use. Different features can be classified into multiple feature categories. The semantic correlation relationship indicates the corresponding semantic correlation degree between corresponding feature category pairs among multiple feature categories. When two or more features in some feature categories are obtained, the semantic correlation relationship can be used to determine whether feature crossing operations can be applied to those features. It is generally expected that feature crossing operations are applied to features classified in feature categories, which are indicated as having strong correlations.

[0033] Through this solution, feature crossover can be automatically implemented based on the semantic correlation of feature categories. Therefore, the cost of feature crossover is reduced. The feature crossover in the present disclosure can be performed before the features or crossover features are input into the machine learning model to be trained or applied, rather than training a deep learning model for feature crossover. Therefore, the feature crossover in the present disclosure can be applied to machine learning models with simple or complex structures, and this feature crossover can be used to maintain the generalization ability of the model.

[0034] Some example embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0035] First reference Figure 2 , which shows a block diagram of a feature intersection system 200 according to some example embodiments of the present disclosure. As shown in the figure, the feature intersection system 200 includes a semantic analysis subsystem 210 and a feature intersection subsystem 220.

[0036] The semantic analysis subsystem 210 is configured to apply semantic analysis to a plurality of feature categories 202-1, 202-2, ..., 202-K, ..., where K is an integer greater than 1. For the purpose of discussion, the feature categories 202-1, 202-2, ..., 202-K are collectively or individually referred to as feature categories 202. The feature categories 202 define corresponding feature fields to be considered in one or more machine learning models, which are used for one or more corresponding tasks.

[0037] Still taking the model for predicting house prices as a specific example. Multiple feature categories including "house size", "orientation", "floor information", and "house location" can be considered in the model. For a certain house, specific features in those feature categories can be extracted from a piece of house information about the house, such as "three bedrooms and one living room", "southeast", "top floor", and house location in a specific area. Those features can be regarded as specific features (or feature values) classified in those feature categories.

[0038] In an embodiment of the present disclosure, the semantic analysis performed by the semantic analysis subsystem 210 is to determine the semantic relevance relationship 215 between the plurality of feature categories 202. The semantic relevance relationship 215 indicates the corresponding degree of semantic relevance between corresponding pairs of feature categories among the plurality of feature categories. In some embodiments, the semantic relevance between two feature categories among the plurality of feature categories may be indicated in the semantic relevance relationship 215. In some embodiments, the semantic relevance between more than two feature categories among the plurality of feature categories may be indicated in the semantic relevance relationship 215.

[0039] A high degree of semantic relevance between feature categories may indicate that those feature categories are strongly related to each other in semantics. Therefore, features classified in those feature categories may be semantically related to each other, and may therefore intersect with each other to generate intersecting features for use in a model. In some examples, the degree of semantic relevance may be determined as a value selected from a particular range, such as a value in a range of 0 to 1. In some other examples, the degree of semantic relevance may be determined as a level among a plurality of predetermined levels, wherein a higher level may indicate a higher degree of semantic relevance.

[0040] The feature intersection subsystem 220 is configured to perform feature intersection on a plurality of available features 205-1, 205-2, ..., 205-L based on the semantic related relationship 215, where L is an integer greater than 1. For the purpose of discussion, the features 205-1, 205-2, 205-2, ..., 205-L are collectively or individually referred to as features 205. The features 205 are generally used in machine learning. For example, the features 205 can be considered in a machine learning model to be trained, to be verified, or to be applied (e.g., Figure 1In the machine learning model 105).

[0041] Specifically, the feature intersection subsystem 220 obtains two or more features 205. If the features 205 are classified in two or more feature categories among the plurality of feature categories, the feature intersection subsystem 220 performs feature intersection on those features 205 based on the semantic relevance relationship 215. The feature intersection subsystem 220 may determine whether the feature intersection operation may be applied to those features 205. The feature intersection subsystem 220 may provide feature intersection decisions 225 on the plurality of features 205 to indicate which features 205 may be crossed into intersection features.

[0042] First, some embodiments related to determining the semantic related relationships 215 by the semantic analysis subsystem 210 are described, and then embodiments related to using the semantic related relationships 215 by the feature intersection subsystem 220 are described.

[0043] The semantic analysis subsystem 210 may apply various semantic analysis techniques to the plurality of feature categories 202 to calculate the degree of semantic relatedness between those feature categories.

[0044] Figure 3A According to some example embodiments of the present disclosure, Figure 2 A block diagram of the semantic analysis subsystem 210 in the feature intersection system 200. Figure 3A As shown, the semantic analysis subsystem 210 includes an embedding conversion component 310 and an embedding-based correlation component 320 .

[0045] The embedding conversion component 310 is configured to use a language model to convert the corresponding names of the plurality of feature categories 202 into a plurality of embedding representations 312. The embedding representations (also referred to as “embeddings”) are similar to features and are also represented as real-valued multi-dimensional vectors.

[0046] The names of the multiple feature categories 202 can be represented by natural language. The language model is trained to convert word sequences in natural language into embeddings in a vector space. The language model can learn the distributed representation of words in natural language, and can embed the vocabulary into a smaller dimensional vector space that models the probability function of the word sequence and expresses it according to these representations. Therefore, the embedded representation can allow vector operations between words that reflect their semantic and syntactic relationships. In other words, the embedded representation of the feature category 202 can indicate their semantic and syntactic relationships.

[0047] Various types of language models currently available or developed in the future may be applied by the embedding conversion component 310. Some examples of language models may include, but are not limited to, a pre-trained word2vec model, a Glove model, a sense2vec model, a fastText model, a seq2seq model, an attention-based model, or a Transformer model.

[0048] Embedding-based correlation component 320 is configured to determine corresponding semantic correlation levels between multiple feature categories 202 based on multiple embedding representations 312. Embedding-based correlation component 320 can determine corresponding similarities between multiple embedding representations 312, and determine the semantic correlation levels based on the corresponding similarities to obtain semantic correlation relations 215. In some embodiments, embedding-based correlation component 320 can determine the semantic correlation levels between each pair of feature categories in multiple feature categories 202.

[0049] The similarity between the two embedding representations 312 can be measured by calculating the distance between the two embedding representations 312 as vectorized representations. Any algorithm suitable for calculating vector distances can be utilized to calculate the distance between the two embedding representations 312, such as the Euclidean distance. A relatively large distance can indicate a relatively small similarity between the two embedding representations 312, and thus a relatively low degree of semantic relevance between the corresponding two feature categories 202.

[0050] Figure 3B Some other exemplary embodiments according to the present disclosure are shown. Figure 2 2 is a block diagram of a semantic analysis subsystem 210 in the feature intersection system 200. In these embodiments, the semantic analysis subsystem 210 can learn prior semantic knowledge from a corpus by applying a named entity recognition (NER) technique to implement semantic analysis.

[0051] like Figure 3B As shown, the semantic analysis subsystem 210 includes a NER component 315 , an entity classification component 325 , and an entity-based correlation component 335 .

[0052] The NER component 315 is configured to identify a named entity set 316 from the corpus 305. The corpus 305 may include a large amount of digital text information, including multiple text sequences. As used herein, a text sequence may be any text size in the corpus 305. In some other examples, a text sequence may be a sentence, a phrase, a paragraph, etc.

[0053] Named entities (such as people, places, organizations, objects, or other named entities) can be members of a class or type. For example, a place called "Mexico City" can be an example of the class "City"; and an organization called "XX Ltd." can be an example of the class "Organization".

[0054] The corpus 305 may include text information related to a plurality of feature categories 202. For example, if features classified in at least some of the feature categories 202 are used in a model for predicting house prices, the corpus 305 may include house-related information. The corpus 305 may be collected from various available data sources, from which the relevant information may be extracted.

[0055] In some embodiments, the NER component 315 can apply a NER model to perform automatic entity recognition. The NER model can be any type of trained machine learning model or trained deep learning model suitable for named entity recognition.

[0056] The training of the NER model can be performed based on a training data set, which can include multiple sample text sequences and tag information (sometimes referred to as "first tag information"). In some embodiments, some pre-processing operations can be performed on the sample text sequence, including deleting punctuation, deleting some modal particles, and / or any other processing operations. The tag information of the sample text sequence can indicate the named entities that appear in the sample text sequence. Using such a training data set and after the training process, the NER model can identify named entities from the text sequence using a named entity recognition model.

[0057] Using the trained NER model, the NER component 315 can apply text information (such as text sequences) in the corpus 305 to the NER model to obtain the recognized named entities. In some embodiments, before the text sequences in the corpus 305 are input into the NER model, some pre-processing operations can be applied, such as removing punctuation, removing some modal particles, and / or any other processing operations, which are similar to those pre-processing operations applied during the training process.

[0058] The entity classification component 325 is configured to classify the named entity set 316 into a plurality of entity clusters 326. In some embodiments, the entity clustering may be based on an embedded representation of the named entity. Specifically, the entity classification component 325 may apply a language model to convert the named entity set 316 into an embedded representation set. The language model applied here may be similar to the language model used by the embedding conversion component 310 as discussed above. Therefore, a detailed description thereof is omitted here.

[0059] The entity classification component 325 can further cluster the named entity set 316 based on the corresponding similarities between the sets of embedded representations of the named entities. The similarity between any two embedded representations can be determined in a similar manner as described above in the embedding conversion component 310. The entity classification component 325 can use any clustering algorithm to cluster the named entity set 316. After clustering, the named entities with low similarities between their embedded representations can be clustered into an entity cluster 326.

[0060] In some embodiments, during clustering, the number of entity clusters 326 may be equal to the number of feature categories 202 . Then, each entity cluster in entity clusters 326 may be associated with one feature category in feature categories 202 .

[0061] In some embodiments, entity classification component 325 can apply a classification model to classify named entity set 316 into multiple entity clusters 326. The classification model can be any type of trained machine learning model or trained deep learning model suitable for entity classification.

[0062] The training of the classification model can be performed based on a training data set, which can include multiple sample named entities and tag information (sometimes referred to as "second tag information"). The tag information can indicate the classification results of the multiple sample named entities in multiple entity clusters (or associated feature categories). Using such a training data set and after the training process, the classification model can be capable of tagging named entities using multiple entity clusters 326 or associated feature categories 202.

[0063] In some embodiments, the classification model can be integrated into the NER model. For example, the NER model can be trained to not only identify named entities from a text sequence, but also to label the entity cluster or feature category of each identified named entity. In order to implement such a NER model, the labeling information in the training data set can indicate the named entities in the sample text sequence, as well as the entity cluster or associated feature category to which the named entity is classified.

[0064] Figure 4 Examples of named entity recognition and entity tagging according to some example embodiments of the present disclosure are shown. Figure 4 A sentence 400 is provided. By applying named entity recognition, a named entity 410 "a room in a three-bedroom apartment", a named entity 412 "southeast", and a named entity "the third floor of the sixth building" are identified from the sentence 400. In addition, the named entity 410 can be marked with a feature category 420 "house size"; the named entity 412 can be marked with a feature category 422 "direction"; and the named entity 414 can be marked with a feature category 424 "floor information".

[0065] After all of the set of named entities 316 are identified from the corpus 305 , those named entities 316 can be clustered by an entity classification component 325 . Figure 5 An example of entity classification according to some example embodiments of the present disclosure is shown. In this example, depending on the similarity between the named entities, the named entity 410 can be classified into the entity cluster 502 using the named entity 510 "apartment with one room" and the named entity 512 "room in a two-bedroom apartment", which is associated with the feature category 420 "house size". In addition, the named entity 412 can be classified into the entity cluster 504 using the named entity 520 "southwest", which is associated with the feature category 422 "direction"; and the named entity 414 can be classified into the entity cluster 506 using the named entity 530 "top floor" and the named entity 532 "2nd floor", which is associated with the feature category 424 "floor information".

[0066] The entity-based correlation component 335 is configured to determine the semantic correlation relationship 215 based on the classification result from the entity classification component 325 by referring to the corpus 305. In these embodiments, by analyzing the corpus 305, the semantic correlation between the feature categories 202 can be better explored based on the semantic knowledge learned from the corpus 305.

[0067] Specifically, the entity-based correlation component 335 can determine the corresponding semantic correlation levels between the plurality of feature categories 202 based on the relative positioning of the plurality of entity clusters 326 within the plurality of text sequences in the corpus 305 .

[0068] The relative positioning of two or more different named entities within two or more different entity clusters in a text sequence may indicate whether those named entities work together in the same text sequence, or in other words, whether those named entities are often mentioned together in the same text sequence.

[0069] In some embodiments, for any two entity clusters, the entity-based correlation component 335 can determine the co-occurrence frequency of a first named entity classified into one of the entity clusters with respect to a second named entity classified into another of the entity clusters within the same text sequence of the corpus 305. For example, there are 10,000 sentences in the corpus, and the named entity 410 in the entity cluster 502 and the named entity 412 in the entity cluster 504 (e.g., Figure 5200 sentences. In this case, the co-occurrence frequency can be determined to be 0.8. Of course, in other examples, the co-occurrence frequency can be indicated by the number of co-occurrences of the two named entities. The entity-based correlation component 335 can determine the semantic correlation between the two feature categories 202 associated with the two entity clusters based on the co-occurrence frequency.

[0070] In some embodiments, the co-occurrence frequencies of two or more named entities classified into any two or more entity clusters may be determined, and the total co-occurrence frequency may be determined based on the respective co-occurrence frequencies, for example, the total co-occurrence frequency may be determined based on the average of the respective co-occurrence frequencies. In some embodiments, if a higher total co-occurrence frequency is determined for two entity clusters associated with two feature categories 202, a higher degree of semantic relevance may be determined for the two feature categories 202. In some examples, the degree of semantic relevance may be determined as the total co-occurrence frequency.

[0071] In some embodiments, entity-based correlation component 335 can determine the co-occurrence frequency of two or more named entities in different entity clusters, for example, by determining how often those named entities co-occur in the same text sequence to determine the co-occurrence frequency of two or more named entities. In this case, based on the determined co-occurrence frequency, entity-based correlation component 335 can determine the degree of semantic relevance between two or more feature categories associated with the two or more named entities.

[0072] In some embodiments, using the determined corresponding semantic relevance, semantic relevance relations 215 can be obtained by embedding-based relevance components 320 or entity-based relevance components. Semantic relevance relations 215 can be provided or stored for subsequent use. Semantic relevance relations 215 can be generated in any form that can indicate the corresponding semantic relevance. In some embodiments, semantic relevance relations 215 can be represented as a relationship graph. For example, the relationship graph can be a directed acyclic graph (DAG) with vertices and edges connecting vertices. Vertices can represent multiple feature categories 202. The edge connecting two vertices can indicate the semantic relevance between two feature categories 202 represented by the two vertices connected by the edge. The relationship graph can clearly show the semantic relevance between those feature categories.

[0073] Figure 6An example relationship graph 600 for feature categories according to some example embodiments of the present disclosure is shown. The relationship graph 600 can be considered as an example of a semantically related relationship 215. As shown, the vertices in the relationship graph 600 represent feature categories 202-1, 202-2, 202-3, 202-4, and 202-5, respectively. The values ​​on the edges indicate the degree of semantic relevance, wherein the value on one edge indicates the degree of semantic relevance between the two feature categories 202 connected by the edge.

[0074] As mentioned above, the semantic related relationships 215 may be provided for feature cross-talk by the feature cross-talk subsystem 220 in the system 200. Figure 2 For multiple available features 205, the feature crossover subsystem 220 may determine a feature crossover decision 225 by determining which features 205 can or cannot be crossed to generate a crossover feature. The number of features 205 (e.g., L) may or may not be equal to the number of feature categories 202. Those features 205 may be used to train one or more machine learning models.

[0075] In some embodiments, if the features 205 are respectively classified in the feature categories 202, the feature intersection subsystem 220 can determine whether any two or more features 205 can be intersected with each other. In some embodiments, the number of features to be intersected can be specified. In some embodiments, it is contemplated that all possible combinations of features 205 can be traversed to determine whether the features in each combination can be intersected.

[0076] In some embodiments, for any given two features 205, the feature intersection subsystem 220 can determine the target semantic relevance between the two feature categories into which the two features 205 are classified from the semantic relevance relationship 215. Figure 6 In the relationship diagram 600 , the feature intersection subsystem 220 determines that the target semantic correlation between the feature categories 202 - 1 and 202 - 2 is 0.8.

[0077] In some embodiments, if the semantic correlation relationship 215 indicates the corresponding semantic correlation degree between any two feature category pairs, and the feature intersection subsystem 220 needs to determine whether feature intersection can be performed on more than two features 205, the feature intersection subsystem 220 can determine at least two semantic correlation degrees between at least two feature category pairs among the more than two feature categories 202 from the semantic correlation relationship 215. The feature intersection subsystem 220 can then determine the target semantic correlation degree between the corresponding more than two feature categories 202 based on the at least two semantic correlation degrees. For example, the feature intersection subsystem 220 can determine the target semantic correlation degree by merging the at least two semantic correlation degrees. The merging may include the multiplication of the at least two semantic correlation degrees.

[0078] As an example, for three features classified into three feature categories 202-1, 202-2, and 202-3, the corresponding semantic relevance between any two of the three feature categories, such as 0.8 for feature categories 202-1 and 202-2, 0.4 for feature categories 202-2 and 202-3, and 0.6 for feature categories 202-1 and 202-3, can be extracted from the relationship graph 600. The target semantic relevance of the three feature categories 202-1, 202-2, and 202-3 can be determined as the product of the three semantic relevances, for example, 0.8*0.4*0.6=0.192.

[0079] For any two or more feature categories 202, the feature intersection subsystem 220 may compare the target semantic relevance with a semantic relevance threshold. If the target semantic relevance exceeds the semantic relevance threshold, the feature intersection subsystem 220 may apply a feature intersection operation to two or more features 205 classified into the two or more feature categories 202 to generate a crossover feature. Otherwise, if the target semantic relevance is lower than the semantic relevance threshold, the feature intersection subsystem 220 may not apply a feature intersection operation to the two or more features 205.

[0080] The semantic relevance threshold can be configured according to the application. In some embodiments, the semantic relevance threshold can be changed for different numbers of features to be crossed. For example, the semantic relevance threshold used to determine feature crossing for two features may be different from the semantic relevance threshold used to determine feature crossing for three features. In some embodiments, the semantic relevance threshold can be a specified value, or the semantic relevance threshold can be changed if the expected total number of combinations of features to be crossed is set. For example, if it is desired to perform feature crossing on up to six feature pairs, the semantic relevance threshold can be set to allow the feature crossing subsystem 220 to perform feature crossing operations on six feature pairs, which have the first six target semantic relevances among all possible feature pairs. The scope of the present disclosure is not limited as far as setting the semantic relevance threshold is concerned.

[0081] It should be understood that the semantic analysis subsystem 210 and / or the feature crossover subsystem 220 of the feature crossover system 200 may be integrated in a computing system / device, or may be separated in different computing systems / devices. The components in the semantic analysis subsystem 210 and / or the feature crossover subsystem 220 may be implemented in software, hardware, middleware, or any combination thereof.

[0082] Figure 7FIG. 7 is a flowchart of a process 700 for feature intersection according to some example embodiments of the present disclosure. The process 700 may be implemented in Figure 2 The features shown are at intersection system 200 .

[0083] At block 710, the feature intersection system 200 determines a semantic relevance relationship between a plurality of feature categories. The semantic relevance relationship indicates a corresponding degree of semantic relevance between corresponding pairs of feature categories among the plurality of feature categories.

[0084] At block 720, the feature intersection system 200 obtains at least two features for machine learning, the at least two features being classified in at least two feature categories of a plurality of feature categories. At block 730, the feature intersection system 200 performs feature intersection on the at least two features based on a semantic correlation relationship.

[0085] In some embodiments, the semantic correlation relationship is determined by: using a language model to convert corresponding names of multiple feature categories into multiple embedded representations; and determining corresponding semantic correlation levels based on corresponding similarities between the multiple embedded representations.

[0086] In some embodiments, semantic relevance is determined by: identifying a set of named entities from a corpus, the corpus comprising a plurality of text sequences; classifying the set of named entities into a plurality of entity clusters, each of the plurality of entity clusters being associated with a feature category of a plurality of feature categories; and determining corresponding semantic relevance levels between the plurality of feature categories based on relative positioning of the plurality of entity clusters within the plurality of text sequences.

[0087] In some embodiments, a set of named entities is identified by: obtaining a named entity recognition model, the named entity recognition model is trained using multiple sample text sequences and first tag information, the first tag information indicates named entities that appear in the multiple sample text sequences; and using the named entity recognition model to identify the set of named entities.

[0088] In some embodiments, the named entity set is classified by: converting the named entity set into a set of embedded representations using a language model; and clustering the named entity set based on corresponding similarities between the sets of embedded representations.

[0089] In some embodiments, the set of named entities is classified in the following manner: obtaining a classification model, the classification model is trained using multiple sample named entities and second label information, the second label information indicates classification results of the multiple sample named entities in multiple entity clusters; and using the classification model to classify the set of named entities.

[0090] In some embodiments, the corresponding semantic relevance is determined based on the relative positioning of multiple named entities within multiple text sequences in the following manner: for a first entity cluster and a second entity cluster among multiple clusters, the co-occurrence frequency of a first named entity classified into the first entity cluster with respect to a second named entity classified into the second entity cluster within the same text sequence of multiple text sequences is determined; and the semantic relevance between a first feature category and a second feature category is determined based on the co-occurrence frequency, the first feature category being associated with the first entity cluster, and the second feature category being associated with the second entity cluster.

[0091] In some embodiments, the semantic correlation relationship is determined by generating a relationship graph to indicate the semantic correlation relationship, the relationship graph comprising a plurality of vertices representing a plurality of feature categories, and a plurality of edges connecting the plurality of vertices, each of the plurality of edges indicating a degree of semantic correlation between two feature categories represented by the two vertices connected by the edge.

[0092] In some embodiments, feature crossover is performed in the following manner: based on a semantic correlation relationship, determining a target semantic correlation degree between at least two feature categories; if it is determined that the target semantic correlation degree exceeds a semantic correlation degree threshold, applying a feature crossover operation to at least two features to generate a crossover feature; and if it is determined that the target semantic correlation degree is lower than the semantic correlation degree threshold, stopping applying the feature crossover operation to at least two features.

[0093] In some embodiments, the semantic relevance relationship indicates the corresponding semantic relevance between corresponding feature category pairs among the plurality of feature categories. In some embodiments, the target semantic relevance is determined by: if it is determined that more than two features classified into more than two feature categories are obtained, at least two semantic relevance between at least two feature category pairs among the more than two feature categories are determined from the semantic relevance relationship; and the target semantic relevance is determined by merging the at least two semantic relevances.

[0094] Figure 8 A block diagram of an example computing system / device 800 suitable for implementing example embodiments of the present disclosure is shown. Figure 2 The feature intersection system 200 in the system / device 800 may be implemented as or included in the system / device 800. In some embodiments, the semantic analysis subsystem 210 or the feature intersection subsystem 220 may be implemented as or included in the system / device 800.

[0095] System / device 800 may be a general purpose computer, a physical computing device, or a portable electronic device, or may be implemented in a distributed cloud computing environment where tasks are performed by remote processing devices linked through a communications network. System / device 800 may be used to implement any of the processes described herein.

[0096] As shown in the figure, the system / device 800 includes a processor 801, which can execute various processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage unit 808 to a random access memory (RAM) 803. In the RAM 803, data required for the processor 801 to execute various processes, etc. is also stored as needed. The processor 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0097] As non-limiting examples, processor 801 may be of any type suitable for a local technology network, and may include one or more of the following: a general purpose computer, a special purpose computer, a microprocessor, a digital signal processor (DSP), a graphics processing unit (GPU), a coprocessor, and a processor based on a multi-core processor architecture. System / device 800 may have multiple processors, such as application specific integrated circuit chips, which are time-slaved to a clock that synchronizes a main processor.

[0098] A number of components in the system / device 800 are connected to an I / O interface 805, including an input unit 806, such as a keyboard, a mouse, etc., an output unit 807, including a display, such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc., a storage unit 808, such as a magnetic disk and an optical disk, etc., and a communication unit 809, such as a network card, a modem, a wireless transceiver, etc. The communication unit 809 allows the system / device 800 to exchange information / data with other devices via a communication network, such as the Internet, various telecommunication networks, etc.

[0099] The above methods and processes, such as process 700, may also be performed by processor 801. In some embodiments, process 700 may be implemented as a computer software program, or a computer program product tangibly included in a computer-readable medium (e.g., storage unit 808). In some embodiments, the computer program may be partially or completely loaded and / or implemented to system / device 800 via ROM 802 and / or communication unit 809. The computer program includes computer executable instructions executed by the associated processor 801. When the computer program is loaded into RAM 803 and executed by processor 801, one or more actions of the above process 700 may be implemented. Alternatively, in other embodiments, processor 801 may be configured to perform process 700 via any other suitable means (e.g., by means of firmware).

[0100] In some example embodiments of the present disclosure, a computer program product is provided, which includes instructions, and when the instructions are executed by a processor of a device, the device performs the steps of any one of the above methods.

[0101] In some example embodiments of the present disclosure, a computer readable medium is provided, the computer readable medium including program instructions, the program instructions being used to cause an apparatus to at least perform the steps of any of the above methods. In some embodiments, the computer readable medium may be a non-transitory computer readable medium.

[0102] In an eighth aspect, an exemplary embodiment of the present disclosure provides a computer-readable medium, which includes program instructions, and the program instructions are used to cause an apparatus to at least perform the method in the above second aspect. In some embodiments, the computer-readable medium may be a non-transitory computer-readable medium.

[0103] In general, various example embodiments of the present disclosure may be implemented in hardware or dedicated circuits, software, logic, or any combination thereof. Some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device. Although various aspects of the example embodiments of the present disclosure are shown and described as block diagrams, flow charts, or using some other graphical representations, it should be understood that the boxes, devices, systems, techniques, or methods described herein may be implemented in non-limiting examples as hardware, software, firmware, dedicated circuits or logic, general hardware or controllers or other computing devices, or some combination thereof.

[0104] The present disclosure also provides at least one computer program product, which is tangibly stored on a non-transitory computer-readable storage medium. The computer program product includes computer executable instructions, such as those included in a program module and executed on a device on a target real or virtual processor to implement the method / process as described above. Typically, a program module includes routines, programs, libraries, objects, classes, components, data structures, etc. that perform specific tasks or implement specific abstract classes. The functions of the program modules can be combined or split between program modules as needed in various embodiments. The computer executable instructions for the program modules can be executed in local or distributed devices. In distributed devices, program modules can be located in local and remote storage media.

[0105] The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, device or apparatus, or any suitable combination of the foregoing. More specific examples of computer readable storage media would include 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 foregoing.

[0106] The computer program code for performing the method disclosed herein can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device so that the program code, when executed by the processor or controller, enables the function / operation specified in the flow chart and / or block diagram to be realized. The program code can be executed entirely on a computer, partially on a computer, as an independent software package, partially on a computer and partially on a remote computer or completely on a remote computer or server. The program code can be distributed on specially programmed devices, which can be generally referred to as "modules" in this article. The software component part of the module can be written in any computer language, and can be part of a monolithic code base, or can be developed in more discrete code parts, such as typical in object-oriented computer languages. In addition, modules can be distributed on multiple computer platforms, servers, terminals, mobile devices, etc. A given module can even be implemented so that the described function is executed by a separate processor and / or computing hardware platform.

[0107] Although operations are depicted in a particular order, this should not be understood as requiring such operations to be performed in the particular order shown or in a sequential order, or performing all operations shown to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these details should not be interpreted as limitations on the scope of the present disclosure, but should be interpreted as descriptions of features that may be specific to a particular embodiment. Certain features described in the context of a separate embodiment may also be implemented in combination in a single embodiment. On the contrary, the various features described in the context of a single embodiment may also be implemented in multiple embodiments individually or in any suitable sub-combination.

[0108] Although the disclosure has been described in language specific to structural features and / or methodological acts, it should be understood that the disclosure defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims

1. A method comprising: Determining a semantic correlation relationship between a plurality of feature categories, the semantic correlation relationship indicating a corresponding degree of semantic correlation between corresponding pairs of feature categories among the plurality of feature categories; Obtaining at least two features for machine learning, the at least two features being classified into at least two feature categories of the plurality of feature categories; as well as Based on the semantic related relationship, feature intersection is performed on the at least two features.

2. The method according to claim 1, wherein determining the semantically relevant relationship comprises: Using a language model, convert the corresponding names of the multiple feature categories into multiple embedding representations; as well as The corresponding semantic relevance levels are determined based on the corresponding similarities between the multiple embedded representations.

3. The method according to claim 1, wherein determining the semantically relevant relationship comprises: Identifying a set of named entities from a corpus, the corpus comprising a plurality of text sequences; classifying the set of named entities into a plurality of entity clusters, each entity cluster in the plurality of entity clusters being associated with one of the plurality of feature categories; as well as The respective semantic relevance levels between the plurality of feature categories are determined based on the relative positions of the plurality of entity clusters within the plurality of text sequences.

4. The method of claim 3, wherein identifying the set of named entities comprises: Obtaining a named entity recognition model, wherein the named entity recognition model is trained using a plurality of sample text sequences and first tag information, wherein the first tag information indicates named entities that appear in the plurality of sample text sequences; as well as The named entity recognition model is used to identify the set of named entities.

5. The method according to claim 3, wherein classifying the set of named entities comprises: Using a language model, convert the named entity set into an embedded representation set; as well as The named entity sets are clustered based on corresponding similarities between the embedding representation sets.

6. The method according to claim 3, wherein classifying the set of named entities comprises: Acquire a classification model, wherein the classification model is trained using a plurality of sample named entities and second label information, wherein the second label information indicates classification results of the plurality of sample named entities in the plurality of entity clusters; as well as The named entity set is classified using the classification model.

7. The method according to claim 3, wherein determining the corresponding semantic relevance based on the relative positioning of the plurality of named entities within the plurality of text sequences comprises: For a first entity cluster and a second entity cluster in the plurality of clusters, determining a co-occurrence frequency of a first named entity classified into the first entity cluster with respect to a second named entity classified into the second entity cluster within a same text sequence of the plurality of text sequences; and A semantic correlation degree between a first feature category and a second feature category is determined based on the co-occurrence frequency, the first feature category being associated with the first entity cluster and the second feature category being associated with the second entity cluster.

8. The method of claim 1, wherein determining the semantically related relationship comprises: A relationship graph is generated to indicate the semantic correlation relationship, the relationship graph comprising a plurality of vertices representing the plurality of feature categories, and a plurality of edges connecting the plurality of vertices, each of the plurality of edges indicating a degree of semantic correlation between two feature categories represented by two vertices connected by the edge.

9. The method of claim 1 , wherein performing the feature intersection comprises: Based on the semantic correlation relationship, determining a target semantic correlation degree between the at least two feature categories; If it is determined that the target semantic relevance exceeds a semantic relevance threshold, applying a feature crossover operation to the at least two features to generate a crossover feature; as well as If it is determined that the target semantic relevance is lower than the semantic relevance threshold, stop applying the feature crossover operation to the at least two features.

10. The method according to claim 9, wherein the semantic relevance relationship indicates the corresponding semantic relevance degree between corresponding feature category pairs among the plurality of feature categories; and Wherein determining the target semantic relevance degree comprises: If it is determined that more than two features classified into more than two feature categories are obtained, Determining at least two semantic correlation levels between at least two pairs of feature categories among the two or more feature categories from the semantic correlation relationship; and The target semantic relevance degree is determined by combining the at least two semantic relevance degrees.

11. A system comprising: at least one processor; as well as at least one memory, the at least one memory being communicatively coupled to the at least one processor and comprising computer-readable instructions that, when executed by the at least one processor, cause the at least one processor to perform actions comprising: Determining a semantic correlation relationship between a plurality of feature categories, the semantic correlation relationship indicating a corresponding degree of semantic correlation between corresponding pairs of feature categories among the plurality of feature categories; Obtaining at least two features for machine learning, the at least two features being classified into at least two feature categories of the plurality of feature categories; and Based on the semantic related relationship, feature intersection is performed on the at least two features.

12. The system of claim 11, wherein determining the semantically related relationship comprises: Using a language model, convert the corresponding names of the multiple feature categories into multiple embedding representations; as well as The corresponding semantic relevance levels are determined based on the corresponding similarities between the multiple embedded representations.

13. The system of claim 11, wherein determining the semantically related relationship comprises: Identifying a set of named entities from a corpus, the corpus comprising a plurality of text sequences; classifying the set of named entities into a plurality of entity clusters, each entity cluster in the plurality of entity clusters being associated with one of the plurality of feature categories; as well as The respective semantic relevance levels between the plurality of feature categories are determined based on the relative positions of the plurality of entity clusters within the plurality of text sequences.

14. The system of claim 13, wherein identifying the set of named entities comprises: Obtaining a named entity recognition model, wherein the named entity recognition model is trained using a plurality of sample text sequences and first tag information, wherein the first tag information indicates named entities that appear in the plurality of sample text sequences; as well as The named entity recognition model is used to identify the set of named entities.

15. The system of claim 13, wherein classifying the set of named entities comprises: Using a language model, convert the named entity set into an embedded representation set; as well as The named entity sets are clustered based on corresponding similarities between the embedding representation sets.

16. The system of claim 13, wherein classifying the set of named entities comprises: Acquire a classification model, wherein the classification model is trained using a plurality of sample named entities and second label information, wherein the second label information indicates classification results of the plurality of sample named entities in the plurality of entity clusters; as well as The named entity set is classified using the classification model.

17. The system of claim 13, wherein determining the respective semantic relevance based on the relative positioning of the plurality of named entities within the plurality of text sequences comprises: For a first entity cluster and a second entity cluster in the plurality of clusters, determining a co-occurrence frequency of a first named entity classified into the first entity cluster with respect to a second named entity classified into the second entity cluster within a same text sequence of the plurality of text sequences; and A semantic correlation degree between a first feature category and a second feature category is determined based on the co-occurrence frequency, the first feature category being associated with the first entity cluster and the second feature category being associated with the second entity cluster.

18. The system of claim 11, wherein performing the feature intersection comprises: Based on the semantic correlation relationship, determining a target semantic correlation degree between the at least two feature categories; If it is determined that the target semantic relevance exceeds a semantic relevance threshold, applying a feature crossover operation to the at least two features to generate a crossover feature; as well as If it is determined that the target semantic relevance is lower than the semantic relevance threshold, stop applying the feature crossover operation to the at least two features.

19. The system of claim 18, wherein the semantic relevance relationship indicates respective semantic relevance levels between respective pairs of feature categories among the plurality of feature categories; and Wherein determining the target semantic relevance degree comprises: If it is determined that more than two features classified into more than two feature categories are obtained, Determining at least two semantic correlation levels between at least two pairs of feature categories among the two or more feature categories from the semantic correlation relationship; and The target semantic relevance degree is determined by combining the at least two semantic relevance degrees.

20. A computer-readable storage medium storing computer-readable instructions, which when executed by a computing device cause the computing device to perform actions, the actions comprising: Determining a semantic correlation relationship between a plurality of feature categories, the semantic correlation relationship indicating a corresponding degree of semantic correlation between corresponding pairs of feature categories among the plurality of feature categories; Obtaining at least two features for machine learning, the at least two features being classified into at least two feature categories of the plurality of feature categories; as well as Based on the semantic related relationship, feature intersection is performed on the at least two features.