Spoken language understanding that incorporates prior knowledge into boosting

A system for understanding entries, such as speech, develops a classifier by employing prior knowledge with which a given corpus of training entries is enlarged threefold. The prior knowledge is embodied in a rule, combined from separate rules created for each label outputted by the classifier, each of which includes a weight measure p(x). A first a set of created entries for increasing the corpus of training entries is created by attaching all labels to each entry of the original corpus of training entries, with a weight &eegr;p(x), or &eegr;(1−p(x)), in association with each label that meets, or fails to meet, the condition specified for the label, &eegr; being a preselected positive number. The second set of is created by not attaching any of the labels to each of the original corpus of training entries, with a weight of &eegr;(1−p(x)), or &eegr;p(x), in association with each label that meets, or fails to meet, the condition specified for the label.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
RELATED APPLICATIONS

[0001] This application claims priority from provisional applications 60/306,283 filed Jul. 18, 2001 and 60/374,961 filed Apr. 23, 2001.

BACKGROUND

[0002] This invention relates to classifiers.

[0003] Speech and language processing technologies have the potential of automating a variety of customer care services in large industry sectors such as telecommunication, insurance, finance, etc. In an effort to reduce the cost structure of customer care services, many of these industries have depended heavily on complex interactive voice response (IVR) menus for either automating an entire transaction or for routing callers to an appropriate agent or department. Several studies have shown that the “unnatural” and poor user interface of these long touch-tone menus tend to confuse and frustrate callers, preventing them from accessing information and obtaining the desired service they expect. A recent study revealed that over 53% of surveyed consumers say that automated IVR systems are the most frustrating part of a customer service. In this survey, 46% of consumers dropped their credit card provider because of the perceived poor customer care.

[0004] Advances in speech and language technologies have the potential for improving customer care not only by cutting the huge cost of running call centers but also by providing a more natural communication mode for interacting with users, without requiring them to navigate through a laborious touch-tone menu. This has the effect of improving customer satisfaction and increasing customer retention rate. These values, which collectively form the foundation for an excellent customer care experience, have been evident in the AT&T Call Routing “How May I Help You” service, which is currently deployed nationally for consumer services, as reported by A. L. Gorin et al in “How May I help You,” Speech Communication, pp. 113-127, 1997.

[0005] It is expected that over the next few years, speech and language technologies will play a more vital role in not only customer care services but also in general “Help Desk” applications where the objective is not only routing of calls or accessing information but also in solving technical problems, answering sales inquiries, supplying requested recommendations, and trouble shooting. Many computing and telecommunication companies today provide some form of a Help Desk service through either the World Wide Web or using a human agent.

[0006] Several technology requirements exist for voice-enabling Help Desk applications, including having a speech recognizer that is capable of recognizing a large-vocabulary spontaneous speech and supporting barge-in, a spoken language understanding (SLU) unit that parses the natural language input into relevant information, a dialog manager that operates in a mixed-initiative mode, and a text-to-speech synthesizer that is able to generate high-quality synthesized voice statements to the user.

[0007] A large number of speech recognizers are known in the art including, for example, U.S. Pat. No. 6,246,986, issued to Ammicht et al on Jun. 12, 2001 and assigned to the assignee of this invention. The objective of the speech recognizer is to convert the speech utterances to text, to be employed in the SLU unit that follows.

[0008] As for the spoken-language-understanding (SLU) module, a need exists for an application-specific corpus of speech data that may be used for designing a classifier for that application, a set of classes for that application, and an annotation relative to the classes of the speech data in the corpus.

[0009] The speech data comprises a collection of entries, each entry being an utterance (also converted to text) of a word, a phrase, a sentence, or a number of sentences, where such utterances have been collected from users, or may be expected from the user of the designed application. The designers of the application determine the set of classes. The annotation of an entry is a set of one or more labels that attach to the entry, meaning that the entry is related to the attached labels. In a telecommunications application, for example, if the corpus of training utterances contains the entry “I wish to speak with someone regarding my July Statement” and if the label “billing” is included in the set of classes, then the “billing” label ought to be attached to this entry.

[0010] The process of creating annotations for the entries of the corpus of training data conventionally relies on information that comes with the corpus of speech data, or from people who are familiar with the application that is being designed. Collecting, transcribing and labeling speech data is a resource-intensive, and time consuming, process. This process does not form a part of this invention.

