Honey, I shrunk the embeddings: Matryoshka vs. PCA(dylancastillo.co) |
Honey, I shrunk the embeddings: Matryoshka vs. PCA(dylancastillo.co) |
Feels like a “just use logistic regression” moment :)
In my experiments, I used lots of embedding models and the results were not nearly as uniform as this curve, just FYI. I didn’t use any of the API-based models though
I also wrote about this exact comparison when using PCA and MRL to quantize static models, see: https://stephantul.github.io/blog/mrl-pca/
I couldn't find much when I first looked into this, which is why I ended up writing the article.