NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bounded Quadrant System: Error-bounded trajectory compression on the go

Jiajun Liu, Kun Zhao, Philipp Sommer, Shuo Shang, Brano Kusy, Raja Jurdak

TL;DR

The Bounded Quadrant System (BQS) is a novel online algorithm that compresses GPS trajectories in real-time with minimal computational overhead. By using a quadrant-based convex hull to track error bounds, it achieves constant time and space complexity per point, extending the battery life of resource-constrained tracking devices by up to 41%.

What Problem Does This Paper Address?

As we track everything from wildlife to delivery bikes, we generate massive amounts of trajectory data. For a tiny sensor strapped to a flying fox or a pigeon, this is a nightmare. These devices have "micro-resources": perhaps only 4KB of RAM and 1MB of storage.

Standard compression algorithms like Douglas-Peucker are "offline," meaning they need the entire trip data before they can start compressing. Existing "online" algorithms often require large buffers or have high computational complexity ($O(n^2)$ or $O(n \log n)$), which drains batteries and exceeds the memory limits of low-power microcontrollers. The challenge is to compress data on the go—processing each point as it arrives—while guaranteeing that the compressed path doesn't deviate from the original by more than a set threshold (the error bound).

Methods

The authors introduce the Bounded Quadrant System (BQS). Instead of storing a buffer of points and constantly recalculating the maximum error, BQS maintains a compact summary of the points seen so far using a virtual coordinate system.

  1. Quadrant Splitting: The algorithm centers a coordinate system on the start point of the current trajectory segment and divides the space into four quadrants.
  2. Convex Hull Bounding: For each quadrant, it maintains a "bounding box" (the min/max x and y coordinates) and two "bounding lines" (the narrowest and widest angles from the origin to the points).
  3. Error Pruning: These boundaries form a convex hull. By calculating the distance from this hull to the current path line, the algorithm derives a lower bound ($d^{lb}$) and an upper bound ($d^{ub}$) for the maximum possible error of all points inside that quadrant.
  4. The "Fast" Version (FBQS): To ensure the algorithm runs on the most limited hardware, the authors propose FBQS. If the error bounds are uncertain, instead of performing an expensive calculation over a buffer of points, FBQS simply starts a new segment. This guarantees $O(1)$ space and time complexity for every incoming point.
  5. Data-centric Rotation: The system can rotate its internal axes to align with the general direction of travel, which tightens the bounds and improves compression efficiency.

Datasets

The researchers evaluated BQS using three distinct sources:

  • Wildlife Tracking: GPS traces from "flying foxes" (large bats) collected via the Camazotz sensing platform. This data is erratic and unpredictable.
  • Vehicle Tracking: GPS traces from cars, which are more constrained by road networks.
  • Synthetic Data: A dataset generated using a correlated random walk model to test the algorithm's limits in a controlled environment. The real-world datasets totaled nearly 139,000 GPS samples.

Key Insights and Ideas

  • Geometry as a Proxy for Memory: The core "aha!" moment is that you don't need to remember every point to know the maximum possible error. You only need to remember the shape that contains them.
  • Quadrant Logic: Splitting the space into quadrants is a clever trick to simplify the geometry. It prevents the bounding lines from intersecting in complex ways, making the math for the error bounds fast enough for a cheap 16-bit microcontroller.
  • Trading Compression for Predictability: The FBQS version shows that in embedded systems, a slightly lower compression rate is a fair trade for "deterministic" performance. Knowing exactly how much time and memory a point will take is vital for system stability.

Key Results

  • Efficiency: BQS achieved compression rates up to 47% better than existing online algorithms (like BDP or BGD) while maintaining the same error guarantees.
  • Complexity: FBQS achieves $O(n)$ total time and $O(1)$ space complexity. In practice, it processed points in constant time regardless of how long the trajectory segment became.
  • Longevity: By reducing the number of writes to flash storage (a power-hungry operation), the algorithm extended the estimated operational life of the tracking hardware from 44 days to 62 days—a 41% improvement.
  • Pruning Power: In real-world tests, the geometric bounds were so tight that the algorithm could make a definitive compression decision without "looking back" at old points more than 90% of the time.

Limitations and Future Work

While the paper demonstrates a 3D extension of BQS, the math becomes significantly more complex as it involves bounding prisms and planes rather than boxes and lines. The authors also note that while point-to-line distance is the standard metric used here, adapting BQS to other metrics (like time-thresholded error) might require further refinement of the geometric pruning rules. Future work could involve exploring "4-D BQS" to incorporate time as a direct dimension in the bounding system.

Summary updated

BibTeX
@inproceedings{liu2015bounded,
  author = {Jiajun Liu and Kun Zhao and Philipp Sommer and Shuo Shang and Brano Kusy and Raja Jurdak},
  title = {{Bounded Quadrant System: Error-bounded trajectory compression on the go}},
  booktitle = {ICDE},
  year = {2015},
  doi = {10.1109/icde.2015.7113350},
}
Figure