Skip to content

Author

Cendra Putra

2 papers indexed here

We haven’t gathered this author’s papers yet. Follow them and we’ll fetch their work.

Not the right person? Other researchers publish under this name.

Open access Jul 2026

Implementation of Retrieval-Augmented Generation (RAG) for Automatic Fact-Checking of Health Claims

The rapid growth of digital platforms has accelerated public access to online health information, but it has also become a primary channel for the spread of health misinformation. Large Language Models (LLMs) have been widely adopted to address this problem through pure generative approaches; however, they frequently produce convincing yet inaccurate information, a phenomenon known as hallucination. This study implements a Retrieval-Augmentation Generation approach for automatic fact-checking of health claims using the PubHealth dataset, and compares its performance against a pure generative (Non-RAG) model. The proposed pipeline combines a FAISS-based semantic retriever, CrossEncoder re-ranking, and a FLAN-T5 generator to classify each claim as Fact or Myth while supplying relevant supporting evidence, and is integrated into a Gradio-based interface for claim verification and dataset expansion. The models were evaluated using accuracy, precision, recall, F1-Score, Cohen’s Kappa, faithfulness, context precision, and answer relevancy across four scenarios of question and claim normalization. The experimental results show that the RAG model outperformed the Non-RAG model on the classification metrics, with the best configuration achieving an F1-score of 0.7823, an accuracy of 0.7857, and a Cohen's Kappa of 0.5532, whereas the Non-RAG model suffered from extreme bias toward the Fact label and failed to detect the Myth label, reaching an accuracy of only 0.4211. Claim normalization was found to substantially improve classification accuracy, while the low faithfulness scores of the RAG model reflect a limitation of the metric on short binary answers rather than hallucination. These findings confirm that the retrieval and augmentation stages contribute significantly to producing more accurate, transparent, and evidence-based verification of health claims.

Diyan Rahma Maulida, Cendra Putra · 0 citations
Open access Jul 2026

Analysis of Threshold Similarity Effect on Dense Retrieval in Retrieval-Augmented Generation Systems Using the SQuAD Dataset

Retrieval-Augmented Generation (RAG), which combines text generation and document retrieval, is one of the more useful methods for maintaining big language model outputs based on actual, verifiable sources rather than the model's own stored knowledge. However, what is initially extracted from the retrieval stage has a significant impact on how well a RAG system responds to a query. Using the Stanford Question Answering Dataset (SQuAD) as the testbed, this study especially examines how the similarity threshold employed during dense retrieval affects both retrieval quality and, later on in the pipeline, the quality of the final answer. The multi-qa-mpnet-base-dot-v1 embedding model was used to encapsulate context passages and questions, which were then compared using cosine similarity. The answer generator was LLaMA 3.1 8B, which was accessed using the Groq API. Fifty questions selected from the SQuAD validation set were used to test eleven threshold values, ranging from 0.0 to 1.0 in steps of 0.1. The quality of retrieval was evaluated by the measures Recall, Precision, and Mean Reciprocal Rank (MRR). The generated answers were assessed by means of Exact Match (EM) and F1 Measure. The baseline performance (at 0.0 threshold) had F1 at 0.827 and EM at 0.72, while for the 0.3 threshold it became F1 at 0.848 and EM at 0.78. Once past the 0.5 threshold, all metrics showed a sharp drop. Overall, the conclusions that can be drawn from this experiment are that threshold-based filtering of context significantly improves the performance of a RAG model.

Yehezkiel Fienathan Bolo Dadi, Cendra Putra · 0 citations