by tomasreimers · 3y ago · 0 comments
I remember reading about how Google maps did a very similar thing to figure out which points of interest to load based on your coordinates and zoom.
Can't we repurpose that technology? Or did those bake in assumptions around being 2 dimensional (while this is highly dimensional?)
Orthogonality is expected, for example. Proximity is really rare. See: https://softwaredoug.com/blog/2023/02/28/probability-of-dot-...
But as the other comments have mostly said, it's mainly dimensionality and scale differences that drive the design differences (e.g. graphs end up working better than trees in high dimensions)
Once this is done, the search heuristics are not difficult (find the cells to explore and return nearest neighbors).
E.g., KNN is very fast, if and only if you have a high performing R-tree query.
so while the 2d algos might "fall out" of the sophisticated cases, the sophisticated cases will need to go in a different optimization direction.