Running summarizing tools on a new article
Check the paper below, then start its synthesis.
A Retrieval-Augmented Generation (RAG) Approach to Eliminate Hallucinations in Workflow Generation
Javaria Nadeem (National University of Sciences and Technology), Mujtaba Tanwir (National University of Sciences and Technology), Mubara Tanwir (National University of Sciences and Technology)
Abstract: Large Language Models (LLMs) have been promising in creating structured output such as workflows, code, and database queries. The problem with LLMs, however, is that they are more prone to producing hallucinations when given out-of-domain or complex input, leading to the generation of erroneous information. In this paper, a new strategy has been presented to reduce hallucinations in the structured output tasks through the use of Retrieval-Augmented Generation (RAG). The approach incorporated in the proposed solution combines a retrieval aspect, whereby applicable workflow actions and database tables are retrieved from an existing body of knowledge, and then the ultimate output is produced. Improvements in the structure output of the LLM by increasing the natural language input with these retrieved items can increase the accuracy and reliability of structured outputs. We apply the strength of this method to the workflow generation problem, where the proposed model is considerably less prone to hallucinations and, in the meantime, has high performance. Large-scale tests on in-domain and out-of-domain datasets indicate that the RAG-enhanced system is highly competitive in a wide range of applications, and it is effective and generalizes better. A small retriever model with an LLM is shown that leads to lower computational needs with no negative impact on the quality of outputs. The solution is scalable, and it is applicable to the enterprise-level application, where the accuracy of the workflow is crucial.