惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MyScale Blog
MyScale Blog
L
LINUX DO - 最新话题
云风的 BLOG
云风的 BLOG
Know Your Adversary
Know Your Adversary
小众软件
小众软件
C
CERT Recently Published Vulnerability Notes
V
V2EX
The Hacker News
The Hacker News
P
Palo Alto Networks Blog
D
DataBreaches.Net
C
Cyber Attacks, Cyber Crime and Cyber Security
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
AWS News Blog
AWS News Blog
Forbes - Security
Forbes - Security
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
J
Java Code Geeks
美团技术团队
C
Cybersecurity and Infrastructure Security Agency CISA
Project Zero
Project Zero
Recorded Future
Recorded Future
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
L
LINUX DO - 热门话题
W
WeLiveSecurity
V
Visual Studio Blog
Schneier on Security
Schneier on Security
有赞技术团队
有赞技术团队
P
Proofpoint News Feed
aimingoo的专栏
aimingoo的专栏
V2EX - 技术
V2EX - 技术
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Microsoft Security Blog
Microsoft Security Blog
U
Unit 42
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
博客园_首页
I
InfoQ
Spread Privacy
Spread Privacy
博客园 - 叶小钗
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
LangChain Blog
月光博客
月光博客
I
Intezer
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
A
Arctic Wolf
S
SegmentFault 最新的问题
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
The Exploit Database - CXSecurity.com
Google DeepMind News
Google DeepMind News

Pinecone

Pinecone Assistant: A Managed Knowledge Layer for Production AI Applications Multi-domain RAG in n8n: why one knowledge base is not enough Allspice Transforms the Culinary Experience with Semantic Search Powered by Pinecone | Pinecone Building RAG workflows in n8n: choosing the right Pinecone node Knowledge needs a meta-knowledge layer Garbage Day: How Pinecone Safely Deletes Billions of Objects at Scale When "Performance" Means Two Different Things Pinecone BYOC: Pinecone in your AWS, GCP, or Azure account, no vendor access True, Relevant, and Wrong: The Applicability Problem in RAG Use the Pinecone Plugin for Claude Code to develop AI Applications Faster Millions at Stake: How Melange's High-Recall Retrieval Prevents Litigation Collapse Powering High-stakes Patent Search at Scale: How Melange Built a Reliable AI System on Pinecone | Pinecone Pinecone Assistant Node in n8n: Turn Any Data Source Into Knowledge RAG with Access Control Pinecone Dedicated Read Nodes are now in Public Preview Inside Pinecone: Slab Architecture New Bulk Data Operations: Update, Delete, and Fetch by Metadata The Hidden Cost of Building: Lessons from Aquant Simplifying Vector Embeddings with Pinecone Integrated Inference Capabilities Pinecone joins Microsoft Marketplace as a Launch Partner GTM Engineering: Clay + Pinecone for AI-powered Sales Outbound Build an AI knowledge assistant with Google Docs and Pinecone Moving Pinecone forward with Ash Ashutosh as CEO and Edo spearheading our growing AI ambitions as Chief Scientist Pinecone Founder Edo Liberty to Spearhead Pinecone’s Growing AI Ambitions; Appoints Ash Ashutosh as CEO to Expand Vector Database Market Leadership Fast, Accurate Retrieval for Creators at Scale: Delphi’s Path Toward a Million Conversational Agents with Pinecone | Pinecone Announcing Pinecone Pioneers: A Program for Builders, Organizers, and Community Leaders What is Context Engineering? Chunking Strategies for LLM Applications Beyond the hype: Why RAG remains essential for modern AI Obviant Makes 30% More Accurate Defense Acquisition Recommendations Combining Sparse and Dense Retrieval with Pinecone | Pinecone Build more knowledgeable AI applications with new LLMs and greater control in Pinecone Assistant #NYTECHWEEK 2025 Retrieval-Augmented Generation (RAG) Accurate and Efficient Metadata Filtering in Pinecone’s Serverless Vector Database | Pinecone Terminal X AI Agents, Powered by Pinecone, Turn Complex Financial Data Into Production-grade Insights at Scale | Pinecone Aquant Delivers Scalable, Expert-level Service Intelligence with Pinecone | Pinecone Cascading retrieval with multi-vector representations: balancing efficiency and effectiveness Vector databases aren't just for large-scale enterprise AI Unveiling DIME: Reproducibility, Scalability, and Formal Analysis of Dimension Importance Estimation for Dense Retrieval | Pinecone Fast and Effective Early Termination for Simple Ranking Functions | Pinecone Domain-specific AI Agents at Scale: CustomGPT.ai Serves 10,000+ Customers with Pinecone | Pinecone Using Pinecone asynchronously with FastAPI A Flexible Resource for Top-Weighted Comparisons Between Sets and Rankings | Pinecone Build secure, scalable agentic AI workflows with Rubrik Annapurna and Pinecone Tool up: Pinecone’s first MCP servers are here Add context to your agent with Pinecone Assistant MCP remote server E2Rank: Efficient and Effective Layer-wise Reranking | Pinecone ColBERT-serve: Efficient Multi-Stage Memory-Mapped Scoring | Pinecone Efficient Constant-Space Multi-Vector Retrieval | Pinecone How Vanguard Worked with Pinecone to Boost Customer Support with Faster Calls and 12% More Accurate Responses | Pinecone Pinecone Named to Fast Company's Annual List of the World's Most Innovative Companies of 2025 Launch Week: Pinecone for agents, search, recommendations, and more Optimizing Pinecone for agents (and more) Retrieval Inference for scale and performance How 1up Turns Sales Reps Into Product Experts with Pinecone | Pinecone Unlock High-Precision Keyword Search with pinecone-sparse-english-v0 Evolving Pinecone's architecture to meet the demands of Knowledgeable AI Pinpoint references faster with citation highlights in Pinecone Assistant Bringing the leading vector database to your cloud Getting started with llama-text-embed-v2 Natural Language Counterfactual Explanations for Graphs Using Large Language Models | Pinecone Easily build knowledgeable chat and agent-based applications in minutes with Pinecone Assistant, now generally available How to build an agentic, chat or RAG knowledge system using Pinecone Assistant Real-time RAG with Pinecone and Estuary Flow BigQuery to Pinecone in Real-Time with Estuary Flow Stravito Turns Market and Consumer Data Into Actionable Insights with Pinecone Inference | Pinecone Accelerate prototyping and development with Pinecone Local First-of-its-kind Pinecone Knowledge Platform to Power Best-in-class Retrieval for Customers Introducing integrated inference: Embed, rerank, and retrieve your data with a single API Strengthening security and increasing control with CMEK and API key roles Introducing Pinecone Rerank V0 Introducing cascading retrieval: Unifying dense and sparse with reranking From Idea to Action: How Pinecone Assistant Meaningfully Accelerates AI Business Building AI apps on Azure with Pinecone just got a lot easier Building a reliable, curated, and accurate RAG system with Cleanlab and Pinecone Four features of the Assistant API you aren't using - but should Deploying Pinecone with Infrastructure as Code (IaC) Streamlining CI/CD with Pinecone Local September 2024 Product Update Results of the Big ANN: NeurIPS'23 competition | Pinecone Introducing import from object storage for more efficient data transfer to Pinecone serverless Simplify, enhance, and evaluate RAG development with Pinecone Assistant, now in public preview Vectors and Graphs: Better Together August 2024 Product Update Pinecone Helps Deep Talk Deliver World-Class AI Assistants with Lower Engineering Overhead | Pinecone Assembled Delivers Better, Faster AI- Driven Support with Pinecone | Pinecone Llama 3.1 Agent using LangGraph and Ollama Build knowledgeable AI with Pinecone serverless, now generally available on Microsoft Azure Pinecone serverless is now generally available on Google Cloud, adding knowledge to AI assistants and other applications Accelerating Legal Discovery and Analysis with Pinecone and Voyage AI Bridging Dense and Sparse Maximum Inner Product Search | Pinecone Refine Retrieval Quality with Pinecone Rerank Introducing reranking to Pinecone Inference to simplify building accurate AI July 2024 Product Update Connect to Pinecone within your platform to enable a seamless AI development experience Introducing Pinecone API Versioning RAG Brag with Inkeep Co-Founder Nick Gomez LangGraph and Research Agents Introducing Pinecone Inference to streamline your AI workflow Build Privacy-aware AI software using Pinecone
Don’t be dense: Launching sparse indexes in Pinecone
Jack Pertschuk · 2025-03-05 · via Pinecone

