liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
On the connection between Noise-Contrastive Estimation and Contrastive Divergence
Linköping University, Department of Computer and Information Science, The Division of Statistics and Machine Learning. Linköping University, Faculty of Arts and Sciences.ORCID iD: 0000-0003-4209-874X
Chalmers University of Technology, Department of Electrical Engineering, Gothenburg, Sweden.
Chalmers University of Technology, Department of Electrical Engineering, Gothenburg, Sweden.
Linköping University, Department of Computer and Information Science, The Division of Statistics and Machine Learning. Linköping University, Faculty of Science & Engineering.ORCID iD: 0000-0003-3749-5820
2024 (English)In: INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND STATISTICS, VOL 238, PMLR , 2024, Vol. 238, p. 3016-3024Conference paper, Published paper (Refereed)
Abstract [en]

Noise-contrastive estimation (NCE) is a popular method for estimating unnormalised probabilistic models, such as energy-based models, which are effective for modelling complex data distributions. Unlike classical maximum likelihood (ML) estimation that relies on importance sampling (resulting in ML-IS) or MCMC (resulting in contrastive divergence, CD), NCE uses a proxy criterion to avoid the need for evaluating an often intractable normalisation constant. Despite apparent conceptual differences, we show that two NCE criteria, ranking NCE (RNCE) and conditional NCE (CNCE), can be viewed as ML estimation methods. Specifically, RNCE is equivalent to ML estimation combined with conditional importance sampling, and both RNCE and CNCE are special cases of CD. These findings bridge the gap between the two method classes and allow us to apply techniques from the ML-IS and CD literature to NCE, offering several advantageous extensions.

Place, publisher, year, edition, pages
PMLR , 2024. Vol. 238, p. 3016-3024
Series
Proceedings of Machine Learning Research, ISSN 2640-3498
Keywords [en]
Unnormalised models, noise-contrastive estimation, contrastive divergence
National Category
Probability Theory and Statistics
Identifiers
URN: urn:nbn:se:liu:diva-204020ISI: 001286500301029OAI: oai:DiVA.org:liu-204020DiVA, id: diva2:1863744
Conference
International Conference on Artificial Intelligence and Statistics, 2-4 May 2024, Palau de Congressos, Valencia, Spain
Funder
Wallenberg AI, Autonomous Systems and Software Program (WASP)
Note

Funding Agencies|Swedish Research Council via the project Handling Uncertainty in Machine Learning Systems [2020-04122]; Wallenberg AI, Autonomous Systems and Software Program (WASP) - Knut and Alice Wallenberg Foundation; Excellence Center at Linkoping-Lund in Information Technology (EL-LIIT)

Available from: 2024-05-31 Created: 2024-05-31 Last updated: 2025-08-20Bibliographically approved
In thesis
1. Perspectives on Predictive and Annotation Uncertainty in Probabilistic Machine Learning
Open this publication in new window or tab >>Perspectives on Predictive and Annotation Uncertainty in Probabilistic Machine Learning
2024 (English)Doctoral thesis, comprehensive summary (Other academic)
Alternative title[sv]
Perspektiv på prediktiv- och etikettosäkerhet i probabilistisk maskininlärning
Abstract [en]

Machine learning models are, just as us humans, exposed to the uncertainty of the world. Following the complexity of real-world events, these models are often employed for prediction tasks where there is no single, ground-truth answer, meaning that it may be impossible to determine the precise outcome of the predicted event beforehand. This aleatoric uncertainty is potentially, but not necessarily, a result of the event in question being part of a larger system, where some information remains undisclosed. 

Moreover, machine learning models are data-driven and typically learn everything they know from data, called training data. The quality of the training data is vital in deter-mining the extent of a machine learning model’s knowledge and, consequently, how well the model performs on a given task. For instance, when training data is limited, this can result in uncertainty originating from a lack knowledge, often referred to as epistemic uncertainty. Furthermore, collected through observation, or measurements, of real-world events, the training data naturally incorporates the uncertainty inherent to these events. Some-times, additional uncertainty is integrated through the processes used to acquire the data, following, for instance, measurement error or human error. One such type of uncertainty is in this thesis termed annotation uncertainty, and relates to the collection of annotations for training models through supervised learning. 

