The Code Distortion Problem

arXiv:2607.26261 2026 Regularization 1 ideas extracted · analyzed Aug 31, 2026

What the math gives to ML

The paper defines a basis-independent distortion for a linear map between two code subspaces by comparing the largest and smallest multiplicative changes in Hamming weight. This supplies a concrete objective for representation adapters: instead of merely matching mean activations or reconstruction error, enforce that a learned linear map preserves the relative sparsity of directions in a feature subspace. The most practical transfer is a soft, minibatch-estimated distortion regularizer for sparse autoencoders, feature-transfer adapters, or pruning-aware linear layers. Because the exact worst-case objective is combinatorial for neural activations, the implementation should use differentiable soft support together with random and adversarial direction sampling.

Ideas from this paper

Unverified 2026

Uniform Sparsity-Distortion Adapter

Train a linear adapter between two representation spaces so that it preserves not only feature values but also the relative sparsity of sampled directions in the source representation subspace. Penalize the logarithmic spread between the largest and smallest support-size expansion ratios, preventing the adapter from making some directions dense while collapsing others. This is useful for transferring sparse features between checkpoints, aligning sparse autoencoders, or inserting a…

Useful5/10
Difficulty4/10
Novelty7/10
Paper: The Code Distortion Problem arXiv:2607.26261