Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode...

84
© 2006 Loquendo SpA Speech Technologies and Standards DIT Seminars, Povo, Trento June 7 th , 2006 Paolo Baggia Loquendo

Transcript of Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode...

Page 1: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

© 2006 Loquendo SpA

Speech Technologiesand Standards

DIT Seminars, Povo, TrentoJune 7th, 2006

Paolo BaggiaLoquendo

Page 2: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

2© 2006 Loquendo SpA

Loquendo Today

“Best Innovationin Multi-Lingual Speech

Synthesis” Prize AVIOS-SpeechTEK West

2006

Global company formed in 2001 as a spin-off from the Telecom Italia R&D center with over 30 years experience in Speech TechnologiesA Telecom Italia Group companyHQ in Turin (Italy) and Sales offices in Miami (US), Madrid (Spain), Munich (Germany) and Paris (France), and a Worldwide Network of Agents. Market-leader in Italy, Spain, Greece with a strong presence in Europe, growing presence in North and Latin America

Strategy:Complete set of speech technologies on a wide spectrum of devicesReady for challenging future scenarios: Multimodality, SecurityPartnership as a key factor

Strategy:Complete set of speech technologies on a wide spectrum of devicesReady for challenging future scenarios: Multimodality, SecurityPartnership as a key factor

Page 3: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

3© 2006 Loquendo SpA

Plan of my talk• The Past

– Evolution of Speech Technologies(mainly ASR, TTS)

– First Speech Applications (Touch Tones, IVRs)

• The Present – The Impact of Standards– The (r)evolution of VoiceXML– A Constellation of W3C Standards– Work in progress

• The Future– Voice and Video Applications– Speech and SemanticWeb– Towards Multimodality

• Q&A

Page 4: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

4© 2006 Loquendo SpA

A Brief History of Spoken Language Technology

1769

Von Kempelen'sTalking Machine

1920

Radio Rex

FFT, cepstrum, DTW, TTS

1952

BL's Audrey

1971

DARPA SUR program starts

Hidden Markov Models

1975

Dictation systems

1982

Dictation Industry

1985

Widespread use of HMMs

1988

DARPA Resource Management DARPA ATIS

1990

Continuous Speech

Recognition Speech Understanding

DialogDARPA COMMUNICATOR

1995

Spoken dialog Industry

Isolated Words

MultiModal

2000

BL's Voder

1936

NLU systems

Conversational systems

by Roberto Pieraccini

Page 5: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

5© 2006 Loquendo SpA

Evolution of Speech & Language• Foundations lay in many fields:

– Computer science, electronic engineering, linguistics and psychology

• ’50 – ’70 : Two paradigms– Symbolic: Formal syntax, AI techniques– Stochastic: Bayesian method, corpora (es. Brown Corpus)

• ‘70 – mid ’80 : Four separate fields– Stochastic:

• Dynamic Programming, Viterbi algorithm• hidden Markov models• Back-forward algorithm for training HMMs• Language Modeling (bigrams, trigrams, smoothing techniques)

– Logic-based: DFG, functional grammars, LFG– Natural Language Understanding: Winograd, Woods, many others– Discourse Modeling: Grosz, Sidner, Allen

• mid ’80 - ’90 : Return of empiricism – Return to finite state modeling: AT&T Bell Labs– Rise of probabilistic models: IBM J. Watson research center

• mid ’90 – now : The fields come together– The separation is partially blurred– Probabilistic and corpus driven in natural language processing

Page 6: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

6© 2006 Loquendo SpA

Evolution of Speech Synthesis• Early days:

– From: von Kempelen’s Talking Machine (1791)– Sir Charles Wheatstone (1835),

Faber’s Euphonia (1835), etc.– To: Dudley’s Voder at NY World Fair 1939

• ’50 – ’60: – Audio Spectrograms,

first articulatory and formant approaches

• mid ’70 – ‘90: – KlattTalk, MIT Talk, DECTalk– Kurzweil Machine for the visually impaired– IBM and AT&T progresses

Very intelligible TTS, but still robotic

• mid ’90:– Concatenation by Unit Selection Intelligible and very natural voices

• Today– Lots of application fields for TTS:

SF-embedded, mobile devices, navigation systems, IVRs (!) but also search engines, domotic, multimodal, etc.

Page 7: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

7© 2006 Loquendo SpA

R&D in Italy• First attempts: Luigi Stringa, ELSAG

• R&D:– Olivetti (Speech lab in Turin, closed in 1990)

• Speech dictation, Speech synthesis (VoxPC)– IRST (lab in Povo, Trento, by Istituto Trentino di Cultura)

• Speech recognition, dictation, speech synthesis, spoken dialog– CSELT, then TILAB

• Speech recognition, Speech synthesis, Speaker Verification• Speech recognition on chip• First large speech applications deployed

Servizio 1412 e 12 (Telecomitalia), FS_INFORMA (Trenitalia)

• Speech Technologies and Platforms:– LOQUENDO (spin-off in 2001)

• Engines: speech recognition, speech synthesis, speaker verification• Embedded speech technologies• VoiceXML platform (VoxNauta) and MRCP-based server (Loquendo

Speech Suite)

Page 8: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

© 2006 Loquendo SpA

Introduction to Speech Technologies

• ASR: Automatic Speech Recognition

• TTS: Text-To-Speech• SIV: Speaker Identification

Verification• Embedded Speech Technologies

Page 9: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

9© 2006 Loquendo SpA

Introduction to Speech Technologies• Goal: To extract information from a speech signal

• Goal: To generate a speech signal from content

AutomaticSpeech

Recognition

LanguageIdentification

SpeakerIdentification

Spoken Understanding

Language:Italian

Speaker: Baggia Paolo

AcousticSignal

Words:Tomorrow in the morning

Meaning:[Day: tomorrow

Part_of_Day: morning ]

Text-To-Speech GenerationText:…….

AcousticSignal Meaning:

[ … ]

Page 10: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

10© 2006 Loquendo SpA

ASR: Automatic SpeechRecognition

Page 11: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

11© 2006 Loquendo SpA

Acoustical Analyzer

(Front-End)

Phonetic Linguistic Decoder (Search)

Interpretation

ASR block diagram

Vocal signal (X) (Ŵ) (Ŝ)

(X) Parametric description of the voice signal(Ŵ) Sequence of recognized words (Ŝ) Semantic representation