The focus of this thesis lies on probabilistic predictive machine learning models, as an approach to representing different sources of so-called predictive uncertainty, including aleatoric, epistemic and annotation uncertainty. Special attention is given to annotation uncertainty, beginning with an exploration of possible negative effects of this type of uncertainty on the performance of probabilistic predictive models. We analyse how annotation uncertainty, or noise, affects the properties of asymptotic risk minimisers when training models with two different classes of loss functions: strictly proper and a group of previously proposed robust loss functions. The analysis emphasises the importance of considering a model’s ability to accurately estimate predictive uncertainty, also referred to as the model’s reliability, when developing training algorithms robust to annotation noise. 

However, under the umbrella of weak supervision, we also provide two examples of when annotation uncertainty can be allowed, to instead benefit model performance. In the first example, we use ensemble models to generate annotations for the training data, with the aim to teach individual probabilistic models to estimate both aleatoric and epistemic uncertainty in their predictions. Having this ability is beneficial in many applications, one of them being active learning, and, notably, the active learning algorithm constituting the second example. This specific active learning algorithm acquires data samples based on high epistemic uncertainty, believed to represent samples for which there is much gain to be made in terms of model performance. The contribution does not lie in the particular approach to acquiring data samples, but instead in introducing the possibility to make a trade-off between annotation costs and quality of annotations, as part of the active learning algorithm. Such a trade-off has the potential to lead to an improved model performance under a fixed annotation budget.

The thesis also explores topics beyond annotation uncertainty. First, in the context of learning probabilistic machine learning models, we focus on unnormalised probabilistic models, with energy-based models among them. We establish a link between two groups of important methods used for estimating unnormalised models, namely noise-contrastive estimation and approximate maximum likelihood methods. This link provides an improved under-standing of noise-contrastive estimation and serves to create a more coherent framework for the estimation of unnormalised models. Second, for deeper insights into the generalisation behaviour of machine learning models trained using gradient-based learning, we study the epoch-wise double descent phenomenon in two-layer linear neural networks. With this, we identify additional factors contributing to epoch-wise double descent that has not been observed for the simpler linear regression model, which is commonly central to theoretical studies. Although not specific to probabilistic models, these insights could potentially be extended to such models in the future and used to further explore the interplay between annotation uncertainty and model performance.

Place, publisher, year, edition, pages
Linköping: Linköping University Electronic Press, 2024. p. 68
Series
Linköping Studies in Arts and Sciences, ISSN 0282-9800 ; 890Linköping Studies in Statistics, ISSN 1651-1700 ; 18
Keywords
Probabilistic machine learning, Uncertainty estimation, Weak supervision, Probabilistisk maskininlärning, Osäkerhetsskattning, Dataosäkerhet
National Category
Computer and Information Sciences
Identifiers
urn:nbn:se:liu:diva-207737 (URN)10.3384/9789180757997 (DOI)9789180757980 (ISBN)9789180757997 (ISBN)
Public defence
2024-10-25, Ada Lovelace, B-building, Campus Valla, Linköping, 09:00 (English)
Opponent
Supervisors
Note

Funding: This research was financially supported by the Wallenberg AI, Autonomous Systems and Software Program (WASP) funded by the Knut and Alice Wallenberg Foundation, the Excellence Center at Linköping-Lund in Information Technology (ELLIIT), and the Swedish Research Council.

2024-09-19: The thesis was first published online. The online published version reflects the printed version.

2024-11-19: The thesis was updated with an errata list which is also downloadable from the DOI landing page. Before this date the PDF has been downloaded 119 times.

Available from: 2024-09-19 Created: 2024-09-19 Last updated: 2024-11-19Bibliographically approved

Open Access in DiVA

fulltext(944 kB)39 downloads
File information
File name FULLTEXT02.pdfFile size 944 kBChecksum SHA-512
9fb8bc978ac4d6d823e4baafb173e483f25fb04dd89cf5f4e48a7618c01f69794b160da40e52176928aa5eb6b141075a01be422a1ba0154a51b1921c29b2b580
Type fulltextMimetype application/pdf

Other links

Konferensensbidrag / Conference proceedings

Authority records

Olmin, AmandaLindsten, Fredrik

Search in DiVA

By author/editor
Olmin, AmandaLindsten, Fredrik
By organisation
The Division of Statistics and Machine LearningFaculty of Arts and SciencesFaculty of Science & Engineering
Probability Theory and Statistics

Search outside of DiVA

GoogleGoogle Scholar
Total: 41 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 334 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf