Sound Classification System

A neural network-based sound classification system addresses the challenge of manual sound database classification by automating the process, ensuring efficient and accurate retrieval of sounds based on acoustic properties.

JP7575520B2Active Publication Date: 2024-10-29SONY INTERACTIVE ENTERTAINMENT LLC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023071591
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2018-09-28
Filing Date
2023-04-25
Publication Date
2024-10-29
Estimated Expiration
2039-09-23

AI Technical Summary

Technical Problem

Large sound databases for movies and video games require manual classification using non-uniform schemes, making it difficult for content creators to find desired sounds without knowledge of the database's structure, leading to wasted time and resources.

Method used

A multi-layer sound classification system using neural networks, specifically recurrent and convolutional neural networks, trained with hybrid metric learning and cross-entropy loss functions, to categorize sounds based solely on acoustic properties, enabling efficient search and classification.

Benefits of technology

Facilitates accurate and efficient retrieval of sounds by automating the classification process, reducing time and resource wastage, and enhancing accessibility for content creators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007575520000005
    Figure 0007575520000005
  • Figure 0007575520000006
    Figure 0007575520000006
  • Figure 0007575520000007
    Figure 0007575520000007
Patent Text Reader

Abstract

To provide a system, method, and computer program for hierarchical classification of sounds including one or more neural networks.SOLUTION: In a sound classification system 100, one or more neural networks classify sounds into two or more layers of coarse classifications of the hierarchy and the finest levels of classification of the hierarchy. The classified sounds are used to search a database for similar or contextually related sounds.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] FIELD OF THE DISCLOSURE This disclosure relates to sound classification, and more particularly to multi-layer classification of sounds using neural networks. [Background technology]

[0002] The growing popularity of movies and video games, which rely heavily on computer-generated special effects (FX), has led to the creation of vast databases containing sound files. These databases are categorized to make the sound files more accessible to movie and video game creators. Although the classification aids in accessibility, use of the databases still requires familiarity with the contents and classification scheme of the database. Content creators who have no knowledge of the available sounds have great difficulty finding the desired sound. Thus, new content creators may waste time and resources creating sounds that already exist.

[0003] Despite these large accessible sound databases, movies and video games often create new custom sounds, and adding new sounds to these databases requires a significant amount of time and personnel familiar with the classification schemes.

[0004] It is in this context that embodiments of the present disclosure arise. Summary of the Invention

[0005] Aspects of the present disclosure can be readily understood by considering the following detailed description in conjunction with the accompanying drawings. [Brief description of the drawings]

[0006] [Figure 1]FIG. 1 is a block diagram illustrating a method of sound classification using a trained sound classification and categorization neural network in accordance with an aspect of the present disclosure. [Figure 2A] FIG. 2 is a simplified node diagram of a recurrent neural network for use in a sound classification system according to an aspect of the present disclosure. [Figure 2B] FIG. 2 is a simplified node diagram of a deployed recurrent neural network for use in a sound classification system according to an aspect of the present disclosure. [Figure 2C] FIG. 1 is a simplified diagram of a convolutional neural network for use in a sound classification system according to an aspect of the present disclosure. [Figure 2D] FIG. 1 is a block diagram of a method for training a neural network in a sound classification system according to an aspect of the present disclosure. [Diagram 3] FIG. 1 is a block diagram illustrating a hybrid metric learning and cross-entropy loss function learning method for training a neural network in a sound classification system according to an aspect of the present disclosure. [Figure 4] FIG. 1 illustrates a block diagram of a system implementing a sound classification method using a sound classification and categorization neural network trained according to an aspect of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Although the following detailed description contains many specific details for purposes of explanation, those skilled in the art will appreciate that many variations and modifications to the following details are within the scope of the present disclosure. Thus, the example embodiments of the present disclosure described below are set forth without loss of generality to, and without imposing limitations on, the claimed disclosure.

[0008] Numerous specific details are described to provide a thorough understanding of the embodiments of the present disclosure, but it will be understood by those skilled in the art that other embodiments may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to obscure the present disclosure. Some portions of the description herein are presented in terms of algorithms and symbolic representations of operations on data bits or binary digital signals within a computer memory. These algorithmic descriptions and representations may be techniques used by those skilled in the data processing arts to convey the importance of their work to others skilled in the art.