[0011] As indicated above, many situations exist in today's commercial environment where a natural language interaction with a customer would be very useful. The need exists to create a system that is able to naturally and effectively interact with customers; and especially, there are great commercial incentives for creating such systems quickly, dispensing with drawn out design processes that are carefully tailored to the applications. Additionally, there is a need to create such systems without the benefit of a large corpus of training utterances. Specifically, there is a need to create such systems without the benefit of a large corpus of speech data, which takes a long time to create and which is seldom available in the beginning of the development cycle.

SUMMARY

[0012] When designing a classifier for a particular application, where the classifier attaches labels to an entry to be classified, an advance in the art is achieved, and an improved classifier is realized, with a process that incorporates prior knowledge about the particular application. Specifically, the improved classifier is realized with a boosting algorithm that employs a base corpus of training entries that is derived from a given corpus of training sequences, with the assistance of a rule, relative to each of the classifier labels, that is based on prior knowledge about the particular application. Illustratively, the given corpus of training data includes a set of training entries, and each training entry has an associated field of up to k attached labels. A preselected, uniform, weight is initially associated with each label of each entry. The rule that is created through prior knowledge about the particular application, relative to each label, specifies a condition that, if an entry x that is to be classified satisfies the condition, leads to the conclusion that the associated label should be attached to entry x, with a predetermined weight p(x).

[0013] A first a set of created entries for increasing the corpus of training entries is created by attaching all labels to each entry of the given corpus of training entries, with a weight p(x), or 1−p(x), in association with each label that meets, or fails to meet, the condition specified for the label. A second set of created entries for increasing the corpus of training entries is created by not attaching any of the labels to each of the original corpus of training entries, with a weight of 1−p(x), or p(x), in association with each label that meets, or fails to meet, the condition specified for the label.

[0014] A system for understanding spoken language is realized by forming a system that normalizes entered utterances to be classified, passes the normalized utterances through a mostly deterministic entity extraction module, and applies the output entity-extracted utterances to a classifier constructed with a boosting algorithm that is based on the three-fold corpus of training entries, as described above.

BRIEF DESCRIPTION OF THE DRAWINGS

[0015] FIG. 1 presents a block diagram of a spoken language understanding unit;

[0016] FIG. 2 is a flow chart of a boosting algorithm for developing a classifier; and

[0017] FIG. 3 is a flow chart for creating a threefold version of a given corpus of training entries.

DETAILED DESCRIPTION

[0018] FIG. 1 presents a block diagram of an SLU unit intended to understand spoken speech, in real time, for any application of choice; for example, telecommunication service, airline reservations service, catalog purchases, insurance company customer service, etc. Such applications can, effectively, conduct “interactive conversations” between a human caller and a system that includes the FIG. 1 SLU. Although it is not necessary for purposes of this invention, the FIG. 1 arrangement presumes that the speech has been converted to text before it is applied to the arrangement. Such conversions are well known in the art. Thus, the FIG. 1 arrangement comprises a text normalization module 10 that is responsive to an applied input utterance (converted to text), an entity extraction module 20 responsive to module 10, and a classifier 30 responsive to module 20 for parsing out named entities. Post-classification processor 40 handles the applied input utterance that is augmented by the information developed in classifier 30.

[0019] Text normalization module 10 eliminates some “noise” variations among words and utterances. The effective reduction in the variability of the input effectively increases the size of the training-set and thus improves the SLU accuracy. The text normalization module uses morphology, synonyms, and removal of disfluencies (“filler” utterances, such as “ah”). A text normalization system can be employed in accordance with the teachings of Alleva et al, in U.S. Pat. No. 5,970,449, issued Oct. 19, 1999, and titled “Text Normalization Using a Context-Free Grammar.” A significant amount of information is also available from SIL International, in www.sil.org.

[0020] Entity extraction module 20 simplifies the tasks presented to SLU module 30 by parsing out task-independent entities in the input utterances, such as phone numbers, dates, etc. and effectively replacing the identified entities with a meta-term. For example, the phrase “I want to speak to someone about the January 02 bill for 973 345 5555” is replaced by module 20 with “I want to speak to someone about the <date>January 02 <date>bill for <phone_number>973 345 5555 <phone_number>.” This relieves the burden on classifier 30 because a portion of the utterance has been understood and, therefore, need not be considered by the classifier. For example, the information between delimiters <phone_number>, i.e., 973 345 555, need not be considered by classifier 30. The characteristic feature of the process carried out in module 20 is that it is mostly a deterministic pattern matching. That is, in connection with many of the objects that are to be extracted, for example, money, and phone number, a deterministic approach can be taken where, basically, a collection of patterns can be specified against which the input data can be applied. In connection with some other objects, however, it may be decided that a classifier, perhaps unlike the process carried out in classifier 30, which is disclosed below, should be used instead of, or in addition to the deterministic approach.

