DATA CLASSIFICATION

Information

  • Patent Application
  • 20140317034
  • Publication Number
    20140317034
  • Date Filed
    April 23, 2013
    11 years ago
  • Date Published
    October 23, 2014
    10 years ago
Abstract
An illustrative data classifier device includes data storage and at least one processor configured to operate as a query engine and a passive classifier that is configured to predict classification labels for data. The processor is configured to determine a relationship between the data and training data with associated training classification labels. The processor is also configured to assign a weighted version of at least one of the training classification labels to at least one member of the data based on the determined relationship. An illustrative method of classifying data includes predicting classification labels for data by determining a relationship between the data and training data with associated training classification labels. A weighted version of at least one of the training classification labels is assigned to at least one member of the data based on the determined relationship.
Description
TECHNICAL FIELD

This disclosure generally relates to data classification. More particularly, and without limitation, this disclosure relates to predicting classification labels for a data set based on a smaller training data set.


DESCRIPTION OF THE RELATED ART


There are a variety of situations in which it would be useful to be able to efficiently predict class assignment for data based on limited training data resources. Typical approaches include using a training data set of measurements that has class labels assigned to the training set measurements. An additional set of class labels are generated for additional measurements with the goal of minimizing prediction error for additional measurement data.


In some cases the input data is given in the form of measurements X1, . . . ,XN, where each X is a vector of d measurements. A small subset of the input data is size L (L<k≦N) and may have attached class assignment labels: Y1, . . . ,YL, such that Yi's are binary integers (e.g., {−1,1}). This set is referred to as the ‘training set’. The task is then to augment the pairs (X1,Y1), . . . ,(XL,YL) with an additional minimal set of pairs by actively selecting and labeling them from XL+1, . . . , Xk, such that the prediction error (or risk) of a classifier output—Y′k+1, . . . ,Y′N using the new labeled training set is minimized for a given test set Xk+1, . . . ,XN.


The existing solutions belong to a class of learning algorithms defined in the literature as ‘active’ classifiers, as they actively construct a training set from which they can learn and predict the class labels of a given test set. Given limited labeling resources, the active classifier algorithm is configured to obtain an optimal label assignment for the test set while querying as few as possible training set members.


One shortcoming of existing solutions is that they are not efficient at handling large data sets. The time and computational resources required to obtain results in some circumstances detracts from the potential value of the results. For example, an existing solution may take over a month of running time using 20 CPUs for relatively small size data sets. Another feature of existing solutions is that they use different criteria in classification and query selection, which can yield classification accuracy that is less than desired.


SUMMARY

An illustrative data classifier device includes data storage and at least one processor configured to predict classification labels for data. The processor is configured to determine a relationship between the data and training data with associated training classification labels. The processor is also configured to assign a weighted version of at least one of the training classification labels to at least one member of the data based on the determined relationship.


An illustrative method of classifying data includes using at least one processor for predicting classification labels for data by determining a relationship between the data and training data with associated training classification labels. A weighted version of at least one of the training classification labels is assigned to at least one member of the data based on the determined relationship.


Various embodiments and their features will become apparent to those skilled in the art from the following detailed description of at least one example embodiment. The drawings that accompany the detailed description can be briefly described as follows.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 schematically illustrates an example data classifier designed according to an embodiment of this invention.



FIG. 2 is a flowchart diagram summarizing an approach for classifying data.



FIG. 3 schematically illustrates a proximity graph useful as part of the technique summarized in FIG. 2.





DETAILED DESCRIPTION


FIG. 1 schematically illustrates a data classification system 20. A data classifier device 22 includes data storage 24, a passive classifier 26 and a query engine 28. The data storage 24 may comprise one or more types of computer memory configured to at least temporarily store data such as training data 30, pool data 32 and test data 34. In this example, the training data 30 may comprise a relatively limited set of data entries (e.g., measurements) and associated classification labels, the pool data 32 may comprise data entries that are candidates to be added to the training data, and the test data 34 represents data entries (e.g., measurements) for which it is desirable to determine a classification label based on the training data 30.