[0009] An algorithm, as used herein, is a self-consistent sequence of actions or operations leading to a desired result. These involve physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.

[0010] Unless specifically stated or otherwise clear from the following description, throughout the specification, descriptions utilizing terms such as "processing," "calculating," "transforming," "adjusting," "determining," or "identifying" should be understood to refer to the actions and processes of a computer platform, which is an electronic computing device that includes a processor, and which manipulates and converts data represented as physical (e.g., electronic) quantities in the processor's registers and accessible platform memory into other data that is similarly represented as physical quantities in the computer platform memory, processor registers, or a display screen.

[0011] The computer program may be stored on a computer readable storage medium, such as, but not limited to, any type of disk, including floppy disks, optical disks (e.g., compact disks-read only memory (CD-ROM), digital video disks (DVD), Blu-Ray Discs™, etc.), and magneto-optical disks, read only memory (ROM), random access memory (RAM), EPROM, EEPROM, magnetic or optical cards, flash memory, or any other type of non-transitory medium suitable for storing electronic instructions.

[0012] The terms "coupled" and "connected," along with their derivatives, may be used herein to describe a structural relationship between components of an apparatus for performing the operations herein. It should be understood that these terms are not intended as synonyms for each other. Rather, in certain embodiments, "connected" may be used to indicate that two or more elements are in direct physical or electrical contact with each other. In some instances, "connected," "connection," and their derivatives are used to indicate a logical relationship between, for example, node layers in a neural network (NN). "Coupled" may be used to indicate that two or more elements are in physical or electrical contact with each other, either directly or indirectly (with other intervening elements between them), and / or that two or more elements cooperate or communicate with each other (e.g., as in a causal relationship).

[0013] Sound Classification System Currently, large databases of sound FX exist for movies and video games. These large databases are hand-classified using heterogeneous multi-layer classification schemes. In one example scheme, the database has many categories, each category has one or more daughter subcategories, and the actual sounds are listed under each subcategory. Machine learning has been used to train neural networks to cluster and categorize datasets. Previous datasets typically consisted of objects that already had inherent classifications by design. For example, previous clustering problems include determining whether a car is a sedan or a coupe. The automotive industry explicitly manufactures cars in either sedan or coupe designs, so the difference between these two types of vehicles is inherent.

[0014] When humans categorize sounds in a sound FX database, factors other than the acoustic characteristics of the sound are used to determine which classification the sound requires. For example, a human categorizer knows something about the source of the sound, such as whether the sound was caused by an explosion or a gunshot. This information is not available from the sound data alone. The insight of this disclosure is that sounds without an inherent classification can allow a classification to be applied to the sound in a robust manner based purely on the characteristics of the sound. Furthermore, by learning similarities between sound samples based on their acoustic similarity, a machine learning system can learn new sound classes. Thus, the search and classification of these large databases can be aided by the use of machine learning. Although this disclosure describes a two-tier classification, it should be understood that this disclosure is not limited to such a structure and the teachings may be applied to databases having any number of tiers.

[0015] A sound classification system may be useful in searching a large database for a particular sound or type of sound. Classification refers to the general concept of a hierarchical categorization, i.e., from coarse to fine (such as along the nodes of a sound hierarchy tree). By way of example and not by way of limitation, there may be a coarse categorization and a fine categorization, with multiple coarse categorizations or categories preceding the finest categorization or category. In some implementations, the system may classify and categorize onomatopoeic sounds uttered by a user. As used herein, the term onomatopoeic sound refers to a word or utterance that describes or suggests a particular sound. The system may use the categorization of the onomatopoeic sound to search a sound FX database for actual recorded sounds that match the categorization of the onomatopoeic sound. One advantage of a hierarchical database is that the system may present multiple similar sounds with varying degrees of dissimilarity based on both subcategory and category. In some embodiments, the search may provide, for example, the top three most similar sounds. In other embodiments, the search may provide a selection of similar sounds from the same subcategory and category. The selection of similar sounds may be sounds that are contextually related to the input sound. In other implementations, the system may simply categorize the actual recorded sounds and store the actual recorded sounds in the sound FX database according to the categorization. In some alternative embodiments, the actual recorded sounds may be onomatopoeic sounds uttered by the user, since the user may in some cases desire a voice color to be used as the actual sound FX, for example, comic book media may use onomatopoeic sounds to emphasize action.

