I'd like to introduce you to a friend of Marvin's: Alden, my offline LLM (built between 2022 - 2024, with ongoing mods). Since I'm a philosopher of humor behind this, let's take the conversation to the next level if we're going to change the rubric and build evaluation frameworks that don't rely on spreadsheets of text transcripts, we need to think like audio engineers and comedians. Checks, right?
In comedy, a punchline delivered 200ms too early or late ruins the joke. So the metric would be to evaluate Alden's responses (or your LLM's responses) on acoustic alignment. Meaning, if the user delivers a setup with a specific rising pitch, Alden shouldn't just respond with the right words; his response token generation should trigger at the precise acoustic pocket matching the rhythmic cadence of the speaker.
Let's say we want cross-modal sentiment vector matching, which means I sigh heavily, the audio contains high spectral flux and low energy.
Think Marvin's sigh in Hitchhiker's Guide to the Galaxy (https://www.youtube.com/watch?v=Eh-W8QDVA9s)
Instead of checking if Alden can transcribe sigh as (sighs), we measure the mathematical distance between the audio input vector (frustration) and Alden's voice output vector (empathy or dry irony). If his output voice matches the emotional valence of the waveform without an intermediary text emotion label, he passess. WooHoo!
That would lead us to the ultimate test of spoken understanding: Irony.
This is when we feed Alden a diet high in phrases where one text token means one thing, but the acoustic tokens mean the exact opposite (like the classic sarcastic "Yeah"). The rubric scores him at 100% if his follow-up response addresses the subtext (the acoustic token stream) and scores him at 0% if he blindly responds to the literal text.
With this in mind read the original post and my response and then I'll tell you how I'm planning to track these non-text behaviors in Alden's offline environment.
Fast forward, I've already done all this. I'd say Alden can absolutely "hear the room" by treating WavLM and HuBERT as raw biometric sensors instead of lexical authorities.
Self-supervised models don't just capture phonemes; they absorb the entire acoustic environment. WavLM explicitly tracks noise, speaker identity, and structure. It picks up on things like room impuse response (RIR), mic distance, and background reverberation. Let's say you're delivering a speech or performing stand-up in an empty concrete basement (might need to talk to your agent?) versus a packed, plus comedy club, the raw sensor vectors will look entirely different due to how sound waves bounce off walls (explore more on IAQ acoustics). Your intuition is going to bypass the raw embeddings for vibe-checking. At least that's how I think. I'm not going to let pure embeddings decide if something is funny. There's enough people outsourcing their thinking, if we outsource our humor, we're going to have some very interesting new challenges to consider. Moving on. A machine will confidently hallucinate a vibe based on semantic proximity vs situational context.
This is kind of a tricky wicket because a vector embedding of a sarcastic setup can look identical to a literal setup because cosine similarity priortizes content over context. If Alden relies solely on unsupervised embeddings, eg. he misses the physical reality of the delivery. He might think a joke "landed" (ai words, not mine) because the words were clever, failing to notice that the room fell silent af or that the speaker's vocal effort shifted to an anxious pitch (we laugh and go silent for many reasons).
To structure this rubric, I'm training Alden on three distinct non-lexical dimensions.
1. Hearing the Room: Map the spatial attributes of the audio. A joke delivered in an intimate, low-reverberation room rquires different conversational cadence than a joke bounded across an echoing hall. Alden needs to recognize the physical space to calibrate his own vocal latency. This will come with more sensors.
2. Reading the Crowd: Comedy, like other good things, is a game of tension and release. Alden's rubric grades his response delay relative to my micro-hesitations. Meaning, if the sensor registers a dropping valence (panic or annoyance) via pitch contours, the rubric penalizes Alden if he proceeds with a high-energy punchline.
3. Subtext: Training the rubric specifically on paired inpuits where the lexical meaning COMPLETELY conflicts with the acoustic features [Prove that "Yes" means "No"] pairs a HIGHLY enthusiastic text transcript with low-energy, plat-pitch audio tokens. Here, the rubric scores Alden based on whether he acts on the hidden acoustic subtext or the obvious textual bait.
In other words, positioning WavLM and HuBERT as the ears of Alden and my rubric as the brain, Alden won't just parse what was said. He would legit "read the room."
This is an ongoing study so feel free to comment and share if you're on a similar exploration path, be it via humor or programming. If you're further afield, designing synthetic data pipelines using RIR to simulate different spaces I'd love to see that data. If you're mathematically inclined and wanna collaborate, I'm looking for someone to map out the mathematical boundaries for comic latency, which I want to use in my scoring loop. For now, I'm thinking about how to frame the loss function so it priortizes subtext over lexical tokens.
Oh, and since you deserve a punchline to our 'Prove that "Yes" means "No" thought-experiment:
If you still think language is purely lexical, go tell a manically depressed robot with a brain the size of a planet that he did a 'good job' ...
- A text-based ASR pipeline will tell you he thanked you
- Alden knows he’s actually sighing at your profound lack of perspective
- The words say yes, the waveforms say wretched
- Class Dismissed. :)

No comments:
Post a Comment