Some implementations will include pool data 32 while others will not. In situations that include pool data, the pool data 32 is that which can be used by the query engine 28 to identify an addition to the training data 30 (in a manner described below). In situations that do not include pool data 32, the query engine 28 considers the test data 34 to identify an addition to the training data 30. For discussion purposes, the following description will refer primarily to the test data 34 and that should be understood in a generic sense to include the pool data 32 if pool data were included unless the context clearly indicates otherwise.


The data classifier device 22 comprises one or more processors, such as computing devices executing instructions provided through programming for example, configured to operate as the passive classifier 26 and the query engine 28. The passive classifier 26 predicts classification labels Y′ for the test data 34, in part based on labels Y associated with the training data 30. The size of the training data set 30 will usually be much smaller than the size of the test data set 34. The query engine 28 uses the training data 30, test data 34 (and pool data 32 if included), the labels Y of the training data, and the predicted labels Y′ from the passive classifier 26 to identify a data entry from the test data (or pool data if included) to query for its true label Y. As described in more detail below, the query engine 28 bases the determination of which data entry to include in an augmented training data set on the predicted label values Y′ of the test data (or pool data if included) and the influence of each of the data set entries on other entries. The query engine 28 identifies the additional data entry (and its corresponding label) to be added to the training data 30 so that it may be used by the passive classifier 26 for further predictions of classification labels.


The eventual output from the data classifier device 22 is a data set schematically shown at 36 that provides a set of classification labels for at least some of the entries in the test data set 34. The type of data and classification labels may vary depending on the needs of a particular implementation.


One example scenario in which such classification could be useful is in the context of telecommunication big data analytics, such as predicting subscriber churn from a telecommunication network. Network operators are interested in the ability to predict which subscribers will churn in an effort to detect and retain potential churners before they unsubscribe from the network operator. In some cases the classifier device 22 may be employed using input training data 30 in the form of measurements for each subscriber, possibly with a labeling function indicating which subscriber has churned. The classifier device 22 acquires labels for more data points and builds a prediction (or a hypothesis) indicating if another set of subscribers (represented by the test data set 34) will churn. The labels indicating the built prediction are part of the output schematically shown at 36.


Another possible use of the classifier device 22 is to predict a likelihood that a customer Set-Top Box (STB) or Customer Premises Equipment (CPE) will fail. In many situations there will be limited data available regarding actual failure as confirmation might require lab examination of the device. The test data set 30 may include parameter measurements obtained from the STBs or CPEs and a binary labeling function of ‘failed’ or ‘OK’. The classifier device 22 is useful for learning a labeling of a very large set of STBs or CPEs by using only limited labeling resources to create a prediction model that minimizes the test set error. The resulting prediction model can be used to predict the likelihood of a customer device failure in the near future. This may allow the operator to take proactive actions to address any devices having a high likelihood to fail without having to wait for an actual failure or a customer call.


Other possible uses for the device 22 will become apparent to those skilled in the art who have the benefit of this description.


The manner in which the example device 22 builds a prediction for data classification is summarized in the flowchart diagram 40 of FIG. 2. Portions of the process shown in FIG. 2 performed by the passive classifier 26 are represented within the area designated by broken lines and labeled 26 while portions performed by the query engine 28 are within the area designated by broken lines and labeled 28.


The passive classifier receives data from the data storage 24 including at least training data 30 and test data 34. Some examples will also include pool data 32. At 42, the passive classifier 26 constructs a proximity graph from the data. The proximity graph includes a node for each data set entry (e.g., each measurement) and edges between nodes.



FIG. 3 schematically shows an example proximity graph 50. The nodes shown at 52, 54, 56, 58, and 60 represent different members of the data set including training data and test data. An edge between nodes is shown if one of the two nodes is one of the K-closest nodes to the other. In other words, the proximity graph 50 includes an edge between nodes Xi and Xj if Xj is one of the K-closest nodes to Xi, or if Xi is one of the K-closest nodes to Xj. In this example, K is a preselected threshold. Edges between the nodes are assigned weights that correspond to an amount of similarity between the nodes. Each edge between a pair of nodes (i,j) is weighted by a similarity metric wij between their values (e.g., measurements) and edges between similar nodes. Initial edge weights ωij are computed as exp(−(|Xi−Xj|̂1)/σ1), where σ1 is a user defined parameter which may or may not depend on Xi and Xj. ωij is normalized to