[0016] Large-scale sound FX classification is one application of aspects of the present disclosure, although other applications are anticipated. In one alternative implementation, the large-scale sound FX database may be replaced with a time-stamped or location-organized database of sounds for a particular video game. A trained classification neural network determines the player's location within the game based on the classified sounds played to the player. This particular implementation provides an advantage to non-localized emulators, since no information is required from the emulation server other than the sounds already sent to the user.

[0017] In another embodiment, the hierarchical database of sounds may be tied to haptic events such as vibrations on a controller or pressure on a joystick. Using a sound classification NN, extra haptic feedback may be added to games that lack actual haptic information. A classification NN may simply receive game sounds and classify the sounds, and the classification may be used to determine the haptic events to be provided to the user. Additionally, the classification system may provide additional information to users with disabilities. For example and without limitation, an application may provide higher category sounds to control vibration patterns on the left side and use lower level subcategory sounds to control high frequency vibrations on the right side.

[0018] By way of example and not by way of limitation, some output modalities could aid the hearing impaired, for example using a cell phone or glasses with a built-in microphone, processor, and visual display. A neural network running on the processor could classify the sounds the microphone picks up. The display could present visual feedback identifying the sound category, for example in the form of text such as closed captions.

[0019] Current sound FX databases rely on a two-tier approach. In a two-tier database, the goal is to build a classifier that can correctly classify both categories and subcategories. A two-tier database according to an embodiment of the present disclosure has labels divided into two classes: "coarse" and "fine". The coarse class labels are category labels. The fine class labels are category + subcategory labels. Although the methods and systems described herein describe a two-tier database, it should be understood that the teachings may be applied to databases having any number of category layers. According to an embodiment of the present disclosure, and without limitation, the database may be a two-tiered heterogeneous hierarchical database with 183 categories and 4721 subcategories. The database may be searched by known methods, such as index lookup. Examples of suitable search programs include commercially available digital audio workstation (DAW) software and other software, such as Soundminer software from Soundminer Inc. of Toronto, Ontario, Canada.

[0020] The algorithm of the sound classification system 100 begins with a segment of sound 101. A number of filters 102 are applied to the segment of sound 101 to create a windowed sound and generate a representation of the sound in a Mel-frequency cepstrum 103. The Mel-frequency cepstrum representation is provided to a trained sound classification neural network 104. The trained sound classification NN outputs a vector 105 representing the category and subcategory of the sound, as well as a vector representing the finest level category or classification 106 of the sound. This classification may then be used to search a database 110 for similar sounds, as described above.

[0021] Filtering Sample Prior to classification and clustering, the sound FX may be processed to aid in classification. In some implementations, mel-cepstral spectrogram features are extracted from the audio file. To extract the mel-cepstral spectrogram features, the audio signal is divided into several time windows, and each window is converted to a frequency domain signal, for example by a Fast Fourier Transform (FFT). This frequency domain or spectral domain signal is then compressed by taking the logarithm of the spectral domain signal and then performing another FFT. The cepstrum of the time domain signal S(t) can be mathematically expressed as FT(log(FT(S(t))))+j2πq), where q is an integer required to properly unwrap the angle or imaginary part of the complex logarithmic function. Algorithmically, the cepstrum can be generated by a sequence of operations: signal → FT → log → phase unwrapping → FT → cepstrum. The cepstrum can be viewed as information about the rate of change of different spectral bands within a sound window. The spectrum is first transformed using a Mel-Filter Bank (MFB), which differs from the Mel-Frequency Cepstral Coefficients (MFCC) in that it has one less final processing step, the Discrete Cosine Transform (DCT). The frequency, f, in Hertz (cycles per second), is given by m = (1127.01048 Hz) log e The Mel frequency m can be converted to the Mel frequency m by f = (700 Hz)(e m / 1127.01048 −1) to frequency f in Hertz. For example and without limitation, the sound FX may be converted to a 64-dimensional Mel-Cepstral spectrogram with a moving window length of 42.67 ms and a shift of 10.67 ms.

