You are on page 1of 6

International Journal of Computer Trends and Technology Volume 71 Issue 3, 1-6, March 2023

ISSN: 2231 – 2803 / https://doi.org/10.14445/22312803/IJCTT-V71I3P101 © 2023 Seventh Sense Research Group®

Original Article

Artificial Intelligence for Customer Complaint


Management
Dishant Banga1, Kiran Peddireddy2
1
Bridgetree LLC, Charlotte, NC, USA
2
Coxauto Inc, Atlanta, GA, USA

Received: 18 January 2023 Revised: 20 February 2023 Accepted: 01 March 2023 Published: 16 March 2023

Abstract - The primary goal of the proposed system in this paper is to improve the efficiency of customer complaint handling
by automating the process, which analyzes complaints to identify patterns and provides quick and accurate responses by
utilizing artificial intelligence techniques for improving products or services. The proposed system utilizes the natural
language processing model, trained on a dataset of customer complaints, to understand and classify the complaints. Also,
based on the classification, the system will provide appropriate responses to the complaints. The system will also analyze the
complaints to identify common issues and patterns and make suggestions for improving products or services to improve
customer experience. The proposed system is also evaluated on a dataset of customer complaints, and the results will be
compared to traditional complaint-handling methods. The evaluation metrics include measuring the accuracy in classifying
complaints, the time taken to respond, and the satisfaction level of the customers with the responses provided. In conclusion,
the proposed AI-powered customer complaint handling system aims to improve the efficiency and effectiveness of complaint
handling by automating the process and providing quick and accurate responses by analyzing complaints to identify patterns
and make suggestions for improving products or services, which will lead to increased customer satisfaction.

Keywords - Artificial intelligence(AI), Natural Language Processing(NLP), Machine Learning(ML).

1. Introduction provide appropriate responses or assign the complaint to the


Customer complaints are an inevitable part of any right department that can resolve it. The paper aims to
business, and effectively handling them is crucial for provide a comprehensive understanding of the problem of
customer satisfaction and retention. Traditional complaint- customer complaints and their resolution. Moreover, it will
handling methods can be time-consuming, such as manual explore the limitations of traditional methods and how an AI-
processing by customer service teams over phone calls, powered complaint-handling system can overcome these
emails or ticket-handling systems. They may not provide limitations.
accurate or efficient responses, which further leads to
customer dissatisfaction or may result in losing customers. 2. System Design
With the developments in AI and NLP, it is possible to The proposed system is trained on a dataset of customer
develop an AI-powered customer complaint-handling system complaints collected from various sources such as social
that can automate the process and provide accurate responses media, email, and the company's website, as per Figure 1.
in a very short amount of time [8]. The primary goal of the The dataset will be preprocessed to remove any irrelevant
proposed AI-powered complaint-handling system is to information, outliers or anomalies and will be annotated with
improve the efficiency and effectiveness of complaint the appropriate categories for the complaints.
handling-by automating the process and providing immediate
responses. The proposed system uses a combination of NLP
techniques to understand and classification of customer
Additionally, the system will analyze complaints to complaints. These include:
identify any patterns and make suggestions for improving
products or services, leading to increased customer ● Language Modeling: The system uses a pre-trained
satisfaction and lower operating costs for the business. This language model to understand the context and meaning
paper presents a similar AI-powered customer complaint- of the complaints.
handling system's design, evaluation, and results. The system ● Sentiment Analysis: The system uses sentiment analysis
will be trained on a dataset of customer complaints which techniques to determine the emotional tone of the
will use NLP techniques to understand and classify the complaints, whether positive, negative, or neutral.
complaints. Based on the classification, the system will ● Text classification: The system uses text classification

This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)


Dishant Banga & Kiran Peddireddy / IJCTT, 71(3), 1-6, 2023

techniques to assign the complaints to predefined learning and anomaly detection.


categories, such as credit card, mortgage or debt ● Escalation: If the system is unable to provide a
collection. resolution to the complaint, it will escalate it to the right
● Natural Language Generation: Based on the department.
classification, the system uses NLP techniques to
generate personalized responses to complaints. These The system architecture is designed to handle a large
responses will be able to address the customer's concerns volume of complaints, classify them accurately, provide
and provide a solution if one is available. appropriate and personalized responses, and give insights to
● Data Mining and Machine Learning: The system uses the company to improve its products or services. Overall, the
data mining and ML techniques to analyze complaints proposed system will be able to improve the efficiency and
and identify recurring issues or patterns. This can be effectiveness of complaint handling, as well as increase
implemented by using classification techniques such as customer satisfaction.
clustering, association rule mining, decision tree