w
ij

=


ω





ij




j






ω





ij







to form the final edge weights.


In this example, there is no edge shown between the nodes at 54 and 60 because neither is one of the K-closest nodes to the other. Diluting edges in this manner may reduce the processing time without penalty because there is not enough similarity between the nodes 54 and 60 to consider the edge between them for the propagation of test data set labels.


Returning attention to FIG. 2, the passive classifier 26 propagates labels from the training data set nodes of the graph 50 to other nodes in the graph at 70. Propagating the training data set node labels is done based on the weights of the edges of the proximity graph 50. Nodes having more similar values (e.g., measurements) have a higher weighting. Propagating the training data set labels to the other nodes in this example includes propagating a larger portion of the label along the edges having the higher weights and a lesser portion along the edges having lower weights.


In this example, the passive classifier 26 creates a characteristic vector ν such that νi=Yi if i is a training sample index, otherwise νi=0. The passive classifier applies the weights matrix W, whose entry (i,j) is formulated as described above, to the vector ν. The resulting vector {tilde over (ν)} from the product {tilde over (ν)}=Wν can be used again in the same product after reinitializing {tilde over (ν)} on the training indices to the Y values. This process of applying products of W to the characteristic vector is repeated t times in this example, where t is a user-defined parameter. The passive classifier 26 then modifies the weights of the proximity graph edges based on the propagated labels at 72. The classification algorithm uses the current propagated values to redefine the weights in the graph in the following way








ω
ij

=


exp


(


-

(





X
i

-

X
j





2

)


/

σ
1


)


·

exp


(

-





v
i

-

v
j





σ
2



)




,




where σ1 and σ2 are user-defined parameters that may or may not depend on Xi and Xj. The modified weights may then be used for additional label propagation in the step at 70. As schematically represented in FIG. 2, the label propagation at 70 and the weight modification at 72 repeats a selected number of times.


At 74 the passive classifier 26 transfers the data set with the propagated labels to the query engine 28. The newly generated labels for the test data set 34 (or the pool data set 32, if one is included) are given as a subset of the entries in the vector {tilde over (ν)} and are transferred to the query engine 28 as Y′1+1, . . . Y′N.


At 76 the query engine sorts the labels from the test data 34 (or the pool data 32, if included) to identify the label value that has a preselected characteristic. In this example, the query engine 28 identifies the minimum label value. The query engine 28 in this example sorts the Y's (i.e., the labels received from the passive classifier 26) corresponding to the pool data set 32 (if one is included) or the test data set 30. If some Y's have 0-values the query engine 28 chooses from them the corresponding data point that has the maximal sum of weights to all its neighbors: dijwij. Otherwise the query engine 28 chooses the data point that has the minimal Y′ value.


At 78 the query engine 28 adds the data entry that corresponds to the label identified at 76 and the corresponding true label to the training data set 30, which can be denoted as (X1+1,Y1+1). In one example, the query engine 28 obtains the true label from a teacher (not illustrated) that provides the true label using a known technique. The query engine 28 provides the addition to the training data set or the augmented training data set to the passive classifier 26 so that the process summarized at 42 and 70-74 may be repeated by the passive classifier 26 using the updated training data. This augmentation of the training data set may be repeated a preselected number of times.


The eventual result is the set of test data 34 and the associated labels Y′ at 36 (FIG. 1).


One way in which the example classifier device 22 differs from previous active classifiers is that it includes the process of propagating test data labels in a proximity graph to nodes that correspond to the test data (and pool data if included). Having that propagation based on the similarity between nodes connected by an edge of the proximity graph and on the label enhances the ability to more quickly converge to a solution. Increasing the training data in this way also enhances the ability of the example classifier to provide accurate results.


Another way in which the example classifier device 22 differs from previous classifiers is that the query engine identifies the data entry to add to the training data set based on the predicted label values of the pool data or test data and the influence that each node has on its neighbors in the proximity graph instead of only using a computation based on a predetermined criteria.


The combination of features described above may provide the ability to significantly reduce the time it takes to predict labels for a large data set and it may reduce the amount of computing resources required to process the information. Instead of waiting weeks or months for results, which may be the case with previous classification techniques, the example device and method described above can provide results in minutes. Additionally, such results may be obtained on much larger data sets and the results are more accurate than those possible with some previous classification techniques.


