← Latest papers
💬 NLP

Copy-Paste to Mitigate Large Language Model Hallucinations

The paper proposes **CopyPasteLLM**, a method that mitigates hallucinations in Retrieval-Augmented Generation (RAG) by using high-copying response preference training and specialized prompting to encourage models to rely more on provided context rather than internal parametric knowledge.

Original authors: Yongchao Long, Xian Wu, Yingying Zhang, Xianbin Wen, Yuxi Zhou, Shenda Hong

Published 2026-02-10
📖 3 min read☕ Coffee break read

Original authors: Yongchao Long, Xian Wu, Yingying Zhang, Xianbin Wen, Yuxi Zhou, Shenda Hong

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a student taking a very difficult history exam. You are given a textbook (the Context) to help you answer the questions.

However, you have a problem: you’ve studied a lot of other history books in the past (Parametric Knowledge). When you see a question, your brain often ignores the textbook in front of you and instead shouts out what you think you remember from your old books. Even if the textbook says something different, you follow your memory. This mistake is what scientists call a "hallucination."

This paper introduces a new way to study called "Copy-Paste." Here is how it works:

1. The Problem: The "Know-it-All" Student

Most AI models (Large Language Models) act like "know-it-all" students. When they use a search engine to find information (this is called RAG), they find the right answer in the search results, but then they try to "paraphrase" it or put it into their own words.

In the process of trying to sound smart and original, they accidentally change facts, swap names, or mix up dates. They are trying to be a "writer" when they should be a "reporter."

2. The Solution: The "Copy-Paste" Method

The researchers realized something interesting: the more a student copies exact sentences from the textbook, the less likely they are to make a mistake.

Instead of telling the AI, "Read this and tell me what happened," they tell the AI, "Find the exact sentences in this book that answer the question and paste them into your answer."

By turning the AI from a creative writer into a precise photocopier, the AI stops "guessing" and starts "quoting." Because the words are coming directly from the source, the AI can't accidentally change a "1920" to a "1930."

3. The Training: The "Strict Teacher" (CopyPasteLLM)

To make this a habit, the researchers created a special training program called CopyPasteLLM. They used a two-step process:

  • Step 1: The Practice Run. They used special prompts to force the AI to practice different levels of copying—from strictly copying sentences in order to a more "refined" version where it adds tiny bits of "glue" (like "However" or "Therefore") to make the sentences flow smoothly.
  • Step 2: The Reward System. They showed the AI two different answers: one that was a messy, "know-it-all" paraphrase, and one that was a clean, "copy-paste" quote. They gave the AI a "gold star" (mathematical preference) every time it chose the accurate, copied version.

4. The Result: A Super-Efficient Student

The results were impressive. Even though they only gave the AI a tiny amount of practice data (only 365 examples!), the AI became much more reliable.

On difficult tests (like medical questions or "trick" questions where the textbook contradicts what the AI "thinks" it knows), the CopyPasteLLM was significantly more accurate than the standard models. It learned to "trust the book" more than its own memory.

Summary Metaphor

Think of standard AI like a chef trying to recreate a recipe from memory—they might add too much salt or forget an ingredient because they think they know how it's done.

CopyPasteLLM is like a chef who follows the recipe word-for-word, measuring every gram exactly as written. The result might not be a "creative" new dish, but it is guaranteed to be exactly what the recipe intended. In high-stakes areas like medicine, being "exactly right" is much more important than being "creative."

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →