Logo: to the web site of Uppsala University

uu.sePublikasjoner fra Uppsala universitet
Endre søk
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
Posterior Sampling of Word Embeddings
Uppsala universitet, Humanistisk-samhällsvetenskapliga vetenskapsområdet, Samhällsvetenskapliga fakulteten, Statistiska institutionen.
Department of Mathematical Sciences, Chalmers University of Technology.ORCID-id: 0009-0004-4953-4123
Department of Mathematical Sciences, Chalmers University of Technology.ORCID-id: 0000-0002-6028-9390
Uppsala universitet, Humanistisk-samhällsvetenskapliga vetenskapsområdet, Samhällsvetenskapliga fakulteten, Statistiska institutionen.
2026 (engelsk)Inngår i: Statistics and computing, ISSN 0960-3174, E-ISSN 1573-1375, Vol. 36, artikkel-id 232Artikkel i tidsskrift (Fagfellevurdert) Published
Abstract [en]

We study Bayesian inference for probabilistic word embedding models, including skip-gram with negative sampling (SGNS) and continuous bag-of-words (CBoW). These models are widely used for inference, but their posteriors are non-identifiable under general linear transformations, which prevents meaningful Bayesian uncertainty quantification. We provide a simple and principled identifiability constraint that yields a well-defined posterior without altering the data model. Building on this, we develop scalable, fully Bayesian posterior sampling algorithms for SGNS and CBoW using Pólya–Gamma augmentation. Our block Gibbs samplers yield exact samples from the posterior and scale well to large corpora due to their straightforward parallelisation. We discuss the efficient implementation of the Gibbs sampler, and provide a fast TensorFlow reference implementation. In a combination of simulations and empirical experiments, we demonstrate that the sampler is both accurate and computationally efficient. It matches the accuracy of NUTS-HMC at a fraction of the computational cost and avoids the variance underestimation of mean-field variational inference. On large real datasets, we show that posterior means yield improved predictive performance, while posterior credible intervals provide meaningful uncertainty quantification for semantic similarity.

sted, utgiver, år, opplag, sider
Springer Nature, 2026. Vol. 36, artikkel-id 232
Emneord [en]
Probabilistic Modelling, Markov Chain Monte Carlo, Bayesian statistics, Natural Language Processing, Gibbs sampling
HSV kategori
Forskningsprogram
Statistik
Identifikatorer
URN: urn:nbn:se:uu:diva-596087DOI: 10.1007/s11222-026-10996-5ISI: 001901580800002Scopus ID: 2-s2.0-105053322946OAI: oai:DiVA.org:uu-596087DiVA, id: diva2:2093981
Ingår i projekt
Förbättrande av probabilistisk programmings generaliserbarhet, Swedish Research Council
Forskningsfinansiär
Uppsala UniversityWallenberg AI, Autonomous Systems and Software Program (WASP)National Academic Infrastructure for Supercomputing in Sweden (NAISS)
Merknad

De två första författarna delar förstaförfattarskapet.

Tilgjengelig fra: 2026-08-20 Laget: 2026-08-20 Sist oppdatert: 2026-10-29bibliografisk kontrollert
Inngår i avhandling
1. Probabilistic Embeddings and Reliable Bayesian Inference for Textual Data
Åpne denne publikasjonen i ny fane eller vindu >>Probabilistic Embeddings and Reliable Bayesian Inference for Textual Data
2026 (engelsk)Doktoravhandling, med artikler (Annet vitenskapelig)
Abstract [en]

This dissertation aims to enable the reliable Bayesian inference from text data, with the specific focus on word embedding models and data quality. The first topic is investigated through probabilistic word embedding models, with particular emphasis on identifiability, posterior uncertainty, and prior specification. Paper I introduces a new family of informative prior distributions for probabilistic word embeddings, while Paper II develops a novel Gibbs sampler and presents a solution for the non-identifiability of the embedding posterior. Furthermore, the thesis develops and analyzes methods for the creation, curation, and preprocessing of large-scale text data, which are commonly required for word embedding models. Paper III presents a general framework for this task and establishes theoretical guarantees for error reduction, and Paper IV provides a case study applying the framework to a parliamentary dataset. By addressing both model-level and data-level challenges, the thesis aims to ensure that statistical analyses of large and potentially noisy text data yield valid and trustworthy conclusions.

sted, utgiver, år, opplag, sider
Uppsala: Acta Universitatis Upsaliensis, 2026. s. 28
Serie
Digital Comprehensive Summaries of Uppsala Dissertations from the Faculty of Social Sciences, ISSN 1652-9030 ; 246
Emneord
Word Embeddings, Probabilistic Machine Learning, Textual Statistics, Bayesian Statistics, Data Quality
HSV kategori
Forskningsprogram
Statistik
Identifikatorer
urn:nbn:se:uu:diva-596091 (URN)978-91-513-2939-0 (ISBN)
Disputas
2026-10-15, Hörsal 2, Ekonomikum, Kyrkogårdsgatan 10, 753 12, Uppsala, 13:15 (engelsk)
Opponent
Veileder
Tilgjengelig fra: 2026-09-24 Laget: 2026-08-27 Sist oppdatert: 2026-10-08

Open Access i DiVA

fulltext(1350 kB)10 nedlastinger
Filinformasjon
Fil FULLTEXT01.pdfFilstørrelse 1350 kBChecksum SHA-512
435d7bb270c39413acded28337cae8b57afac04673361820f73f41e7a2b10256f0822e6aee6e46c8a3d0c83b4103f289da1360ec40af3f64227034a715f5d065
Type fulltextMimetype application/pdf

Andre lenker

Forlagets fulltekstScopus

Person

Yrjänäinen, VäinöMagnusson, Måns

Søk i DiVA

Av forfatter/redaktør
Yrjänäinen, VäinöBoström, IsacJonasson, JohanMagnusson, Måns
Av organisasjonen
I samme tidsskrift
Statistics and computing

Søk utenfor DiVA

GoogleGoogle Scholar
Totalt: 10 nedlastinger
Antall nedlastinger er summen av alle nedlastinger av alle fulltekster. Det kan for eksempel være tidligere versjoner som er ikke lenger tilgjengelige

doi
urn-nbn

Altmetric

doi
urn-nbn
Totalt: 22 treff
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf