Elamur Research

UniverSLU: Universal Spoken Language Understanding for Diverse Tasks with Natural Language Instructions

Paper · 2024 · Siddhant Arora, Hayato Futami, Jee-weon Jung et al.

Summary

A recording can tell a listener what someone said, what action they wanted, or how they sounded. A speech system needs to know which of those questions it is being asked. UniverSLU investigates whether one system can answer many such questions directly from speech by taking both the recording and a task prompt. The authors adapt Whisper, a system pretrained for transcription and speech translation, to a broader set of tasks. Their experiments span 17 public datasets and 9 languages, with 10 classification task types and 2 that require generating a structured sequence.

The authors first extend Whisper’s existing control mechanism with special tokens for the language, task type, and dataset. Then they try instructions written in ordinary language. A classification prompt describes what to identify and supplies a numbered list of answers. The system returns the number associated with its prediction. A sequence task still asks for the sequence itself. During training, the authors vary the wording and shuffle the choices, so that the same answer can appear at different positions. On Fluent Speech Commands, the instruction-based system trained for the initial experiment achieves 99.7% intent accuracy with both familiar and held-out wording. On IEMOCAP emotion recognition, the corresponding scores are 73.9% and 73.5%.

At the full training scale, the version that accepts instructions improves on the paper’s strongest task-specific reference results on 10 tasks. The special-token version is particularly close to the task-specific scores for structured output. On STOP, it reaches 78.4% exact match against the task-specific reference of 78.8%, while the instruction version reaches 75.3%. The choice of interface matters much more on ESC-50 environmental sound classification. There, the special-token version attains 73.0% accuracy and the instruction version attains 2.0%.

The paper also separates unfamiliar wording from unfamiliar work. With the answer choices supplied at inference, the instruction-based system trained on 14 datasets scores 44.6 F1 on SNIPS intent classification without SNIPS training, and 38.8% accuracy on Arabic emotion recognition without training on that dataset. Both results exceed the random and majority baselines and leave a substantial gap to supervised performance. On dialogue-act classification, a task type absent from training, the same system scores 17.6% accuracy, below both simple baselines. UniverSLU can use different descriptions of familiar tasks and can sometimes carry a learned operation to a new setting. The experiments put a much narrower boundary around what a description alone can teach it to do.

Deep dive: UniverSLU: Universal Spoken Language Understanding for Diverse Tasks with Natural Language Instructions

UniverSLU adapts Whisper to recognize commands, identify emotions, and parse spoken requests, then tests how far its instructions transfer. · about 33 minutes to read

The problem and its context

One utterance can support several questions

In the paper’s broad use of the term, spoken language understanding covers what was said, what a speaker meant, and properties of the recording or speaker. Command recognition asks which keyword was uttered. Intent classification asks what the speaker was trying to accomplish. Emotion recognition asks how the utterance should be categorized affectively. Voice activity detection can ask whether there was any speech at all. An environmental sound task extends the setup to recordings where human language may be absent.

These questions differ in what makes an answer correct. A keyword can be the answer to a command recognition task. An intent label may bring different utterances together if they express the same request. Named entity recognition in this paper has to identify both a spoken expression and its category. Semantic parsing can require a nested representation that specifies a requested action and its arguments. A system that handles all of these needs a way to associate the same kind of input, an audio recording, with substantially different outputs.

The authors distinguish a task type from a task. Intent classification is a type. Intent classification on Fluent Speech Commands and intent classification on SNIPS are separate tasks because they are defined against different datasets and inventories. Even an action that appears in both datasets can have a different label in each. This distinction matters both for training and for evaluation. A system can have experience recognizing intents while encountering a particular collection of intents and its labeling conventions for the first time.

The paper describes the usual supervised approach as building a dedicated system for each task. A specialist can be tuned to its own labels and expected output format. With many tasks, however, this approach requires maintaining several sets of learned parameters, even where an ability such as recognizing common words could be useful across them. The authors ask whether multi-task learning can preserve the performance that makes specialization attractive while allowing the same set of parameters to serve different tasks.

What earlier multi-task systems shared

The paper places UniverSLU within earlier work that trained jointly on related tasks or on a common task across languages and domains. Its account of that work emphasizes a practical possibility. When labeled data is scarce for a task, training alongside other tasks can help the system learn features it would be difficult to obtain from the small dataset alone. Whether that helps depends on what is shared and what the tasks require.

In earlier spoken language understanding work discussed by the authors, automatic speech recognition often supplied an auxiliary objective. Where transcripts were available, learning the words could support another prediction made from the same speech. The prior studies covered a smaller set of spoken language understanding benchmarks. UniverSLU takes joint training as its primary setup for a diverse set of tasks, including operations much further from transcription than extracting meaning from a spoken command.

The paper also draws on multilingual speech recognition systems that use shared parameters across languages. Their scope is broad along the language axis, while the principal operation remains speech recognition. UniverSLU extends the question to variation along the task axis. A prompt needs to identify both the intended operation and, in some settings, the convention that governs its answer.

Whisper gives the authors a starting point because its decoder already responds to control tokens. Its pretraining uses separate specifiers for transcription and speech translation. Extending that scheme to more operations offers an immediate way to test whether a speech encoder and text decoder can serve the wider task collection. A second question then arises. If a control token can tell the decoder what to do, can an ordinary phrase serve the same function?

From learned prompts to written instructions

The paper draws this second question from work on prompting in natural language processing. A prompt supplies context that changes which behavior a shared system is expected to produce. The earlier survey of prompting methods provides the broad precedent. The work behind FLAN provides a more specific one. Training on tasks expressed as instructions can support later performance when a task is described without examples in the request.

