Chat Response Clustering via Context Embeddings

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In cloud-based chat systems, agents often waste resources by repeatedly providing similar responses to customers, as existing systems rely on static lists of responses that do not account for the nuances of customer inquiries and require manual input of canned responses.

Innovation Solution

A system that analyzes historical chat data using context and response word embedding functions to generate context and response vectors, processing these to identify coherence scores and cluster responses, thereby automatically recommending relevant candidate responses during live chats.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If static lists of canned responses are used, then agents can quickly respond to customers, but the responses do not account for nuances of customer inquiries and require manual input

Engineering Contradiction:
Improveresponse speedVSAvoidresponse relevance
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent transforms static canned responses into dynamic, context-aware suggestions by implementing a system that continuously learns from historical chat data and adapts to current conversation contexts. The model dynamically generates response suggestions based on real-time analysis of customer inquiries, agent responses, and conversation flow, rather than relying on fixed pre-defined responses.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system enables self-service by automatically analyzing historical chat data and generating response suggestions without requiring manual input of canned responses. The model autonomously learns from the data corpus, identifies patterns, and provides tailored response recommendations, freeing agents from manually maintaining response lists while improving response relevance.

Inventive Principle:
Principle #25Self-service

2Adaptability or versatility

If agents manually input canned responses, then response lists can be customized, but this consumes time and resources

Engineering Contradiction:
Improveresponse customizationVSAvoidtime for manual input
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system performs self-service by automatically processing historical chat data to generate customized response lists without human intervention. The model autonomously extracts meaningful patterns, clusters similar responses, and identifies high-quality response candidates based on coherence scores, eliminating the need for agents to manually create or maintain canned response lists.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary action by pre-processing and analyzing historical chat data offline to build a trained model before deployment. This preliminary training phase automatically generates response suggestions that are ready for immediate use during live chats, eliminating the need for time-consuming manual response creation while maintaining high customization and relevance.

Inventive Principle:
Principle #10Preliminary action

3Stability of the object's composition

If agents repeatedly provide similar responses, then consistency is maintained, but resources are wasted on repetitive tasks

Engineering Contradiction:
Improveresponse consistencyVSAvoidcomputational resources
Core Design Contradiction:
Stability of the object's compositionVSLoss of energy

Solution Approach 1:

The system implements feedback by continuously monitoring conversation contexts and comparing suggested responses against historical data patterns. The model provides real-time feedback to agents through contextual response suggestions that maintain consistency with organizational practices while reducing repetitive responses. The system learns from ongoing interactions and refines its recommendations, ensuring consistent yet efficient communication.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11379671B2Identification of response list
Publication Date: 2022.07.05 SALESFORCE INC
  • US11379671B2 patent drawing
  • US11379671B2 patent drawing
  • US11379671B2 patent drawing

AI summary

A system is configured to analyze a corpus of historical chat data to identify the list of “best” responses. As such, the user is not required to identify a list of canned responses for input into the system. The described system uses a context word embedding function and response word embedding function to generate context vectors and response vectors corresponding to the corpus of conversation data, and the vectors are represented by a respective context matrix and a response matrix. The system processes these matrices to generate scores for responses, clusters the responses, and identifies the responses corresponding to the best scores for each cluster.