Introduction
In machine learning, baking structural priors—such as translation invariance in Convolutional Neural Networks (CNNs)—into a model's architecture is highly effective but notoriously rigid. Many real-world priors are "generalized invariances" that cannot be easily hardcoded into an architecture. Examples include logical relationships in multilabel classification (e.g., "if an image contains a dog, it cannot contain a cat") or data augmentation rules like mixup (where interpolating inputs should identically interpolate their labels).
This paper introduces a convex framework for learning representations that respect these generalized invariances by modeling them as semi-norms. To solve the resulting non-convexity of standard approaches, the authors warp a Reproducing Kernel Hilbert Space (RKHS) into a semi-inner-product (s.i.p.) space and develop a novel Euclidean embedding technique. This allows for the efficient, convex optimization of complex structural priors.
The Challenge of Generalized Invariances
The standard alternative to hardcoding architectures is regularization: penalizing the model when it violates specific rules. However, for most interesting structures, this leads to highly non-convex optimization problems. Previous attempts to maintain convexity relied on RKHS with quadratic penalties. Unfortunately, quadratic penalties—which simply sum up violations—are poor at capturing generalized invariances. These invariances often require measuring the maximum violation over an infinite set of perturbations, which is best modeled as a semi-norm.
The core challenge is that using semi-norms breaks the standard RKHS structure, leading to computationally expensive or non-convex problems.
Methodology: Semi-Inner-Product Spaces
To handle semi-norm regularizers while maintaining convexity, the authors transition from Hilbert spaces to semi-inner-product (s.i.p.) spaces.
- Warping the Space: They augment a standard RKHS norm with a semi-norm functional $R(f)$ that encodes the desired invariances. This creates a new s.i.p. space where the distance metric inherently favors functions that respect the structural rules.
- Euclidean Embedding: Simply learning a predictive model in this space isn't enough; the ultimate goal is representation learning (extracting reusable features). Because s.i.p. spaces are asymmetric (primal and dual representers behave differently), standard kernel linearization tricks like Nyström or Fourier features fail. To overcome this, the authors design a novel commutative mapping to embed the s.i.p. kernel representers into a standard Euclidean space.
- Convex Optimization: This embedding process is formulated as a convex optimization problem that can be solved efficiently using L-BFGS, yielding a new, invariance-aware feature representation for any data point.
Key Results
The authors evaluate their approach across several standard datasets, focusing on mixup (image classification on MNIST, USPS, and Fashion MNIST) and structured multilabel prediction (text classification on Enron, WIPO, and Reuters).
Mixup Performance
The convex embedding approach (Embed) consistently outperformed standard stochastic mixup (Vanilla). Semi-norms allow models to handle invariances over infinite sets; for example, in mixup, the interpolation parameter $\lambda$ is continuous. A semi-norm can penalize the maximum deviation across all possible values of $\lambda$, which is much more robust than summing squared errors over a finite sample. On the MNIST dataset (with 500 training samples), Embed achieved 91.36% accuracy compared to Vanilla's 90.16%.
Structured Multilabel Prediction
When enforcing logical rules like implication and exclusion, Embed beat both a standard Multilabel SVM (ML-SVM) and a Hierarchical SVM (HR-SVM). On the Enron dataset (100 samples), it reached 96.2% accuracy, noticeably higher than HR-SVM's 93.1%.
Sanity Check: Transformation Invariances To verify the mathematical fidelity of their embedding approximation, the authors tested basic transformation invariances (such as rotation and scaling).
As shown in the table above, the s.i.p. embedding (Embed) matched or slightly exceeded the accuracy of exact dual optimization (Dual) and previous RKHS warping methods (Warping), proving that the approximation holds up in practice while outperforming the baseline SVM.
Limitations and Future Directions
While the framework bridges theory and practice by providing a computable algorithm for s.i.p. spaces, there is a theoretical gap. The theoretical guarantees for the s.i.p. space require the regularizer to be absolutely homogeneous. However, in their multilabel experiment, the regularizer designed is sublinear but not absolutely homogeneous. The embedding algorithm still worked perfectly in practice, but the theoretical justification for why it succeeds in this relaxed setting remains an open question.
Looking forward, the authors suggest applying this framework to statistical tests like Maximum Mean Discrepancy (MMD) and the Hilbert-Schmidt Independence Criterion (HSIC). Furthermore, by decoupling architecture from optimization and making representation learning strictly convex, this approach holds significant potential for convexifying deep neural networks and learning robust node representations in graphs to defend against topological adversarial attacks.
Summary updated