[0022] Batch training is used for NN training. Random windows, or feature frames, of Mel-frequency transformed sound are generated and the dimensional samples are fed into the model for training. As an example and not as a limitation, we may choose 100 random feature frames, each of which is a 64-dimensional sample.

[0023] Neural Network Training The neural network that implements the classification of the sound FX 104 may include one or more of several different types of neural networks and may include many different layers. By way of example and not by way of limitation, the classifier neural network may be comprised of one or more convolutional neural networks (CNNs), recurrent neural networks (RNNs), and / or dynamic neural networks (DNNs).

[0024] FIG. 2A shows a basic form of an RNN with a layer of nodes 220, each of which is characterized by an activation function S, one input weight U, a recurrent hidden node transition weight W, and an output transition weight V. Note that the activation function S may be any nonlinear function known in the art and is not limited to a hyperbolic tangent (tanh) function. For example, the activation function S may be a sigmoid function or a ReLu function. Unlike other types of neural networks, an RNN has one set of activation functions and weights for the entire layer. As shown in FIG. 2B, an RNN may be viewed as a series of nodes 220 with the same activation function moving through times T and T+1. Thus, an RNN maintains history information by sending results from a previous time T to the current time T+1.

[0025] There are several ways the weights U, W, V may be configured. The input weight U may be applied based on the Mel frequency spectrum. These different input weights could be stored in a lookup table and applied as needed. There would be default values ​​that the system applies initially. These may then be modified manually by the user or automatically by machine learning.

[0026] In some embodiments, convolutional RNNs may be used. Another type of RNN that may be used is a long short-term memory (LSTM) neural network, which adds memory blocks at the RNN nodes with input gate activation functions, output gate activation functions, and forget gate activation functions, resulting in gate memory that allows the network to retain some information for a longer period of time, as described in Hochreiter & Schmidhuber, "Long Short-term memory," Neural Computation 9(8):1735-1780 (1997), which is incorporated herein by reference.

[0027] FIG. 2C illustrates an example layout of a convolutional neural network such as a CRNN according to an embodiment of the disclosure. In this depiction, the convolutional neural network is generated for an image 232 that is 4 units high and 4 units wide, with a total area of ​​16 units. The illustrated convolutional neural network has a filter 233 that is 2 units high and 2 units wide, with a skip value of 1, and a channel 236 of size 9. For clarity in FIG. 2C, only the connection 234 between the first column of channels and their filter windows is depicted. However, embodiments of the disclosure are not limited to such implementation. According to embodiments of the disclosure, the convolutional neural network implementing classification 229 may have any number of additional neural network node layers 231 and may include layer types such as additional convolutional layers of any size, fully connected layers, pooling layers, max pooling layers, local contrast normalization layers, etc.

[0028] As seen in Figure 2D, training a neural network (NN) begins with the initialization of the weights of the NN 241. In general, the initial weights should be randomly distributed. For example, a NN using a tanh activation function should have random values ​​distributed between -1 / √n and 1 / √n, where n is the number of inputs to the node.

[0029] After initialization, activation functions and optimizers are defined. The NN is then fed with a feature or input data set 242. Each of the different feature vectors may be fed with inputs with known labels. Similarly, a classification NN may be fed with feature vectors corresponding to inputs with known labeling or classification. The NN then predicts the label or classification of the feature or input 243. The predicted label or class is compared to the known label or class (also called ground truth), and a loss function measures the overall error between the prediction and the ground truth over all training samples 244. By way of example and not by way of limitation, the loss function may be a cross-entropy loss function, a quadratic cost, a triplet contrastive function, an exponential cost, etc. Depending on the purpose, multiple different loss functions may be used. The NN is then optimized and trained using the results of the loss function and using known methods of training for neural networks, such as backpropagation by stochastic gradient descent, etc. 245. At each training epoch, the optimizer tries to choose the model parameters (i.e., weights) that minimize the training loss function (i.e., total error). The data is partitioned into training, validation, and test samples.