In speech, the most direct comparison is SpeechPrompt. It uses a generative system over discrete speech units and learns continuous prompt vectors for individual tasks. The vectors are learned numerical inputs associated with particular operations. The authors characterize earlier SpeechPrompt results as trailing many specialists on classification and having particular difficulty with sequence generation. UniverSLU instead starts with a pretrained speech encoder and text decoder, then adapts both. Its prompts are sequences of discrete tokens. In the instruction version, those tokens spell out a task description that a reader can understand.

The paper describes another strand of research in which a speech representation is passed to a large text decoder. LTU-AS combines instructions and Whisper output for Vicuna. SALMONN supplies both speech and audio representations to Vicuna. LauraGPT illustrates the use of Whisper-style task tokens in a system using Qwen. In the authors’ account, much of the surrounding work emphasizes recognition or translation, although some systems undertake audio and spoken language understanding tasks. UniverSLU investigates what the existing speech decoder can learn with a broader mix of supervised targets.

The resulting problem has several levels. A shared system first needs to perform the trained tasks well enough to be a credible substitute for separate systems. Its written interface then needs to tolerate alternative phrasings. Finally, the authors want to know whether that interface can describe a task that was absent during adaptation. Because a dataset can be new while the operation is familiar, the last question requires separate tests for new wording, new datasets or languages, and new task types.

The method, step by step

Give the decoder a task along with the audio

The same architecture processes every recording. A pretrained Whisper encoder turns speech features into representations that the decoder can use. The decoder receives a prompt identifying the job and generates the answer as text tokens. This design gives classification and structured generation a shared output mechanism. The difference lies in what the output means and how much of it is required.

In the special-token version, the prompt behaves like a compact address. It can identify a language, an operation, and a dataset. The dataset field gives the decoder information about the intended output convention. Consider an instruction to turn off lights. Fluent Speech Commands and SNIPS can represent that action with different intent labels. A dataset token can distinguish the conventions even when the desired operation and spoken language are the same.

In the natural-language version, the prompt states the operation and, for classification, enumerates the choices. The answer is the position of a choice in that particular prompt. A written description of the choices can therefore make an inventory available even when the decoder has never trained on examples from the dataset that defined it. Whether it can associate those choices with the recording is what the transfer experiments measure.

Structured generation uses the same decoder without reducing the response to an option number. For entity recognition, the answer can contain several mention-and-category pairs. A meeting request on SLURP, for example, can yield both a date expression and an event name. On STOP, an alarm request can yield a representation with an alarm intent and an associated time expression. The desired sequence provides the supervision for what the decoder is supposed to emit after the prompt.

How UniverSLU predicts from a recording

The steps in order.

How UniverSLU predicts from a recordingStep 1: Encode the recording with Whisper1. Encode the recording with WhisperStep 2: Specify the task in the decoder prompt2. Specify the task in the decoder promptStep 3: Supply numbered choices for instruction-based classification3. Supply numbered choices for instruction-based classificationStep 4: Combine the audio representation and prompt4. Combine the audio representation and promptStep 5: Decode an option number or structured sequence5. Decode an option number or structured sequenceStep 6: Interpret the output for the requested task6. Interpret the output for the requested task

State the prediction problem

The paper denotes a task by an index and assigns each task its own label set. The sequence notation accommodates both a single classification decision and an answer containing several labels or pieces of text.

Yᵣ = {yₒᵣ ∈ Lᵣ | o = 1, …, Oᵣ}

Here r identifies the task, meaning a task type paired with a dataset. Yᵣ denotes the full answer sequence and yₒᵣ its entry at position o. The sign ∈ indicates membership in the task’s label set Lᵣ. The braces collect the indexed entries, and the vertical bar introduces the allowed positions. The ellipsis continues the positions through Oᵣ, the length of the answer at the level of task labels. For classification, that length is 1. The notation counts decisions at the task level, so it is distinct from the number of decoder tokens used to write a label.

The prediction rule asks which complete answer is most probable given the recording and the prompt.

Ŷᵣ = argmaxʏᵣ P(Yᵣ | X, Sᵣ)

Ŷᵣ is the predicted sequence for task r. argmaxʏᵣ ranges over candidate sequences Yᵣ and returns the one with the greatest score. P is a conditional probability, X is the input speech feature sequence, and Sᵣ is the task prompt. The vertical bar separates the candidate answer from the information used to score it. This is the paper’s maximum a posteriori decision rule. The rule describes the objective, while beam size and other decoding settings govern the search used in the experiments.

The initial design spells out what a task specification contains.

Sᵣ = (Sₜₐₛₖ ₜᵧₚₑ, Sₗₐₙ𝓰, S𝒹ₐₜₐ)

Sᵣ is the specification for task r. Sₜₐₛₖ ₜᵧₚₑ identifies the kind of prediction, Sₗₐₙ𝓰 identifies the language or audio mode, and S𝒹ₐₜₐ identifies the dataset. The parentheses group these fields, and the commas separate them. The tuple describes the information in the specification. The actual decoder prefix places the language field first.

Treat wording as a variable

An ordinary-language instruction can express the same task in several ways. The paper formalizes that variation by introducing instruction wording as another variable. Its first expression considers the prediction obtained by averaging over possible instructions, weighting each by its probability for the given speech and task specification.

P(Yᵣ | X, Sᵣ) = ∑ᵢᵣ P(Yᵣ | X, Sᵣ, Iᵣ) P(Iᵣ | X, Sᵣ)

