mlsanityData to 7 Oct 2026

Torus embeddings

arXiv 2603.03135 ↗First posted 3 Mar 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Many data representations are vectors of continuous values. In particular, deep learning embeddings are data-driven representations, typically either unconstrained in Euclidean space, or constrained to a hypersphere. These may also be translated into integer representations (quantised) for efficient large-scale use. However, the fundamental (and most efficient) numeric representation in the overwhelming majority of existing computers is integers with overflow -- and vectors of these integers do not correspond to either of these spaces, but instead to the topology of a (hyper)torus. This mismatch can lead to wasted representation capacity. Here we show that common deep learning frameworks can be adapted, quite simply, to create representations with inherent toroidal topology. We investigate two alternative strategies, demonstrating that a normalisation-based strategy leads to training with desirable stability and performance properties, comparable to a standard hyperspherical L2 normalisation. We also demonstrate that a torus embedding maintains desirable quantisation properties. The torus embedding does not outperform hypersphere embeddings in general, but is comparable, and opens the possibility to train deep embeddings which have an extremely simple pathway to efficient `TinyML' embedded implementation.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 29 references that are in the map. First posted on arXiv 3 Mar 2026.

Builds on

16 of 29 references.

References · 16

  1. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  2. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
  3. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  4. 2020Supervised Contrastive Learningcited by 2,803
  5. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  6. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
  7. 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
  8. 2017NormFace: L2 Hypersphere Embedding for Face Verificationcited by 237
  9. 2021Efficient Deep Learning: A Survey on Making Deep Learning Models Smaller, Faster, and Bettercited by 153
  10. 2023Microscaling Data Formats for Deep Learningcited by 132
  11. 2018Spreading vectors for similarity searchcited by 114
  12. 2024nGPT: Normalized Transformer with Representation Learning on the Hyperspherecited by 68
4 more
  1. 2023A Closer Look at Few-shot Classification Againcited by 46
  2. 2019Regularizing Neural Networks via Minimizing Hyperspherical Energycited by 25
  3. 2023Hubs and Hyperspheres: Reducing Hubness and Improving Transductive Few-shot Learning with Hyperspherical Embeddingscited by 11
  4. 2024Domain-Invariant Representation Learning of Bird Soundscited by 9

Built on by

Not cited yet.