CA2473172C - Information retrieval and speech recognition based on language models - Google Patents

Information retrieval and speech recognition based on language models Download PDF

Info

Publication number
CA2473172C
CA2473172C CA002473172A CA2473172A CA2473172C CA 2473172 C CA2473172 C CA 2473172C CA 002473172 A CA002473172 A CA 002473172A CA 2473172 A CA2473172 A CA 2473172A CA 2473172 C CA2473172 C CA 2473172C
Authority
CA
Canada
Prior art keywords
language model
data store
relevancy
document
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CA002473172A
Other languages
French (fr)
Other versions
CA2473172A1 (en
Inventor
Milind V. Mahajan
Xuedong D. Huang
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Microsoft Technology Licensing LLC
Original Assignee
Microsoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US09/050,286 external-priority patent/US6418431B1/en
Application filed by Microsoft Corp filed Critical Microsoft Corp
Publication of CA2473172A1 publication Critical patent/CA2473172A1/en
Application granted granted Critical
Publication of CA2473172C publication Critical patent/CA2473172C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Document Processing Apparatus (AREA)

Abstract

A language model is used in a speech recognition system which has access to a first, smaller data store and a second, larger data store. The language model is adapted by formulating an information retrieval query based on information contained in the first data store and querying the second data store. Information retrieved from the second data store is used in adapting the language model. Also, language models are used in retrieving information from the second data store. Language models are built based on information in the first data store, and based on information in the second data store. The perplexity of a document in the second data store is determined, given the first language model, and given the second language model. Relevancy of the document is determined based upon the first and second perplexities. Documents are retrieved which have a relevancy measure that exceeds a threshold level.

Description

INFORMATION RETRIEVAL AND SPEECH RECOGNITION BASED ON
LANGUAGE MODELS
BAC~CGROUT~'D OF THE INVENTTON
The present invention deals with speech recognition' and information retrieval. More specifically, the present invention deals with a speech recognition system which employs information retrieval techniques to adapt a language model, and an information retrieval technique which employs speech recognition language models for retrieving relevant documents.
Generally, information retrieval is a process by which a user finds and retrieves information, relevant to the user, from a large store of information_ In performing information retrieval, it is important to retrieve all of the information a user needs (i.e., it is important to be complete), and at the same time it is important to limit the irrelevant information that is retrieved for the user (i.e., it is important to be selective). These dimensions are often referred to in terms of recall (completeness) and precision (selectivity). In many information retrieval systems, it is necessary to achieve good performance across both the recall and precision dimensions_ In some current retrieval systems, the amount of information that can be queried and searched is very large. For example, some information retrieval systems are set up to search information on the Internet, digital video discs, and other computer data bases in general. These information retrieval systems are typically embodied as, for example, Internet search engines, and library catalog search engines.
Many information retrieval techniques. are known.
A user input query in such techniques is typically
2 presented as either an explicit user generated query, or as an implicit query, such as when a user requests documents or information which is similar to a certain set of existing documents. Typical information 5 retrieval systems then search documents in the large data store.at either a single word level, or at a term level. Each of the documents are assigned a relevancy (or similarity) score, and the information retrieval system presents a certain subset of the documents 10 searched to the user, typically that subset which has a relevancy score which exceeds a given threshold.
Some currently known information retrieval techniques cr methods include full text scanning, the use of signature files, inversion, vector modeling and 15 clustering, and tf*idf (term frequency * inverse document frequency?. In full text scanning, Hoolean functions are used in a query to determine whether a document to be searched contains certain letter strings. It is common in such scanning techniques to z0 search each character of a document to see whether it satisfies the search string (i.e.; the query) and then move the search one position to the right when a mismatch is found. This system has been adapted to use other ways of preprocessing the query, such as 25 moving more than one position to the right when a mismatch is found.
The use of signature files involves discarding common words from documents to be searched and reducing the non-common words to stems. Each document 30 to be searched yields a bit string (i.e., a signature?. The signatures for various documents are stored sequentially in a file, separate from the documents themselves.
Inversion techniques involve constructing a list 35 of key words to represent each document. The key
3 words are stored in an index file. For each key word, a list of pointers is maintained which reveals qualifying documents. The query is then advanced against the index and the pointers are used to 5 identify the relevant and qualifying documents.
Vector. modeling and clustering involves grouping of similar documents into groups referred to as clusters (this technique can also be applied to terms instead of documents). In order to generate a 10 cluster, an index is formed by removing common words and reducing the remainder of the words to stems (which includes prefix and suffix removal}. Synonyms are also commonly placed in a concept class which can have its terms weighted by frequency, specificity, i5 relevancy, etc. The index is used to represent the documents as a point in t-dimensional space. 'Fhe points are then partitioned into groups with a similarity matrix which is typically developed through an iterative process. In order to search. the cluster, 20, a query is represented as a t-dimensional vector and is compared with the cluster centroi_ds. A cluster-to-query similarity function is generated and is used to pull relevant documents. The documents which are pulled (or retrieved) are typically those with a 25 similarity value that exceeds a predetermined threshold value.
Semantic information is used in some information retrieval techniques to capture more information about each document in the information store in order to 30 achieve better performance. In ane such system, natural language processing is used to match the semantic content of queries to that of the documents to be searched. Sentences or phrases are used as terms for indexing the documents to be searched.
35 Latent semantic indexing involves forming a
4 term/document matrix in which the number of occurrences of a term in a specific document are plotted on a matrix. Small singular values are typically eliminated and the remaining term frequency
5 vectors are mapped. Queries are also formed of term frequency .vectors and are mapped against the matrix which contains the term frequency vectors for the documents. The documents are ranked by using normalized linear products in order to obtain a cosine 10 similarity measure.
Another type of information retrieval technique wrLich uses semantic information is a neural network.
Essentially, a thesaurus is constructed, and a node in a hidden layer is created to correspond to each 15 concept in the thesaurus. Spreading activation methods are then used to conduct searches.
Term frequency * inverse document frequency (tf*idf) is another technique used to determine relevancy of documents. First, a term used in a query 20, is measured against the document to determine the frequency of that term in the document. It is believed that the degree to which the document and the term are related increases as the frequency of the term in the document increases It is also believed 25 that the usefulness of a term in discriminating among documents decreases as the number of documents in which that term appears increases_ Therefore, the frequency of the particular term is also measured against the whole data store to determine the 30. frequency level of that term in all of the documents.
These two measures are used in determining the relevancy of any given document in the data store being searched.
As the data bases which are accessible to 35 searching become ever more numerous, and as those data bases become larger, the problems associated with information retrieval also become larger. In other words, acceptable performance across the recall and precision dimensions is often more difficult to obtain 5 with larger and more numerous data bases under search.
Speech recognition systems use a combination of the acoustic and linguistic (or language) information contained in an utterance in order to generate a transcript of the meaning of the utterance. The language information used by a recognizes in a speech recognition system is collectively referred to as a language modes.
Many current speech recognition systems use language models which are statistical in nature. Such language models are typically generated using known techniques based on a large amount of textual training data which is presented to a language model generator.
An N-gram lar_guage model may use, for instance, known statistical techniaues such as xatz~s technique, or the binomial posterior distribution backoff technique.
In using these techniques, the language models estimate the probability that a word w(n) will follow a sequence of words wl, w2, . . . w(n-1). These probability values collectively form the N-gram language model.
There are many known methods which can be used to estimate these probability values from a large text corpus which is presented to the language model generator, and the exact method by which this is done is not of importance to the present invention.
Suffice it to say that the language model plays an important role in improving the accuracy and speed of the recognition process by allowing the recognizes to use information about the likelihood, permissibility, or meaningfulness, of sequences of words in the
6 language. In addition, language models which capture more information about the language lead to faster and more accurate speech recognition systems.
Typically, the large training text corpus used to 5 train the language model is specifically gathered and presented to the language model generator for that particular purpose. Thus, language models are typically generated for certain broad classes of use_ Some classes of use may be the general English 10 language, office correspondence, sports, etc.
However, the interests of any particular user, and therefore, the language used by that particular user, may typically be much more specific than these broad language model categories. Hence, the 15 probability estimates generated by such a language model rnay not accurately model the actual language used by the user. rurther, since the variety of interests among users is almost unlimited, it is very difficult to generate highly specialized language 24 models for each user.
Some prior systems have attempted to handle this problem by adapting the language model with use.
During adaptation, the probability estimates assigned to the word sequences by the language model are 25 adjusted' to more closely reflect the ~ actual language of the user. The textual data used for the adaptation is user specific. This text data may, for example, consist of text which has been dictated by the user, or the text in documents generated, read or stored by 3o the user. However, in order for a language model to be accurately adapted, it must be fed a large amount of data. The user specific data available is typically too sparse to rapidly adapt the language model or to generate a meaningful, user specific 35 language model.

i SUMMARY OF THE INVENTION
A language model is used in a speech recognition system which has access to a first, smaller data store and a second, larger data store. The language model 5 is adapted by formulating an information retrieval query based_on information contained in the first data store and querying the second data store. Information retrieved from the second data store is used in adapting or constructing the language model.
10 In one preferred embodiment, t:he first store, which is generally smaller, is bel9.eved to be more representative bf the language that is currently being used by the user of the speech recognition system.
The second store, which is generally larger, is very 15 likely to be less representative of the language of the user in percentage terms.
Also, language models are used in retrieving information from the second data store_ Language models are built based on information in the first 20 data store, and based on information in the second data store. The perplexity of a document in the second data store is determined, given the first language model, and given the second language model.
Relevancy of the document is determined based upon the 25 first and second perplexities. Documents are retrieved which have a relevancy measure which exceeds a threshold level.
In one embodiment, the f=rst data store represents the query or request by the user, and the 30 second data store represents the library to be searched.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of an exemplary 35 environment for implementing a system in accordance with the present invention.

FIG. 2 is a more detailed block diagram of a system in accordance with the present invention.
FIG. 3 is a flow diagram illustrating a document retrieval technique in accordance With one preferred 5 embodiment of the present invention.
FIG. 4 is a flow diagram illustrating a technique for adapting a language model in accordance with another preferred embodiment of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
IO
Overview FIG. 1 and the related discussion are intended to provide a brief, general description of a suitable computing environment in which the invention may be I5 implemented. Although not required:, the invention will be described, at least in part, in the general context of computer-executable instructions, such as program modules, being executed by a personal computer.
Generally, program modules include routine programs, 20 objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the invention may be practiced with other computer system configurations, including hand-25 held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, and the like.
The invention may also be practiced in distributed computing environments where tasks are performed by 30 remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memoz-y storage devices.
With reference to FIG. 1, an exemplary system for 35 implementing the invention includes a general purpose computing device in the form of a conventional personal computer 20, including processing unit 21 (which may include one or more processors), a system memory 22, and a system bus 23 that couples various system components including the system memory to the 5 processing unit 21. The system bus 23 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. The system memory includes read only memory (ROM) 24 a 10 random access memory (RAM) 25. A basic input/output 26 (BIOS), containing the basic routine that helps to transfer information between elements within the personal computer 20, such as during start-up, is stored in ROM 24. The personal computer 20 further 15 includes a hard disk drive 27 for reading from and writing to a hard disk (not shown) a magnetic disk drive 28 for reading from or writing to removable magnetic disk 29, and an optical disk drive 30 for reading from or writing to a removable optical disk 31 20, such as a CD ROM or other optical media. The hard disk drive 27, magnetic disk drive 28, and optical disk drive 30 are connected to the system bus 23 by a hard disk drive interface 32, magnetic disk drive interface 33, and an optical drive interface 34, respectively.
25 The drives and the associated computer-readable media provide nonvolatile storage of computer readable instructions, data structures, program modules and other data for the personal computer 20.
Although the exemplary environment described 30 herein employs a hard disk, a removable magnetic disk 29 and a removable optical disk 31, it should be appreciated by those skilled in the art that other types of computer readable media which can store data that is accessible by a computer, such as magnetic 35 cassettes, flash memory cards, digital video disks, Bernoulli cartridges, random access memories (RAMS), read only memory (ROM), and the like, may also be used in the exemplary operating environment.
A number of program modules may be stored on the 5 hard disk, magnetic disk 29, optical disk 31, ROM 24 or RAM 25, including an operating system 35, one or more application programs 36, other program modules 37, and program data 38. A user may enter commands and information into the personal computer 20 through input 10 devices such as a keyboard 40 and pointing device 42.
Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit 21 through a 15 serial port interface 46 that is coupled to the system bus, but may be connected by other interfaces, such as a parallel port, game port or a universal serial bus (USB). A monitor 47 or other type of display device is also connected to the system bus 23 via an interface, 20, such as a video adapter 48. In addition to the monitor 47, personal computers may typically include other peripheral output devices (not shown), such as speakers and printers.
The personal computer 20 may operate in a 25 networked environment using logic connections to one or more remote computers, such as a remote computer 49_ The remote computer 49 may be another personal computer, a server, a router, a network PC, a peer device or other network node, and typically includes 30 many or all of the elements described above~relative to the personal computer 20, although only a memory storage device 5o has been illustrated in FIG. 1_ The logic connections depicted in FIG. 1 include a local are network (LAN) 51 and a wide area network (WAN) 52.
35 Such networking environments are commonplace in offices, enterprise-wide computer network intranets and the Internet.
When used in a LAN networking environment, the personal computer 20 is connected to the local area network 51 through a network interface or adapter 53.
When used in a WAN networking environment, the personal computer 20 typically includes a modem 54 or other means for establishing communications over the wide area network 52, such as the Internet. The modem 54, which may be internal or external, is connected to the system bus 23 via the serial port interface 46. In a network environment, program modules depicted relative to the personal computer 20, or portions thereof, may be stored in the remote memory storage devices. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.
FIG. 2 illustrates a block diagram of speech recogr_ition/~nformation retrieval (SR/IR) system 60 in accordance with one aspect of the present invention.
SR/IR system 60 includes microphone 62, analog-to digital (A/D) converter 64, user input device 66, SR/IR
processor module 68, language model (~~I) storage module 70, topic data store 72, general data store 74 and user output device 76.
It should be noted that the entire system 60, or part of system 60, can be implemented in the environment illustrated in FIG. 1. For example, microphone 62 may preferably be provided as an input device to personal computer 20, through an appropriate interface, and through A/D converter 64. User input device 66 may preferably be implemented. as keyboard 40, mouse 42, or any other suitable input device. Language model storage module 70 is preferably stored in any 3> suitable memory device shown in FIG. 1, or is provided to SR/IR module 68 by any of the data input mechanisms described with respect to FIG. 1. SR/IR module 68 is preferably either a hardware module in computer 20 (such as a dedicated speech recognition or information 5 retrieval processor separate from CPU 21 or implemented in CPU 21) . ~ or a software module stored in any of the information storage devices disclosed in FIG. 1 and accessible by CPU 21 or any other suitable processor.
Topic data store 72 is a7.so preferably stored in 10 any suitable memory devices shown in FIG. 1, or is accessible by the system illustrated by FIG. 1. Also, topic data store 72 need not be local to computer 20 but may be merely accessible by computer 20. For example, topic data store 72 may be partially or 15 totally stored in memory 50. A particular document being created, as well as other documents which have been created by the user, are stored in topic data store 72. Of course, it will be recognized that the data contained in topic data store 72 can be arranged 20 according to any number of criteria, such as subject matter, types of documents te.g., letters, memos, electronic mail transfers, facsimiles, etc.) or any other suitable criteria.
General data store 74 is preferably a larger data 25 base, larger than topic data store 72, and is accessible by the system shown in FIG. 1. General data store may, for example, be any data base, or collection of data bases, accessible through wide area network 52, or through local area network 51.
3o In addition, output device 76 may, in one preferred embodiment, by implemented as monitor 47 or as a printer or as any other suitable output device.
In any case, for the sake of the present description, system 60 illustrates a system which is 35 suitable for performing both speech recognition and information retrieval. However, it should be noted that system 60 may be configured to perform only speech recognition, or information retrieval, as appropriate far the various features and aspects of the present inventior_ described below.
Adaptincr a .Lancruaqe Module System 6o will now be described with respect to speech recognition. In recognizing speech, system 60 is trained utilizing acoustic information in a known 10 manner. System 60 utilizes this information in later recognizing utterances entered into system 60 through microphone 62. Briefly, speech is input into system 60 in the form of an audible voice signal provided by the user to microphone 62. Microphone 62 converts the 15 audible speech signal into an analog electronic signal which is provided to A/D converter 64. A/D converter 64 converts the analog speech signal into a sequence of digital signals which is provided to SR/IR module 68.
In one preferred embodiment, SR/IR module 68 20 includes a feature extraction module which is a conventional array processor that performs spectral analysis on the digital signals and computes a magnitude value for each frequency band of a frequency spectrum. The feature extraction module divides the 25 digital signals into frames which include a plurality of digital samples which are converted to a string of output probability distributions that include probability values for a plurality of frequency bands.
The output probability distributions are processed in a 30 known manner to obtain likely speech units (such as phonemes, words or word sequences) which are representative of the speech received by microphone 62.
In one preferred embodiment, SR/IR module 68 identifies N likely word hypotheses which are 35 indicative of the N most likely words or word sequences represented. SR/IR module 68 then accesses LM storage module 70. The language model stored in LM storage module 70 is used to estimate the probability of a word w (n) following a sequence of words wl, w2 , . . . w (n-5 1). These probabilities are then used to choose among the N-best .hypotheses in order to obtain the most likely word or word sequence represented by the utterance_ This most likely hypothesis is output at user output device ?6.
to The language model stored in LM storage module 70 may initially be constructed by SR/IR module 68, or be loaded into LM storage module 7d using a data input mechanism such as those discussed in FIG. Z (e. g., using a floppy disk). In the embodiments in which 15 SR/IR module 68 constructs the language module, a large training text corpus is provided to SR/IR module 68.
Using that trainir_g text corpus, SR/IR module 68 constructs the language model in a known manner and stares it in LM storage module 70.
2o In addition, it should be noted that multiple language models can be stored in LM storage module 70.
For example, a number of topic dependent language models can be stored in LM storage module 70 and retrieved by SR/IR module 68 based on an input by the 25 user as to the subject of the particular document being created with the speech recognition system.
In any case, it is desirable that the particular language model or models stored in LM storage module 70 (however first obtained) be adapted based an the actual 30 word usage of the user of system 60 in order to obtain a faster and more accurate model, which accurately models the actual language used by the user.
FIG. 3 illustrates one technique, in accordance with one aspect of the present invention, for 35 accomplishing adaptation of the language model stored in LM storage module 70. A language model is first received by system 60. The lar_guage model can ei ther be subject matter specific, user specific, application specific, or simply a general language model. As 5 previously discussed, the language model can be either constructed .by system 60 and stored in LM storage module 70, or simply loaded into LM storage module 70 through an appropriate input mechanic>m. The step of receiving the language model is indicated by block 78 10 in FIG. 3.
In order to adapt the language model, system 60 preferably uses the information stored in topic data store 72 as a portion of the text corpus used to adapt the language model stored in module 70. Topic data 15 store 72 preferably contains a current document being prepared, other documents prepared by the present user, or other documents read by the present user, stored by the present user, or identified by the present user as being relevant to the current task.
20 . Typically, this amount of user specific or current topic or task specific data is insufficient to rapidly adapt the language model stored in module 70, or to generate a more user/task-specific language model.
Therefore, system 60 utilizes the user/task-specific 25 information stored in topic data store 72 to generate a query against general data store 74. Recall that general data store 74 may include one or more data bases accessible over the Internet (e.g., over WAN 52?, a library data base, or another suitable large data 30 base accessible by system 60 (such as through LAN S1).
The query against general data store 74 is indicated by block 80 in FIG. 3.
The particular information retrieval technique used to generate and execute the query against general 35 data store 74 is not critical to this feature of the present invention. Rather, any suitable query development and information retrieval technique can be used. It should simply be noted that adaptation according to the present technique works better with information retrieval techniques that return more relevant documents.
Next, the documents identified by the information retrieval query are retrieved. This is indicated by block 82. In one preferred embodiment, as indicated by dashed line 84 in FIG. 3, processing simply continues at block 86. In that preferred embodiment, the topic language model stored in module 70 is adjusted, or adapted, based upon the information stored in topic data store 72, and based upon the information retrieved from general data store 74 as a result of the query being executed against general data store 74. Thus, the probability estimates generated by the language model are adjusted based upon the text corpus which includes the information in both topic data store 72 and the information retrieved from general data store 74. This provides a much larger text corpus with which to adapt the language model stored in module 70 than by simply using the information stored in. topic data store 72. Since the adaptation text corpus is much larger, the probabilities generated by the language model can be better estimated and the resulting language model yields a better (i.e_, faster and more accurate) mechanism for modeling the actual usage by the user.
The adaptation is indicated by block 86.
The way in which the language model is adapted can take any one of a number of forms. In one preferred embodiment, only a subset of the documents retrieved by the query against general data store 74 are used in adapting the language model stored in module 70. Also, 3S the documents retrieved based upon the auery against the general data store 74 can be weighted relative to those already contained in the topic data store 72_ The documents retrieved are preferably weighted less than those already stored in data store 72. Thus, the 5 effect on the language model stored in module 70 based on the retrieved documents is less than that based on the documents already stored (and presumably known to be relevant to the user).
Further, the language model can be adapted in 10 another way. The results of the query can be used to build a language model which is combined with the language model already stored in module 70. This combination can be performed using any known smoothing technique, such as interpolation, deleted IS interpolation, or. any other suitable technique. In the embodiment in which deleted interpolation is used for adapting the topic language model stored in module 70, the documents retrieved from general data store 74 .and the documents already stored in topic data store 72 are 20 weighted as follows:
RP, ~' ( ) - .~.~ pr where Pr is a probability value generated by the 25 language model based on retrieved documents;
P_ is a probability value generated by the language model based on documents already in the topic data store 72; and ~, is the deleted interpolation parameter having a 30 value which is preferably experimentally determined.
If the information retrieval technia-ue is believed to be very accurate, 7~ will have a higher value (such as i8 0.8 or 0.9). However, where the information retrieval technique is not believed to be as accurate, ~. may have a lower value (such as 0.4 or 0.5). However, any values of ~. such as o.l-0.9, or so, are suitable.
In yet another embodiment, the value of ~, is incrementally increased as the number of rnleries increases. In other words, as the number of queries which have been executed increases, the text corpus used to adapt the language model will likely either get j0 larger, or become more accurate, because the amount of information stored in topic data store 72 is likely larger. Thus, the documents retrieved using the information retrieval technique will likely be more relevant than those initially retrieved. Therefore, i5 the value of ~, can increase incrementally as the number of queries increases.
Further, it should be noted that several language models can be constructed from the retrieved data. For example, one language model can be constructed using 20 the most relevant 100 documents, and a second language model can be constructed using the most relevant 200 documents, and so on. Multiple language models constructed using the retrieved documents can then be combined with the language model generated from the 25 known relevant data from the topic data store 72 and also from the general language model. Language model combination using deleted interpolation can be expressed as:
~ ~.;P;

where P; is the probability generated by the i"' language model and 0 <=~,1 <=1 is the interpolation we fight f or i'~' 1 anguage model and ~7~i ~ 1 .
Once the language model is adapted, the adapted or 5 adjusted language model is then used in speech recognition. This is indicated by block 88.
In accordance with one preferred aspect of the present invention, system 60 is configured to automatically, and intermittently regenerate a topic 10 specific query and direct it against the information stored in general data store 74. For example, in the preferred embodiment, the language model stored in module 70 is adapted on-the-fly (e.g., as the user is using system 60)_ Therefore, system 60 may be 15 configured to~initially execute the query and adapt the language model as soon as system 60 is powered up, and then each time a new document is created. More preferably, however, system 60 is configured to generate a new query and adapt the language model 20 intermittently, even while a document is being created.
Thus, system 60 can be configured to repeat the query either every predetermined number of words, every predetermined time interval, or based on any other suitable criteria.
25 Whatever the criteria, it is used in setting a query threshold. System 60 thus determines whether the query threshold has been reached. If so, system 60 generates another query and executes it against the general data store as indicated by :block 80. If the 30 query threshold has not been reached, system 60 simply continues speech recognition as normal. This is indicated by blocks 90 and 92 in FIG_ 3.
In accordance with other preferred features of the present invention, other information can also be used in adapting the language model stored in module 70.
These features are represented by blocks 94, 96 and 9B
in FIG. 3. For example, in one preferred embodiment, after the query has been executed against the 5 information in general data store 74, a relevancy measure of. each of the documents returned from the query is determined. The documents are then ranked according to the relevancy measure. This is indicated by block 94. Then, a subset of the documents returned 10 (those having a relevancy measure above a relevancy threshold) are used in adapting a language model.
Further, the documents returned can be weighted according to the relevancy measure as indicated by block 96. The documents can then be used, as weighted, ~S to adapt the language model stored in module 70.
In yet another preferred embodiment of the present invention, other information is also used in adjusting the language model. For instance, system 60 can be configured to identify the particular application then 20, being used by the user to prepare a document. For example, if the user is in a word processor application, the user may be generating a more formal document than if the user is in an e-mail application.
System 60 can be configured to recognize the 25 application, and either use that information in generating the query against the information contained in general data store 72 to look for more formal documents (i.e., documents having more formal word usage and word sequences? or to simply weight the more 30 formal documents retrieved by the query higher than the less formal documents retrieved. Further, if the user pulls up a memo template, and is therefore generating an internal memo, system 60 can be configured to retrieve only similar memoranda from topic data store 72 in generating the query against the information stored in general data store 74.
Many other parameters could also be used in accordance with the present invention. For instance, a 5 user may tend to dictate more formal documents, such as company letters and memoranda, during business hours, but generate less formal documents, such as personal letters, later in the day or in the evening.
Therefore, based upon the time of day which the 10 document is being created by the user, system 60 can be configured to generate the query by retrieving documents from topic data store 72 which were created at about the same time of day. System 60 can also be configured to simply weight similar documents retrieved 15 based on the query more heavily than other documents.
It should also be noted that adaptation of the language model stored in module 70 can be performed intermittently regardless of whether the user is utilizing the speech recognition features of system 60.
20, So long as system 60 is powered up, it can be configured to repeat the queries against the information stored in general data store 74 and adapt the language model stored in module 70 according to any given criteria_ 25 Thus, it can be seen that the language model adaptation feature of the present invention can be used to quickly and efficiently expand the amount of user specific data available for generating or improving the language model stored in module 70. The user specific 30 data that is available is first used as a query against a large information store to identify text or documents which are similar to the user specific documents.
Then, the text corpus used to generate or adapt the user specific language model stored in modul a 70 is a 35 much larger collection than would otherwise be the case, and the probabilities provided by the language model can be better estimated. Again, it should also be noted that the particular manner in which the language model is built and adapted, and the particular 5 technique for performing information retrieval, are not critical to. this aspect of the present invention, and any suitable techniques can be used.
Use of Language Models to Imbrove Information Retrieval 10 FIG. 4 is a flow diagram which illustrates a technique by which system 60 can improve information retrieval. As mentioned above, a statistical n-gram language model produces a probability estimate for a word given the word sequence up to that word (i.e., 15 given the word history H?. An n-gram language model considers only (n-la prior words in the history H as having any influence on the probability of the next word. For example, a bi-gram (or 2-gram? language model considers the previous word as having an 20 influence on the next word. Therefore, in an n-gram language model, the probability of a word occurring is represented as =ollows:
Equation 1:
P(wl H)= P~wl ivl,w2,...w(t~-1)) where w is the word of interest;
wl is the first word prior to word w in the sequence;
w2 is the second word prior to word w; and 30 w(n-1? is the word located n-1 positions prior to the word w.
Also, the probability of a word sequence is determined based on the multiplication of the probability of each word given its history. Therefore, the probability of a word sequence wl . . . wm is represented as follows:
Equation 2:
N
P(wl... wm~ _ ~ ~P~w; / H; ~~
i=~
When discussing language models, the concept of perplexity of a word sequence is also known. ' Perplexity is a statistical measure of the average branching factor of the language model. In other 10 words, perplexity is a statistical measure of the average number of possible wards that would be predicted by the language model given the word or word sequence of interest. Therefore, the perplexity of a word sequence wl . . . wm given its history is 15 represented as follows:
Ectuation 3 Perp = exp~- M Iog ~ Pyv; l H; ~~
r rM 1 = exp( - 1 ~~Iog~Pw; / H;
M ';~ ', 2o Further, the perplexity of a wo.=d sequence x with respect to a given language model LM will be represented as follows:
Equation 4 _ M _ Perp~x I Lll~f ~ = exp - 1 ~ log~P~x / L!'I~1 ~~
M ;_, Thus, the perplexity of a word sequence, given a language model, is approximately equal to the average number of words which would be predicted by that 5 language model, given the word sequence and its history. This value changes with the predictive power of the particular language model being used. The particular manner in which the language model is built and the particular language model being used is not ~0 critical to the present invention.
One aspect of the present invention utilizes the concept of perplexity, as it relates to language models, in order to improve the accuracy of information retrieval executed by system 60.. In order to do this, 15 system 60 first either receives or creates a general language model as indicated by block 100 in FIG. 4.
System 60 can thus be configured with a language model generator. In that instance, a large text corpus of training data is preferably provided to the language 20. model generator which generates a general language model, based upon the large text corpus, in any known . and suitable manner. The training data is preferably the information (or a subset of the information} stored in general data store 74. That language model is then 2~ stored in module 70. Alternatively, however, system 60 can be provided with a conventional, commercially available, general language model which is simply loaded into module 70. In another alternative system 60 creates the general language model from another 30 large set of text data distinct from data in general data store 74. In the preferred embodiment, system 60 either creates; or is provided with, a trigram language model.
Next, system 60 either receives or creates a topic 3~ language model which is relevant to the particular topic of interest to the user. Again, system 60 can either be provided with a commercially available topic language model; or can generate and train a topic language model itself.
5 In order to generate a topic language model , the user preferably provides system 60 with training data which is relevant to the specific topic of interest.
For example, the user may have several articles, and may wish to retrieve other similar articles from t0 information stored in the general data store 74. Or the user can simply supply a search query or request to the system. A topic language model is either generated by system 6a using the relevant articles, or a portion of the text of those relevant articles is used to IS express a query against the information stored in general data store 74, and the information retrieved based on the query is used to generate the topic language model in combination with the user supplied informatian_ In another preferred embodiment, when the 20, training data used to generate the topic language model is sparse, the topic language model is generated using the sparse data, and then combined with a general language model to obtain the new topic language model_ The combination technique is not critical to the 25 present invention, and can be accomplished using a smoothing technique, such as interpolation, deleted interpolation, or any other suitable technique. The process of receiving or creating a topic language model is indicated by block 102 in FIG. 4.
30 After the general language model and the topic language model are generated or received by system 60, system 60 undertakes to assign a similarity measure to each document (or part of a document) in general data store 74 which is to be considered in the ir_formation 35 retrieval process. In order to do this, system 6o first selects a document from general data store 74.
This is indicated by block 104.
Next, system 60 determines the perplexity of that document, with respect to the general language model as indicated by block 106. This is represented as follows:
Equation S
Perp~doc; l GLM
where GLM represents the general language model;
and doc; represents the selected document.
System 60 then determines the perplexity of the document relative to the topic language model as indicated by block 108. This is indicated as follows:
Equation 6 Perp(doc; I TLM
where TLM represents the topic language model.
System 60 then determines a relevance measure for the selected document based upon the perplexities determined in blocks 106 and 108. The relevancy measure is preferably expressed in te~~ms of a ratio oz 2S the two perplexities as follows:
Equation 7 Perp~doc; I GLM
Perp~doc; I TLM

Recall that the perplexity of a document (as a sequence of wordsy, given a particular language model, is representative of approximately the average number of words that could be predicted by that language model 5 given that document. Therefore, if the perplexity number is relatively high, then the training data used to develop that language model has not trained the language model well with respect to the terms being used in the document. Therefore, the document under 10 consideration will tend not to be similar to the training data used to develop the language model.
However, if the perplexity of that document is low, then the train~.ng data used to develop that language model has likely trained the language model well with IS respect to the terms appearing in the document, and the document is likely similar to the training data used to train that language model.
Therefore, in one preferred embodiment, a similarity measure can be returned using only the topic 20 . language model. However, in a more preferred embodiment, both the topic language model and the general language model are used. The reason for this is that some language constructs in a document may be more or less likely to appear, regardless of whether 25 the document under consideration is relevant. It is desired that the information retrieval system not discriminate against those similar documents, even though the raw relevancy score obtained by applying the perplexity of the topic language model is fairly high.
30 If that is the case, and the language constructs being used in the document of interest are fairly unlikely, then the perplexity value returned with respect to the general language model will also be high. By using the ratio of perplexities determined for the general 35 language model and the topic language model, the system essentially returns a number which is determined against a base line (the general language model) and is thus more meaningful than the raw number which would be returned simply by providing the perplexity of the 5 document relative to the topic language model. Thus, it is believed that providing the relevancy measure as a ratio of the two perplexities yields a more accurate measure of relevancy.
Similarly, if the language constructs used in the 10 document of interest are quite common, regardless of the topic of interest, then the perplexity value returned by tl2e topic language model will be relatively low. Even though the document may not be particularly relevant. However, the perplexity value returned by 15 the general language model will also likely he quite low. Therefore, by providing the relevancy measure as a ratio of the two perplexities, it is believed that the information retrieval technique will retrieve more relevant documents.
20 . The step of determining relevancy of the selected document based on the perplexities is indicated by block 110. Expression of the relevancy factor as a ratio of the two perplexities can be expanded as follows:
Equation a M
exp~- 1 ~ log~~c ~'~'~ ~ Hr~~~ .
relevancy = M '_' M
exp~- 1 ~ log( pr ~'~'% ~ H; ~~~
M ;_, A! M
- exp~- sir ~~ lag .~'~ (w, ~ H;~ - ~ log .~'T (w; ~ H

where Pz - the probability of a word sequence, given its history, with respect to the topic language model; and 5 P~ = the probability of a word sequence, given its history, with respect to the general language model.
Once the relevancy measure has been determined, system 60 determines whether the :relevancy measure meets a relevancy threshold. The relevancy threshold 10 can be predetermined, input by the user, or adapted based on the number of documents being retrieved by system 60, or based on other criteria. System 60 merely determines whether the document has a high enough relevancy measure so as to be provided to the IS user. This is indicated by block 112.
If the document does not meet the relevancy threshold, it is not provided to the user and processing continues with respect to block 116.
However, if the document does meet the relevancy 20 , threshold, it is retrieved and either stored in topic data store 72, or provided to the user at output device 76. This is indicated by block 114.
System 60 then determines whether it is to examine additional documents in general data store 74. If so, 25 processing reverts back to block ?_04 where another document is selected and the relevancy of that document is determined. If no more documents are to be examined, processing continues with respect to optional block 118. This is indicated by block 116.
30 Once all the documents (or a subset of the documents) have been examined, system 60 can either simply provide the documents to the user, store the documents, or rank the documents according to relevance. In the embodiment in which the documents 35 are ranked according to relevance, system 60 simply ranks the'documents according to the relevance measure determined for each document. System 60 can then either provide the documents ranked according to relevance, to the user, or can simply provide a subset 5 of the documents retrieved based upon the ranking.
This is indicated by block 118.
Using this technique, it can be seen that the general language model needs to be generated only once based on the information stored in general data store 10 74, or some representative sample of that information.
Alternatively, the general language model may be updated intermittently as the contents of the information in general data store 74 changes. The topic language model is preferably generated once for 15 each query provided by the user.
Conclusion One aspect of the present invention provides a technique which uses information retrieval to improve and adapt a language model or models being used during 20 . speech recognition. The system uses the known history of text already generated by the user to develop and adapt the language model directly, but also directs a topic specific query against the general data store in order to find similar documents to expand the training 25 data used for generating or adapting the language model. This provides a much more accurate language model than broad, preconceived, topic dependent language models used in the past. The query against the large data store is also preferably periodically or 30 intermittently repeated to obtain a dynamically adapted language model with increased accuracy.
Another aspect of the present invention uses language models to improve information retrieval techniques. The system preferably obtains a general 35 language model and a topic language model (either using the technique described above, or another known technique). The system then calculates a relevancy measure of documents being searched based upon perplexity values returned by the language models obtained. Since language models are context dependent models, this.allows the system to not only consider the words themselves, but the context in which the words appear to determine the relevancy of the document.
This improves both the recall and the precision of the ID information retrieval technique, results in a better estimation of the likelihood (or probability) that relevant information appears in the document being searched, and thus results in better performance of the information retrieval system.
IS Although the present invention has been described with reference to preferred embodiments, workers skilled in the art will recognize that changes may be made in form and detail without departing from the spirit and scope of the invention.

Claims (14)

WHAT IS CLAIMED IS:
1. A method of retrieving information from a second data store which is relevant to information stored in a first data store wherein the second data store is larger than the first data store, the method comprising:
providing a first language model based on information stored in the first data store;
providing a second language model;
determining a first perplexity of a document in the second data store, given the first language model;
determining a second perplexity of the document, given the second language model;
determining a relevancy measure of the document based on the first and second perplexities; and selectively retrieving the document based on the relevancy measure.
2. The method of claim 1 and further comprising:
repeating the steps of determining a first perplexity, determining a second perplexity and determining a relevancy measure, for a plurality of documents in the second data store; and retrieving relevant documents from the plurality of documents which have a relevancy measure which meets a threshold level.
3. The method of claim 1 wherein providing a second language model comprises:
providing the second language model based on information stored in the second data store.
4. The method of claim 1 wherein determining a relevancy measure comprises:
determining a ratio of the first and second perplexities relative to one another; and determining the relevancy measure based on the ratio.
5. The method of claim 2 wherein retrieving relevant documents comprises:
ranking documents according to the relevancy measure determined for each document.
6. A method of retrieving information from a second data store which is relevant to information stored in a first data store wherein the second data store is larger than the first data store, the method comprising:
providing a first context dependent language model based on information in the first data store;
providing a second context dependent language model based on information in the second data store;
determining a relevancy of a document in the second data store based on a predictive capability of the first language model given the document and based on a predictive capability of the second language model given the document; and retrieving the document if the relevancy meets a relevancy threshold value.
7. The method of claim 6 wherein determining a relevancy of the document based on a predictive capability of the first and second language models comprises:
determining the relevancy based on a branching factor of the first language model given the document and based on a branching factor of the second language model given the document.
8. The method of claim 6 and further comprising:
repeating the steps of determining a relevancy for a plurality of documents in the second data store;
comparing the relevancy determined to the relevancy threshold; and retrieving the documents having a relevancy which meets the relevancy threshold.
9. The method of claim 8 and further comprising:
adapting the relevancy threshold based on a number or documents winch meet the relevancy threshold.
10. The method of claim 6 wherein providing the first language model comprises:
querying the second data store based on information in the first data store;
and constructing the first language model based on the information in the first data store and based on information from the second data store retrieved based on the query.
11. The method of claim 6 wherein providing the first language model comprises:
constructing a preliminary language model based on information in the first data store; and combining the preliminary language model with the second language model to obtain the first language model.
12. The method of claim 6 wherein providing the second language model comprises:
constructing the second language model based on a subset of all information stored in the second data store.
13. A method of retrieving information from a second data store which is relevant to information stored in a first data store Wherein the second data store is larger than the first data store, the method comprising:
providing a first language model based on information stored in the first data store;
determining a first perplexity of a document in the second data store, given the first language model;
determining a relevancy measure of the document based on the first perplexity;
repeating the steps of determining a first perplexity, and determining a relevancy measure, for a plurality of documents in the second data store; and retrieving relevant documents from the plurality of documents which have a relevancy measure which meets a threshold level.
14. The method of claim 13 and further comprising:
providing a second language model based on information stored in the second data store;
determining a second perplexity of the document, given the second language model;
wherein determining a relevancy measure comprises determining the relevancy measure of the document based on the first perplexity and based on the second perplexity;
and wherein repeating comprises repeating the steps of determining a first perplexity, determining a second perplexity and determining a relevancy measure, for a plurality of documents in the second data stare.
CA002473172A 1998-03-30 1999-02-09 Information retrieval and speech recognition based on language models Expired - Fee Related CA2473172C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US09/050,286 1998-03-30
US09/050,286 US6418431B1 (en) 1998-03-30 1998-03-30 Information retrieval and speech recognition based on language models
CA002321112A CA2321112C (en) 1998-03-30 1999-02-09 Information retrieval and speech recognition based on language models

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CA002321112A Division CA2321112C (en) 1998-03-30 1999-02-09 Information retrieval and speech recognition based on language models

Publications (2)

Publication Number Publication Date
CA2473172A1 CA2473172A1 (en) 1999-10-07
CA2473172C true CA2473172C (en) 2005-10-18

Family

ID=32909193

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002473172A Expired - Fee Related CA2473172C (en) 1998-03-30 1999-02-09 Information retrieval and speech recognition based on language models

Country Status (1)

Country Link
CA (1) CA2473172C (en)

Also Published As

Publication number Publication date
CA2473172A1 (en) 1999-10-07

Similar Documents

Publication Publication Date Title
CA2321112C (en) Information retrieval and speech recognition based on language models
Peng et al. Context sensitive stemming for web search
US9330661B2 (en) Accuracy improvement of spoken queries transcription using co-occurrence information
EP0965089B1 (en) Information retrieval utilizing semantic representation of text
Gao et al. Toward a unified approach to statistical language modeling for Chinese
CN103136352B (en) Text retrieval system based on double-deck semantic analysis
KR101201037B1 (en) Verifying relevance between keywords and web site contents
US7272558B1 (en) Speech recognition training method for audio and video file indexing on a search engine
Evans et al. Design and evaluation of the CLARIT-TREC-2 system
JP2004005600A (en) Method and system for indexing and retrieving document stored in database
CN1227657A (en) Natural language parser with dictionary-based part-of-speech probabilities
WO2009017464A1 (en) Relation extraction system
JP2001084255A (en) Device and method for retrieving document
Kurimo Indexing audio documents by using latent semantic analysis and som
WO2011037753A1 (en) Method and apparatus for ordering results of a query
Lin et al. Enhanced BERT-based ranking models for spoken document retrieval
Russell et al. Handwritten document retrieval
CA2473172C (en) Information retrieval and speech recognition based on language models
Tsiartas et al. Language model adaptation using www documents obtained by utterance-based queries
JP3985483B2 (en) SEARCH DEVICE, SEARCH SYSTEM, SEARCH METHOD, PROGRAM, AND RECORDING MEDIUM USING LANGUAGE SENTENCE
JPH10177575A (en) Device and method for extracting word and phrase and information storing medium
RU2348072C1 (en) Context-based method of assessing manifestation degree of notion in text for search systems
Fung et al. Cross-linguistic analysis of prosodic features for sentence segmentation
Ribeiro et al. Using prior knowledge to assess relevance in speech summarization
Moens Automatic Indexing: The Selection of Natural Language Index Terms

Legal Events

Date Code Title Description
EEER Examination request
MKLA Lapsed

Effective date: 20190211