← Latest papers
💻 computer science

From Similarity to Structure: Training-free LLM Context Compression with Hybrid Graph Priors

This paper proposes a training-free, model-agnostic context compression framework that uses a hybrid sentence graph—combining semantic similarity with sequential structure—to select a compact, coherent, and task-relevant set of sentences for long-context large language models.

Original authors: Yitian Zhou, Chaoning Zhang, Jiaquan Zhang, Zhenzhen Huang, Jinyu Guo, Sung-Ho Bae, Lik-Hang Lee, Caiyan Qin, Yang Yang

Published 2026-04-28
📖 3 min read☕ Coffee break read

Original authors: Yitian Zhou, Chaoning Zhang, Jiaquan Zhang, Zhenzhen Huang, Jinyu Guo, Sung-Ho Bae, Lik-Hang Lee, Caiyan Qin, Yang Yang

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 study for a massive final exam. You have a 500-page textbook, but you only have 30 minutes to review before the test starts. You can’t read every word, so you need to pick the most important sentences to create a "cheat sheet" that covers everything important without being a mess of random facts.

This paper, "From Similarity to Structure," introduces a smart, automated way to do exactly that for Artificial Intelligence.

The Problem: The "Information Overload" Headache

Large Language Models (like ChatGPT) are incredibly smart, but they have a "memory limit" (called a context window). If you feed them a massive document, two things happen:

  1. It’s expensive and slow: Processing millions of words takes huge amounts of computer power.
  2. The "Lost in the Middle" effect: Even if the AI can read it, it often forgets important details buried in the middle of a long text, focusing too much on the beginning or the end.

Current ways to fix this usually involve "training" a second AI to summarize the first one, which is complicated and slow.

The Solution: The "Smart Librarian" Approach

Instead of training a new AI, the authors created a training-free system. Think of it like a Master Librarian who walks into a library, looks at how books are connected, and picks out the perfect "highlight reel" for you.

Here is how the Librarian works, using three creative steps:

1. Building the "Social Network" of Sentences (The Hybrid Graph)

The Librarian doesn't just look at words; they look at how sentences "hang out" together. They build a map (a graph) based on two things:

  • The "Common Interests" Connection (Semantic Edges): If two sentences are talking about the same topic (like "climate change"), the Librarian draws a line between them, even if they are far apart in the book.
  • The "Next Door Neighbor" Connection (Sequential Edges): The Librarian also draws lines between sentences that are right next to each other, because usually, the sentence after a fact helps explain it.

2. Finding the "Skeleton" (Topic Clustering)

The Librarian then groups similar sentences into "neighborhoods" (clusters). This ensures that the final cheat sheet isn't just ten sentences about the same thing. It ensures you get a little bit of information from every important topic in the book.

3. The "VIP Scoring" System

To pick the final sentences, the Librarian gives every sentence a score based on four "VIP" qualities:

  • The Specialist (Task Relevance): Does this sentence actually answer the specific question I was asked?
  • The Representative (Topic Coverage): Is this sentence a great "poster child" for its topic? (Does it summarize the whole neighborhood?)
  • The Bridge Builder (Bridge Centrality): Is this sentence a "connector"? Some sentences act like bridges between two different ideas. If you delete them, the logic of the story falls apart.
  • The Loop Protector (Cycle Coverage): Does this sentence help complete a logical loop (like a claim followed by evidence)? This keeps the reasoning "tight."

The Result: A Lean, Mean, Reading Machine

Finally, the Librarian picks the highest-scoring sentences, makes sure they aren't just repeating the same thing (Redundancy Suppression), and puts them back in their original order so the text still makes sense to a human.

Why does this matter?
In their tests, this method beat many other "heavyweight" AI methods. It’s faster, it doesn't require expensive training, and most importantly, it’s transparent. You can actually see why the Librarian picked a specific sentence, making the AI's reasoning much easier to trust.

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 →