Transformer-based segmentation of prosodic boundaries in Brazilian Portuguese

summary

Video file (mp4)

The gist

The gist The SAMPA model, a Whisper-based segmenter, achieves competitive boundary-detection performance for terminal prosodic boundaries in Brazilian Portuguese speech by fine-tuning Whisper

In short

SAMPA is a deep learning model that extends Whisper to segment terminal prosodic boundaries in Brazilian Portuguese speech. By training Whisper with different audio filters, the system achieved competitive performance, reaching an F1 of 0.731 on one test set and 0.796 on another diverse dataset. Analysis shows the model relies on linguistic and acoustic cues.

Key concepts

Prosodic Segmentation
The task of identifying where speech units end based on intonation, rhythm, and pauses rather than just words. This helps structure spoken discourse by marking natural breaks in speech flow.
Whisper Large-v3
A large, pre-trained speech recognition model that forms the backbone of SAMPA. It is fine-tuned to recognize text while simultaneously learning to predict and insert special markers indicating where prosodic boundaries occur in Brazilian Portuguese audio.
Terminal Boundary Token
A special delimiter token ('!!!!!') inserted into the transcribed text by SAMPA. This token explicitly marks the predicted end of a speech unit, allowing the model to output both words and boundary markers together.

Terminology used across episodes

This episode discusses

The paper

Transformer-based segmentation of prosodic boundaries in Brazilian Portuguese · Read on arXiv

Rodrigo de Freitas Lima, Julio Cesar Galdino, Marcos Vinicius Treviso

ICMC University of Sao Paulo · Instituto Superior Tecnico University of Lisbon

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: We're looking at the paper: "Transformer-based segmentation of prosodic boundaries in Brazilian Portuguese".

Jane: Here's the gist of the paper. The gist The SAMPA model, a Whisper-based segmenter, achieves competitive boundary-detection performance for terminal prosodic boundaries in Brazilian Portuguese speech by fine-tuning Whisper large-v3 and evaluating various training and test-time filtering configurations Automatic speech segmentation is the task of identifying where boundaries between speech units occur.

Tom: When these units are delimited by prosodic cues, they are commonly described as intonation units and play several roles in spoken communication, including structuring discourse and organizing information flow.

Jane: Earlier automatic approaches to prosodic segmentation relied on more traditional machine-learning pipelines.

Tom: More recently, prosodic segmentation has also benefited from large pretrained speech models.

Title and authors: Tom: So we're looking at "Transformer-based segmentation of prosodic boundaries in Brazilian Portuguese," and the authors are using a Whisper model to do this task. It’s essentially taking a powerful speech recognition system, Whisper large-v3, and adding it the ability to mark where one intonation unit ends and the next begins.

Jane: That makes sense for someone who doesn't read papers; instead of just hearing words, you get an output that has these explicit markers inserted between the words showing those prosodic boundaries >

Lu: The title points to using a transformer-based approach, which is deep learning architecture, to solve this segmentation problem specifically within the context of Brazilian Portuguese speech.

Meng: So it’s not just applying an existing tool; they’re fine-tuning Whisper for this specific task of boundary prediction in Brazilian Portuguese >

Lalam: They are using data from two main sources: the CORAA NURCSP Minimal Corpus and CATNA, which is a publicly maintained corpus from TaRSiLA >

Tom: Which means they are working with manually segmented recordings for training, which is a big deal because traditional methods often struggle with the specific intonation units in Brazilian Portuguese >

Jane: So what they're proposing here is that we can use these large pre-trained models to do this segmentation, which was previously mostly done using older rule-based or traditional machine learning pipelines >

The paper's summary: Tom: To summarize the core idea of "Transformer-based segmentation of prosodic boundaries in Brazilian Portuguese," the authors are proposing SAMPA, which is a Whisper-based segmenter that transcribes BP speech while inserting explicit markers for terminal prosodic boundaries >

Jane: So instead of just getting text, you get text with these special tokens right between words to show where one intonation unit ends and the next begins >

