# US 2020/0402516 A1 · Preventing adversarial audio attacks on digital assistants

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

- Number: US 2020/0402516 A1
- Document ID: US20200402516A1
- Status: Published application
- Kind: A1
- Application number: 16/444,424
- Filed: 2019-06-18
- Published: 2020-12-24
- Earliest claimed: 2019-06-18
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Craig M. Trim; Michael Bender; Zachary A. Silverstein; Martin G. Keen
- Web page: https://patentgrep.com/patent/US20200402516A1

## CPC

- G06F 21/554: {involving event detection and direct action}
- G10L 17/22: Interactive procedures; Man-machine interfaces
- G01S 3/805: using adjustment of real or effective orientation of directivity characteristics of a transducer or transducer system to give a desired condition of signal derived from that transducer or transducer system, e.g. to give a maximum or minimum signal
- G01S 5/28: by co-ordinating position lines of different shape, e.g. hyperbolic, circular, elliptical or radial
- G06F 3/167: {Audio in a user interface, e.g. using voice commands for navigating, audio feedback}
- G06F 21/32: using biometric data, e.g. fingerprints, iris scans or voiceprints
- G10L 25/51: for comparison or discrimination
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L 67/52: specially adapted for the location of the user terminal
- G10L 2015/223: {Execution procedure of a spoken command}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G01S: RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Aspects of the present invention disclose a method for preventing adversarial audio attacks through detecting and isolating inconsistencies utilizing beamforming techniques and IoT devices. The method includes one or more processors identifying an audio command received by a listening device. The method further includes determining a source location of the audio command utilizing a sensor array of the listening device. The method further includes determining a location of a user in relation to the listening device based on data of an Internet of Things (IoT) device. The method further includes determining an inconsistency between the determines source location and the determined location of the user based at least in part on data of the sensor array and data of the IoT device.

## Claims

### Claim 1

A method comprising:
identifying, by one or more processors, an audio command received by a listening device;
determining, by one or more processors, a source location of the audio command utilizing a sensor array of the listening device;
determining, by one or more processors, a location of a user in relation to the listening device based on data of an Internet of Things (IoT) device; and
determining, by one or more processors, an inconsistency between the determined source location and the determined location of the user based at least in part on data of the sensor array and data of the IoT device.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
verifying, by one or more processors, authorization of a device located at the determined source location of the audio command, wherein authorization is a set of permissions granted during registration of the device; and
determining, by one or more processors, that the inconsistency indicates that the audio command includes an audio adversarial attack.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
performing, by one or more processors, an action, wherein the action is selected from the group consisting of: denying the identified audio command, requesting confirmation, and generating a notification.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining the source location of the audio command utilizing the sensor array of the listening device, further comprises:
receiving, by one or more processors, an audio signal that includes the audio command;
determining, by one or more processors, a directivity of the sensor array that receives the audio signal utilizing spatial filtering; and
verifying, by one or more processors, authorization of a device located at the determined source location, wherein authorization is a set of permissions granted during registration of the device.

### Claim 5 (depends on 1)

The method of claim 1, wherein identifying the inconsistency between the determined source location and the determined location of the user based at least in part on data of the sensor array and data of the IoT device, further comprises:
comparing, by one or more processors, data of the sensor array to data of the IoT device, wherein data of the sensor array includes the determined location source, topic of the audio command, and voice pattern of the audio command, and wherein the data of the IoT device includes position data, video data, and metadata;
identifying, by one or more processors, a variation in data of the sensor array and the data of the IoT device; and
determining, by one or more processors, that the identified variation is selected from a group consisting of: a location variation, a context variation, and an authorization variation.

### Claim 6 (depends on 1)

The method of claim 1, further comprises:
assigning, by one or more processors, a score value to the inconsistency, wherein the score value is based on a degree of variation in the inconsistency;
assigning, by one or more processors, a confidence level value to the inconsistency wherein the confidence level value is based on a degree of strength of information used to identify the inconsistency; and
ranking, by one or more processors, the inconsistency, wherein ranking includes determining a positional order and corresponding rank value based on the score value and the confidence level value of the inconsistency.

### Claim 7 (depends on 6)

The method of claim 6, wherein determining an inconsistency between the determined source location and the determined location of the user based at least in part on data of the sensor array and data of the IoT device, further comprises:
determining, by one or more processors, that a total value of the inconsistency exceeds a defined threshold, wherein the total value is a sum of a score, confidence level, and rank values.

### Claim 8

A computer program product comprising:
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising:
program instructions to identify an audio command received by a listening device;
program instructions to determine a source location of the audio command utilizing a sensor array of the listening device;
program instructions to determine a location of a user in relation to the listening device based on data of an Internet of Things (IoT) device; and
program instructions to determine an inconsistency between the determined source location and the determined location of the user based at least in part on data of the sensor array and data of the IoT device.