P denotes conditional probability throughout. Yᵣ is the answer sequence, X is the speech input, and Sᵣ is the specification of task r. Iᵣ is a natural-language instruction for that task. ∑ᵢᵣ means summing over possible instructions Iᵣ. In each term, the first factor scores an answer when the audio, task specification, and particular instruction are given. The second factor supplies the probability of that instruction given the audio and specification. The vertical bars introduce the conditioning information, and adjacent factors are multiplied.

The authors make two conditional independence assumptions. With the audio and a suitable instruction available, the underlying symbolic specification can be omitted from the answer probability. With the task specification available, the instruction can be chosen independently of the particular recording. In practical terms, a description of emotion recognition can be reused across recordings, and the decoder is expected to infer what output is wanted from the description and choices.

The paper writes the sampling approximation as follows.

P(Yᵣ | X, Sᵣ) = ∑ᵢᵣ ∼ P(Iᵣ | Sᵣ) P(Yᵣ | X, Iᵣ)

Yᵣ, X, and Sᵣ again denote the answer sequence, speech features, and task specification. Iᵣ denotes wording for task r. P(Iᵣ | Sᵣ) is the distribution of wording given the specification. The ∼ indicates sampling from that distribution, and the sum ranges over sampled instructions. The remaining factor is the answer probability given the speech and one sampled instruction. The paper presents this expression as a sampling approximation. In the actual data procedure, a collection of paraphrases supplies training variants, and a prompt at inference supplies the wording for that prediction.

The sequence likelihood can in turn be written as a product over positions. The expression below makes explicit which component of the decoder’s softmax distribution contributes to the product.

P(Yᵣ | X, Iᵣ) = ∏ₒ₌₁ᴼᵣ [Softmax(Out(hₒᵣ))]ᵧₒᵣ

P(Yᵣ | X, Iᵣ) is the probability of the answer sequence for task r given the recording and instruction. ∏ multiplies the factors for positions o from 1 through Oᵣ, the answer length in the paper’s formulation. hₒᵣ is the decoder’s hidden representation at position o for the requested task. Out is the linear output layer, which maps that representation to scores over the shared vocabulary V. Softmax turns those scores into a probability distribution. The brackets with subscript yₒᵣ select the probability assigned to the required entry at that position. The paper characterizes V in this formulation as combining the task label sets. The decoder computes its representations from the encoded audio, the prompt, and previously supplied or generated tokens.

These expressions describe different parts of the same operation. The task definition identifies the desired kind of answer. The instruction can express that task in one of several ways. The decoder then produces an answer token by token. The presence of an answer list changes what the decoder is trained to emit for a classification task, while sequence generation still requires the relevant structured content.

Build a prefix from special tokens

In the first adaptation, the authors preserve Whisper’s basic control-token approach and add the tokens needed to cover the new tasks and datasets. The generic form of the prefix is the following.

Prompt = SOT⟨lang⟩⟨task⟩⟨dataset⟩NT

Prompt is the decoder prefix. SOT is Whisper’s start-of-transcript token. The angle brackets delimit token slots, and adjacency indicates the order in which those slots are placed. lang is the language or audio tag. task is the task-type token, such as a token for command recognition or intent classification. dataset gives the dataset identifier. NT is the no-timestamps token, which requests output without timing annotations.

The paper gives several concrete realizations of the scheme. The Lithuanian command prompt includes a Lithuanian language tag, a speech command recognition tag, and a Lithuanian dataset tag. The English Google Speech Commands example uses a shorter identifying prefix with its dataset token. For environmental audio, the authors add an ⟨audio⟩ tag so that the input can be distinguished from ordinary speech. Whisper already handles 99 language tags from pretraining, and the audio tag adds a way to signal a different kind of recording.

The language field also relates to tasks inherited from the original system. The authors adapt Whisper to predict the language tag for language identification. They likewise use Whisper’s handling of speech absence as a starting point for voice activity detection. The paper explains that a recording containing no speech normally leads the pretrained decoder to emit a no-speech token and stop when the audio tag is absent. The new tag gives the environmental sound task a way to request a different behavior on a recording that may contain no speech.

The extra vocabulary in this version includes task and dataset identifiers as well as tags needed for some outputs. The important property is that the prompt and answer remain part of one decoder sequence. The classification or structured output appears after the control prefix, using the same output mechanism across tasks.

Put the instruction in Whisper’s previous-text context

For the natural-language version, the authors use a field Whisper already reserves for previous text. They place the instruction there and preserve the ordinary transcription control token later in the prefix.

Prompt = SOP⟨instruction⟩SOT⟨lang⟩TRANS NT

Prompt again denotes the decoder prefix. SOP marks the beginning of the previous-text context. instruction is the natural-language instruction Iᵣ, with the numbered choices appended for classification. SOT marks the beginning of the transcript portion, and lang supplies the language or audio tag. TRANS is Whisper’s transcription control token. NT requests output without timestamps. The adjacent components are supplied in the displayed order.

Suppose the recording contains a short command and the prompt lists a choice for that command along with other commands and a silence option. The training target is the number currently assigned to the correct command. If the choices are rearranged, the target number changes while the recording and underlying class stay the same. The decoder’s number is interpreted using the list attached to the current prompt.

The authors mask the training loss over the instruction text. The written instruction is supplied as context for producing the other tokens, so errors in reproducing that text contribute no instruction-text loss. The paper retains the familiar language and transcription portion of the decoder prefix. The same setup can use a description of entity extraction or semantic parsing without replacing the desired structured sequence with a number.

