Real-Time Endpoint Detection for Accurate Conversational Turn Taking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional endpoint detection methods for large language models (LLMs) in audio communication often result in awkward silences or misinterpretation of pauses, and fine-tuning these models can degrade their natural language understanding capabilities.

Innovation Solution

An endpoint detection system that leverages a pipeline of a large language model (LLM) and a classifier to predict endpoint probabilities by analyzing tokenized conversation data, incorporating domain-specific context through retrieval augmented generation (RAG) to improve accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If conventional endpoint detection methods are used to detect when a user's turn is complete, then the system can respond timely, but it causes awkward silences or misinterpretation of pauses

Engineering Contradiction:
Improveresponse timingVSAvoidpause interpretation accuracy
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The patent introduces an intermediary endpoint detection system that sits between the user input and the chatbot response. This intermediary system uses a pipeline of processing stages (including audio feature extraction, endpoint detection models, and confidence scoring) to mediate the determination of turn completion, thereby avoiding both premature responses and awkward silences by making the pause interpretation more reliable through multiple processing layers

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the parameters of endpoint detection by using multiple detection models with different thresholds and confidence levels rather than a single fixed threshold. The system adjusts detection sensitivity dynamically based on conversation context and confidence scores, allowing it to distinguish between meaningful pauses (indicating turn completion) and transient silences (indicating continued speaking), thus resolving the contradiction between timely response and accurate pause interpretation

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If fine-tuning is applied to improve endpoint detection accuracy, then detection precision improves, but natural language understanding capabilities degrade

Engineering Contradiction:
Improveendpoint detection accuracyVSAvoidnatural language understanding capability
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The patent segments the endpoint detection task from the main language model processing. Instead of fine-tuning the entire LLM for endpoint detection (which would degrade NLU capabilities), the system creates a separate, specialized endpoint detection pipeline that processes audio features independently. This segmentation allows the main LLM to retain its full natural language understanding capabilities while a dedicated subsystem handles endpoint detection with high precision

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary endpoint detection system that sits between the user input and the chatbot response. This intermediary system uses a pipeline of processing stages (including audio feature extraction, endpoint detection models, and confidence scoring) to mediate the determination of turn completion, thereby avoiding both premature responses and awkward silences by making the pause interpretation more reliable through multiple processing layers

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 3:

The patent changes the parameters of endpoint detection by using multiple detection models with different thresholds and confidence levels rather than a single fixed threshold. The system adjusts detection sensitivity dynamically based on conversation context and confidence scores, allowing it to distinguish between meaningful pauses (indicating turn completion) and transient silences (indicating continued speaking), thus resolving the contradiction between timely response and accurate pause interpretation

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250322161A1Endpoint detection
Publication Date: 2025.10.16 SALESFORCE INC
  • US20250322161A1 patent drawing
  • US20250322161A1 patent drawing
  • US20250322161A1 patent drawing

AI summary

Techniques are described herein for a method of obtaining a token based on a conversation in real time. The method further includes predicting, using a large language model (LLM) and the token, a next token. The method further includes predicting, using a classifier and the next token, a completion of a user turn. The method further includes triggering a next turn of the conversation in real time using the completion of the user turn.