← Latest papers
💬 NLP

Less is More: Lightweight Prompt Compression for Question Answering Applications on Edge Devices

The paper introduces CORE, a lightweight, two-stage prompt compression method that eliminates the need for auxiliary small language models to significantly improve accuracy, reduce memory usage, and accelerate inference for retrieval-augmented question answering on resource-constrained edge devices.

Original authors: Zihuai Xu, Ruofei Hou, Yang Xu, Hongli Xu, Yunming Liao, Ying Zhu

Published 2026-06-23
📖 4 min read☕ Coffee break read

Original authors: Zihuai Xu, Ruofei Hou, Yang Xu, Hongli Xu, Yunming Liao, Ying Zhu

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 detective trying to solve a mystery. You have a massive stack of old newspapers, diaries, and letters (the retrieved context) that might contain the answer to your question. However, 95% of this stack is just weather reports, advertisements, and gossip that has nothing to do with your case.

If you try to read the entire stack to a very smart but busy assistant (the Large Language Model or LLM), two bad things happen:

  1. The Assistant gets overwhelmed: It takes too long to read through all the junk, and it might get confused by the noise, missing the actual clue.
  2. The Assistant runs out of room: Your phone or edge device (like a smart car or robot) doesn't have enough memory to hold the whole stack at once.

The Problem with Current Solutions

Right now, to clean up this stack, people use a "mini-detective" (a Small Language Model or SLM) to read the papers and tell the main assistant what to keep.

  • The Catch: This mini-detective is heavy. It requires a lot of memory and battery power. Trying to run this mini-detective on a smartphone is like trying to carry a heavy refrigerator in your backpack; it's too slow and drains the battery instantly.

The Solution: CORE (Context Refinement via Entity-aware filtering)

The authors of this paper propose a new method called CORE. Instead of hiring a heavy mini-detective, CORE uses a clever, lightweight two-step process that works like a skilled librarian with a magnifying glass.

Step 1: The "Who, What, Where" Filter (Candidate Filtering)

Instead of reading every word, CORE first looks at the question to guess what kind of answer you need.

  • The Analogy: If you ask, "Who was the captain?", CORE knows you are looking for a Person. If you ask, "When did it happen?", it knows you are looking for a Date.
  • The Action: It quickly scans the text to find sentences containing those specific "types" of words (like names or dates). It also finds sentences that sound very similar to your question.
  • The Result: It creates two short lists:
    1. The Answer Set: Sentences that might contain the answer.
    2. The Clue Set: Sentences that provide the context or evidence to prove the answer is right.
  • Why it's cool: This step uses tiny, lightweight tools (like a simple magnifying glass) that fit easily in a pocket, unlike the heavy refrigerator of the old methods.

Step 2: The "Cross-Check" (Evidence Refining)

Now, CORE has two lists, but they might still be too long or contain some fake leads. It needs to clean them up further without using a heavy computer.

  • Refining the Clues: Imagine the clues are puzzle pieces. CORE arranges them so they don't repeat the same information. If two clues say the same thing, it keeps the best one and discards the duplicate. It does this by checking if a new clue adds something new to the story.
  • Pruning the Answers: CORE checks if the "Answer" sentences are actually supported by the "Clue" sentences. If an answer sentence is far away from the clues that support it, or if it's just a random mention of a name without context, CORE throws it out. It keeps only the answers that are "standing next to" their proof.

The Results: Fast, Light, and Accurate

The authors tested CORE on real edge devices, like an NVIDIA Jetson (a powerful computer for robots/cars) and a Huawei smartphone.

  • Speed: CORE is incredibly fast. While other methods took over a minute to clean up a document, CORE did it in seconds.
  • Memory: It uses a tiny fraction of the memory. If other methods needed a whole hard drive's worth of space, CORE fits in a USB stick.
  • Battery: On a smartphone, CORE saved 95% of the energy compared to the best existing method. It's like switching from a gas-guzzling truck to an electric scooter.
  • Accuracy: Despite throwing away so much text, the AI actually got better at answering questions. By removing the noise, the AI focused on the signal. In tests, it improved accuracy by over 30% compared to other compression methods.

Summary

CORE is a smart, lightweight way to shrink massive documents down to their most important parts so they can fit on small devices like phones. It doesn't use a heavy "mini-AI" to do the work; instead, it uses smart rules about entities (names, dates, places) and relationships to filter out the junk. This makes AI assistants on edge devices faster, more accurate, and much less likely to drain your battery.

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 →