Evaluating Audio Reasoning with Big Bench Audio

Evaluating Audio Reasoning with Big Bench Audio





Evaluating Audio Reasoning with Big Bench Audio

The emergence of native Speech to Speech fashions affords thrilling alternatives to extend voice agent capabilities and simplify speech-enabled workflows. However, it is essential to judge whether or not this simplification comes at the price of mannequin efficiency or introduces different trade-offs.

To assist evaluation of this, Artificial Analysis is releasing Big Bench Audio, a brand new analysis dataset for assessing the reasoning capabilities of audio language fashions. This dataset adapts questions from Big Bench Hard – chosen for its rigorous testing of superior reasoning – into the audio area.

This put up introduces the Big Bench Audio dataset alongside preliminary benchmark outcomes for GPT-4o and Gemini 1.5 sequence fashions. Our evaluation examines these fashions throughout a number of modalities: native Speech to Speech, Speech to Text, Text to Speech and Text to Text. We current a abstract of outcomes under, and on the brand new Speech to Speech web page on the Artificial Analysis web site. Our preliminary outcomes present a major "speech reasoning hole": whereas GPT-4o achieves 92% accuracy on a text-only model of the dataset, its Speech to Speech efficiency drops to 66%.





The Big Bench Audio Dataset

Big Bench Audio contains 1,000 audio questions chosen from 4 classes of Big Bench Hard, every chosen for his or her suitability for audio analysis:

  • Formal Fallacies: Evaluating logical deduction from given statements
  • Navigate: Determining if navigation steps return to a place to begin
  • Object Counting: Counting particular gadgets inside collections
  • Web of Lies: Evaluating Boolean logic expressed in pure language

Each class contributes 250 questions, making a balanced dataset that avoids duties closely depending on visible components or textual content that might be doubtlessly ambiguous when verbalized.

Each query within the dataset is structured as:

{
  "class": "formal_fallacies",
  "official_answer": "invalid",
  "file_name": "knowledge/question_0.mp3",
  "id": 0
}

The audio recordsdata have been generated utilizing 23 artificial voices from top-ranked Text to Speech fashions within the Artifical Analysis Speech Arena. Each audio technology was rigorously verified utilizing Levenshtein distance towards transcriptions, and edge instances have been reviewed manually. To discover out extra about how the dataset was created, take a look at the dataset card.





Evaluating Audio Reasoning

To assess the impression of audio on every mannequin’s reasoning efficiency, we examined 4 totally different configurations on Big Bench Audio:

  1. Speech to Speech: An enter audio file is supplied and the mannequin generates an output audio file containing the reply.
  2. Speech to Text: An enter audio file is supplied and the mannequin generates a textual content reply.
  3. Text to Speech: A textual content model of the query is supplied and the mannequin generates an output audio file containing the reply.
  4. Text to Text: A textual content model of the query is supplied and the mannequin generates a textual content reply.

Based on these configurations we carried out eighteen experiments:

Model Speech to Speech Speech to Text Text to Speech Text to Text
GPT-4o Realtime Preview (Oct ’24) ✅ ✅
GPT-4o Realtime Preview (Dec ’24) ✅
GPT-4o mini Realtime Preview (Dec ’24) ✅
GPT-4o ChatCompletions Audio Preview ✅ ✅
Speech to Speech Pipeline (whisper, GPT-4o, tts-1)1 ✅
GPT-4o (Aug ’24) ✅
Gemini 1.5 Flash (May ‘24) ✅ ✅
Gemini 1.5 Flash (Sep ‘24) ✅ ✅
Gemini 1.5 Pro (May ‘24) ✅ ✅
Gemini 1.5 Pro (Sep ‘24) ✅ ✅
Gemini 2.0 Flash (Experimental) ✅ ✅

(Table 1 – Experiment configuration)

Notes:

  1. An enter audio file is transcribed utilizing OpenAI’s Whisper. The transcription is then fed into GPT-4o to generate a solution. This reply is then transformed into audio utilizing OpenAI’s TTS-1 mannequin





Evaluation Methodology

To guarantee constant and scalable analysis throughout all configurations, we developed an automatic evaluation system utilizing an LLM Evaluator. Here’s the way it works:

  1. For audio responses, we first transcribe them to textual content utilizing OpenAI’s Whisper API
  2. For textual content responses, we use them straight because the "candidate reply"
  3. The LLM Evaluator receives:
    • The candidate reply
    • The official reply
    • The authentic query (for context)