Statistical models of phonetic events

Linguistic and domain

information

Page 12: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

12© 2006 Loquendo SpA

Automatic speech recognizers:main features

• Current telephonic recognizers are speaker independent, supporting continuous speech input; the recognition domain must be defined by the application developer

• The dictation on a general domain is today available with speaker adapted desktop recognizers:

• The recognizer models are focused on the target speaker voice

• The environment must be good (high quality microphone, low noise)

• However, the domain must not be unconstrained … to obtain high performance specific additional information should be supplied

F e a tu re s

T ra in in g m o d e F o c u s e d o n a u n iq u e s p e a k e r

S p e a k e r in d e p e n d e n t

P ro n u n c ia t io n m o d e

Is o la te d C o n tin u o u s

E n v iro n m e n t c o n d it io n

C o n tro lle d D iff ic u lt

R e c o g n it io n D o m a in

C o n s tra in e d C u s to m iz a b le D ic ta t io n

Page 13: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

13© 2006 Loquendo SpA

Acoustic Signal

FEATURES FEATURESFEATURES

Second hidden Layer

Output Layer

FirsthiddenLayer

Signal Frames

Input Layer

BASE ALTERNATIVEADDITIVE

Time

Base Features Alternative FeaturesAdditive Features

Emission probability

Stationary - Transition Units

. . . . . .

Feature Extraction Modules

left context right contextcenter

Base Feature: MFCC

Alternative Features :Rasta-PLP, Ear-Model

Additive Features :Gravity Centers,

Frequency Derivatives

• Multi-source NN• MLP topology• Acceleration method

Innovations

HMM-NN HybridModels

Page 14: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

14© 2006 Loquendo SpA

ASR Typical Performance

• The accuracy and efficiency performance on a vocabulary depends on the vocabulary size and confusability

• Kind of applications:– Multiple choice menus– Large vocabulary recognition (e.g Telecom Italia 12)

Telephonic environment98.5 ÷ 99% digits

(PSTN DB)

95 ÷ 97% 500 words vocabulary(Railways Stations: FS-Informa)

85 ÷ 90% 10,000 words vocabulary(Italian cities: Telecom Italia 12)

Page 15: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

15© 2006 Loquendo SpA

ASR performance (by D. Pallet, NIST)WER

years

Page 16: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

16© 2006 Loquendo SpA

Hot Issues in ASR

• Robustness– to the environment:

noise (in-car, in house), side speech (mobile)– to the channel:

VoIP channel, mobile channel– to the speaker:

individual peculiarities (adaptation techniques)

• Spontaneous Speech– Interruptions, restarts, extralinguistic phenomena

• Speech search, audio indexing

• Speech for very large applications– Integration of many knowledge sources

Page 17: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

17© 2006 Loquendo SpA

TTS: Text-To-Speech

Page 18: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

18© 2006 Loquendo SpA

12345

Human voiceAcousticQuality

generation

Loquendo TTS

Timber

ELOQUENS goodacceptable

MUSA robotic sufficent

Loquendo TTS natural excellent

Intelligibility

Evolution of TTS quality

MUSA

1st

Loquendo TTS

3rd

ELOQUENS

2nd

Page 19: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

19© 2006 Loquendo SpA

Three Families of Speech Synthesizers

D. Klatt, JASA, vol. 82no. 3, Sept. 1987

• Articulatory synthesizers

• Formant synthesizers

• Concatenativesynthesizers

– Diphone based (concatenation of small units)

– Unit Selection (concatenation of larger units)

Page 20: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

20© 2006 Loquendo SpA

Input text

Phoneme Labels & prosody markers

Speech Signal

TextualAnalysis

AcousticOutput

ITALIAN

ENGLISH

...

Internal tools for: • DB design

• Signal acquisition

• Phoneme Segmentation

• Signal Analysis

AcousticDictionaries

Large corpora that statistically

represent the language

ITALIAN Voice 1

ITALIAN Voice 2

ENGLISH

LinguisticKnowledge

Loquendo TTS

Large DB:200 Mb per voice

Corpus based, Unit Selection TTS

Page 21: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

21© 2006 Loquendo SpA

Loquendo TTS Features

• Interactive demo of the 39 voices in 17 languageshttp://www.loquendo.com/en/demos/demo_tts.htm

• Innovative features released in the TTS engine:

– ExpressivenessConventional figures, different styles, expressive cues

– Customizable voicesChange in timbre, save and reuse a customized voice

– Mixing TTS and musicMusic and TTS are synchronized

SMS readingr u don nethng 2mor? would b gr8 2cu. i'll b @ pub b4 8. ringl8r. b4n xoxox susan

SMS readingr u don nethng 2mor? would b gr8 2cu. i'll b @ pub b4 8. ringl8r. b4n xoxox susan

Page 22: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

22© 2006 Loquendo SpA

Mixed Language Capability

Many movies have been produced and filmed in Mexico, even though in many instances you would never know it. We can quote, for example: "Y tu mamá también", or "La última noche", that are examples of films shot in Mexico.

Change of voice Mixed language

Loquendo TTS automatically detects each change of language and gives the user the option to:

Change voice, choosing from the voices available, based on the language detected.

Keep the same voice as the original language, and apply phonetic mapping between the newly detected language and the original one.

To deal with mixed-language text: web content, movie titles, addresses, e-mails, …

Page 23: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

23© 2006 Loquendo SpA

Flow of Phonetic Mapping AlgorithmInput Text

Language Guesser

Switcher & Loader

L1 L2 L3 …

Broad Transcriber

Linguistic knowledge

Mapping Module

Speech Synthesizer

Allophonic Transformation

Acoustic dictionaries

S1 S2 S3a S3b …

L1

E

n

g

i

n

e

Speech

L2 L3 …

Tables of phonemes

Page 24: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

24© 2006 Loquendo SpA

An Example of Phonetic Mapping Algorithm

həlˈə͡ʊ | madˈɑm fχɑ̃swˈɑz dypwˈɑ | mˈe ͡ɪ a͡ɪ hˈelpʰjuFrench-to-English Phoneme Mapping

Hello \lang=French Mme Françoise Dupois, \lang= may I help you?

həlˈə͡ʊ | mɑːdˈɑːm fɹɑːnswˈɑːz dupʰwˈɑː | mˈe ͡ɪ a͡ɪ hˈelpʰju

