English

Confidence Optimization for Probabilistic Encoding

Machine Learning 2025-07-24 v1 Artificial Intelligence

Abstract

Probabilistic encoding introduces Gaussian noise into neural networks, enabling a smooth transition from deterministic to uncertain states and enhancing generalization ability. However, the randomness of Gaussian noise distorts point-based distance measurements in classification tasks. To mitigate this issue, we propose a confidence optimization probabilistic encoding (CPE) method that improves distance reliability and enhances representation learning. Specifically, we refine probabilistic encoding with two key strategies: First, we introduce a confidence-aware mechanism to adjust distance calculations, ensuring consistency and reliability in probabilistic encoding classification tasks. Second, we replace the conventional KL divergence-based variance regularization, which relies on unreliable prior assumptions, with a simpler L2 regularization term to directly constrain variance. The method we proposed is model-agnostic, and extensive experiments on natural language classification tasks demonstrate that our method significantly improves performance and generalization on both the BERT and the RoBERTa model.

Keywords

Cite

@article{arxiv.2507.16881,
  title  = {Confidence Optimization for Probabilistic Encoding},
  author = {Pengjiu Xia and Yidian Huang and Wenchao Wei and Yuwen Tan},
  journal= {arXiv preprint arXiv:2507.16881},
  year   = {2025}
}
R2 v1 2026-07-01T04:13:59.355Z