Abstract
Customer service text data is known as the dialogue text data between users and customer service provider, and it contains a large amount of user information. The effective use of customer service text content can bring great business plan optimization to the service provider. Based on the traditional machine reading comprehension model, this paper builds a customer service text user's attribute label recognition model, and proposes a model pre-training method based on sentence-level pre-training technology: aiming at the background of poor performance of the model in answering comprehensive full-text content analysis questions such as user intent and text sentiment analysis. This paper extracts text summaries based on the T5-pegasus model, constructing a text summaries dataset for model pre-training. Then build a text summarization model including an ERNIE pre-training model, train the model's ability to understand the full text, and improve the model's ability to answer questions that need to be combined with full-text content understanding, such as user intent and sentiment analysis. Use the pre-trained model to solve customer service text label recognition tasks based on machine reading comprehension tasks. The test results based on the data set show that the improved model has an improvement in performance of customer service text label recognition task.
Introduction
In the domain of automated customer service, identifying "attribute labels"—such as specific user intent or overall sentiment—is critical for service optimization. Traditionally, this is approached as a Machine Reading Comprehension (MRC) task. However, standard MRC models often suffer from a lack of global context, focusing on local word-level semantics and struggling with questions that require a holistic understanding of the dialogue (e.g., "Is the customer frustrated?"). This paper addresses these limitations by proposing a sentence-level pre-training approach that emphasizes global context over local facts.
Methodology
The proposed methodology employs a multi-stage pipeline designed to enhance the model's global comprehension capabilities through sentence-level pre-training.
Summary Extraction and T5-Pegasus
The researchers utilize a T5-Pegasus model to generate summaries of customer service dialogues. T5-Pegasus is particularly effective for Chinese text because it integrates advanced word segmentation into the standard BERT tokenizer, allowing it to handle linguistic nuances better than character-based models.
Gap Sentence Generation (GSG)
Borrowing from the PEGASUS architecture, the authors use Gap Sentence Generation (GSG) as a pre-training objective. Instead of masking individual words, they mask entire "important" sentences. To identify these sentences, they employ a "Principal" strategy, calculating ROUGE-F1 scores to find sentences that best represent the document's total information.
The ERNIEA Model
The core architecture is built upon the ERNIE 3.0 base model. By incorporating generated summaries into the pre-training phase, the researchers created "ERNIEA." This approach forces the encoder to overview the full text to predict the summary, effectively training the model to maintain a global context throughout the dialogue.
Datasets
The study utilized two primary datasets for evaluation:
- C3 Dataset: A standard Chinese regional reading comprehension dataset consisting of multiple-choice questions based on written and oral mixed-media text.
- Customer Service Text Data Set: A specialized dataset containing dialogue between users and service providers. The researchers used the T5 model to generate 2,998 text summaries from this data to serve as a benchmark for label recognition tasks.
Results and Discussion
The proposed ERNIEA model showed consistent improvements over established baselines in Tag Recognition experiments across both datasets.
The results demonstrate that the sentence-level pre-training strategy provides a measurable performance boost (approximately 1.1% over standard ERNIE) specifically in tasks requiring full-text comprehension. This confirms that summarization serves as an effective proxy for global understanding.
Conclusion and Future Work
This research demonstrates that shifting from local word-level semantics to global sentence-level understanding significantly improves intent and sentiment classification in customer service dialogues. Future work will focus on scaling the dataset, as the current custom dataset is relatively small (under 3,000 samples). Additionally, the authors suggest optimizing the architecture for more complex multi-turn reasoning and exploring the computational overhead of running T5-Pegasus alongside an ERNIE classifier in production environments.
Summary updated