paper-with-me

홈 › Papers

Variational Neurons in Transformers for Language Modeling

2026-03-30 · Yves Ruffenach arxiv

Transformers for language modeling usually rely on deterministic internal computation, with uncertainty expressed mainly at the output layer. We introduce variational neurons into Transformer feed-forward computation so that uncertainty becomes part of the internal computation itself. Concretely, we replace deterministic feed-forward units with local variational units based on EVE while preserving the overall Transformer backbone. We evaluate this design in compact next-token language-modeling settings. We compare deterministic and variational variants with both predictive and probabilistic criteria. Alongside negative log-likelihood, perplexity and accuracy, we analyze calibration, conditional variance, mutual information and latent-usage statistics. The resulting picture is clear. Variational neurons integrate stably into Transformers, preserve strong predictive performance and produce informative uncertainty signals. The experiments also show that task quality, useful depth and internal stability are distinct properties. These results establish variational Transformers as a practical form of uncertainty-aware language modeling. They show that Transformers can predict with an explicit internal structure of uncertainty, which supports stronger probabilistic evaluation and a more informative analysis of model behavior.

📄 PDF Abstract BibTeX arXiv:2603.28219

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Finding Skill Neurons in Pre-trained Transformer-based Language Models

2022-11-14 · Xiaozhi Wang, Kaiyue Wen, Zhengyan Zhang, Lei Hou 외

Transformer-based pre-trained language models have demonstrated superior performance on various natural language processing tasks. However, it remains unclear how the skills required to handle these tasks distribute amon…

Network Pruning

Variational Transformers for Diverse Response Generation

2020-03-28 · Zhaojiang Lin, Genta Indra Winata, Peng Xu, Zihan Liu 외

Despite the great promise of Transformers in many sequence modeling tasks (e.g., machine translation), their deterministic nature hinders them from generalizing to high entropy tasks such as dialogue response generation.…

DecoderDiversityMachine TranslationResponse Generation+1

Knowledge Neurons in Pretrained Transformers

2021-04-18 · ACL 2022 5 · Damai Dai, Li Dong, Yaru Hao, Zhifang Sui 외

Large-scale pretrained language models are surprisingly good at recalling factual knowledge presented in the training corpus. In this paper, we present preliminary studies on how factual knowledge is stored in pretrained…

Knowledge Neurons in Pretrained Transformers

2021-09-17 · ACL ARR September 2021 9 · Anonymous

Large-scale pretrained language models are surprisingly good at recalling factual knowledge presented in the training corpus. In this paper, we present preliminary studies on how factual knowledge is stored in pretrained…

Tracing Stereotypes in Pre-trained Transformers: From Biased Neurons to Fairer Models

2026-01-09 · Gianmario Voria, Moses Openja, Foutse Khomh, Gemma Catolino 외 arxiv

The advent of transformer-based language models has reshaped how AI systems process and generate text. In software engineering (SE), these models now support diverse activities, accelerating automation and decision-makin…