Logo: to the web site of Uppsala University

uu.sePublications from Uppsala University
Change search
Link to record
Permanent link

Direct link
Yrjänäinen, Väinö
Publications (5 of 5) Show all publications
Yrjänäinen, V., Boström, I., Jonasson, J. & Magnusson, M. (2026). Posterior Sampling of Word Embeddings. Statistics and computing, 36, Article ID 232.
Open this publication in new window or tab >>Posterior Sampling of Word Embeddings
2026 (English)In: Statistics and computing, ISSN 0960-3174, E-ISSN 1573-1375, Vol. 36, article id 232Article in journal (Refereed) 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.

Place, publisher, year, edition, pages
Springer Nature, 2026
Keywords
Probabilistic Modelling, Markov Chain Monte Carlo, Bayesian statistics, Natural Language Processing, Gibbs sampling
National Category
Probability Theory and Statistics
Research subject
Statistics
Identifiers
urn:nbn:se:uu:diva-596087 (URN)10.1007/s11222-026-10996-5 (DOI)001901580800002 ()2-s2.0-105053322946 (Scopus ID)
Funder
Uppsala UniversityWallenberg AI, Autonomous Systems and Software Program (WASP)National Academic Infrastructure for Supercomputing in Sweden (NAISS)
Note

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

Available from: 2026-08-20 Created: 2026-08-20 Last updated: 2026-10-29Bibliographically approved
Yrjänäinen, V. (2026). Probabilistic Embeddings and Reliable Bayesian Inference for Textual Data. (Doctoral dissertation). Uppsala: Acta Universitatis Upsaliensis
Open this publication in new window or tab >>Probabilistic Embeddings and Reliable Bayesian Inference for Textual Data
2026 (English)Doctoral thesis, comprehensive summary (Other academic)
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.

Place, publisher, year, edition, pages
Uppsala: Acta Universitatis Upsaliensis, 2026. p. 28
Series
Digital Comprehensive Summaries of Uppsala Dissertations from the Faculty of Social Sciences, ISSN 1652-9030 ; 246
Keywords
Word Embeddings, Probabilistic Machine Learning, Textual Statistics, Bayesian Statistics, Data Quality
National Category
Probability Theory and Statistics Natural Language Processing
Research subject
Statistics
Identifiers
urn:nbn:se:uu:diva-596091 (URN)978-91-513-2939-0 (ISBN)
Public defence
2026-10-15, Hörsal 2, Ekonomikum, Kyrkogårdsgatan 10, 753 12, Uppsala, 13:15 (English)
Opponent
Supervisors
Available from: 2026-09-24 Created: 2026-08-27 Last updated: 2026-10-08
Erjavec, T., Kopp, M., Ljubesic, N., Kuzman, T., Rayson, P., Osenova, P., . . . Fiser, D. (2025). ParlaMint II: advancing comparable parliamentary corpora across Europe. Language resources and evaluation, 59(3), 2071-2102
Open this publication in new window or tab >>ParlaMint II: advancing comparable parliamentary corpora across Europe
Show others...
2025 (English)In: Language resources and evaluation, ISSN 1574-020X, E-ISSN 1574-0218, Vol. 59, no 3, p. 2071-2102Article in journal (Refereed) Published
Abstract [en]

The paper presents the results of the ParlaMint II project, which comprise comparable corpora of parliamentary debates of 29 European countries and autonomous regions, covering at least the period from 2015 to 2022, and containing over 1 billion words. The corpora are uniformly encoded, contain rich metadata about their 24 thousand speakers, and are linguistically annotated up to the level of Universal Dependencies syntax and named entities. The paper focuses on the enhancement made since the ParlaMint I project and presents the compilation of the corpora, including the encoding infrastructure, use of GitHub, the production of individual corpora, the common pipeline for producing their distribution, and use of CLARIN services for dissemination. It then gives a quantitative overview of the produced corpora, followed by the qualitative additions made within the ParlaMint II project, namely metadata localisation, the addition of new metadata, such as the political orientation of political parties, the machine translation of the corpora to English and its tagging with semantic classes, and the production of pilot speech corpora. Finally, outreach activities and further work are discussed.