həlˈə͡ʊ | mɑːdˈɑːm fɹɑːnswˈɑːz dupʰwˈɑː | mˈe ͡ɪ a͡ɪ hˈelp˹ju

English Allophone Processing

English Phonetic Transcription

These examples are in IPA codes, if troubles (install Gentium fonts)http://scripts.sil.org/gentium

Page 25: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

25© 2006 Loquendo SpA

Research Topics on TTS

• How to modify the prosodic contour in a high quality TTS?– Voice Morphing, Express emotions

Ellen Eide et alii, in Narayanan, Alwan, 2005– More generally, how to modify or label the speech signal to simplify

modifications

• Cross-fertilization between ASR and TTS areasOstendorf, Bulyko, in Narayanan, Alwan, 2005

• Speaking style and domain dependencies

Suggested reading:S. Narayanan, A. Alwan (eds.), “Text to speech synthesis: new paradigms and advances”, Prentice Hall, 2005.

Page 26: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

26© 2006 Loquendo SpA

SIV: Speaker Identification and Verification

Page 27: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

27© 2006 Loquendo SpA

Speaker Verification• A non intrusive biometric measure

– Every person has a unique voice print– High user acceptance

• No password or pin codes to remember– Easy to integrate

• It doesn’t require any specific equipment

User accepted or rejected

User accepted or rejected

EnrollmentEnrollment SusanJohnJohn

Susan

User claims to be: SusanUser claims to be: Susan

VerificationVerification

Page 28: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

28© 2006 Loquendo SpA

Speaker Verification Modes

• Text dependent– Carried out on the basis of a specific text– User can choose text or the system can suggest it

This is my access phrase

Accepted

• Text prompted– The system provides a “random” text for the user to repeat– No possibility of fraudulent access by means of recordings

13478

Accepted

Repeat the following code “13478”

It’s me, I need some information

Accepted

• Free Speech– User is free to say anything

Page 29: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

29© 2006 Loquendo SpA

User is not aware of identification

- hidden monitoring- wire tapping- verifying people on probation- …

Multi-Verification and Identification

• Verification: “Is Susan speaking?”– User states identity – System verifies user’s assertion

• Identification: “Who’s speaking?”– The system knows a set of possible speakers (max. 50)– Users don’t state anything about their identity– System identifies the user that is currently speaking

User is aware of verification

- phone banking- access to personal information- …

Products are specifically dedicated to identification

Products are specifically dedicated to identification

Page 30: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

30© 2006 Loquendo SpA

Getting the Best from SV and ASR

• Loquendo SV leverages ASR’s acoustic models and NLP• Verifies both the user’s voice and the content of the vocal password• System’s overall security level is considerably increased• Field of vocal password specified along with recognition grammars• Highly precise application customization

February 16th, 1968

Accepted (both right date and true user)

Tell me your birthdate

Page 31: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

31© 2006 Loquendo SpA

Voice Biometrics Security

CRM Applications

Authenticated Authenticated AccessAccess

Presence Presence MonitoringMonitoring

Forensic Analysis

CounterCounter--terrorism terrorism

IntelligenceIntelligence

LEA LEA InvestigationsInvestigations

Free Speech Identification TechnologyAccurate and easy-to-use tool based on Speaker Verification & Identification– Voiceprint comparison within phone calls– Language-independent mode– Stand-alone and Networked solutions

Page 32: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

32© 2006 Loquendo SpA

EmbeddedTTS & ASR

Page 33: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

33© 2006 Loquendo SpA

Loquendo TTS and ASR: a Complete Product Line from Server to Smartphone

PC/Server•Windows XP•Windows 2000•Windows 2003•Linux•Unix•Solaris

Industrial PC•Windows XP embedded Ver.•Linux emb.

Tablet PC•Windows XP tablet ver.•Linux emb.

PDA•Ce.net•Linux emb. •PPC03

Automotive•VxWorks•Ce.net•Linux emb.

Set Top BoxSmartphone

(TTS)•Win Mobile 2003•Symbian 7

CPU

RAM

ROM

>1GHz

>256MB

>250MB

100MHZ

4MB

3MB

•Linux emb.

Same Core Engine

Page 34: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

34© 2006 Loquendo SpA

Operating Systems and CPUsfu

nctio

nalit

ies

/ cos

tsfu

nctio

nalit

ies

/ cos

ts

flexibilityflexibility

Windows XP Windows XP EmbeddedEmbedded

Windows CE.NETWindows CE.NET(Windows Mobile)(Windows Mobile)

VxWorksVxWorksWindows XP Tablet PC Windows XP Tablet PC Edition / Media Center EditionEdition / Media Center Edition

( X86 )

( X86 )

( ARM, Xscale, X86 )

( SH4 )

Linux embeddedLinux embedded( ARM, X86 )

Page 35: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

35© 2006 Loquendo SpA

Input text

Phonemes and Prosody

speech

TEXT ANALYSIS

SPEECH SYNTHESIS

AUDIO DESTINATION

Lexicons and User Checking

Voice Database

Language Libraries

SPAGNOLOSPAGNO

LOSPAGNOLO

Simon

SPAGNOLOPaola

Italian.dllEnglish.dll

Italian.dll

Engine

Interface

LTTS LTTS embedded

Italian.dllloq210.dll

loq010.dll

DecoderLibraries

Optimizations on code and data

structures, speed-up on data loading

Optimizations on code and data

structures, speed-up on data loading

Page 36: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

36© 2006 Loquendo SpA

• CPU: Intel Pentium III, ARM, StrongARM, x86, Xscale, SH4

• RAM: 5 MB

• Operating systems: Windows NT/2000/XP, XP Embedded, XP Tablet PC, PocketPC 2002/2003, SmartPhone 2003, Windows CE.NET 4.2 (ARM, x86, XScale), VxWorks, Linux, Symbian

• Interfaces: Loquendo API, SAPI 5

• Supported languages: Italian, Castilian Spanish, French, German, Brazilian, Portuguese, Dutch, U.K. and U.S. English, Greek, Chilean, Argentinean, Swedish, Catalan, Mexican, Mandarin Chinese

Loquendo Embedded TTS Requirements

Page 37: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

37© 2006 Loquendo SpA

Front-end

Speech database(english)

Speech database(italian)

Acoustic knowledge

StatisticalLanguage Models

Grammars

Linguistic knowledge

on application

Neural-Network and HMM Engines

