Confidence Optimization for Probabilistic Encoding

Pengjiu Xia, Yidian Huang, Wenchao Wei, Yuwen Tan
7/22/2025
cs.LGcs.AI

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xia2025confidence,
  title  = {Confidence Optimization for Probabilistic Encoding},
  author = {Pengjiu Xia and Yidian Huang and Wenchao Wei and Yuwen Tan},
  year   = {2025},
  eprint = {2507.16881},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.16881v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.16881.svg)](https://codeofpaper.com/paper/2507.16881)

Discussion