cd /news/artificial-intelligence/toploc-a-locality-sensitive-hashing-… · home › topics › artificial-intelligence › article
[ARTICLE · art-122708] src=arxiv.org ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

TOPLOC: A Locality Sensitive Hashing Scheme for Trustless Verifiable Inference

Researchers proposed TOPLOC, a locality-sensitive hashing scheme for verifiable inference that detects unauthorized modifications to large language models with 100% accuracy and no false positives or negatives in empirical evaluations. The method reduces proof memory overhead by 1000x, requiring only 258 bytes per 32 tokens compared to 262 KB for Llama 3.1-8B-Instruct, enabling faster validation than original inference.

read2 min views18 publishedAug 31, 2026
TOPLOC: A Locality Sensitive Hashing Scheme for Trustless Verifiable Inference
Image: source
  [Submitted on 27 Jan 2025 (

[v1](https://arxiv.org/abs/2501.16007v1)), last revised 30 May 2025 (this version, v2)]

[View PDF](https://arxiv.org/pdf/2501.16007)

[HTML (experimental)](https://arxiv.org/html/2501.16007v2)

Abstract:Large language models (LLMs) have proven to be very capable, but access to frontier models currently relies on inference providers. This introduces trust challenges: how can we be sure that the provider is using the model configuration they claim? We propose TOPLOC, a novel method for verifiable inference that addresses this problem. TOPLOC leverages a compact locality-sensitive hashing mechanism for intermediate activations, which can detect unauthorized modifications to models, prompts, or precision with 100% accuracy, achieving no false positives or negatives in our empirical evaluations. Our approach is robust across diverse hardware configurations, GPU types, and algebraic reorderings, which allows for validation speeds significantly faster than the original inference. By introducing a polynomial encoding scheme, TOPLOC minimizes the memory overhead of the generated proofs by $1000\times$, requiring only 258 bytes of storage per 32 new tokens, compared to the 262 KB requirement of storing the token embeddings directly for Llama 3.1-8B-Instruct. Our method empowers users to verify LLM inference computations efficiently, fostering greater trust and transparency in open ecosystems and laying a foundation for decentralized, verifiable and trustless AI services.

Submission history #

From: Jack Min Ong Mr [
[view email](https://arxiv.org/show-email/c0684d24/2501.16007)]

**Mon, 27 Jan 2025 12:46:45 UTC (478 KB)**

[\[v1\]](https://arxiv.org/abs/2501.16007v1)
**[v2]** Fri, 30 May 2025 23:07:40 UTC (139 KB)

References & Citations

...

Bibliographic Explorer

(What is the Explorer?) Connected Papers

(What is Connected Papers?) Litmaps

(What is Litmaps?) scite Smart Citations

(What are Smart Citations?) alphaXiv

(What is alphaXiv?) CatalyzeX Code Finder for Papers

(What is CatalyzeX?) DagsHub

(What is DagsHub?) Gotit.pub

(What is GotitPub?) Hugging Face

(What is Huggingface?) ScienceCast

(What is ScienceCast?) Influence Flower

(What are Influence Flowers?) CORE Recommender

(What is CORE?) arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @toploc 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/toploc-a-locality-se…] indexed:0 read:2min 2026-08-31 · —