• Pricings

  • Research

    Incremental Keyword Private Information Retrieval at CANS 2026

    November 25, 2026

    8 mins read

    Bao Ninh's CANS 2026 talk explains how RisePIR keeps keyword PIR fast when the database changes: milliseconds per update instead of minutes.

    Orochi Network banner: Bao Ninh presented at CANS 2026, Orochi Network Researcher, research paper Incremental Keyword Private Information Retrieval from d-ary Segmented Cuckoo Filters
    Orochi Network researcher Bao Ninh presented "Incremental Keyword Private Information Retrieval from d-ary Segmented Cuckoo Filters" at CANS 2026, the 25th International Conference on Cryptology and Network Security, held in Wollongong, Australia. He gave the talk online on 25 November 2026. The paper shows how a server can answer private key-value lookups and still absorb inserts, updates and deletes in a few milliseconds, where today's practical schemes need minutes to rebuild after a single change.
    The full talk is below. This post walks through the same argument in writing, for readers who want the idea and the numbers without watching all 19 minutes.

    The problem: private lookups on a database that keeps changing

    Private information retrieval (PIR) lets a client read a record from a public database while the server learns nothing about which record it read. There are two kinds. In index PIR, the client asks for the value at a position, for example position 2. In keyword PIR, the client asks for the value of a key, for example the balance of one wallet address. In both cases the server cannot tell which position or key the client asked about.
    Keyword PIR is the one real applications need, because a client usually knows the key it wants, not where that key sits in the server's storage. A password breach check asks whether one password hash is in the breach database, and a wallet asks for the balance of one address, so neither of them knows a record number to ask for.
    The talk focuses on single-server PIR. Multi-server PIR can be secure without any computational assumption, but only if the servers do not collude, and that is hard to guarantee in a real deployment.
    The leading practical single-server schemes are SimplePIR and FrodoPIR for index PIR, and ChalametPIR and KPIR-index for keyword PIR, which are built on top of them. SimplePIR and FrodoPIR are based on the Learning With Errors (LWE) problem, and they answer queries on gigabyte-scale databases in under a second because they move almost all of the work into one preprocessing step: the server multiplies a public LWE matrix with the database to produce a hint, every client downloads the hint once, and after that each query is cheap.
    That design works while the database stays the same. Real databases do not stay the same, and after a single insert, update or delete these keyword PIR schemes have to run the preprocessing again, which every client then has to download again. On a key-value store of about one million keys with 256-byte values, computing that hint takes about 56 to 156 seconds.

    Why one change forces a full rebuild

    Almost every keyword PIR scheme is built from index PIR. First, the server flattens the key-value store into an array, called the relaxed database, where the client can compute from the key alone which positions hold that key's data. Then the client runs index PIR on those positions.
    The rebuild comes from the first step. ChalametPIR uses a Binary Fuse Filter and KPIR-index uses piecewise linear approximation to flatten the store, and neither structure can be updated in place. Adding one new key means flattening again, and the new array differs from the old one almost everywhere.
    The index PIR layer underneath does not have this problem. In SimplePIR and FrodoPIR the hint is linear in the database, so when one cell changes, only one column of the hint changes, and the server can patch that column in place. The cost of a patch grows with the number of changed cells, not with the size of the database.
    So the missing piece is a way to flatten a key-value store into an array that meets two requirements:
    1. An insert, update or delete changes only a constant number of cells, so the hint can be patched instead of rebuilt.
    2. A keyword query costs about the same as one index PIR query over the whole array, so queries stay as fast as in the static schemes.

    The d-ary Segmented Cuckoo Filter

    The first attempt in the paper uses an existing structure that supports updates, the cuckoo filter. Each slot holds a short fingerprint of a key together with its value, and some slots are kept empty for future inserts. A new key has d candidate positions, and an insert puts it into a free one, so a change touches only a constant number of cells and Requirement 1 holds.
    Requirement 2 fails, because the client has to send one index PIR query for each of the d candidate positions and each of those queries reads the whole array. One keyword query then costs d full index PIR queries.
    The paper's fix is a new variant of the cuckoo filter, the d-ary Segmented Cuckoo Filter. It works like a standard cuckoo filter with one change: the table is cut into d segments, and the j-th candidate position of every key always lies in segment j. Each segment is its own index PIR database. A lookup still sends d queries, but each one covers only N/d cells, so together they cost about the same as one index PIR query over all N cells. This holds for any index PIR whose computation is linear in the database size, which includes SimplePIR and FrodoPIR.
    In the construction, each position is a bucket of b slots. The table is allocated once with a fixed size, and a public rule called partial-key cuckoo hashing tells anyone where a key's candidate bucket is in each segment. To look up a key, the client computes its candidate buckets, sends one index PIR query to each segment, and reads the value from the slot whose fingerprint matches. When the database changes, only a constant number of slots are rewritten, and the index PIR patches the hint of each affected segment. Larger d and b let the table fill up further without long chains of moved keys, but they also increase communication, so both are kept small.
    The paper proves that this construction is a correct, secure and incremental keyword PIR scheme on top of any updatable index PIR, not only SimplePIR and FrodoPIR. To the authors' knowledge, it is the first generic construction of this kind.

    RisePIR: results and a live service for Ethereum balances

    RisePIR is the practical instantiation: the d-ary Segmented Cuckoo Filter on top of FrodoPIR (RisePIR-F) and on top of SimplePIR (RisePIR-S), with the hint patching technique from iSimplePIR. Both versions keep the query speed of the underlying scheme, and an update costs time in proportion to the number of changes, not the database size.
    The benchmarks ran on a single thread with about one million keys, stored in N = 2^20 cells, and values of 256 bytes and 1 kilobyte:
    MeasureRisePIRRe-running the preprocessing
    Cost of one database change0.06 to 4.7 ms to patch the hint in place56 to 686 s (256-byte and 1 KB values)
    Online query (one million keys, 256-byte values)under 50 msChalametPIR and KPIR-index: under 50 ms
    That is five to six orders of magnitude faster on updates with no loss in query speed; RisePIR was slightly faster at this setting, partly because the segmented filter expands the store less. The cost is communication: splitting the table into segments makes the response larger than in the static schemes, which is the reason d and b stay small.
    The talk then applies RisePIR to a real privacy problem. When a wallet calls the eth_getBalance RPC method, the RPC provider sees which address the wallet is asking about, and it can learn a lot from that. With RisePIR, the wallet sends a keyword PIR query and the provider returns the balance without learning the address. Ethereum produces a block about every 12 seconds, and each block changes about 433 balances on average, so the provider absorbs each block by patching the hint in place.
    The numbers at Ethereum scale, for the RisePIR-S service:
    MeasureValue
    Accounts with a non-zero balance in the databaseabout 205 million
    One private balance query, end to end0.69 s, with about 435 KB sent each way
    Hint downloaded by the clientabout 554 MB, once
    Rebuild the hint after each block (static approach)29.2 s, longer than two blocks
    RisePIR update per block5.6 ms, about 0.05% of the block time and 5,200 times cheaper than a rebuild
    Without incremental updates, the hint would already be out of date by the time each rebuild finished, so the service only works because updates are cheap. The talk also shows a live demo: the browser downloads the hint once, looks up a balance privately, and the server answers without learning the address. The same demo is public at risepir.org.

    Read the paper and run the code

    View the code on GitHub: the implementation and benchmark harness behind every number in the paper, so you can reproduce the results yourself.