Structured Probabilistic Coding
Dou Hu, Lingwei Wei, Yaxin Liu, Wei Zhou, Songlin Hu
TL;DR
Structured Probabilistic Coding (SPC) introduces an encoder-only probabilistic coding framework that maps inputs to Gaussian latent variables and jointly optimizes task prediction with a probabilistic encoding objective. A structured regularization term derived from the target label space promotes uniformity across classes in the latent space, enabling better task-specific information capture while preserving Gaussian structure. Empirical results across 12 natural language understanding tasks show SPC improves classification and regression performance, enhances generalization to limited data and out-of-distribution domains, and yields more compact, cluster-friendly representations. The approach offers a robust, encoder-centric alternative to encoder-decoder IB methods, with practical impact for improving pre-trained language models under noise, data scarcity, and domain shifts.
Abstract
This paper presents a new supervised representation learning framework, namely structured probabilistic coding (SPC), to learn compact and informative representations from input related to the target task. SPC is an encoder-only probabilistic coding technology with a structured regularization from the target space. It can enhance the generalization ability of pre-trained language models for better language understanding. Specifically, our probabilistic coding simultaneously performs information encoding and task prediction in one module to more fully utilize the effective information from input data. It uses variational inference in the output space to reduce randomness and uncertainty. Besides, to better control the learning process of probabilistic representations, a structured regularization is proposed to promote uniformity across classes in the latent space. With the regularization term, SPC can preserve the Gaussian structure of the latent code and achieve better coverage of the hidden space with class uniformly. Experimental results on 12 natural language understanding tasks demonstrate that our SPC effectively improves the performance of pre-trained language models for classification and regression. Extensive experiments show that SPC can enhance the generalization capability, robustness to label noise, and clustering quality of output representations.