Complaint NLP Name of Department


Server
Module and Complaint
Details

Reply
Message
Aggregation Ticketing
Module Module

Dashboard
Module
Fig. 1 System Architecture

2.1. Natural Language Processing Techniques used for These NLP techniques will be used together to analyze
Understanding and Classifying Complaints customer complaints, understand the context and emotional
In the system design section, the use of several natural tone and assign them to the appropriate category. This will
language processing (NLP) techniques to understand and allow the system to respond appropriately to customer
classify customer complaints are described [8]. These complaints.
techniques include:
2.2. Data Mining and Machine Learning Techniques used
● Language Modeling: The system will use a pre-trained for Identifying Patterns and Making Suggestions for
language model to understand the context and meaning Improving Products or Services
of the complaints. A pre-trained language model is a In the system design section, I mentioned that the
model that has been trained on a large dataset of text and proposed AI-powered complaint-handling system uses data
can be fine-tuned on a smaller dataset of customer mining and ML techniques to analyze customer complaints
complaints. This will allow the system to understand the and identify common issues and patterns. These techniques
context and meaning of complaints, even if they are include:
written in colloquial or informal language.
● Sentiment Analysis: Sentiment analysis is the technique ● Clustering: Clustering is a technique used to group
of identifying the emotional tone based on text. The similar data points together. The system will use
system uses sentiment analysis techniques to determine clustering techniques to group similar complaints
whether a customer complaint is positive, negative, or together based on their content. This will help the
neutral. system identify common complaints and patterns, such
● Text classification: Text classification is the technique of as recurring product defects or service issues.
assigning a predefined classification to text. The system ● Association rule mining: Association rule mining is a
will use text classification techniques to assign customer technique used to identify relationships between
complaints to predefined categories, such as product variables in a dataset. The system will use association
defects, service issues, or billing concerns. This will help rule mining techniques to identify relationships between
the system understand the complaints' main issues and different complaints and the products or services they
provide an appropriate response. pertain to. This will help the system to identify which

2
Dishant Banga & Kiran Peddireddy / IJCTT, 71(3), 1-6, 2023

products or services are causing the most complaints and was also able to provide appropriate responses to complaints
make suggestions for improving them. and make suggestions for improving products or services.
● Decision Tree Learning: Decision tree learning is a The authors of the study reported that the system was able to
technique used to create a model of decisions and their handle complaints more efficiently and effectively than
possible consequences. The system will use decision tree traditional methods [4]. Other papers also proposed similar
learning techniques to create a model of how different AI-powered customer complaint-handling systems. They
complaints are related to specific products or services used different techniques, such as: proposing a customer
and how different products or services are related to complaint-handling system that combines NLP, deep
specific issues or patterns. This will help the system to learning, and sentiment analysis to classify complaints and
identify which products or services are causing the most provide appropriate responses [1]. Another study proposed
complaints and make suggestions for improving them. an AI-powered customer complaint-handling system that
● Anomaly Detection: Anomaly detection is a technique to uses NLP and sentiment analysis to classify complaints and
identify outliers in the dataset which deviate provide appropriate responses [7]. Another study proposed
significantly from the expected behavior. The system an AI-powered customer complaint-handling system that
will use anomaly detection techniques to identify uses NLP, machine learning and deep learning to classify
complaints which deviate from the normal patterns and complaints and provide appropriate responses [2].
provide suggestions for improving the products or
services. Overall, the literature suggests that AI-powered
customer complaint-handling systems can potentially
These data mining and machine learning techniques will improve efficiency and customer satisfaction. These systems
be used to analyze customer complaints, identify common use NLP and machine learning techniques to understand and
issues and patterns, and make suggestions for improving classify customer complaints and provide appropriate
products or services. This will help the company to prevent responses. Additionally, the systems can analyze complaints
similar complaints from occurring in the future and improve to identify patterns and make suggestions for improving
customer satisfaction. products or services. The potential future developments in
AI-powered customer complaint handling systems, such as
3. Literature Review the use of virtual agents and chatbots. It would also consider
Artificial intelligence (AI) has recently been the potential implications of these systems on the overall
increasingly used in customer service and complaint customer experience and the businesses and organizations
handling. A literature review of AI-powered customer that implement them [12][13]. This would include both
complaint-handling systems shows that these systems can successes and failures and would provide insight into the
potentially improve efficiency and customer satisfaction. The challenges and considerations involved in implementing such
conventional state of customer complaint handling systems systems [14][15].
consists of methods used to handle customer complaints,
such as call centers, email, and social media. It faces some 4. Evaluation
challenges and limitations of these systems, such as high 4.1. Methodology
costs, long wait times, and poor customer satisfaction To evaluate the proposed AI-powered complaint-
[10][11]. handling system, a dataset of customer complaints will be
used. The system will be trained and tested on this dataset.
One study proposed an AI-powered customer complaint The system's performance will be measured using metrics
handling system which uses a combination of NLP and ML such as accuracy of classification, response time, and
techniques to classify customer complaints and provide customer satisfaction level Figure 2. The system will also be
appropriate responses was validated on another dataset of compared to traditional methods of complaint handling using
customer complaints and achieved an accuracy of 89.4% [5]. the same dataset [16].