[0021] Classifier 30 is a module that attaches a classification, or a label, to an applied input. In its simplest form, a classifier may perform a test on the input, and in response thereto output a+1, or a −1 signal. A +1 means that the classifier concluded that the predetermined label should be attached to the input, and a−1 means the contrary. A more sophisticated classifier reaches a plurality of decisions, relative to a corresponding plurality of labels. A still more sophisticated classifier not only reaches a plurality of decisions, but also provides a confidence measure about those decisions.

[0022] To illustrate the latter, if the set of preselected labels consists of

[0023] (1) “operator assistance”

[0024] (2) “billing question”

[0025] (3) “failure to connect problem”

[0026] (4) “request for maintenance” and

[0027] (5) “new business,”

[0028] the classifier might associate with utterance x the vector (9, 0.1, −1.6, −1.3, −5), meaning that the classifier attaches a confidence measure of:

[0029] 9 to the conclusion that the “operator assistance” label should be attached,

[0030] 0.1 to the conclusion that the “billing question” label should be attached,

[0031] 1.6 to the conclusion that the “failure to connect problem” label should NOT be attached,

[0032] 1.3 to the conclusion that the “request for maintenance” label should NOT be attached, and

[0033] 5 to the conclusion that the “request for maintenance” label should NOT be attached.

[0034] Alternatively, the classifier might associate with the utterance the vectors (1, 1, −1, −1, −1) and (9, 0.1, 1.6, 1.3, 5), imparting the same meanings. The first vector indicates whether a label is, or is not attached, and the second vector provides the confidence measure.

[0035] A unique boosting algorithm is disclosed is U.S. patent application Ser. No. 09/253,692, filed Feb. 22, 1999. While this algorithm is disclosed in detail in the aforementioned application, for ease of understanding of the instant invention, it is described herein as well. The teachings of this application are hereby incorporated by reference.

[0036] Consideration of the algorithm begins with a corpus of training utterances with associated label sets. In the context of spoken language, for example, a training sample may be an utterance that, through conventional means (described above), was converted to a text word sequence. Thus, for example, an utterance in the corpus of training utterances might be

[0037] “I wish to speak with someone regarding my bill”

[0038] and in an arrangement where the set of labels under consideration consists of above-used five categories, or labels, the label vector annotating this entry in the database might be

[0039] (1, 1, −1, −1, −1),

[0040] indicating the affirmative association of the utterance with labels “operator” and “billing,” and no association with the other labels. Conventionally, a large corpus of training utterances is used to design a classifier, with the hope that the designed classifier will be effective to correctly predict labels for utterances that are not in the training corpus.

[0041] A simple classifier effectively answers a test posed in the form

[0042] “does the input utterance contain the <term>?”

[0043] The term, in the context of the test carried out by a classifier, is a word (e.g., “bill”), a number of consecutive words (e.g., “can I have”), a plurality of selected words within a given proximity of each other (e.g., “telephone” within 3 words of “working”), or some logical combination of words. Most simply, the set of terms from which a classifier chooses a term is derived from the corpus of training utterances. For example, the set of terms may consist of a unique appearance of all words found in the corpus of training utterances, or all words minus preselected “noise” words. Of course, this list can be augmented by the party creating the classifier for a particular application.

[0044] The result of a classifier's test is either a “yes” or a “no,” but the output signal of the classifier, relative to a particular label, can be chosen by the classifier's designer. Illustratively it can be a

[0045] a) 1, or a −1, meaning that the label should be attached to the utterance under test, or not attached to the utterance;

[0046] b) 1, 0 or −1, meaning that the classifier believes that the relevant label is definitely attached to the utterance, no decision, or definitely not attached to the utterance;

[0047] c) any real number, where the sign indicates whether the classifier believes that the label is, or is not, attached to the utterance, and the magnitude indicates the level of confidence that the classifier has about its decision; or

[0048] d) same as c), but limited to numbers that are not larger (in magnitude) than a preselected value.

[0049] When designing a classifier, the aim is to find a term that provides the most accurate classification in the training corpus, with the above-mentioned hope is that such a classifier will also provide the most accurate classification for utterances other that in the corpus of training utterances. It is disclosed in the aforementioned application that a classifier can be constructed from a plurality of component classifiers.