Place, publisher, year, edition, pages
Springer Nature, 2025
Keywords
Parliamentary proceedings, Comparable corpora, TEI
National Category
Natural Language Processing Comparative Language Studies and Linguistics
Identifiers
urn:nbn:se:uu:diva-569101 (URN)10.1007/s10579-024-09798-w (DOI)001385018200001 ()2-s2.0-85213520565 (Scopus ID)
Available from: 2025-10-10 Created: 2025-10-10 Last updated: 2025-10-10Bibliographically approved
Yrjänäinen, V., Mohammadi Norén, F., Borges, R., Jarlbrink, J., Åberg Brorsson, L., Olsson, A. P., . . . Magnusson, M. (2024). The Swedish parliament corpus 1867–2022. In: Nicoletta Calzolari; Min-Yen Kan; Veronique Hoste; Alessandro Lenci; Sakriani Sakti; Nianwen Xue (Ed.), Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024): . Paper presented at 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), 20-25 May, 2024, Torino, Italy (pp. 16100-16112). European Language Resources Association
Open this publication in new window or tab >>The Swedish parliament corpus 1867–2022
Show others...
2024 (English)In: Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024) / [ed] Nicoletta Calzolari; Min-Yen Kan; Veronique Hoste; Alessandro Lenci; Sakriani Sakti; Nianwen Xue, European Language Resources Association, 2024, p. 16100-16112Conference paper, Published paper (Refereed)
Abstract [en]

The Swedish parliamentary records are an important source material for social science and humanities researchers. We introduce a new research corpus, the Swedish Parliament Corpus, which is larger and more developed than previously available research corpora for the Swedish parliament. The corpus contains annotated and structured parliamentary records over more than 150 years, through the bicameral parliament (1867–1970) and the unicameral parliament (1971–). In addition to the records, which contain all speeches in the parliament, we also provide a database of all members of parliament over the same period. Along with the corpus, we describe procedures to ensure data quality. The corpus facilitates detailed analysis of parliamentary speeches in several research fields.

Place, publisher, year, edition, pages
European Language Resources Association, 2024
Series
International Conference on Computational Linguistics, ISSN 2951-2093
Keywords
parliamentary data, Sweden, political debate, language resource, politics, data curation
National Category
General Language Studies and Linguistics Natural Language Processing
Identifiers
urn:nbn:se:uu:diva-548701 (URN)001612977900623 ()978-2-493814-10-4 (ISBN)
Conference
2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), 20-25 May, 2024, Torino, Italy
Available from: 2025-01-28 Created: 2025-01-28 Last updated: 2026-08-27Bibliographically approved
Yrjänäinen, V., Jonasson, J. & Magnusson, M. Iterative Data Curation with Theoretical Guarantees. Journal of Data-centric Machine Learning Research (DMLR)
Open this publication in new window or tab >>Iterative Data Curation with Theoretical Guarantees
(English)In: Journal of Data-centric Machine Learning Research (DMLR)Article in journal (Refereed) Submitted
Abstract [en]

Data accuracy is crucial for reliable research, accurate decision-making, and high-performance machine learning.However, maintaining and improving data accuracy, especially at scale, is challenging and difficult to verify. By combining statistical quality control and branching process theory, we formalize an iterative data curation framework that scales well to large data sets. The framework is agnostic to the source and reliability of proposed data edits, allowing human annotators, automated rules, machine learning models, large language models, and external data sources to be combined within a common statistical process. We prove that under mild assumptions, the proposed iterative approach asymptotically eliminates all errors with probability one for both tabular and textual data.Additionally, we provide guarantees that data accuracy testing further accelerates error reduction. We corroborate these results through simulations on text and tabular data, as well as a real-world application, demonstrating the framework's effectiveness in improving the accuracy of data at scale.

Keywords
data accuracy, iterative data curation, data quality, statistical quality assurance
National Category
Probability Theory and Statistics
Research subject
Statistics
Identifiers
urn:nbn:se:uu:diva-596089 (URN)
Available from: 2026-08-20 Created: 2026-08-20 Last updated: 2026-08-27
Organisations

Search in DiVA

Show all publications