Ask HN: What is new in algorithms and data structures these days?
737 pointsAlgs/DS were my first love in CS. Nowadays, all we hear about is AI/ML. There must be hardware/software improvements coming from or necessitating fundamental Algs/DS research.
Care to share any of the favorite recent results?
Are there big fields still making gains behind all this computing surge?
Comments (211) 45 threads
Show all comments
Showing thread 3 of 45
Basically given a set of million (billion, trillion...) ~1000 valued vectors, and a query ~1000 valued vector, find the closest vector in the indexed set. This is "nearest neighbor" search and there have been increasingly more and more sophisticated approaches:
http://ann-benchmarks.com
https://haystackconf.com/us2022/talk-6/
And has spawned companies like Weaviate, Pinecone, etc etc (a half a dozen others)
That's 100,000 english wikipedias or 50 googles.
Not that this is a practical example because we technically cannot index all cells in each body. But even if such an algorithm being studied today might be useful one day when we do capability to collect such data
Continue this thread — 13 replies
Continue this thread — 1 reply
Continue this thread — 4 replies
You can retrieve the exact information even faster. From an (x,y,t) coordinate, you can find the exact index in constant time
for each photo, extract and index SIFT vectors
https://en.m.wikipedia.org/wiki/Scale-invariant_feature_tran...
i used it as an example of a way a dataset might have a huge number of feature vectors.
curious if there are better ways to do this now.
I'm not in the we scraping/search area, so idk about the 100B website thing (other than it's Google order of size), but the encoding would take some mega amount of time depending on how it's done, hence the suggested sum of GloVe chunks (potentially doable with decent hardware in months) rather than throwing LLM on there (would take literal centuries to process).