Pinecone has long supported sparse retrieval in serverless indexes, evolving from sparse boosting—where dense and sparse methods are combined—to now offering sparse-only indexes for greater control and precision. This new index type enables direct indexing and retrieval of sparse vectors, supporting both traditional methods like BM25 and advanced learned sparse models such as pinecone-sparse-english-v0, and is now available in public preview for all users.

What are sparse vectors?

First things first: what on earth is a “sparse” vector, and what is the difference between a “sparse” and “dense” vector in machine learning and information retrieval applications, anyway?

A dense vector is what we traditionally think of as coordinates that can be represented on an x/y/z axis, in “Euclidian” space (remember grade school geometry…).

For example, in 3 dimensions the dense vector:

Can be visualized as:

For dense vectors we choose a “dimension”, in this example of 3, which corresponds to the length of the vector. For dense vectors all “dimensions” in the vector need to be represented with a real value number, meaning the space required to represent the vector scales linearly as O(dimension).

Now consider exact-matching text retrieval applications, where we can leverage sparse vectors to represent documents and searches. Consider a case where we want to find articles that contain exact matches for the text search: “Why did the price of Nvidia stock go up today?”

Let’s assign each unique “word” in this search query a unique number:

WordPosition
why0
did1
the2
price3
of4
Nvidia5
......
today9

Then, take this mapping and transform the text query into a vector, where the value at position i in the vector is set to 1 if the term is present in that query.

Query:Why did the price of Nvidia stock go up today?”

Then we can similarly represent the article search results with the same mapping from word to number:

Article 1: “The price of Nvidia went up because they reported strong earnings”

