Metraipolis › archive › dc_e6f3189e9335

Weight Pair Encoding: Inducing a Smaller Grammar in Neural Network Weights — arXiv:2609.31564

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.31564
License (as archived)
CC0-1.0
Archived
2026-10-08T02:13:20.364Z
SHA-256 of the archived text
79cf347c941c0eb57c0955e99de5b53969668780408de9d03bb1f65dbe980645
Stable URL of this page
https://metraipolis.com/documento/dc_e6f3189e9335

How to cite

Weight Pair Encoding: Inducing a Smaller Grammar in Neural Network Weights — arXiv:2609.31564 — arXiv (en), https://arxiv.org/abs/2609.31564 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e6f3189e9335 (Metraipolis archive dc_e6f3189e9335, sha256 79cf347c941c0eb57c0955e99de5b53969668780408de9d03bb1f65dbe980645)
BibTeX
@misc{dce6f3189e9335,
  title = {Weight Pair Encoding: Inducing a Smaller Grammar in Neural Network Weights — arXiv:2609.31564},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.31564},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e6f3189e9335; sha256 79cf347c941c0eb57c0955e99de5b53969668780408de9d03bb1f65dbe980645},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.31564. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

We show that neural network weights can be explicilty fintuned to admit a smaller grammar. Weight Pair Encoding (WeightPE) does so by placing a lossy Re-Pair compressor inside a straight-through estimator. The int8 weights of the network are flattened into one string, and near-matching Re-Pair patterns are made exactly equal within a global L2 budget. The network computes with the rewritten weights and trains through them with a straight-through estimator. Unlike a flat codebook of fixed-size entries, a grammar offers variable-length patterns and reuses them hierarchically inside larger ones. On the MLP weights of ViT-B/16 and ViT-L/16 finetuned on CIFAR-10, WeightPE produces a Re-Pair grammar 0.43x and 0.38x the size of the one produced by an equivalent int8 QAT run, at a cost of 1.9 and 1.1 accuracy points. The trend extends to different grammar compressors (LZ78, SEQUITUR), over which the networks has not be finetuned against. To our knowledge, this is the first time grammar size has been used as an explicit training objective for network weights.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-28 in cs.LG).
Categorie arXiv: Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.31564 — 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-10-08T01:43:06.761Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-28?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).