# US 2017/0256257 A1 · Conversational Software Agent

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0256257 A1
- Document ID: US20170256257A1
- Status: Published application
- Kind: A1
- Application number: 15/057,682
- Filed: 2016-03-01
- Published: 2017-09-07
- Earliest claimed: 2016-03-01
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Raymond J. Froelich
- Web page: https://patentgrep.com/patent/US20170256257A1

## CPC

- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 15/02: Feature extraction for speech recognition; Selection of recognition unit
- G10L 15/063: {Training}
- G10L 25/87: Detection of discrete points within a voice signal
- H04N 7/157: {defining a virtual conference space and using avatars or agents (computer conference optimisation or adaptation H04L12/1827)}
- G10L 2015/0635: {updating or merging of old and new templates; Mean values; Weighting}
- G10L 2015/221: {Announcement of recognition results}
- G10L 2015/225: {Feedback of the input speech}
- G10L 2025/783: {based on threshold decision}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Voice input is received from a user. An ASR system generates in memory a set of words it has identified in the voice input, and update the set each time it identifies a new word in the voice input to add the new word to the set. A condition indicative of speech inactivity in the voice input is detected. A response for outputting to the user is generated based on the set of identified words, in response to the detection of the speech inactivity condition. The generated response is outputted to the user after an interval of time—commencing with the detection of the speech inactivity condition—has ended and only if no more words have been identified in the voice input by the ASR system in that interval of time.

## Claims

### Claim 1

A computer system comprising:
an input configured to receive voice input from a user;
an ASR system for identifying individual words in the voice input, wherein the ASR system is configured to generate in memory a set of one or more words it has identified in the voice input, and update the set each time it identifies a new word in the voice input to add the new word to the set;
a speech detection module configured to detect a condition indicative of speech inactivity in the voice input; and
a response module configured to generate based on the set of identified words, in response to the detection of the speech inactivity condition, a response for outputting to the user;
wherein the speech detection module is configured to determine whether the ASR system has identified any more words in the voice input during an interval of time commencing with the detection of the speech inactivity condition; and
wherein the response module is configured to output the generated response to the user after said interval of time has ended and only if the ASR system has not identified any more words in the voice input in that interval of time, whereby the generated response is not outputted to the user if one or more words are identified in the voice input in that interval of time by the ASR system.

### Claim 2 (depends on 1)

A computer system according to claim 1, wherein the speech detection module is configured monitor the set of identified words in the memory as it is updated by the ASR system, and detect said speech inactivity condition based on said monitoring of the identified set of words.

### Claim 3 (depends on 2)

A computer system according to claim 2, further comprising a language model, wherein detecting the speech inactivity condition comprises detecting, by the speech detection module, when the set of identified words forms a grammatically complete sentence according to the language model.

### Claim 4 (depends on 2)

A computer system according to claim 2, wherein detecting the speech inactivity condition comprises detecting, by the speech detection module, that no new words have been identified by the ASR system for a pre-determined duration, wherein the interval of time commences with the expiry of the pre-determined duration.

### Claim 5 (depends on 1)

A computer system according to claim 1, wherein the response is an audio response for playing out to the user in audible form.

### Claim 6 (depends on 1)

A computer system according to claim 1, comprising a video generation module configured to, in response to the response module determining that the ASR system has not identified any more words in the interval of time, output to the user a visual indication that the outputting of the response is about to begin.

### Claim 7 (depends on 6)

A computer system according to claim 6, wherein the video generation module is configured to generate and output to the user a moving image of an avatar, wherein the visual indication is a visual action performed by the avatar.

### Claim 8 (depends on 1)

A computer system according to claim 1, wherein each word of the set is stored in the memory as a string of one or more characters.

### Claim 9 (depends on 1)

A computer system according to claim 1, further comprising:
a lookup module configured to receive at least one word from the set in the memory at a first time whilst updates to the set by the ASR system are still ongoing, and perform a lookup to pre-retrieve information associated with the at least one word;
wherein the response generation module is configured to access the set in the memory at a later time, the set having been updated by the ASR system at least once between the first time and the later time, the response being generated by the response module based on the set as accessed at the later time, wherein the response incorporates the information pre-retrieved by the lookup module.

