HN user

fzliu

4,969 karma

Applied ML @ Voyage AI (https://voyageai.com).

I love chess, deadlifting, and Elden Ring.

Twitter: https://x.com/frankzliu

LinkedIn: https://www.linkedin.com/in/fzliu

Posts750
Comments156
View on HN
lichess.org 1d ago

LeelaRookOdds's French Defense

fzliu
2pts0
www.bain.com 20d ago

Synthetic Customers Earn Their Stripes

fzliu
2pts0
budgetmodel.wharton.upenn.edu 1mo ago

Penn Wharton Budget Model

fzliu
2pts0
budgetmodel.wharton.upenn.edu 1mo ago

When Does Federal Debt Reach Unsustainable Levels? Spring 2026 – Onward

fzliu
4pts0
lichess.org 2mo ago

Did the Soviets Collude in the 1953 Candidates Tournament?

fzliu
5pts0
www.weijie-su.com 3mo ago

Do Large Language Models (Really) Need Statistical Foundations? [pdf]

fzliu
2pts0
www.n47.com 4mo ago

Why "All we need is 1% of this large market" is a red flag

fzliu
2pts0
arxiv.org 5mo ago

Generalized on-policy distillation with reward extrapolation

fzliu
3pts0
papers.ssrn.com 5mo ago

Talking with Your Hands: How Hand Gestures Influence Communication

fzliu
3pts0
sinocities.substack.com 5mo ago

China's Data Center Boom: A View from Zhangjiakou (2025)

fzliu
28pts10
blog.voyageai.com 5mo ago

voyage-multimodal-3.5: a new multimodal retrieval frontier with video support

fzliu
1pts0
arxiv.org 5mo ago

Are Pre-Trained Convolutions Better Than Pre-Trained Transformers? (2021)

fzliu
2pts0
arxiv.org 5mo ago

PaperBanana: Automating Academic Illustration for AI Scientists

fzliu
1pts0
jcastellssala.com 5mo ago

NumPy in C (2014)

fzliu
4pts2
blog.voyageai.com 5mo ago

voyage-multimodal-3.5: a new multimodal embedding frontier with video support

fzliu
2pts0
blog.voyageai.com 6mo ago

Voyage-multimodal-3.5: A new multimodal retrieval frontier with video support

fzliu
9pts1
arxiv.org 6mo ago

The Legal Embedding Benchmark (MLEB)

fzliu
1pts0
www.mongodb.com 6mo ago

Token-Count-Based Batching: Faster, Cheaper Embedding Inference for Queries

fzliu
1pts0
blog.voyageai.com 6mo ago

voyage-multimodal-3.5: a new multimodal retrieval frontier with video support

fzliu
2pts0
blog.voyageai.com 6mo ago

The Voyage 4 model family: shared embedding space with MoE architecture

fzliu
5pts0
www.mongodb.com 6mo ago

Token-Count-Based Batching: Faster, Cheaper Embedding Inference for Queries

fzliu
1pts0
blog.voyageai.com 7mo ago

The Case Against LLMs as Rerankers

fzliu
2pts0
www.eetimes.com 7mo ago

Ultra-Wide Band: A Transformational Technology for the Internet of Things

fzliu
12pts12
www.mongodb.com 7mo ago

Token-Count-Based Batching: Faster, Cheaper Embedding Inference for Queries

fzliu
1pts0
www.andrewstokols.com 7mo ago

Mapping China's Surnames

fzliu
2pts0
www.mongodb.com 7mo ago

Token-Count-Based Batching: Faster, Cheaper Embedding Inference for Queries

fzliu
1pts0
lichess.org 7mo ago

How geometry is fundamental for chess

fzliu
64pts27
lichess.org 7mo ago

Nimzo – Grischuk Gambit

fzliu
2pts0
gail.wharton.upenn.edu 7mo ago

Threatening AI models has no meaningful effect on performance

fzliu
4pts0
lichess.org 8mo ago

Do Attacking Players Play More Forcing Moves?

fzliu
1pts0

I work at Voyage -- thanks for the kind words!

To add a bit for readers who may be unaware, https://www.continue.dev/ uses embeddings as a strategy for indexing codebases. When used together with keyword search, I find that it performs quite well, especially when used together with the reranking functionality.

Voyage-code-3 2 years ago

Although voyage-3-m-exp is at the top of the leaderboard, I would not use it for production use cases unless your data is extremely similar to "in-domain" MTEB data. Check out this post from Nils (one of the authors of the original MTEB paper) for more info: https://x.com/Nils_Reimers/status/1870812625505849849

voyage-3-large will work better for almost all real-world production use cases.

As with all LLM models and their subproducts, the only way to ensure good results is to test yourself, ideally with less subjective, real-world feedback metrics.

This is excellent advice. Sadly, very few people/organizations implement their own evaluation suites.

It doesn't make much sense to put data infrastructure in production without first evaluating its performance (IOPS, uptime, scalability, etc.) on internal workloads; it is no different for embedding models or models in general for that matter.

Because LLMs such as Gemini -- and other causal language models more broadly -- are trained on next token prediction, the vectors that you get from pooling the output token embeddings aren't that useful for RAG or semantic search compared to what you get from actual embedding models.

One distinction to make here is that token embeddings and the embeddings/vectors that are output from embedding models are related but separate concepts. There are numerous token embeddings (one per token) which become contextualized as they propagate through the transformer, while there is a single vector/embedding that is output by embedding models (one per input data, such as long text, photo, or document screenshot).

(I work at Voyage)

Many of the top-performing models that you see on the MTEB retrieval for English and Chinese tend to overfit to the benchmark nowadays. voyage-3 and voyage-3-lite are also pretty small in size compared to a lot of the 7B models that take the top spots, and we don't want to hurt performance on other real-world tasks just to do well on MTEB.

A lot of folks I've spoken with say that single-agent systems are still extremely limited, let alone multi-agent platforms. In general, it seems to boil down to:

- Agents need lots of manual tuning and guardrails to make them useful

- Agents with too many guardrails are not general-purpose enough to be worth the time and effort to build

I believe truly great agents will only come from models whose weights are dynamically updated. I hope I'm wrong.

I think a few details (and perhaps a small amount of customization) would go a long way.

I hear you and agree 100% - I unfortunately haven't gotten around to writing better documentation nor solid code samples that utilize Radient yet.

Regarding molecule vectorization: that capability comes from RDKit (https://rdkit.org) - I just uploaded a sample to the /examples directory. You're right that molecule-to-audio and audio-to-molecule search is nonsensical from a semantic perspective, but I could see a third modality such as text or images that ties the two together, similar to what ImageBind is doing (https://arxiv.org/abs/2305.05665).

You're double-dipping into the data. You look at the performance, then you tune some part of the network by hand, see if it helps, and then keep doing that. It's testing on the training data.

I purposely tried to avoid adding any niche network modifications that would help it overfit to in-1k. All three of the modifications are applicable to other networks and datasets.

No one cares about ImageNet-1k. No one needs to classify ImageNet-1k in real life.

I completely agree with you; I just don't have the compute to train this on a massive dataset. With that being said, I'm not advocating for taking an in-1k model and putting it into production. I'm merely saying we can get ResNet to reach the same level of performance as ViTs. And that there's evidence that convnets reach that same level of performance at scale.

What you want is a ViT that's seen massive amounts of data so that your embeddings don't become degenerate because they're far away from ImageNet-1k!

https://arxiv.org/pdf/2310.16764.pdf

I recommend checking out this paper: https://arxiv.org/pdf/2310.16764.pdf. From the concluding section:

"Although the success of ViTs in computer vision is extremely impressive, in our view there is no strong evidence to suggest that pre-trained ViTs outperform pre-trained ConvNets when evaluated fairly."

Neural networks can be unpredictable, and there's evidence that questions how important transformers' lack of inductive bias (at scale) really is.

Both are methods to reduce the overall size of your embeddings, but from what I understand, quantization is generally better than dimensionality reduction, especially if training is quantization-aware.

"AGI" will never be achieved without building a model that a) _continually_ learns, and b) learns from not just text, but from combined auditory and visual (multimodal) sensory information as well.

