← Latest papers
💻 computer science

Protecting K-Nearest Neighbor Queries from Location Inference Attacks

This paper identifies inherent location privacy risks in k-nearest neighbor queries through two novel inference attacks and proposes DPRS, a differential privacy framework utilizing rejection sampling and private interval construction to effectively balance privacy protection with query utility.

Original authors: Zhiyu Sun, Jie Fu, Xinpeng Ling, Huifa Li, Zhili Chen

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

Original authors: Zhiyu Sun, Jie Fu, Xinpeng Ling, Huifa Li, Zhili Chen

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 using a popular app to find friends or people nearby. You don't want to show your exact address, so the app gives you a list of the "Top 5 closest people" instead of a map with pins. You think, "Great, my exact location is hidden!"

This paper says: Not so fast. Even without seeing your exact coordinates, a clever attacker can still figure out where you are just by looking at that ranked list.

Here is a breakdown of what the researchers found and how they fixed it, using simple analogies.

The Problem: The "Ranking" Trap

The researchers discovered that the simple list of "Who is closest?" leaks more information than you think. They invented two ways to hack this system:

1. The "Flashlight" Attack (GI-LIA)
Imagine you are standing in a dark field (your true location). An attacker has a flashlight (a known location).

  • The attacker moves the flashlight around until they see you appear on the list as the "5th closest person."
  • This tells the attacker: "You are exactly 100 meters away from this flashlight."
  • The attacker moves to a second spot, finds you are also the 5th closest person there. Now they know you are 100 meters from that spot too.
  • Where do those two circles of 100 meters overlap? Right on top of you!
  • The Catch: This works perfectly, but it's slow. The attacker has to walk around a lot and ask the app thousands of times to draw those circles.

2. The "Homing Pigeon" Attack (ZO-LIA)
This is the smarter, faster version.

  • The attacker starts with one circle (like the first step above).
  • Instead of drawing a second circle, they send out "probes" in different directions around that circle.
  • They check the list: "If I move North, does the target move up the list? If I move South, do they move down?"
  • By watching how the target's rank changes, the attacker can guess the direction to move to get closer to the target, like a homing pigeon finding its way home.
  • The Result: They can pinpoint your location with over 95% accuracy, and they do it much faster than the first method.

The Solution: The "Fuzzy Bubble" (DPRS)

The researchers realized that simply adding random "noise" (fake locations) to your data often breaks the app. If the fake location is too far away, the "Top 5" list becomes useless because the people on the list aren't actually the closest anymore.

They created a new defense called DPRS. Think of it like this:

  • The Old Way: Imagine trying to hide a secret by throwing a dart blindfolded anywhere on a giant wall. You might hide the secret, but you might also throw the dart so far off that it hits a completely different room. The data becomes useless.
  • The DPRS Way: Instead of throwing the dart anywhere, they build a small, private bubble around your real location.
    1. Private Bubble Construction: First, they group people into neighborhoods and create a "safe zone" (a bubble) for each group.
    2. The Rejection Sampling: When they need to hide your location, they pick a random spot inside that bubble.
    3. The "Nope" Filter: If the random spot they picked is too far from your real location (which would ruin the "closest people" list), they say "Nope!" and pick a new spot inside the bubble. They keep doing this until they find a spot that is close enough to be useful but far enough to be safe.

Why This Matters

The researchers tested their new "Fuzzy Bubble" method against the old ways of hiding location data.

  • Better Privacy: It stops the "Homing Pigeon" attack almost completely. The attackers' success rate dropped from 95% down to less than 3%.
  • Better Utility: Because the fake location is kept inside a carefully calculated bubble, the "Top 5 closest people" list remains accurate. The app still works well for real users.

The Bottom Line

The paper proves that "nearby" lists are a privacy leak waiting to happen. But, by using a smart "Fuzzy Bubble" technique that carefully controls how much we distort your location, we can keep the app useful for everyone while making it impossible for attackers to find you.

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 →