Abstract
Behavioral coding is essential for evaluating psychotherapy quality, but traditional methods rely on error-prone Automatic Speech Recognition (ASR) or manual transcription. This paper introduces a novel framework that predicts behavior codes directly from speech audio. By utilizing a "Speech-2-Vector" (S2V) encoder to learn word-level representations from audio segments, the model achieves performance competitive with text-based systems while retaining acoustic nuances often lost in transcription.
Introduction
In psychotherapy research, behavioral coding involves labeling utterances with specific categories (e.g., "simple reflection," "giving information") to assess therapeutic outcomes. The standard "pipeline" approach first converts speech to text via ASR and then classifies the resulting text. This method suffers from two primary drawbacks: error propagation from imperfect ASR and the loss of vital prosodic information like tone and pace.
To address these issues, we propose an end-to-end system that predicts behavior codes directly from speech features, bypassing the need for transcripts. This approach targets word-level units as the building blocks for understanding without requiring a written transcript.
Methods
The proposed architecture consists of two main components:
- Speech-to-Vector (S2V) Encoder: This model learns to represent spoken words as vectors using a sequence-to-sequence (seq2seq) framework. A Bi-directional LSTM encoder processes speech features (MFCCs) of a word, while a decoder predicts the features of surrounding "context" words. This approach requires only word segmentation (start/end times), not lexical labels.
- Utterance Classifier: Word-level representations from the S2V encoder are fed into a Bi-directional LSTM to capture sentence-level context. A self-attention mechanism identifies the most salient parts of the utterance for behavior prediction, followed by a dense layer for final classification.
Datasets
The model was evaluated using two primary sources:
- LibriSpeech: A 500-hour subset of public domain audiobooks used for general pre-training of the S2V encoder to learn universal speech patterns.
- Motivational Interviewing (MI) Dataset: 337 recorded psychotherapy sessions (~160 hours) manually coded into 8 categories, including "Facilitate," "Complex Reflection," and "MI Adherent."
Key Results
The proposed speech-only approach achieved an F1-score of 0.56, matching the performance of standard text-only models (Word2Vec). Notably, when using Speech2Vec with additional pre-training data, the performance improved to 0.60, outperforming multimodal systems that combine text and prosody.
These results demonstrate that acoustic embeddings can capture linguistic signals as effectively as lexical embeddings. Furthermore, obtaining word boundaries (segmentation) is a computationally "cheaper" and more privacy-preserving task than full ASR transcription.
Discussion and Future Work
The findings suggest that word segmentation is a viable alternative to full ASR for behavioral coding in clinical settings. However, the current model still depends on manual segmentation. Future research will focus on automated, heuristic-based segmentation and addressing overfitting to specific speaker characteristics. Additionally, exploring Convolutional Neural Networks (CNNs) may better capture the time-continuous nature of speech data compared to current recurrent architectures.
Summary updated