# US 2026/0236467 A1 · Vector database lookups and/or inference

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0236467 A1
- Document ID: US20260236467A1
- Status: Published application
- Kind: A1
- Application number: 19/632,239
- Filed: 2026-03-28
- Published: 2026-08-13
- Earliest claimed: 2026-03-28
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Madhur KUMAR; Sandeep Kumar; Sathvik Swaminathan; Sreenivas Subramoney
- Web page: https://patentgrep.com/patent/US20260236467A1

## CPC

- G06F 16/24542: {Plan optimisation}
- G06F 16/24552: {Database cache management}
- G06F 16/2237: {Vectors, bitmaps or matrices}
- G06F 16/24539: {using cached or materialised query results}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for vector database lookups and/or inference are described. An example of a system includes memory of a first type to store one or more of a machine learning model including at least a proper subset of a key-value (KV) cache and weights, a machine learning model memory manager, and/or a vector database search module; and memory of a second type to store one or more of at least a proper subset of the KV cache and weights of the machine learning model and/or the vector database, wherein the machine learning model memory manager is to determine and implement a memory split between the memory of the first type and the memory of the second type for the KV cache and weights of the machine learning model and the vector database search module is to perform an opportunistic, out-of-order vector database lookup upon receiving a vector database request.

## Claims

### Claim 1

A method comprising:
determining a memory split between a kev-value (KV) cache and weights for memory of a first type to be used by a machine learning model based, at least in part, on a total amount of available memory of the first type for the machine learning model and an indication of which layer of the machine learning model is to execute using an accelerator;
migrating a first proper subset of data of the KV cache and weights according to the determined memory split into the memory of the first type and a second proper subset of data of KV cache and weights out of the memory of the first type;
processing at least one token using the machine learning model; and
updating the indication of which layer of the machine learning model is to execute.

### Claim 2 (depends on 1)

The method of claim 1, wherein the machine learning model is attention-based.

### Claim 3 (depends on 1)

The method of claim 1, wherein the memory of the first type is volatile memory and the memory of the second type is non-volatile memory.

### Claim 4 (depends on 1)

The method of claim 1, wherein the KV cache is to occupy a larger portion of the memory of the first type after migration.

### Claim 5 (depends on 4)

The method of claim 4, wherein data for the KV cache is prefetched from the memory of the second type.

### Claim 6 (depends on 5)

The method of claim 5, wherein the prefetch is performed based on at least one hints or access patterns.

### Claim 7

A method comprising:
receiving a request to perform vector database lookup for a query;
performing the vector database lookup by:
sampling a candidate set of nodes to select a plurality of nodes of the vector database to evaluate,
for neighbor nodes of the selected plurality of nodes not in memory of a first type, prefetching the neighbors into the memory of the first type from memory of a second type,
evaluating the neighbors in the memory of the first type by performing a dot product between the selected node(s) and their neighbors irrespective of order in the candidate set of nodes, and
updating the candidate set in-order based on the dot products; and returning the candidate set.

### Claim 8 (depends on 7)

The method of claim 7, wherein the vector database is stored in non-volatile memory.

### Claim 9 (depends on 7)

The method of claim 7, wherein the dot product is performed as a part of a distance calculation.

### Claim 10 (depends on 9)

The method of claim 9, wherein the distance calculation is one of cosine similarity or Euclidean distance.

### Claim 11 (depends on 7)

The method of claim 7, wherein the vector database lookup is a part of a retrieval augmented generation.

### Claim 12 (depends on 7)

The method of claim 7, wherein the memory of the first type is volatile memory and the memory of the second type is non-volatile memory.

### Claim 13

A system comprising:
compute hardware including at least one accelerator and at least one central processing unit (CPU);
memory of a first type to store one or more of a machine learning model including at least a proper subset of a key-value (KV) cache and weights, a machine learning model memory manager, and/or a vector database search module; and
memory of a second type to store one or more of at least a proper subset of the KV cache and weights of the machine learning model and/or the vector database, wherein the machine learning model memory manager is to determine and implement a memory split between the memory of the first type and the memory of the second type for the KV cache and weights of the machine learning model and the vector database search module is to perform an opportunistic, out-of-order vector database lookup upon receiving a vector database request.

### Claim 14 (depends on 13)

The system of claim 13, wherein the machine learning model memory manager is to determine and implement a memory split between the memory of the first type and the memory of the second type for the KV cache and weights of the machine learning model by:
determining a memory split between the KV cache and weights for memory of the first type to be used by a machine learning model based, at least in part, on a total amount of available memory of the first type for the machine learning model and an indication of which layer of the machine learning model is to execute;
migrating a first proper subset of data of the KV cache and weights according to the determined memory split into the memory of the first type and a second proper subset of data of KV cache and weights out of the memory of the first type;
processing at least one token using the machine learning model; and
updating the indication of which layer of the machine learning model is to execute.

### Claim 15 (depends on 14)

The system of claim 14, wherein the machine learning model is attention-based.

### Claim 16 (depends on 14)

The system of claim 14, wherein the memory of the first type is volatile memory and the memory of the second type is non-volatile memory.

### Claim 17 (depends on 14)

The system of claim 14, wherein the KV cache is to occupy a larger portion of the memory of the first type after migration.

### Claim 18 (depends on 13)

The system of claim 13, vector database search module is to perform an opportunistic, out-of-order vector database lookup upon receiving a vector database request by:
sampling a candidate set of nodes to select a plurality of nodes of the vector database to evaluate,
for neighbor nodes of the selected plurality of nodes not in memory of a first type, prefetching the neighbors into the memory of the first type from memory of a second type,
evaluating the neighbors in the memory of the first type by performing a dot product between the selected node(s) and their neighbors irrespective of order in the candidate set of nodes, and
updating the candidate set in-order based on the dot products; and returning the candidate set.

### Claim 19 (depends on 18)

The system of claim 18, wherein the dot product is performed as a part of a distance calculation.

### Claim 20 (depends on 18)

The system of claim 18, wherein the vector database lookup is a part of a retrieval augmented generation.
