New audio fashions from OpenAI, however how a lot can we depend on them?

New audio fashions from OpenAI, however how a lot can we depend on them?

OpenAI introduced a number of new audio-related API options at this time, for each text-to-speech and speech-to-text. They’re very promising new fashions, however they seem to undergo from the ever-present threat of unintended (or malicious) instruction following.

gpt-4o-mini-tts

gpt-4o-mini-tts is a model new text-to-speech mannequin with "higher steerability". OpenAI launched a pleasant new playground interface for this at OpenAI.fm – you’ll be able to choose from 11 base voices, apply directions like "High-energy, eccentric, and barely unhinged" and get it to learn out a script (with non-obligatory additional stage instructions in parenthesis). It can then present the equal API code in Python, JavaScript or curl. You can share hyperlinks to your experiments, this is an instance.

User interface showing voice and script options. Voice options include Alloy, Ash, Ballad, Coral (selected), Echo, Fable, Onyx, Nova, Sage, Shimmer, Verse, and a shuffle button. Vibe section shows Dramatic (selected), Cheerleader, Calm, Professional, True Crime Buff, and a refresh button. Instructions read Voice Affect: Low, hushed, and suspenseful; convey tension and intrigue. Tone: Deeply serious and mysterious, maintaining an undercurrent of unease throughout. Pacing: Fast paced, deliberate, pausing slightly after suspenseful moments to heighten drama. Emotion: Restrained yet intense—voice should subtly tremble or tighten at key suspenseful points. Emphasis: Highlight sensory descriptions ("footsteps echoed," "heart hammering," "shadows melting into darkness") to amplify atmosphere. Pronunciation: Slightly elongated vowels and softened consonants for an eerie, haunting effect. Pauses: Insert meaningful pauses after phrases like "only shadows melting into darkness," and especially before the final line, to enhance suspense dramatically. The script says: The night was thick with fog, wrapping the town in mist. Detective Evelyn Harper pulled her coat tighter, feeling the chill creep down her spine. She knew the town's buried secrets were rising again. (Whisper this bit:) Footsteps echoed behind her, slow and deliberate. She turned, heart racing but saw only shadows. (Now sound panicked) Evelyn steadied her breath—tonight felt different. Tonight, the danger felt personal. Somewhere nearby, hidden eyes watched her every move. Waiting. Planning. Knowing her next step. This was just the beginning.. Bottom shows DOWNLOAD, SHARE, and PLAY buttons.

Note how a part of my script there seems to be like this:

(Whisper this bit:)

Footsteps echoed behind her, sluggish and deliberate. She turned, coronary heart racing, however noticed solely shadows.

While enjoyable and handy, the truth that you’ll be able to insert stage instructions within the script itself appears like an anti-pattern to me – it means you’ll be able to’t safely use this for arbitrary textual content as a result of there is a threat that a few of that textual content could by accident be handled as additional directions to the mannequin.

In my very own experiments I’ve already seen this occur: generally the mannequin follows my "Whisper this bit" instruction appropriately, different instances it says the phrase "Whisper" out loud however would not communicate the phrases "this bit". The outcomes seem non-deterministic, and may also fluctuate with completely different base voices.

gpt-4o-mini-tts prices $0.60/million tokens, which OpenAI estimate as round 1.5 cents per minute.

gpt-4o-transcribe and gpt-4o-mini-transcribe

gpt-4o-transcribe and gpt-4o-mini-transcribe are two new speech-to-text fashions, serving an analogous goal to whisper however constructed on high of GPT-4o and setting a "new state-of-the-art benchmark". These can be utilized through OpenAI’s v1/audio/transcriptions API, as various choices to `whisper-1. The API continues to be restricted to a 25MB audio file (MP3, WAV or a number of different codecs).

Any time an LLM-based mannequin is used for audio transcription (or OCR) I fear about unintended instruction following – is there a threat that content material that appears like an instruction within the spoken or scanned textual content may not be included within the ensuing transcript?

In a touch upon Hacker News OpenAI’s Jeff Harris mentioned this, concerning how these new fashions differ from gpt-4o-audio-preview:

It’s a barely higher mannequin for TTS. With additional coaching specializing in studying the script precisely as written.

e.g. the audio-preview mannequin when given instruction to talk "What is the capital of Italy" would typically communicate "Rome". This mannequin ought to be a lot better in that regard

"a lot better in that regard" sounds to me like there’s nonetheless a threat of this occurring, so for some delicate purposes it might make sense to stay with whisper or different conventional text-to-speech approaches.

gpt-4o-transcribe is an estimated 0.6 cents per minute, and gpt-4o-mini-transcribe is 0.3 cents per minute.

Mixing information and directions stays the cardinal sin of LLMs

If these issues look acquainted to you that is as a result of they’re variants of the basis trigger behind immediate injection. LLM architectures encourage mixing directions and information in the identical stream of tokens, however meaning there are at all times dangers that tokens from information (which frequently comes from untrusted sources) could also be misinterpreted as directions to the mannequin.

How a lot of an influence this has on the utility of those new fashions stays to be seen. Maybe the brand new coaching is so sturdy that these points will not truly trigger issues for real-world purposes?

I stay skeptical. I count on we’ll see demos of those flaws in motion in comparatively brief order.

HI-FI News

through Simon Willison’s Weblog: Entries https://ift.tt/0uPbVeR

March 20, 2025 at 09:47PM