







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Alexis Baird and Michael Gibney CIT Final Project Proposal April 28th^ , 2008
Introduction: Computer speech recognition is the conversion of spoken language to machine- readable form. The logic and idiosyncrasies of human language have evolved over many thousands of years, and continue to evolve today. Speech recognition is especially challenging because enormous flexibility is required for a computer application to adapt to and correctly interpret variations in context, tone, grammar, sentence structure, and vocabulary. This paper will include an examination of both the underlying acoustic modeling as well as the upper-level language modeling, as well as a description of the discretization that allows the computer analysis of human speech. On the acoustic level, we will investigate the statistical modeling (particularly Hidden Markov Models and corpus-based statistical learning) used to predict what the likely string of phonemes will be and how these phoneme predictions are used to generate written text. On the upper- level language modeling level, we will explore the ways in which issues of ambiguity and distortions can be resolved through linguistics. Our paper will end with a discussion of the obstacles speech recognition faces and new techniques being used to overcome those obstacles. We will also examine ways in which speech recognition informs other areas of computational linguistics.
Applications: Speech recognition has many potential applications, including automation, translation, dictation and transcription, medical, and military uses. In any situation where keyed input is impractical or impossible (as in military aircraft cockpits, over-the-phone computer interaction, or in cases where the user is physically handicapped), speech recognition technology can overcome obstacles by providing the possibility of a voice user interface. One of the particular challenges presented by speech recognition is that many potential applications of the technology are in situations where background noise, speaker stress, multiple speakers, etc. can prevent the technology from functioning properly. For example, in moving cars, on the battlefield, in group meetings, hospital emergency rooms, and aircraft cockpits, conditions are not always ideal for speech recognition!
Speech recognition relies on the interaction of several different linguistic levels beginning with the acoustic signal, followed by the phonemic level, then the word level, and lastly the sentence level. These different levels interact with one another to produce the final output of a speech recognizer.
From Analog to Digital: Sound is the medium for speech. Even the words that we are writing on these pages are rooted in sound produced by human vocal chords. At the most basic level, spoken ideas and information are transmitted through the compression and rarefaction of air. In theory then, once it is known how the information encoded in sound is decoded by the human ear and brain, analogous techniques can be applied to enable computers to decode spoken sound. The processes currently used in speech recognition involve multiple layers of quantization, signal processing and spectral analysis to transform relatively uncooperative waves of sound into discrete phonemes, representing the range of sounds made by the human voice. To begin the process of computer speech recognition, the analog audio signal must first be represented as a string of bits. To accomplish this, a series of discrete samples is taken of the continuous audio signal, with each sample measuring (via the position of the diaphragm of a microphone) the amplitude (compression of air) of the audio signal at a single given moment. In isolation, each sample is useless, but a series of regularly measured samples, taken over time, is used to approximately represent the original continuous wave of sound. This initial analog-to-digital conversion is the first of a series of quantization trade-offs in computer speech recognition. The sampling rate and bit depth determine the accuracy (in terms of frequency and amplitude, respectively) of the digital approximation. According to the Nyquist–Shannon sampling theorem, the highest frequency signal that may be represented by a given sampling frequency is half the sampling frequency. The implication for all forms of audio quantization is that a sonic frequency must be sampled once for compression and once for rarefaction in order to be represented. Also, for most speech recognition, each sample is stored as an 8- or 16-bit integer. Higher bit resolution is capable of more precisely representing the amplitude of
speech may be represented as a string of phonemes, at a level of abstraction somewhere between that of a momentary amplitude and that of a spoken word. This final step of discretization lays the groundwork for the stochastic interpretation of sound into language. (Jurafsky and Martin, 2006)
Analysis of Phonemes: After the acoustic signal is extracted and converted to a sequence of observations defined by spectral features, phonemes can be predicted. In an ideal world, every word would be realized by exactly one string of phonemes. However, factors such as dialectic variation and allophonic variation mean words may have multiple realizations. For example the word “legs” may be realized as /lεgz/ or /legz/ depending on the speaker’s dialect. The lexical environment of the word (allophonic variation) may also influence the phonetic realization of the word. For example “left” when followed by “me” will be realized as /lεf/ rather than /lεft/. In the simplest model, each word in the lexicon has a corresponding finite state automaton in which each state corresponds to a phoneme and each state has a corresponding transition probability to one or more other states. These pronunciation networks are derived from a huge corpus of data the nature of which may vary. A simple conditional probability algorithm can then be used: ŵ= argmax P(w|O)= P(O|w)P(w) = P(O|w)P(w)
The sequence of observations is denoted by O and w is some word in the lexicon V. Using Bayes, we obtain the second equation and since P(O) remains constant we can derive the third equation. (Jurafsky and Martin, 2006) P(w) is simply derived from the word’s frequency while P(O|w) is generated from the pronunciation network for each word. This conditional probability equation underlies most of the algorithms used in speech recognition. The most simple of these algorithms is the Forward Algorithm. Given the input of a pronunciation network for each possible word and an observed sequence spectral input slices, the Forward Algorithm generates the probabilities of possible words corresponding to the observed sequence. forward[t, j] = P( o1 o2 o3 …ot , qt = j | λ) P(w)
This equation generates the probability of being in state j after seeing the first t observations given the automaton λ. The Forward Algorithm is then run on each word. However, this algorithm assumes that the input is a sequence of symbols rather than slices of an acoustic signal and that input symbols have an exact one-to-one correspondence to the states represented in the pronunciation networks. A more sophisticated model relies on Hidden Markov Models (Jurafsky and Martin, 2006). Hidden Markov Models are an extension of the simple state machine idea. HMM’s add a sequence of observations which don’t uniquely determine the states but have a corresponding set of observation likelihoods. These observation likelihoods (b) are the probability of a given observation (y) being generated from a given state (x).
These Hidden Markov Models are a more accurate representation of the acoustic input and are better at predicting words from acoustic input.
Using Sentence Context: Speech recognition cannot simply stop at the word level. The selection of a certain word is often highly dependent on the surrounding words. For example, the acoustic realization of “too”, “two”, and “to” are all the same but have three different text realizations. As with word level prediction, a simple conditional probability equation can be used:
The probability of a chain of dialogue acts ( P(U) ) is found using n-gram model techniques similar to the n-gram models for words previously described. P(E|U) is derived from a combination of prosodic features such as pitch, duration, energy, etc. of the speech signal and the probabilities of predicted words in the utterance. Different prosodic features and words can be correlated with specific dialogue acts. The use of n- gram models of dialogue acts makes intuitive sense given that certain dialogue acts can be expected to co-occur with a high probability. For example most YES-NO QUESTIONS’s will be followed by a YES-NO ANSWER. Stolcke et al. found that the integration of dialogue acts and speech recognition helped to improve both automatic classification of dialogue acts as well as speech recognition.
Recent Developments in Speech Recognition: One of the most important facets of speech recognition is the ability of a given system to recognize errors. Work done by Hirschberg, Litman, and Swerts (2004) found that using prosodic features (such as speaking rate, energy values, pitch, and amount of silence within turns) as well as other features such as the presence of hyper-articulation, and semantic clusters of words helped enhance the detection of speech recognition failures. Similarly, Walker et al. (2001) found that the use of a range of acoustic and discourse features could enhance the accuracy of confidence scores for speech recognizers. Among the more interesting of these features was the presence of context- shift, deviations from the expected domain-specific vocabulary, and speech rate (including pauses). Another frontier in speech recognition involves random forests and data smoothing. It is clear that n-gram models with higher n values will be more effective, because they incorporate more context into the assignment of probabilities to a given phoneme or word. However, incorporating more parameters (higher n) in a prediction algorithm will mean that, even with a large training corpus, the probability of certain strings of words will be zero, which is not particularly helpful! The problem of the assignment of zero probability to certain input strings in higher-order n-gram models is referred to as data sparseness. Various algorithms exist to assign a non-zero probability to any given sequence of words. Such algorithms are
referred to as data smoothing. Most data smoothing algorithms recourse to lower-order n-gram models when they encounter zero-probability cases in higher-order n-gram models. Other algorithms incorporate randomness into the training and execution of algorithms. In random forest models, decision trees are created based on randomly selected features, and an aggregation of the results from applying all of the decision trees to a given case is used to determine the probability. The randomness is injected into the process to minimize unwanted correlation and repeating error, while maintaining strong predictive capability. (Xu & Jelinek, 2007) Randomness is often introduced in the analysis of digitized signals, in order to avoid introducing significant quantization error. Because information is stored in discrete values in the computer, the introduction of random error prior to analysis effectively masks the repeating quantization error, which might otherwise be interpreted as being part of the original signal! A similar technique, called dither , is applied to digital audio (such as CDs), in order to mask quantization error that would otherwise be audible to the listener.
Conclusion: Linguistic research has shown that the way humans absorb and process speech is a complicated interaction of many different factors. While no one can conclusively say how these factors interact, it seems likely that the models used by speech recognition systems are an abstracted version of this human behavior. It is perhaps no accident then that the closer such systems can get to replicating humans, the more accurate they tend to be. Nor is it surprising that the same obstacles that humans encounter in speech recognition tend to trip up speech recognition systems. Just as humans often mis-hear or mis-understand the speech of other humans when there is dialectical variation, background noise, or other polluting factors, so speech recognition systems are susceptible to the corruption of background noise, semantic ambiguity, and dialectical variation. While the applications of speech recognition are far-reaching and hold much potential, perhaps the most interesting contribution of speech recognition technology is its ability to illuminate our understanding of human language.
Appendix:
Task Summary ~Michael: Introduction, Applications, Acoustic level, and Recent Developments ~Alexis: Phonemes to Words, Using Sentence Level, Beyond the Sentence Level, Recent Developments, and Conclusion ~Both: Bibliography and formatting