paper-with-me

홈 › Papers

Evaluating Prompt Engineering Techniques for RAG in Small Language Models: A Multi-Hop QA Approach

2026-02-14 · Amir Hossein Mohammadi, Ali Moeinian, Zahra Razavizade, Afsaneh Fatemi, Reza Ramezani arxiv

Retrieval Augmented Generation (RAG) is a powerful approach for enhancing the factual grounding of language models by integrating external knowledge. While widely studied for large language models, the optimization of RAG for Small Language Models (SLMs) remains a critical research gap, particularly in complex, multi-hop question-answering tasks that require sophisticated reasoning. In these systems, prompt template design is a crucial yet under-explored factor influencing performance. This paper presents a large-scale empirical study to investigate this factor, evaluating 24 different prompt templates on the HotpotQA dataset. The set includes a standard RAG prompt, nine well-formed techniques from the literature, and 14 novel hybrid variants, all tested on two prominent SLMs: Qwen2.5-3B Instruct and Gemma3-4B-It. Our findings, based on a test set of 18720 instances, reveal significant performance gains of up to 83% on Qwen2.5 and 84.5% on Gemma3-4B-It, yielding an improvement of up to 6% for both models compared to the Standard RAG prompt. This research also offers concrete analysis and actionable recommendations for designing effective and efficient prompts for SLM-based RAG systems, practically for deployment in resource-constrained environments.

📄 PDF Abstract BibTeX arXiv:2602.13890

Code (0)

등록된 구현이 없습니다.

Tasks

Prompt Engineering

Similar Papers 제목 키워드 기반

Evaluating Prompt Engineering Techniques for Accuracy and Confidence Elicitation in Medical LLMs

2025-05-29 · Nariman Naderi, Zahra Atf, Peter R Lewis, Aref Mahjoub far 외

This paper investigates how prompt engineering techniques impact both accuracy and confidence elicitation in Large Language Models (LLMs) applied to medical contexts. Using a stratified dataset of Persian board exam ques…

Prompt Engineering

A Systematic Review on Prompt Engineering in Large Language Models for K-12 STEM Education

2024-10-14 · Eason Chen, Danyang Wang, Luyi Xu, Chen Cao 외

Large language models (LLMs) have the potential to enhance K-12 STEM education by improving both teaching and learning processes. While previous studies have shown promising results, there is still a lack of comprehensiv…

Prompt Engineering

GRAD-SUM: Leveraging Gradient Summarization for Optimal Prompt Engineering

2024-07-12 · Derek Austin, Elliott Chartock

Prompt engineering for large language models (LLMs) is often a manual time-intensive process that involves generating, evaluating, and refining prompts iteratively to ensure high-quality outputs. While there has been wor…

Prompt Engineering

Evaluating the Impact of Advanced LLM Techniques on AI-Lecture Tutors for a Robotics Course

2024-08-02 · Sebastian Kahl, Felix Löffler, Martin Maciol, Fabian Ridder 외

This study evaluates the performance of Large Language Models (LLMs) as an Artificial Intelligence-based tutor for a university course. In particular, different advanced techniques are utilized, such as prompt engineerin…

Prompt EngineeringRAGRetrieval-augmented Generation

A Looming Replication Crisis in Evaluating Behavior in Language Models? Evidence and Solutions

2024-09-30 · Laurène Vaugrante, Mathias Niepert, Thilo Hagendorff

In an era where large language models (LLMs) are increasingly integrated into a wide range of everyday applications, research into these models' behavior has surged. However, due to the novelty of the field, clear method…

Prompt EngineeringStrategyQA