Lu: The architecture itself is adapted from PSST! four, and the main trick is treating this segmentation as an extension of speech transcription, which means adding a delimiter token to Whisper's vocabulary >

Meng: So it’s using an existing, powerful speech model and just teaching it a new way to output text that includes these boundary markers >

Lalam: They are fine-tuning Whisper large-v3 on manually segmented recordings from the NURC-SP dataset and evaluating different training and test-time filtering configurations >

Tom: The implication for us is that we can get this segmentation done using a large pre-trained model like Whisper, which is much more powerful than those older feature-based methods they mentioned in the introduction >

Jane: Which brings up the big question for us: what does this mean for someone who just listens to the show? It means when you’re listening to a BP speaker, an AI could potentially tell you where they are taking a breath or changing their pitch in a way that structures their message better >

Lu: And looking at the analysis section, it suggests that these predictions aren't random; they are informed by morphosyntactic, semantic, and prosodic cues present in the speech >

Meng: I’m curious about those cues. Are we talking about words like discourse markers or conjunctions telling the model where to put a marker >

The paper's improvements: Tom: The paper highlights several ways they improved this approach, specifically showing that applying digital filters can significantly impact their performance metrics on their test sets >

Jane: They found that the LP three thousand two hundred Hertz training configuration resulted in a word error rate of zero point one zero three, which was their best result on the held-out set >

Lu: They also showed that using high-pass filtering, like the HP six hundred Hertz model, can lead to better binary F1 scores on more diverse datasets like MuPe-Diversidades >

Meng: That’s a key piece of information for anyone thinking about deployment; it shows that tuning the pre-processing pipeline isn't just academic; it actually changes how well the model performs in different real-world scenarios >

Lalam: The analysis section also reveals that the model’s predictions are guided by linguistic patterns. For true positives, unigrams immediately before those boundaries included discourse markers, like ne´, and nouns such as cinema or casa >

Tom: So it’s not just listening to raw sound waves; the model is actually latching onto grammatical structure and semantic context when making these segmentation decisions >

Jane: And the acoustic analysis supports this because in a true positive example, they found the F0 contour shows a continuous fall at the end of one terminal unit, which they say is typical of BP declaratives >

Lu: The authors point out that false positives happen because SAMPA often generalizes from plausible acoustic and linguistic cues rather than just inserting boundaries randomly >

Conclusion: Tom: So, to wrap up "Transformer-based segmentation of prosodic boundaries in Brazilian Portuguese," the main finding is that using a Whisper-based segmenter for this task gives competitive results, with best models reaching F1 equals zero point seven three one on the held-out NURC-SP/CATNA test split >

Jane: And they found that by tuning the filtering—using different low and high pass filters—they can get better results across different datasets, with the HP six hundred Hertz model getting a binary F1 of zero point seven nine six on MuPe-Diversidades >

Lu: The analysis confirms that the predictions are informed by morphosyntactic, semantic, and prosodic cues, which is a big step because it proves the model isn't just guessing based on sound alone >

Meng: From a deployment view, the fact that they had to manually filter out noisy recordings shows that getting clean data for training is still a major hurdle when you move this to scale >

Lalam: The authors state their limitation clearly: the system’s error analysis can identify false positives at positions exhibiting smaller boundary-like cues even if they aren't actually terminal intonation-unit boundaries in the reference annotation >

Tom: So, we have a segmenter that works well for BP prosodic boundaries using Whisper, informed by linguistic context, but it still has those tricky false positive cases that need more systematic error analysis >

Jane: It’s a solid piece of work showing how large models can tackle complex segmentation tasks in languages where traditional methods fall short, setting the stage for future research on discourse-level information >

Lu: Yeah, it sets a good foundation by proving that this extension of ASR transcription is viable for prosodic boundary prediction in this context >

Meng: If you’re looking at production pipelines right now, you need to consider how much manual filtering or data cleaning goes into getting the input audio ready for models like this >

Lalam: So, "Transformer-based segmentation of prosodic boundaries in Brazilian Portuguese" is a piece that shows the power of large models when we are dealing with language-specific acoustic challenges >

More episodes

← Home