Skip to content
View original post on X: Aman Sanger· 37/100AI score37/100

Spending more compute at indexing time improves retrieval without extra inference cost

AISummary

Aman Sanger of Cursor argues that heavy compute spent at indexing time can be reused to improve performance without raising inference-time compute, with embeddings as the simplest mechanism. Cursor's background post says semantic search improves its agent's accuracy across frontier models, especially in large codebases where grep alone falls short.

Post on XView on X
@amanrsanger

By spending lots of compute at indexing time, you can reuse that computation to get better performance without increasing inference-time compute!

Embeddings are the simplest mechanism that achieve this!

Cursor@cursor_ai
Semantic search improves our agent's accuracy across all frontier models, especially in large codebases where grep alone falls short. Learn more about our results and how we trained an embedding model for retrieving code.
View quoted post on X

Source: Aman Sanger · x.comPublished · added here