Skip to main content

ZATRON

Zero-Access Transformed Retrieval Over Noise — privacy-preserving semantic search via multi-channel modular arithmetic. Search sensitive documents by meaning without exposing content to the database, the server, or even the key holder.

Install

pip install zatron

Quick start

from zatron import ModularBarcodeSystem

system = ModularBarcodeSystem(key="your-secret-key", n_channels=200)
system.fit(corpus_embeddings)                      # fit PCA + quantization

barcodes  = system.encode(corpus_embeddings, doc_ids)
query_bc  = system.encode_query(query_embedding)
distance  = system.compare(query_bc, barcodes[0])  # search in modular space

A neural attacker trained on 80,000 labeled pairs recovers similarity from unprotected signals almost perfectly (rho = 0.90, AUC = 0.999) and gets nothing from ZATRON barcodes (rho = 0.00, AUC = 0.50).

MIT licensed. Method covered by a pending US provisional patent.

Release files for zatron 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zatron 0.1.0
File Size Uploaded
zatron-0.1.0.tar.gz 10.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zatron 0.1.0
File Interpreter ABI Platform
zatron-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / zatron-0.1.0.tar.gz

Download URL zatron-0.1.0.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
90dbf22b23e15a9ef1857aeb85090a0d7a1b80e427de3ee1573b525b1a016fb6
BLAKE2b-256 checksum
How to use checksums
2f8451c73a64445c94ca643f2220a820996e652d85d235a5df6dd9ce4c9bc4e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / zatron-0.1.0-py3-none-any.whl

Download URL zatron-0.1.0-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f1d1b965b34977b5a7d68ddd1b58396078d4cd407c2c509de1f92146b2899e1
BLAKE2b-256 checksum
How to use checksums
914d3ee8b886cb5296ba76882dfba0ef3a52ed565e015cd3919f5b70243f0d70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page