Towards Data Science

A Gentle Introduction to Autoencoders & Latent Space

Introduction Heavy computation is a well-known problem in various ML algorithms today, especially when generative AI is applied to text, images, and other unstructured data. One of the principal approaches to mitigate this problem is to compress input data into a lower-dimensional representation while preserving the main context.

arXiv Machine Learning
Oct 23

Verification of Unknown Dynamical Systems via Autoencoder Latent Space

The paper presents a formal method for verifying high‑dimensional dynamical systems by reducing dimensionality with convex autoencoders and learning latent dynamics via a kernel‑based approach. It constructs a finite abstraction in the latent space that provably contains all true behaviors of the original system, allowing verification results to be mapped back to the original system. Experiments on several systems, including a 26‑dimensional neural‑network‑controlled system, demonstrate significant scalability improvements.

By Robert Reed, Luca Laurenti, Morteza Lahijanian
arXiv Machine Learning
Jun 25

Variational Autoencoder Layer

arXiv:2606. 25900v1 Announce Type: new Abstract: Variational Autoencoders (VAEs) belong to a family of autoencoders with probabilistic properties, making them well suited for generating data by producing a smooth and continuous latent space.

By Gananath R
arXiv AI
Sep 10

Compressing Sequences in the Latent Embedding Space: $K$-Token Merging for Large Language Models

The paper introduces K-Token Merging, a latent-space compression method that merges each contiguous block of K token embeddings into a single embedding using a lightweight encoder. The compressed sequence is then processed by a LoRA-adapted large language model, while generation continues in the original vocabulary. Experiments on tasks such as structural reasoning, sentiment classification, and code editing demonstrate that K-Token Merging achieves up to 75% input length reduction with minimal performance loss, placing it on the Pareto frontier of performance versus compression.

By Zihao Xu, John Harvill, Ziwei Fan, Yizhou Sun, Hao Ding, Hao Wang
arXiv AI
Sep 2

Superposed Latent Autoencoder

The paper introduces the Superposed Latent Autoencoder (SLAE), a method that stores multiple wide latent representations together by superposing them into a single memory tensor using learned codes and randomized keys. SLAE eliminates the need for tight dimensional bottlenecks, achieving up to 56% lower reconstruction error on datasets such as CIFAR-10/100 and SVHN while maintaining the same storage budget. The approach also boosts downstream classification performance by up to 16.79 percentage points, demonstrating that wide representations can be effectively compressed through structured interference rather than dimensional reduction.

By Quanling Zhao, Jiaying Yang, Tianqi Zhang, Ziyang Hao, Fatemeh Asgarinejad, Flavio Ponzina, Tajana Rosing
arXiv AI
Nov 5

Manifold-Matching Autoencoders: Embedding Data into Chosen Geometric Structures

The paper introduces Manifold-Matching Autoencoders (MMAE), a regularization technique that shapes the latent space of an autoencoder to mimic a chosen geometric structure by minimizing the mean squared error between pairwise distances in a reference representation and those in the latent space. MMAE requires only reference distances, no labels, and can guide any bottleneck dimensionality, enabling efficient comparison with persistence-based and other geometric regularizers across fifteen datasets. Experiments with a two-dimensional bottleneck show that MMAE achieves global-structure quality comparable to persistence-based methods while remaining computationally lightweight.

By Laurent Cheret, Vincent L\'etourneau, Isar Nejadgholi, Chris Drummond, Hussein Al Osman, Maia Fraser
arXiv AI
Jun 8

The Latent Space: Foundation, Evolution, Mechanism, Ability, and Outlook

arXiv:2604. 02029v2 Announce Type: replace Abstract: Latent space is rapidly emerging as a native substrate for language-based models.

By Xinlei Yu, Zhangquan Chen, Yongbo He, Tianyu Fu, Guanting Dong, Cheng Yang, Chengming Xu, Yue Ma, Xiaobin Hu, Zhe Cao, Jie Xu, Guibin Zhang, Jiale Tao, Jiayi Zhang, Siyuan Ma, Kaituo Feng, Haojie Huang, Youxing Li, Ronghao Chen, Huacan Wang, Chenglin Wu, Zikun Su, Xiaogang Xu, Kelu Yao, Kun Wang, Chen Gao, Yue Liao, Ruqi Huang, Tao Jin, Zhucun Xue, Cheng Tan, Jiangning Zhang, Wenqi Ren, Yanwei Fu, Yong Liu, Yu Wang, Xiangyu Yue, Yu-Gang Jiang, Shuicheng Yan
arXiv Computation and Language
Oct 9

Lossy Compressive Text Autoencoders

The paper introduces a lossy compressive text autoencoder that learns a compressed latent representation of text by applying residual downscaling and upscaling along the time axis, culminating in a low‑dimensional discrete bottleneck. The authors evaluate various quantization methods, training objectives, and datasets, measuring reconstruction quality with BLEU and LLM‑based semantic judgments, and also test downstream performance on question‑answering and semantic similarity tasks. Their results show that the compressed representations achieve compression rates comparable to lossless algorithms (2.24 bits per byte on web text) while maintaining strong reconstruction and downstream task performance.

By Vinko Sabol\v{c}ec, Angelos Katharopoulos, David Grangier