News for hackers. Stuff that matters.
[dead]
Re:Vector search just got up to 10x faster and vertically sc... by etaioinshrdlu on Tuesday August 16, 2022 @05:43PM (#32489365)
Which open source libraries is pinecone wrapping?
Re:Vector search just got up to 10x faster and vertically sc... by gk1 on Tuesday August 16, 2022 @06:32PM (#32489858)
I’m not sure where the other commenter gets their confidence, but Pinecone is not wrapping any open source vector-search library. We offer three index types (in-memory, in-memory graph-based, hybrid memory + disk), and all are proprietary.

We do have articles about Faiss and HNSW and all sorts of other vector-search and NLP topics, so it’s possible that’s where the confusion comes from.

Re:Vector search just got up to 10x faster and vertically sc... by obert on Tuesday August 16, 2022 @07:01PM (#32490130)
so, how does your proprietary solution compare against FAISS, eg with 10M dense vectors of 1024 dimensions?
Re:Vector search just got up to 10x faster and vertically sc... by pbadams on Tuesday August 16, 2022 @07:30PM (#32490423)
They used to publish some benchmarks on their site, but seem to have removed them. You can find them on archive.org[1]. I guess it is understandable, since vector search performance is pretty unpredictable, and depends on a lot of factors. If their target market is people who want vector search without needing to read a bunch of papers first, benchmarks might be more confusing than they are helpful.

edit: While I do think it's understandable, it's not great for transparency. Even if they don't want to open-source their index, I would admire it if they were willing to give ann-benchmarks[2] an API key to publish some independent results.

Disclaimer: I work on vector search at a different company

[1] https://web.archive.org/web/20210227105542/https://www.pinec... [2] https://github.com/erikbern/ann-benchmarks

Re:Vector search just got up to 10x faster and vertically sc... by fdgsdfogijq on Tuesday August 16, 2022 @05:45PM (#32489394)
FAISS
Re:Vector search just got up to 10x faster and vertically sc... by gk1 on Tuesday August 16, 2022 @06:24PM (#32489767)
This is incorrect.
Re:Vector search just got up to 10x faster and vertically sc... by Sommer on Tuesday August 16, 2022 @10:56PM (#32491779)
Strange comments and denial coming from the person who submitted a post about pinecone wrapping Faiss a year ago https://news.ycombinator.com/item?id=27502458
Re:Vector search just got up to 10x faster and vertically sc... by etaioinshrdlu on Wednesday August 17, 2022 @08:26PM (#32503663)
Yeah, what's this landing page about? https://www.pinecone.io/managed-faiss/
Re:Vector search just got up to 10x faster and vertically sc... by gk1 on Thursday August 18, 2022 @04:15PM (#32514342)
That's a very old and experimental page -- hence the "early access" mentions. Glad you pointed it out so we can delete it.
Re:Vector search just got up to 10x faster and vertically sc... by MasterIdiot on Tuesday August 16, 2022 @05:43PM (#32489364)
If you really think that's enough to build a real product, go for it. Even open-source companies (Elastic, Mongo, Scylla) have to build tons of infra around their core codebase in order to make it an actual cloud product.
Re:Vector search just got up to 10x faster and vertically sc... by fdgsdfogijq on Tuesday August 16, 2022 @05:46PM (#32489402)
Not that easy, the founder was a director at AWS. This is just devops/obfuscation on top of an open source library:

FAISS

Re:Vector search just got up to 10x faster and vertically sc... by gk1 on Tuesday August 16, 2022 @06:23PM (#32489757)
Pinecone doesn’t use Faiss, nor ScaNN. We love Faiss and even teach people to use it[1]. There happens to be a sizable population of engineers who need more than what Faiss provides (like live index updates and metadata filtering, for example), and can’t be bothered or aren’t being paid to customize and manage open-source libraries all day.

[1] https://www.pinecone.io/learn/faiss/

Re:Vector search just got up to 10x faster and vertically sc... by fdgsdfogijq on Tuesday August 16, 2022 @06:41PM (#32489947)
So you guys developed and implemented state of the art neural network vector search from scratch? in a year? and something better than libraries with tens of contributors over years of research?
Re:Vector search just got up to 10x faster and vertically sc... by pbadams on Tuesday August 16, 2022 @07:22PM (#32490344)
Most vector search research teams are a lot smaller than you suggest, and haven't been around that long (e.g. the FAISS paper was published in 2017).

From public info, you can see they have at least one researcher working there. It's believable to me that they could have some new innovations, especially since the product space they're focusing on is different from other teams working on vector search. State-of-the-art for a specific set of constraints is still state-of-the-art.

However, considering how much of their edu-marketing content is posted to HN, it would be great if they could share more details about the internals of their index with the community. One of the great things about vector search is how many techniques are open sourced or documented in papers :).

Disclaimer: I work on vector search at a different company

Re:Vector search just got up to 10x faster and vertically sc... by nl on Tuesday August 16, 2022 @08:28PM (#32490854)
Many very competitive vector search libraries are done by small teams.

HNSW in NMSLIB[1] is mostly 3 people's work and it's very competitive[2].

[1] https://github.com/nmslib/nmslib

[2] http://ann-benchmarks.com/glove-100-angular_10_angular.html

Re:Vector search just got up to 10x faster and vertically sc... by noogle on Tuesday August 16, 2022 @06:59PM (#32490114)
I actually built a similar solution supporting similar operations (including filtering by meta-data) using open-source libraries. Took me about 2 weeks net.

I can see a clientele for such database (people who want a turnkey solution), but honestly it looks like an attempt to use a dev-ops solution to address deeper issues with problem formulation: e.g.

1. Is there really a need to search all items in the database? can subsampling make simple similarity comparison feasible?

2. Do the embeddings really need to have that many dimensions? Can we reduce their dimensionality and fit them in RAM?

3. Is embedding accurate enough compared to pairwise comparison? Can we formulate the problem to make the latter feasible?

I also could not find any explanation of the underlying algorithms, especially around meta-data filtering, which is not solved by FAISS as well as their accuracy. (happy to hear otherwise)