← Latest papers
💻 computer science

Hierarchical Memorization in Large Language Models: Evidence from Citation Generation

This study reveals that LLM citation hallucination is not a binary failure but a hierarchical memorization process where factual accuracy scales log-linearly with training data redundancy, exhibiting distinct thresholds and component-specific recall patterns where titles and authors are learned before venues, years, or numeric fields.

Original authors: Junichiro Niimi

Published 2026-05-06
📖 5 min read🧠 Deep dive

Original authors: Junichiro Niimi

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

The Big Idea: The "Library of Forgotten Books"

Imagine a massive library (the Large Language Model, or LLM) that has read almost everything on the internet. When you ask it for a book recommendation, it tries to pull a book off the shelf from its memory.

The problem is that this library doesn't have a perfect catalog. Sometimes, it makes up a book that doesn't exist (a "hallucination"). This paper asks: Why does the library remember some books perfectly but make up others?

The researchers found that the library's memory isn't a simple "on/off" switch. Instead, it works like a hierarchy of familiarity based on how many times a book has been mentioned in other people's notes, reviews, and discussions (citation count).

The Main Findings

1. Popularity Matters (The "Famous Book" Effect)

The more a paper is cited (mentioned by other papers), the more likely the AI is to remember it correctly.

  • The Analogy: Think of a celebrity. If you ask a random person, "Who is the President?" they will likely get it right because everyone talks about it. If you ask, "Who is the mayor of a tiny village?" they might guess or make something up.
  • The Finding: The AI is much better at remembering famous, highly-cited papers. For papers that are rarely mentioned, the AI often invents details.

2. Two "Magic Numbers" (The Thresholds)

The researchers found that memory kicks in at two specific levels of popularity:

  • The "Waking Up" Point (90 Citations): Below this number, the AI is mostly guessing. Once a paper hits about 90 citations, the AI starts to transition from "making things up" to "trying to remember."
  • The "Perfect Memory" Point (1,200 Citations): Once a paper has over 1,200 citations, the AI remembers it almost perfectly, word-for-word. It's as if the book is so famous it's been memorized by the entire library staff.

3. The "Layered" Memory (The Sandwich Analogy)

This is the most interesting part. Even when the AI remembers a paper, it doesn't remember every part of it equally. It remembers the "top" layers first and the "bottom" layers last.

Imagine a paper as a sandwich:

  • The Bread (Top Layer): The Title and the First Author's Name. These are the most famous parts. The AI remembers these even when the paper isn't super famous.
  • The Meat (Middle Layer): The Co-authors and the Journal Name. The AI needs the paper to be very famous (around 1,000 citations) before it remembers these correctly.
  • The Lettuce (Bottom Layer): The Volume, Page Numbers, and Year. These are the hardest to remember. Even for very famous papers, the AI often gets the year or page numbers wrong.
  • The Secret Sauce: The Year is the worst. The AI seems to guess the year based on when the topic was popular, rather than remembering the actual year the paper was written.

4. The "Mix-Up" Problem (The Twin Analogy)

Sometimes, even for very famous papers, the AI gets confused.

  • The Analogy: Imagine two famous twins who look exactly alike and have similar names. If you ask a friend to describe one of them, they might accidentally mix up their clothes or where they went to school.
  • The Finding: If two papers have similar titles and the same lead author, the AI might mash them together. It creates a "Frankenstein" citation that sounds real but is actually a mix of two different real papers. The researchers call this "spurious attractor interference," which basically means the AI's memory gets tangled between two similar memories.

Why Does This Happen?

The paper suggests that the AI isn't "thinking" or "understanding" the papers. Instead, it is acting like a statistical pattern matcher.

  • If a paper appears everywhere (high redundancy), the AI has seen the exact same sentence structure so many times that it just repeats it (verbatim memorization).
  • If a paper is rare, the AI has to guess the missing pieces based on what usually goes there, leading to fake citations.

Summary

The paper concludes that hallucination (making things up) and memorization (remembering things) are two sides of the same coin. They both depend on how often the AI has seen the information.

  • Low popularity: The AI guesses and makes up details.
  • Medium popularity: The AI remembers the title and author but guesses the rest.
  • High popularity: The AI remembers everything perfectly, unless it gets confused by a "twin" paper with a similar name.

The study warns us that we cannot trust an AI to give us a perfect bibliography just because it sounds confident. We have to check the details, especially the dates and page numbers, because the AI's memory is layered and imperfect.

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 →