-
2021-11-16
15/975,840
2018-05-10
US 11,176,475 B1
2021-11-16
-
-
David R Vincent
Mark Nowotarski
2040-09-17
Smart Summary: An artificial intelligence system helps create a model that classifies different entities based on training data. It uses a database that marks indicators as true or false for each entity, helping to determine their classification. The system calculates a "tempered indication," which is a special ratio that considers the importance of these indicators. This ratio adjusts the influence of many weak indicators, preventing the model from wrongly predicting an entity's classification. Overall, the goal is to improve accuracy in classifying entities without being misled by less significant data. 🚀 TL;DR
An artificial intelligence system for training a classifier has a database of training data and a modeling system for building a classification model based on the training data. The database has a binary classification for each entity and binary tokens indicating whether or not one or more indicators about the entity are true. The classification model is based on a tempered indication of the tokens. The tempered indication is a ratio of a weighted sum of the tokens for each entity divided by a tempering factor for each of the entities. The tempering factor is a function of the unweighted sum of the tokens for each entity. Thus, the tempering factor will reduce the tempered indication when large numbers of low weight tokens are present so that the model does not over predict the probability of an entity being in the classification.
Get notified when new applications in this technology area are published.
G06N7/005 » CPC main
Computing arrangements based on specific mathematical models Probabilistic networks
G06F16/355 » CPC further
Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data; Clustering; Classification Class or cluster creation or modification
G06N5/02 » CPC further
Computing arrangements using knowledge-based models Knowledge representation
G06N5/048 » CPC further
Computing arrangements using knowledge-based models; Inference methods or devices Fuzzy inferencing
G06N7/00 IPC
Computing arrangements based on specific mathematical models
G06N5/04 IPC
Computing arrangements using knowledge-based models Inference methods or devices
G06F16/35 IPC
Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data Clustering; Classification
A portion of the disclosure of this patent document contains material to which a claim for copyright is made. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but reserves all other copyright rights whatsoever.
Embodiments of the present invention relate to artificial intelligence systems for training classifiers.
There are numerous reasons for classifying entities. Binary classification indicates whether or not an entity is in a particular class. Classification can be done based on the publications of an entity. This can include social media publications. The social media publications are analyzed for the presence of indicators. The indicators might be key words. The presence or absence of an indicator might be digitally stored as a binary value of 1 if said indicator is present and a binary value of 0 if said indicator is not present in a particular publication or group of publications. Prior art systems have assigned different weights to different indicators. This recognizes that some indicators are stronger than others. It has been discovered, however, that when there is a large number of low weight indicators in an entity's publications, prior art systems tend to over predict the probability that an entity is in a particular class. There is need, therefore, for an artificial intelligence system for training a classifier that will not over predict due to large numbers of low weight indicators.
The summary of the invention is provided as a guide to understanding the invention. It does not necessarily describe the most generic embodiment of the invention or the broadest range of alternative embodiments.
A system for training a classifier has a database of training data and a modeling system for building a classification model based on the training data. The database has a binary class for each entity and binary tokens indicating whether or not one or more indicators about the entity are true. The classification model is based on a tempered indication of the tokens. The tempered indication is a ratio of a weighted sum of the tokens for each entity divided by a tempering factor. The tempering factor is a function of the unweighted sum of the tokens for each entity. Thus, the tempering factor will reduce the tempered indication when large numbers of low weight tokens are present so that the model does not over predict the probability of an entity being in a class.
FIG. 1 is an illustration of an artificial intelligence system for training a classifier.
FIG. 2 is a graph of exemplary normalized asymptotic transformations.
FIG. 3 is an example of the training data and associated output of a modeling system.
FIG. 4 is a graph showing how tempering reduces over prediction.
FIG. 5 is an illustration of a classifier system that has been trained.
The detailed description describes non-limiting exemplary embodiments. Any individual features may be combined with other features as required by different applications for at least the benefits described herein.
As used herein, the term “about” means plus or minus 10% of a given value unless specifically indicated otherwise.
As used herein, a “computer-based system”, “computer system”, “database” or “engine” comprises an input device for receiving data, an output device for outputting data, a permanent memory for storing data as well as computer code, and a microprocessor for executing computer code. The computer code resident in said permanent memory will physically cause said microprocessor to read-in data via said input device, process said data within said microprocessor, and output said processed data via said output device.
As used herein a “binary value” is any type of computer data that can have two states. Said data may be, but is not limited to, a bit, an integer, a character string, or a floating point number. A binary value of “1” or “true” is interpreted as the number 1 for arithmetic calculations. A binary value of “0” or “false” is interpreted as the number 0 for arithmetic calculations.
As used herein, the symbols “h”, “i” and “j” refer to index numbers for one of a plurality of objects. Thus, the term “entity j” refers to a jth entity in a plurality of said entities. The term “token i” refers to an ith token in a plurality of said tokens.
As used herein, the term “adjudicated class” means a classification that has been done independently, at least in some respect, of the data used to train a classifier. For example, referring to FIG. 1, an adjudicator 116, may classify a training entity j 104 into an adjudicated class Cj (item 112) using data that is at least in some way independent of the data (e.g. indicator token i 114) used to train a classifier via modeling engine 120. The adjudicator may be a natural person, an automated system, or a combination of both.
FIG. 1 is an illustration of an artificial intelligence system 100 for training a classifier. The system comprises a computer implemented training database 102 and a computer implemented modeling engine 120. The training database comprises a plurality of N training entity records 106. Each of said records comprises an adjudicated binary class C1 (item 112) of a training entity j (item 104). The binary class has a binary value of 1 when said class is true and a binary value of 0 when said class is false. Each training entity record also comprises a plurality of M indicator tokens i (item 114) for said entity j. “i” is an index number for the different tokens. The total number of tokens is M. “j” is an index number for the different training entities. The total number of training entities is N. δi,j represents an indicator token i. {δi,j} represents the plurality of indicator tokens i for each training entity j.
A token i is a binary indication of the presence or absence of an indicator i in a publication by an entity j. The publication may be a social media publication or any publication under the control of the entity, such as text messages, emails, magazine articles, etc. The indicator may be any aspect of the publication, such as words, phrases, word stems, pictures, videos, font, audio or graphic layout. The token i has a binary value of 1 when said binary indication is true (i.e. the indicator i is present in the publication) and a binary value of 0 when said binary indication is false (i.e. the indicator i is not present in the publication).
The computer implemented modeling engine 120 comprises a microprocessor and computer readable instructions stored on a permanent memory. The computer readable instructions are operable to cause said microprocessor to physically carry out the steps of:
The output 124 may be to an automated classification system that will read in token data for a prospective entity h and use said model for determining a probability of said prospective entity h being in said class. For example, prospective entities might be one or more insurance claimants and their associated insurance claims. The class may be whether or not a claim is fraudulent. Thus, the automated classification system can be used to determine if one or more insurance claims is fraudulent.
FIG. 1 illustrates a particular function 172 for determining a tempered indication, but said invention is not limited to said particular function. Any function that meets the above referenced criteria may be used. In this example, the particular function includes the logic that the tempered indication is set to 0 when none of the indicators are present in a training entity's data (i.e. all of the tokens have a binary value of 0).
The tempering factor has a value of 1 when there is only one indicator found in an entity's data (i.e. the unweighted sum of said tokens i for said entity j has a value of 1). This is set by the offset factor 146.
The formula for the tempered indication shown in FIG. 1 has a tempering weight A. This weight indicates how much the tempering factor increases with each increase in the unweighted sum of the tokens. A value for A of 0.1 or less is suitable. The formula for the tempered indication also has a ballast factor 136 that is added to the weighted sum. The ballast factor may be positive or negative.
In order to compare the tempered indication to a binary class, the tempered indication may be transformed into a real value between 0 and 1 by a normalized asymptotic transformation. A particular normalized asymptotic transformation 152 is shown in FIG. 1. This particular transformation has been found to be effective when the indicators are words, phrases or word stems found in an entity's social media data. This transformation is an example of a long tail transformation relative to a logistic transformation. Any long tail transformation may be effective. The combination of the long tail transformation and the tempering factor substantially reduces the impact of a large number of low weight tokens being in an entity's data.
A particular function 160 is shown for calculating an error function. This function is the unweighted sum of squares (i.e. “SSQ”) of the residuals. Any error function, however, may be used that provides an aggregate measure of how well the model fits the data. An alternative error function might be a weighted sum of squares of the residuals where the weights are related to size or importance of the training entities j relative to each other. FIG. 2 is a graph 200 of two exemplary normalized asymptotic transformations 202 and 204. A logistic transformation 202 is presented in comparison to a long tail transformation 204. As used herein, a normalized asymptotic transformation is long tailed if it has a lower value 206 than the logistic transformation at higher values of the transformed variable (e.g. the tempered indication).
One of the practical applications of the system for training a classifier is fraud detection in insurance claims. An example of an insurance claim is a workers' compensation insurance claim. Each insurance claim has a claimant. An example of a class for a workers' compensation insurance claim is whether or not the claim is fraudulent.
A set of 100 workers' compensation claimants and associated insurance claims (i.e. training entities j) were adjudicated to determine which claims were legitimate and which claims were fraudulent. The social media sites of the claimants were then analyzed to identify the presence or absence of six words indicative of whether or not said claims were fraudulent. These six words are the indicators i. The class of each training entity j was associated with an event date. The event date was the date a workplace accident occurred that lead to the claimant's insurance claim. The dates of the publications used for each training entity j were after each training entity's event date. The adjudicated classes and indicator tokens were then stored in a training database. A modeling engine then read the data in. The indicator weights i and tempering parameters of a tempered indication were then calculated based on the model (i.e. items 130, 150, 160) shown in FIG. 1.
FIG. 3 is an example of a portion 300 of the training data and model output of the example. The indicators 304, indicator tokens 306, sum of the indicator tokens 312, and adjudicated classes 308 are shown for a portion of the training entities 302. The calculated indicators weights i 324 and tempering parameters 326 and 328 are shown. The weights and parameters were calculated to minimize the sum of squares 322 of the residuals. The squares of the residuals 318 are shown in the table. The values of the tempered indications 314, and associated probabilities 316 are shown for the calculated indicator weights i and tempering parameters that minimized the sum of squares of the residuals. The indicators of claim fraud and their associated weights that the model selected are consistent with what one would expect for a claimant who might be filing a fraudulent workers' compensation insurance claim. One would not expect a claimant who was injured to be talking about “gym”, “hiking”, “running”, or “tennis” on their social media site if they were truly injured to the point where they couldn't work. Hence these tokens have a high weight. The tokens “baseball”, and “weekend” have a low weight since they might indicate that a person is not injured and hence submitting a fraudulent claim (e.g. “I'm going to play baseball this weekend”) or they might be consistent with a person being injured and not submitting a fraudulent claim (e.g. “I'm going to watch baseball this weekend”).
FIG. 4 is a graph 400 showing the effect of tempering on reducing over prediction. The probability of an insurance claim being fraudulent (i.e. probability of “class” being true) is shown versus the number of indicator tokens per claim that are true (i.e. binary value=1) per entity. The calculated probabilities 402 based on the actual training data is shown as data points. The probability values 404 calculated according to the tempered model are shown as a solid line. The probability values 406 calculated with an untempered model are shown as a dashed line. (In this example, the model is untempered when the tempering weight 144 is set to zero and the ballast factor 136 is set to zero.) The tempered model shows an accurate prediction of the data points 402. The untempered model over predicts the data points.
FIG. 5 illustrates a computer implemented classifier system 500 used to determine if new insurance claims h (item 501) are fraudulent 503 or are not fraudulent 505. Weights and parameters 124 calculated by the modeling engine 120 are transferred to the classifier system. The classifier system reads in 504 a set of indicator tokens {δi,j} related to a given new claim 507. The classifier system then calculates a tempered indication of fraud Vh using a tempered model 502. The tempered model comprises the weights and parameters produced by the modeling engine.
The classifier system then calculates a probability of fraud Ph using the tempered indication and the asymptotic transformation 510.
The classifier system then compares 520 the calculated probability of fraud Ph with a threshold probability of fraud Po. If the calculated probability of fraud is greater than or equal to the threshold probability, then the claim is flagged 533 for further adjudication. If the calculated probability of fraud is less than the threshold probability, then the claim is deemed not fraudulent 531.
The flagged claims may be reviewed 535 by an adjudicator 530 to make a final determination of whether or not they are fraudulent 539 or not fraudulent 537. Those that are fraudulent are denied for payment. Those that are not fraudulent are approved for payment.
Because the classifier system calculates actual probabilities of fraud, quantitative estimates of the fraction of false positives 534 and false negatives 532 can be made. The threshold probability can then be adjusted 540 to minimize the total cost of unwittingly paying false negative claim 532 that are actually fraudulent and the cost of adjudicating 530 the flagged claim 533 to determine which ones are not fraudulent.
While the disclosure has been described with reference to one or more different exemplary embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the disclosure. In addition, many modifications may be made to adapt to a particular situation without departing from the essential scope or teachings thereof. Therefore, it is intended that the disclosure not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention. For example, the methods described herein may be applied to multi-valued or even scalar classes of entities. They can also be extended to tokens that are scalars, such as the number of times a particular indicator is present in a publication, or the degree to which an indicator is present.
1. An artificial intelligence system for training an automated classification system, said artificial intelligence system comprising:
a) a computer implemented training database comprising a plurality of training entity records, each of the records comprising:
i) an adjudicated binary class of a training entity j, the binary class having a binary value of 1 when the class is true and a binary value of 0 when the class is false; and
ii) a plurality of class indicator tokens i for the training entity j, each of the tokens being a binary indication of the presence or absence of an indicator i in a publication by the training entity j, the binary indication having a binary value of 1 when the indication is true and a binary value of 0 when the indication is false; and
b) a computer implemented modeling engine comprising:
i) an input device, an output device, a permanent memory, a microprocessor; and
ii) computer readable instructions stored on the permanent memory, the computer readable instructions operable to cause the microprocessor to carry out the steps of:
1) read in, by the input device, the plurality of training entity records from the training database;
2) calculate, by the microprocessor, for each training entity j a tempered indication of the class, the tempered indication being based on:
a) the ratio of a weighted sum of the tokens i associated with the training entity j and a tempering factor, the tempering factor being a function of an unweighted sum of the tokens i associated with the training entity j;
b) one or more indicator weights i associated with each of the tokens i in the weighted sum; and
c) one or more tempering parameters associated with either the weighted sum or the tempering factor;
3) calculate, by the microprocessor, for each training entity j a probability of the class having a binary value of 1, wherein the calculation of the probability comprises a normalized asymptotic transformation of the tempered indication for the training entity j, the normalized asymptotic transformation having an asymptotic value of 1 for large values of the tempered indication;
4) calculate, by the microprocessor, for each training entity j a residual, the residual being the difference between the binary value of the class and the probability of the class having a binary value of 1;
5) calculate, by the microprocessor, an error function of the residuals for all of the entities;
6) calculate, by the microprocessor, values for the indicator weights i and the one or more tempering parameters that minimize the error function; and
7) output, by the output device, the indicator weights i and the one or more tempering parameters in a computer readable form to said automated classification system such that said indicator weights i and one or more tempering parameters can be used by said automated classification system to read in token data for a prospective entity h and use a model based on said indicator weights i and tempering parameters for determining a probability of said prospective entity h being in said class.
2. The artificial intelligence system of claim 1 wherein the tempered indication is set to a value of 0 when all of the tokens for a training entity j have a binary value of 0.
3. The artificial intelligence system of claim 1 wherein the tempering factor is set to a value of 1 when the unweighted sum of the tokens for a training entity j has a value of 1.
4. The artificial intelligence system of claim 3 wherein:
a) the tempering parameters comprise a tempering weight; and
b) the tempering factor increases by the tempering weight when the unweighted sum of the tokens for a training entity j increases by 1.
5. The artificial intelligence system of claim 4 wherein the tempering weight has a value of 0.1 or less.
6. The artificial intelligence system of claim 1 wherein:
a) the tempering parameters comprise a ballast factor; and
b) the ballast factor is added to the weighted sum.
7. The artificial intelligence system of claim 1 wherein the asymptotic transformation is a long tail transformation relative to a logistic transformation.
8. The artificial intelligence system of claim 1 wherein the indicators comprise words, phrases or word stems.
9. The artificial intelligence system of claim 1 wherein the error function is a sum of squares of the residuals.
10. The artificial intelligence system of claim 1 wherein:
a) said prospective entity h is a claimant and an associated insurance claim;
b) said adjudicated binary class is a determination of whether or not the insurance claim is fraudulent; and
c) said publication is a social media publication by said claimant.