METHOD FOR CONSTRUCTING AN UPDATEABLE DATABASE OF SUBJECT BEHAVIOR PATTERNS

Abstract: Disclosed is a method for maintaining compact descriptions of the behavior of customers in a database of information relating to customer transactions. Of all possible variables that might be used to characterize customer transactions, a limited number are selected on the basis of discriminating power to define customer profiles. Customers are classified according to distinguishing features of their profiles. A new customer can be initially assigned to a particular class based on data characterizing his first few transactions.

Description: METHOD FOR CONSTRUCTING AN UPDATEABLE DATABASE OF SUBJECT BEHAVIOR PATTERNS CROSS-REFERENCE TO RELATED APPLICATION This application claims priority of Provisional Application Serial No. 60/136,746 which was filed June 1, 1999. BACKGROUND OF THE INVENTION Field of the Invention The invention relates to methods for storing and updating descriptions of customer behavior in databases of information relating to customer transactions. Art Background A company that conducts many business transactions with individual customers will often find it advantageous to maintain customer profiles that describe the current transactional behavior of some or all individual customers. Such profiles are advantageously updated each time a customer conducts a transaction. By way of example, a telephone service provider might profile its customers on the basis of variables such as day-of-week, time-of-day and duration of calls, call origin and destination, and the like. A customer profile is useful, e.g., for fraud detection. That is, if a call made by a purported customer diverges markedly from that customer's profile, it is reasonable to suspect that the caller is fraudulently impersonating the purported customer. Of course, such profiles are useful in regard not only to customers in the strict sense of the term, but more generally, they are useful in regard to parties to transactions of any kind that has distinguishing features that can be used to discriminate among individual parties. We will continue to apply, herein, the term customer to any such party, but it should be borne in mind that the term is meant in the broad, and not in the restrictive, sense. Several challenges confront the practitioner who wishes to compile a database of customer profiles. One challenge is to select an appropriate amount of information for storage. Enough information should be stored to provide a useful characterization of the profiled customers. On the other hand, the total amount of stored information should not overwhelm the storage and processing capacities of the database system. Advantageously, the amount of data allocated for each customer, i.e., the profile length, is fixed, because computers can generally process fixed-length profiles faster and more efficiently than they can process variable- length profiles. A limitation to fixed-length profiles, however, makes it even more difficult to select an appropriate amount of information for storage. A typical profile is a collection of histograms, also referred to herein as "profile components," in each of which a relative frequency of transactions is plotted for each of a plurality of intervals, or bins, along an axis. Measured along the axis is a variable such as time or cost. A time axis might represent, e.g., time of occurrence of a telephone call, call duration, or interval between calls. The variable measured along the axis may be continuous, such as time, or it may be discrete, such as geographical zone (which takes on discrete values such as international and domestic). A further challenge confronting the practitioner is to choose the appropriate level of resolution along the measurement axis; that is, the appropriate widths of the bins. In general, this is a problem whenever the variable ! a; continuous values or values that fall on many levels. Such variables include the time-based measurements listed above. In regard, for example, to relative frequencies of call occurrence, a pair of gross counts of weekday calls and weekend calls, respectively, might have a relatively large amount of power for discriminating between customers. If that were so, there would be relatively little need to count calls on a daily, much less an hourly, basis. In such a case, choosing coarse rather than fine temporal resolution would be advantageous because such a choice would leave storage space available for a further variable having potentially high discriminating power. Summary of the Invention We have developed a new solution to the problem of customer profiling. Our customer profiles include histograms of a limited number of profile variables which are typically predetermined. For example, one profile variable might be time- of-day, and a corresponding histogram would represent a relative frequency of the number of calls in each of a plurality of bins, each bin representing a range of times on a 24-hour clock. However, we have found that histograms of the profile variables generally have more discriminating power when they are conditioned on other, subsidiary variables which we denominate stratification variables. For example, we might maintain separate time-of-day histograms for domestic calls and for international calls, respectively. In fact, we found that in many cases it will be advantageous to impose multiple conditions so that, for example, separate time-of- day histograms will be maintained for domestic-weekend, domestic-weekday, international-weekend, and international-weekday calls. Accordingly, our invention in one aspect involves a method for updating a customer profile in which a new transaction is classified in terms of one or more profile variables. For each of one or more profile variables, data relating to the new transaction are used to update at least one histogram that is conditioned on at least one further, stratification variable. In certain embodiments of the invention, the stratification variables are selected to provide at least some discriminating power when applied to most customers, and moreover to provide relatively high discriminating power when applied to at least some customers. It should be noted that whereas at least one profile variable will be stratified, there may also be one or more profile variables that are not conditioned on any stratification variable. The discriminating power of customer profiles can often be improved by optimizing the bins over which the histograms of profile variables are defined. For example, it might be advantageous in some cases to compile a time-of-day histogram that uses hourly data, but contains bins that span variable numbers of hours. The start time and end time of each bin are adjusted to optimize some figure of merit for the histogram when the histogram is based on a body of training data drawn from representative transactions, here referred to as priming data. The start time and end time are an example of bin cutpoints. We have found a mathematical procedure for setting the bin cutpoints that is especially advantageous for discriminating customers belonging to a particular target group. Accordingly, the invention in one aspect involves a method for updating a customer histogram in which a new transaction is assigned to a bin whose cutpoints are established by such a mathematical procedure. More specifically, our mathematical procedure seeks to maximize an average weighted Kullback-Liebler distance between the histograms of a general population of customers and the histograms of a target population of customers. It is often desirable to assign an initial profile to a new customer before the customer has made more than a few transactions. The initial profile is later updated using data from the customer's actual subsequent transactions. We have found a procedure for assigning an initial profile to a new customer. According to our new procedure, information taken from the new customer's first few transactions is used to index the histograms of the new customer. The same indexing procedure is used to characterize the histograms of established customers. A set of representative profiles are compiled using data relating to established customers. Based on similarity of indices, a representative profile is assigned as the initial profile of the new customer. In one aspect, the invention involves such a method for assigning an initial profile to a new customer. Brief Description of the Drawing FIG. 1 is a broadly conceptual block diagram illustrating the construction of a data base according to the invention in one embodiment. FIG. 2 is an illustrative example comparing a histogram having equal-width bins to a histogram of the same variable having variable-width bins. FIG. 3 is a set of histograms illustrating the effect of stratification on the relative frequency distribution of a profile variable. FIG. 4 is a flowchart of a procedure for selecting stratification variables according to the invention in one embodiment. FIG. 4 is an expansion of block 20 of FIG. 1. FIG. 5 is a block diagram of an exemplary procedure for applying an acceptance criterion to stratification variables that requires, for each such variable to be accepted, that it have some evidence of discriminating power when applied to a majority of the customers, and strong evidence of discriminating power for at least some customers. FIG. 6 is a flowchart of a procedure for choosing index variables according to the invention in one embodiment. Detailed Description FIG. 1 illustrates three stages in the construction of a database according to the invention in an exemplary embodiment. At block 10, optimal cutpoints are established for the histograms of the profile variables. As indicated in the figure, this stage is informed by a set of priming data, i.e., the records of all transactions for a large set of customers during a given period of time. Each record contains values for a set of variables that characterize the transaction. For example, records of wireless calls will typically include values of the date and time of the start of the call, values of flags indicating whether the call was incoming or outgoing and whether it was local or roaming, the value of the call duration, and values for the calling and called numbers. The variables that characterize the transaction may themselves include profile variables. Other profile variables may be derived from the directly measured variables that characterize the transaction. In FIG. 1, it is assumed that the identities of the profile variables are determined in advance and are provided to block 10. In the symbology to be used below, X refers to the identity of a profile variable, e.g., X = day of week. The symbol x refers to a particular value of the profile variable, e.g., x = Tuesday, oτx = Monday through Thursday. Typically, x will identify a particular bin of a histogram for X. Generally, the number of bins for the histogram of each profile variable will be provided to block 10. Thus, for example, block 10 may be instructed that for the profile variable X = day of week, there shall be three bins. The operation to be performed within block 10 might then determine, e.g., that the three bins shall be Saturday + Sunday, Monday through Thursday, and Friday, respectively. In the exemplary embodiment of the invention, the same number of bins is used for each customer. As shown in the figure, block 10 is informed by a body of priming data representing a general population of customers, typically a representative group of established customers having transaction histories. As also shown in the figure, block 10 is optionally informed by a further body of priming data representing a specific target population of customers. By way of example, the target population may be a population of fraudulent customers such as telephone callers known to have misused a third party's account. It should be noted that for some target groups, such as fraudulent callers, it may be difficult to ascertain which of a customer's record 1 : ore relevant to the target behavior. In that case, not only is the target group itself small, but the number of records for each customer in the target group may also be small. In the stage represented by block 20 of FIG. 1, a set of stratification variables is selected from a longer list of candidate stratification variables. (It should be noted, however, that there may be some profile variables that are not stratified.) As noted above, a profile variable such as time-of-day might by itself only weakly discriminate between customers, but different groups of customers might have distinctly different time-of-day histograms when those histograms are limited to domestic only calls or to international only calls. In such a case, the binary-valued variable geographical zone is effective as a stratification variable for the profile variable time-of-day, and the two corresponding strata (for the time-of-day profile variable) are domestic and international. In the symbology to be used below, S refers to the identity of a stratification variable, e.g., S = time-of-day. The symbol s refers to a particular value of the stratification variable, i.e., to a particular stratum. In the above example, s takes on one of two possible values for the geographical zone variable; i.e., one of the values domestic and international. In the operation contained within block 20, stratification variables are selected from the candidate list on the basis of discriminating power. In the exemplary embodiment, discriminating power is measured against three thresholds, denominated in the figure as T in( n v , T5 , and respectively. The threshold T ιnd i V is used to select stratification variables that have discriminating power when applied to the profile variables of individual customers. A stratification variable has discriminating power in this regard if conditioning the profile variable on the respective strata results in respective conditional histograms that differ distinctly from each other. The threshold Tso is used to select stratification variables that have at least some discriminating power for, e.g., at least 50% of the customers in the priming set. Thus, some subset of the candidate stratification variables will typically survive the r 50 threshold test. The threshold T \ is used, for example, to further limit the surviving variables to those that have still greater discriminating power for, e.g., at least 10% of the customers in the priming set. Of course the cutoffs are described as lying at 50% and 10% of the population for illustrative purposes only; T 50 and JΠ 10 can in fact be applied with reference to any desired major and minor fractions of the population. As noted above, combinations of individual stratification variables will often have more discriminating power than individual stratification variables. Accordingly, one result of block 20 is a vector S of stratification variables for each profile variable X that is stratified. Each vector S consists of one or more individual stratification variables S. Different stratification variables may be used for each profile variable. However, once a stratification, i.e., a pair (X, S), has been determined, it is applied to every customer. To each vector S there corresponds a set of vector strata s. Each vector stratum s contains a value for each of the stratification variables that make up vector S. For example, (X, S) might be [time-of-day, (geographic zone, weekdaylweekend)]. In that case, the possible values for s would be (domestic, weekday), (domestic, weekend), (international, weekday), and (international, weekend). Each of these possible values represents a distinct vector stratum for the profile variable time-of-day. In the stage represented by block 30 of FIG. 1 , a set of index variables Z is selected from a longer list of candidate index variables. As noted above, the purpose of the index variables is to derive an index vector z from a new customer's first few transactions, and on the basis of z, to retrieve a stored representative profile component to be included in the new customer's initial profile. In this context, a profile of a customer is a record derived from that customer's historical transactions, comprising a histogram for each vector stratum (X, s). One simple example of an index variable is based on a new customer's first two calls. If both calls were made at night, z = 1. If one was made at night and the other during the day, z = 2. If both were made during the day, z = 3. Generally, a set of selected index variables Z will be combined to form a vector index variable Z having possible vector values z, as for the strata discussed above. The operations contained within block 30 result in the selection of a vector Z of index variables having relatively high predictive power among priming records occupying a given vector stratum. A pair of thresholds T cov and T use , discussed in detail below, are used in this selection process. As a result of the selection process, a vector Z is selected for each vector stratum (X, s). An illustrative example of Z, based on a customer's first two telephone calls, is (geographical zone, direction). Illustratively, the possible levels z of Z are: (0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (2, 0), (2, 1), and (2, 2), wherein the first component refers to the number of calls (among the customer's first two calls) that are domestic rather than international, and the second component refers to the number of calls that are ingoing rather than outgoing. Roughly speaking, the following operation takes place within block 30: For each possible value of the vector z, a histogram of X is obtained over those members of the priming population that both: (i) belong to vector stratum s and (ii) have a Z- value of z. That is, for each (X, s) and each corresponding z, an X-histogram is obtained that is jointly conditioned on s and z. That jointly conditional histogram becomes part of the representative profile for a new customer whose first few transactions are described by the index vector z. A complete representative profile would contain a respective such conditional histogram for each of the vector strata (X, s). The operations within each of blocks 10-30 will be described, in turn, in further detail below. Binning of profile variables. As noted above, it will often be advantageous to vary the cutpoints that define the boundaries of each bin in such a way that the discriminating power of the resulting histogram is optimized. By way of illustration, FIG. 2 shows the distribution of a variable X over 24 equally wide bins, and over seven bins having variable width. In that illustrative case, the raw data about variable X are provided in 24 bins, but only seven bins are allocated for the histogram. Given a profile variable X with K bins allocated for profiling, but with raw data provided in more than K bins, the problem to be solved in block 10 of FIG. 1 is to define the cutpoints of the K bins. If X has discrete values, this task involves grouping values of X into K bins. If X is continuously valued, then it is natural to think of the bins as intervals with cutpoints d 0 < d l <...< d κ , where d is the smallest value of X that can be observed (typically 0 for non-negative continuous variables) and d is the largest possible value (possibly infinite). Here the task is to choose d ,...d κ _ { . Because the total area beneath the histogram must be unity, any particular choice of bins must satisfy, for each customer i, the requirement that _ p i k = 1 , where p i k represents the fraction of transactions of customer i with values of X that fall in bin k. Those skilled in the art will recognize that given the number N of customers in the priming data, and letting the index i range over all customers in the priming set, the quantity IE, defined by the formula is the well-known average information entropy of the binned data. We have found that if customer profiles are to be used mainly to summarize customer behavior, then the K bins for X are advantageously chosen to maximize the figure of merit IE. However, if profiling is intended to identify customers that belong to a particular target group, the cutpoints should be set in such a way that, on average, the binned profile variable for a "typical" customer is as far as possible from the average binned profile variable for the target group, given the specified number of bins. Although the variables p i k define a distribution for each individual customer in the general population, it may not be feasible to similarly define a distribution for each individual customer in the target population. The reason for this is that there may be relatively few target transactions in the priming data. Therefore, it will generally be advantageous to express a figure of merit for targeted profiling in terms of a histogram that expresses the fraction q k of all transactions for the targeted customers that falls in each bin k. Thus, only one target distribution needs to be computed, and not a separate distribution for each customer in the target group. We have found a new figure of merit for the binning of profile variables when the profiling is meant to identify members of a target group. Analogously to the optimization procedure described above for binning in the non-targeted context, the cutpoints are now chosen in a manner that maximizes our new figure of merit. The new figure of merit KL depends, in part, upon the quantity log-^-, which is Pa referred to as the log-likelihood ratio. Large positive values of this quantity indicate that incidences of the profile variable falling in bin k are likelier under the target profile than under the profile of customer /, whereas large negative values indicate the reverse. The figure of merit KL is defined by the formula The cutpoints d l ,...,d κ _ l are chosen so as to maximize KL. In the above formula, w is a parameter continuously adjustable from 0 to 1. When w=0, KL measures the ability to identify members of the target group. When w = 1, KL measures the ability to avoid misclassifying a customer who does not belong to the target group. Intermediate values of w balance these two objectives. Those skilled in the art will recognize that KL, as defined above, is an averaged, weighted, and symmetrized Kullback-Liebler distance from the binned distribution of customer / to the binned target distribution, wherein the average is taken over all customers i. The cutpoints d v ...,d k _ l that maximize KL are found by exhaustive search when feasible; i.e., when the original variable X has only several possible values. If exhaustive search is not feasible, then we limit the amount of searching by specifying minimum widths for the K final bins. For example, let X represent call duration, which is measured to the nearest second. Then to limit the amount of searching required it would be advantageous, e.g., to force all bins to be at least two minutes long and to search for endpoints at time values equal to whole numbers of minutes rather than seconds. Stratification of a profile variable. For each profile variable, there is a list of candidate stratification variables. Different profile variables may have different stratification variables. The goal of block 20 of FIG. 1 is to create strata for each profile variable so that transactions that fall in the same stratum are similar on that profile variable, whereas transactions that fall in different strata are dissimilar. By way of illustration, panel 40 of FIG. 3 shows an unstratified relative frequency distribution of duration for all calls for one customer of wireless telephone service. Panels 41-44 of the same figure show the relative frequency distributions of duration for the same customer, stratified into the groups defined by the four possible combinations of "service provider", which has levels local and roaming, and "direction," which has levels incoming and outgoing. For this customer, stratifying call durations by provider and direction would be useful. If the relative frequency distributions in the four strata had been similar, then stratifying duration would waste space because the same information would be stored four times. It is advantageous to choose stratification variables that are important for a majority of customers, because in any event the same stratification variables will be used for all customers. FIG. 4 is a flowchart of some of the operations to be performed within block 20 of FIG. 1. These operations result in the computation of a figure of merit p for a candidate stratification variable S and a particular customer i. The operations of FIG. 4 are repeated for each customer i. Initially, the operations of FIG. 4 are also repeated for each individual stratification variable S. However, as will be explained below, subsequent computations of p will be performed for stratification vectors S. As indicated in block 50 of FIG. 4, a particular customer i, profile variable X, and stratification variable S are identified. Variable X has K distinct levels (i.e., "bins") numbered 1, . . . , K, and variable S has M distinct levels (i.e., "strata") numbered 1, . . . , M. As indicated at block 55, a matrix a is constructed from the priming data. The matrix a has M columns, each corresponding to a respective level of stratification variable S. Each column of a is a histogram of X, conditioned on the corresponding stratum. Thus, the number of rows of a is equal to the number K of bins of variable X. The element a k m of matrix a is the number of transactions for which X falls in its fc'th bin and S falls in its m'th level. Then, as shown at block 60, each column m is advantageously extended to include a column sum c m = . a k,m » ea °h row ^ xs advantageously extended to include a row sumr λ = ^ a k m , and a (K+l, M+l) element n is advantageously added to represent the total number of transactions in the priming data for customer K M i; that is, n = ^ r k = c m . The matrix a , with its column and row extensions, is herein denominated the frequency table for customer . The frequency table has the following form: A standard χ 1 (chi-squared) test statistic can be computed for the frequency table for customer i to test whether the stratification variable S has discriminating power when applied to profile variable X for customer i. The chi-squared test is useful, provided the expected counts are not too small. A typical minimum count is five. However, less conservative thresholds may also be advantageously imposed. Accordingly, we define a variable threshold T mbv . Blocks 65-110 of FIG. 4 describe a procedure for combining entries of the frequency table so that if possible, initially small expected counts will be brought up to or above the threshold. First, as indicated at block 65, any row whose row sum r k is zero and any column whose column sum c m is zero is removed. Then, as indicated at block 70, an expected table is constructed. The expected table has K rows and M columns. T c The (k, m) entry E k m of the table is -*-__ . , i.e., the product of the &'th row sum and n the m'th column sum, normalized to the total transaction count n. Then, as indicated at block 75, the least expected table entry E k , m , is identified. If E k . m Λs at least T ιndιv , processing continues at block 125, to be described below. If E k . m .is less than T mώv and the corresponding row count is less than the corresponding column count, i.e., if r k . < c m ., then column processing takes place as shown at block 105 and the blocks that follow thereafter. However, if E k , m Λs less than T ιndιv and the corresponding row count is at least the corresponding column count, then row processing takes place as shown at blocks 80-95 At block 80, the row counts of the rows just preceding and just following row fc'are compared. If r k ._ x is less than r k . +l , row k' is collapsed with row k' - l of matrix a, as shown at block 85. By "collapsed" is meant that the two rows are deleted and a single row equal to their sum is substituted in their place. If r _, is greater than r k . +1 , row k' is collapsed with row k' + 1 of matrix a , as shown at block 90. If r k ._ is equal to r k . +l , row k' is collapsed with either row k' - 1 or row k' + l of matrix a , as shown at block 95. After the row processing of blocks 80-95, the expected table is recomputed from the revised matrix a, π indicated at block 100. As noted above, column processing, beginning at block 105, takes place if the least entry E k . m ,of the expected table is less than T mΛv and the corresponding row count is less than the corresponding column count. At block 105, the column counts of the columns just preceding and just following column m' are compared. If c m ._ is less than c m , +l , column m' is collapsed with column m'- l of matrix a, as shown at block 110. If c m ._ is greater than c m , +v column m' is collapsed with column m' + l of matrix a, as shown at block 115. If c m -_, is equal to c m . +1 , column m is collapsed with either column m' - 1 or column m' + 1 of matrix a , as shown at block 120. After the column processing of blocks 105-120, the expected table is recomputed from the revised matrix a, as indicated at block 100. After the expected table is recomputed at block 100, the procedure of FIG. 4 returns to block 75, where the least entry is identified for the recomputed expected table. After some number of iterations of blocks 75-120, the least entry of the expected table will equal or exceed the threshold T mώv . When that threshold condition is satisfied, the count in every cell of the expected table will be at least T mώv . When that is true, the procedure continues at block 125. Block 125 is a test to determine whether the final, collapsed version of the expected table has more than one row and more than one column. If the table has only one row or only one column, it is discarded and the procedure terminates for the current customer and stratum. In that case, no χ 2 test statistic is calculated for the current customer and stratum. However, if the number K' of rows in the table and the number M' of columns in the table are both at least two, the procedure continues at block 130, where the test statistic χ 1 is computed according to the following formula: We have defined a figure of merit p for stratification variable S as applied to customer i. The figure of merit p is the probability that a chi-squared random variable with (K' - l) x (M'- l) degrees of freedom exceeds the computed value of the test statistic χ 2 . As indicated at block 130, p is computed from standard formulas and from the computed value of χ 1 . According to well-known statistical principles, the smaller the p-value, the stronger the evidence that stratification variable S has discriminating power when applied to the profile of X for customer i. However, any candidate stratification variable that is accepted will be applied to all customers, and not only to those for which it has a high p-value. Therefore, it is advantageous to accept only those candidate stratification variables that have discriminating power when applied to a majority of the customers in the priming set. We have found it especially advantageous to apply two conditions for the acceptance of a candidate stratification variable S: (i) S must have some evidence of discriminating power when applied to a majority of the customers, and (ii) S must have strong evidence of discriminating power for at least some customers. This is advantageous because if S stratifies the profile variable X for any customer, it will stratify it for all customers. An exemplary application of such a pair of conditions is illustrated in FIG. 5. At block 140, p is evaluated for each customer i using the procedure of FIG. 4 and a given stratification variable S. At block 145, a determination is made whether/? is less than an upper threshold T 5 for more than 50% of the customers in the priming set. A typical value of 7 50 is 0.05. If 50% or fewer customers have sub-threshold p-values, the current stratification variable S is rejected, as indicated at block 160. At block 150, a similar determination is made whether p is less than a lower threshold 7 o for more than 10% of the customers in the priming set. A typical value of Tio is 0.01. If 10% or fewer customers have sub-threshold p-values, the current stratification variable S is rejected, as indicated at block 160. If the threshold tests of blocks 145 and 150 are both satisfied, the current stratification variable S is accepted. If no stratification variable is found that satisfies the threshold tests, the corresponding profile variable X is not stratified. As noted above, the 50% and 10% population levels described here for application of the threshold tests are purely illustrative and can be changed to suit specific applications. Similarly, the thresholds on p of 0.05 and 0.01 are purely illustrative and can also be changed to suit specific applications. If two or more individual stratification variables S are found acceptable according to the procedure of FIG. 5, a vector stratification variable S is then selected. An exemplary procedure for selecting a vector stratification variable begins by selecting one variable from an acceptable set defined as those candidate stratification variables deemed acceptable according to the procedure of FIG. 5. The selected variable is that member of the acceptable set having the "best" distribution of p-values, e.g. the largest fraction of customers for whom p is less than Tw. All non-selected variables return to the pool of candidate variables. A set of two- component vector stratification variables is then constructed by pairing the selected variable with each candidate variable in the pool. These two-tuples (S S 2 ) become the new candidate stratification variables for X. The procedures of FIGS. 2 and 3 are applied to the new candidate stratification variables, which are now vector variables. The vector stratification variable having the best distribution of p is then selected as the foundation for a new set of candidate stratification variables. The new variables are constructed by appending each remaining candidate variable in the pool to the selected foundation. This procedure is repeated until vector stratification variables of a desired size are achieved. Although larger sizes are possible, a vector stratification variable typically has no more than three elements (S 1 ( S 2 ,S 3 ). The procedure may be terminated early, and the desired size of the vector variable reduced accordingly, if a distribution of p- values is returned that fails the threshold tests of FIG. 5. Representative profiles. We will now describe an indexing procedure that can be used for assigning an initial profile to a new customer who has made only one or a few transactions. The initial profile is readily updated using the new customer's own transaction data, exemplarily at periodic intervals or when further transactions take place. Briefly, our approach is to reduce the information in a customer's first transactions to a set of index variables that are used to choose the best representative profile for the customer from a set of reference profiles that describe behavior patterns occurring in the priming set of data. Advantageously, each stratum (X,S,s) for each profile variable X is indexed separately, without regard to the indexing for other strata of the same profile variable or the indexing for any strata of other profile variables. For example, a customer profile for wireless calling might include the following three strata for X = duration: (i) duration of roaming incoming calls, (ii) duration of local incoming calls, and (iii) durations of all outgoing calls. Each duration stratum would be indexed separately. Suppose that profile variable X has K bins. Suppose further that based on the priming data, customer i has a histogram (also referred to here as a "profile component") p i = (p iΛ ,---,p iιK ) for profile variable X conditioned on stratum s of stratification variable S. If Z is a choice of index variables for the stratum (X,S,_ , then each possible vector value z of Z will correspond to a respective representative profile component r z = (r t 7 , ... , r^ κ ) . It is an object of our indexing procedure to choose the index variables Z so that the representative profile component r, that would be applied to customer i will always be as close as possible to the profile component p t computed from the priming data. As a consequence, application of the indexing procedure to a new customer is likely to assign a representative profile component that is close to the profile component that would have been used if the customer's future transactions had been known. It should be noted that the candidate index variables need not be a subset of the profile and stratification variables, and they may be binned differently from the profile and stratification variables. For example, day-of-week may have seven values as a profile variable, three binned values of weekday/Saturday/Sunday as a stratification variable, and only the two values weekday/weekend as an index variable. However, it must be possible to assign values to the index variables at the time that the representative profile is to be assigned to the new customer. Our procedure for choosing index variables is sequential; that is, we construct a vector index variable Z by adding individual candidate index variables Z one at a time until the incremental benefit from adding any of the remaining candidates is insignificant. We will now describe our procedure with reference to FIG. 6. Initially, a stratum (X, S, s) is obtained, having K levels k = 1, . . . , K, as indicated at block 170. Priming data for this stratum are retrieved, as indicated at block 175. A candidate index variable Z, having J levels./ = 1, . . . , J is identified, as indicated at block 180. An initial, or in subsequent iterations a new, level; is selected, as indicated at block 185. The customers i for whom Z has level j will be referred to as the selected customers. The number of such customers will be denoted N . As indicated at block 190, the priming data are obtained for the selected customers i, i = 1, . . . , N ; . At block 200, a histogram of stratum (X, S, s) is obtained for each of the selected customers. Because of the way these customers are selected, each of these histograms is conditioned on (Z,j). For the 'th such customer, the histogram that is obtained is here denoted p ι ; = (p lιJγl , •••,/?, , , , *) • At block 205, the profile components p, are averaged over all selected customers i to obtain the th average conditional profile component p y . That is, p 7 = (p j , , ... , p j κ ) for the selected customers, wherein At block 210, the average unconditional profile component p 0 = (j ι >••••> >, * ) * s computed for the stratum (Z, S, s) according to It should be noted that when further candidate index variables Z after the initial such variable are considered, the procedures of blocks 205 and 210 are modified. As explained below, a candidate index variable is adopted for indexing if it survives the selection procedure of block 290. When the next candidate index variable Z- is to be considered, it is appended to those of the previously considered variables that have survived block 290, thereby defining a vector index variable Z. The average conditional profile component p ; is then conditioned not only on the current (Z,j), but also on selected levels j of preceding candidate index variables. Similarly, the average unconditional profile component p 0 is replaced by a profile component that is conditioned on selected levels j of the preceding candidate index variables (i.e., those that have survived block 290), but not of the current candidate index variable. Returning to the description of how the initial candidate index variable is treated, a pair of bin distances b t k and b l 0 k is next computed for each selected customer i, as indicated at block 215. The bin distances are intermediate values for the computation of the effect of level j of the candidate index variable Z, as explained below. The bin distances are defined by: b = j|log( p ,, / p,,*)l if P,,,,* > ° '' ■ '' -\o (p J k \ otherwise. b = j|iog(Λj.* / Λ.*)l if fl.,.* > 0 , 0 1 -log(p 0 /v ) otherwise. At block 220, a variable that we refer to as the effect D t J of (Z,j) for customer is computed according to Ideally, the conditional profile component p will be a better match to a selected customer's profile component than will the unconditional profile component p 0 . For each selected customer i, the effect D measures the extent to which this is true. £> } is positive if p ; is closer to the customer's profile component than the average profile component p 0 , which does not depend on Z. The better a match p y is relative to p 0 , the more positive D, is. At block 225, an average effect ; of (Z,j) over all selected customers is obtained according to Thus, the average effect is a measure of how effective the current index level (Z,j) is for approximating the customer's profile component, when compared to the average profile component from the general priming population. As indicated at block 230, the procedure of blocks 185-225 is repeated for each value of j, from j = I toj = J, thereby to obtain an average effect y for each index level (Z,j) of the given candidate index variable Z. As noted, the index level (Z,j) has significant power to explain or predict a given customer's transactional behavior only when D > 0 . Therefore, when a new customer is ready to be assigned a representative profile, it is useful to determine from, e.g., the new customer's first two transactions a set of levels z for the respective index variables Z that are available, and then to assign to that customer a stored representative profile that has been indexed by those levels z for which D > 0. (The subscript z is used herein to indicate a level j of an index variable when used for the purpose of assigning a representative profile to a new customer.) Thus, for each (Z, z) for which D z is positive, the representative profile component assigned to the customer is advantageously conditioned on (Z, z). However, if D. is negative or zero, it is more advantageous to assign a representative profile component that is not conditioned on (Z, z), although of course it may be conditioned on other index variables for which D z is positive. Returning to FIG. 6, blocks 235-265 describe a threshold procedure for provisionally accepting the candidate index variable Z. As an aide for describing this threshold procedure, we now introduce the concept of covered customers. Given a candidate index variable Z, a customer is covered if he belongs to a level (Z, j) of the candidate index variable for which D } is positive. As indicated at block 235, we compute the fraction of all customers in the complete set of priming data who are covered relative to the given candidate index variable Z. (The covered customers are the customers whose representative profiles would be indexed by Z.) We refer to this fraction as the coverage of Z, and we represent it by the symbol C z . At block 240, we introduce a further quantity U z , which we refer to as the usefulness of Z. The usefulness of Z is the fraction of the covered population for whom the effect , of (Z,j) is positive. At block 245, we introduce yet a further quantity R z , which we refer to as the support of Z. The support of Z is defined as the product R z = U Z C Z . This expresses the fraction of customers in the complete priming data in regard to whom it is beneficial to use Z to index stratum (X, S, s). At block 250, we introduce a further quantity V z , which we refer to as the average value of Z. The average value of Z is the mean value of £> over all of the covered customers. Whether Z is useful for indexing, i.e., whether it has predictive power, depends on its coverage, usefulness and average value. Ideally, an index variable would have discriminating power when applied to all customers (i.e., it would have complete coverage) and would have a large effect when applied to all customers (i.e., it would have a large average value and complete usefulness). In practice, however, there may be a tradeoff between candidate index variables that apply to a large fraction of customers but have a small effect for each customer and candidate index variables that affect a small fraction of customers but have a larger effect for the customers that are affected. We manage this compromise as follows: First, we reduce the set of candidate index variables to those with coverage and usefulness above specified thresholds T cov and T me , respectively. For example, we may require a minimum coverage of 30% and a minimum usefulness of 50%. If no candidate index variable exceeds both thresholds, then index selection stops, without adding an index variable. On the other hand, if more than one candidate index variable exceeds both thresholds, the choice of the best candidate index variable needs to be guided by a balancing of the relative importance of support versus that of average value. For example, if Z, has 80% support with an average value of 0.2 while X 2 has 40% support, then how large must the average value for x 2 be before it is considered as good as X, ? This tradeoff can be made by defining constants a v ≥ l,a R ≥ 1 for which (a R R l ,I l ) is deemed equivalent to (R 2 ,a v V 2 ) when i?, > R^ and V, < V 2 for candidate index variables Zi and Z 2 . For example, suppose a v = 2,a R = A. Then Z \ and Z are equivalent if Zi has twice the coverage of Z 2 but Z 2 has four times the average improvement of Zi. Then, the best candidate index variable may be chosen as that Z for which the objective function is maximized. The procedure, described above, for selecting those candidate index variables that are most useful, is illustrated by blocks 255-290 of FIG. 6. At block 255, the coverage of Z is compared with the threshold T cm . If the coverage is less than the threshold, the current candidate index variable Z is rejected, as indicated at block 270. Otherwise, as indicated at block 260, the usefulness of Z is compared with the threshold T use . If the coverage is less than the threshold, Z is rejected. Otherwise, Z is provisionally accepted, as indicated at block 265. As indicated at blocks 275 and 280, the entire procedure of blocks 180-270 is repeated for each of the candidate index variables, thereby to accumulate, as indicated at block 285, a list of all candidate index variables that are provisionally accepted. Then, as indicated at block 290, the single provisionally accepted index variable that maximizes the objective function g(R,V) is selected for final acceptance. As noted above, the procedure of blocks 180-290 is iterated for each given stratum (X, S, s) to construct a finally accepted vector index variable. The procedure will typically be iterated until a predetermined number of index variables have been finally accepted. However, the procedure may terminate after fewer than the predetermined number of index variables have been found, if, e.g., the threshold tests of blocks 255 and 260 show that further index variables will add insufficient discriminating power. In each iteration of blocks 180-290 after the first such iteration, all conditional distributions are conditioned not only on the current index level, but also on selected levels of all previous finally accepted index variables. That is, each level j of the current index variable, which is now a vector index variable, represents a selection from all of the possible ways to choose one level from each of the finally accepted index variables, plus one level from the current candidate index variable. However, no conditional distribution is conditioned on any level (Z,j) for which the average effect D ] is less than or equal to zero. Moreover, as noted above, the unconditional profile component p 0 of block 210 is replaced by a profile component conditioned on selected levels of all previous finally accepted index variables, but not conditioned on the current level (Z,j) of the current candidate index variable. Again, no profile component is conditioned on any level (Z, j) for which the average effect D y is less than or equal to zero. A final representative profile component is computed and stored for each stratum (X, S, s) and index level (Z, z). In effect, the final representative profile component corresponding to index variables Z for stratum (X, S, s) is computed as follows: 1. Find all customers in the priming set who belong to stratum (X, S, s) and index level (Z, z), wherein Z represents the vector of all finally accepted index variables, and z represents a vector of respective levels, in which one such level is selected for each component Z of Z. However, omit from the vectorial index level (Z, z) any component (Z, z) for which the average effect D. is less than or equal to zero. 2. Find p, = (p l X ,...,p l K ) , the profile component of X for stratum (X, S, s), for each customer identified in Step (1). 3. Set the representative profile component r. = [r t , , ... , r l K ) equal to the average of the profile components found in Step 2. If the number of customers found in Step (1) was n z , then 1 "' r z,k = — ∑ Λ-t ' l τ .=1 in which the summation is carried out only over those customers found in Step (1). Significantly, the population over which the summation is carried out is conditioned only by individual index levels z for which the average effect D, is positive. Extensions of our method to more general forms of distributions of statistical variables The preceding discussion has been directed to discrete and categorical profile variables. It should be noted, however, that our method is readily adapted to any continuous distribution that has a finite representation. For example, our method, with appropriate modification is applicable to normal distributions, because normal distributions can be represented by two parameters (typically, the mean and variance). Our method can also be applied to nonparametric continuous distributions, because these can be represented flexibly by splines (i.e., as linear combinations of basis functions). If the representation takes too much space, then a coarser representation can be found by replacing the chi-squared test for choosing discrete stratification variables with an analysis of variance test. In choosing candidate stratification variables, the average profile component p ; for (Z,j) is the average density for the group, which is defined by where p ] {x) is the density for customer i in stratum (S, s) conditioned on (Z,j). The effect of using index variable Z for customer i is then defined by: < I log Pλ* * )>W * P > x, X ) where p 0 is the current profile component for customer without the candidate index variable. The average effect of Z, coverage of Z, and average improvement of Z are then defined exactly as in the discrete case. Thus, the entire procedure for defining, stratifying, and indexing profile components is carried out as for continuous variables with little modification. It should be noted that the procedures for choosing stratification and index variables do not have to start from the null state of no variables. Instead, some variables can be forced to be included as stratification variables or index variables. For example, if the profile variable is duration, then it may be desirable to also include duration (with a possibly different set of bins or parameters) as an index variable. Additional index variables may then be chosen sequentially. The procedures described above are readily carried out using a data processing machine such as a general purpose or special purpose digital computer operating under the control of an appropriate hardware, so. ware, or firmware program. The specific process steps described above are purely exemplary, and not intended to limit the scope of the invention. Those skilled in the art will appreciate that numerous alternative sequences of process steps will achieve essentially the same results and thus also fall within the spirit and scope of the present invention.

Claims: Claims: 1. A method for updating a record of transactions with a party, wherein one or more profile variables are used to characterize the transactions, the record comprises one or more histograms, each histogram stores a relative frequency distribution of a profile variable over a plurality of bins, and each bin represents a respective range of possible values of the profile variable, the method comprising: a) from one or more new transactions, obtaining at least one new value of a profile variable; b) comparing said new value to one or more ranges of values represented by the respective bins of at least one histogram, thereby to assign said new value to a bin of at least one said histogram, wherein said ranges have been chosen such that an average weighted Kullbach-Liebler distance between two sets of transaction records is greater when it is based on said ranges than when it is based on equal ranges; and c) responsive to (b), adjusting the relative frequencies stored in said at least one histogram. 2. The method of claim 1, wherein the bin ranges have been chosen in respect to an averaged, weighted, and symmetrized Kullback-Liebler distance between a set of transaction records representing a general population and a set of transaction records representing a target population. 3. The method of claim 1 , wherein the average weighted Kullback-Liebler distance has been calculated, in part, by summing over parties i and over bins k a plurality of terms of the form: wp lιt log-^- + (l- wtø t log-^- wherein w is a weight parameter, p l k is the fraction of transactions of party i for which the profile variable falls in bin k, and q k is the fraction of transactions of the entire target population for which the profile variable falls in bin k. 4. A method for updating a record of transactions with a party belonging to a population of parties, wherein one or more profile variables are used to characterize transactions with members of said population, the record comprises one or more histograms, each histogram stores a relative frequency distribution of a profile variable over a plurality of bins, and each bin represents a respective range of possible values of the profile variable, the method comprising: a) from a new transaction with said party, obtaining a corresponding value of a profile variable; b) from the new transaction, obtaining a corresponding value of at least one further variable, denominated a stratification variable, wherein the stratification variable has been selected to have some power to discriminate individual parties belonging to a first fraction of the population, and to have greater power to discriminate individual parties belonging to a second fraction of the population, wherein the first fraction is greater than the second fraction; c) assigning the obtained value of at least one said stratification variable to one stratum from a plurality of strata, wherein each said stratum corresponds to a distinct value or range of values of the stratification variable; d) assigning the obtained value of a profile variable to a bin; and e) responsive to (d), adjusting the relative frequencies stored in at least one histogram, wherein said histogram is conditioned on each of one or more stratification variables falling in respective strata. 5. A method for constructing a database of transactions with parties, in which one or more profile variables are used to characterize said transactions, the database comprises one or more histograms, and each histogram stores a relative frequency distribution of a profile variable, the method comprising, for at least one profile variable: a) obtaining stored records of transactions conducted with a population of parties; b) from a plurality of variables, selecting at least one variable, denominated a stratification variable, that has some power to discriminate records of individual parties belonging to a first fraction of the population, and that has greater power to discriminate records of individual parties belonging to a second fraction of the population, wherein the first fraction is greater than the second fraction; c) constructing one or more conditional histograms, each conditioned on one or more stratification variables; and d) storing said one or more conditional histograms in the database. 6. The method of claim 5, wherein, in (b), the power to discriminate individual parties is measured, in part, by performing a statistical chi-squared test in which a test statistic χ ~ is derived from histograms conditioned on at least one stratification variable. 7. The method of claim 6, wherein: the possible values of at least one said stratification variable fall into two or more strata, each stratum corresponding to a distinct value or range of values of the stratification variable; and the test statistic χ 2 is derived from two or more histograms conditioned, respectively, on the stratification variable falling in each of said two or more strata. 8. A method for constructing a database of transactions with parties, in which one or more profile variables are used to characterize said transactions, the database comprises one or more histograms, and each histogram stores a relative frequency distribution of a profile variable, the method comprising: selecting one or more variables, denominated index variables, from a plurality of variables that are based on the first transaction or first few transactions of a party, wherein each of the selected variables has two or more possible values, and said values are denominated indices; and to each of at least some of the indices or combinations of indices, assigning a respective set of one or more histograms of a profile variable, wherein said set is denominated a representative profile. 9. The method of claim 8, wherein: the index variables are selected using a body of transactional data denominated priming data; each index variable is selected with reference to a particular profile variable; and each index variable is selected to have, on average, a property, denominated predictive power, that parties sharing the same index or combination of indices with respect to said index variable are more alike, with respect to histograms of said profile variable, than are parties drawn from the general population represented by the priming data. 10. The method of claim 9, wherein the selection of a given variable as an index variable comprises: evaluating a quantity C that expresses the fraction of all parties represented by priming data whose particular index, relative to the givr. index variable, is deemed, on average, to have predictive power; and accepting the given variable as an index variable only if C exceeds a threshold value. 11. The method of claim 10, wherein the parties whose indices are deemed, on average, to have predictive power are denominated covered parties, and the selection of the given variable as an index variable further comprises: evaluating a quantity U that expresses the fraction of the covered parties for whom individually, and not merely on average, the corresponding index, relative to the given index variable, is deemed to have predictive power; and accepting the given variable as an index variable only if U exceeds a threshold value. 12. A method for initiating a record of a new party in a database of transactions with parties, in which one or more profile variables are used to characterize said transactions, the database comprises one or more histograms, and each histogram stores a relative frequency distribution of a profile variable, the method comprising: a) obtaining data representing the first transaction or first few transactions of the new party, said data denominated initiation data; b) based on the initiation data, evaluating at least one single-dimensional or multi-dimensional index for each of one or more profile variables; and c) for each said profile variable, assigning to the new party one or more stored histograms as representative histograms for that party, wherein each histogram to be assigned is identified by one or more of said indices. 13. The method of claim 12, wherein: each index is a value of an index variable; the index variables have been selected from a plurality of variables that are based on the first transaction or first few transactions of a party; the index variables have been selected using a body of transactional data denominated priming data; and each index variable has been selected to have, on average, a property, denominated predictive power, that parties sharing the same index or combination of indices with respect to said index variable are more alike, with respect to histograms of a corresponding profile variable, than are parties drawn from the general population represented by the priming data. 14. The method of claim 12, wherein: at least some of the stored representative histograms corresponding to at least one profile variable are conditional histograms; each said conditional histogram is conditioned on a value or value of a further one-dimensional or multi-dimensional variable, denominated a stratification variable, whereby each said conditional histogram corresponds to a respective stratum of said profile variable; step (b) comprises evaluating an index for at least one stratum; and step (c) comprises assigning to the new party a representative histogram for at least one stratum.

Inventors: LAMBERT DIANE, PINHEIRO JOSE C, SUN DON X, LAMBERT, DIANE, PINHEIRO, JOSE, C., SUN, DON, X.
Applicants: LUCENT TECHNOLOGIES INC, LUCENT TECHNOLOGIES INC.
Application year: 2000
Main classification: G06F
IPC codes: G06F17, G06Q10, G06Q30, G06Q40, G06Q50