End Point Detector

Speaker Verification /Identification

Speech footprints Semantic

Interpreter

Syntactic-semantic

knowledge

Concepts

Words

Spectral parameters

Voce

Recogn.Objects

AcousticModels

Speech AssistantToolkit

Phonetic Transcriptor

Training of acoustic models (NN + HMM)

ON-LINE OFF-LINE

RO managementand decoder

Training on the Speaker

FFTFFT

expexp

LASR LASR embedded

loglog

assemblyassembly

Page 38: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

38© 2006 Loquendo SpA

• CPU: Intel Pentium III, ARM, x86, XScale 624 Mhz or equivalent

• RAM: 20 MB

• Operating systems: Windows NT/2000/XP, XP Embedded, PocketPC 2003, Windows CE.NET 4.2 (ARM, x86, XScale), Linux

• Interfaces: Loquendo API

• Grammar formalisms:– JSGF (Java Speech Grammar Format) – W3C SRGS 1.0 (XML and ABNF Form) – RAU (Rule-based Automatic Understanding), next SISR

• Supported languages: Italian, Castilian Spanish, French, German, Brazilian, Portuguese, Dutch, U.K. and U.S. English, Greek, Chilean, Argentinean, Swedish, Catalan, Mexican

Loquendo Embedded ASR Requirements

Page 39: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

39© 2006 Loquendo SpA

Minimal bibliography – ASR/NLP• ASR:

– X. Huang, A. Acero, H.-W. Hon, “Spoken Language Processing: A Guide to Theory, Algorithm and System Development”, 980 pag.; Prentice Hall; ISBN: 0130226165; 1st edition (2001).

– X. Huang, A. Acero, H.-W. Hon, R. Reddy, “Spoken Dialogues withComputers: Signal Processing and Its Applications”, 702 pag.; AcademicPress; ISBN: 0122090551; 1st edition (1998).

– H.A. Bourlard, N. Morgan, “Connectionist Speech Recognition – A HybridApproach”, 348 pag.; Kluwer Academic Publishers; ISBN: 0792393961; 1st edition (1994).

– L. Rabiner, B.-H. Juang, “Fundamentals of Speech Recognition”, 496 pag.; Prentice Hall; ISBN: 0130151572; 1st edition (1993).

• Natural Language and Dialog:– D. Jurafsky, J.H. Martin, “Speech and Language Processing (2nd

Edition)”; Prentice Hall; ISBN: 0131873210; 2nd edition (2006).– D. Dahl, “Practical Spoken Dialog Systems (Text, Speech and Language

Technology)”; Springer ed.; ISBN: 1402026757; 1st edition (2005).– J. Allen, “Natural Language Understanding (2nd Edition)”; Addison-Wesley

Pub Co; ISBN: 0805303340; 2nd edition (1995).

Page 40: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

40© 2006 Loquendo SpA

Minimal bibliography – TTS/VUI• Text-to-Speech:

– S. Narayanan, A. Alwan , “Text to Speech Synthesis : New Paradigms and Advances", Prentice Hall PTR; ISBN: 013145661X; (2004).

– T. Dutoit, “An Introduction to Text-To-Speech Synthesis (Text, Speech and Language Technology, V. 3)", Kluwer Academic Publishers; ISBN: 0792344987; (1997).

– J. Allen, "Overview of Text-to-speech systems" , in Furui, Sondhi "Advances in Speech Signal Processing", Marcel Dekker; ISBN: 0824785401; (1991).

– D.H. Klatt, “Review of text-to-speech conversion for English”, J. Acoustic. Soc. Am., vol. 82, n. 3, Sept. 1987.

– J.L. Flanagan, “Speech Analysis Synthesis and Perception", Springer-Verlag; New York; (1972).

• Vocal User Interfaces:– B. Balentine, D. P. Morgan, W. S. Meisel, “ How to Build a Speech

Recognition Application: Second Edition: A Style Guide for Telephony Dialogues“, 414 pag.; Enterprise Integration Group; ISBN: 0967127823; 2nd edition (2001).

– S. Weinschenk, D. T. Barker, “ Designing Effective Speech Interfaces”, 406 pag.; John Wiley & Sons; ISBN: 0471375454; 1st edition (2000).

Page 41: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

41© 2006 Loquendo SpA

Loquendo’s Selected Papers – ASR/NL/LM• ASR:

– R. Gemello, F. Mana, S. Scanzio, P. Laface, R. De Mori, “Adaptation of Hybrid ANN/HMM models using hidden linear transformations and conservative training”, in ICASSP-2006.

– R. Gemello, F. Mana, D. Albesano, R. De Mori, “Multiple resolution analysis for robust automatic speech recognition”, Computer Speech & Language, Vol. 20, No. 1, 2006.

– R. Gemello, F. Mana, R. De Mori, “Automatic Speech Recognition With a Modified Ephraim-Malah Rule”, IEEE Signal Processing Letters, Vol. 13, No. 1, 2006.

– D. Colibro, L. Fissore, C. Vair, E. Dalmasso, P. Laface, "A Confidence Measure Invariant to Language and Grammar", in INTERSPEECH-2005.

– D. Colibro, L. Fissore, C. Popovici, C. Vair, P. Laface, "Learning Pronunciation and Formulation Variants in Continuous Speech Applications", in ICASSP-2005.

– C. Popovici, M. Andorno, P. Laface, L. Fissore, M. Nigra, C. Vair, “Learning New User Formulations in Automatic Directory Assistance”, in ICASSP-2002.

– R. Gemello, D. Albesano, F. Mana, L. Moisa, “Multi-source Neural Networks for Speech Recognition: a Review of Recent Results”, in IJCNN-2000.

– L. Fissore, F. Ravera, P. Laface, "Acoustic-Phonetic Modeling for Flexible Vocabulary Speech Recognition", in Eurospeech-1995.

• Natural Language/Language Modelling:– C. Popovici, P. Baggia, P. Laface, L. Moisa, “Automatic Classification of Dialogue

Contexts For Dialogue Predictions”, in ICSLP-98.– C. Popovici, P. Baggia, “Specialized Language Models Using Dialogue Predictions”;

in ICASSP-97.– P. Baggia, C. Rullent, “Partial Parsing as a Robust Parsing Strategy”, in ICASSP-93.– P. Baggia et al., “Improving Speech Understanding Performance through Fedback