### Claim 9 (depends on 8)

The computer program product of claim 8, further comprising program instructions, stored on the one or more computer readable storage media, to:
verify authorization of a device located at the determined source location of the audio command, wherein authorization is a set of permissions granted during registration of the device; and
determine that the inconsistency indicates that the audio command includes an audio adversarial attack.

### Claim 10 (depends on 8)

The computer program product of claim 8, further comprising program instructions, stored on the one or more computer readable storage media, to:
perform an action, wherein the action is selected from the group consisting of: denying the identified audio command, requesting confirmation, and generating a notification.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein program instructions to determine the source location of the audio command utilizing a sensor array of the listening device, further comprise program instructions to:
receive an audio signal that includes the audio command;
determine a directivity of the sensor array that receives the audio signal utilizing spatial filtering; and
verify authorization of a device located at the determined source location, wherein authorization is a set of permissions granted during registration of the device.

### Claim 12 (depends on 8)

The computer program product of claim 8, wherein program instructions to identify the inconsistency between the determined source location and the determined location of the user based at least in part on data of the sensor array and data of the IoT device, further comprise program instructions to:
compare data of the sensor array to data of the IoT device, wherein data of the sensor array includes the determined location source, topic of the audio command, and voice pattern of the audio command, and wherein the data of the IoT device includes position data, video data, and metadata;
identifying a variation in data of the sensor array and the data of the IoT device; and
determine that the identified variation is selected from a group consisting of: a location variation, a context variation, and an authorization variation.

### Claim 13 (depends on 8)

The computer program product of claim 8, further comprising program instructions, stored on the one or more computer readable storage media, to:
assign a score value to the inconsistency, wherein the score value is based on a degree of variation in the inconsistency;
assign a confidence level value to the inconsistency wherein the confidence level value is based on a degree of strength of the information used to identify the inconsistency; and
rank the inconsistency, wherein ranking includes determining a positional order and corresponding rank value based on the score value and the confidence level value of the inconsistency.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein program instructions to identify the inconsistency between the determined source location and the determined location of the user based at least in part on data of the sensor array and data of the IoT device, further comprise program instructions to:
determining that a total value of the inconsistency exceeds a defined threshold, wherein a total value is a sum of a score, confidence level, and rank values.

### Claim 15

A computer system comprising:
one or more computer processors;
one or more computer readable storage media; and
program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising:
program instructions to identify an audio command received by a listening device;
program instructions to determine a source location of the audio command utilizing a sensor array of the listening device;
program instructions to determine a location of a user in relation to the listening device based on data of an Internet of Things (IoT) device; and
program instructions to determine an inconsistency between the determined source location and the determined location of the user based at least in part on data of the sensor array and data of the IoT device.

### Claim 16 (depends on 15)

The computer system of claim 15, further comprising program instructions, stored on the one or more computer readable storage media, to:
verify authorization of a device located at the determined source location of the audio command, wherein authorization is a set of permissions granted during registration of the device; and
determine that the inconsistency indicates that the audio command includes an audio adversarial attack.

### Claim 17 (depends on 15)

The computer system of claim 15, further comprising program instructions, stored on the one or more computer readable storage media, to:
perform an action, wherein the action is selected from the group consisting of: denying the identified audio command, requesting confirmation, and generating a notification.

### Claim 18 (depends on 15)

The computer system of claim 15, wherein program instructions to determine the source location of the audio command utilizing a sensor array of the listening device, further comprise program instructions to:
receive an audio signal that includes the audio command;
determine a directivity of the sensor array that receives the audio signal utilizing spatial filtering; and
verify authorization of a device located at the determined source location, wherein authorization is a set of permissions granted during registration of the device.

### Claim 19 (depends on 16)

The computer system of claim 16, wherein program instructions to identify the inconsistency between the determined source location and the determined location of the user based at least in part on data of the sensor array and data of the IoT device, further comprise program instructions to:
compare data of the sensor array to data of the IoT device, wherein data of the sensor array includes the determined location source, topic of the audio command, and voice pattern of the audio command, and wherein the data of the IoT device includes position data, video data, and metadata;
identifying a variation in data of the sensor array and the data of the IoT device; and
determine that the identified variation is selected from a group consisting of: a location variation, a context variation, and an authorization variation.

### Claim 20 (depends on 15)

The computer system of claim 15, further comprising program instructions, stored on the one or more computer readable storage media, to:
assign a score value to the inconsistency, wherein the score value is based on a degree of variation in the inconsistency;
assign a confidence level value to the inconsistency wherein the confidence level value is based on a degree of strength of the information used to identify the inconsistency; and
rank the inconsistency, wherein ranking includes determining a positional order and corresponding rank value based on the score value and the confidence level value of the inconsistency.