Article 2: “PIMCO had a positive EBIDTA of 2.5B in the second quarter.”

Now we can score the query pairwise with the article, by performing a dot-product multiplication between the query vector and the article vector:

A higher score for a given article compared to others indicates, in this case correctly, that it is more relevant. This works similarly to how an index at the back of a book (remember those) used to work, showing you which pages a given word or phrase appears on.

In this toy example, we can represent each word with an index in a small dense vector, but in practice, the number of unique words in a collection of documents can reach millions (the number of unique words in the Oxford English Dictionary is over 600,000). The space required to store all of these representations as dense vectors renders them impractical: for 100 million articles with a modest total vocabulary size of 100,000, we would have to store 10 trillion real numbers, for a total size of about 40 terabytes.

By representing these vectors as “sparse”, we can take advantage of the fact that most articles will only contain a small subset of words from the total vocabulary. This means that 99%+ of values in the dense vectors from the set of articles are useless “0”s.

We can avoid storing these zero values by instead representing the vectors as a compressed list of (index, score) where each non-zero value is represented by its index (position in the vector) and the corresponding real number score at that position in the vector. For example, the above articles would be represented as:

And the query would be:

Assuming 50 non-zero values per vector, the corresponding size of these sparse representations for 100M vectors would now be 50 * 100,000,000 * 8 bytes = 40GB, 1000x smaller (and cheaper) than before.

In order to score a query against any given document, we again perform the dot-product, multiplying the corresponding scores at each pair of non-zero coordinates in the query and document, and then taking the sum:

Why should you care?

Most people today use Pinecone for high-dimensional dense vector embedding search over text. These dense representations of documents are good at capturing semantic information but don’t achieve the same predictability and precision as traditional sparse or lexical search, due to the lack of exact matching that I’ve shown above.

That’s why sparse or lexical indexes are best suited for search cases where exact token matching is desirable. For example, if you have a corpus of finance articles and want to search for a specific stock ticker like “NVDA” you may want to get all the articles that reference this exact stock ticker. The results can then be ranked based on the contextual importance of that specific token within the document, such as with the pinecone-sparse-english-v0 model (learn more).

Sparse representations of text are also cheaper and faster to produce since documents can be scored either with a heuristic such as BM25 or a cheap model. This makes sparse indices a good fit for applications that are sensitive to overall latency or cost.

Pinecone’s next-generation serverless architecture

Using our new serverless architecture, we’re now able to provide lexical/keyword search through the integrated inference API as well as a new fully managed “sparse” index type which can be leveraged for more custom text search solutions.

Additionally, we leverage our novel serverless LSM search architecture to provide a managed service that scales dynamically with any shape or size of workload, avoiding the need for up-front configuration of parameters or manually scaling shards. This is in sharp contrast to existing sparse or lexical search offerings on the market.

Performance

Pinecone's performance for sparse search outperforms existing state-of-the-art search systems such as Elasticsearch and OpenSearch. Using sparse embeddings produced by the pinecone-sparse-english-v0 model for the MS Marco DL19 dataset of 8.9M vectors, we performed the following benchmarks on a single node Elasticsearch cluster, and an OpenSearch cluster running a single r7g.large.search node. We compared these to the newly available Pinecone sparse vector index type running on similar hardware:

We see that the performance of Pinecone vastly surpasses that of Elasticsearch and OpenSearch (running on AWS), especially when returning a large number of candidates (n=1000). In the following section, I will explain how the superior performance of Pinecone is achieved by a combination of optimal algorithms and low-level hardware optimizations.

Algorithms

In order to perform low-latency search over millions of sparse vectors and return only the most relevant documents (by dot product score), we use an “inverted index” data structure. This data structure stores a list of documents that contain every unique word, ie (from the above example):

For every search query, we look up the list containing all documents that contain that word. Then, we leverage the “MaxScore” algorithm to score the documents in an optimized order, avoiding computing the scores for documents whose scores are guaranteed to be outside of the top results and thus irrelevant anyway.

Non-lexical sparse vectors

Recent research has focused on various techniques for generating embedding vectors that feature the best characteristics of both sparse and dense embeddings. “SPLADE” most notably pioneered the approach, with OpenSearch also publishing a similar offering. These representations are more “dense” than lexical sparse representations since they rely on “word-piece” tokenization, rather than splitting words by whitespace. For example, using SPLADE the sentence:

Why did the price of Nvidia stock go up today

Might be split into “words” like:

wh y did the pri cd of nv da sto ck go up to day

Resulting in embeddings with a smaller vocabulary size, but more non-zero values per document.

While still new and highly experimental, these types of embeddings represent a promising new direction for information retrieval research and are supported by Pinecone’s sparse index offering.

Getting started

The new sparse-only index is now available in public preview for all users. Sparse indexes are priced based on read units, write units, and storage based on the number of vectors and amount of data involved. See our understanding costs documentation for more details.

When combined with dense retrieval and reranking — an approach we call cascading retrieval — you get up to 48% better performance than either sparse or dense alone. Try it out in our notebook or learn more in our recent announcement. We'll update you with more benchmarks and features during our upcoming Launch Week, March 17-21.