Verification”, Speech Communications, Vol. 11, 1992.

Page 42: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

42© 2006 Loquendo SpA

Loquendo’s Selected Papers – TTS/Dial• TTS:

– P. Massimino, A. Pacchiotti, ”An automaton-based machine learning technique for automatic phonetic transcription”, in INTERSPEECH-2005.

– P. Massimino, “From Marked Text to Mixed Speech and Sound”, in ICAD-2005.– L. Badino, ”Chinese Text Word-Segmentation Considering Semantic Links among

Sentences”, in ICSLP-2004.– L. Badino, C. Barolo, S. Quazza, "A General Approach to TTS Reading of Mixed-

Language Tests", in ICSLP-2004.– Zovato, A. Pacchiotti, S. Quazza, S. Sandri, ”Towards emotional speech synthesis: a rule

based approach”, in Speech Synthesis Workshop, Pittsburgh, 2004.– S. Quazza, L. Donetti, L. Moisa, P.L. Salza, “ACTOR®: a multilingual unit-selection

speech synthesis system”, in ISCA Tutorial and Research Workshop on Speech Synthesis, 2001.

– M. Balestri, A. Pacchiotti, S. Quazza, P.L. Salza, S. Sandri, "Choose the best to modify the least: a new generation concatenative synthesis system", in Eurospeech-1999.

– S. Quazza, P.L. Salza, S. Sandri, A. Spini, "Prosodic Control in a Text-to-Specch system for Italian", in ESCA Workshop on Prosody, in Working Papers, Lund University Department of Linguistics, Vol. 41, 1993.

• Spoken Dialog and Evaluation:– P. Baggia, G. Castagneri, M. Danieli, “Field trials of the Italian ARISE Train Timetable

System”, Speech Communication, Vol. 31, 2000.– P. Baggia, M. Danieli, “CSELT Approaches to Spoken Dialogue”, in SPECOM-1998.– M. Danieli, "On the use of Expectation and Repairing Human-Machine

Miscommunications", in AAAI Workshop on Detecting, Preventing, and Repairing Miscommunications, 1996.

– M. Danieli, E. Gerbino, “Metrics for evaluating dialogue strategies in a Spoken language system”, in AAAI Spring Symposium Empirical Methods in Dialogue and Discourse, 1995.

Page 43: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

© 2006 Loquendo SpA

The Present –The Impact of Standards

• The (r)evolution of VoiceXML

• A Constellation of W3C Standards

• Next steps

Page 44: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

44© 2006 Loquendo SpA

Why do Standards Matter?

• Are speech standards well known in research institutions? In Europe? In US? In other countries?

• Research may be advantaged to build upon standards.

• Results of research must be available soon and fit well in a broader picture.

• Increase the contributions from the research institutions to the standards bodies.

Page 45: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

45© 2006 Loquendo SpA

W3C (World Wide Web consortium)in Pills

• Founded in 1994, by Tim Berners-Leewith a mission to lead the Web to its full potential

• 400 members all over the world, 50 Working, Interest and Coordination Groups

• Staff based in MIT (USA), ERCIM (France), Keio Univ (Japan)

• W3C is where the framework of today’s Web is developed (HTML, CSS, XML, DOM, SOAP, RDF, OWL, VoiceXML, SVG, XSLT, P3P, XML)

• Special attention to Web Accessib. and Internationalization issues

To learn more, please visit: http://www.w3.org and click on “Join W3C”

Page 46: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

46© 2006 Loquendo SpA

The (r)evolution of VoiceXML1998 - 2004

SSML 1.0 W3C RecSRGS 1.0

W3C Rec

1998

1999

2000

2002

2004

W3C Voice Browser

WorkshopVoiceXML 1.0

Released

VoiceXML Forum Birth

W3C charters Voice Browser

WG

W3C charters Voice Browser

WG

SALT Forum Birth

VoiceXML 2.0 W3C Rec

By AT&T, IBM,Lucent, Motorola,

By Cisco, Comverse, Intel, Microsoft, Philips,SpeechWorks,

Preparing to announce VoiceXML 1.0Friday Feb. 25th, 2000Lucent, Naperville, Illinois

Left to right: Gerald Karam (AT&T), Linda Boyer (IBM), Ken Rehor (Lucent), Bruce Lucas (IBM),Pete Danielsen (Lucent), Jim Ferrans (Motorola), Dave Ladd (Motorola).

Page 47: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

47© 2006 Loquendo SpA

The VoiceXML Impact• Changed the landscape of IVRs and, more generally, of speech

applications– From proprietary to standard-based speech applications

Why?

• Takes the web paradigm to the core of speech applications development

• Powerful abstraction – Easy to author• Delegates to other standards for ASR, TTS, call control:

– Speech Recognition Grammar Specification (SRGS)– Semantic Interpretation for Speech Recognition (SISR)– Speech Synthesis Markup Language (SSML)– Pronunciation Lexicon Specification (PLS)– Call Control XML (CCXML)

Page 48: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

48© 2006 Loquendo SpA

The VoiceXML Architecture

User Speech Applic.

ASR

TTS

User VoiceXML Browser

ASR

TTS

Speech Applic.HTTP

Page 49: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

49© 2006 Loquendo SpA

Speech Interface Framework (by Jim Larson, 2000)

• A Constellation of W3C Standards for:– ASR and DTMF: SRGS, SISR and N-grams, PLS– TTS and prerecorded audio: SSML, PLS– Dialog management: VoiceXML 2.0, 2.1– Call Control: CCXML

VoiceXML 2.1EMMA W3C Rec

Cand. Rec.

Last Call WD

Work. Draft

Page 50: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

50© 2006 Loquendo SpA

Status of W3C SpeechInterface Languages

W3CRecommendation

Proposed Recommendation

CandidateRecommendation

Last CallWorking Draft

Requirements

Working Draft

VoiceXML2.0

SRGS 1.0(speech

grammars)

SSML 1.0(speech

synthesis)CCXML

1.0 (telephony,call control)

SISR 1.0(semanticinterpret-

ration) VoiceXML2.1

PLS 1.0(pronunc.lexicon)

Page 51: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

51© 2006 Loquendo SpA

VoiceXML 2.0 Features

• Menus, forms, sub-dialogs– <menu>, <form>, <subdialog>

• Input– Speech recognition

<grammar>– Recording

<record>– Keypad

<grammar mode=“dtmf”>• Output