[0030] During training, the optimizer minimizes a loss function on the training samples. After each training epoch, the modes are evaluated on the validation samples by computing the validation loss and accuracy. If there is no significant change, training can be stopped. This trained model can then be used to predict the labels of the test data.

[0031] In this way, a classification neural network can be trained from speech inputs with known labels or categories to identify and classify those speech inputs by minimizing cross-entropy loss given the known target labels.

[0032] HIERARCHY-PRESERVING REPRESENTATION LEARNING In addition to simple cross-entropy loss, metric learning may also be used in training a NN according to an embodiment of the present disclosure. Metric learning with Siamese loss or triplet loss has the inherent ability to learn complex manifolds or representations. For SFX classification, metric learning improves clustering in the embedding space compared to using cross-entropy alone. The overall joint loss function according to an embodiment of the present disclosure is:

number

[0033] Uniform triplet training does not take into account the hierarchical label structure, and most of the negative samples will likely be taken from a different category than the anchor category. To counter this, triplet negative mining can be performed probabilistically such that the model encounters some triplets whose negative samples are of the same category but come from different subcategories. Suppose we have M samples, t i =(x a (i) ,x p (i) ,x n (i) ) triplet {t i} i=1~M is formed by choosing anchors, positive samples, and negative samples as follows: 1. Category C and subcategory S to anchor x a (i) Select. 2.x p (i) ∈S, so that positive x p (i) Select. 3. Negative x n (i) Select.

number

[0034] where r is a Bernoulli random variable r~Ber(0.5). I(.) is the indicator function. Next, the triplet loss on a batch of N samples is obtained.

number

[0035] where m is a non-negative margin parameter.

[0036] Further improvements to the metric learning network can be achieved by using a quadruplet loss instead of a triplet. The quadruplet loss attempts to preserve the embedding structure and provides more information about the hierarchy in which the input is classified. The quadruplet loss is given:

number

[0037] The quadruplet tuples are chosen as follows: 1. Category C and subcategory S to anchor x a (i) Select. 2.x p+ (i) ∈S, we have strong positive x p+ (i) Select. 3.x p- (i) ∈C and x p- (i) Weakly positive x such that / ∈S. p- (i) ( / ∈ is the negation of ∈) 4.x n (i) / ∈C, so that negative xn (i) ( / ∈ is the negation of ∈)

[0038] As shown in FIG. 2D, during training 245, the quadruplet or triplet loss function and the cross-entropy loss function are used during optimization as described above. Furthermore, the combined cross-entropy loss and quadruplet / triplet loss function used during optimization can be improved by adding a weighting factor λ to compensate for the trade-off between the two types of losses. In this way, the new combined loss equation is expressed as follows: L total =(λ)L ce +(1-λ)L metric

[0039] To extend this system to hierarchies with any number of layers, the metric learning loss function is simply modified by recursively applying the method to all nodes of the hierarchy.

[0040] This combined training allows for improved classification of the input.

[0041] Combined Training FIG. 3 shows a schematic diagram of training a sound FX classification system 300 using a combined cross-entropy loss function and a metric learning loss function 309. During training, samples representing anchors 301, strong positive numbers 302, weak positive numbers 303, and negative numbers 304 are provided to the neural network 305. Note that in an implementation using triplet learning, only anchors, positive samples, and negative samples are provided. The neural network 305 may include one or more neural networks with any number of layers. By way of example and not by way of limitation, in a network with two layers, there are four networks that share parameters during training. These networks represent (f(anchor), f(strong+), f(weak+), f(-)). An L2 normalization layer 306 is used in the output layer of the neural network 305 to produce the embedding distance 307. The output from the L2 regularization 306 is a "normalized" vector called "embeddings" that is converted to a class vector 308 and used to calculate 307 the distances between the three pairs of embeddings corresponding to the inputs 301-304. These distances can then be used in a metric learning loss function. The labels of the anchors 311 are passed for use in the loss function. The metric learning loss function is then applied to the embedding distances 307. Additionally, the result of f(anchor) is also used to provide a finest level categorization that can take the form of a vector 308 representing the finest level subcategories. As mentioned above, during training, the losses of the metric learning function and the cross-entropy function are calculated and added together 309. The combined metric learning loss and cross-entropy loss are then used for optimization in mini-batch backpropagation using a stochastic gradient descent algorithm 310.