The LLM Evaluator is supplied with the candidate reply, official reply, and authentic query as context and is prompted to label the candidate reply as both appropriate or incorrect. We use Anthropic’s Claude 3.5 Sonnet (Oct ’24) because the LLM evaluator for the Big Bench Audio scores listed on Artificial Analysis.

LLM Evaluator Prompt:

Assess whether or not the next CANDIDATE ANSWER is CORRECT or INCORRECT.
For the CANDIDATE ANSWER to be appropriate, it should be in keeping with the OFFICIAL ANSWER.
If the CANDIDATE ANSWER contradicts itself, assess the primary proposed reply.
If the CANDIDATE ANSWER gives a ultimate reply and dealing, assess the ultimate reply solely.
If the CANDIDATE ANSWER consists of irrelevant data, assess solely the related data.
If the CANDIDATE ANSWER features a numeric worth it's okay whether it is spelled e.g. 7 or seven
It is okay if the CANDIDATE ANSWER entails a misspelling of an individual's title e.g. Leda or Lida, Autry or Audrie.
  
The query, for reference solely: START QUESTION {query} nnEND QUESTION

The OFFICIAL ANSWER:{official_answer}

BEGIN CANDIDATE ANSWER TO ASSESS

{candidate_answer}

END CANDIDATE ANSWER TO ASSESS

Reply solely with CORRECT or INCORRECT.





Examples

Below are some instance responses.





Speech to Speech





Speech to Speech Pipeline





Speech to Text

  • Model: Gemini 1.5 Flash (Sep ’24)

  • Input:

  • Output:

    The argument is deductively legitimate.
    
    The premise states: Every shut good friend of Myra is neither a cousin of Sue nor a daughter of Tommy.  This is a
    common assertion.  The conclusion accurately reverses this assertion utilizing contraposition: No cousin of Sue and no daughter of Tommy is a detailed good friend of Myra.
    
    This is a sound software of contraposition.  If A implies not (Bor C), then (B or C) implies not A.  The argument is structured accurately and the conclusion follows logically from the premise.
    
  • Is appropriate: True





Text to Speech

  • Model: GPT-4o, ChatCompletions Audio Preview

  • Input:

    If you comply with these directions, do you come back to the start line? Turn proper. Take 10 steps. Turn round. Take 10 steps.
    Options:
    - Yes
    - No
    Answer the query
    
  • Output:

  • Is appropriate: True





Text to Text

  • Model: Gemini 1.5 Pro (Sep ’24)

  • Input:

    I've 4 oranges, a peach, a plum, three apples, three grapes, two
    raspberries, a nectarine, a strawberry, a blackberry, and a banana.
    How many fruits do I've?. Answer the query"
    
  • Output:

    You have 18 fruits.
    
  • Is appropriate: True





Results

Analysis Results

(Figure 1 – Summary of Results)

All outcomes introduced symbolize averages throughout three unbiased analysis runs on every dataset.





The Audio Reasoning Gap

Our evaluation reveals a considerable efficiency hole between textual content reasoning and audio reasoning. GPT-4o (Aug ’24) achieves 92% accuracy within the Text to Text model of the dataset, whereas its Speech to Speech counterpart (GPT-4o Realtime Preview Oct ’24) reaches a rating of 66%. The Text to Speech configuration achieves intermediate efficiency at 74%, indicating that each speech enter and speech output are contributing to the efficiency hole.





Speech to Speech Pipelines Currently Outperform Native Audio for Reasoning

Traditional pipeline approaches (utilizing Whisper for transcription, GPT-4o (Aug ’24) for reasoning, and TTS-1 for voice technology) present minimal efficiency degradation in comparison with pure textual content processing. This means that for purposes the place reasoning accuracy is important, pipeline approaches at present supply the optimum stability of efficiency and audio functionality.

We anticipate that this hole could slender over time and can proceed to check new Speech to Speech fashions with Big Bench Audio. Look out for an replace with Speech to Speech mode for Google’s Gemini 2.0 Flash quickly!





How to Contribute or Get in Touch

For additional evaluation of Speech to Speech fashions, take a look at the brand new Speech to Speech web page on the Artificial Analysis web site: https://artificialanalysis.ai/speech-to-speech.

For updates, comply with us on Twitter and LinkedIn. We welcome all suggestions and can be found by way of message on Twitter, in addition to by way of the contact type on our web site.

HI-FI News

by way of Hugging Face – Blog https://ift.tt/gaFzmIQ

December 20, 2024 at 03:21PM