The authors also test a second placement for the instruction. It inserts the wording directly into the position occupied by the transcription control in the primary instruction format.

Prompt = SOT⟨lang⟩⟨instruction⟩NT

Prompt is the alternative decoder prefix. SOT starts the transcript portion, lang gives the language or audio tag, and instruction supplies the natural wording, with a list of choices when the configuration uses one. NT requests output without timestamps. This arrangement uses the instruction where the ordinary transcription control would otherwise occur. The pilot experiments compare the two placements and also examine prediction with the answer list removed.

Create variation in descriptions and choice order

The authors obtain draft paraphrases from ChatGPT and inspect them manually. They seek descriptions that vary in wording while preserving the operation. Voice activity detection illustrates the distinction they use when screening candidates. A request to decide whether a recording contains speech describes the intended task. A phrase that could include any audible sound broadens it, while a question about which language was spoken changes the requested output. The authors discard descriptions they judge to have shifted the meaning and generate additional candidates when needed.

For the pilot involving Fluent Speech Commands, IEMOCAP, and Google Speech Commands v1, the authors use 15 descriptions to create training prompts. Each description is combined with 3 random orderings of the choices. The larger instruction runs use ten descriptions per task and 2 random choice orders per description. The extra instances vary the input context around a recording. A training set can therefore expose the decoder to several ways of asking for the same prediction and to different positions for the correct class.

This choice-order variation gives the training task an important property. A number can denote one class in one prompt and another class in the next. Learning a stable association between a class and its training index would be insufficient on shuffled examples. At inference, the numbered list continues to supply the mapping. The paper tests that behavior by changing the option order and evaluating the resulting choices.

The authors arrange the pilot so that some instruction wordings are reserved for evaluation. They examine the held-out phrases by hand and use normalized edit distance, a measure of the textual changes needed to turn one wording into another. Their criterion is that the average distance from the training prompts, normalized by the held-out prompt’s length, exceeds 0.9 for every dataset in the pilot. The intended operation and dataset remain familiar. This concentrates the experiment on variation in the request itself.

Extend the training mixture

The training runs use Whisper medium and the ESPnet-SLU toolkit, with implementation in PyTorch. The authors describe releasing the preparation procedures and configurations through ESPnet-SLU. They fine-tune the existing speech encoder and decoder, choosing the training and inference settings using validation performance.

The first broad comparison uses the 14 classification datasets included in SpeechPrompt v2. There is a special-token version and an instruction version of UniverSLU-14. The 17-dataset runs start from the corresponding UniverSLU-14 weights and extend the mixture to include structured generation. This means the difference between the two scales includes a change in the data available during training and a further stage of adaptation.

Smaller or selected paralinguistic datasets are sampled more frequently to increase their influence. The authors upsample Arabic Speech Commands by a factor of 6. Lithuanian Speech Commands and ESC-50 are upsampled by a factor of 3, as are SNIPS and the sarcasm datasets. The IEMOCAP emotion data is upsampled by a factor of 2. The authors select these factors roughly in inverse proportion to dataset size. The resulting mixture changes the frequency with which the decoder encounters some tasks without creating new recordings for those tasks.

The paper reports SpecAugment, which varies the speech features during training, and also describes dropout and label smoothing as training techniques. The hyper-parameter table specifies a dropout rate of 0 for the listed setup. The search covers learning rate and warmup, as well as decoding beam size, length penalty, and maximum length ratio. These decoding settings matter for a shared generator because a classification response can be short, while a structured output has to continue long enough to complete the requested representation.

The larger instruction mixtures contain many more training instances because the speech examples are paired with alternative descriptions and option orders. For the UniverSLU-14 instruction training, the paper reports increasing the epoch to 25,000 iterations and observing convergence in 25 epochs. For UniverSLU-17 with task specifiers, it reports 3,000 iterations per epoch and training for 100 epochs. These are settings for different mixtures and training schedules. Epoch counts alone provide little basis for comparing their computational cost.

Experiments and results

What the benchmark asks from the system

The main benchmark contains 18 tasks drawn from 17 public datasets. It covers 9 languages and has a mixture of content, speaker-related, and audio predictions. Some datasets support related types of understanding. SLURP, for example, appears in both intent classification and entity recognition. Its intent task asks for a category for the utterance. The entity task asks for a sequence containing the relevant expressions and their categories. The same speech source can therefore support different targets.

Speech command recognition is tested on Google Speech Commands v1, Grabo, Lithuanian Speech Commands, and Arabic Speech Commands. Those datasets differ in their language and the commands they contain. Fluent Speech Commands provides a related intent benchmark, based on 30,043 commands spoken to a home assistant. Intent classification is also evaluated on SNIPS and SLURP, whose label conventions are specific to their tasks.

For Voxforge language identification, the paper uses English, Spanish, French, German, Russian, and Italian. Each language contributes 1200 training examples, 300 validation examples, and 300 test examples in the random split used for the study. The system receives different supervision on AccentDB, where it must distinguish accents within English. The authors describe AccentDB as containing approximately 20 hours of speech.

The emotion recognition benchmark is IEMOCAP. Its target categories in this experiment are neutral, happy, sad, and angry. Sessions 1-4 are used for training, and Session 5 is used for the test. Fake speech detection uses the Logical Access part of ASVspoof 2019, with both genuine and spoofed recordings. Sarcasm detection uses MUStARD and MUStARD++, while the VoxCeleb1 task uses gender labels from speaker metadata.