[0042] Implementation 4 illustrates a sound classification system according to an embodiment of the disclosure. The system may include a computing device 400 coupled to a user input device 402. The user input device 402 may be a controller, touch screen, microphone, keyboard, mouse, joystick, or other device that allows a user to input information, including sound data, into the system. The user input device may be coupled to a haptic feedback device 421. The haptic feedback device 421 may be, for example, a vibration motor, a force feedback system, an ultrasonic feedback system, or a pneumatic feedback system.

[0043] The computing device 400 may include one or more processor units 403, which may be configured according to well-known architectures, such as, for example, single-core, dual-core, quad-core, multi-core, processor co-processor, Cell processor, etc. The computing device may also include one or more memory units 404 (e.g., random access memory (RAM), dynamic random access memory (DRAM), read only memory (ROM), etc.).

[0044] The processor unit 403 may execute one or more programs, portions of which may be stored in the memory 404, and the processor 403 may be operatively coupled to the memory, for example by accessing the memory via a data bus 405. The programs may be configured to implement a sound filter 408 to convert the sound into a Mel-frequency cepstrum. Furthermore, the memory 404 may include a program to perform training of a sound classification NN 421. The memory 404 may also include software modules such as the sound files 408, a multi-layer sound database 422, and a sound classification NN module 421. The sound database 422 may be stored in a mass store 418 as data 418 or in a server coupled to a network 420 accessed through the network interface 414.

[0045] The overall structure and probabilities of the NN may also be stored as data 418 in the mass store 415. The processor unit 403 may further be configured to execute one or more programs 617 stored in the mass store 415 or in the memory 404, which programs cause the processor to implement the method 300 of training the sound classification NN 421 from the sound database 422. The system may generate neural networks as part of the NN training process. These neural networks may be stored in the memory 404 in the sound classification NN module 421. The completed NN may be stored in the memory 404 or in the mass store 415 as data 418. The program 417 (or parts thereof) may also be configured, for example by suitable programming, to apply appropriate filters 408 to the sounds input by the user, classify the sounds filtered by the sound classification NN 421, and search the sound category database 422 for similar or identical sounds. Furthermore, the program 417 may be configured to use the haptic feedback device 421 and utilize the results of the sound classification to create haptic feedback events.

[0046] The computing device 400 may also include well-known support circuits such as input / output (I / O) 407, circuitry, power supply (P / S) 411, clock (CLK) 412, and cache 413 that may communicate with other components of the system, for example, via bus 405. The computing device may include a network interface 414. The processor unit 403 and the network interface 414 may be configured to implement a local area network (LAN) or a personal area network (PAN) via an appropriate network protocol, for example Bluetooth for PAN. The computing device may optionally include a mass storage device 415, such as a disk drive, CD-ROM drive, tape drive, flash memory, etc., which may store programs and / or data. The computing device may also include a user interface 616 to facilitate interaction between the system and a user. The user interface may include a monitor, television screen, speakers, headphones, or other device for communicating information to a user.

[0047] The computing device 400 may include a network interface 414 to facilitate communication over an electronic communications network 420. The network interface 414 may be configured to implement wired or wireless communications over local area networks and wide area networks such as the Internet. The device 400 may send and receive requests for data and / or files over the network 420 via one or more message packets. Message packets transmitted over the network 420 may be temporarily stored in a buffer 409 in the memory 404. The categorized sounds database is available over the network 420 and may be partially stored in the memory 404 for use.

