Shard splits embeddings into public prefix and private sharded residual
Shard prevents alignment-based inversion of dense vector stores, requiring orders of magnitude more anchors for successful attacks
AI/ML arXiv 26 Jun 2026 Defense Simulation evidence
Published as “SHARD: cell-keyed residual splitting for alignment-resistant private dense retrieval”
Why it matters
Shard enables high-utility private dense retrieval that resists large-scale alignment attacks, but it does not protect against targeted attacks on a single cell or leakage via overlapping public corpora.
Summary
Shard dramatically improves alignment resistance: the number of known-plaintext anchors needed to recover the private residual grows from a median of 200 to 102,400 when the cell count C is increased to 256, while preserving raw retrieval quality (matching raw nDCG@10 on BEIR) with a much smaller public prefix. The evidence comes from experiments on cached embeddings of five encoders over a 1-million-document corpus and shows full-dimensional reranking restores raw rankings and the anchor-complexity scales roughly C-fold.
What they found 2
- Alignment resistance scales with C, requiring many more known-plaintext anchors to recover the residual.
“the median rises from 200 to 102,400 at C=256”
- Shard de-anonymises none of the probes in the evaluated attacks.
“Shard de-anonymises none.”
Caveats 5
- A targeted attacker focusing on a single victim’s cell needs only about dpriv anchors (320 and 576 on the two encoders), breaking the C-fold protection claim for diffuse leaks.
- An overlapping reference corpus still leaks through the public prefix, allowing exact paragraph lookup after alignment.
- Within a cell the keys cancel, so similarities survive and can be exploited.
- within a cell the keys cancel and similarities survive, a targeted attacker who concentrates on one victim’s cell needs only about dpriv of them, and an overlapping reference corpus still leaks through the public prefix.
- Shard is an attack-aware geometric defence, not a cryptographic privacy guarantee.
What’s new here 4
- Cell-keyed residual splitting replaces a single global rotation with per-cell secret orthogonal keys.
- Alignment-resistance scales with the number of cells C, increasing required anchors by up to 512×.
- Full-dimensional reranking over the keyed residual restores raw retrieval quality lost by half-SVD truncation.
- Public prefix leakage is reduced to a short PCA-based prefix, dramatically lowering neighbour structure exposure.