Paraphrase and Aggregate with Large Language Models for Minimizing Intent Classification Errors
<|reference_start|>Paraphrase and Aggregate with Large Language Models for Minimizing Intent Classification Errors: Large language models (LLM) have achieved remarkable success in natural language generation but lesser focus has been given to their applicability in decision making tasks such as classification. We show that LLMs like LLaMa can achieve high performance on large multi-class classification tasks but still make classification errors and worse, generate out-of-vocabulary class labels. To address these critical issues, we introduce Paraphrase and AGgregate (PAG)-LLM approach wherein an LLM generates multiple paraphrases of the input query (parallel queries), performs multi-class classification for the original query and each paraphrase, and at the end aggregate all the classification labels based on their confidence scores. We evaluate PAG-LLM on two large multi-class classication datasets: CLINC, and Banking and show 22.7% and 15.1% error reduction. We show that PAG-LLM is especially effective for hard examples where LLM is uncertain, and reduces the critical misclassification and hallucinated label generation errors<|reference_end|>
@article{yadav2024paraphrase,
    title={Paraphrase and Aggregate with Large Language Models for Minimizing
  Intent Classification Errors},
    author={Vikas Yadav and Zheng Tang and Vijay Srinivasan},
    journal={arXiv preprint arXiv:2406.17163},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.17163},
    primaryClass={cs.CL cs.AI cs.LG}
}