NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bringing the State-of-the-Art to Customers: A Neural Agent Assistant Framework for Customer Service Support

Stephen Obadinma, Faiza Khan Khattak, Shirley Wang, Tania Sidhom, Elaine Lau, Sean Robertson, Jingcheng Niu, Winnie Au, Alif Munim, Karthik Raja K. Bhaskar, Bencheng Wei, Iris Ren, Waqar Muhammad, Erin Li, Bukola Ishola, Michael Wang, Griffin Tanner, Yu-Jia Shiah, Sean X. Zhang, Kwesi P. Apponsah, Kanishk Patel, Jaswinder Narain, Deval Pandya, Xiaodan Zhu, Frank Rudzicz, Elham Dolatabadi · DOI

Customer service is a primary frontier for Natural Language Processing (NLP) applications. However, a significant gap remains between academic state-of-the-art (SOTA) research and practical, production-ready industry tools. This paper, a collaborative effort between the Vector Institute and industry partners including CIBC, KPMG, and PwC, introduces the Neural Agent Assistant (NAA) framework. The NAA is a modular, open-source pipeline designed to democratize advanced NLP by providing customizable, domain-specific tools for customer support.

The Challenge of Production-Ready AI

While large language models have transformed NLP, implementing them in specialized customer support environments is difficult. Generic "AI-as-a-service" solutions often lack the nuance required for specific industries and are frequently closed-source "black boxes." The NAA framework addresses three core complexities:

  1. Categorization: Accurately identifying user intent.
  2. Information Retrieval: Sifting through vast knowledge bases to find relevant context.
  3. Synthesis: Generating human-like, coherent responses from retrieved data.

The Neural Agent Assistant Architecture

The NAA utilizes a modular three-stage pipeline architecture designed for flexibility and human-in-the-loop integration.

  • Intent Identification: Employs a BERT-based encoder to classify user queries. It supports standard fine-tuning and few-shot learning for rapid deployment in new domains.
  • Context Retrieval: A two-step process where a Bi-encoder (SentenceBERT) performs semantic search to find candidate passages, followed by a BERT-based Re-ranker to select the most relevant context.
  • Response Generation: A generative transformer (GPT-2) synthesizes the query and retrieved context into an abstractive response.
The Neural Agent Assistant (NAA) framework architecture, showing (a) the high-level conceptual pipeline and (b) the detailed modular technical components.

Experimental Setup and Data

The framework was validated using a combination of public benchmarks and proprietary industry datasets:

  • Intent: Banking77 and CLINC150 for banking-specific intent evaluation.
  • Retrieval/Generation: MSMARCO (search logs) and ELI5 (complex QA).
  • Industry Case Studies: Legal contract sentences (CUAD v1) for KPMG, and custom financial FAQs for CIBC and PwC.

Key Insights: Domain Specificity and Human Oversight

A central finding of the research is that "one size fits all" models often fail in noisy, concept-heavy industrial environments. The authors emphasize that fine-tuning smaller, pre-trained models on high-quality, in-domain data allows smaller teams to achieve performance comparable to tech giants. Additionally, data augmentation techniques like back-translation (e.g., English to German and back) were found to be significant force multipliers for intent classification.

Because automated metrics like BLEU and ROUGE can be insufficient for judging the safety and accuracy of legal or financial advice, the framework is designed to hand off tasks to human agents when confidence scores are low.

Performance and Results

The NAA framework demonstrated high performance across various benchmarks and real-world applications. The core model achieved a 92% F1-score on the Banking77 dataset. In few-shot scenarios, it maintained robust performance with a 90% F1-score using only five examples.

Performance comparison across different configurations of retrievers and response generators, highlighting manual expert scores and automated metrics.

Industry-specific successes include:

  • KPMG: The legal assistant achieved a manual quality score of 74/100 from legal experts, outperforming baseline models.
  • CIBC: Improved banking intent classification to a 92.7% F1-score through targeted data augmentation.
  • PwC: Successfully integrated the pipeline with Automated Speech Recognition (ASR) for voice-based customer queries.

Limitations and Future Directions

While powerful, the authors acknowledge risks such as model "hallucination" in generative components, reinforcing the need for human-in-the-loop designs. Future iterations of the framework will aim to include Named Entity Recognition (NER) for better "slot filling" (e.g., extracting account numbers) and focus on reducing inference latency for real-time applications.

Summary updated

BibTeX
@inproceedings{obadinma2022bringing,
  author = {Stephen Obadinma and Faiza Khan Khattak and Shirley Wang and Tania Sidhom and Elaine Lau and Sean Robertson and Jingcheng Niu and Winnie Au and Alif Munim and Karthik Raja K. Bhaskar and Bencheng Wei and Iris Ren and Waqar Muhammad and Erin Li and Bukola Ishola and Michael Wang and Griffin Tanner and Yu-Jia Shiah and Sean X. Zhang and Kwesi P. Apponsah and Kanishk Patel and Jaswinder Narain and Deval Pandya and Xiaodan Zhu and Frank Rudzicz and Elham Dolatabadi},
  title = {{Bringing the State-of-the-Art to Customers: A Neural Agent Assistant Framework for Customer Service Support}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  url = {https://openreview.net/forum?id=IVe4iS46sYs},
}
Figure