# CoWalk: Cooperative Walks for Agentic Batch Queries on Disk-Resident Graphs

DevFeed: [CoWalk: Cooperative Walks for Agentic Batch Queries on Disk-Resident Graphs](<https://devfeed.tech/articles/cowalk-cooperative-walks-for-agentic-batch-queries-on-disk-resident-graphs-108343.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.38404>)

Author: Qiao Liang, Zhiguang Chen, Yue Yu, Nong Xiao

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [ann](<https://devfeed.tech/topics/ann.md>), [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>), [Cache](<https://devfeed.tech/topics/cache.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [ann](<https://devfeed.tech/tags/ann.md>), [approximate-nearest-neighbor](<https://devfeed.tech/tags/approximate-nearest-neighbor.md>), [batch](<https://devfeed.tech/tags/batch.md>), [cache](<https://devfeed.tech/tags/cache.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-ir](<https://devfeed.tech/tags/cs-ir.md>), [deep-research](<https://devfeed.tech/tags/deep-research.md>), [faster](<https://devfeed.tech/tags/faster.md>), [graphs](<https://devfeed.tech/tags/graphs.md>), [grpo](<https://devfeed.tech/tags/grpo.md>), [queries](<https://devfeed.tech/tags/queries.md>), [query](<https://devfeed.tech/tags/query.md>), [research](<https://devfeed.tech/tags/research.md>), [search](<https://devfeed.tech/tags/search.md>), [server](<https://devfeed.tech/tags/server.md>), [systems](<https://devfeed.tech/tags/systems.md>), [target](<https://devfeed.tech/tags/target.md>), [thread](<https://devfeed.tech/tags/thread.md>), [throughput](<https://devfeed.tech/tags/throughput.md>), [vector](<https://devfeed.tech/tags/vector.md>)

## AI overview

CoWalk speeds up batches of related vector searches on disk-resident graphs by running queries as cooperating walks on one thread. Each query retains its own candidate list, while pages are read once per batch and every fetched full-precision vector is ranked for every query. This helps queries reach the target recall with shorter candidate lists, reducing distance calculations and I/O. A shared page cache alone removes duplicate reads but yields only 1.1-1.2x single-thread speedup because it does not change query walks. At recall@10 of 0.95, CoWalk is reported to be 1.6-1.9x faster than the fastest per-query baseline with 2.8-6.9x fewer I/Os; server throughput is 3.0-6.9x higher at similar batch latency.

## Source excerpt

arXiv:2610.38404v1 Announce Type: new Abstract: Workloads such as query rewriting, deep research and group-relative policy optimization (GRPO) issue batches of semantically related vector queries. Existing disk-resident approximate nearest neighbor (ANN) systems process these queries independently. On three workloads, 31 to 67 percent of the I/Os of a batch fetch a page that another query of the batch has already fetched. A page cache shared by the batch removes these I/Os, yet it makes a single-thread search only $1.1$ to $1.2{\times}$ faster, because the search time goes to distance computation and the cache does not change the walk of any query. We present CoWalk, which runs the queries of a batch as cooperating walks on one thread. Every query keeps its own candidate list, a page is read once per batch, and the full-precision vector on every fetched page is ranked by every query of the batch. A query therefore reaches the target recall with a shorter candidate list, which computes fewer distances and issues fewer I/Os. At recall@10 of 0.95, CoWalk answers a batch on one thread $1.6$ to $1.9{\times}$ faster than the fastest per-query baseline and issues $2.8$ to $6.9{\times}$ fewer I/Os. On a server it serves $3.0$ to $6.9{\times}$ the throughput of that baseline at a similar batch latency.