Abstract
The shift toward autonomous "sense-decide-act" cycles in remote sensing requires efficient on-device image retrieval. However, standard Approximate Nearest Neighbor (ANN) search algorithms are often too memory-intensive for edge platforms like micro-satellites and UAVs. We present Edge-ANN, a storage-efficient ANN framework that replaces explicit high-dimensional hyperplanes with implicit partitions defined by pairs of "anchor" data points. By storing only integer IDs and a scalar offset, Edge-ANN reduces secondary storage requirements by 30–40% with a marginal 3–5% impact on retrieval accuracy. Experimental results on large-scale remote sensing datasets demonstrate that Edge-ANN significantly outperforms traditional indexing methods in resource-constrained environments.
1. Introduction
Modern remote sensing applications increasingly demand real-time processing on edge devices. Finding similar images within massive databases—a task known as Approximate Nearest Neighbor (ANN) search—is central to these operations. Mainstream ANN algorithms, such as HNSW (graph-based) or ANNoy (tree-based), are typically designed for high-performance servers. On edge devices with limited RAM (e.g., <1GB), the storage of high-dimensional hyperplane vectors (often 768-dim or higher) becomes a bottleneck. Edge-ANN addresses this by decoupling the index structure from the feature dimensionality.
2. Methodology: Implicit Hyperplanes and Anchor Optimization
Edge-ANN fundamentally alters the storage of search trees. Instead of explicitly storing a $d$-dimensional normal vector to define a spatial partition, it selects two existing data points from the dataset to serve as "anchors." The partitioning hyperplane is then implicitly defined as the perpendicular bisector of the segment connecting these anchors.
Because the anchors are already present in the dataset, the index only needs to store their integer IDs and a single scalar offset. This reduces the storage cost per node from $O(d)$ to $O(1)$. To ensure the resulting tree remains balanced despite the discrete nature of anchor points, we employ Binary Anchor Optimization (BAO). BAO uses an iterative search to find near-optimal anchors and a fine-tuning phase to calculate a scalar offset ($\Delta d$) based on the median distance of points from the hyperplane.
3. Experimental Evaluation
We evaluated Edge-ANN using features extracted via the Prithvi-100M geospatial foundation model across three large-scale datasets: MillionAID, Hi-UCD, and GlobalUrbanNet (GUN). These datasets represent a wide range of spatial distributions and imaging conditions, providing a robust testbed for retrieval accuracy and efficiency.
4. Results and Discussion
Edge-ANN demonstrates a significant advantage in storage efficiency, achieving a 30–40% reduction in disk space compared to the ANNoy baseline. This efficiency comes with a minimal accuracy trade-off, typically a 3–5% drop in recall.
In simulated edge environments with strict RAM limits (16MB to 64MB), Edge-ANN maintains higher recall at lower latencies than Ball Trees, KD-Trees, and HNSW. The model construction time scales near-linearly ($O(N \log N)$), ensuring practicality for large-scale deployments. A key insight is the "Edge-ANN Advantage Zone," where the framework becomes the optimal choice when the ratio of primary storage to dataset size is low.
5. Conclusion
Edge-ANN provides a robust solution for high-dimensional feature retrieval on storage-constrained hardware. By leveraging the data itself to define the search space geometry, it achieves substantial storage savings. Future research will explore extending this anchor-based logic to non-Euclidean metric spaces and optimizing index construction for low-power environments.
Summary updated