← Latest papers
💬 NLP

Storyline Trees: Hierarchical Representations for Long-Form Narratives

This paper introduces "storyline trees," a hierarchical representation that organizes long-form narratives into multi-level structures of scenes and plotlines to enable adaptive retrieval, which significantly improves question-answering performance compared to existing long-context models and chunk-based methods.

Original authors: Litu Ou, Mirella Lapata

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

Original authors: Litu Ou, Mirella Lapata

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 trying to solve a mystery, but instead of a few clues on a table, you are handed a library containing 500 novels. You need to find one specific detail: Why did the character leave town in Chapter 42?

If you just dump all 500 books into a giant pile and ask a super-smart robot (an AI) to read them all at once, the robot gets overwhelmed. It's like trying to find a single needle in a haystack that is the size of a mountain. Even if the robot is very smart, it often gets "lost in the middle," forgetting the beginning or missing the crucial clue hidden deep in the text.

This paper introduces a new way to organize those books so the robot doesn't get lost. They call it Storyline Trees.

The Problem: The "Flat" Pile

Currently, most AI models treat a long book like a flat list of words. They don't really understand that a story has a structure. They see Chapter 1, then Chapter 2, then Chapter 3, but they don't necessarily understand that Chapter 10 is actually the climax of a plotline that started in Chapter 2.

The authors say, "Let's stop treating books like a flat wall of text and start treating them like a tree."

The Solution: Building a Storyline Tree

Think of a long novel not as a single long road, but as a giant family tree.

  1. The Leaves (The Scenes):
    First, the authors break the book down into its smallest, most logical chunks called scenes.

    • Analogy: Imagine a movie. A "scene" is when the characters are in one room, doing one thing, at one time. If the characters move to a different room or the time jumps forward, that's a new scene.
    • The authors use AI to cut the book into these scenes automatically. This is much better than just cutting by "Chapter," because a chapter might contain three different scenes, or a single scene might spill over two chapters. Scenes are the true building blocks of a story.
  2. The Trunk and Branches (The Plotlines):
    Once they have all the scenes, they build the tree in two ways:

    • Top-Down (The Architect): They look at the whole book and ask, "What are the big themes?" (e.g., "Heathcliff's Revenge"). Then they break that big theme down into smaller sub-themes, and those into specific scenes. It's like an architect drawing a blueprint from the roof down to the foundation.
    • Bottom-Up (The Builder): They start with the individual scenes and ask, "Which of these scenes belong together?" They group similar scenes (like all the scenes where the hero is sad) and summarize them into a bigger "branch." They keep doing this until they reach the top of the tree.

How the Robot Uses the Tree (Adaptive Retrieval)

This is the magic part. When you ask the AI a question, it doesn't just guess or read the whole book again. It uses the tree as a map.

  • The Old Way: The AI tries to guess which pages are important and reads them. If it guesses wrong, it misses the answer.
  • The New Way (Adaptive Retrieval):
    1. The AI looks at the top of the tree (the big themes). It asks, "Which branch of the tree is likely to have the answer?"
    2. It picks that branch and looks at the smaller branches underneath it.
    3. It keeps zooming in, moving from the big picture down to the specific scene (the leaf) where the answer is hiding.
    4. It reads only that specific scene to answer the question.

The Analogy: Imagine you are looking for a specific address in a city.

  • Old Method: You drive down every single street in the city until you find it.
  • Storyline Tree Method: You look at the city map. You see the neighborhood (Top Level), then the specific street (Middle Level), then the house number (Scene Level). You drive directly to the house.

What They Found

The researchers tested this on three different sets of long books and difficult questions. Here is what happened:

  • It Works Better: The "Storyline Tree" method beat every other method they tried, including models that were specifically trained to read long texts.
  • Scenes Matter: Breaking the book into "scenes" was much more important than just breaking it into "chapters." Chapters are often arbitrary (based on page count), but scenes are based on the actual story flow.
  • The Top-Down Approach Wins: While both building the tree from the top and from the bottom worked, building it from the top (starting with the big themes) worked slightly better. It gave the AI a clearer "big picture" to navigate from.

The Bottom Line

This paper shows that to help AI understand long stories, we shouldn't just give it more memory. We need to give it a structure. By organizing a book into a tree of scenes and plotlines, we give the AI a map to navigate the story, allowing it to find answers quickly and accurately without getting lost in the thousands of pages.

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 →