On Thursday, OpenAI launched the “system card” for ChatGPT’s new GPT-4o AI mannequin that particulars mannequin limitations and security testing procedures. Amongst different examples, the doc reveals that in uncommon occurrences throughout testing, the mannequin’s Superior Voice Mode unintentionally imitated customers’ voices with out permission. At present, OpenAI has safeguards in place that stop this from taking place, however the occasion displays the rising complexity of safely architecting with an AI chatbot that would doubtlessly imitate any voice from a small clip.
Superior Voice Mode is a characteristic of ChatGPT that permits customers to have spoken conversations with the AI assistant.
In a piece of the GPT-4o system card titled “Unauthorized voice technology,” OpenAI particulars an episode the place a loud enter one way or the other prompted the mannequin to abruptly imitate the person’s voice. “Voice technology can even happen in non-adversarial conditions, akin to our use of that skill to generate voices for ChatGPT’s superior voice mode,” OpenAI writes. “Throughout testing, we additionally noticed uncommon situations the place the mannequin would unintentionally generate an output emulating the person’s voice.”
On this instance of unintentional voice technology supplied by OpenAI, the AI mannequin outbursts “No!” and continues the sentence in a voice that sounds much like the “purple teamer” heard at first of the clip. (A purple teamer is an individual employed by an organization to do adversarial testing.)
It will definitely be creepy to be speaking to a machine after which have it unexpectedly start speaking to you in your individual voice. Ordinarily, OpenAI has safeguards to stop this, which is why the corporate says this incidence was uncommon even earlier than it developed methods to stop it utterly. However the instance prompted BuzzFeed knowledge scientist Max Woolf to tweet, “OpenAI simply leaked the plot of Black Mirror’s subsequent season.”
Audio immediate injections
How may voice imitation occur with OpenAI’s new mannequin? The first clue lies elsewhere within the GPT-4o system card. To create voices, GPT-4o can apparently synthesize nearly any kind of sound present in its coaching knowledge, together with sound results and music (although OpenAI discourages that habits with particular directions).
As famous within the system card, the mannequin can essentially imitate any voice primarily based on a brief audio clip. OpenAI guides this functionality safely by offering a certified voice pattern (of a employed voice actor) that it’s instructed to mimic. It offers the pattern within the AI mannequin’s system immediate (what OpenAI calls the “system message”) in the beginning of a dialog. “We supervise preferrred completions utilizing the voice pattern within the system message as the bottom voice,” writes OpenAI.
In text-only LLMs, the system message is a hidden set of textual content directions that guides habits of the chatbot that will get added to the dialog historical past silently simply earlier than the chat session begins. Successive interactions are appended to the identical chat historical past, and the whole context (typically referred to as a “context window”) is fed again into the AI mannequin every time the person offers a brand new enter.
(It is in all probability time to replace this diagram created in early 2023 beneath, but it surely reveals how the context window works in an AI chat. Simply think about that the primary immediate is a system message that claims issues like “You’re a useful chatbot. You don’t discuss violent acts, and so forth.”)
Since GPT-4o is multimodal and may course of tokenized audio, OpenAI can even use audio inputs as a part of the mannequin’s system immediate, and that is what it does when OpenAI offers a certified voice pattern for the mannequin to mimic. The corporate additionally makes use of one other system to detect if the mannequin is producing unauthorized audio. “We solely permit the mannequin to make use of sure pre-selected voices,” writes OpenAI, “and use an output classifier to detect if the mannequin deviates from that.”