We present FinLLaMA-RAG, a Retrieval-Augmented Generation (RAG) framework built on LLaMA 3 to address complex document-level question answering. The model integrates dense retrieval, contextual fusion, and multi-hop reasoning to extract accurate, coherent answers from long and cross-referenced documents. Designed with high-stakes applications in mind, FinLLaMA-RAG supports automated tax compliance, financial fraud investigation, and regulatory reporting. Through joint optimization of retrieval and generation, it achieves strong results across several financial QA datasets. This work contributes to the development of explainable and reliable AI tools for financial and policy-oriented document analysis.
Domain-specific question answering (QA) systems for services face unique challenges in integrating heterogeneous knowledge sources while ensuring both accuracy and safety. Existing large language models often struggle with factual consistency and context alignment in sensitive domains such as healthcare policies and government welfare. In this work, we introduce Knowledge-Aware Reasoning and Memory-Augmented Adaptation (KARMA), a novel framework designed to enhance QA performance in care scenarios. KARMA incorporates a dual-encoder architecture to fuse structured and unstructured knowledge sources, a gated memory unit to dynamically regulate external knowledge integration, and a safety-aware controllable decoder that mitigates unsafe outputs using safety classification and guided generation techniques. Extensive experiments on a proprietary QA dataset demonstrate that KARMA outperforms strong baselines in both answer quality and safety. This study offers a comprehensive solution for building trustworthy and adaptive QA systems in service contexts.
This paper presents a novel Retrieval-Augmented Generation (RAG) framework tailored for complex question answering tasks, addressing challenges in multi-hop reasoning and contextual understanding across lengthy documents. Built upon LLaMA 3, the framework integrates a dense retrieval module with advanced context fusion and multi-hop reasoning mechanisms, enabling more accurate and coherent response generation. A joint optimization strategy combining retrieval likelihood and generation cross-entropy improves the model's robustness and adaptability. Experimental results show that the proposed system outperforms existing retrieval-augmented and generative baselines, confirming its effectiveness in delivering precise, contextually grounded answers.
This paper presents a novel Retrieval-AugmentedGeneration (RAG) framework tailored for complex questionanswering tasks, addressing challenges in multi-hop reasoningand contextual understanding across lengthy documents. Builtupon LLaMA 3, the framework integrates a dense retrievalmodule with advanced context fusion and multi-hop reasoningmechanisms, enabling more accurate and coherent responsegeneration. A joint optimization strategy combining retrievallikelihood and generation cross-entropy improves the model’srobustness and adaptability. Experimental results show that theproposed system outperforms existing retrieval-augmented andgenerative baselines, confirming its effectiveness in deliveringprecise, contextually grounded answers.
Domain-specific question answering (QA) systemsfor services face unique challenges in integrating heterogeneousknowledge sources while ensuring both accuracy and safety.Existing large language models often struggle with factual consistencyand context alignment in sensitive domains such ashealthcare policies and government welfare. In this work, weintroduce Knowledge-Aware Reasoning and Memory-AugmentedAdaptation (KARMA), a novel framework designed to enhanceQA performance in care scenarios. KARMA incorporates adual-encoder architecture to fuse structured and unstructuredknowledge sources, a gated memory unit to dynamically regulateexternal knowledge integration, and a safety-aware controllabledecoder that mitigates unsafe outputs using safety classificationand guided generation techniques. Extensive experiments on aproprietary QA dataset demonstrate that KARMA outperformsstrong baselines in both answer quality and safety. This studyoffers a comprehensive solution for building trustworthy andadaptive QA systems in service contexts.
Domain-specific question answering (QA) systems for services face unique challenges in integrating heterogeneous knowledge sources while ensuring both accuracy and safety. Existing large language models often struggle with factual consistency and context alignment in sensitive domains such as healthcare policies and government welfare. In this work, we introduce Knowledge-Aware Reasoning and Memory-Augmented Adaptation (KARMA), a novel framework designed to enhance QA performance in care scenarios. KARMA incorporates a dual-encoder architecture to fuse structured and unstructured knowledge sources, a gated memory unit to dynamically regulate external knowledge integration, and a safety-aware controllable decoder that mitigates unsafe outputs using safety classification and guided generation techniques. Extensive experiments on a proprietary QA dataset demonstrate that KARMA outperforms strong baselines in both answer quality and safety. This study offers a comprehensive solution for building trustworthy and adaptive QA systems in service contexts.