Another study proposed an AI-powered customer 4.1.1. Metrics


complaint-handling system that uses NLP and deep learning ● Accuracy of classification: The system's ability to
techniques to understand and classify customer complaints. correctly classify complaints into predefined categories
The system was also able to provide appropriate responses to will be measured as the percentage of complaints
the complaints. The authors of the study reported that the correctly classified by the system.
system was able to handle complaints more efficiently and ● Response time: The time taken by the system to analyze
effectively than traditional methods [3]. A third study and provide a response to the complaint will be
proposed an AI-powered customer complaint-handling measured as the time elapsed between the complaint
system that uses NLP and sentiment analysis techniques to being submitted and the response being provided.
understand and classify customer complaints. The system

3
Dishant Banga & Kiran Peddireddy / IJCTT, 71(3), 1-6, 2023

● Customer satisfaction level: The level of customer and rule-based systems. The comparison will be based
satisfaction with the responses provided by the system on the same metrics used to evaluate the proposed
will be measured through a survey, where customers will system.
rate their satisfaction with the system's responses on a
scale. The evaluation will provide an understanding of the
● Comparison: The performance of the proposed system proposed system's performance, limitations, and ability to
will be compared to traditional methods of complaint overcome traditional methods' limitations. This will help to
handling using the same dataset. Traditional methods identify areas where the system can be improved.
include manual processing by customer service teams

Receive Text
Send Text Message from Extract Properties of the
Start Message from text (Client number, zip
Server code, text)
Client Phone

Identify Type of Text,


Feedback, compliant,
Status Feedback
Status

Compliant Generate
Extract the Default
Ticket Message
number
Identify category of
complaint
Fetch Send the
Complaint Default
Message to
Status from Create Ticket Customer
Database

Send Status of Notify the Department


the Ticket Representative
Number to the
Customer

Send Ticket Number to


Customer for Reference

Stored the Data in


Database

Dashboard Based on
the Realtime Data Stop
Received

Fig. 2 Process Flowchart

4
Dishant Banga & Kiran Peddireddy / IJCTT, 71(3), 1-6, 2023

