Regularising Non-linear Models Using Feature Side-information

Amina Mollaysa, Pablo Strasser, Alexandros Kalousis

In standard machine learning, we often treat input features as independent entities. However, in many real-world scenarios, we possess "side-information" about these features—for instance, we might know that two words have similar semantic meanings (via word embeddings) or that two pixels are spatially adjacent.

While linear models can easily incorporate this side-information by forcing the learned weights of similar features to be close to one another, non-linear models like deep neural networks present a unique challenge. Because parameters in neural networks are shared and interact in complex ways across features, it is impossible to simply "link" two weights. This paper addresses a critical gap: How do we force a black-box non-linear model to respect the intrinsic relationships between its input features?

The Core Intuition: Feature Invariance

The authors' approach is grounded in the concept of invariance. If two features (say, the words "cat" and "kitten") are nearly identical according to our side-information, then slightly shifting the input signal from one feature to the other should not drastically change the model's final output.

To enforce this behavior during training, the authors propose two distinct regularization methods:

1. Analytical Approximation (AN)

Using a first-order Taylor expansion, the authors demonstrate that the invariance requirement mathematically boils down to applying a Laplacian regularizer to the Jacobian of the model. Essentially, this method penalizes the difference between the partial derivatives of the model's output with respect to similar features. This creates a fascinating link between feature side-information and the broader field of "contractive" learning and model stability.

2. Stochastic Approximation (ST)

Because calculating second-order derivatives for the Analytical approach is computationally expensive, the authors introduce a more practical data augmentation approach. For a given training instance, they generate "perturbed" versions by shifting values between similar features while keeping their overall sum constant.

Stochastic Perturbation

The model is then penalized if its predictions for these perturbed pairs differ. While the Analytical approach is mathematically elegant, the Stochastic approach is highly scalable and fits seamlessly into standard Stochastic Gradient Descent (SGD) training pipelines.

Experimental Results

The authors evaluated their framework on two primary fronts:

  • Artificial Datasets: Synthetic benchmarks where features were explicitly clustered into latent factors to test if the regularizers could recover the underlying structure.
  • Real-World Text Classification: Eight document datasets (including BBCsport, Twitter, 20NEWS, and Reuters). Here, the "side-information" was the word2vec representation of the words, providing a semantic map of the features.

Key Findings

The proposed regularizers demonstrated significant advantages over standard techniques:

  • Superior Performance: On synthetic datasets, both the Analytical (AN) and Stochastic (ST) methods outperformed standard $\ell_2$ regularization and Dropout by roughly 10%.
  • Text Classification Dominance: The Stochastic (ST) method was the clear winner in real-world tasks. In single-layer networks, ST significantly outperformed $\ell_2$ in 6 out of 8 text datasets. It also frequently outperformed Word Mover’s Distance (WMD), a specialized metric for document similarity, despite being a more general-purpose framework.
Validation Error Comparison

As shown in the learning curves above, both the ST and AN methods converge to a significantly lower validation error compared to traditional $\ell_2$ and Dropout regularization.

  • Robustness to Sparsity: The method is particularly powerful when the similarity matrix is dense. Interestingly, as the feature relationships become sparser (i.e., less side-information is available), the model naturally reverts to the baseline performance of standard regularizers, ensuring it does no harm.

Limitations and Future Directions

While highly effective, the framework does have limitations. The Analytical approach remains computationally heavy for deep networks. Even with the more efficient Stochastic approach, hyperparameters like the "neighborhood" size for data augmentation must be carefully tuned.

Furthermore, the performance is heavily dependent on the quality of the provided side-information. If the similarity function (e.g., the heat kernel used to process word2vec embeddings) is poorly chosen, the regularization may not yield benefits. To address this, the authors suggest a promising future direction: instead of relying on a fixed similarity function, future models could learn the feature similarity matrix simultaneously with the model parameters.

Summary updated

BibTeX
@inproceedings{mollaysa2017regularising,
  author = {Amina Mollaysa and Pablo Strasser and Alexandros Kalousis},
  title = {{Regularising Non-linear Models Using Feature Side-information}},
  booktitle = {International Conference on Machine Learning},
  year = {2017},
  url = {https://openreview.net/forum?id=HkbTMh-OWS},
}
Figure