The reason a 16-year-old can learn how to drive much quicker than existing self-driving models is because the 16-year-old already has built up 16 years worth of prior knowledge about the physical world.

You need different indexing algorithms for different use cases - brute-force indexing, for example, is "SOTA" when it comes to recall (100%). If you have multiple use cases or if you might have domain shift, you'll want a vector database that supports multiple indexes.

Here's my 2¢:

- If you're just playing around with vector search locally and have a very small dataset, use brute-force search. Don't worry about indexes until later.

- If you have plenty of RAM and CPU cores and would like to squeeze out the most performance, use ScaNN or HNSW plus some form of quantization (product quantization or scalar quantization).

- If you have limited RAM, use IVF plus PQ or SQ.

- If you want to maintain reasonable latency but aren't very concerned about throughput, use a disk-based index such as DiskANN or Starling. https://arxiv.org/pdf/2401.02116.pdf

- If you have a GPU, use GPU-specific indexes. CAGRA (supported in Milvus!) seems to be one of the best. https://arxiv.org/abs/2308.15136

All of these indexes are supported in Milvus (https://milvus.io/docs/index.md), so you can pick and choose the right one for your application. Tree-based indexes such as Annoy don't seem to have a sweet spot just yet, but I think there's room for improvement in this subvertical.

Essential AI 3 years ago

Most breakthroughs are discovered accidentally and retroactively, so I'd think that having multiple breakthrough papers is fairly uncommon.