– Audio files <audio>

– Text-To-Speech<prompt>

• Variables (ECMA-262)– <var>, <assign>, <script>– scoping rules

• Events– <nomatch>, <noinput>, <help>,

<catch>, <throw>• Transition and submission

– <goto>, <submit>• Telephony

– Connection control<transfer>, <disconnect>

– Telephony information• Platform

– Objects• Performance

– Fetch

http://www.w3.org/TR/voicexml20/

Page 52: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

52© 2006 Loquendo SpA

VoiceXML 2.0 – Dialog Trans. Network

• System guided– A single dialog is active at a time– In a form, field by field acquisition– Optional presence of general commands:

help, exit, cancel, application defined

• Mixed initiative– Dialogs with form level grammars

all the fields may by recognized in a single sentence– More than one dialog active at the same time

d1d3

d2 d4

URI2

URI1 d5

URI3

a.vxmlb.vxml

URI1: “#d2”URI2: “b.vxml”URI3: “b.vxml#d4”

VoiceXML Dialog:– either a <menu> or a <form>– <form> may contain many <field>s– <field> selection is determined by FIA

algorithm

Page 53: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

53© 2006 Loquendo SpA

SYNTAXDefines constraints on

admissible sentences fora specific recognition turn

Standards Push on Speech Grammars

Speechgrammar

SRGSSRGS

voicevoice dtmfdtmf

ABNFABNF XMLXML

SEMANTICSDescribes how to

produce results after an utterance is recognized

SISRSISR

literalliteral scriptscript

http://www.w3.org/TR/semantic-interpretation/ http://www.w3.org/TR/speech-grammar/

Page 54: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

54© 2006 Loquendo SpA

Evolution of the Semantic Interpretation in SISR

(Ecma 327)(Ecma 327)

SpiderMonkey(Mozilla-FireFox)

JavaScript(Ecma 262)

SpiderMonkey(Mozilla-FireFox)

JavaScript(Ecma 262)

SISR script is based on:- ECMAScript language ≈JavaScript ≈Flash ActionScriptall very similar and well-known to Web appldevelopers

scriptscript

literalliteral

SISRSISR

Page 55: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

55© 2006 Loquendo SpA

Examples SRGS Grammars with SISR

#ABNF 1.0 iso-8859-1;mode voice;tag-format <semantics/1.0>;

{var a=7;};public $main = Torino {out=“10100”;} ;

<?xml version="1.0" encoding="UTF-8"?><grammar xml:lang="en-US" version="1.0" xmlns="http://www.w3.org/2001/06/grammar" tag-format="semantics/1.0">

<tag>var a=7;</tag><rule id=”main” scope=”public”>

<token>Torino</token><tag>out=”10100”;</tag>

</rule>

</grammar>

SISRscript

#ABNF 1.0 iso-8859-1;mode voice;tag-format <semantics/1.0-literals>;

public $main = Torino {10100} ;

<?xml version="1.0" encoding="UTF-8"?><grammar xml:lang="en-US" version="1.0" xmlns="http://www.w3.org/2001/06/grammar" tag-format="semantics/1.0-literals">

<rule id=”main” scope=”public”><token>Torino</token><tag>10100</tag>

</rule>

</grammar>

SISRliteral

SRGS ABNFSRGS XML

Page 56: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

56© 2006 Loquendo SpA

Speech Synthesis with SSML• SSML is a markup language (XML-based) for encoding

content to be synthesized

• SSML allows the enhancement of TTS rendering:– Explicit structure of content (<s>, <p>)– Text normalization: substitutions (<sub>, <lexicon>)– Emphasize and pause (<emphasis>, <break>)– Phonetic pronunciation (<phoneme>, <lexicon)– Computation of prosodic parameters (<prosody>)– Change voice on gender, age, language (<voice>) – Include audio files and marker events (<audio>)– Generation of marker events (<mark>)

StructureAnalysis

TextNormali-

zation

Text-to-Phoneme

Conversion

Prosody Analysis

WaveformProduction

http://www.w3.org/TR/speech-synthesis/

Page 57: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

57© 2006 Loquendo SpA

Pronunciation Lexicon Specification (PLS)• A standard Pronunciation Lexicon format (XML-based)• PLS designed to be used in both TTS and ASR

– SRGS grammars already allow access to external lexicons– SSML documents allow reference to more than one external lexicon

• PLS allows:– Multiple pronunciations for ASR– Pronunciation expressed in IPA or other phonetic alphabet– Textual substitutions (acronyms, ambiguities, etc.)

<?xml version="1.0" encoding="UTF-8"?> <lexicon version="1.0"

xmlns="http://www.w3.org/2005/01/pronunciation-lexicon" alphabet="ipa" xml:lang="it-IT"> <lexeme>

<grapheme>file</grapheme><phoneme>fa&#x026A;l</phoneme> <!-- The pronunciation of the English word: "file"

in an Italian text. In IPA it is: "faɪl". --></lexeme><lexeme>

<grapheme>EU</grapheme><alias>Unione Europea</alias>

</lexeme></lexicon>

http://www.w3.org/TR/pronunciation-lexicon/

Page 58: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

58© 2006 Loquendo SpA

Other Related Standards …

• CCXML – Call Control for Voice Browserhttp://www.w3.org/TR/ccxml/

• VoiceXML 2.1 - 8 features to extend VoiceXML 2.0http://www.w3.org/TR/voicexml21/

• Work in progress on a new generation of standards:– Easy to integrate in other W3C languages,

i.e. voice enabling SMIL, SVG, XForms– Extended features, i.e. speaker verification, etc.

• Extensive interest on dialog authoring languages or tools, which generate VoiceXML or the future extended VB languages.

Page 59: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

59© 2006 Loquendo SpA

Final Remarks - VoiceXMLThe changed landscape for speech application development:

– Virtually all the IVRs today support VoiceXML applications– New options related to VoiceXML:

• SIP-based VoiceXML platforms (Loquendo, Voxpilot, Voxeo, VoiceGenie)• Large hosting of speech applications (TellMe, Voxeo)• Development tools (VoiceObjects, Audium, SpeechVillage, Unisys, etc.)

Further changes may come from the CCXML adoption

… but:– Mainly system driven applications are actually deployed– New challenges to incorporate more powerful dialog strategies,

mixed-initiative are under discussion.

