# US 2021/0082453 A1 · Acoustic neural network scene detection

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

- Number: US 2021/0082453 A1
- Document ID: US20210082453A1
- Status: Published application
- Kind: A1
- Application number: 17/247,137
- Filed: 2020-12-01
- Published: 2021-03-18
- Earliest claimed: 2017-03-01
- Assignees: Snap Inc.
- Applicants: Snap Inc.
- Inventors: Jinxi Guo; Jia Li; Ning Xu
- Web page: https://patentgrep.com/patent/US20210082453A1

## CPC

- G10L 25/30: using neural networks
- G06F 18/24: Classification techniques
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06V 20/00: Scenes; Scene-specific elements (control of digital cameras H04N23/60)
- G10L 21/02: Speech enhancement, e.g. noise reduction or echo cancellation (reducing echo effects in line transmission systems H04B3/20; echo suppression in hands-free telephones H04M9/08)
- H04S 7/40: {Visual indication of stereophonic sound image}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04S: STEREOPHONIC SYSTEMS

## Abstract

An acoustic environment identification system is disclosed that can use neural networks to accurately identify environments. The acoustic environment identification system can use one or more convolutional neural networks to generate audio feature data. A recursive neural network can process the audio feature data to generate characterization data. The characterization data can he modified using a weighting system that weights signature data items. Classification neural networks can be used to generate a classification of an environment.

## Claims

### Claim 1

A method comprising:
identifying sound recording data on a user device;
generating, by the user device, an acoustic classification using from the sound recording data using an acoustic classification neural network, the acoustic classification neural network comprising a convolutional neural network layer to generate image values that are weighted by an attention layer that updates a recursive neural network layer; and
storing the acoustic classification on the user device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the attention layer is a fully connected neural network layer.

### Claim 3 (depends on 1)

The method of claim 1, wherein the recursive neural network layer processes data from the convolutional neural network layer over time steps of recursive neural network layer.

### Claim 4 (depends on 3)

The method of claim 3, wherein feature data output by the convolutional neural network layer is weighted by the attention layer for each of the time steps, and wherein the data processed by the recursive neural network layer is the weighted feature data.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
generating an audio recording of a physical environment using a sound sensor of the user device.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
converting the audio recording into the sound recording data of the physical environment.

### Claim 7 (depends on 6)

The method of claim 6, wherein the audio recording is in a non-visual image format and the sound recording data is a visual image format.

### Claim 8 (depends on 1)

The method of claim 1, wherein the convolutional neural network layer, the attention layer, and the recursive neural network layer trained to generate the acoustic classification using hackpropagation.

### Claim 9 (depends on 8)

The method of claim 8, wherein the acoustic classification neural network is trained on training audio from one or more different environments including at least an outdoor environment and an indoor environment.

### Claim 10 (depends on 1)

The method of claim 1, wherein the acoustic classification neural network further comprises a classification layer that generates the acoustic classification.

### Claim 11 (depends on 10)

The method of claim 10, wherein the classification layer outputs a numerical value for each a plurality of scene categories, the numerical value indicating a likelihood that the acoustic classification is of a given scene category from the plurality of scene categories.

### Claim 12 (depends on 11)

The method of claim 11, wherein the plurality of scene categories include one or more of a group comprising: a bus, a cafe, a car, a city center, a forest, a grocery store, a home, a lakeside beach, a library, a railway station, an office, a residential area, a train, a tram, and an urban park.

### Claim 13 (depends on 1)

The method of claim 1, wherein the sound recording data is a spectrogram comprising frequency on a vertical axis and time on a horizontal axis.

### Claim 14

A system comprising:
one or more processors of a machine; and
a memory comprising instructions that, when executed by the one or more processors, cause the machine to perform operations comprising:
identifying sound recording data;
generating an acoustic classification using from the sound recording data using an acoustic classification neural network, the acoustic classification neural network comprising a convolutional neural network layer to generate image values that are weighted by an attention layer that updates a recursive neural network layer; and
storing the acoustic classification.

### Claim 15 (depends on 14)

The system of claim 14, wherein the attention layer is a fully connected neural network layer.

### Claim 16 (depends on 14)

The system of claim 14, wherein the recursive neural network layer processes data from the convolutional neural network layer over time steps of recursive neural network layer.

### Claim 17 (depends on 16)

The system of claim 16, wherein feature data output by the convolutional neural network layer is weighted by the attention layer for each of the time steps, and wherein the data processed by the recursive neural network layer is the weighted feature data.

### Claim 18 (depends on 14)

The system of claim 14, the operations further comprising:
generating an audio recording of a physical environment using a sound sensor.

### Claim 19

A non-transitory computer readable storage medium comprising instructions that, when executed by one or more processors of a device, cause the device to perform operations comprising:
identifying sound recording data;
generating an acoustic classification using from the sound recording data using an acoustic classification neural network, the acoustic classification neural network comprising a convolutional neural network layer to generate image values that are weighted by an attention layer that updates a recursive neural network layer; and
storing the acoustic classification.

### Claim 20 (depends on 19)

The non-transitory computer readable storage medium of claim 19, wherein the attention layer is a fully connected neural network layer.
