DFA-RAG: Conversational Semantic Router for Large Language Model with Definite Finite Automaton
On the map: Retrieval-augmented generation → Conversational and speech RAG
Abstract (arXiv)
This paper introduces the retrieval-augmented large language model with Definite Finite Automaton (DFA-RAG), a novel framework designed to enhance the capabilities of conversational agents using large language models (LLMs). Traditional LLMs face challenges in generating regulated and compliant responses in special scenarios with predetermined response guidelines, like emotional support and customer service. Our framework addresses these challenges by embedding a Definite Finite Automaton (DFA), learned from training dialogues, within the LLM. This structured approach acts as a semantic router which enables the LLM to adhere to a deterministic response pathway. The routing is achieved by the retrieval-augmentation generation (RAG) strategy, which carefully selects dialogue examples aligned with the current conversational context. The advantages of DFA-RAG include an interpretable structure through human-readable DFA, context-aware retrieval for responses in conversations, and plug-and-play compatibility with existing LLMs. Extensive benchmarks validate DFA-RAG's effectiveness, indicating its potential as a valuable contribution to the conversational agent.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Conversational and speech RAG, one of 15 directions in Retrieval-augmented generation. Builds on 34 of its 60 references that are in the map. First posted on arXiv 6 Feb 2024.
Builds on
34 of 60 references.
References · 34
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2018MultiWOZ -- A Large-Scale Multi-Domain Wizard-of-Oz Dataset for Task-Oriented Dialogue Modellingcited by 760
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
- 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 505
- 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLPcited by 316
- 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 267
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
- 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 178
- 2021Multi-Task Pre-Training for Plug-and-Play Task-Oriented Dialogue Systemcited by 139
22 more
- 2022Retrieval-Augmented Multimodal Language Modelingcited by 125
- 2023ChatCAD: Interactive Computer-Aided Diagnosis on Medical Image using Large Language Modelscited by 116
- 2023Finding Support Examples for In-Context Learningcited by 104
- 2023Lift Yourself Up: Retrieval-augmented Text Generation with Self Memorycited by 103
- 2021GALAXY: A Generative Pre-trained Model for Task-Oriented Dialog with Semi-Supervised Learning and Explicit Policy Injectioncited by 102
- 2023Dream the Impossible: Outlier Imagination with Diffusion Modelscited by 77
- 2023RET-LLM: Towards a General Read-Write Memory for Large Language Modelscited by 64
- 2023Knowledge Graph-Augmented Language Models for Knowledge-Grounded Dialogue Generationcited by 54
- 2023KnowledGPT: Enhancing Large Language Models with Retrieval and Storage Access on Knowledge Basescited by 52
- 2019Semantically Conditioned Dialog Response Generation via Hierarchical Disentangled Self-Attentioncited by 43
- 2021Transferable Dialogue Systems and User Simulatorscited by 35
- 2023Task-Optimized Adapters for an End-to-End Task-Oriented Dialogue Systemcited by 30
- 2020Modelling Hierarchical Structure between Dialogue Policy and Natural Language Generator with Option Framework for Task-oriented Dialogue Systemcited by 28
- 2020Multi-Domain Dialogue Acts and Response Co-Generationcited by 26
- 2023A Graph-Theoretic Framework for Understanding Open-World Semi-Supervised Learningcited by 22
- 2023When and How Does Known Class Help Discover Unknown Ones? Provable Understanding Through Spectral Analysiscited by 21
- 2023Fantastic Rewards and How to Tame Them: A Case Study on Reward Learning for Task-oriented Dialogue Systemscited by 19
- 2023How to Overcome Curse-of-Dimensionality for Out-of-Distribution Detection?cited by 15
- 2022Neural Machine Translation with Contrastive Translation Memoriescited by 12
- 2022KRLS: Improving End-to-End Response Generation in Task Oriented Dialog with Reinforced Keywords Learningcited by 9
- 2022Efficient Task-Oriented Dialogue Systems with Response Selection as an Auxiliary Taskcited by 8
- 2023Detecting and Learning Out-of-Distribution Data in the Open world: Algorithm and Theorycited by 1
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Scalable UAV Multi-Hop Networking via Multi-Agent Reinforcement Learning with Large Language Modelscited by 4
- 2026Efficient Privacy-Preserving Retrieval Augmented Generation with Distance-Preserving Encryptioncited by 4
- 2025Exploring How LLMs Capture and Represent Domain-Specific Knowledgecited by 3
- 2026Evidence-in-the-Loop: Trace-Driven Optimization for Customer-Service LLM Agentscited by 0
- 2026S2Dialog: Multimodal Dialogue Retrieval with Semantic and Acoustic-Style Modelingcited by 0
- 2026S2Dialog: Multimodal Dialogue Retrieval with Semantic and Acoustic-Style Modeling14 Aug 2026
- 2026Evidence-in-the-Loop: Trace-Driven Optimization for Customer-Service LLM Agents20 Jul 2026
- 2026Efficient Privacy-Preserving Retrieval Augmented Generation with Distance-Preserving Encryption18 Jan 2026
- 2025Scalable UAV Multi-Hop Networking via Multi-Agent Reinforcement Learning with Large Language Models13 May 2025
- 2025Exploring How LLMs Capture and Represent Domain-Specific Knowledge23 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2024RAGLAB: A Modular and Research-Oriented Unified Framework for Retrieval-Augmented Generation
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents
- 2024Learning When to Retrieve, What to Rewrite, and How to Respond in Conversational QA
- 2024Toward Conversational Agents with Context and Time Sensitive Long-term Memory
- 2024Evaluating the Retrieval Component in LLM-Based Question Answering Systems
- 2025Hybrid AI for Responsive Multi-Turn Online Conversations with Novel Dynamic Routing and Feedback Adaptation
- 2026MTR-Suite: A Framework for Evaluating and Synthesizing Conversational Retrieval Benchmarks
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models