Voice activity detection draws speech from Google Speech Commands v2 and background audio from Freesound. ESC-50 uses environmental recordings to ask a more detailed question about the sound source. The paper describes 2000 recordings in this collection, organized into 50 categories, with 1600 clips available for training in its experiment. SLURP and STOP provide the sequence generation evaluations. SLURP entity training also uses synthetic data following prior work. STOP supplies spoken requests with structured semantic parses.

What the scores measure

The authors adopt the metrics used by earlier work for each dataset. Accuracy is used for many classification benchmarks and measures the share of examples assigned the correct class. F1, which combines precision and recall, is used for some classifications, including SNIPS intent classification and the sarcasm tasks. The paper compares scores within each benchmark and metric. A score on one dataset can represent a substantially different task from the same numerical score elsewhere.

ASVspoof uses equal error rate. This is the error at the operating point where the two types of detection error are equal, with a lower score indicating a better result. SLURP entity recognition uses SLU F1, the benchmark’s measure for entity predictions. The task includes the entity category and the associated spoken mention. STOP uses exact match, which requires the predicted parse to match the reference as a complete answer. The table therefore mixes classification and sequence metrics to preserve the comparisons used for the respective tasks.

The paper uses several kinds of baseline. The main table reports the strongest specialist results the authors assemble from earlier work and their own selected Whisper runs. SpeechPrompt v2 provides the closest comparison with a prior shared speech-prompting system. An appendix compares against additional systems initialized from Whisper and trained on individual tasks. The zero-shot tests have their own controls, including uniform random choice, the most common answer, and a supervised reference trained for the target task.

Classification across the full training mixture

According to the authors, adding task specifiers to UniverSLU-14 yields better results than SpeechPrompt v2 for 11 of the 14 tasks and surpasses the task-specific reference results for 9 of the 14. Across most of that dataset collection, the instruction version gives comparable scores. After expansion, the UniverSLU-17 task-specifier system matches or exceeds the specialist reference on 11 tasks, and the UniverSLU-17 instruction system improves the reference on 10 tasks. Looking at individual datasets shows where the two prompt formats have different consequences.

Test accuracy on Grabo speech command recognition

Both full UniverSLU variants lead the specialist reference and SpeechPrompt v2.

Test accuracy on Grabo speech command recognitionSpeechPrompt v2: 92.7SpeechPrompt v292.7Task-specific reference: 98.9Task-specific reference98.9UniverSLU-17 Task Specifier: 99.7UniverSLU-17 Task Specifier99.7UniverSLU-17 Natural Phrase (this paper): 99.7UniverSLU-17 Natural Phrase (this paper)99.7
The numbers
System or settingaccuracy %
SpeechPrompt v292.7
Task-specific reference98.9
UniverSLU-17 Task Specifier99.7
UniverSLU-17 Natural Phrase (this paper)99.7

On Google Speech Commands v1, test accuracy is 98.6% for the task-specific reference and 94.7% for SpeechPrompt v2. UniverSLU-17 reaches 99.1% with task specifiers and 99.2% with instructions. On Lithuanian Speech Commands, both full versions reach 98.9% accuracy, compared with 91.8% for the task-specific reference. Arabic Speech Commands yields 100.0% accuracy for both full versions. SpeechPrompt v2 also attains 100.0% on that benchmark. The same result across systems makes it a case of matching the strongest comparison in the table.

The intent datasets show more variation. On Fluent Speech Commands, the full systems achieve 99.8% accuracy with task specifiers and 99.7% with instructions. On SLURP intent classification, the task-specifier result is 90.3% accuracy, the instruction result is 86.3%, and the task-specific reference is 89.6%. SNIPS shows a particularly large sensitivity to the prompt format. The task-specifier system achieves 92.3 F1, the instruction system achieves 63.5 F1, and fine-tuning Whisper for the individual task yields 96.3 F1. A good aggregate count of improved tasks can coexist with a substantial loss on a specific dataset.

The full instruction system gets an equal error rate of 0.9 on ASVspoof. The specialist reference is 2.5 and SpeechPrompt v2 records 13.1. On AccentDB, where the measure is accuracy, the full instruction system reaches 100.0% and the task-specific reference is 99.5%. The IEMOCAP result is more modest. The full instruction system’s 73.9% accuracy trails the specialist reference of 79.2%, while exceeding the 50.2% reported for SpeechPrompt v2.

On the original MUStARD sarcasm benchmark, the full task-specifier system attains 73.5 F1 and the instruction system 72.9 F1. SpeechPrompt v2 scores 78.7 F1. For MUStARD++, the two full systems score 73.6 F1 and 66.3 F1, respectively. The data therefore contain gains over some specialist reference scores alongside losses to the prior shared approach or to the other UniverSLU prompt format.

Structured answers and environmental sounds

The sequence benchmarks show how far the decoder can take the shared formulation beyond selection from a list. On SLURP entity recognition, the full task-specifier system achieves 79.5 SLU F1 against the task-specific Whisper reference of 79.7. The instruction system achieves 74.8 SLU F1. The output must supply category and mention information, so this result tests structured extraction from speech. It cannot be equated with a system evaluated only on whether it produced the entity mention.

Exact match on the STOP spoken semantic parsing test

The task-specifier system comes close to the dedicated reference on complete parses.