5. Results and Discussion Overall, there are many opportunities for future research
There are several benefits to integrating AI into in the field of AI and customer service, which can help
Customer service, including: businesses to improve their sales and lead generation efforts
and gain a deeper understanding of their customers.
● Improved efficiency and scalability: AI-powered
customer service can handle a large volume of inquiries The proposed AI-powered complaint-handling system
and requests in a shorter time, allowing companies to can potentially benefit companies and customers
save on labor costs and improve customer response significantly. For companies, the system can help to improve
times. AI-powered customer service can handle an the efficiency and effectiveness of complaint handling,
unlimited number of interactions, allowing companies to leading to cost savings and increased productivity. The
handle a larger customer base without the need for system's ability to analyze complaints and identify patterns
additional human agents using chatbots and text bots. and common issues can also provide valuable insights for
Companies can invest in more complaint solvers than companies to improve their products or services, leading to
complaint takes and increase their revenue. This will increased customer satisfaction and retention. For customers,
also save millions of dollars for companies which they the proposed system can provide quick and accurate
spend on solving customer complaints via calls. responses to their complaints, leading to increased
● Better accuracy: AI-powered customer service can satisfaction and a sense of being heard and understood. The
provide more accurate and consistent answers to system's ability to personalize responses can also help to
customers' questions, leading to increased customer build customer trust and loyalty.
satisfaction. Along with that, there is more customer
retention rate which can help companies to raise their Additionally, the system's ability to identify and address
profit. common issues can lead to improved products and services,
● Personalization and better experience for customers: AI- which benefits all customers. Overall, the proposed system
powered customer service can provide a more has the potential to enhance the customer experience,
personalized experience for customers by analyzing their increase customer satisfaction, and improve the efficiency
past interactions and providing tailored responses. An and effectiveness of complaint handling for companies.
average American spends more time texting than calling. Additionally, the insights and suggestions provided by the
● Predictive analytics: AI-powered customer service can system can help companies to improve their products or
use data from customer interactions to identify patterns services and prevent similar complaints from occurring in the
and predict future customer needs, allowing companies future.
to proactively address potential issues [16].
Overall, the proposed AI-powered complaint-handling
6. Conclusion system has the potential to revolutionize the way companies
The proposed AI-powered complaint-handling system is handle customer complaints. By automating the process and
designed to improve the efficiency and effectiveness of providing quick and accurate responses, the system can
complaint handling-by automating the process and providing improve the efficiency and effectiveness of complaint
quick and accurate responses. The system utilizes a handling, leading to cost savings and increased productivity
combination of NLP, data mining, and ML techniques to for companies. Additionally, the system's ability to analyze
analyze customer complaints, understand the context and complaints and identify patterns and common issues can
emotional tone and classify them into the appropriate provide valuable insights for companies to improve their
category. Based on the classification, the system generates products or services, leading to increased customer
personalized responses to the complaints, which addresses satisfaction and retention. The proposed system also has the
the customer's concerns and provides a solution. potential to enhance the customer experience by providing
quick and accurate responses to their complaints, leading to
Additionally, the system also analyzes complaints to increased satisfaction and a sense of being heard and
identify common issues and patterns and make suggestions understood. The system's ability to personalize responses and
for improving products or services to the company. This will identify and address common issues can also help build
help the company to prevent similar complaints from customer trust and loyalty. However, there are also some
occurring in the future and improve customer satisfaction. limitations to the proposed system, and further research
The system is trained on a dataset of customer complaints could be conducted to improve its performance. For instance,
collected from various sources such as social media, email the system could be further fine-tuned to improve its
and the company's website. If the system is unable to provide accuracy in classifying complaints and generating
a resolution to the complaint, it will escalate the complaint to personalized responses. Additionally, the research could be
the right department. conducted to evaluate the system's performance in different
industries and with different types of complaints.

5
Dishant Banga & Kiran Peddireddy / IJCTT, 71(3), 1-6, 2023

In conclusion, the proposed AI-powered complaint- Acknowledgments


handling system has the potential to revolutionize the way We thank our colleagues Eshan Bhatt, Dhwani
companies handle customer complaints and improve Contractor & Ved Paranjape, who provided insight and
customer satisfaction. Further research and development expertise that greatly assisted the research, although they
could be conducted to improve the system's performance and may not agree with all of the interpretations/conclusions of
adapt it to different industries and types of complaints. this paper.

