AI-Based Customer Complaint Prioritization and Classification Using Natural Language Processing and Large Language Models

This work aims to classify and prioritise complaints. A decision support system is provided to classify complaints and assign complaint priorities. Classifications of complaints are performed via supervised learning. Prioritisation is performed with assistance from a large language model (LLM). Classification models were trained on a dataset extracted from the Consumer Financial Protection Bureau (CFPB). Once removing complaints without labels or incomplete complaints, 438,926 complaints were found, in 9 different products. The dataset was processed to extract unigram and bigram TF-IDF vectors. XGBoost and Random Forest models were trained on the data. The XGBoost model had an accuracy of , macro F1 score of and weighted F1 score of . The Random Forest model had an accuracy of , macro F1 score of and weighted F1 score of . Thus, although the Random Forest model performs better overall, the XGBoost model performs better when each category is equally weighted. Explanations, sentiments, and suggested priorities/actions are produced using the GPT-OSS model with 120B parameters hosted on Groq. Since the CFPB data does not contain validated priorities, suggested priorities and actions are suggestions. In this paper these suggestions are not evaluated. Further details of the dataset, preprocessing, model parameters, system design and limitations are provided. Steps for validating this system in practice are outlined.Index Terms complaint classification, complaint triage, GPT-OSS, human-in-the-loop decision support, large language models, natural language processing, Random Forest, TF-IDF, XGBoost.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-25
DOI
https://doi.org/10.5281/zenodo.24539049
Primary Topic
Text and Document Classification Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

AI-Based Customer Complaint Prioritization and Classification Using Natural Language Processing and Large Language Models

Yashwant Ingle, Karan Kumbhar
3 links
Zenodo (CERN European Organization for Nuclear Research)
Text and Document Classification Technologies
article

AI-Based Customer Complaint Prioritization and Classification Using Natural Language Processing and Large Language Models

Yashwant Ingle, Karan Kumbhar
article en

Abstract

This work aims to classify and prioritise complaints. A decision support system is provided to classify complaints and assign complaint priorities. Classifications of complaints are performed via supervised learning. Prioritisation is performed with assistance from a large language model (LLM). Classification models were trained on a dataset extracted from the Consumer Financial Protection Bureau (CFPB). Once removing complaints without labels or incomplete complaints, 438,926 complaints were found, in 9 different products. The dataset was processed to extract unigram and bigram TF-IDF vectors. XGBoost and Random Forest models were trained on the data. The XGBoost model had an accuracy of , macro F1 score of and weighted F1 score of . The Random Forest model had an accuracy of , macro F1 score of and weighted F1 score of . Thus, although the Random Forest model performs better overall, the XGBoost model performs better when each category is equally weighted. Explanations, sentiments, and suggested priorities/actions are produced using the GPT-OSS model with 120B parameters hosted on Groq. Since the CFPB data does not contain validated priorities, suggested priorities and actions are suggestions. In this paper these suggestions are not evaluated. Further details of the dataset, preprocessing, model parameters, system design and limitations are provided. Steps for validating this system in practice are outlined.Index Terms complaint classification, complaint triage, GPT-OSS, human-in-the-loop decision support, large language models, natural language processing, Random Forest, TF-IDF, XGBoost.

Zenodo (CERN European Organization for Nuclear Research)
Vishwakarma University (IN), Vishwakarma Institute of Technology (IN)
Text and Document Classification Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
AI-Based Customer Complaint Prioritization and Classification Using Natural Language Processing and Large Language Models — Yashwant Ingle, Karan Kumbhar · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS