AI Engineer

Better Search Took This AI Agent From 36% to 98% Accuracy - Aamir Shakir, Mixedbread

2055 summary words 9 min summary Watch video

Start with the signal

9 min read

Summary

At-a-Glance

  • Verdict: Watch fully
  • Core thesis: Agent quality and cost at enterprise scale are constrained less by the reasoning model than by retrieval quality; Mixedbread argues that multimodal, late-interaction search can replace lossy chunk-and-vector RAG pipelines and materially improve answer accuracy.
  • Why it matters: For agent systems operating over large, heterogeneous private corpora, poor retrieval causes hallucination-like wrong answers, excessive sub-agent querying, bloated contexts, and rapidly rising token spend even when the base model is capable.
  • Best use: Use this as a design critique of conventional RAG and a vendor/architecture evaluation input for multimodal enterprise retrieval, especially for finance, research, and document-heavy agent workflows.

Executive Summary

Aamir Shakir frames retrieval—not foundation-model intelligence—as the primary bottleneck for agents working on proprietary knowledge. His core argument is that conventional RAG degrades at production scale because it repeatedly compresses rich documents through OCR, parsing, chunking, single-vector embeddings, vector search, and reranking. Each stage can discard document structure, visual context, and fine-grained distinctions that matter in domains such as financial research.

The proposed alternative is Mixedbread's multimodal, late-interaction retrieval system. Rather than represent an entire page or chunk as one embedding, it creates multiple contextualized representations for a document and query. The product indexes pages visually as well as providing OCR and layout metadata, allowing retrieval from charts, tables, scans, and other content that text-only OCR pipelines handle poorly. Results can be tied back to page regions through bounding boxes for citations and review.

For complex questions, the platform exposes a so-called agentic search primitive that decomposes a question into multiple searches and returns source material for a downstream LLM to synthesize. Shakir's architectural recommendation is to let agents select among lexical search, ordinary retrieval, and multi-step retrieval depending on query complexity, rather than compensate for weak search by indiscriminately spawning sub-agents and stuffing more context into models.

The most consequential evidence is a vendor-reported hedge-fund case study: after replacing a conventional OCR/chunking/embedding/vector-database stack across more than one billion documents, answer accuracy reportedly moved from 36% to 98%, while LLM spend fell 3x. These numbers are compelling but should be treated as unverified until the benchmark design, question set, baseline configuration, and definition of accuracy are available.

Key Takeaways

  • Claim: Conventional production RAG is structurally lossy because it transforms rich source material through multiple stages before retrieval. | Evidence: Shakir identifies parsing/OCR, chunking, single-vector embedding, vector retrieval, and reranking as successive compression points; tables, diagrams, page layout, and scanned-PDF information can be lost before the model ever answers a question. | Implication: Ken should treat retrieval quality as an end-to-end evidence-pipeline problem, not a vector-database selection problem; evaluate source fidelity, layout preservation, and citation traceability before optimizing agent prompts or orchestration. | Caveat: The speaker presents this as a broad indictment of conventional RAG, but does not compare against best-in-class hybrid retrieval pipelines, document-aware chunking, or modern multimodal retrieval baselines.
  • Claim: Single-vector embeddings struggle to distinguish fine-grained facts across highly similar documents, and this failure becomes worse as corpora grow. | Evidence: The example is repeated SEC filings or Nvidia earnings reports from different years: a single embedding may broadly encode 'Nvidia earnings report' but fail to isolate the relevant year, metric, or table cell such as net income versus revenue. | Implication: For financial, legal, diligence, or operational corpora, retrieval testing must include near-duplicate documents, time-series filings, table lookups, and entity/metric/date disambiguation—not just general semantic Q&A. | Caveat: This is a conceptual illustration rather than a disclosed benchmark, and hybrid lexical plus dense retrieval can mitigate some ambiguity.
  • Claim: Weak retrieval pushes agents into an expensive compensatory behavior: issuing more queries, spawning sub-agents, and consuming larger contexts in search of evidence. | Evidence: Shakir says a locally ingested corpus searched with terminal-style lexical matching can generate many weak hits, leading the model to read numerous documents; he estimates basic queries can reach $10-$20 each in such conditions. | Implication: Agent cost controls should measure retrieval precision and evidence-token efficiency, not merely model-token price. Better first-pass recall/precision can reduce both latency and the need for complex agentic recovery loops. | Caveat: The $10-$20 figure is anecdotal and depends heavily on corpus size, model pricing, query design, caching, and agent behavior.
  • Claim: Mixedbread's late-interaction approach aims to preserve fine-grained, contextual document information by storing multiple embeddings rather than one embedding per document or chunk. | Evidence: The speaker describes representations for individual concepts such as net income and revenue while retaining document-level context such as the company identity; he positions this as better suited to differentiating similar filings across years. | Implication: Late-interaction retrieval is a credible architecture class to benchmark when exact evidence selection matters; its operational tradeoffs versus dense vectors and hybrid search need to be tested on Ken's own workload. | Caveat: The transcript does not provide model architecture details, retrieval-index cost, storage footprint, latency under large-scale load, or independent quality comparisons.
  • Claim: Multimodal page-level indexing can recover evidence that OCR-only pipelines miss, particularly for charts, tables, and scanned or layout-dependent PDFs. | Evidence: In the Intel earnings-deck demonstration, the system retrieves an answer to a question about Intel Foundry's Q2 2025 operating margin by interpreting the page visually; it also exposes OCR, layout information, screenshots, and bounding boxes for downstream use and source citation. | Implication: For any agent expected to answer from investor decks, spreadsheets, slideware, diagrams, or scans, the evidence layer should preserve page images and coordinates alongside extracted text rather than treating OCR text as the canonical source. | Caveat: The live demonstration suffered from network/loading failures, and the transcript does not independently validate the returned value or compare the task with a tuned OCR-and-table-extraction system.
  • Claim: Query complexity should determine retrieval strategy, with multi-hop questions receiving decomposed, multi-query retrieval before an LLM produces an explanation. | Evidence: For the question of whether Intel Foundry profitability is improving and what drives it, the system classifies it as complex and invokes its 'agentic search' capability, which performs multiple queries and returns evidence for an LLM. The speaker claims it is comparable to 'Astra and Fable' while 40 times faster and cheaper. | Implication: Separate retrieval planning from answer generation. Route simple factual lookup, lexical lookup, semantic retrieval, and multi-hop research differently, with explicit observability into which path was used and whether evidence is sufficient. | Caveat: The named comparison products and the 40x speed/cost claim are not defined or substantiated in the transcript; no routing policy or failure behavior is shown.
  • Claim: The reported business case is that better retrieval can sharply improve answer accuracy while reducing LLM spend, even without changing the intelligence model. | Evidence: A large unnamed hedge fund with over one billion documents reportedly moved from 36% to 98% answer accuracy after replacing its prior OCR/chunking/embedding/vector stack; Mixedbread also reports 3x lower LLM spend because less irrelevant context is read. | Implication: The potential ROI is large enough to justify a controlled retrieval bake-off, but the success criterion should be grounded in a held-out, expert-labeled evaluation set and total cost per correct answer—not headline accuracy alone. | Caveat: This is a vendor-reported, pre-publication case study with no disclosed methodology, sample size, confidence intervals, task mix, attribution analysis, or independent audit. The gain should be regarded as a hypothesis to reproduce, not an established result.

Detailed Brief

Deployment, privacy, and integration posture

  • Claims: Mixedbread positions itself as an integrated retrieval service rather than a collection of separately managed OCR, embedding, vector-database, and reranking vendors.; The platform is intended to ingest PDFs, spreadsheets, images, video, and audio across more than 100 languages, then expose retrieval capabilities as APIs and primitives to agents.; The company positions security and data control as necessary for financial-institution adoption.
  • Evidence: Shakir says Mixedbread built its own search model, database, and ingestion pipelines, and claims zero data retention capabilities.; He says the company is SOC 2 and ISO compliant and offers a bring-your-own-bucket mode.; He reports onboarding banks and hedge funds with billions of documents during the company's first five months, including a hedge-fund deployment completed in roughly one and a half weeks.
  • Caveats: The specific SOC 2 type, ISO standard, deployment topology, customer references, data-processing terms, model-training policy, and controls behind the zero-retention claim are not specified.; Fast onboarding does not establish suitability for a regulated production deployment without security, data-governance, resilience, and observability diligence.
  • Implications: An integrated evidence layer can reduce implementation coordination overhead, but it also concentrates dependency on one vendor's ingestion, indexing, retrieval, and security model.; For sensitive corpora, bring-your-own-storage is only one control; assess identity/access boundaries, encryption, retention, audit logs, deletion semantics, and cross-tenant isolation.

Retrieval-market framing

  • Claims: The speaker characterizes retrieval progress as slow and largely incremental since BM25, in contrast with the step-function experience of modern generative models.; He expects an 'unbundling of intelligence and data': organizations will choose among reasoning models, while a distinct data-access layer determines how effectively those models can operate on private knowledge.
  • Evidence: He dates BM25-style keyword search to the mid-1990s and says the first strong embedding models appeared in 2022.; The product thesis is that agents should receive high-quality evidence through a dedicated retrieval layer, while the downstream LLM can be swapped or selected independently.
  • Caveats: The historical timeline and 'step function' characterization are directional product framing, not a rigorous review of information-retrieval research.; In practice, retrieval and generation are not fully separable: the answer model's multimodal capability, tool-use policy, context window, and citation behavior still affect end-user quality.
  • Implications: Architect systems so retrieval/evidence services are independently measurable and replaceable from the answer model, while retaining an end-to-end evaluation harness for actual user outcomes.

Notable Concepts & Terms

  • Frankenstein stack: The speaker's label for a fragmented RAG implementation assembled from separate OCR, parsing, chunking, embedding, vector database, and reranking vendors; the critique is both information loss and operational complexity.
  • Late interaction model: A retrieval approach using multiple token- or region-level representations for documents and queries rather than one embedding per item, intended to support fine-grained matching while retaining context.
  • Multimodal retrieval: Search over visual and textual source representations, important here because tables, charts, layouts, and scanned documents often contain evidence that text extraction alone loses.
  • Agentic search: Mixedbread's multi-query retrieval mechanism for complex or multi-hop questions; it decomposes research before a downstream LLM synthesizes an answer.
  • Evidence layer: The retrieval, indexing, source-selection, and citation substrate that provides agents with relevant, inspectable private-data context before reasoning or answer generation.
  • Bounding-box citations: References to the specific spatial region on a source page from which retrieved evidence came, enabling analysts to inspect and validate an agent's supporting material.
  • BM25: A classic keyword-based retrieval algorithm, used as the historical baseline in the speaker's account of search evolution and as a contrast to semantic and late-interaction retrieval.
  • Bring your own bucket: A deployment/data-control pattern in which customer data remains in customer-controlled object storage, positioned by the speaker as relevant to enterprise privacy and retention requirements.

Operator Notes / Why Ken Should Care

  • Build or refresh a retrieval evaluation set containing expert-labeled answers and source citations across exact lookups, near-duplicate documents, date-sensitive filings, table extraction, charts, scans, and multi-hop questions.
  • Score retrieval separately from generation: recall of the correct source/page/region, citation precision, answer correctness, latency, and total cost per correct answer.
  • Run a bake-off between the current stack, a strong hybrid lexical-plus-dense baseline, and a multimodal/late-interaction option before accepting claims that standard RAG is categorically insufficient.
  • Instrument agents to record retrieval path, number of searches, context tokens passed, sub-agent fan-out, source coverage, and abstention behavior; use this to identify expensive compensatory search loops.
  • Require diligence on vendor-reported 36%-to-98% results: benchmark construction, leakage controls, baseline tuning, task distribution, human adjudication process, and independently reproducible sample results.
  • For any external retrieval platform handling sensitive data, validate storage ownership, retention/deletion guarantees, permission propagation, auditability, data residency, encryption, and model-training exclusions beyond marketing claims.

Source/Metadata

  • Title: Better Search Took This AI Agent From 36% to 98% Accuracy - Aamir Shakir, Mixedbread
  • Transcript words: 5261
  • Duration seconds: 989
  • Timestamp note: No usable timestamps or chapter markers were present in the supplied transcript; the latter portion substantially repeats the earlier talk.
Full transcript 3051 words · 23 min read
0:12

So quickly about MixSpread and what we're doing before I jump into the interesting things.

0:17

MixSpread started as a research lab around retrieval since we were really sad about the state of how the space was evolving. We have been doing research for two and a half years over how we can make retrieval really good, and we ended up with a product where you can ingest any kind of data and make it searchable for agents—meaning PDFs, spreadsheets, images, video, audio in over 100 languages. So it's a true multi-modal, multi-lingual search where we are owning the models. We built a model from scratch specifically for search. We built our own database so we can provide zero data retention and all the privacy requirements you need. We also built ingestion pipelines so you don't have to manage ingestion, managing OCR, and knowing what to do. Instead, you just dump your data into it and rely on our models working well enough so you can build really powerful agents. I'm really happy that over the last three months—we've been alive for five months—we onboarded banks and hedge funds into MixSpread with billions of documents. The main reason is we are SOC 2 ISO compliant and we have a bring your own bucket mode, meaning we can really offer all the security requirements you need with your data retention.

0:22

When we talk about the evidence layer or using really powerful agents, it mostly comes down to working on your data. So assume you're building an agent or you have an equity analyst. This is just an example query because Intel yesterday released their new GPU cards, the D270, and somehow it has a really weird design that it's using a lot of LPDDR5 memory. So you're an analyst sitting there wondering why Intel is publishing this and why it has so much LPDDR5 and not HBM memory. You would ask your system a question like, "Hey, why does the new Intel D270 use LPDDR5 memory?" Since you probably work in finance, you have a lot of data brokers and data providers who send you interviews, research materials, and so on. So you have this huge knowledge base, and now your analyst is asking this question.

0:26

When you use Claude or Claude Codework with your ingested data locally, it normally uses the terminal and basically lexical search like Grab to figure out, "Hey, where do we find terms like LPDDR5 or Intel and GPUs?" to find documents that could be the closest and most relevant. As you have a lot of PDFs and documents and interviews, you will get a lot of hits and have no relevancy and don't know where to look. So what the model will end up doing is reading every document, and your token cost will just go up and up. The more documents you have, you will end up with per query costing ten or twenty dollars to just ask a really basic question.

0:32

The second downside is also that most PDFs sadly are not really graspable because they're binary format, sometimes they're scans, there are images in there, so you can't really exploit this multi-modal data to work for you. These are the key bottlenecks. Then you think, "Okay, what are people doing and what have people done previously in the space? Who's familiar with the term RAG—Retrieval Augmented Generation?" I think most people will resonate with what I'm going to say now.

0:44

So we were like, "Okay, let's build a sophisticated pipeline where we can make all this data really usable for us," so we have billions of PDFs, podcasts, whatsoever. The first thing we do is parsing. So if you have audio, we do transcription. If you have PDF, we do OCR. Every step introduces noise. If you don't process tables properly, if you don't parse diagrams properly, you will just lose information. Then you do chunking. You already lost information because your tables weren't parsed properly or characters weren't processed properly. Then you do chunking, so if you have figures, tables, pages, where's really the chunk boundary? You're introducing more noise. Then you're giving it to a pure embedding model which takes this information and tries to guess a point in the space to represent what this information is. Since it already lost so much information, you are losing by having this point. This is a super lossy process from going from this really rich information to, "Hey, here's just a point." Then you put it into a vector database, do some retrieval and re-rank.

0:49

Since every step is lossy and you have to add a vendor for every process, you will end up asking, "What is the best OCR? What is the best chunking strategy? What is the best embedding model? What is the best vector database? What is the best re-ranking?" You will just evaluate different vendors for six or eight months to just go live, and you have to allocate four to five people to build something from my perspective super basic, which won't work in the end because there's some inherent limits to how these things are done. We internally call it a "Frankenstein stack."

0:55

There are some proofs why single vector models or just putting all this information into an embedding model and getting one point actually doesn't really work. We can discuss it later if you're interested and I can go on and explain in depth, but this is actually right now the state of the art of what people use. This is also the reason for all the bottlenecks I described—why RAG actually never worked.

1:00

You all probably remember this promise of, "Hey, here's Pinecone or here's any vector database—just put it in and it will just work." But it never really worked out. It comes down to the fact that every step is super lossy and the models we have—the embedding models with the technologies they're using at the moment—are not good enough. You can't really use this information properly.

1:06

The downside when I talk about embedding models is, imagine how an embedding model works. You have information like "I love bread," you put it into a model and it just takes the sentence and puts it somewhere in the space. Later, if you ask, "Hey, who loves bread?" it will put it also into the model and put it somewhere in space as well, and then just search around the query to describe that.

1:11

Now let's think about a financial report like an SEC filing. We have complex tables with all this different information—net income, revenue, and so on. What does this point actually represent? Maybe it represents information about Nvidia, so it's Nvidia's earnings report. But if you have the earnings report from 1996, 2000, and 2026, the points will look really similar. That's why when you have a lot of information which looks very similar, RAG and all these vector database approaches don't work.

1:16

We see with a lot of customers in their classic approach, if there's just a few documents—tens or hundreds of documents—the quality is pretty good. But as you start scaling and going into production, the answer quality will just degrade significantly because this type of vector search and this type of technology is not able to really distinguish between this fine-grained information.

1:21

The issue is you have a poor agent right who wants to really help you. He will do everything his best to serve you and do everything for you. What will this agent start doing? It will just query aggressively. It will spin up tens of sub-agents. It will do more and more queries so it will fill up the context window and every query will become expensive. You can answer it by just putting a lot of agents on that, but the question is, "Is it really the way you want to go into production?" If you also imagine at one point that maybe your fund or your VC will be mostly run by agents and the volume of agent traffic will just increase, the cost of running those systems will just skyrocket.

1:27

This is why we came to the conclusion pretty early when we're working with our customers that intelligence is there, but the real bottleneck is actually access to your data and to your knowledge. We believe that we will see an unbundling of intelligence and data, where you have intelligence where you can choose between different intelligence models, but you need to have the right access to this intelligence for your data so you can make the most of that.

1:33

For this, we built MixSpread. As I mentioned, MixSpread started as a research lab. This is a really interesting graphic, and there's a preview of what's coming next week. It shows how retrieval changed over the last from 1994 to now—it's about 32 years. We started with BM25, which is what Elasticsearch does—simple keyword matching. Then we started coming up with smarter methods. The first really good embedding models were published in 2022, so it took the space 27 years to come up with something better than BM25 for text search. But since then, we have more linear improvement. This is also what we meant with RAG not working because there was never a step function change like we saw with ChatGPT and so on.

1:42

We published our first model by the beginning. We finished training at the end of last year and published at the beginning of this year. It was pretty solid, but the thing we're publishing next week—and we already have live with a lot of our customers—we think is a step function change which overcomes most of the challenges I described before.

1:48

In short, what this model does: it's a late interaction model, meaning instead of having just one embedding, you have multiple embeddings for your documents and multiple embeddings for your queries. Like this, you can really describe fine-grained information on a page. Going back to the SEC filing for Nvidia for different years, the model would figure out an embedding for net income, for net revenue, and so on. But since it's creating it in one pass, it also knows about Nvidia. So every embedding is contextualized with the information which is relevant to you. All this technique, scaling up the model, and better data gives us significant jump in quality, which allows us to do some cool things—which allows us to actually build this product, MixSpread, where you just upload your data and MixSpread takes care of indexing it for you on every page as it looks. Because it's multi-modal, I will show what that means. You then just can give it agent access to MixSpread and the agent does the querying, the reading, the grabbing, everything for you. You can just focus on what's actually fun—building the real application and actually building real RAG.

1:55

So let me show you what this means. This is MixSpread, and what I did here is I uploaded some Intel reports—for example, the Intel earnings deck. What you do in MixSpread is just upload the page. The internet is pretty slow, I hope it will be fine. It failed to load because the internet is slow here. I'm so sorry about that. I should have recorded a video.

2:00

So let's do this. What it does here is there's a figure. Normally, if you would just do OCR on the figure and you want to know the actual revenue of Intel in Q2 2025, if you just went to OCR, you would lose all information and never really be able to match the page because you need to understand what's going on there. But if you create the embedding on the visual prospection—letting the model look at the page, the screenshot, and create the embedding based on that—you are getting rid of all this lossy stuff I was talking about.

2:06

But since not all LLMs are multi-modal, MixSpread still provides stuff like layout information and OCR for your downstream thing, where you can decide to put in the screenshot or the text yourself to do the right thing.

2:13

Let's just try it out together. So let's say we want to know, "Hey, what was Intel's foundry segment operating market margin in Q2 2025?" It goes out. I hope it will work now. Normally it's like sub-200 milliseconds, but you saw the thing before. We see it finds somehow this page here. We're just talking about Intel foundry, and down here—okay, it's talking about Q2 2025 and it understands also that it's somehow about segment revenue. It can really pass all this information. Since we have this visual layout stuff, we can actually reference this with bounding boxes. When your analyst or your agent is deriving a decision, you can actually backtrack and cite where it's coming from. We're providing all the APIs and all the primitives for you to build this experience yourself.

2:18

If you have really complex queries—for example, you want to know something more qualitative like, "Hey, is Intel's foundry profitability improving and what is driving it?"—if you just query it, for example, our system realizes this is a more complex query. Let's do a genetic search. Genetic search is a model we trained. It's like an agent which does multiple queries for your multi-hop reasoning as good as Astra and Fable while being 40 times faster and cheaper. It then goes out and does multiple queries and can really decompose everything and come back with the right data. This data can then be fed into an LLM to actually explain what is happening there. We just also expose it as a primitive. This is just a demo, a playground to show you what's possible, but you can just use it, give it to an agent, and let the agent decide if you want to use grab, normal search, or agentic search depending on the complexity.

2:25

Exactly, and this is as a backup if it wouldn't have worked. So the agent can do everything. Here's a small case study which we will publish also in two weeks from now. It's with a really big hedge fund we onboarded within about one and a half weeks. They have over one billion documents right now and they are building a lot of internal agent platforms for the analysts and for the fund managers to derive qualitative analysis and also come up with decisions like, "Should we do this? Is it a good decision or not?"

2:39

Before, they built what I described before—this chunking, bedding, OCR, some random embedding model, some vector database—and they had an answer accuracy (how often the agent is right) of 36 percent, where the human experts knew the answer and created it. Once they moved to MixSpread, the answer accuracy moved to 98 percent because the issue is not intelligence. It's again getting the right data and just providing way better search to your agents.

2:58

You can first make it really good. Here's a breakdown on multi-modality and text questions, and as you can see, multi-modality just bumps up quite significantly. Second, you use way fewer tokens, so the LLM spend is going down by 3x because most of the tokens are used to find, pass, and read information. As you just fit in really good context, you just need way less LLM cost and the LLM can just focus on what's relevant.

3:04

Exactly, so this is my talk in a nutshell. If you want to try out MixSpread, we have toast flyers downstairs, so if you want to take them, I think they're pretty funny. You can sign up. We have free credits. If you are concerned about security, you can just write us and we activate bring your own bucket within five minutes for all of our customers. Then you can just start trying it. If you have really large corpuses, we provide a lot of free credits so you can benchmark it before really onboarding it. you will end up with per query costing 10 or 20 dollars to just ask a really basic question and

3:15

the second downside of that is also that most pdfs sadly are not really grapple because you know like they're binary format sometimes there scans in their images in there so you can't really exploit this multi-model data relying in there to work for you so these are like the key bottlenecks and then you think okay what are people doing and what people have done previously in the spade space who's familiar with the term rag which we will augment the generation just hands up pretty quickly so i think most people so uh i think you will it will resonate what i'm gonna say now so then we were like okay good let's let's

3:50

build a sophisticated pipeline where can make all this data really really usable for us so we have to billions of pdfs podcasts whatsoever so first thing we do is we do parsing right so if you have um audio we do transcription um if you have pdf we do ocr and what every of the step does it introduces noise so if you can if you don't process tables properly if you don't pass diagrams properly what will happen is that you will just lose information and then you do the chunking so you already lost information because your tables not passed properly or characters are not processed properly then you do the

4:25

