WO2023183663A1 - Dummy prototypical networks for few-shot open-set keyword spotting - Google Patents
Dummy prototypical networks for few-shot open-set keyword spotting Download PDFInfo
- Publication number
- WO2023183663A1 WO2023183663A1 PCT/US2023/060938 US2023060938W WO2023183663A1 WO 2023183663 A1 WO2023183663 A1 WO 2023183663A1 US 2023060938 W US2023060938 W US 2023060938W WO 2023183663 A1 WO2023183663 A1 WO 2023183663A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- dummy
- prototype
- classes
- representation
- samples
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
- G10L15/10—Speech classification or search using distance or distortion measures between unknown speech and reference templates
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
- G10L15/16—Speech classification or search using artificial neural networks
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/06—Creation of reference templates; Training of speech recognition systems, e.g. adaptation to the characteristics of the speaker's voice
- G10L15/063—Training
- G10L2015/0631—Creating reference templates; Clustering
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
- G10L2015/088—Word spotting
Definitions
- the present disclosure generally relates to audio signal processing.
- aspects of the present disclosure are related to systems and techniques for performing open-set recognition (OSR) keyword spotting (KWS) using one or more machine learning systems (e.g., including one or more neural network-based models).
- OSR open-set recognition
- WLS keyword spotting
- Electronic devices such as smartphones, tablet computers, wearable electronic devices, smart TVs, and the like are becoming increasingly popular among consumers. These devices can provide voice and/or data communication functionalities over wireless or wired networks. In addition, such electronic devices can include other features that provide a variety of functions designed to enhance user convenience. Electronic devices can include a speech recognition function for receiving voice commands from a user. Such a function allows an electronic device to perform a function associated with a voice command (e.g., a keyword) when the voice command from a user is received and recognized. For example, the electronic device may activate a voice assistant application, play an audio file, or take a picture in response to the voice command from the user.
- a voice command e.g., a keyword
- manufacturers or carriers can often equip the devices with predetermined keywords and associated sound models, which may be used in detecting the keywords in an input sound.
- Some electronic devices may also allow a user to designate a keyword as a voice command.
- electronic devices may receive several utterances of a keyword from a user and generate a keyword model for the designated keyword from the utterances.
- the detection performance of a keyword model can be related to the number of utterances from which the keyword model is generated.
- the detection performance of a keyword model may improve as the number of utterances increases.
- a manufacturer may provide a keyword model in an electronic device that has been generated from thousands of utterances or more.
- the number of utterances of a keyword received from a user is relatively small (e.g., less than five).
- the keyword model generated from such limited number of utterances may not produce adequate detection performance.
- receiving a substantial number of utterances from a user to generate a keyword model that can provide sufficient detection performance may be time consuming and inconvenient to the user.
- systems and techniques are described for few-shot open-set recognition (FSOSR).
- the systems and techniques can be used to perform keyword spotting with recognition and rejection of open-set queries not belonging to a known or seen class.
- the systems and techniques can utilize a dummy prototypical network to perform few-shot open-set keyword spotting (FSOS-KWS).
- a method for processing one or more data samples, the method including: determining one or more prototype representations based on a plurality of support samples associated with one or more classes, wherein each prototype representation is associated with one of the one or more classes; determining a dummy prototype representation, wherein the one or more prototype representations and the dummy prototype representation are determined in a same learned metric space; determining one or more distance metrics for each query sample of one or more query samples, wherein the one or more distance metrics are determined based on the one or more prototype representations and the dummy prototype representation; and classifying each query sample based on the one or more distance metrics, wherein each query sample is classified into one of the one or more classes associated with the one or more prototype representations or an open-set class associated with the dummy prototype representation.
- an apparatus for processing one or more data samples includes a memory (e.g., configured to store data, such as audio data, etc.) and one or more processors (e.g., implemented in circuitry) coupled to the memory.
- a memory e.g., configured to store data, such as audio data, etc.
- processors e.g., implemented in circuitry
- the one or more processors are configured to and can: determine one or more prototype representations based on a plurality of support samples associated with one or more classes, wherein each prototype representation is associated with one of the one or more classes; determine a dummy prototype representation, wherein the one or more prototype representations and the dummy prototype representation are determined in a same learned metric space; determine one or more distance metrics for each query sample of one or more query samples, wherein the one or more distance metrics are determined based on the one or more prototype representations and the dummy prototype representation; and classify each query sample based on the one or more distance metrics, wherein each query sample is classified into one of the one or more classes associated with the one or more prototype representations or an open-set class associated with the dummy prototype representation.
- a non-transitory computer-readable medium has stored thereon instructions that, when executed by one or more processors, cause the one or more processors to: determine one or more prototype representations based on a plurality of support samples associated with one or more classes, wherein each prototype representation is associated with one of the one or more classes; determine a dummy prototype representation, wherein the one or more prototype representations and the dummy prototype representation are determined in a same learned metric space; determine one or more distance metrics for each query sample of one or more query samples, wherein the one or more distance metrics are determined based on the one or more prototype representations and the dummy prototype representation; and classify each query sample based on the one or more distance metrics, wherein each query sample is classified into one of the one or more classes associated with the one or more prototype representations or an open-set class associated with the dummy prototype representation.
- an apparatus for processing one or more data samples includes: means for determining one or more prototype representations based on a plurality of support samples associated with one or more classes, wherein each prototype representation is associated with one of the one or more classes; determining a dummy prototype representation, wherein the one or more prototype representations and the dummy prototype representation are determined in a same learned metric space; determining one or more distance metrics for each query sample of one or more query samples, wherein the one or more distance metrics are determined based on the one or more prototype representations and the dummy prototype representation; and classifying each query sample based on the one or more distance metrics, wherein each query sample is classified into one of the one or more classes associated with the one or more prototype representations or an open-set class associated with the dummy prototype representation.
- FIG. 1 illustrates an example implementation of a System-on-a-Chip (SoC), in accordance with some examples
- FIG. 2A and FIG. 2B illustrate an example of a fully connected neural network, in accordance with some examples
- FIG. 3 is a diagram illustrating an example of a few-shot learning (FSL) scenario, in accordance with some examples
- FIG. 4A is a diagram illustrating another example of a few-shot learning (FSL) scenario, in accordance with some examples
- FIG. 4B is a diagram illustrating a first example episode of a few-shot open-set recognition (FSOSR) episode, in accordance with some examples;
- FOSR few-shot open-set recognition
- FIG. 4C is a diagram illustrating a second example episode of a few-shot open-set recognition (FSOSR) episode, in accordance with some examples
- FIG. 5 is a diagram illustrating an example architecture of dummy prototypical network, in accordance with some examples
- FIG. 6 is a flow diagram illustrating an example of a process for processing one or more data samples (e.g., of an audio signal) to perform keyword spotting (KWS); and
- FIG. 7 is a block diagram illustrating an example of a computing system for implementing certain aspects described herein. DETAILED DESCRIPTION
- Voice activity detection can refer to the detection of a human voice by a computing device in order to perform some function.
- a computing device can use voice activity detection, such as by the recognition of specific keywords, to wake or activate a device, to query a device, and/or to cause the device to perform various other functions.
- Voice activity detection can also be used in more complex functionalities, such as far-field voice detection (e.g., from a mobile device placed across a room), user identify verification (e.g., by voice signature), voice detection during other audio output (e.g., detecting a voice command while playing back music on a device or detecting an interrupting command while a smart assistant is speaking), and/or voice interaction in complex noise environments, such as within moving vehicles.
- Keyword spotting is a task of detecting one or more keywords in an audio signal (e.g., an audio signal including human speech or spoken words).
- KWS can be used to distinguish an activation phrase or a specific command from other speech and noise in an audio signal.
- KWS systems can target or be utilized by edge devices such as mobile phones and smart speakers.
- Detected keywords can include single words, compound words, phrases including multiple words, etc.
- KWS can be performed based on a set of pre-determined keywords and/or a set of user-defined keywords.
- user- defined keywords can include one or more adaptations, adjustments, etc., that are determined based on specific characteristics of a given user’s voice or speech.
- the audio signal can be a streaming audio signal and, in some examples, KWS can be performed for the streaming audio signal in real-time.
- a streaming audio signal can be recorded by or obtained from a microphone associated with a computing device.
- KWS can be performed locally or remotely.
- KWS can be performed locally using one or more processors of the same computing device that collects or obtains the streaming audio signal.
- KWS can be performed remotely by transmitting the streaming audio signal (or a representation thereof) from the local computing device to a remote computing device (e.g., the local computing device records an audio signal but offloads KWS processing tasks to a remote computing device).
- Performing KWS locally can result in a lower total latency or compute time but a decreased accuracy.
- KWS remotely can result in a higher latency but an increased accuracy.
- local computing devices e.g., smartphones
- remote computing devices e.g., cloud computing systems
- KWS results with a lower accuracy or overall performance, particularly when subject to the time constraint associated with providing KWS results in real-time or near real-time.
- local computing devices might implement KWS detection models with lower complexity than those implemented on remote computing devices in order to provide real-time KWS results.
- Lower accuracy KWS results can include false positives (e.g., identifying a keyword that is not actually present), false negatives (e.g., failing to identify a keyword that is present), and classification errors (e.g., identifying a first keyword as some other keyword).
- performing KWS remotely can introduce a communication latency that may offset the accuracy gains associated with remote KWS.
- remote KWS can introduce latency along the communication path from the local computing device to the remote computing device (e.g., the time to transmit the streaming audio signal or a representation thereof to the remote computing device) and along the return communication path from the remote computing device to the local computing device (e.g., the time to transmit the KWS results from the remote computing device back to the local computing device).
- KWS is often performed in real-time (or approximately real-time) to allow user interaction with one or more computing devices.
- the lag between the time a user speaks a keyword (e.g., an activation phrase or specific command) and the time that the computing device provides a corresponding response or action can be an important factor in the user’s willingness to utilize spoken commands.
- a lag of multiple seconds may frustrate users or otherwise dissuade them from using spoken commands.
- there is a need for improved KWS performance in local and/or remote KWS implementations as both local and remote KWS implementations are often time-bound processes.
- one or more machine learning networks are used to detect keywords in an audio signal based on a set of pre-defined keyword classifications.
- KWS can be performed using one or more neural networks trained over the set of pre-defined keyword classifications.
- the resulting neural network(s) can achieve accurate performance when evaluated against a closed set of keywords that were seen in training, but are often limited to detecting only those keywords that were seen in training (e.g., keywords that correspond to a keyword classification in the training data set).
- few-shot KWS can be used to detect or classify keywords that were not originally seen in training.
- a neural network classifier is trained on a training set that includes labeled samples representing various predefined classes or categories of keywords.
- the neural network classifier absorbs knowledge from the labeled samples of the training set.
- the neural network classifier can learn embeddings or an embedding space for relating the training samples to their corresponding labels.
- the trained neural network classifier can subsequently adapt or generalize (e.g., at inference) to evaluation tasks of new classes not seen in the training set (e.g., unseen classes).
- the FSL-based neural network classifier can use an attention mechanism over a learned embedding of the labeled set of support examples (e.g., the support set) to predict classes for unlabeled points (e.g., a query set).
- a trained FSL-based neural network classifier can receive a support set that includes M support examples for each of N unseen classes, and a query set that includes one or more query samples.
- the neural network classifier can determine a prototype representation for each unseen class N e.g., using the M support examples associated with each unseen class N).
- Each unlabeled query sample can be classified into one of the previously unseen classes N based on a computed distance between the query sample and each prototype representation.
- this inference process can be referred to as an JV-way -shot episode, where the goal of the FSL-based neural network classifier is to correctly classify a query set into N classes that are unseen during training but known using the M support samples.
- an input audio signal may naturally include utterances, words, phrases, etc., of unexpected novel classes whose support examples are not given.
- An unexpected novel class can be a class for which no support examples were included in the initial training set or the support set. These unexpected samples and/or classes can be referred to as an “open-set” (e.g., in contrast to the closed set of classes from the initial training set and the support set).
- Neural network classifiers may exhibit over-confidence and incorrectly classify an unseen open-set sample into one of the FSL classes.
- the accuracy and/or performance of a KWS system can be improved by rejecting open-set utterances rather than classifying them into one of the pre-determined keyword classifications (e.g., of the closed set).
- Open-Set Recognition can be used to detect unseen open-set classes and subsequently handle and/or reject query samples belonging to the detected open-set class.
- systems, apparatuses, processes also referred to as methods), and computer-readable media (collectively referred to as “systems and techniques”) are described herein for performing few-shot open-set recognition (FSOSR) and/or few-shot open-set keyword spotting (FSOS-KWS) using a machine learning classifier.
- the machine learning classifier can be a neural network classifier.
- the few-shot neural network classifier can be used to perform improved keyword spotting (KWS) with OSR by predicting episode-specific (e.g., episode-known) dummy classes based on the support examples in each episode.
- the few-shot neural network classifier can classify the predicted dummy classes as an open-set for rejection from a downstream or subsequent KWS process, as will be described in greater depth below.
- the neural network(s) described herein can be referred to and/or included in a dummy prototypical network (D-ProtoNet).
- the systems and techniques can generate a set of prototype representations based on a support set provided as input during inference.
- the support set can include a plurality of support examples associated with known keyword classes.
- the support set can include example utterances that are labeled with a corresponding keyword class for the utterance.
- a machine learning encoder can generate embedded support examples from the plurality of support examples included in the support set.
- the machine learning encoder can be a neural network encoder.
- the embedded support examples for each known class e.g., each class seen in the labeled support set
- the prototype representation can be determined as the mean of the embedded support examples for each class.
- the machine learning (e.g., neural network) encoder can also receive as input a query set, wherein the query set includes a combination of query samples that belong to a known class and query samples that belong to an unknown class.
- the neural network encoder can generate embeddings for the query samples (e.g., can generate embedded query samples), which can then be analyzed against the prototype representations in order to perform classification.
- one or more dummy prototypes can be generated based on the set of prototype representations for each of the known classes.
- the dummy prototype can be used to classify open-set query samples as not belonging to any of the known classes. For example, the open-set query samples can be rejected or removed as outliers.
- the dummy prototypes can be used to perform fewshot open-set keyword spotting (FSOS-KWS), as will be described in greater depth below.
- FIG. 1 illustrates an example implementation of a system-on-a-chip (SoC) 100, which may include a central processing unit (CPU) 102 or a multi-core CPU, configured to perform one or more of the functions described herein.
- SoC system-on-a-chip
- Parameters or variables e.g., neural signals and synaptic weights
- system parameters associated with a computational device e.g., neural network with weights
- delays e.g., frequency bin information, task information, among other information
- NPU neural processing unit
- GPU graphics processing unit
- DSP digital signal processor
- Instructions executed at the CPU 102 may be loaded from a program memory associated with the CPU 102 or may be loaded from a memory block 118.
- the SoC 100 may also include additional processing blocks tailored to specific functions, such as a GPU 104, a DSP 106, a connectivity block 110, which may include fifth generation (5G) connectivity, fourth generation long term evolution (4G LTE) connectivity, Wi-Fi connectivity, USB connectivity, Bluetooth connectivity, and the like, and a multimedia processor 112 that may, for example, detect and recognize gestures, speech, and/or other interactive user action(s) or input(s).
- the NPU is implemented in the CPU 102, DSP 106, and/or GPU 104.
- the SoC 100 may also include a sensor processor 114, image signal processors (ISPs) 116, and/or navigation module 120, which may include a global positioning system.
- ISPs image signal processors
- the sensor processor 114 can be associated with or connected to one or more sensors for providing sensor input(s) to sensor processor 114.
- the one or more sensors and the sensor processor 114 can be provided in, coupled to, or otherwise associated with a same computing device.
- the one or more sensors can include one or more microphones for receiving sound (e.g., an audio input), including sound or audio inputs that can be used to perform keyword spotting (KWS) as described herein.
- the sound or audio input received by the one or more microphones (and/or other sensors) may be digitized into data packets for analysis and/or transmission.
- the audio input may include ambient sounds in the vicinity of a computing device associated with the SoC 100 and/or may include speech from a user of the computing device associated with the SoC 100.
- a computing device associated with the SoC 100 can additionally, or alternatively, be communicatively coupled to one or more peripheral devices (not shown) and/or configured to communicate with one or more remote computing devices or external resources, for example using a wireless transceiver and a communication network, such as a cellular communication network.
- the SoC 100 may be based on an ARM instruction set.
- the instructions loaded into the CPU 102 may comprise code to search for a stored multiplication result in a lookup table (LUT) corresponding to a multiplication product of an input value and a filter weight.
- the instructions loaded into the CPU 102 may also comprise code to disable a multiplier during a multiplication operation of the multiplication product when a lookup table hit of the multiplication product is detected.
- the instructions loaded into the CPU 102 may comprise code to store a computed multiplication product of the input value and the filter weight when a lookup table miss of the multiplication product is detected.
- SoC 100 and/or components thereof may be configured to perform audio signal processing using one or more machine learning networks and/or machine learning techniques according to aspects of the present disclosure and as described herein.
- SoC 100 and/or components thereof may be configured to perform keyword spotting according to aspects of the present disclosure.
- FSL few-shot learning
- OSR open-set recognition
- aspects of the present disclosure can increase the accuracy and/or efficiency of keyword spotting (KWS).
- Machine learning can be considered a subset of artificial intelligence (Al).
- ML systems can include algorithms and statistical models that computer systems can use to perform various tasks by relying on patterns and inference, without the use of explicit instructions.
- a ML system is a neural network (also referred to as an artificial neural network), which may include an interconnected group of artificial neurons (e.g., neuron models).
- Neural networks may be used for various applications and/or devices, such as speech analysis, audio signal analysis, image and/or video coding, image analysis and/or computer vision applications, Internet Protocol (IP) cameras, Internet of Things (loT) devices, autonomous vehicles, service robots, among others.
- IP Internet Protocol
- LoT Internet of Things
- Individual nodes in a neural network may emulate biological neurons by taking input data and performing simple operations on the data. The results of the simple operations performed on the input data are selectively passed on to other neurons.
- Weight values are associated with each vector and node in the network, and these values constrain how input data is related to output data. For example, the input data of each node may be multiplied by a corresponding weight value, and the products may be summed. The sum of the products may be adjusted by an optional bias, and an activation function may be applied to the result, yielding the node’s output signal or “output activation” (sometimes referred to as a feature map or an activation map).
- the weight values may initially be determined by an iterative flow of training data through the network (e.g., weight values are established during a training phase in which the network leams how to identify particular classes by their typical input data characteristics).
- CNNs convolutional neural networks
- RNNs recurrent neural networks
- GANs generative adversarial networks
- MLP multilayer perceptron neural networks
- CNNs convolutional neural networks
- Convolutional neural networks may include collections of artificial neurons that each have a receptive field (e.g., a spatially localized region of an input space) and that collectively tile an input space.
- RNNs work on the principle of saving the output of a layer and feeding this output back to the input to help in predicting an outcome of the layer.
- a GAN is a form of generative neural network that can learn patterns in input data so that the neural network model can generate new synthetic outputs that reasonably could have been from the original dataset.
- a GAN can include two neural networks that operate together, including a generative neural network that generates a synthesized output and a discriminative neural network that evaluates the output for authenticity.
- MLP neural networks data may be fed into an input layer, and one or more hidden layers provide levels of abstraction to the data. Predictions may then be made on an output layer based on the abstracted data.
- Deep learning is one example of a machine learning technique and can be considered a subset of ML.
- Many DL approaches are based on a neural network, such as an RNN or a CNN, and utilize multiple layers.
- the use of multiple layers in deep neural networks can permit progressively higher-level features to be extracted from a given input of raw data. For example, the output of a first layer of artificial neurons becomes an input to a second layer of artificial neurons, the output of a second layer of artificial neurons becomes an input to a third layer of artificial neurons, and so on.
- Layers that are located between the input and output of the overall deep neural network are often referred to as hidden layers.
- the hidden layers learn (e.g., are trained) to transform an intermediate input from a preceding layer into a slightly more abstract and composite representation that can be provided to a subsequent layer, until a final or desired representation is obtained as the final output of the deep neural network.
- a neural network is an example of a machine learning system, and can include an input layer, one or more hidden layers, and an output layer. Data is provided from input nodes of the input layer, processing is performed by hidden nodes of the one or more hidden layers, and an output is produced through output nodes of the output layer. Deep learning networks typically include multiple hidden layers. Each layer of the neural network can include feature maps or activation maps that can include artificial neurons (or nodes). A feature map can include a filter, a kernel, or the like. The nodes can include one or more weights used to indicate an importance of the nodes of one or more of the layers.
- a deep learning network can have a series of many hidden layers, with early layers being used to determine simple and low-level characteristics of an input, and later layers building up a hierarchy of more complex and abstract characteristics.
- a deep learning architecture may leam a hierarchy of features. If presented with visual data, for example, the first layer may leam to recognize relatively simple features, such as edges, in the input stream. In another example, if presented with auditory data, the first layer may leam to recognize spectral power in specific frequencies. The second layer, taking the output of the first layer as input, may leam to recognize combinations of features, such as simple shapes for visual data or combinations of sounds for auditory data. For instance, higher layers may leam to represent complex shapes in visual data or words in auditory data.
- Deep learning architectures may perform especially well when applied to problems that have a natural hierarchical structure. For example, the classification of motorized vehicles may benefit from first learning to recognize wheels, windshields, and other features. These features may be combined at higher layers in different ways to recognize cars, trucks, and airplanes.
- Neural networks may be designed with a variety of connectivity patterns.
- feedforward networks information is passed from lower to higher layers, with each neuron in a given layer communicating to neurons in higher layers.
- a hierarchical representation may be built up in successive layers of a feed-forward network, as described above.
- Neural networks may also have recurrent or feedback (also called top-down) connections. In a recurrent connection, the output from a neuron in a given layer may be communicated to another neuron in the same layer.
- a recurrent architecture may be helpful in recognizing patterns that span more than one of the input data chunks that are delivered to the neural network in a sequence.
- a connection from a neuron in a given layer to a neuron in a lower layer is called a feedback (or top-down) connection.
- a network with many feedback connections may be helpful when the recognition of a high-level concept may aid in discriminating the particular low-level features of an input.
- FIG. 2A illustrates an example of a fully connected neural network 202.
- a neuron in a first layer may communicate its output to every neuron in a second layer, so that each neuron in the second layer will receive input from every neuron in the first layer.
- FIG. 2B illustrates an example of a locally connected neural network 204.
- a neuron in a first layer may be connected to a limited number of neurons in the second layer.
- a locally connected layer of the locally connected neural network 204 may be configured so that each neuron in a layer will have the same or a similar connectivity pattern, but with connections strengths that may have different values (e.g., 210, 212, 214, and 216).
- the locally connected connectivity pattern may give rise to spatially distinct receptive fields in a higher layer, as the higher layer neurons in a given region may receive inputs that are tuned through training to the properties of a restricted portion of the total input to the network.
- FIG. 3 is a diagram illustrating an example of a few-shot learning (FSL) scenario 300.
- FSL and FSL-based approaches can be used to perform few-shot classification, wherein a classifier (e.g., a neural network or other machine learning classifier) can generalize and extend inference to include new classes not seen in the training set, given only a small number of examples of each new class.
- a classifier e.g., a neural network or other machine learning classifier
- FSL-based neural network classifiers can be used to perform few-shot KWS for detecting keywords in an audio stream or audio data, as described previously.
- FIG. 3 depicts an example of a 3-way 5-shot FSL scenario, in which a neural network classifier (not shown) receives as input a support set that includes a total of 15 labeled support examples, divided into three previously unseen classes (e.g., 310, 320, and 330) having five support examples each.
- the 3-way 5-shot FSL scenario 300 can be associated with a prototypical network, which leams a metric space in which classification can be performed by computing distances to prototype representations of each class.
- a prototypical network can include one or more neural networks that leam (e.g., during training) anon-linear mapping of the input into an embedding space. Using the learned embedding space, the prototypical network can take each previously unseen class’s prototype to be the mean of its support set in the embedding space.
- the prototype representation 315 can be determined as the mean of the five embedded support examples for class 310; the prototype representation 325 can be determined as the mean of the five embedded support examples for class 320; the prototype representation 335 can be determined as the mean for the five embedded support examples for class 330; etc.
- Classification can then be performed for an embedded query point by determining the nearest class prototype to the query point.
- the embedded query point 370 can be classified into class 320 based on a determination that the distance from embedded query point 370 to prototype representation 325 is smaller than the distance from embedded query point 370 to either of the remaining prototype representations 315 and 335.
- embedded query points e.g., embedded query point 370
- embedded query point 370 can be classified based on the Euclidean distance between the embedded query point and each of the prototype representations, although it is noted that various other distance metrics and/or determinations may also be utilized without departing from the scope of the present disclosure.
- FIG. 4A is a diagram illustrating another example of an FSL scenario 400a using the prototypical networks (ProtoNets) described above with respect to FIG. 3.
- ProtoNets prototypical networks
- FSL can be performed with a goal of correctly classifying one or more queries of a query set into N classes that are unseen during training but known on the basis of receiving M support samples for each previously unseen class.
- a pure FSL-based approach does not consider open-set classes out of the N classes, meaning that a pure FSL-based approach such as that of FSL scenario 400a will only classify the queries into one of the N closed-set classes.
- FSL scenario 400a is a 3-way 5-shot FSL scenario, meaning that classification is performed over the three classes 410, 420 and 430 in an evaluation (e.g., inference) setting and that the respective prototype representations 415, 425 and 435 are generated using five embedded support examples for each of the three classes.
- the three classes 410, 420 and 430 can each represent a keyword or keyword classification.
- class 410 can represent the keyword “one”
- class 420 can represent the keyword “two”
- class 430 can represent the keyword “three.”
- the support set S (not shown) can include a total of 15 support examples (e.g., five example utterances of “one” labeled with the keyword classification 410, five example utterances of “two” labeled with the keyword classification 420, and five example utterances of “three” labeled with the keyword classification 430).
- a query set Q of test utterances can include a combination of closed-set queries and open-set queries.
- Closed-set queries can represent test utterances from a known class (e.g., test utterances of “one,” two,” or “three,” corresponding to the support set classes 410, 420, 430, respectively).
- the query set includes three closed-set test utterances for each class 410, 420, 430.
- Open-set queries can represent test utterances from an unknown class and are depicted in as open circles containing a “?” inside.
- the open-set queries can include test utterances such as “four,” “five,” “six,” etc., although it is noted that the open-set queries/test utterances can take various other forms with varying degrees of similarity to the closed-set test utterances (e.g., because the open-set can be defined as including any test utterance that does not match a known class).
- the test utterances of the open-set queries can be associated with one or more unseen and unsupported classes that were not seen in either an initial training data set (e.g., used to initially train a neural network classifier associated with FSL scenario 400a) or in the support set S (e.g., provided to the neural network classifier at inference and used to perform FSL).
- each of the open-set queries will be incorrectly classified into one of the three known (e.g., closed-set) classes 410, 420, 430.
- the decision boundaries depicted in FIG. 4A as dotted lines partitioning the embedding space can represent the (erroneous) closed-set classifications that may be determined for the open-set queries.
- the erroneous classification of queries from open-set classes can occur due the design of existing FSL approaches (e.g., such as FSL scenario 400a), which are limited to only the known, closed-set classes and cannot consider any open-set classes regardless of the distance between an open-set query and the nearest prototype representation determined for one of the closed-set classes.
- existing FSL approaches e.g., such as FSL scenario 400a
- unseen and unsupported classes such as “four,” “five,” and “six” may be regularly encountered and are consistently misjudged by existing FSL approaches as belonging to a known or seen class from the closed- set of FSL classes that were seen in training or included in the support set S.
- FIG. 4B illustrates a first example episode 400b of a few-shot open-set recognition (FSOSR) approach according to one or more aspects of the present disclosure.
- FIG. 4C illustrates a second example episode 400c of an FSOSR approach according to one or more aspects of the present disclosure.
- the first FSOSR episode 400b and the second FSOSR episode 400c can represent or be applied to the same underlying sample set S and query set Q as was described above with respect to the example FSL scenario 400a illustrated in FIG. 4A.
- the systems and techniques described herein can perform FSOSR, including FSOSR for KWS (e.g., FSOS-KWS) to distinguish an unknown open-set from the known closed-set classes, while still performing FSL.
- FSOSR for KWS
- KWS e.g., FSOS-KWS
- the systems and techniques can receive as input a query set including a combination of closed-set test utterances (e.g., which should be correctly classified as belonging to one of the known classes) and open-set test utterances (e.g., which belong to one or more unknown classes, and should not be classified as belonging to any of the known classes).
- the systems and techniques can perform FSOSR and/or FSOS-KWS using episode-known dummy prototypes based on metric learning to detect and reject an open-set.
- episode-specific (e.g., episode-known) dummy classes are predicted based on the support examples included in the support set provided for each episode, and the open-set is classified as the dummy classes and rejected from inclusion in subsequent KWS.
- the open-set of test utterances having an unknown or unseen class can change over episodes, based on the choice of N classes in the support set S provided as an inference input to each episode.
- FIG. 4B illustrates a first episode 400b having a first open-set of queries with an unseen class
- FIG. 4C illustrates a second episode 400c having a second open-set of queries with an unseen class.
- the first episode 400b and the second episode 400c are built over the same underlying query set (e.g., the same embedded sample points are depicted in FIGS. 4B and 4C).
- the composition of the open-set changes from episode 400b to 400c.
- the composition of the closed-set classifications also changes from episode 400b to 400c.
- the first classification 410b includes a different set of queries/test utterances than the first classification 410c;
- the second classification 420b includes a different set of queries/test utterances than the second classification 420c;
- the third classification 430b includes a difference set of queries/test utterances than the third classification 430c; etc.
- the systems and techniques described herein can perform FSOS-KWS to distinguish an unknown open-set from known-closed set classes in a per-episode manner (e.g., the unknown open-set can be uniquely distinguished from the known-closed for any given choice of N classes associated with the support set S provided to a given episode).
- the systems and techniques predict episode-specific (e.g., episode-known) dummies based on the support examples and/or support set S provided as input to each episode.
- the predicted episode-specific dummies are then classified as an episode-specific open-set that can subsequently be rejected or otherwise excluded from KWS classification.
- the systems and techniques can utilize Dummy Prototypical Networks (D-ProtoNets), as will be described in greater depth below.
- D-ProtoNets Dummy Prototypical Networks
- FIG. 5 is a diagram illustrating an example of a dummy prototypical network (D- ProtoNet) 500 for performing FSOSR and/or FSOS-KWS with episode-specific open-set recognition and/or rejection.
- the dummy prototypical network 500 can perform FSOS-KWS with adaptation to a varying open-set between episodes.
- the dummy prototypical network 500 can perform FSOS-KWS by using metric-based learning to learn a metric space in which distance metrics can classify samples.
- an FSOSR setting may include seen training data D train and unseen evaluation data /G ai that do not overlap classes.
- the seen training data D train can include a plurality of labeled samples, where x i is an input feature and y i is its corresponding label.
- the input feature x i can be an utterance or other speech and/or audio data.
- the corresponding label y i can be a keyword class or classification for the input feature x i .
- training can be performed wherein a machine learning model (e.g., a neural network model) associated with the dummy prototypical network 500 learns from a plurality of N-way -shot pseudo-FSOSR episodes.
- a machine learning model e.g., a neural network model
- each of the pseudo-FSOSR episodes can include N known classes with M support examples per class (e.g., such that each pseudo-FSOSR episode includes a total of N*M support examples) and one or more pseudo-unknown (e.g., pseudo-open-set) classes without any support examples.
- the pseudo-episodes used in training can be designed to mimic the FSOSR inference task by subsampling classes as well as data points.
- inference can be performed over episodes that are each associated with a support set S and a query set Q.
- FIG. 5 illustrates a support set S (indicated as 512) that includes a closed-set K (indicated as 513) of known classes for which support examples are provided.
- FIG. 5 also illustrates a query set Q (indicated as 516) that includes both a closed set K (indicated as set 517) of known classes and an open-set U (indicated as set 519) of unknown classes without support examples.
- set of closed-set samples 513 and the closed set 517 of samples correspond to the same underlying known classes, it is not necessarily the case that the constituent samples within 513 are the same as the constituent samples within the closed set 517
- the support set S (e.g., 512) can include M samples for each of the N classes, as described above.
- the query set Q e.g., 516) can include one or more queries from the N known classes (e.g., of the set 517) and can further include one or more queries from Nu unknown classes (e.g., of the set 519), where:
- M Q can represent the number of queries for each class.
- all classes in the evaluation data set D eval may be unseen by the dummy prototypical network 500.
- the evaluation data set D eval can be the same as the query set 516.
- Inference can be performed using episodes that include N known classes with support samples (e.g., the set 517) and Nu unknown open-set classes without support samples (e.g., the set 519). Note that in the inference episodes, the evaluation data set D eval (e.g., the set 517) does not necessarily include M support examples for each of the N classes, as is the case for the support set S (e.g., 512).
- the dummy prototypical network 500 can perform FSOS- KWS based at least in part on one or more metric-based learning approaches. For example, in an N-way M-shot episode, the dummy prototypical network 500 can determine or otherwise obtain N prototypes, using the average of the embedded support samples of each class, n, to calculate the corresponding prototype for each class, where:
- S n is a subset of the support set 5 (e.g., 512) whose labels are and f ⁇ is an encoder with ⁇ parameters.
- the prototypes c n can be obtained based on determining the average of the embedded support samples of each class at the fqeraging engine 530.
- the individual prototypes are represented using the c n notation, while the C notation (e.g., indicated in FIG. 5 at block 532) can represent the set of N prototypes.
- f ⁇ is depicted as the encoder 520, which receives as input each episode the support set 512 and the query set 516.
- encoder 520 can be a neural network or other machine learning network that generates embeddings based on the support set 512 and/or query set 516 (e.g., the prototypes c n can be determined by averaging the embeddings generated for each class N by the encoder f ⁇ 520).
- the encoder f ⁇ 520 can include or implement a machine learning backbone.
- the encoder f ⁇ 520 can include or implement one or more of Conv4-64, ResNet-12, and/or BCResNet-8.
- the output dimensions can be 768.
- the output dimensions can be 512.
- the output dimensions can be 256.
- a Conv4-64 architecture can be associated with 768 dimensions based at least in part on the absence of global average pooling at its output (e.g., yielding 768 dimensions, larger than its number of input channels, 64).
- the dummy prototypical network 500 can determine or otherwise obtain a probability distribution over the N known classes:
- d( ⁇ ) is a distance metric (e.g., indicated in FIG. 5 as the distance metric 540).
- the distance metric d( ⁇ ) can be determined based on a Euclidean distance:
- the distance metric d( ⁇ ) can be determined or otherwise implemented using distance metrics other than a Euclidean distance (e.g., such as the Euclidean distance of Eq. (3)).
- distance metrics other than a Euclidean distance e.g., such as the Euclidean distance of Eq. (3).
- the probability distribution of Eq. (2) can be used to classify an input x by determining the distance (e.g., using the distance metric d( ⁇ ) between the query example x and the prototypical representation c n for each class. For example, if the input query example x is closest to class number three (e.g., of the N classes), then a relatively high probability can be determined for class three and a relatively lower probability for the remaining N-1 classes. For example, these probabilities can be determined based on Eq. (2), which itself can be determined based on the distance metric d(-) e.g., such as the Euclidean distance metric given in Eq. (3)).
- the systems and techniques described herein can further determine one or more episode-known dummy prototypes in order to handle (e.g., reject from KWS) varying open-sets over multiple FSOS-KWS episodes.
- the dummy prototypical network 500 can further include a dummy generator g ⁇ 550 for determining or otherwise generating episode-known dummy prototypes.
- the dummy generator g ⁇ 550 can generate an episode-known dummy prototype c d based on receiving as input the set of original prototypes C for the given episode (e.g., the set of prototypes C generated by averaging the embeddings output by encoder f ⁇ 520, using Eq. (1)).
- a set of A prototypes can be used per inference episode of the dummy prototypical network 500, where c ⁇ R 1xD with the output dimension of f ⁇ D.
- the prototypes can be permutation invariant to each other for the dummy prototypical network 500.
- the dummy generator g ⁇ 550 can have parameters (p based on DeepSets.
- the dummy generator g ⁇ 550 can be permutation invariant.
- the dummy generator g ⁇ 550 can generate a dummy c d 552 using or otherwise given as input the N prototypes D
- the generated dummy c d may be episode-specific and episode-known.
- changes in the choice and/or composition of A can change the open-set (e.g., as described with respect to the first and second episodes shown in FIGS. 4B and 4C, respectively).
- dummy c d 552 is not static.
- the dummy c d 552 can vary with the varying open-set caused by changes in N and/or the support set S.
- the dummy representation c d 552 can be generated by the dummy generator g v 550 as:
- g 1 includes fully-connected (FC) layers with non-linearity and g ⁇ (C) G R N x H with a hidden dimension H.
- g 1 can be a two-layer linear layer with a non-linearity level between the two linear layers.
- a maxpool can be applied.
- the maxpool of Eq. (4) operates over A (e.g., the number of prototypes/classes) and outputs a feature in R 1xH .
- the feature output from the maxpool can undergo a matrix multiplication with W g , which can be implemented as a learnable H x D matrix.
- the result of this matrix multiplication can be the generated dummy, c d 552, with cd ⁇ R 1xD .
- an augmented prototype set ⁇ ci, ⁇ , C N , c d ⁇ can be obtained by appending the dummy prototype c d 552 e.g., generated by dummy generator g ⁇ 550) to the set of original prototypes C (e.g., generated by function generator f ⁇ 520 and averaging engine 530, where averaging engine 530 applies Eq. (1)).
- the labels of open-set queries can be set to the N+l-th label ya which corresponds to the dummy c d 552.
- Eq. (2) can be modified to determine or otherwise obtain a probability distribution over the N + 1 prototypes as:
- the probability distribution over the N+1 prototypes can be determined in a same or similar manner as the probability distribution over the N prototypes (e.g., previously described with respect to Eq. (2)).
- the probability distribution over the N+l prototypes can be determined using a softmax (e.g., the N+l softmax 560 illustrated in FIG. 5) based on the same distance metric d() 540.
- the distance metric 540 can be based on Euclidean distance, as described previously (e.g., with respect to Eq. (3)).
- the N+l softmax 560 can be followed by an N+l class classification 570 that can generate an N-way classification 580.
- the N+l softmax 560 and the N+l class classification 570 can be performed over the N classes and the newly generated, episode-specific dummy class c d .
- the N-way classification 580 can be generated based on an argmax function, such as as shown in FIG. 5.
- ⁇ can represent or otherwise include the encoder 520 parameter ⁇ and the dummy generator 550 parameter ⁇ .
- n is a softmax temperature.
- n can be a softmax temperature associated with or implemented by the N+1 softmax 560.
- the softmax temperature can be held constant or otherwise be the same over the different classes N.
- the labels of the open-set queries can be set to the N+1- th label ya using the N+l softmax 560 (e.g., as described previously).
- N+l softmax 560 e.g., as described previously.
- a larger ⁇ N+ 1 compared to other can be used (e.g., can be used in or by the N+l softmax 560) such that the dummy c d 552 affects the original N class classification to a lesser degree (e.g.,
- the probability distribution of Eq. (5) can be output or otherwise determined using the N+l softmax 560.
- cross entropy loss for the known classes and cross entropy loss for the known classes can be determined and used to generate a combined loss or loss function that drives the training process.
- the N+l class classification 570 can be learned (e.g., during training) using or more cross entropy losses, as given below:
- Q K and Q U are known and unknown queries, respectively, of the query set Q 516.
- Qv can be a known query from the set 517 of known queries and Q U can be an unknown query from the set 519 of unknown queries, both illustrated in FIG. 5 as included within the query set Q 516.
- the two losses given in Eq. (6) and Eq. (7) can be balanced by a hyperparameter ⁇ , with the total loss function (e.g., again, a cross entropy loss) given as:
- the hyperparameter ⁇ can be set equal to 0.1, although other hyperparameter values can also be utilized.
- the dummy prototypical networks described herein e.g., dummy prototypical network 500
- the dummy prototypical networks described herein can be trained simultaneously on the dummy prototype Cd generated using dummy generator f ⁇ 550 and the set of original prototypes C generated using function generator 520.
- the cross entropy loss (e.g., of Eqs. (6)-(8)) is no longer needed or utilized.
- N+l classes can be identified based on or using the N+l softmax output.
- the output of the N+l softinax 560 can be used to detect and reject open-set queries.
- the dummy prototypical network 500 can include an outlier detection engine 590, which can be used to detect the open-set queries for a given FSOS-KWS episode.
- outlier detection engine 590 can detect open-set queries for a given FSOS-KWS episode based on the probability over the dummy class Cd. For example, outlier detection engine 590 can determine whether a given x ; belongs to an open-set (e.g., and therefore is an outlier and/or should be rejected) based on:
- the probability p ⁇ given by Eq. (9) can represent the probability that the given query x i belongs to the dummy class C d (e.g., where y i represents the label or classification for the query x i ; yd represents the label or classification assigned to the dummy class c d 552; and the labels of open-set queries can be set to the N+l-th label y d ).
- the classification output of the N+l classifier 570 is an A- way classification by
- the dummy prototypical network of FIG. 5 can be tested by classifying N known classes by:
- the systems and techniques described herein can utilize multiple dummies, L.
- the example prototypical network 500 can naively choose a most probable one of the L dummies for a given input x i by: argmax l (-d(x i ,c l )).
- a Gumbel softmax can be used to replace the non- differentiable sample (e.g., argmax) with a differentiable sample.
- the probability of choosing a dummy I of the set of multiple dummies L can be given as: [0106]
- IID independent and identically distributed
- a single dummy y L of the multiple dummies L can be chosen for use in performing open-set recognition (OSR).
- OSR open-set recognition
- the single dummy y L can be selected by:
- the selected dummy y L can be used to classify and rejecting the open- set queries as the dummy class, in a same or similar manner as described above with respect to the example in which dummy generator 550 generates a single dummy.
- training and/or inference can be performed with the ⁇ term in the Gumbel softmax (e.g., in Eq. (11), above) annealed from 2 to 0.5.
- one or more speech commands datasets can be used for training, validation, and/or testing of the systems and techniques described herein.
- a speech commands dataset can include 35 keywords in total and can be used to support 12 class classifications.
- the 12 classes can include 10 keywords (e.g., “Yes”, “No,” “Up,” “Down,” “Left,” “Right,” “On,” “Off,” “Stop,” and “Go”) and two additional classes.
- the two additional classes can include an “Unknown Words” class which includes the 25 remaining keywords (e.g., the 35 total keywords in the speech commands dataset, minus the 10 keywords above), and a “Silence” class.
- the “Silence” class can include background noise only.
- the speech commands dataset can be split by class label. For example, a split can performed to establish 15 keywords for a training set, 10 keywords for a validation set, and 10 keywords for a test set:
- Keywords “Zero,” “One,” “Two,” “Three,” “Four,” “Five,” “Six,” “Seven,” “Eight,” and “Nine”
- Test keywords (10 keyword classes used in a conventional 12 class KWS): “Yes”, “No”, “Up”, “Down”, “Left”, “Right”, “On”, “Off’, “Stop,” and “Go”.
- the use of fixed keyword splits can prevent possible performance variance from split changes over trials.
- the particular class “Silence” can be added, which can only be included in an open-set as a background noise class.
- five known classes without “Silence” can randomly be chosen and the same number of open-set classes from the remaining classes, including “Silence,” can also be chosen.
- these settings can be referred to as a split speech commands dataset.
- the underlying speech commands dataset (e.g., prior to the application of the split described above) can be the Google speech commands (GSC) dataset ver2, containing 105,829 utterances from 2,618 speakers.
- GSC Google speech commands
- the dataset can first be split into train, validate, and test sets having 84,843, 9,981, and 11,005 utterances, respectively, using the official split (e.g., using a hash function on the name of each utterance file).
- samples can be chosen based on the split speech commands dataset approach described above, to obtain 22,916, 3,643, and 4,074 samples for train, validation, and test, respectively.
- “Silence” samples can be added to each split by the average number of utterances per class of each split, resulting in a final split speech commands dataset including 24,444, 4,007, and 4,482 utterances for train, validation and test, respectively.
- training can be performed using minimal data augmentation commonly used in GSC tasks, adding official background noise offered by GSC with the probability of 0.8.
- the encoder f ⁇ 520 can include or implement a machine learning backbone (e.g., as described above).
- the encoder f ⁇ 520 can include or implement one or more of Conv4-64, ResNet-12, and/or BCResNet-8.
- the output dimensions can be 768.
- the output dimensions can be 512.
- the output dimensions can be 256.
- a Conv4-64 architecture can be associated with 768 dimensions based at least in part on the absence of global average pooling at its output (e.g., yielding 768 dimensions, larger than its number of input channels, 64).
- each utterance in GSC is 1 second in length and the sampling rate is 16 kHz.
- input features of 40-dimensional log Mel-spectrograms with frameshift and window length of 10 and 30 milliseconds (ms), respectively, can be used.
- the dummy prototypical network described herein e.g., the dummy prototypical network 500 illustrated in FIG. 5
- the learning rate can be step decayed by multiplying by 0.5 every 20 epochs.
- Each epoch can include 100 episodes, with each episode including 5 known (e.g., 5-way) and 5 open-set classes.
- 5 support examples e.g., 5-shot
- 5 queries can be provided or otherwise utilized for each class.
- 15 queries can be provided or otherwise utilized for each class.
- early-stop can be used by few-shot validation accuracy and a trained model can be evaluated with 1,000 episodes.
- FIG. 6 is a flowchart illustrating an example of a process 600 for processing one or more data samples (e.g., one or more data samples of audio data).
- the process 600 includes determining one or more prototype representations based on a plurality of support samples associated with one or more classes, wherein each prototype representation is associated with one of the one or more classes.
- the one or more prototype representations can be determined using the dummy prototypical network 500 illustrated in FIG. 5.
- the one or more prototype representations can be determined by a machine learning and/or neural network encoder, such as the neural network encoder 520 illustrated in FIG. 5.
- the one or more prototype representations can be determined based on receiving as input the plurality of support samples, wherein each support sample is associated with (e.g., labeled with) a known class.
- the encoder e.g., encoder 520
- a prototype representation can then be determined for each keyword class as the mean of its embedded support samples. For example, the mean of the embedded support samples for each class can be determined using the averaging engine 530 illustrated in FIG. 5.
- the one or more classes can be keyword classes (e.g., of a keyword spotting (KWS) system).
- each prototype representation can be determined using a plurality of support samples that are associated with one of the keyword classes. For example, each prototype representation can be determined for one keyword class of a plurality of keyword classes, wherein the prototype representation for the keyword class is determined based on the support samples associated with the same keyword class.
- the process 600 includes determining a dummy prototype representation, wherein the one or more prototype representations and the dummy prototype representation are determined in a same learned metric space.
- the dummy prototype representation can be determined using the dummy generator 550 illustrated in FIG. 5.
- the dummy prototype representation can be determined using the prototype representations determined for each known class (e.g., as described above with respect to block 602) as input.
- the one or more prototype representations and the dummy prototype representation can be determined in a same learned embedding space of a neural network encoder (e.g., the dummy prototype representation can be determined in the same embedding space associated with the encoder 520).
- a dummy generator network (e.g., dummy generator 550) can be used to determine the dummy prototype representation.
- the dummy generator network can be a machine learning network that includes one or more linear layers and a maxpool layer.
- the one or more linear layers can receive as input the one or more prototype representations (e.g., from encoder 520 and averaging engine 530, both illustrated in FIG. 5).
- the maxpool layer can receive as input an output of the one or more linear layers.
- determining the dummy prototype representation further includes generating, using the dummy generator network (e.g., dummy generator 550) a plurality of dummy prototypes.
- the dummy prototype representation can be a single dummy prototype selected from the plurality of dummy prototypes.
- the dummy prototype representation can be a single dummy prototype selected from the plurality of dummy prototypes based on a Gumbel softmax.
- the process 600 includes determining one or more distance metrics for each query sample of one or more query samples, wherein the one or more distance metrics are determined based on the one or more prototype representations and the dummy prototype representation.
- the one or more distance metrics can be determined using a distance metric 540, as illustrated in FIG. 5.
- the distance metric can be a Euclidean distance between each query sample and each of the prototype representations and the dummy prototype representation.
- the process 600 includes classifying each query sample based on the one or more distance metrics, wherein each query sample is classified into one of the one or more classes associated with the one or more prototype representations or an open-set class associated with the dummy prototype representation.
- the query samples can be classified using a softmax, such as the N+l softmax 560 illustrated in FIG. 5.
- the softmax classification can be based on or otherwise utilize the distance metrics described above with respect to block 606.
- the softmax classification can classify a given query sample into one of the classes associated with the prototype representations or into an open-set class associated with the dummy prototype representation.
- classifying each query sample based on the one or more distance metrics includes determining a probability distribution over the one or more classes and the open-set class, wherein the probability distribution is determined based at least in part on a Euclidean distance metric, such as the Euclidean distance metric described above.
- a given query sample can have a relatively higher probability of being classified into a given one of the classes or the open-set class as the Euclidean distance (or distance metric) determined between the query sample and one of the classes (or open-set class) decreases.
- each query sample can be classified into one of the one or more classes associated with the prototype representations or into the open-set class associated with the dummy prototype representation, based on the probability distribution.
- open-set rejection can be performed based on a set of classified query samples classified into the open-set class associated with the dummy prototype representation.
- the processes described herein may be performed by a computing device, apparatus, or system.
- the process 600 can be performed by a computing device or system having the computing device architecture 700 of FIG. 7.
- the computing device, apparatus, or system can include any suitable device, such as a mobile device (e.g., a mobile phone), a desktop computing device, a tablet computing device, a wearable device (e.g., a VR headset, an AR headset, AR glasses, a network-connected watch or smartwatch, or other wearable device), a server computer, an autonomous vehicle or computing device of an autonomous vehicle, a robotic device, a laptop computer, a smart television, a camera, and/or any other computing device with the resource capabilities to perform the processes described herein, including the process 600 and/or any other process described herein.
- a mobile device e.g., a mobile phone
- a desktop computing device e.g., a tablet computing device
- a wearable device e.g., a VR headset, an AR headset, AR glasses, a network-connected watch or smartwatch, or other wearable device
- server computer e.g., a server computer, an autonomous vehicle or computing device of an autonomous vehicle, a robotic device
- the computing device or apparatus may include various components, such as one or more input devices, one or more output devices, one or more processors, one or more microprocessors, one or more microcomputers, one or more cameras, one or more sensors, and/or other component(s) that are configured to carry out the steps of processes described herein.
- the computing device may include a display, a network interface configured to communicate and/or receive the data, any combination thereof, and/or other component(s).
- the network interface may be configured to communicate and/or receive Internet Protocol (IP) based data or other type of data.
- IP Internet Protocol
- the components of the computing device can be implemented in circuitry.
- the components can include and/or can be implemented using electronic circuits or other electronic hardware, which can include one or more programmable electronic circuits (e.g., microprocessors, graphics processing units (GPUs), digital signal processors (DSPs), central processing units (CPUs), and/or other suitable electronic circuits), and/or can include and/or be implemented using computer software, firmware, or any combination thereof, to perform the various operations described herein.
- programmable electronic circuits e.g., microprocessors, graphics processing units (GPUs), digital signal processors (DSPs), central processing units (CPUs), and/or other suitable electronic circuits
- the process 600 is illustrated as a logical flow diagram, the operation of which represents a sequence of operations that can be implemented in hardware, computer instructions, or a combination thereof.
- the operations represent computer-executable instructions stored on one or more computer-readable storage media that, when executed by one or more processors, perform the recited operations.
- computer-executable instructions include routines, programs, objects, components, data structures, and the like that perform particular functions or implement particular data types.
- the order in which the operations are described is not intended to be construed as a limitation, and any number of the described operations can be combined in any order and/or in parallel to implement the processes.
- the process 600 and/or any other process described herein may be performed under the control of one or more computer systems configured with executable instructions and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) executing collectively on one or more processors, by hardware, or combinations thereof.
- code e.g., executable instructions, one or more computer programs, or one or more applications
- the code may be stored on a computer-readable or machine-readable storage medium, for example, in the form of a computer program comprising a plurality of instructions executable by one or more processors.
- the computer-readable or machine-readable storage medium may be non-transitory.
- FIG. 7 illustrates an example computing device architecture 700 of an example computing device which can implement the various techniques described herein.
- the computing device can include a mobile device, a wearable device, an extended reality device (e.g., a virtual reality (VR) device, an augmented reality (AR) device, or a mixed reality (MR) device), a personal computer, a laptop computer, a video server, a vehicle (or computing device of a vehicle), or other device.
- the components of computing device architecture 700 are shown in electrical communication with each other using connection 705, such as a bus.
- the example computing device architecture 700 includes a processing unit (CPU or processor) 710 and computing device connection 705 that couples various computing device components including computing device memory 715, such as read only memory (ROM) 720 and random-access memory (RAM) 725, to processor 710.
- ROM read only memory
- RAM random-access memory
- Computing device architecture 700 can include a cache of high-speed memory connected directly with, in close proximity to, or integrated as part of processor 710. Computing device architecture 700 can copy data from memory 715 and/or the storage device 730 to cache 712 for quick access by processor 710. In this way, the cache can provide a performance boost that avoids processor 710 delays while waiting for data. These and other engines can control or be configured to control processor 710 to perform various actions. Other computing device memory 715 may be available for use as well. Memory 715 can include multiple different types of memory with different performance characteristics.
- Processor 710 can include any general-purpose processor and a hardware or software service, such as service 1 732, service 2 734, and service 3 736 stored in storage device 730, configured to control processor 710 as well as a special -purpose processor where software instructions are incorporated into the processor design.
- Processor 710 may be a self-contained system, containing multiple cores or processors, a bus, memory controller, cache, etc.
- a multi-core processor may be symmetric or asymmetric.
- input device 745 can represent any number of input mechanisms, such as a microphone for speech, a touch- sensitive screen for gesture or graphical input, keyboard, mouse, motion input, speech and so forth.
- Output device 735 can also be one or more of a number of output mechanisms known to those of skill in the art, such as a display, projector, television, speaker device, etc.
- multimodal computing devices can enable a user to provide multiple types of input to communicate with computing device architecture 700.
- Communication interface 740 can generally govern and manage the user input and computing device output. There is no restriction on operating on any particular hardware arrangement and therefore the basic features here may easily be substituted for improved hardware or firmware arrangements as they are developed.
- Storage device 730 is a non-volatile memory and can be a hard disk or other types of computer readable media which can store data that are accessible by a computer, such as magnetic cassettes, flash memory cards, solid state memory devices, digital versatile disks, cartridges, random access memories (RAMs) 725, read only memory (ROM) 720, and hybrids thereof.
- Storage device 730 can include services 732, 734, 736 for controlling processor 710.
- Other hardware or software modules or engines are contemplated.
- Storage device 730 can be connected to the computing device connection 705.
- a hardware module that performs a particular function can include the software component stored in a computer- readable medium in connection with the necessary hardware components, such as processor 710, connection 705, output device 735, and so forth, to carry out the function.
- aspects of the present disclosure are applicable to any suitable electronic device (such as security systems, smartphones, tablets, laptop computers, vehicles, drones, or other devices) including or coupled to one or more active depth sensing systems. While described below with respect to a device having or coupled to one light projector, aspects of the present disclosure are applicable to devices having any number of light projectors and are therefore not limited to specific devices.
- the term “device” is not limited to one or a specific number of physical objects (such as one smartphone, one controller, one processing system and so on).
- a device may be any electronic device with one or more parts that may implement at least some portions of this disclosure. While the below description and examples use the term “device” to describe various aspects of this disclosure, the term “device” is not limited to a specific configuration, type, or number of objects.
- the term “system” is not limited to multiple components or specific aspects. For example, a system may be implemented on one or more printed circuit boards or other substrates and may have movable or static components. While the below description and examples use the term “system” to describe various aspects of this disclosure, the term “system” is not limited to a specific configuration, type, or number of objects.
- Processes and methods according to the above-described examples can be implemented using computer-executable instructions that are stored or otherwise available from computer-readable media. Such instructions can include, for example, instructions and data which cause or otherwise configure a general-purpose computer, special purpose computer, or a processing device to perform a certain function or group of functions. Portions of computer resources used can be accessible over a network.
- the computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, firmware, source code, etc.
- the term “computer-readable medium” includes, but is not limited to, portable or non-portable storage devices, optical storage devices, and various other mediums capable of storing, containing, or carrying instruct! on(s) and/or data.
- a computer-readable medium may include a non-transitory medium in which data can be stored and that does not include carrier waves and/or transitory electronic signals propagating wirelessly or over wired connections.
- Examples of a non-transitory medium may include, but are not limited to, a magnetic disk or tape, optical storage media such as flash memory, memory or memory devices, magnetic or optical disks, flash memory, USB devices provided with non-volatile memory, networked storage devices, compact disk (CD) or digital versatile disk (DVD), any suitable combination thereof, among others.
- a computer-readable medium may have stored thereon code and/or machine-executable instructions that may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, an engine, a software package, a class, or any combination of instructions, data structures, or program statements.
- a code segment may be coupled to another code segment or a hardware circuit by passing and/or receiving information, data, arguments, parameters, or memory contents.
- Information, arguments, parameters, data, etc. may be passed, forwarded, or transmitted via any suitable means including memory sharing, message passing, token passing, network transmission, or the like.
- the computer-readable storage devices, mediums, and memories can include a cable or wireless signal containing a bit stream and the like.
- non-transitory computer-readable storage media expressly exclude media such as energy, carrier signals, electromagnetic waves, and signals per se.
- Devices implementing processes and methods according to these disclosures can include hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof, and can take any of a variety of form factors.
- the program code or code segments to perform the necessary tasks may be stored in a computer-readable or machine-readable medium.
- a processor(s) may perform the necessary tasks.
- form factors include laptops, smart phones, mobile phones, tablet devices or other small form factor personal computers, personal digital assistants, rackmount devices, standalone devices, and so on. Functionality described herein also can be embodied in peripherals or add-in cards.
- Such functionality can also be implemented on a circuit board among different chips or different processes executing in a single device, by way of further example.
- the instructions, media for conveying such instructions, computing resources for executing them, and other structures for supporting such computing resources are example means for providing the functions described in the disclosure.
- Coupled to refers to any component that is physically connected to another component either directly or indirectly, and/or any component that is in communication with another component (e.g., connected to the other component over a wired or wireless connection, and/or other suitable communication interface) either directly or indirectly.
- Claim language or other language reciting “at least one of’ a set and/or “one or more” of a set indicates that one member of the set or multiple members of the set (in any combination) satisfy the claim.
- claim language reciting “at least one of A and B” or “at least one of A or B” means A, B, or A and B.
- claim language reciting “at least one of A, B, and C” or “at least one of A, B, or C” means A, B, C, or A and B, or A and C, or B and C, or A and B and C.
- the language “at least one of’ a set and/or “one or more” of a set does not limit the set to the items listed in the set.
- claim language reciting “at least one of A and B” or “at least one of A or B” can mean A, B, or A and B, and can additionally include items not listed in the set of A and B.
- the techniques described herein may also be implemented in electronic hardware, computer software, firmware, or any combination thereof. Such techniques may be implemented in any of a variety of devices such as general purposes computers, wireless communication device handsets, or integrated circuit devices having multiple uses including application in wireless communication device handsets and other devices. Any features described as modules or components may be implemented together in an integrated logic device or separately as discrete but interoperable logic devices. If implemented in software, the techniques may be realized at least in part by a computer-readable data storage medium comprising program code including instructions that, when executed, performs one or more of the methods described above.
- the computer-readable data storage medium may form part of a computer program product, which may include packaging materials.
- the computer-readable medium may comprise memory or data storage media, such as random-access memory (RAM) such as synchronous dynamic random-access memory (SDRAM), read-only memory (ROM), non-volatile random-access memory (NVRAM), electrically erasable programmable read-only memory (EEPROM), FLASH memory, magnetic or optical data storage media, and the like.
- RAM random-access memory
- SDRAM synchronous dynamic random-access memory
- ROM read-only memory
- NVRAM non-volatile random-access memory
- EEPROM electrically erasable programmable read-only memory
- FLASH memory magnetic or optical data storage media, and the like.
- the techniques additionally, or alternatively, may be realized at least in part by a computer- readable communication medium that carries or communicates program code in the form of instructions or data structures and that can be accessed, read, and/or executed by a computer, such as propagated signals or waves.
- the program code may be executed by a processor, which may include one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, an application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry.
- DSPs digital signal processors
- ASICs application specific integrated circuits
- FPGAs field programmable logic arrays
- a general-purpose processor may be a microprocessor; but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine.
- a processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration. Accordingly, the term “processor,” as used herein may refer to any of the foregoing structure, any combination of the foregoing structure, or any other structure or apparatus suitable for implementation of the techniques described herein.
- Illustrative aspects of the disclosure include:
- a method for processing one or more data samples comprising: determining one or more prototype representations based on a plurality of support samples associated with one or more classes, wherein each prototype representation is associated with one of the one or more classes; determining a dummy prototype representation, wherein the one or more prototype representations and the dummy prototype representation are determined in a same learned metric space; determining one or more distance metrics for each query sample of one or more query samples, wherein the one or more distance metrics are determined based on the one or more prototype representations and the dummy prototype representation; and classifying each query sample based on the one or more distance metrics, wherein each query sample is classified into one of the one or more classes associated with the one or more prototype representations or an open-set class associated with the dummy prototype representation.
- Aspect 2 The method of Aspect 1, wherein classifying each query sample based on the one or more distance metrics includes: determining a probability distribution over the one or more classes and the open-set class, wherein the probability distribution is determined based at least in part on a Euclidean distance metric; classifying, based on the probability distribution, each query sample into one of the one or more classes or into the open-set class; and performing open-set rejection (OSR) based on a set of classified query samples classified into the open-set class associated with the dummy prototype representation.
- OSR open-set rejection
- Aspect 3 The method of any of Aspects 1 to 2, wherein the one or more classes are keyword classes and each prototype representation is determined using a plurality of support samples associated with a keyword class.
- Aspect 4 The method of Aspect 3, further comprising: generating, using a neural network encoder, a plurality of embeddings for the plurality of support samples associated with the keyword class, the plurality of embeddings including an embedding for each support sample of the plurality of support samples; and determining each prototype representation based on an average of the plurality of embeddings generated for the plurality of support samples.
- Aspect 5 The method of Aspect 4, wherein the one or more prototype representations and the dummy prototype representation are determined in a same learned embedding space of the neural network encoder.
- Aspect 6 The method of any of Aspects 1 to 5, further including determining the dummy prototype representation using a dummy generator network, wherein: the dummy generator network includes one or more linear layers and a maxpool layer; the one or more linear layers receive as input the one or more prototype representations; and the maxpool layer receives as input an output of the one or more linear layers.
- Aspect 7 The method of Aspect 6, wherein determining the dummy prototype representation further comprises: generating, using the dummy generator network, a plurality of dummy prototypes; and determining the dummy prototype representation by selecting one of the plurality of dummy prototypes based on a Gumbel softmax.
- Aspect 8 The method of any of Aspects 1 to 3, wherein the keyword classes comprise a closed-set of known classes.
- Aspect 9 The method of any of Aspects 1 to 8, wherein: the one or more query samples include speech audio data; and the plurality of support samples includes speech audio data labeled with a corresponding one of the one or more classes for each support sample of the plurality of support samples.
- Aspect 10 The method of any of Aspects 1 to 9, wherein the plurality of support samples is obtained for a single few-shot learning (FSL) episode and the dummy prototype representation is an episode-known dummy prototype representation.
- FSL single few-shot learning
- Aspect 11 An apparatus for processing one or more data samples, comprising: at least one memory; and at least one processor coupled to the at least one memory, the at least one processor configured to: determine one or more prototype representations based on a plurality of support samples associated with one or more classes, wherein each prototype representation is associated with one of the one or more classes; determine a dummy prototype representation, wherein the one or more prototype representations and the dummy prototype representation are determined in a same learned metric space; determine one or more distance metrics for each query sample of one or more query samples, wherein the one or more distance metrics are determined based on the one or more prototype representations and the dummy prototype representation; and classify each query sample based on the one or more distance metrics, wherein each query sample is classified into one of the one or more classes associated with the one or more prototype representations or an open-set class associated with the dummy prototype representation.
- Aspect 12 The apparatus of Aspect 11, wherein to classify each query sample based on the one or more distance metric, the at least one processor is configured to: determine a probability distribution over the one or more classes and the open-set class, wherein the probability distribution is determined based at least in part on a Euclidean distance metric; classify, based on the probability distribution, each query sample into one of the one or more classes or into the open-set class; and perform open-set rejection (OSR) based on a set of classified query samples classified into the open-set class associated with the dummy prototype representation.
- OSR open-set rejection
- Aspect 13 The apparatus of any of Aspects 11 to 12, wherein the one or more classes are keyword classes and the at least one processor is configured to determine each prototype representation using a plurality of support samples associated with a keyword class.
- Aspect 14 The apparatus of Aspect 13, wherein the at least one processor is further configured to: generate, using a neural network encoder, a plurality of embeddings for the plurality of support samples associated with the keyword class, the plurality of embeddings including an embedding for each support sample of the plurality of support samples; and determine each prototype representation based on an average of the plurality of embeddings generated for the plurality of support samples.
- Aspect 15 The apparatus of Aspect 14, wherein the at least one processor is configured to determine the one or more prototype representations and the dummy prototype representation in a same learned embedding space of the neural network encoder.
- Aspect 16 The apparatus of any of Aspects 11 to 15, wherein the at least one processor is further configured to determine the dummy prototype representation using a dummy generator network, wherein: the dummy generator network includes one or more linear layers and a maxpool layer; the one or more linear layers receive as input the one or more prototype representations; and the maxpool layer receives as input an output of the one or more linear layers.
- the dummy generator network includes one or more linear layers and a maxpool layer
- the one or more linear layers receive as input the one or more prototype representations
- the maxpool layer receives as input an output of the one or more linear layers.
- Aspect 17 The apparatus of Aspect 16, wherein to determine the dummy prototype representation, the at least one processor is configured to: generate, using the dummy generator network, a plurality of dummy prototypes; and determine the dummy prototype representation by selecting one of the plurality of dummy prototypes based on a Gumbel softmax.
- Aspect 18 The apparatus of any of Aspects 11 to 13, wherein the keyword classes comprise a closed-set of known classes.
- Aspect 19 The apparatus of any of Aspects 11 to 18, wherein: the one or more query samples include speech audio data; and the plurality of support samples includes speech audio data labeled with a corresponding one of the one or more classes for each support sample of the plurality of support samples.
- Aspect 20 The apparatus of any of Aspects 11 to 19, wherein the plurality of support samples is obtained for a single few-shot learning (FSL) episode and the dummy prototype representation is an episode-known dummy prototype representation.
- FSL single few-shot learning
- a non-transitory computer-readable storage medium comprising instructions stored thereon which, when executed by at least one processor, causes the at least one processor to: determine one or more prototype representations based on a plurality of support samples associated with one or more classes, wherein each prototype representation is associated with one of the one or more classes; determine a dummy prototype representation, wherein the one or more prototype representations and the dummy prototype representation are determined in a same learned metric space; determine one or more distance metrics for each query sample of one or more query samples, wherein the one or more distance metrics are determined based on the one or more prototype representations and the dummy prototype representation; and classify each query sample based on the one or more distance metrics, wherein each query sample is classified into one of the one or more classes associated with the one or more prototype representations or an open-set class associated with the dummy prototype representation.
- Aspect 22 The non-transitory computer-readable storage medium of Aspect 21, wherein, to classify each query sample based on the one or more distance metrics, the instructions cause the at least one processor to: determine a probability distribution over the one or more classes and the open-set class, wherein the probability distribution is determined based at least in part on a Euclidean distance metric; classify, based on the probability distribution, each query sample into one of the one or more classes or into the open-set class; and perform open-set rejection (OSR) based on a set of classified query samples classified into the open-set class associated with the dummy prototype representation.
- OSR open-set rejection
- Aspect 23 The non-transitory computer-readable storage medium of any of Aspects 21 to 22, wherein the one or more classes are keyword classes and the at least one processor is configured to determine each prototype representation using a plurality of support samples associated with a keyword class.
- Aspect 24 The non-transitory computer-readable storage medium of Aspect 23, wherein the instructions further cause the at least one processor to: generate, using a neural network encoder, a plurality of embeddings for the plurality of support samples associated with the keyword class, the plurality of embeddings including an embedding for each support sample of the plurality of support samples; and determine each prototype representation based on an average of the plurality of embeddings generated for the plurality of support samples.
- Aspect 25 The non-transitory computer-readable storage medium of Aspect 24, wherein the instructions cause the at least one processor to determine the one or more prototype representations and the dummy prototype representation in a same learned embedding space of the neural network encoder.
- Aspect 26 The non-transitory computer-readable storage medium of any of Aspects 21 to 25, wherein the instructions further cause the at least one processor to determine the dummy prototype representation using a dummy generator network, wherein: the dummy generator network includes one or more linear layers and a maxpool layer; the one or more linear layers receive as input the one or more prototype representations; and the maxpool layer receives as input an output of the one or more linear layers.
- the dummy generator network includes one or more linear layers and a maxpool layer
- the one or more linear layers receive as input the one or more prototype representations
- the maxpool layer receives as input an output of the one or more linear layers.
- Aspect 27 The non-transitory computer-readable storage medium of Aspect 26, wherein, to determine the dummy prototype representation, the instructions cause the at least one processor to: generate, using the dummy generator network, a plurality of dummy prototypes; and determine the dummy prototype representation by selecting one of the plurality of dummy prototypes based on a Gumbel softmax.
- Aspect 28 The non-transitory computer-readable storage medium of any of Aspects 23 to 27, wherein the keyword classes comprise a closed-set of known classes.
- Aspect 29 The non-transitory computer-readable storage medium of any of Aspects 21 to 28, wherein: the one or more query samples include speech audio data; and the plurality of support samples includes speech audio data labeled with a corresponding one of the one or more classes for each support sample of the plurality of support samples.
- Aspect 30 The non-transitory computer-readable storage medium of any of Aspects 21 to 29, wherein the plurality of support samples is obtained for a single few-shot learning (FSL) episode and the dummy prototype representation is an episode-known dummy prototype representation.
- FSL single few-shot learning
- Aspect 31 A computer-readable storage medium storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations according to any of Aspects 1 to 30.
- Aspect 32 An apparatus for processing one or more data samples, comprising one or more means for performing operations according to any of Aspects 1 to 30.
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Image Analysis (AREA)
Abstract
Description
Claims
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23705909.2A EP4497129A1 (en) | 2022-03-19 | 2023-01-19 | Dummy prototypical networks for few-shot open-set keyword spotting |
| KR1020247029677A KR20240164885A (en) | 2022-03-19 | 2023-01-19 | Dummy Prototype Networks for Pew-Shot Open-Set Keyword Spotting |
| CN202380026693.9A CN118946929A (en) | 2022-03-19 | 2023-01-19 | Fake Prototype Network for Open-Set Keyword Detection with Small Samples |
| JP2024551997A JP2025512688A (en) | 2022-03-19 | 2023-01-19 | Dummy Prototype Networks for Few-Shot Open Set Keyword Spotting |
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202263321677P | 2022-03-19 | 2022-03-19 | |
| US63/321,677 | 2022-03-19 | ||
| US18/062,976 | 2022-12-07 | ||
| US18/062,976 US12417761B2 (en) | 2022-03-19 | 2022-12-07 | Dummy prototypical networks for few-shot open-set keyword spotting |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023183663A1 true WO2023183663A1 (en) | 2023-09-28 |
Family
ID=85277930
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2023/060938 Ceased WO2023183663A1 (en) | 2022-03-19 | 2023-01-19 | Dummy prototypical networks for few-shot open-set keyword spotting |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2023183663A1 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5440662A (en) * | 1992-12-11 | 1995-08-08 | At&T Corp. | Keyword/non-keyword classification in isolated word speech recognition |
| US20080195387A1 (en) * | 2006-10-19 | 2008-08-14 | Nice Systems Ltd. | Method and apparatus for large population speaker identification in telephone interactions |
-
2023
- 2023-01-19 WO PCT/US2023/060938 patent/WO2023183663A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5440662A (en) * | 1992-12-11 | 1995-08-08 | At&T Corp. | Keyword/non-keyword classification in isolated word speech recognition |
| US20080195387A1 (en) * | 2006-10-19 | 2008-08-14 | Nice Systems Ltd. | Method and apparatus for large population speaker identification in telephone interactions |
Non-Patent Citations (8)
| Title |
|---|
| ARCHIT PARNAMI ET AL: "Few-Shot Keyword Spotting With Prototypical Networks", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 25 July 2020 (2020-07-25), XP091244533, DOI: 10.1145/3529399.3529443 * |
| BYEONGGEUN KIM ET AL: "Dummy Prototypical Networks for Few-Shot Open-Set Keyword Spotting", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 28 June 2022 (2022-06-28), XP091258309 * |
| JEONG MINKI ET AL: "Few-shot Open-set Recognition by Transformation Consistency", 2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), IEEE, 20 June 2021 (2021-06-20), pages 12561 - 12570, XP034009469, DOI: 10.1109/CVPR46437.2021.01238 * |
| KNILL K M ET AL: "Low-cost implementation of open set keyword spotting", COMPUTER SPEECH AND LANGUAGE, ELSEVIER, LONDON, GB, vol. 13, no. 3, 1 July 1999 (1999-07-01), pages 243 - 266, XP004418757, ISSN: 0885-2308, DOI: 10.1006/CSLA.1999.0122 * |
| LIU BO ET AL: "Few-Shot Open-Set Recognition Using Meta-Learning", 2020 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), IEEE, 13 June 2020 (2020-06-13), pages 8795 - 8804, XP033804790, DOI: 10.1109/CVPR42600.2020.00882 * |
| MARK MAZUMDER ET AL: "Few-Shot Keyword Spotting in Any Language", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 9 September 2021 (2021-09-09), XP091047820, DOI: 10.21437/INTERSPEECH.2021-1966 * |
| PAL DEBABRATA ET AL: "Few-Shot Open-Set Recognition of Hyperspectral Images with Outlier Calibration Network", 2022 IEEE/CVF WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV), IEEE, 3 January 2022 (2022-01-03), pages 2091 - 2100, XP034086129, DOI: 10.1109/WACV51458.2022.00215 * |
| SUKKAR R A ET AL: "A two pass classifier for utterance rejection in keyword spotting", 2002 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING. PROCEEDINGS. (ICASSP). ORLANDO, FL, MAY 13 - 17, 2002; [IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING (ICASSP)], NEW YORK, NY : IEEE, US, 27 April 1993 (1993-04-27), pages 451 - 454vol.2, XP031984188, ISBN: 978-0-7803-7402-7, DOI: 10.1109/ICASSP.1993.319338 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12019641B2 (en) | Task agnostic open-set prototypes for few-shot open-set recognition | |
| US11450312B2 (en) | Speech recognition method, apparatus, and device, and storage medium | |
| US11960843B2 (en) | Multi-module and multi-task machine learning system based on an ensemble of datasets | |
| CN108780523B (en) | Cloud-based processing using local device-provided sensor data and tags | |
| Deng et al. | Introducing shared-hidden-layer autoencoders for transfer learning and their application in acoustic emotion recognition | |
| US20160078339A1 (en) | Learning Student DNN Via Output Distribution | |
| JP2019528476A (en) | Speech recognition method and apparatus | |
| US12417761B2 (en) | Dummy prototypical networks for few-shot open-set keyword spotting | |
| US12347439B2 (en) | Multi-task learning for personalized keyword spotting | |
| WO2024015811A1 (en) | Feature conditioned output transformer for generalizable semantic segmentation | |
| WO2023183663A1 (en) | Dummy prototypical networks for few-shot open-set keyword spotting | |
| US20240020848A1 (en) | Online test time adaptive semantic segmentation with augmentation consistency | |
| WO2024015810A1 (en) | Online test time adaptive semantic segmentation with augmentation consistency | |
| WO2023183664A1 (en) | Multi-task learning for personalized keyword spotting | |
| KR102893857B1 (en) | A task-agnostic open-set prototype for few-shot open-set recognition. | |
| US12266351B2 (en) | Adaptive frame skipping for speech recognition | |
| US20250036681A1 (en) | On-device artificial intelligence video search | |
| US20240020844A1 (en) | Feature conditioned output transformer for generalizable semantic segmentation | |
| US20240412493A1 (en) | Test-time self-supervised guidance for diffusion models | |
| US20250174224A1 (en) | Estimated keyword length refinement based on speech rate classification | |
| US20250218433A1 (en) | Automatic speech recognition with target word spotting | |
| US20240037373A1 (en) | OneShot Neural Architecture and Hardware Architecture Search | |
| Sonar et al. | Speech Emotion Recognition | |
| WO2024167717A1 (en) | Latency reduction for multi-stage speech recognition | |
| EP4616379A1 (en) | Processing images using temporally-propagated cluster maps |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23705909 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024551997 Country of ref document: JP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202380026693.9 Country of ref document: CN |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023705909 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2023705909 Country of ref document: EP Effective date: 20241021 |