Abstract
Dialog is a natural modality for interaction between customers and businesses in the service industry. As customers call up the service provider, their interactions may be routine or extraordinary. We believe that these interactions, when seen as dialogs, can be analyzed to obtain a better understanding of customer needs and how to efficiently address them. We introduce the idea of a dialog complexity measure to characterize multi-party interactions, propose a general data-driven method to calculate it, use it to discover insights in public and enterprise dialog datasets, and demonstrate its beneficial usage in facilitating better handling of customer requests and evaluating service agents.
Introduction
Customer service centers process massive volumes of conversational data daily. While significant research exists on analyzing dialog outcomes—such as customer satisfaction (CSAT) or sentiment—there is surprisingly little work on quantifying the inherent difficulty or complexity of the interaction itself.
Treating all service dialogs as equal creates operational blind spots. For instance, evaluating two agents solely on their average handle time or CSAT scores is unfair if one agent consistently tackles highly complex, multi-step troubleshooting while the other handles simple password resets. This research aims to bridge this gap by creating an automated, explainable metric to profile dialog complexity, which can then be used to optimize ticket routing and agent evaluation.
Methodology
The proposed hierarchical complexity metric is calculated at three distinct levels:
- Utterance Level (Content): Words are categorized into three buckets: domain-specific words (score = 1), common English words (score = 0.5), and stop words/noise (score = 0). An utterance's complexity is the average score of its constituent words.
- Turn Level: A turn's complexity is the average of its utterances. The authors also propose a weighted version that uses Natural Language Processing (NLP) to identify "dialog acts," allowing the system to down-weight purely social turns like greetings.
- Dialog Level (Content + Structure): Overall dialog complexity combines the average turn complexity (representing content density) with the relative length of the dialog compared to the dataset's maximum length (representing the quantity of requested actions).
To ensure scalability across new domains without manual dictionaries, the system utilizes an automated pipeline using Term Frequency (TF) and Term Frequency-Inverse Document Frequency (TF-IDF) to extract domain-specific terms from any given corpus.
Experimental Setup
The metric was evaluated across four distinct service datasets covering human-to-human and human-to-bot interactions:
- Ubuntu Technical Support: Open, multi-party IRC chat logs (highly specialized, long, unstructured).
- Insurance QA: A public corpus of questions and answers from insurance professionals (strict 1-turn QA format).
- Restaurant Reservation Support: Human users interacting with a simulated automated agent (standardized, goal-oriented).
- Enterprise Human Resource Bot: Internal chat logs of employees interacting with an HR virtual assistant (short, highly variable).
Analysis and Results
Data analysis revealed several key insights into the nature of service conversations. Counter-intuitively, customer utterances often scored higher in complexity than agent utterances. This occurs because customers use succinct, keyword-heavy phrases to state problems, while agents use elaborated, polite sentences filled with common words. Furthermore, standardized procedures in the Insurance and Restaurant datasets naturally eliminated the "low-complexity" tail often found in unstructured chat logs.
Key Performance Indicators
- Information Retrieval: In the HR bot dataset, utterances that successfully retrieved correct answers had a significantly higher average complexity (0.786) compared to utterances that confused the bot (0.637), validating that the metric accurately captures domain specificity.
- Request Quantity: In the Restaurant dataset, the top 20 most complex dialogs contained an average of 4.20 different restaurant-type requests, compared to just 1.05 requests in the lowest complexity group.
- Agent Evaluation: In a simulated environment, traditional metrics (average CSAT) rated agents equally. However, a complexity-weighted evaluation metric successfully differentiated them, rewarding the agent who maintained high CSAT while handling the most difficult dialogs (scoring 0.601 vs the baseline agent's 0.370).
Conclusion
This research provides a robust, explainable framework for quantifying dialog difficulty. While the current metric relies on word categorization and dialog length for business transparency, future work could incorporate advanced machine learning and deeper NLP features like syntactic structure. Deploying this metric in real-time could allow organizations to dynamically route complex tickets to senior agents as a conversation unfolds, improving both operational efficiency and agent fairness.
Summary updated