[0050] To create a component classifier, an exhaustive search of the training corpus can be made to establish a score for each of a plurality of candidate classifiers, each of which uses a different term. The classifier that provides the best score is selected as the component classifier of choice. Naturally, it is expected that while one corpus of training utterances will result in a component classifier that employs one term, another corpus of training utterances will result in a component classifier that employs another term. Consequently, tt has been determined that is advantageous to have numerous component classifiers, with each derived from a different training corpus. Further, it has been realized that when one has a single corpus of training utterances, one can create the effect of having different corpuses of training utterances by simply taking different subsets of the single corpus. Further still, it has been realized that the notion of taking a subset is akin to associating a weight with each utterance, and creating different subsets by merely setting a weight of 1 to different subsets of the utterances in the corpus (and a weight of 0 for the other utterances). Further yet, it has been disclosed in the aforementioned application that subsets may be created with weights that are real numbers, and not just 1 and 0.

[0051] In accord with the disclosure of the aforementioned application, a plurality of component classifiers, ht, is created in an iterative manner that outputs a decision relative to a plurality of k labels, and each classifier is created with the aid of the same training corpus of utterances, except that each label of each entry in the corpus has an associated weight, w, (i, l) that changes from one iteration to the next. For example, w3 (431,2) refers to the weight of the second label of the 431st entry in the corpus of training utterances, in the third iteration of the component classifiers design.

[0052] Given the corpus of training utterances, (x1, Y1), (x2,Y2), . . . (xm,Ym), where x1 is the ith utterance and Y1 is the associated label vector, the procedure for developing a classifier, shown in FIG. 2, is as follows.

[0053] At step 100 an iteration variable t is set to 1, and a weight variable w,(i,l) is also set to 1, in connection with each label of each entry in the corpus of training utterances. (If one wishes to operate in an equalized manner, the weight would be set to equal 1/mk, where m is the number of utterances in the corpus, and k is the number of labels under consideration, e.g., 5, in the examples above.) Control then passes to step 110 where a term is selected (e.g., from a set of unique terms that is based on the corpus of training utterances) for a candidate classifier. Control then passes to step 120 where the corpus of training utterances is passed through the candidate classifier, developing the cost measure 1 Z t = ⁢ ∑ i   ⁢ w t ⁡ ( i , 1 ) ⁢ ⅇ - α t ⁢ Y i ⁡ ( l ) ⁢ h t ′ ⁡ ( x i , 2 ) + ∑ i   ⁢ w t ⁡ ( i , 2 ) ⁢ ⅇ - α t ⁢ Y i ⁡ ( 2 ) ⁢ h t ′ ⁡ ( x i , 2 ) ⁢   ⁢ ⋯ ⁢ ∑ i   ⁢ w t ⁡ ( i , k ) ⁢ ⅇ - α t ⁢ Y i ⁡ ( k ) ⁢ h t ′ ⁡ ( x i , k ) = ⁢ ∑ i   ⁢ ∑ l   ⁢ w t ⁡ ( i , l ) ⁢ ⅇ - α t ⁢ Y i ⁡ ( l ) ⁢ h t ′ ⁡ ( x i , l ) ( 1 )

[0054] where ht(xi,l) is the output of the candidate classifier, relative to label l, for entry xi of the applied corpus of training utterances, and Yi(l) is the l label value associated with entry xi, it being either +1 or −1. It is noted that the cost measure encompasses all labels as well as all entries of the corpus of training utterances.

[0055] Once a cost measure is determined, control passes to step 125 where the developed measure is compared to a previously stored “low water mark” cost measure. If the currently developed cost measure is lower than the stored “low water mark cost measure, it becomes the “low water mark” cost measure, and the candidate classifier's term that produced this cost measure is stored together with the new “low water mark” cost measure. Control then passes to step 130, which determines whether there are any other terms to be considered in the current iteration. If there are such terms, control returns to step 110, where another term is selected. Otherwise, the process continues to step 140, which concludes that the term stored by step 125 is the appropriate classification term for classifier ht, and chooses a real number &agr;t, for example, &agr;t=1, to be associated with classifier ht.

[0056] From step 140, control passes to step 150 to compute new weights 2 w t + 1 ⁡ ( i , l ) = 1 Z t ⁢ ( w t ⁡ ( i , l ) ⁢ ⅇ - α t ⁢ Y i ⁡ ( l ) ⁢ h t ⁡ ( x i , l ) ) , ( 2 )

[0057] where ht(xi,l) is the output of classifier ht, relative to label l, for entry xi of the applied corpus of training utterances. Control then passes to step 160, which determines whether t is equal to threshold T. If not, control passes to step 165, which increments t by 1 and returns to step 110. When t=T, control passes to step 170, where the final, combined, classifier output, f(x,l), is ascertained to be: 3 f ⁡ ( x , l ) = ∑ t = 1 T ⁢ h t ⁡ ( x , l ) , ( 3 )

