Skip navigation
does your audio-input LLM secretly know how to generate speech?
0:00 / 0:59

does your audio-input LLM secretly know how to generate speech?

Matt Henderson

@matthen282K followers

Visit on X
1,191 likesDownloadOriginal post

86,992 views

does your audio-input LLM secretly know how to generate speech? yes but it sounds like a scary demon! deepdream but for speech: starting with noise audio, I tried optimizing the probability of a desired transcription, while keeping the model frozen. volume up! 🎧

40 Comments

Comments from the original post on X (Twitter)

  • Matt Henderson's profile picture

    @matthen2

    this is Gemma 4 e4b, with some auxiliary losses from whisper and wav2vec. Gemma on its own sort of works, but it tends to repeat words a bit more and is less clear.

    53 likes

  • Matt Henderson's profile picture

    @matthen2

    i learn an input spectrogram (magnitude and phase), and parametrise the magnitude so it prefers speech-like audio. It's an inverse 2D-DCT of learnable coefficients scaled by a decay envelope over two axes: quefrency and modulation rate

    30 likes

  • Henry Dowling's profile picture

    @henrytdowling

    This is crazy hahaha. Dumb q but do you think it sounds like a demon because it's trying to make a voice out of background noise?

    18 likes

  • Matt Henderson's profile picture

    @matthen2

    Yes I think it is mostly due to how I formed the input from the learned variable- combined with the fact the gradients don’t really care about realistic voicing. They are mainly discriminative hearing the word, then gradient stops.

    26 likes

  • Matt Henderson's profile picture

    @matthen2

    If the input was going through some more opinionated vocoder then I’m sure you could make it sound more tonal

    6 likes

  • Henry Dowling's profile picture

    @henrytdowling

    makes sense to me! hey, sometimes accidental artifacts are highly desirable in audio contexts :)

    4 likes

  • microoowave's profile picture

    @clips_montage

    Speaking like the joker

    8 likes

  • Amelie Royer's profile picture

    @royaleerieme

    Deep nightmare 😈 ? Interesting experiment!

    8 likes

  • Matt Henderson's profile picture

    @matthen2

    Haha 😅

  • Ray Buckton's profile picture

    @RayBuckton

    RFK Jr lives inside my LLM confirmed

    4 likes

  • Lachlan's profile picture

    @lfegray

    They did this to a piano

    4 likes

  • Luke Hutchison's profile picture

    @LH

    Unbelievably cool, but why does it have the accent of an Eastern European spy?

    3 likes

  • Matt Henderson's profile picture

    @matthen2

    Sounds like G Amato to me

  • Fabian Franz's profile picture

    @fabianfranz

    How do you do GD on output?

    3 likes

  • Matt Henderson's profile picture

    @matthen2

    The audio is in the input prompt, fed in as a learned variable: “Transcribe this audio <audio> <desired transcription>”. It is randomly initialised then learned with GD to maximise the probability of that desired transcription

    4 likes

  • Fabian Franz's profile picture

    @fabianfranz

    Ohhh! Very nice. Thanks for the explanation. Really appreciate that!

  • Андрей З.'s profile picture

    @colt_browning

    Crungus's voice

    3 likes

  • Typebulb's profile picture

    @typebulbit

    sounds like one of those surreal characters from twin peaks. amazing work!

    3 likes

  • Arcadian Still's profile picture

    @ArcadianStill

    Pretty sure that's just RFK Jr

    3 likes

  • irystheworld's profile picture

    @r0gue1ntruder

    the kings pact binds them

    3 likes