Transformers process information through deterministic token representations, leaving their associated uncertainty implicit. We introduce Probabilistic Transformers (ProbFormer), which explicitly represent and propagate token-level uncertainty without additional training. Each probabilistic token is modeled as a Gaussian centered at its original deterministic representation, with variance characterizing its uncertainty. We then analytically propagate this uncertainty through pretrained Transformer blocks as an auxiliary state while preserving the original deterministic operations. In visual generation, this propagated uncertainty enables fine-grained control across three tasks: image refinement, video refinement, and image diversification. Empirically, we observe that high-uncertainty regions closely align with visible artifacts, suggesting that token-level uncertainty faithfully captures localized instability. ProbFormer consistently outperforms state-of-the-art baselines across diverse benchmarks, confirming that its propagated uncertainty provides informative signals beyond deterministic features.
翻译:暂无翻译