### Claim 10 (depends on 5)

A computer system according to claim 5, further comprising:
a response delivery module configured to begin outputting the audio response to the user when the interval of time has ended, wherein the outputting of the audio response is terminated before it has completed in response to the speech detection module detecting the start of a subsequent speech interval in the voice input.

### Claim 11 (depends on 10)

A computer system according to claim 10, wherein the speech detection module is configured to detect the start of subsequent speech interval by detecting an identification of another word in the voice input by the ASR system, the speech interval commencing with the detection of the other word.

### Claim 12 (depends on 1)

A computer system according to claim 1, further comprising:
a speech overload detection module configured to detect at a time during a speech interval of the voice input a speech overload condition; and
a notification module configured to output to the user, in response to said to detection, a notification of the speech overload condition, wherein the overload condition is detected based on:
a number of words that the ASR system has identified so far in that speech interval, and/or
a rate at which words are being identified by the ASR system in that speech interval, and/or
a state of an AI tree being driven by the voice input.

### Claim 13

A computer-implemented method of effecting communication between a user and an artificial intelligence software agent executed on a computer, the method comprising:
receiving at an ASR system voice input from the user;
identifying by the ASR system individual words in the voice input, wherein the ASR system generates in memory a set of one or more words it has identified in the voice input, and updates the set each time it identifies a new word in the voice input to add the new word to the set;
detecting by the software agent a condition indicative of speech inactivity in the voice input;
generating by the software agent based on the set of identified words, in response to the detected speech inactivity condition, a response for outputting to the user;
determining whether the ASR system has identified any more words in the voice input during an interval of time commencing with the detection of the speech inactivity condition; and
outputting the response to the user, by the software agent, after said interval of time has ended and only if the ASR system has not identified any more words in the voice input in that interval of time, whereby the generated response is not outputted to the user if one or more words are identified in the voice input in that interval of time.

### Claim 14 (depends on 13)

A method according to claim 13, wherein the voice input is received from a user device via a communication network, wherein the outputting step is performed by the software agent transmitting the response to the user device via the network so as to cause the user device to output the response to the user.

### Claim 15 (depends on 14)

A method according to claim 14, wherein the voice input is received from and the response outputted to the user in real-time, thereby effecting a real-time communication event between the user and the software agent via the network.

### Claim 16 (depends on 13)

A method according to claim 13, the method being implemented in a communication system, wherein the communication system comprises a user account database storing, for each of a plurality of users of the communication system, a user identifier that uniquely identifies that user within the communication system;
wherein a user identifier of the software agent is also stored in the user account database so that the software agents appears as another user of the communication system.

### Claim 17 (depends on 13)

A method according to claim 13, further comprising:
monitoring the set of identified words in the memory as it is updated by the ASR system, wherein the speech inactivity condition is detected based on the monitoring of the set of identified words.

### Claim 18 (depends on 13)

A method according to claim 13, wherein the response is an audio response for playing out to the user in audible form.

### Claim 19

A computer program product comprising an artificial intelligence software agent stored on a computer readable storage medium, the software agent for communicating with a user based on the output of an ASR system, the ASR system for receiving voice input from the user and identifying individual words in the voice input, the software agent being configured when executed to perform operations of:
detecting a condition indicative of speech inactivity in the voice input;
generating based on the set of identified words, in response to the detected speech inactivity condition, a response for outputting to the user;
determining whether the ASR system has identified any more words in the voice input during an interval of time commencing with the detection of the speech inactivity condition; and
outputting the response to the user after said interval of time has ended and only if the ASR system has not identified any more words in the voice input in that interval of time, whereby the generated response is not outputted to the user if one or more words are identified in the voice input in that interval of time.

### Claim 20 (depends on 19)

A computer program product according to claim 19, wherein the response is outputted to the user by transmitting it to a user device available to the user via a network so as to cause the user device to output the response to the user.