some chunking right so if you have figures table pages where's really the chunk boundary so you're introducing more noise and then you're giving it to a pure embedding model which you know like takes this information and then tries to guess a point in the space to you know like what this information represents and since it already lost so much information you are losing then having this point right and this is then a super lossy process from going from this really rich information to hey here's just a point and then you put it into a vector database do some retrieval and re-rank so since every step is

5:00

lossy and you have to add a vendor for every process you will end up hey what is the best ocr what is the best chunking strategy what is the best embedding model uh what is the best vector database what is the best re-ranking so you will just evaluate it for six or eight months different vendors runs so security to just go live and you have to allocate four to five people to that to just build something from my perspective super basic which won't work in the end because there's some inherent limits of how these things are done and we internally call it a frankenstein stack and they're like some proofs why

5:37

you know like the single vector models or like just putting all this information into embedding model and getting one point actually doesn't really work and we can discuss it later if you guys are interested why and i can go on a rant and explain a bit more in depth but this is actually right now the state of the art what people use and this is also the reason like all the bottlenecks i described right now why rack actually never worked so you know like i think you all remember this promise of hey here's pine cone or here's any vector database just put it in and it will just work but it never really worked out and it comes down to that

6:12

it every step is super lossy and that also the models we have the embedding models with the technologies they're using at the moment are not good enough so you you can't really use this information properly and the downside when i talk about this embedding models is you have to imagine like how does embedding model work right you have an information like i love bread you put it into a model and then it just takes the sentence and puts it somewhere in the space and later if you ask hey who loves bread we'll put it also into the model and we'll put it somewhere into space as well and then just

6:46

search around the query hey where's the similar point to basically describe that but now let's think about a financial reports like a sec filling we have like complex tables with all this different information like net income revenue yada yada yada what does this point actually represent right so maybe it informant represents information about nvidia so it's nvidia's earnings report right but if you have the earnings report from 1996 or 2000 and 2026 the points will look really really similar that's why when you have a lot of information which look very similar rec and all this vector database approaches

7:21

don't work and we see with a lot of customers in their classic approach if there's just few documents that say tens of hundreds of documents the quality is pretty good but as you start scaling and going into production the answer quality will just degrade significantly because this type of vector search and this type of technology is not able to really distinguish between this fine-grained information and the issue is you have a pure poor agent right who wants to really help you he will do everything his aisle to serve you and do everything for you so what will this agent start doing it will just query

7:54

aggressively it will spin up tens of sub-agents um we'll do more and more queries so you know it will just fill up the context window and every query will become expensive you can answer it like this by just putting a lot of agents on that but the question is hey is it really the way you want to go into production if you also imagine at one point that maybe your fund or your vc will be mostly run by agents and the volume of agent traffic will just increase so the cost of running those systems will just skyrocket so this is why we came to the conclusion pretty early when we're working with our customers

8:32

that intelligence is there but the real real bottleneck is actually access to your data and to your knowledge and we believe that we will see an unbundling of intelligence and data where you have intelligence where you can choose between different intelligence models but you need to have the right access for this intelligence for your data so you can make the most of that and for this we build um mixed spread so as i mentioned mixed spread started as a research lab and this is a really interesting graphic and there's a preview of what's coming next week um is that retrieval

9:05

how it changed like over the last from 1994 to now it's like what 32 years i think my mental math is not wrong so we started with bm25 this is what elastic searches doing like simple keyword matching and then we just started coming up with smarter method so the first really good embedding models were published in 2022 so it took the space 27 years to come something up for text search better than bm25 but since then we have more like a linear um like improvement and this is also what we meant with rack not working because there was never a step function change like we saw with chat gpt and so and so forth and we published our first

9:45

model by beginning we've finished a training at end of last year published at the beginning of this year it was pretty solid but the thing we're publishing next week and we already live with a lot of our customers we think is a step function change which overcomes most of the challenges i described before just in short what this model does is it's a late interaction model meaning instead of having just one embedding you have multiple embeddings for your documents and you have multiple embeddings for your queries like this you can really describe fine-grained information on a page so going back to the sec

10:16

