Logotyp: till Uppsala universitets webbplats

uu.sePublikationer från Uppsala universitet
Ändra sökning
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association
  • vancouver
  • Annat format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annat 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 (Engelska)Ingår i: Statistics and computing, ISSN 0960-3174, E-ISSN 1573-1375, Vol. 36, artikel-id 232Artikel i tidskrift (Refereegranskat) 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.

Ort, förlag, år, upplaga, sidor
Springer Nature, 2026. Vol. 36, artikel-id 232
Nyckelord [en]
Probabilistic Modelling, Markov Chain Monte Carlo, Bayesian statistics, Natural Language Processing, Gibbs sampling
Nationell ämneskategori
Sannolikhetsteori och statistik
Forskningsämne
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, Vetenskapsrådet
Forskningsfinansiär
Uppsala universitetWallenberg AI, Autonomous Systems and Software Program (WASP)National Academic Infrastructure for Supercomputing in Sweden (NAISS)
Anmärkning

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

Tillgänglig från: 2026-08-20 Skapad: 2026-08-20 Senast uppdaterad: 2026-10-29Bibliografiskt granskad
Ingår i avhandling
1. Probabilistic Embeddings and Reliable Bayesian Inference for Textual Data
Öppna denna publikation i ny flik eller fönster >>Probabilistic Embeddings and Reliable Bayesian Inference for Textual Data
2026 (Engelska)Doktorsavhandling, sammanläggning (Övrigt vetenskapligt)
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.

Ort, förlag, år, upplaga, sidor
Uppsala: Acta Universitatis Upsaliensis, 2026. s. 28
Serie
Digital Comprehensive Summaries of Uppsala Dissertations from the Faculty of Social Sciences, ISSN 1652-9030 ; 246
Nyckelord
Word Embeddings, Probabilistic Machine Learning, Textual Statistics, Bayesian Statistics, Data Quality
Nationell ämneskategori
Sannolikhetsteori och statistik Språkbehandling och datorlingvistik
Forskningsämne
Statistik
Identifikatorer
urn:nbn:se:uu:diva-596091 (URN)978-91-513-2939-0 (ISBN)
Disputation
2026-10-15, Hörsal 2, Ekonomikum, Kyrkogårdsgatan 10, 753 12, Uppsala, 13:15 (Engelska)
Opponent
Handledare
Tillgänglig från: 2026-09-24 Skapad: 2026-08-27 Senast uppdaterad: 2026-10-08

Open Access i DiVA

fulltext(1350 kB)10 nedladdningar
Filinformation
Filnamn FULLTEXT01.pdfFilstorlek 1350 kBChecksumma SHA-512
435d7bb270c39413acded28337cae8b57afac04673361820f73f41e7a2b10256f0822e6aee6e46c8a3d0c83b4103f289da1360ec40af3f64227034a715f5d065
Typ fulltextMimetyp application/pdf

Övriga länkar

Förlagets fulltextScopus

Person

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

Sök vidare i DiVA

Av författaren/redaktören
Yrjänäinen, VäinöBoström, IsacJonasson, JohanMagnusson, Måns
Av organisationen
Statistiska institutionen
I samma tidskrift
Statistics and computing
Sannolikhetsteori och statistik

Sök vidare utanför DiVA

GoogleGoogle Scholar
Totalt: 10 nedladdningar
Antalet nedladdningar är summan av nedladdningar för alla fulltexter. Det kan inkludera t.ex tidigare versioner som nu inte längre är tillgängliga.

doi
urn-nbn

Altmetricpoäng

doi
urn-nbn
Totalt: 22 träffar
RefereraExporteraLänk till posten
Permanent länk

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