The preceding description is illustrative rather than limiting in nature. Variations and modifications to the disclosed examples may become apparent to those skilled in the art that do not necessarily depart from the essence of the contribution to the art provided by the disclosed embodiments. The scope of legal protection can only be determined by studying the following claims.

Claims
  • 1. A data classifier device, comprising: a data storage; andat least one processor configured to predict classification labels for data by determining a relationship between the data and training data, the training data having associated training classification labels, andassigning a weighted version of at least one of the training classification labels to at least one member of the data based on the determined relationship.
  • 2. The device of claim 1, wherein the processor is configured to identify at least one member of the data to add to the training data based on the assigned weighted versions of the training classification labels, andupdate the training data based on the identified member.
  • 3. The device of claim 1, wherein the processor is configured to determine the relationship by generating a proximity graph in which the data and training data members are represented by nodes of the proximity graph and edges between the nodes have weights corresponding to a similarity between the corresponding nodes.
  • 4. The device of claim 3, wherein the processor propagates the weighted version of the label of a selected training data member to a selected data member based on the weight of the corresponding edge between the selected training data member and the selected data member.
  • 5. The device of claim 4, wherein the processor modifies the weight of the corresponding edge based on indications of labels propagated along the edge.
  • 6. The device of claim 4, wherein the processor uses the propagated weighted version of the label as a predicted label for the selected data member; anduses the predicted label for identifying a data member to add to the training data.
  • 7. The device of claim 6, wherein the processor uses a plurality of predicted labels associated with a plurality of test data members;sorts the predicted labels to identify one of the predicted labels that satisfies a preselected criterion;identifies the data member having the identified predicted label; andincludes the identified data member and a true label of the identified data member in the update to the training data.
  • 8. The device of claim 7, wherein the preselected criterion corresponds to a label having a minimum value of the predicted labels.
  • 9. The device of claim 8, wherein at least some of the nodes have 0-value predicted labels; andthe processor is configured to determine a sum of weights between the nodes having the 0-value predicted labels and corresponding graph neighbors, respectively,determine which of the determined sums is larger than the other determined sums, andselect the data member corresponding to the node having the sum that is larger than the other determined sums as the identified data member.
  • 10. A method of classifying data, comprising: using at least one processor for predicting classification labels for data by determining a relationship between the data and training data that has associated training classification labels, andassigning a weighted version of at least one of the training classification labels to at least one member of the data based on the determined relationship.
  • 11. The method of claim 10, comprising identifying at least one member of the data to add to the training data based on the assigned weighted versions of the training classification labels, andusing an update to the training data that includes the identified member for repeating the determining and the assigning.
  • 12. The method of claim 10, comprising determining the relationship by generating a proximity graph in which the data and training data entries are represented by nodes of the proximity graph and edges between the nodes have weights corresponding to a similarity between the corresponding nodes.
  • 13. The method of claim 12, comprising propagating the weighted version of the label of a selected training data member to a selected data member based on the weight of the corresponding edge between the selected training data member and the selected data member.
  • 14. The method of claim 13, comprising modifying the weight of the corresponding edge based on the indication of the label indications of labels propagated along the edge.
  • 15. The method of claim 13, comprising using the propagated weighted version of the label as a predicted label for the selected data member; andusing the predicted label for identifying a test data member to add to the training data.
  • 16. The method of claim 15, comprising using a plurality of predicted labels associated with a plurality of the data members;sorting the predicted labels to identify one of the predicted labels that satisfies a preselected criterion;identifying the data member having the identified predicted label; andincluding the identified data member and a true label of the identified data member in the update to the training data.
  • 17. The method of claim 16, wherein the preselected criterion corresponds to a label having a minimum value of the plurality of predicted labels.
  • 18. The method of claim 17, wherein at least two of the nodes have 0-value predicted labels and the method comprises determining a sum of weights between the nodes having the 0-value predicted labels and corresponding graph neighbors, respectively,determining which of the determined sums is larger than the other determined sums, andselecting the data member having the sum that is larger than the other determined sums as the identified data member.