Exact match on the STOP spoken semantic parsing testTask-specific reference: 78.8Task-specific reference78.8UniverSLU-17 Natural Phrase: 75.3UniverSLU-17 Natural Phrase75.3UniverSLU-17 Task Specifier (this paper): 78.4UniverSLU-17 Task Specifier (this paper)78.4
The numbers
System or settingexact match %
Task-specific reference78.8
UniverSLU-17 Natural Phrase75.3
UniverSLU-17 Task Specifier (this paper)78.4

The STOP scores concern whole parses. A result can fail exact match even if it identifies the general intent and produces some correct fields. Since both UniverSLU versions generate the sequence, the difference in scores describes how often each full configuration reaches the required complete answer. The experiments do not break that difference down by particular kinds of parse error.

Environmental sounds provide the strongest counterexample to similar performance across prompt formats. On ESC-50, UniverSLU-17 with task specifiers reaches 73.0% accuracy. The instruction version stays at 2.0%, which the authors characterize as random-baseline performance. SpeechPrompt v2 scores 37.5%, the dedicated reference reaches 97.0%, and LTU-AS reaches 80.8%. In this setting, the shared decoder shows substantial ability when the task is identified by special tokens, while the corresponding instruction-trained configuration fails to demonstrate reliable recognition.

Comparisons with systems that connect speech and text

The paper additionally compares systems on benchmarks for which their published results are available. On SLURP intent classification, LauraGPT reports 87.87% accuracy, between the two UniverSLU-17 prompt versions. On SLURP entity recognition, its result is 73.45 SLU F1, below both UniverSLU-17 variants. On IEMOCAP, LTU-AS achieves 65.2% accuracy and SALMONN achieves 69.0%, while the two full UniverSLU versions reach 74.7% and 73.9%.

On VoxCeleb1, LTU-AS scores 90.8 F1 compared with 99.9 for both full UniverSLU versions. LTU-AS has the higher score on ESC-50. The authors point to a difference in audio supervision when discussing that result. LTU-AS was fine-tuned using 845,000 audio clips, while the UniverSLU environmental sound training set consists of 1600 clips from ESC-50. The comparison identifies what the systems can do under their respective training setups. A change in the decoder is only one of the differences between them.

The authors also take a publicly available SALMONN checkpoint and run it on a subset of the UniverSLU benchmark in zero-shot mode. In that comparison, SALMONN attains 64.6% accuracy on Google Speech Commands v1 and 18.2% on Lithuanian Speech Commands. The full instruction-based UniverSLU scores 99.2% and 98.9% on those datasets after supervised adaptation. SALMONN reaches 10.9 F1 on SNIPS, which also gives an opportunity to compare with the UniverSLU run that held SNIPS out. The appendix reports output-format difficulties and memory constraints that limited which tasks could be scored.

Zero-shot transfer with the choices supplied

The SNIPS test asks whether the intent operation transfers to a dataset absent from the training mixture for UniverSLU-14. At inference, the instruction still enumerates the target choices. The system must decide which choice best fits the utterance, using previous experience with intent classification. It receives the names of the categories and no SNIPS training utterances in this configuration.

SNIPS intent classification test F1 with zero-shot and supervised settings

Zero-shot UniverSLU exceeds both simple baselines, while supervised Whisper obtains the highest score.

SNIPS intent classification test F1 with zero-shot and supervised settingsUniform random choice: 19.7Uniform random choice19.7Majority choice: 6.4Majority choice6.4UniverSLU-14 Natural Phrase (this paper): 44.6UniverSLU-14 Natural Phrase (this paper)44.6Supervised Whisper reference: 96.3Supervised Whisper reference96.3
The numbers
System or settingF1
Uniform random choice19.7
Majority choice6.4
UniverSLU-14 Natural Phrase (this paper)44.6
Supervised Whisper reference96.3

KSU Emotions tests familiar emotion categories in Arabic. The evaluation uses a subset with 2301 utterances and the same emotion categories used for IEMOCAP. UniverSLU-14 with natural phrases achieves 38.8% accuracy, and UniverSLU-17 achieves 41.7%. The random reference is 25.0% and the majority baseline is 28.5%. Supervised performance is 86.8%. Arabic is new to the emotion recognition setting in this comparison. The main benchmark also contains Arabic speech commands, and Whisper comes from multilingual pretraining, so the test concerns the new use of the language for this operation.

Dialogue-act classification on Daily Talks tests a new task type. The target describes what an utterance does in a conversation, such as asking a question or giving a directive. The evaluation uses 4758 utterances. The random baseline attains 25.0% accuracy, the majority baseline 45.5%, and the supervised reference 61.1%. UniverSLU-14 and UniverSLU-17 with instructions reach 17.6% and 19.3%. The prompt and choices in this setting give the system a recognizable answer format, but the predicted choices are poor.

The paper reports a following rate of 100% for UniverSLU in its label-option evaluation. The following rate counts predictions that correspond to one of the offered choices. That measure evaluates an aspect of format adherence. Dialogue-act classification shows why the paper needs an accuracy measure as well. Every prediction can fit the menu even when the overall pattern of choices falls below chance.

What the ablations show

Instruction placement and answer choices

The pilot gives the most direct evidence about the written interface. It compares the special-token prefix, instructions in the previous-text position, and instructions inserted in place of the transcription token. It also examines the corresponding alternative with answer options removed. The same collection of tasks is used to judge whether the way the instruction is embedded makes a measurable difference.

With familiar wording on IEMOCAP, putting the instruction in previous-text context yields 73.9% accuracy. Replacing the transcription token with the instruction yields 72.8%, and removing the options in that comparison yields 61.5%. The task-specifier system reaches 74.7%. This is the pilot’s clearest evidence that the description and answer list together can support better predictions than the description by itself. It also shows why the authors choose to retain the pretrained transcription marker and place the instruction in its own context field.

