AB
AiBoss
project

CSM - A voice dialogue model developed by the Sesame team

CSM (Conversational Speech Model) is a new voice dialogue model developed by the Sesame team, enhancing the naturalness and emotional interaction capabilities of voice assistants. CSM is based on a multimodal learning framework, combining text and speech data...

What is CSM?

CSM (Conversational Speech Model) is a novel voice dialogue model developed by the Sesame team, enhancing the naturalness and emotional interaction capabilities of voice assistants. Based on a multimodal learning framework, CSM combines text and speech data, using a Transformer architecture to directly generate natural and coherent speech. CSM's core advantage lies in dynamically adjusting the tone, rhythm, and emotional expression of the speech based on dialogue history and context, achieving an interactive experience closer to real human conversation. CSM optimizes training efficiency using computational amortization techniques, training on large-scale datasets to improve model performance and expressiveness.

Main functions of CSM

  • Emotional expressionAdjusting the tone, rhythm, and emotional color of the voice according to the content and emotional background of the conversation makes the interaction more engaging.
  • Natural DialogueBased on understanding the history and context of the conversation, it generates more natural and coherent voice responses, avoiding mechanical answers.
  • Situational adaptationAdjust the voice style according to different scenarios (such as formal, casual, comforting, encouraging, etc.) to improve the appropriateness of the interaction.
  • Multimodal interactionIt combines text and voice input to generate high-quality voice output and supports more complex dialogue structures.
  • Low-latency generationBased on an optimized architecture, it achieves low-latency speech generation, suitable for real-time dialogue scenarios.
  • Multilingual supportCurrently, English is the primary language, but future plans include expanding to multiple languages to enhance cross-language interaction capabilities.

CSM Technical Principles

  • Multimodal Transformer architectureCSM combines text and speech data, processing them based on two autoregressive Transformer models. The first "Backbone" model processes the zero-level encoding (semantic information) of the text and speech, while the second "Decoder" model processes the remaining audio encoding (acoustic details), achieving end-to-end speech generation.
  • Residual Vector Quantization (RVQ)Based on RVQ technology, continuous audio waveforms are encoded into discrete audio tag sequences, including semantic tags and acoustic tags. Semantic tags capture high-level features of speech, while acoustic tags preserve the details of natural speech.
  • Dialogue history modelingCSM is based on modeling dialogue history, capturing contextual information, and generating voice responses that are more in line with the dialogue scenario.
  • Calculate amortizationTo address the high memory burden during training, CSM employs computational amortization techniques to train the decoder on a subset of audio frames, preserving the complete RVQ encoding and significantly improving training efficiency.
  • Real-time interaction optimizationBased on optimized model architecture and training strategies, CSM can generate speech with low latency, making it suitable for real-time dialogue scenarios.

CSM project address

Application scenarios of CSM

  • Intelligent voice assistantTo improve the interaction quality of voice assistants in smart home and smart office devices, enabling them to converse with users more naturally and emotionally, thereby enhancing the user experience.
  • Customer service and supportIn call centers and online customer service, generate natural and fluent voice responses, understand customer emotions, provide personalized services, and improve customer satisfaction.
  • Education and learning toolsIt provides more natural voice interaction for language learning software and online education platforms, helping learners imitate and practice language expression, and improve learning outcomes.
  • Entertainment and GamesIn voice-interactive games, audiobooks, and virtual characters, we can imbue characters with rich emotions and personalities, thereby enhancing users' sense of immersion and participation.
  • Accessibility technologyIt provides more natural and easier-to-understand voice feedback for visually impaired or dyslexic individuals, helping them to access information and interact more conveniently.