filling for nvidia for different years right so you would have the model would figure out an embedding for net income for net revenue and citra citra but since it's like creating it in one pass it also knows about nvidia so every embedding is contextualized and with the information which are relevant to you and all this technique and scaling up the model and better data gives us significant jump in quality which allows to do some cool things which allows to actually build this product uh mix spread where you just upload your data mix but takes care of indexing it for you like every page as it looks

10:51

because it's multi-model i will show what it means and you then just can give it agent access to mix spread and the agent does the querying the reading the grabbing everything for you and you can just focus on what's fun actually building the real application and actually building real ri right so let me show you what it means so this is mix spread and what i did here is i uploaded some intel um wait hold on where is it exactly so i uploaded some intel reports here for example the intel earnings deck so what you do in mix spread is just upload the page the internet is pretty slow i hope it will be fine

11:34

so it's because it's failed to load because the internet is slow here i'm so sorry about that um i should have recorded a video um so let's do this cool so what it does here is so we have a slide come on dude so you see there's a uh there's a figure right so normally if you would just do ocr and the figure and you want to know the the actually the revenue of intel in q2 2025 if you just went to ocr you would just all lose all information it would never really able to match the page because you need to understand what's going on there but if you create the embedding on the visual prospection like looking let the model look at the

12:13

page the screenshot and create the embedding based on that you are getting rid of all this loose list stuff i was talking before but since not all lms are multi-model mix spread still provides stuff like layout information and ocr for your downstream thing where you can decide to put in the screenshot or the text yourself to do the right thing and let's just try it out together so let's say we want to know hey what was in intel's foundry segment operator market margin in q2 2025 it goes out i hope it will work now normally it's like sub 200 milliseconds but you saw the thing before um so we see hey it finds somehow this page here we're just talking about

12:53

intel foundry and down here come on you can do it there you go it's talking about q2 2025 and it understands also hey it's somehow about segment revenue and can really pass all this information and since we have this visual layout stuff we can actually reference this with bounding boxes and when your analyst or your agent is deriving to a decision you can actually backtrack and cite where it is coming from and we're providing all the apis and all the primitives for you to build this experience yourself and if you have like really really complex queries for example you want to

13:30

know like something more qualitative now hey uh it's intel's foundry uh profit uh profitably improving and what is driving it so if you just query it for example our system realize hey this is a more complex query let's do a genetic search a genetic search is a model we train toast one it's like a agent which does multiple queries for your multi-hop reasoning is as good as astra and fable while being 40 times faster and cheaper which then goes out and does like multiple queries um and can really decompose everything and come back with the right data and uh this data can then fed into an lm to actually

14:09

explain what what what is happening there and we just also expose it as a primitive this is just a demo a playground to show you what's possible but you can just use it give it to an agent and let the agent decide if if you want to use grab normal search or the agentic search depending on the complexity exactly and yeah um so this is uh was as a backup if it wouldn't have worked um so the agent can do everything and here a small case study which we will publish also in two weeks from now it's like a really big hedge fund we on board it within like one and a half weeks um because they have like over one billion documents

14:45

right now and they are building a lot of internal agent platform for the analyst and for the fund managers to derive qualitative uh analysis and also come up with should we is it a good decision or not and before they have built what i described before this chunking bedding ocr some random embedding model some vector database and they had a answer accuracy like how often the agent is right of 36 where the human experts knew the answer and created it and once they moved to mixed spread the answer accuracy moved to 98 because the again the issue is not intelligence it's again

15:20

getting the right data and just providing way better search to your agents you can first make it really good um here's a breakdown on multi-modality and text questions and as you can see multi-modality it's just bumps up quite significantly but second is you use also way for your tokens so the llm spend is going down by 3x because again most of the tokens are used to find pass and read information and as you just fit in really good context you know like you just need way less llm cost and uh lm can just focus on what's relevant um exactly so this is my talk in a nutshell um if you want to try out mixed spread uh this

15:59

we have toast uh flyers downstairs so if you want to take them i think they're pretty funny um and you can sign up we have free credits uh if you are concerned about security you can just write us we activate bring your own bucket within five minutes for all of our customers and then you can just start trying it and if you have like really large corpuses we provide a lot of free credits so you can benchmark it before really onboarding it

Reading tools

Type to find a passage

Appearance
Ask this transcript

Add a note