Metraipolis › archive › dc_d211255c0ee8
Signed but Steerable: Measuring and Closing the Text-Vector Integrity Gap in Offline Retrieval-Augmented Generation — arXiv:2611.06498
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.06498
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-05T18:21:08.668Z
- SHA-256 of the archived text
1afc3c30a3aa9da289b691ba9422b1097d78aab3191fbfc3367a830410d267c5- Stable URL of this page
https://metraipolis.com/documento/dc_d211255c0ee8
How to cite
Signed but Steerable: Measuring and Closing the Text-Vector Integrity Gap in Offline Retrieval-Augmented Generation — arXiv:2611.06498 — arXiv (en), https://arxiv.org/abs/2611.06498 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d211255c0ee8 (Metraipolis archive dc_d211255c0ee8, sha256 1afc3c30a3aa9da289b691ba9422b1097d78aab3191fbfc3367a830410d267c5)
BibTeX
@misc{dcd211255c0ee8,
title = {Signed but Steerable: Measuring and Closing the Text-Vector Integrity Gap in Offline Retrieval-Augmented Generation — arXiv:2611.06498},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.06498},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d211255c0ee8; sha256 1afc3c30a3aa9da289b691ba9422b1097d78aab3191fbfc3367a830410d267c5},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.06498. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Offline retrieval-augmented generation (RAG) on edge devices is updated through signed knowledge packs that carry text and precomputed embedding vectors. A signature proves who published a pack, not that its vectors encode its text. We study this text-vector integrity gap. A verifier that recomputes vectors and accepts them within a cosine tolerance concedes a predictable share of queries to an attacker who controls the vectors: the hijack rate equals the distribution of angular retrieval margins at the tolerance (the margin law). Margins are small in five corpora and two embedding models, so an idealised tolerance at the level of floating-point noise leaves up to 5.5% of queries exposed (at most 1.2% in any corpus once exact duplicate documents are excluded), and a threshold calibrated from our CPU INT8-FP32 comparison of a small embedding model (at the empirical 0.1% quantile of honest cosines) leaves 98-100% exposed; on a Raspberry Pi 5 running a local language model, such an attack lowers correct answers from 0.75 to 0.39. Integrity audits of compressed vector stores fare no better: on a FAISS product-quantisation index over 57,638 documents, tampered vectors that all pass the audit put the attacker's document first for 25% of targets. Verifying quantisation codes instead, with ambiguity decided by the verifier, a calibrated guard band and canonicalisation, accepted every honest vector in our samples on three platforms and left the publisher no choice. We also show that common floating-point and dynamic-INT8 inference pipelines are not bit-reproducible across batch sizes or architectures, and report pre-registered negative results on abstention, context pruning and semantic screening. We release code and data. Tema degli esploratori: fiducia digitale e crittografia (elenco arXiv cs.CR, nuovi lavori del giorno). Categorie arXiv: Cryptography and Security (cs.CR) ; Information Retrieval (cs.IR); Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2611.06498 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-11-05T18:15:18.890Z dalla pagina https://arxiv.org/list/cs.CR/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).