The pattern varies by dataset. On Fluent Speech Commands, the instruction configurations all score 99.7% with familiar prompts, including the version without options. The task-specifier version reaches 99.8%. On Google Speech Commands v1, the instruction in previous-text context and the version replacing the transcription token both score 99.1%, while the version without options gives 99.0%. The experiment therefore supports the options’ importance most clearly for emotion recognition. For the near-ceiling benchmarks, the remaining room for an accuracy change is already small.

An answer list supplies the names of possible classes and a format for the response. When the list is removed, both aspects of the request change. The pilot establishes the effect of using the whole listed-choice arrangement in these settings. It leaves open how much of the IEMOCAP gain comes from the semantic information in the names, the shorter type of response, or other properties of the prompt and training target.

Held-out wording and reordered choices

To test whether the decoder relies on the exact phrasing it encountered in training, the authors average results for 5 held-out instructions. For the preferred natural-language arrangement, FSC stays at 99.7% accuracy and Google Speech Commands v1 stays at 99.1%. IEMOCAP moves from 73.9% with familiar wording to 73.5% with held-out wording. These are tests of new expressions for the same datasets and operations, with semantically screened prompts and a known output format.

The authors also evaluate different choice orders and report the average. With the preferred instruction format, FSC remains at 99.7% and Google Speech Commands v1 at 99.1%, while IEMOCAP reaches 74.2%. The results are consistent with a decoder that uses the mapping printed in the prompt. This distinction matters for a numbered output, because an ordering change can invalidate a learned index even when every available label remains in the list.

The authors say their preliminary investigations favor shuffling during training for stability and generalization. Those preliminary comparisons are described without scores. The reported order test establishes stability for the trained configuration under the reorderings tested. The isolated contribution of shuffling, including how much it explains zero-shot transfer, remains less directly measured.

Whisper initialization and joint training

The appendix addresses a different source of improvement. The main specialist comparisons frequently involve systems with different pretraining. To bring the comparison closer, the authors fine-tune Whisper separately on selected tasks and also train a small joint version called UniverSLU-3. The dedicated Whisper system improves on the earlier ESPnet-SLU comparison for each of the selected metrics.

On SNIPS, for instance, ESPnet-SLU scores 91.7 F1 and the dedicated Whisper version reaches 96.3. On SLURP entity recognition, the corresponding scores are 77.7 and 79.7 SLU F1. On STOP, the exact-match scores are 73.3% and 78.8%. This gives the paper evidence for the strength of the pretrained starting point before attributing further effects to shared training.

The appendix then compares the small joint system using task-type tokens with a version that also supplies dataset tokens. On SLURP intent classification, those versions achieve 90.5% and 90.4% accuracy, respectively. For entity recognition on the same corpus, they achieve 80.5 and 80.4 SLU F1. On STOP, they achieve 78.4% and 78.3% exact match. SNIPS gives 93.9 and 92.7 F1. The paper observes that the SNIPS test set contains only 166 utterances and treats its results with particular care.

The dataset token has a clear rationale when the same operation occurs under different labeling conventions. This appendix comparison shows relatively similar outcomes with and without the explicit field in the tested mixture. It gives a direct result for those tasks and prefixes. A mixture with more overlapping operations or labels could place different demands on the field, and that broader question remains outside the comparison.

What changes when more datasets enter training

The transition from UniverSLU-14 to UniverSLU-17 is an analysis of training scope. Some results improve as the mixture grows, including performance on lower-resource command data. The authors highlight Arabic Speech Commands for the effectiveness of upsampling. Its instruction-based accuracy is 98.9% in UniverSLU-14 and 100.0% in UniverSLU-17. The expanded system starts from the smaller one, continues training with a different mixture, and changes the exposure given to particular datasets. Those results describe the combined change in setup.

ESC-50 makes the interaction with prompting especially visible. For task specifiers, the benchmark’s accuracy is 39.5% in UniverSLU-14 and 73.0% in UniverSLU-17. With natural phrases, it is 2.0% at both scales. For the authors, pretraining oriented towards speech and the small environmental audio dataset are plausible reasons for the weakness of instruction-based sound recognition. The comparisons vary several training conditions together. They show a robust failure for the natural-phrase configuration on this benchmark, while leaving its underlying cause unresolved.

Across these analyses, the strongest controlled evidence concerns the construction of the instruction prompt and its tolerance of rephrasing. The separate Whisper experiments help explain why a well-pretrained starting point is a strong baseline. The expanded mixtures show that shared training can cover more operations while retaining good scores on many earlier ones. The design provides less direct evidence about which examples or categories share useful features during that training.

Limitations

Limits the authors identify

The authors identify prompt length as a constraint. The instruction method relies on spelling out the available labels, and a long list can exceed the decoder’s token limit. The list is short for tasks such as voice activity detection, while a classification problem with many categories can consume more of the input budget. The paper establishes results on its chosen inventories and leaves the behavior with substantially longer lists for further investigation.

The negative result on dialogue-act classification is another explicit limitation. The authors suggest that a decoder with stronger language capabilities might help, or that some new tasks might need demonstrations. They discuss few-shot learning as a future direction, where the system would receive examples of what the instruction means in practice. The paper evaluates the novel task using a description and answer options alone, so those proposals remain prospective.

