Spatial Discretization for Fine-Grain Zone Checks with STARKs
By: Sungmin Lee , Kichang Lee , Gyeongmin Han and more
Potential Business Impact:
Lets computers check if you're in a zone privately.
Many location-based services rely on a point-in-polygon test (PiP), checking whether a point or a trajectory lies inside a geographic zone. Since geometric operations are expensive in zero-knowledge proofs, privately performing the PiP test is challenging. In this paper, we answer the research questions of how different ways of encoding zones affect accuracy and proof cost by exploiting gridbased lookup tables under a fixed STARK execution model. Beyond a Boolean grid-based baseline that marks cells as in- or outside, we explore a distance-aware encoding approach that stores how far each cell is from a zone boundary and uses interpolation to reason within a cell. Our experiments on real-world data demonstrate that the proposed distance-aware approach achieves higher accuracy on coarse grids (max. 60%p accuracy gain) with only a moderate verification overhead (approximately 1.4x), making zone encoding the key lever for efficient zero-knowledge spatial checks.
Similar Papers
A Comparative Analysis of zk-SNARKs and zk-STARKs: Theory and Practice
Cryptography and Security
Makes secret computer math faster and safer.
zkSTAR: A zero knowledge system for time series attack detection enforcing regulatory compliance in critical infrastructure networks
Cryptography and Security
Lets power grids prove they are safe.
A Taxonomy and Methodology for Proof-of-Location Systems
Cryptography and Security
Proves you were really there, safely.