mlsanityData to 7 Oct 2026

DFA-RAG: Conversational Semantic Router for Large Language Model with Definite Finite Automaton

arXiv 2402.04411 ↗First posted 6 Feb 2024cs.CL cs.LGcited by 5

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

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  3. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
  4. 2021Improving language models by retrieving from trillions of tokenscited by 1,278
  5. 2018MultiWOZ -- A Large-Scale Multi-Domain Wizard-of-Oz Dataset for Task-Oriented Dialogue Modellingcited by 760
  6. 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
  7. 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 505
  8. 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLPcited by 316
  9. 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 267
  10. 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
  11. 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 178
  12. 2021Multi-Task Pre-Training for Plug-and-Play Task-Oriented Dialogue Systemcited by 139
22 more
  1. 2022Retrieval-Augmented Multimodal Language Modelingcited by 125
  2. 2023ChatCAD: Interactive Computer-Aided Diagnosis on Medical Image using Large Language Modelscited by 116
  3. 2023Finding Support Examples for In-Context Learningcited by 104
  4. 2023Lift Yourself Up: Retrieval-augmented Text Generation with Self Memorycited by 103
  5. 2021GALAXY: A Generative Pre-trained Model for Task-Oriented Dialog with Semi-Supervised Learning and Explicit Policy Injectioncited by 102
  6. 2023Dream the Impossible: Outlier Imagination with Diffusion Modelscited by 77
  7. 2023RET-LLM: Towards a General Read-Write Memory for Large Language Modelscited by 64
  8. 2023Knowledge Graph-Augmented Language Models for Knowledge-Grounded Dialogue Generationcited by 54
  9. 2023KnowledGPT: Enhancing Large Language Models with Retrieval and Storage Access on Knowledge Basescited by 52
  10. 2019Semantically Conditioned Dialog Response Generation via Hierarchical Disentangled Self-Attentioncited by 43
  11. 2021Transferable Dialogue Systems and User Simulatorscited by 35
  12. 2023Task-Optimized Adapters for an End-to-End Task-Oriented Dialogue Systemcited by 30
  13. 2020Modelling Hierarchical Structure between Dialogue Policy and Natural Language Generator with Option Framework for Task-oriented Dialogue Systemcited by 28
  14. 2020Multi-Domain Dialogue Acts and Response Co-Generationcited by 26
  15. 2023A Graph-Theoretic Framework for Understanding Open-World Semi-Supervised Learningcited by 22
  16. 2023When and How Does Known Class Help Discover Unknown Ones? Provable Understanding Through Spectral Analysiscited by 21
  17. 2023Fantastic Rewards and How to Tame Them: A Case Study on Reward Learning for Task-oriented Dialogue Systemscited by 19
  18. 2023How to Overcome Curse-of-Dimensionality for Out-of-Distribution Detection?cited by 15
  19. 2022Neural Machine Translation with Contrastive Translation Memoriescited by 12
  20. 2022KRLS: Improving End-to-End Response Generation in Task Oriented Dialog with Reinforced Keywords Learningcited by 9
  21. 2022Efficient Task-Oriented Dialogue Systems with Response Selection as an Auxiliary Taskcited by 8
  22. 2023Detecting and Learning Out-of-Distribution Data in the Open world: Algorithm and Theorycited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024RAGLAB: A Modular and Research-Oriented Unified Framework for Retrieval-Augmented Generation
  2. 2024Evaluating Very Long-Term Conversational Memory of LLM Agents
  3. 2024Learning When to Retrieve, What to Rewrite, and How to Respond in Conversational QA
  4. 2024Toward Conversational Agents with Context and Time Sensitive Long-term Memory
  5. 2024Evaluating the Retrieval Component in LLM-Based Question Answering Systems
  6. 2025Hybrid AI for Responsive Multi-Turn Online Conversations with Novel Dynamic Routing and Feedback Adaptation
  7. 2026MTR-Suite: A Framework for Evaluating and Synthesizing Conversational Retrieval Benchmarks
  8. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models