[0058] where x is the utterance to be classified. This classifier output can also be expressed through a probability function of the form 4 1 1 + ⅇ f ⁡ ( x ) . ( 4 )

[0059] A classifier that develops a classification signal in accordance with the principles disclosed above is termed herein as a “boosting classifier.”

[0060] The output developed by classifier ht can be set to 5 h t ⁡ ( x i , l ) = { c 0 ⁢   ⁢ l if ⁢   ⁢ term ⁢   ∉ x i c 1 ⁢   ⁢ l if ⁢   ⁢ term ⁢   ∈ x i ( 5 )

[0061] where c0l is the output of classifier hl when term is not found in tested entry xi, and c1l is the output of classifier ht when term is found in tested entry xi. Illustratively, 6 c 0 ⁢   ⁢ l = 1 2 ⁢ ln ⁡ ( W + 0 ⁢   ⁢ l + ϵ W - 0 ⁢   ⁢ l + ϵ ) ⁢   ⁢ and ⁢   ⁢ c 1 ⁢ l = 1 2 ⁢ ln ⁡ ( W + 1 ⁢   ⁢ l + ϵ W - 1 ⁢   ⁢ l + ϵ ) ( 6 )

[0062] where &egr; is a preselected small number (insuring that c0t and c1l are not excessively large in magnitude). Illustratively &egr;=1/(# of entries in corpus times # of labels). With this formulation for c0l (c1t) it turns out that the sign of c0l (c1t) indicates whether the classifier attaches (does not attach) label l to entry xi, and the magnitude of c0l (c1t) indicates the measure of confidence that the classifier has in its decision. Other formulations for the developed output are also possible, such as

cjl=sgn(W+jl−W−jl)   (7)

[0063] where j is either 0 or 1.

[0064] The factor W+1l is the sum of all weights w(i,l), associated with label l, taken over all entries of the corpus of training utterances, where the classifier's test yielded a “yes” answer, and where the value of the label l in the database is a “+1”. (The subscript t is not included in w(i,l) of the above sentence because the meaning of W+1l is the same for all iterations.) Correspondingly, the factor W−1l is the sum of all weights associated with label l, taken over all entries of the corpus of training utterances where the classifier's test yielded a “yes” answer, and where the value of the label l in the database was a “−1”. Similarly, the factor W+0l is the sum of all weights associated with label l, taken over all entries of the corpus of training utterances where the classifier's test yielded a “no” answer, and where the value of the label l in the database was a “+1”. The factor W−0l is the sum of all weights associated with label l, taken over all entries of the corpus of training utterances where the classifier's test yielded a “no” answer, and where the value of the label l in the database was a “−1”. Expressed mathematically, 7 W sgn ⁡ ( b ) jl = ∑ i = 1 m ⁢ w t ⁡ ( i , l ) ⁢ ⟨ x t ∈ X j ^ Y t ⁡ ( l ) = b ⟩ ( 8 )

[0065] where j is either a 1 or a 0, X1 is the set of documents that contain the term used by the classifier X0 is the remaining set of documents, and b is either a +1 or a −1, and <&xgr;> is 1 when &xgr; is true, and 0 otherwise.

[0066] Another weight-determining approach can also be used in place of the one used in equation (2) above, for example, 8 w t + 1 ⁡ ( i , l ) = 1 1 + exp ⁡ ( Y i ⁡ ( l ) ⁢ ∑ q = 1 t ⁢ h q ⁡ ( x i , l ) ) . ( 9 )

[0067] The above-described method is entirely data driven, in the sense that the classifier that is generated is derived exclusively from the corpus of training utterances. When that corpus is large, this approach makes sense. However, in some applications the available data may be rather sparse. Fortunately, apriori knowledge, for example knowledge known to the human designers of the particular application, may be available that might compensate for this lack of data.

[0068] To illustrate, assume a corpus of training utterances that has 6 entries as shown in the first column of table 1 below, and that for the 5 classification labels illustratively chosen above, the labels that are associated with the entries are shown in the second column of table 1, in the order (1) “operator assistance,” (2) “billing question,” (3) “failure to connect problem,” (4) “request for maintenance” and (5) “new business.” Assume further that the term selected for the candidate classifier is the word ‘speak,” meaning that the candidate classifier effectively asks the question “Is the term ‘speak’ found in the utterance?” When a term in the corpus is applied to the candidate classifier, the candidate either reaches the decision “yes” (+1) or the decision “no” (−1). For sake of simplification, Table 1 shows those decisions only for label (2). 1 TABLE 1 utterance 1 2 3 4 5 I . . . speak . . . agent . . . +1 +1 +1 −1 −1 −1 Good . . . speak . . . human . . . +1 +1 +1 −1 −1 −1 My . . . business office . . . person . . . +1 +1 −1 −1 −1 +1 . . . line . . . working . . . −1 −1 −1 +1 −1 +1 Why can't I . . . dial . . . tone . . . −1 +1 −1 +1 +1 −1 Phone . . . extra . . . cost . . . −1 −1 −1 −1 −1 +1

[0069] To compute the values of c0l and c1t (l=2), for example, according to equation (6), the groupings of W+1l, W−1l, W+0l, and W−0l need to be ascertained, and a value for &egr; needs to be chosen. Thus, ascertaining that W+1l=2 (rows 1 and 2), W−1l=0, W+0l=2 (rows 3 and 5), and W−0l=2 (rows 4 and 6), and choosing &egr;=0.02 yields, for label (2), 9 c 0 = 1 2 ⁢ ln ⁡ ( 2.02 2.02 ) = 0 , and ⁢   ⁢ c 1 = 1 2 ⁢ ln ⁡ ( 2.02 0.02 ) = 2.308 .

[0070] What these values say is that, based on the available corpus, a classifier can be employed, which states: 2 IF the utterance contains the term ‘speak’ THEN attach label (2) with a confidence measure of 2.308 ELSE do not attach label (2) with a confidence measure of 0.

[0071] Extending this to all labels, the classifier states: 3 IF the utterance contains the term ‘speak’ THEN predict label (1) with a confidence measure of x1, predict label (2) with a confidence measure of x2, predict label (3) with a confidence measure of x3, predict label (4) with a confidence measure of x4, and predict label (5) with a confidence measure of x5, ELSE predict label (1) with a confidence measure of x6, predict label (2) with a confidence measure of x7, predict label (3) with a confidence measure of x8, predict label (4) with a confidence measure of x9, and predict label (5) with a confidence measure of x10.

[0072] It may be noted that predicting with a negative confidence measure of a large magnitude is tantamount to predicting the negative of an affirmative association. The term “attaches” sometimes is used to represent an affirmative association, and the term “does not attach” sometimes is used to represent a negative of an affirmative association.

[0073] Proceeding with the example, the cost measure contribution from label (2) can be computed, as shown in table 2 4 TABLE 2 utterance label decision cost I . . . speak . . . agent . . . +1 +1 e−(+1)c1 = .0995 Good . . . speak . . . human . . . +1 +1 e−(+1)c1 = .0995 My . . . business office . . . person . . . +1 −1 e−(+1)c0 = 1 . . . line . . . working . . . −1 −1 e−(−1)c0 = 1 Why can't I . . . dial . . . tone . . . +1 −1 e−(+1)c0 = 1 Phone . . . extra . . . cost . . . −1 −1 e−(−1)c0 = 1 Total cost for 4.199

[0074] The incorporation of apriori knowledge to enlarge the originally provided corpus of training entries is effected as shown in FIG. 3.

[0075] In step 210, for each label, l,l=1,2, . . . k, a rule is constructed for attaching the label to an entry, x, with a confidence measure p(x,l), meaning that each of the rules specifies a term for testing whether the associated label either attaches, or does not attach, to the entry, as well as a confidence measure p(x,l) relating to a decision to attach the label l. Implicitly, the rule also specifies a confidence measure of 1−p(x,l) relating to a decision not to attach the label l. This rule is constructed from apriori knowledge of the application for which the classifier is being designed.

[0076] In step 220, a first additional corpus of training utterances is created from a originally provided corpus of m training utterances with k associated labels and initial weights set to 1 (i.e., w0 (i,l)=1), and from the constructed rules for the l labels. This first additional corpus of training utterances includes the set {xt, +1}, where xi is the ith utterance in the originally provided corpus of training utterances and the +1 is an associated vector of k+1 element (for example, when k=5, the +1 vector corresponds to (1, 1, 1, 1, 1), and each member of the set includes an associated weights vector with elements w0 (i,l)=&eegr;p(xi,l), indexed by m+i. The constant &eegr; is a positive integer that provides a measure of the confidence that the designer has in the constructed rule based on prior knowledge. When the confidence is high, &eegr; might be set to 3. When the confidence is low, &eegr; might be set to 0.02.

[0077] Step 230 creates a second additional corpus of training utterances from the originally provided corpus of m training utterances, and from the constructed rules for the l labels in a manner that is identical to than of step 220. The only different is that the second additional corpus of training utterances includes the set {xi, +1}, and the associated weights vectors carry the weights w0(i,l)=&eegr;(1−p(xi,l)).

[0078] Indexing this second additional corpus of training utterance by 2m+i, permits step 240 to easily combine the originally provided corpus with the first additional corpus and the second additional corpus to create a combined corpus of training utterances that is used by the classifier.

[0079] These weights are used in each of the subsequent iterations, t=0,1, . . . T, for example, according to 10 w t + 1 ⁡ ( i , l ) = w 0 ⁡ ( i , l ) 1 + exp ⁡ ( Y i ⁡ ( l ) ⁢ ∑ q = 0 t ⁢ h q ⁡ ( x i , l ) ) . ( 10 )

[0080] Effectively, an additional, 0th iteration, classifier is added with the combined classifier; that is, 11 h 0 = ln ⁡ ( p ⁡ ( x ) 1 - p ⁡ ( x ) ) , ( 11 ) and   f ⁡ ( x ) = ∑ t = 0 T ⁢ h t ⁡ ( x ) . ( 12 )

[0081] Prior knowledge may be acquired from several sources, for example, human judgment, application guidelines and manuals, world knowledge, experts' advice, and in-domain websites. Typically, when developing a spoken language dialog system, designers do have access to such knowledge. In accordance with the principles disclosed herein, designers of a particular application can exercise their inherent capabilities to reduce the information available to them about the particular application to a rule, and to thereby bootstrap the application with a good set of component classifiers even in the presence of only a small corpus of training utterances.

[0082] For example, prior knowledge permits designers of a spoken language understanding unit in the airlines reservations field to an encode a rule that would correctly classify utterances that include “yes,” “ok,” “correct,” “yea,” “yep,” “all right,” or “fine,” etc. as confirmatory responses; for example, to the question “So you want to fly from Boston to New York on Sunday evening?” The constructed rule for label “confirmation” might be

[0083] yes|ok|yea|yep|all right|fine 0.9

[0084] where “|” indicates the logical OR. Another rule, for label “agent” might be

[0085] (talk|speak)&(human|operator|service & agent) 0.95

[0086] where the “&” indicates the logical AND.

[0087] In general, the logical operators OR, AND, and NOT need to be supported when incorporating prior knowledge. That is, what is required is a method that permits employment of these operators into the 0th iteration, i.e., in classifier h0.

[0088] The above disclosed the principles by which superior classification of applied data can be achieved. It should be realized that various modifications could be incorporated in the disclosed principles without departing from the spirit and scope thereof. For example, while the disclosure above concentrates on speech utterances, the same principles apply to applications where text is to be classified. Applications for text classification abound, for example, screening of email, cataloging articles, classifying web pages, etc.

Claims

1. A method for generating an enlarged corpus of training entries for a particular application, given a set of k labels and an initial corpus of training m entries, where each of said entries includes at least a data portion, comprising the steps of:

for each label l of said k labels, creating an associated rule that specifies one or more conditions that said data portion of an applied entry x must meet in order for said rule to reach a conclusion that said label l attaches to said entry x, and also specifies an confidence measure p(x,l), associated with said conclusion, which measure is a number between 0 and 1;
creating an augmented corpus of m training entries, where each entry i in said augmented corpus is created from data portion of entry i in said initial corpus of training entries, i=1,2,... m, with each of said k labels attached to said data portion of said entry i, or not attached to said data portion of said entry i, based on whether a preselected variable Z is either a +1 or a 0, respectively, and with a confidence measure associated with each of said labels being U(x,l)=[Z&eegr;p(x,l)+(1−Z)&eegr;(1−p(x,l))] when said data portion of said entry i meets said conditions of said rule for label l, &eegr; being a preselected positive number, and being 1−U(x,l) when said data portion of said entry i fails to meet said conditions of said rule for label l; and
combining said augmented corpus of m training entries with said initial corpus of training m entries to form said enlarged corpus having 2m training entries.

2. The method of claim 1 where said rule is created based on prior knowledge of said particular application.

3. The method of claim 1 where said one or more conditions constitute a logical association of data elements that are expected in entries to a classifier constructed through interaction with said enlarged corpus of training entries.

4. The method of claim 3 where said particular application involves recognizing spoken speech, and said data elements are words.

5. The method of claim 1 where said variable Z is +1, further comprising a step of developing a second augmented corpus of m training entries, which step is identical to said set of creating, with said variable Z being equal to 0, and with said step of combining being enhanced to combine said augmented corpus of m training entries and said second augmented corpus of m training entries with said initial corpus of training m entries to form said enlarged corpus of 3m training entries.

6. The method of claim 1 where each entry x in said initial training corpus includes, in addition to said data portion, an indication of which of said k labels are attached to said entry x.

7. The method of claim 1 further comprising a step of attaching any number of said k labels to each of said m entries of said initial training corpus.

8. The method of claim 1 further comprising the step of creating a classifier from said enlarged corpus of training sequences.

9. A method of understanding presented data comprising the steps of:

normalizing said data to reduce variations in said presented data, to develop normalized data;
assigning portions of said normalized data to be instances of objects from a set of preselected objects when said portions of said normalized data meet predetermined conditions, thereby forming entity-extracted data; and
classifying said entity-extracted data by determining whether any of a predetermined set of labels should be attached to said entity-extracted data.

10. The method of claim 9 where said data represents speech.

11. The method of claim 9 where said data represents real-time speech.

12. The method of claim 9 where said step of normalizing employs morphing, synonym detection, and disfluencies detection.

13. The method of claim 9 where said objects are related to a given classification application.

14. The method of claim 9 where said objects are taken from a set including at least date, time, numbers, money, and phone numbers.

15. The method of claim 9 where said objects a preselected based on application for which said method is employed.

16. The method of claim 9 where said presented data is text data, or speech data converted to text data.

17. The method of claim 9 where said classifying is carried out with a boosting classifier.

18. The method of claim 9 where said classifying is carried out with a classifier represented by

12 f ⁡ ( x, l ) = ∑ t = 0 T ⁢ h t ⁡ ( x, l ),
where h, (x,l) is a classifier that classifies an entity-extracted data x with respect to label l, and where each classifier hi+1(x,l) is developed, in part, from classifier ht(x,l).

19. The method of claim 18 where said understanding of presented data is relative to a particular application, and said classifier is developed from a constructed corpus of training entries that is at Mm in size, where m is size of a provided corpus of training entries, M is a positive integer, and said constructed corpus of training entries is derived from said provided corpus of training sequences.

20. The method of claim 19 where said classifier is developed with of a rule established with prior knowledge of said particular application.

21. The method of claim 19 where M is either 3 or 2.

22. A method for understanding applied data, relative to a particular application, by classifying said applied data with a classifier developed from an enhanced corpus of training entries, the improvement comprising:

developing said enhanced corpus of training entries by creating from said provided corpus of training entries a set of auxiliary training entries that are developed with aid of a rule that is based on prior knowledge of said particular application, said set of auxiliary training entries being combined with said provided corpus of training entries to form said enhanced corpus of training entries.

23. The method of claim 22 where M training entries are developed for said set of auxiliary training entries from each entry in said provided corpus of training entries, M being a positive integer.

24. The method of claim 22 where said classifier imparts said understanding of said data by providing information about whether labels from a set of k labels attach to said applied data.

25. The method of claim 24 where said provided corpus of training entries comprises m entries, each of which includes at least a data portion, and said set of auxiliary entries is developed by creating an associated rule, for each label l of said k labels, that specifies one or more conditions that said data portion of an applied entry x must meet in order for said rule to reach a conclusion that said label l attaches to said entry x, and also specifies an confidence measure p(x,l), associated with said conclusion, which measure is a number between 0 and 1;

creating an augmented corpus of m training entries, where each entry i in said augmented corpus of training entries is created from data portion of entry i in said provided corpus, i=1,2,... m, with each of said k labels attached to said data portion of said entry i, or not attached to said data portion of said entry i, based on whether a preselected variable Z is either a +1 or a 0, respectively, and with a confidence measure associated with each of said attached labels being U(x,l)=[Z&eegr;p(x,l)+(1−Z)&eegr;(1−p(x,l))] when said data portion of said entry i meets said conditions of said rule for label l, &eegr; being a preselected positive number, or being 1−U(x,l) when said data portion of said entry i fails to meet said conditions of said rule for label.
Patent History
Publication number: 20040204940
Type: Application
Filed: May 31, 2002
Publication Date: Oct 14, 2004
Patent Grant number: 7152029
Inventors: Hiyan Alshawi (Madison, NJ), Giuseppe DiFabbrizio (Summit, NJ), Narendra K. Gupta (Dayton, NJ), Mazin G. Rahim (Matawan, NJ), Robert E. Schapire (Maplewood, NJ), Yoram Singer (Jerusalem)
Application Number: 10160461
Classifications
Current U.S. Class: Probability (704/240)
International Classification: G06F017/20;