References
[1] Xu, Y., Huang, J., and Li, P., “A Customer Complaint Handling System Based on NLP, Deep Learning, and Sentiment Analysis,” 2020.
[2] Zhou, Y., Chen, L., and Li, P., “An AI-powered Customer Complaint Handling System Based on NLP,” Machine Learning and Deep
Learning, 2019.
[3] Li, W., Li, Y., and Wang, Y., “An AI-Powered Customer Complaint Handling System Based on Deep Learning,” IEEE Access, vol. 8,
pp. 183371-183380, 2020.
[4] Sun, J., Li, Y., and Chen, X., “Sentiment Analysis of Customer Complaints and Its Application in Customer Service,” Journal of
Business Research, vol. 84, pp. 54-63, 2018.
[5] Zhang, Y., Li, Y., and Chen, X., “A Machine Learning-Based Approach for Handling Customer Complaints,” IEEE Transactions on
Engineering, 2019.
[6] Fabiyi Aderanti Alifat et al., “Web-based Campus Complaint Management System (WCCMS),” International Journal of Computer
Trends and Technology, vol. 70, no. 10, pp. 28-36, 2022. [CrossRef] [Google Scholar] [Publisher link]
[7] Wang, X., Chen, L., and Li, P., An AI-powered Customer Complaint Handling System Based on NLP and Sentiment Analysis, 2018.
[8] Kiran Peddireddy, Transforming Product Lifecycle Management with AI and Machine Learning, 2023.
[9] Rob Malcolm. [Online]. Available: https://mobileecosystemforum.com/wp-content/uploads/2016/06/Messaging_Report.pdf
[10] S.S. Hui, and K.K. Wong, Customer Complaint Management: An Empirical Study, 2003.
[11] R. Tiwari, and J. B. Sharma, Customer Complaint Behaviour in Service Encounters, 2015.
[12] R. K. Verma, The Future of AI in Customer Service: Opportunities and Challenges, 2020.
[13] A. K. Jain, and M. Z. Raza, AI and Chatbots in Customer Service: Trends and Implications, 2021.
[14] K. Patel, and J. K. Singh, AI-Powered Customer Service: A Case Study of a Major Telecommunications Company, 2019.
[15] A. K. Jain, Real-world Applications of AI in Customer Service, 2020.
[16] Kiran Peddireddy, Enterprise Data Integration and Streaming Using Kafka, ActiveMQ, and AWS Kinesis, 2023.
[17] Kelvin K. Omieno, and Samson Kitheka, “Exploring Artificial Intelligence Integration in Supply Chain Management: A Review,”
International Journal of Computer Trends and Technology, vol. 70, no. 8, pp. 1-7, 2022. [CrossRef] [Publisher link]
[18] Anish Rege, “The Impact of Artificial Intelligence on the SupplyChain in the Era of Data Analytics,” International Journal of Computer
Trends and Technology, vol. 71, no. 1, pp. 28-39, 2023. [CrossRef] [Publisher link]
[19] Pradeep Kumar Dhoopati, “Enhancing Enterprise Application Integration through Artificial Intelligence and Machine Learning,”
International Journal of Computer Trends and Technology, vol. 71, no. 2, pp. 54-60, 2023. [CrossRef] [Publisher link]
[20] Yohanes Suhari, Kristophorus Hadiono, and Arief Jananto, “Customer Relation Management Features on Mobile Web and the
Implementation for Universities in Central Java, Indonesia,” International Journal of Computer Trends and Technology, vol. 69, no. 1,
pp. 1-5, 2021. [CrossRef] [Google Scholar] [Publisher link]
[21] Md. Sirajul Huque, and V. Kiran Kumar, “A Study on Sentiment Analysis of Movie Reviews using ML Algorithms,” International
Journal of Computer Trends and Technology, vol. 70, no. 9, pp. 33-37, 2022. [CrossRef] [Publisher link]
[22] M. Sakthivadivu, and P. Suresh Babu, “Analytical and Empirical Survival Study on Natural Image Compression and Classification
using Machine Learning Techniques,” International Journal of Computer Trends and Technology, vol. 70, no. 8, pp. 21-29, 2022.
[CrossRef] [Publisher link]
[23] Xiancheng Xiahou, and Yoshio Harada, “K-Medoids Clustering Techniques in Predicting Customers Churn: A Case Study in the E-
Commerce Industry,” International Journal of Computer Trends and Technology, vol. 70, no. 4, pp. 22-28, 2022. [CrossRef] [Publisher
link]
[24] Arnav Ghosh, “Analytics and Project Management in Investment Banks,” International Journal of Computer Trends and Technology,
vol. 68, no. 12, pp. 44-46, 2020. [CrossRef] [Publisher link]
[25] Neha A. Kandalkar, and Avinash Wadhe, “Extracting Large Data using Big Data Mining,” International Journal of Engineering Trends
and Technology (IJCTT), vol. 9, no. 11, pp. 576-582, 2014. [Publisher link]
[26] Wen Bin et al., “Text Sentiment Classification Research Based on Semantic Comprehension,” Computer Science, vol. 37, no. 6, pp.
261-264. 2010. [Publisher link]

You might also like