The authors also identify instruction selection as work that could be made more systematic. Their procedure combines automatic generation with manual screening. Screening keeps paraphrases aligned with the intended operation, as the voice activity detection example shows, but requires judgment about whether a phrase is sufficiently clear and faithful. Automating that part could matter as the number of tasks grows. The paper’s findings concern the screened instruction set it actually uses.

For environmental audio, the authors point to the amount and kind of prior training as likely factors. The difference between LTU-AS and UniverSLU occurs across systems with different training material, and the ESC-50 data available for adaptation are small. The paper offers this explanation as a hypothesis. Its results support the need to evaluate environmental recognition separately from understanding speech.

Limits of what the setup establishes

The held-out paraphrase experiment varies wording within a narrow and well-defined question. The language tag, recordings, task, output format, and candidate categories are still available under the same conditions. The paper uses edit distance to assess textual separation and manual review to check meaning. This supports robustness to the tested changes in wording. Instructions with several steps, uncertain wording, an unexpected format, or an omitted choice list would require different evidence.

The zero-shot tests make the target categories available at inference. That is a useful practical setting because an application frequently knows which outputs it can use. It also defines the nature of the transfer. The system selects among named possibilities supplied by the application. Success on SNIPS gives evidence of transferring the intent operation to a new dataset under that setup. It says little about discovering a suitable intent taxonomy or supplying labels for an open-ended recording.

Similarly, the KSU Emotions results show a transfer of emotion recognition to Arabic speech in the tested setting. The labels are chosen to match the emotion categories available through IEMOCAP. Arabic also occurs elsewhere in the broader training setup. A claim about transfer to a language completely absent from both pretraining and adaptation would require a different design. The result isolates the new combination of language, dataset, and familiar operation more closely than it isolates language exposure itself.

Only dialogue-act classification supplies the paper’s fully new task-type test. Its low scores establish a failure on that operation with the chosen data and instructions. A wider range of held-out task types would be needed to assess which new operations are closer to the trained ones, which prompt descriptions help, and whether the same weakness recurs across different answer formats. The successful option-following statistic adds evidence about the output interface, while leaving these semantic questions open.

The specialist comparisons also differ in how closely the training setups match. Some numbers are taken from earlier work, and the appendix’s selected Whisper baselines provide closer comparisons for particular tasks. The comparison with the SALMONN checkpoint is expressly uneven because it runs zero-shot while UniverSLU has trained on the corresponding targets. Furthermore, the appendix reports difficulty scoring SALMONN sequence outputs in the expected format and memory problems for some long inputs or prompts with many choices. The available scores cover the subset on which the comparison could be carried out.

Finally, the paper argues that serving tasks with shared parameters avoids maintaining a separate fine-tuned system for each task. Its evidence for this argument is the shared architecture and the measured prediction results. The experiments do not give an end-to-end cost comparison that accounts for all training runs, prompt lengths, or serving conditions. An instruction-based system has a practical gain in flexibility where the scores hold up. Its resource use depends partly on how many task variants are actually needed and how much information each request must put into the decoder context.

What came after

A broader audio benchmark

AudioBench (2025) cites UniverSLU and takes up the benchmarking of audio-capable language systems. Its stated scope is a universal benchmark for audio. UniverSLU approaches breadth through a particular system and asks how consistently one set of learned parameters can handle a varied collection of speech and audio tasks. AudioBench approaches breadth through evaluation. The connection is the need to judge general audio capability across more than one kind of output or recording.

The contrast among results in UniverSLU gives context to that benchmark orientation. High speech command accuracy, weaker performance on structured outputs, and failure in one environmental sound configuration all belong to the same study. A benchmark with broad audio scope can ask where such systems perform well across tasks and where the same interface yields very different results. The citation establishes the connection between the papers. The benchmark’s title establishes its scope, while details of any reuse of UniverSLU’s prompts or datasets remain unspecified.

Transfer across standard speech and dialects

Standard-to-Dialect Transfer Trends Differ across Text and Speech (2026) cites UniverSLU in a study of intent and topic classification in German dialects. Its stated conclusion is that the trends in transfer from a standard variety to dialects differ between text and speech. The paper’s focus puts a specific kind of input variation under study while keeping recognizable classification operations in view.

UniverSLU’s zero-shot experiments supply a related distinction. An operation can remain familiar even as the source of the utterances changes. The later study frames that issue around dialect, and it adds a comparison between written and spoken input. Its title identifies the tasks and the direction of the main finding. It leaves open which part of UniverSLU’s implementation, if any, enters those experiments. The documented link is a continuation of the transfer question at a finer level of language variation.

Cite

Cite as Siddhant Arora, Hayato Futami, Jee-weon Jung, Yifan Peng, Roshan Sharma, Yosuke Kashiwagi, Emiru Tsunoo, Karen Livescu and Shinji Watanabe. 2024. UniverSLU: Universal Spoken Language Understanding for Diverse Tasks with Natural Language Instructions. Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.naacl-long.151

@inproceedings{arora2024universlu,
  title = {{UniverSLU: Universal Spoken Language Understanding for Diverse Tasks with Natural Language Instructions}},
  author = {Siddhant Arora, Hayato Futami, Jee-weon Jung, Yifan Peng, Roshan Sharma, Yosuke Kashiwagi, Emiru Tsunoo, Karen Livescu and Shinji Watanabe},
  booktitle = {Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)},
  year = {2024},
  doi = {10.18653/v1/2024.naacl-long.151},
  url = {https://doi.org/10.18653/v1/2024.naacl-long.151}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/arora-2024-universlu-universal-spoken-language-understanding/