Can Bits Seal Language?
Abstract
We present Bits, an encoder that maps each input token to a random sequence of binary values. By working at the finest representational granularity and compressing the result with one small shared network, Bits reduces the input vocabulary to two symbols, 0 and 1, and removes every input parameter indexed by token identity. We evaluate it on 32 tasks in six modalities: human text, genomic and clinical data, code, system logs, EEG signals, and tabular records. It resists six gradient-inversion attacks better than six encoder baselines and four defenses, with TAG recovering up to 167× fewer tokens. Without any defense, it leaks less under TAG than a subword table protected by DP-SGD, gradient compression, InstaHide, or federated DP. It cuts embedding parameters by up to 99% at competitive accuracy and with no computational overhead, and transfers across datasets without re-initialization, since no parameter is tied to a token. Trained from scratch at the Qwen2.5-7B scale, it reaches lower held-out perplexity than an embedding table at every checkpoint of every seed, with a 277× smaller embedding. Code and checkpoints: https://github.com/bit2vec/bitsseal, pip install bitsseal.