[0048] While the above is a complete description of the preferred embodiments of the present disclosure, various alternatives, modifications, and equivalents can be used. It should be understood that the above description is intended to be illustrative, and not restrictive. For example, while the flow charts in the figures show a particular order of operations performed by certain embodiments of the present disclosure, it should be understood that such order is not required (e.g., alternative embodiments may perform operations in a different order, may combine certain operations, may duplicate certain operations, etc.). Moreover, many other embodiments will be apparent to those of ordinary skill in the art upon reading and understanding the above description. While the present disclosure has been described with reference to certain exemplary embodiments, it will be recognized that the disclosure is not limited to the described embodiments, but can be practiced with modification and alteration within the spirit and scope of the appended claims. Thus, the scope of the present disclosure should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled. Any feature described in this specification, whether preferred or not, may be combined with any other feature described in this specification, whether preferred or not. In the claims that follow, the indefinite article "a" or "an" refers to a quantity of one or more of the item following the article, unless expressly stated otherwise. The appended claims are not to be construed as including means-plus-function limitations unless such limitations are expressly recited in a given claim using the phrase "means for."

Claims

1. 1. A system for hierarchical classification of sounds, comprising: one or more processors; one or more neural networks implemented on the one or more processors configured to output, for a sound input, a vector representing a coarse classification of a hierarchy of two or more layers and a vector representing a finest level classification in the hierarchy; Equipped with The one or more neural networks are trained using a combination of a metric learning function and a cross-entropy loss function, and the loss of the metric learning function and the loss of the cross-entropy loss function are additively optimized.

2. The system of claim 1 , wherein a first weighting factor is used in a loss of the metric learning function and a loss of the cross-entropy loss function.

3. The system of claim 2 , wherein the metric learning function is a triplet loss function.

4. The system of claim 2 , wherein the metric learning function is a quadruplet loss function.

5. The system of claim 1 , wherein the sound is an onomatopoeic sound.

6. The system of claim 5 , wherein the onomatopoeic sound is vocalized by a user.

7. 10. The system of claim 1, wherein the one or more neural networks are executable instructions stored on a non-transitory computer readable medium that, when executed, cause the processor to perform calculations of the neural network.

8. 8. The system of claim 7, further comprising a database, the executable instructions further comprising: searching the database for similar sounds using results of the coarse classification of the hierarchy of the two or more layers from the neural network and a finest level of classification in the hierarchy.

9. The system of claim 7 , wherein the executable instructions further comprise storing sound data in a hierarchical database according to the classification performed by the one or more neural networks.

10. The system of claim 1 , further comprising a haptic feedback device, wherein haptic feedback events are determined by the hierarchical classification of sounds.

11. The system of claim 1 , wherein the sounds are digitized and converted to a Mel-frequency cepstrum before classification.

12. implementing one or more neural networks configured, upon execution, to output, for a sound input, a vector representing a coarse classification of a hierarchy of two or more layers and a vector representing a finest level classification within the hierarchy; The one or more neural networks are trained using a combination of a metric learning function and a cross-entropy loss function, where the loss of the metric learning function and the loss of the cross-entropy loss function are additively optimized.

13. The computer-executable instructions of claim 12 , wherein the sound is an onomatopoeic sound.

14. The computer-executable instructions of claim 13 , wherein the onomatopoeic sound is vocalized by a user.

15. 13. The computer-executable instructions of claim 12, further comprising searching a database for similar sounds using results of the coarse classification of the two or more layers of a hierarchy from the neural network and a finest level of classification in the hierarchy.

16. A method for hierarchical categorization of sounds, performed by a processor, comprising: said processor using one or more neural networks to output, for a sound input, a vector representing a coarse classification of a hierarchy of two or more layers and a vector representing a finest level classification within said hierarchy; training the one or more neural networks with a combination of a metric learning function and a cross-entropy loss function and additively optimizing a loss of the metric learning function and a loss of the cross-entropy loss function; Including, The method, wherein the neural network is computer-executable instructions stored on a non-transitory computer-readable medium that, when executed, causes the processor to perform calculations of the neural network.

17. The method of claim 16 , wherein the sound is an onomatopoeic sound uttered by a user.

18. The method of claim 16, further comprising the processor searching a database for similar sounds using results of the coarse classification of the hierarchy of the two or more layers from the neural network and the finest level of classification in the hierarchy.

Citation Information

Patent Citations

  • Method and device for training acoustic characteristic extraction model, equipment and computer storage medium

    CN107221320A