V3 or VoiceXML 3.0:– First result a standard markup for encoding state charts (SCXML,

http://www.w3.org/TR/scxml/)– Many pending extensions to VoiceXML: Speech biometrics, Media

control, etc.

Page 60: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

60© 2006 Loquendo SpA

Final Remarks – Speech Standards

• ASR standards:– Adoption of the PLS lexicon and possible extensions– N-grams in a standard format?

• There is a first working draft, then no more progress. Should we restart it?• Standard mixtures of N-grams and SRGS grammars• Uniform semantic interpretation? Based on SISR?

• TTS standard - SSML:– Adoption of the PLS lexicon and possible extensions– Work on Internationalization of SSML:

• For Eastern languages (Workshop Beijing – Nov. ‘05)• For Middle-East, Eastern EU languages, India (Work. Crete – May ’06)• Other workshops? India?

– More fine-grained control of TTS

Page 61: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

61© 2006 Loquendo SpA

VoiceXML Resources • Voice Browser Working Group (spec, FAQ, implementations):

http://www.w3.org/Voice/

• VoiceXML Forum site (resources, education, interest groups):http://www.voicexml.org/

• VoiceXML Forum Review:http://www.voicexmlreview.org/

– Interesting articles related to VoiceXML and more– Example code in the sections “First Words” and “Speak & Listen”

• Ken Rehor’s World of VoiceXMLhttp://www.kenrehor.com/voicexml

• Online documentation related to VoiceXML Platforms– Loquendo Café, Voxeo (http://www.vxml.org/), TellMe, VoiceGenie

• Many books on VoiceXML:– Jim Larson, “VoiceXML Introduction to Developing Speech Applications”,

Prentice-Hall, 2002.– A. Hocek, D. Cuddihy, “Definitive VoiceXML”, Prentice-Hall, 2002

Page 62: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

62© 2006 Loquendo SpA

VoiceXML Forum• Goal:

Support and promote the diffusion of VoiceXML and related standards• Home-page: http://www.voicexml.org• Members:

– Board of Directors (4 founders: AT&T, IBM, Lucent, Motorola and 10 sponsor members, including Loquendo)

– Promoters: 28 members– Supporters: 117 members

• Current activities:– VoiceXML Platform Certification:

• 14 platforms have been certifiedhttp://www.voicexml.org/platform_certification/certified_platforms.html

– VoiceXML Developer Certification: • Near 100 certified people around the world

– Committees (with mailing lists):• Education:

Publication of the VoiceXML Review online, courses and Webinars• Marketing:

Presence in conferences, journals, etc.• Tools:

Standardize logs for ASR and VoiceXML Platforms to allow the development of tools• Biometrics:

Work on having speech to meet the other biometric standards• Technical:

Core of the Forum's technical activities and planning + MRCP group

Page 63: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

© 2006 Loquendo SpA

The Future

• Voice and Video Applications

• Speech and SemanticWeb

• Towards Multimodality

Page 64: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

64© 2006 Loquendo SpA

Voice and Video Applications

Page 65: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

65© 2006 Loquendo SpA

Interactive Video Services

Renewed interest in video, examples:• 3G handsets (10% today, 60% in 2010)• 3G network IMS architecture• Fixed-mobile convergence

Renewed interest in video, examples:• Video content streaming• Video contact center• Video blogging• Video mail• DVB-H back channel

Page 66: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

66© 2006 Loquendo SpA

3GPP IMS Architecture

Legenda:

• AS – Application Server• CSCF – Call Session

Control Function • HSS – Home Subscriber

Service• IP – Internet Protocol• MGCF – Media Gateway

Control Function• MRF – Media Resource

Function• PSTN – Public Switch

Telephone Network

AS AS ServiceLayer

CSCF

HSS MRF

ControlLayer

AccessNetwork

MGCF/MGW

IPIPPSTNPSTN

Page 67: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

67© 2006 Loquendo SpA

IMS - Media Resource Function

• Centralized media processing capabilities• Outside IMS is generically called Media Server• Two sub-nodes:

– MRFC – Media Resource Function Controlexposes a SIP Interface to CSFCinvoked by AS via CSFC

– MRFP – Media Resource Function Processingincludes media processing capabilitiesexposes SIP interface for control and RTP for media transport

Examples of Media processing services:• Media streaming origination: announcements, TTS messages• Media streaming processing: DTMF/speech recognition,

audio/video recording, transcoding• Media mixing (audio/video conferencing)

Page 68: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

68© 2006 Loquendo SpA

VoiceXML for Interactive Video

• VoiceXML powerful language for programming voice and video

• VoiceXML is largely independent of media• Media processing delegated to external server

• VoiceXML 3.0 pending extensions:– Generalize <audio> to <media> element– Generalize <record> from audio to video

• Big issue:– How to add more powerful synchronization?

the adoption of a subset of SMIL 2.1 is under evaluation

Page 69: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

69© 2006 Loquendo SpA

Speech and SemanticWeb

Page 70: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

70© 2006 Loquendo SpA

W3C SemanticWeb

A stack of W3C activities:

Page 71: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

71© 2006 Loquendo SpA

Speech Applications and SemanticWeb

• Large applications depend on extensive knowledge

• Quality of speech recognition strictly depends on the access to real world data

• Issues:– SemanticWeb as a source of lexical domain knowledge– How to encode results of speech and natural language in a

SemanticWeb language

Page 72: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

72© 2006 Loquendo SpA

HOPS ICT ProjectHOPS = Enabling an Intelligent Natural Language Based Hub for the Deployment of Advanced Semantically Enriched Multi-channel Mass-scale Online Public Services

HOPS is a three-year project focused on the deployment of advanced ICT enabled “voice-enabled front-end public platforms”in Europe permitting access for European citizens to their nearest Public Administration. Started in 2003.

Technologies involved:

• VoiceXML Platform

• Natural Language Processing

• Semantic Web Technologies

Page 73: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

73© 2006 Loquendo SpA

Integration between technologies

APPLICATIONSDATA

BACK END

ASRAutomatic Speech Recognition

TTSText-to-Speech

V O I C E P O R T A L

NLUNatural Language Understanding

Semantic Web Query Manager

Semantic Enriched Data and Application Access LayerSem

antic

Web

Pro

cess

Voic

eA

cces

s T E X T P O R T A L

Text

Acc

ess

Semantic Extraction and Dialogue Management

NLGNatural Language Generation

SemanticWeb

Services

Page 74: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

74© 2006 Loquendo SpA

Critical Expectations

• It is still difficult to find a common basis among different research areas, especially if the difficult issues might be tackled on more than one area

• Some HOPS results have been obtained by enriching the semantic results of text/speech parsing to access an ontology

• Open Issues:How to enrich grammars with real data?Is the SemanticWeb useful for speech?

Page 75: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

75© 2006 Loquendo SpA

Towards Multimodality

Page 76: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

76© 2006 Loquendo SpA

Multiple Interaction Modes• Visual

PersistentVisual effects (graphics, animations, ...)Limited on small devicesDifficult to read, hands-free

• VocalTransientAudio effects (prosody, emphasis, music, ... )Effective on small devicesSensitive to environmental noise

• KeyboardStandard Keyboard / Phone Keypad (DTMF)Difficult on small devices

• Stylus/PenHandwritingNeed two hands on small devices

Use of speech can complement other modalities, especially on small devices

Page 77: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

77© 2006 Loquendo SpA

Class of Devices• Thick Clients (Desktop, ...)

High processing and available memory, big display and standard keyboardTypically local applicationsLimited need for alternative modalities, but usefulfor special needs or accessibility reasons

• Medium Client (PDA, ...)Medium processing and memory, medium sizedisplay, difficult input by stylus or keypadEmbedded capabilities of speech and handwriting recognitionBoth local and remote applicationsMedium/high need for speech modality

• Thin Clients (Smart Phones, ...)Limited processing and memory, small display, keypad, audioLimited resources for complex speech recognition, OK for TTSServer based applicationsGreater need for alternative modalities

Page 78: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

78© 2006 Loquendo SpA

W3C MMI Framework

Page 79: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

79© 2006 Loquendo SpA

W3C Multimodal Interaction WG • Home-page: http://www.w3.org/2002/mmi/

52 participants of 29 organizations, plus 1 Invited Speaker

• First contributions:– MMI Use Cases: http://www.w3.org/TR/mmi-use-cases/– MMI Interaction Framework: http://www.w3.org/TR/mmi-framework/

• Ongoing activities:– EMMA specification: http://www.w3.org/TR/emma/

XML data exchange format between input processors and Interaction Management. Very rich annotations for input modalities, such as speech, handwriting or gesture.

– InkML specification: http://www.w3.org/TR/InkMLXML data exchange format for ink entered with an electronic pen or stylus as part of a multimodal system.

– MMI Architecture & Interf.: http://www.w3.org/TR/mmi-arch/A loosely coupled architecture that focuses on providing a general means for modality components to communicate with each other, and with an Interaction Manager.

– MMI Appl. Devel. Feedbacks: http://www.w3.org/TR/mmi-dev-feedback/After several years of multimodal application development, application developers provide detailed feedbacks about what they like, dislike, and want to see improve and continue

Page 80: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

80© 2006 Loquendo SpA

AURORA Distributed Speech Recognition

Conventional

Circuit SwitchedMobile Voice Channel

SpeechCoder

SpeechDecoder

ISDN ASRFront-end

ASRDecoder

DSRPacket Data Channel

e.g. GPRS or 3GASR

Front-endASR

Decoder

IP Network

IP Network

ContentServers

[Wireless] Packet Data Network

[Wireless] Packet Data Network

Voice Gateway / Server:• VoiceXML / SALT / X+V Browser• Speech Resources (ASR, TTS, etc.)

ClientDevices

Page 81: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

81© 2006 Loquendo SpA

Benefits of DSR Aurora

• Improves performance over wireless channels• Minimises impact of codec & channel errors• Consistent performance over coverage area

• Improved performance in background noise• 53% reduction in error rate

• Ease of integration of combined speech and data applications• Use packet data channel for both DSR and other data

80

85

90

95

100

Baseline error free strong medium weak

GSM signal strength

Wor

d A

ccur

acy

(%)

EFR Coded Speech

DSR

Page 82: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

82© 2006 Loquendo SpA

Server-based MMI Architecture

Main features of a Server-based MMI architecture:• Device client is very thin (not a real browser)• Voice packets are sent through a data connection• Press to talk for activating ASR (input)• Intermix of TTS prompts and visual data/charts (output)• Heavy processing is done on the server side (ASR/TTS)• Rich speech interaction is possible with VoiceXML platform• Events and data are exchanged between client and server to

synchronize the visual and vocal interactions• Synchronization is done on the server side (by MMI Platform)

Voice PacketsBrowser orJava Appl

Multimodal PlatformMultimodal Platform

Voice ServerVoice Server

Visual Data / Events

Page 83: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

83© 2006 Loquendo SpA

Q & A• [ASR] Why is the ASR Front End module based on ‘old’ NN (like MLP)? Why not

use a SVM (Support Vector Machine) approach?Since ’90, MLP+HMM was tested as an alternative to CD+HMM, where the MLP calculates the posteriori probabilities. The SVMs are computationally heavier and present some drawbacks, nevertheless first study of the use of SVMs in speech recognition are under way. See: Collobert, Bengio, ICML’04 for a study on the links between these classification algorithms.

• [ASR] Is there a processing of the emotions in the ASR?This is a very interesting research topic, but currently we are working on emotion only for the TTS.

• [TTS] Request for details about on-going research into emotional TTS?Suggested readings: Eide et al., SSW5-2004; Zovato et al., ICSLP-2004

• [TTS] Relative degradation on embedded TTS is due to DB reduction or coding?Mostly to DB reduction, but it depends on voice/lang too.

• [SemanticWeb] It might be important for large speech applications.Yes, but the powerful advantages should be demonstrated. Previous attempts to encode common sense knowledge failed.

Thank you!

Page 84: Speech Technologies and Standards · • Speech recognition, dictation, ... Pronunciation mode Isolated Continuous Environment condition Controlled Difficult Recognition ... Change

84© 2006 Loquendo SpA

Credits

• Dave Burke, CTO Voxpilot, author of SISR

• Deborah Dahl, chair of Multimodal Interaction Working Group

• Jim Larson, co-chair Voice Browser Working Group

• David Pearce, Motorola, author of DSR Aurora spec

• Roberto Pieraccini, CTO Tell-Eureka, ex-colleague & friend

• Ken Rehor, chairman VoiceXML Forum

+ Many researchers and colleagues in Loquendo!

Thank you!