liu.seSök publikationer i DiVA
Ändra sökning
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • 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
Approximative Uncertainty in Neural Network Predictions
Linköpings universitet, Institutionen för systemteknik, Reglerteknik. Linköpings universitet, Tekniska fakulteten.ORCID-id: 0000-0003-0695-0720
2023 (Engelska)Doktorsavhandling, sammanläggning (Övrigt vetenskapligt)
Abstract [en]

Suppose data-driven black-box models, e.g., neural networks, should be used as components in safety-critical systems such as autonomous vehicles. In that case, knowing how uncertain they are in their predictions is crucial. However, this needs to be provided for standard formulations of neural networks. Hence, this thesis aims to develop a method that can, out-of-the-box, extend the standard formulations to include uncertainty in the prediction. The proposed method in the thesis is based on a local linear approximation, using a two-step linearization to quantify the uncertainty in the prediction from the neural network. First, the posterior distribution of the neural network parameters is approximated using a Gaussian distribution. The mean of the distribution is at the maximum a posteriori estimate of the parameters, and the covariance is estimated using the shape of the likelihood function in the vicinity of the estimated parameters. The second linearization is used to propagate the uncertainty in the parameters to uncertainty in the model’s output. Hence, to create a linear approximation of the nonlinear model that a neural network is. 

The first part of the thesis considers regression problems with examples of road-friction experiments using simulated and experimentally collected data. For the model-order selection problem, it is shown that the method does not under-estimate the uncertainty in the prediction of overparametrized models. 

The second part of the thesis considers classification problems. The concept of calibration of the uncertainty, i.e., how reliable the uncertainty is and how close it resembles the true uncertainty, is considered. The proposed method is shown to create calibrated estimates of the uncertainty, evaluated on classical image data sets. From a computational perspective, the thesis proposes a recursive update of the parameter covariance, enhancing the method’s viability. Furthermore, it shows how quantified uncertainty can improve the robustness of a decision process by formulating an information fusion scheme that includes both temporal correlational and correlation between classifiers. Moreover, having access to a measure of uncertainty in the prediction is essential when detecting outliers in the data, i.e., examples that the neural network has yet to see during the training. On this task, the proposed method shows promising results. Finally, the thesis proposes an extension that enables a multimodal representation of the uncertainty. 

The third part of the thesis considers the tracking of objects in image sequences, where the object is detected using standard neural network-based object detection algorithms. It formulates the problem as a filtering problem with the prediction of the class and the position of the object viewed as the measurements. The filtering formulation improves robustness towards false classifications when evaluating the method on examples from animal conservation in the Swedish forests. 

Ort, förlag, år, upplaga, sidor
Linköping: Linköping University Electronic Press, 2023. , s. 59
Serie
Linköping Studies in Science and Technology. Dissertations, ISSN 0345-7524 ; 2358
Nationell ämneskategori
Reglerteknik
Identifikatorer
URN: urn:nbn:se:liu:diva-198552DOI: 10.3384/9789180754064ISBN: 9789180754057 (tryckt)ISBN: 9789180754064 (digital)OAI: oai:DiVA.org:liu-198552DiVA, id: diva2:1805410
Disputation
2023-11-17, Ada Lovelace, B-building and online via Zoom (contact ninna.stensgard@liu.se), Campus Valla, Linköping, 10:15 (Engelska)
Opponent
Handledare
Anmärkning

Funding: The research work in this thesis has been supported by the Sweden's Innovation Agency, Vinnova, through project iQDeep (project number 2018-02700).

Tillgänglig från: 2023-10-17 Skapad: 2023-10-17 Senast uppdaterad: 2024-02-21Bibliografiskt granskad
Delarbeten
1. Asymptotic Prediction Error Variance for Feedforward Neural Networks
Öppna denna publikation i ny flik eller fönster >>Asymptotic Prediction Error Variance for Feedforward Neural Networks
2020 (Engelska)Konferensbidrag, Publicerat paper (Refereegranskat)
Abstract [en]

The prediction uncertainty of a neural network is considered from a classical system identification point of view. To know this uncertainty is extremely important when using a network in decision and feedback applications. The asymptotic covariance of the internal parameters in the network due to noise in the observed dependent variables (output) and model class mismatch, i.e., the true system cannot be exactly described by the model class, is first surveyed. This is then applied to the prediction step of the network to get a closed form expression for the asymptotic, in training data information, prediction variance. Another interpretation of this expression is as the non-asymptotic Cramér-Rao Lower Bound. To approximate this expression, only the gradients and residuals, already computed in the gradient descent algorithms commonly used to train neural networks, are needed. Using a toy example, it is illustrated how the uncertainty in the output of a neural network can be estimated.

Ort, förlag, år, upplaga, sidor
Elsevier, 2020
Serie
IFAC-PapersOnLine, ISSN 2405-8963
Nyckelord
Neural Networks, Feedforward Networks, Uncertainty, System Identification, Estimation Theory, Cramér-Rao Bound, Identification for Control, Machine Learning
Nationell ämneskategori
Reglerteknik
Identifikatorer
urn:nbn:se:liu:diva-175185 (URN)10.1016/j.ifacol.2020.12.1310 (DOI)000652592500179 ()2-s2.0-85104184850 (Scopus ID)
Konferens
21st IFAC World Congress on Automatic Control - Meeting Societal Challenges, electronic meeting, UL 11-17, 2020
Anmärkning

Funding: Swedish Governmental Agency for Innovation SystemsVinnova [2018-02700]

Tillgänglig från: 2021-04-23 Skapad: 2021-04-23 Senast uppdaterad: 2023-10-17Bibliografiskt granskad
2. On the validity of using the delta method for calculating the uncertainty of the predictions from an overparameterized model
Öppna denna publikation i ny flik eller fönster >>On the validity of using the delta method for calculating the uncertainty of the predictions from an overparameterized model
2023 (Engelska)Ingår i: Special issue: 22nd IFAC World Congress / [ed] Hideaki Ishii, Yoshio Ebihara, Jun-ichi Imura, Masaki Yamakita, Elsevier, 2023, Vol. 56, nr 2, s. 5843-5848Konferensbidrag, Publicerat paper (Refereegranskat)
Abstract [en]

The uncertainty in the prediction calculated using the delta method for an over-parameterized (parametric) black-box model is shown to be larger or equal to the uncertainty in the prediction of a canonical (minimal) model. Equality holds if the additional parameters of the overparameterized model do not add flexibility to the model. As a conclusion, for an overparameterized black-box model, the calculated uncertainty in the prediction by the delta method is not underestimated. The results are shown analytically and are validated in a simulation experiment where the relationship between the normalized traction force and the wheel slip of a car is modelled using e.g., a neural network.

Ort, förlag, år, upplaga, sidor
Elsevier, 2023
Serie
IFAC papersonline, E-ISSN 2405-8963
Nyckelord
Machine learning; nonlinear system identification; overparameterized model; uncertainty quantification; neural networks; autonomous vehicles
Nationell ämneskategori
Reglerteknik Kommunikationssystem
Identifikatorer
urn:nbn:se:liu:diva-199286 (URN)10.1016/j.ifacol.2023.10.077 (DOI)001196709200441 ()
Konferens
22nd IFAC World Congress: Yokohama, Japan, July 9-14, 2023
Anmärkning

Funding Agencies|Sweden's innovation agency, Vinnova, through project iQDeep [2018-02700]

Tillgänglig från: 2023-11-24 Skapad: 2023-11-24 Senast uppdaterad: 2024-04-16
3. Modeling of the tire-road friction using neural networks including quantification of the prediction uncertainty
Öppna denna publikation i ny flik eller fönster >>Modeling of the tire-road friction using neural networks including quantification of the prediction uncertainty
2021 (Engelska)Ingår i: 2021 IEEE 24th International Conference on Information Fusion (FUSION), IEEE, 2021, s. 737-742Konferensbidrag, Publicerat paper (Refereegranskat)
Abstract [en]

Despite the great success of neural networks (NN) in many application areas, it is still not obvious how to integrate an NN in a sensor fusion framework. The reason is that the computation of the for fusion required variance of NN is still a rather immature area. Here, we apply a methodology from system identification where uncertainty of the parameters in the NN are first estimated in the training phase, and then this uncertainty is propagated to the output in the prediction phase. This local approach is based on linearization, and it implicitly assumes a good signal-to-noise ratio and persistency of excitation. We illustrate the proposed method on a fundamental problem in advanced driver assistance systems (ADAS), namely to estimate the tire-road friction. This is a single input single output static nonlinear relation that is simple enough to provide insight and it enables comparisons with other parametric approaches. We compare both to existing methods for how to assess uncertainty in NN and standard methods for this problem, and evaluate on real data. The goal is not to improve on simpler methods for this particular application, but rather to validate that our method is on par with simpler model structures, where output variance is immediately provided.

Ort, förlag, år, upplaga, sidor
IEEE, 2021
Nationell ämneskategori
Reglerteknik
Identifikatorer
urn:nbn:se:liu:diva-183848 (URN)10.23919/fusion49465.2021.9626974 (DOI)000869154400097 ()9781737749714 (ISBN)9781665414272 (ISBN)
Konferens
2021 IEEE 24th International Conference on Information Fusion (FUSION), Sun City, South Africa, 1-4 Nov. 2021
Forskningsfinansiär
Vinnova
Anmärkning

Funding agency: Swedens innovation agency, Vinnova [2018-02700]

Tillgänglig från: 2022-03-27 Skapad: 2022-03-27 Senast uppdaterad: 2023-10-17
4. Uncertainty quantification in neural network classifiers—A local linear approach
Öppna denna publikation i ny flik eller fönster >>Uncertainty quantification in neural network classifiers—A local linear approach
2024 (Engelska)Ingår i: Automatica, ISSN 0005-1098, E-ISSN 1873-2836, Vol. 163, artikel-id 111563Artikel i tidskrift (Refereegranskat) Published
Abstract [en]

lassifiers based on neural networks (nn) often lack a measure of uncertainty in the predicted class. We propose a method to estimate the probability mass function (pmf) of the different classes, as well as the covariance of the estimated pmf. First, a local linear approach is used during the training phase to recursively compute the covariance of the parameters in the nn. Secondly, in the classification phase, another local linear approach is used to propagate the covariance of the learned nn parameters to the uncertainty in the output of the last layer of the nn. This allows for an efficient Monte Carlo (mc) approach for; (i) estimating the pmf; (ii) calculating the covariance of the estimated pmf; and (iii) proper risk assessment and fusion of multiple classifiers. Two classical image classification tasks, i.e., mnist, and cfar10, are used to demonstrate the efficiency of the proposed method.

Ort, förlag, år, upplaga, sidor
Elsevier, 2024
Nyckelord
Neural networksUncertainty descriptionsInformation and sensor fusionIdentification and model reduction
Nationell ämneskategori
Sannolikhetsteori och statistik
Identifikatorer
urn:nbn:se:liu:diva-200886 (URN)10.1016/j.automatica.2024.111563 (DOI)001173877200001 ()
Forskningsfinansiär
VetenskapsrådetVinnova
Anmärkning

Funding Agencies|Sweden's innovation agency, Vinnova [2018-02700]; Swedish Research Council

Tillgänglig från: 2024-02-14 Skapad: 2024-02-14 Senast uppdaterad: 2024-03-20
5. Detection of outliers in classification by using quantified uncertainty in neural networks
Öppna denna publikation i ny flik eller fönster >>Detection of outliers in classification by using quantified uncertainty in neural networks
2022 (Engelska)Ingår i: 25th International Conference of Information Fusion, IEEE, 2022Konferensbidrag, Publicerat paper (Refereegranskat)
Abstract [en]

Neural Networks (NNS) can solve very hard classification and estimation tasks but are less well suited to solve complex sensor fusion challenges, such as end-to-end control of autonomous vehicles. Nevertheless, NN can still be a powerful tool for particular sub-problems in sensor fusion. This would require a reliable and quantifiable measure of the stochastic uncertainty in the predictions that can be compared to classical sensor measurements. However, current NN'S output some figure of merit, that is only a relative model fit and not a stochastic uncertainty. We propose to embed the NN'S in a proper stochastic system identification framework. In the training phase, the stochastic uncertainty of the parameters in the (last layers of the) NN is quantified. We show that this can be done recursively with very few extra computations. In the classification phase, Monte-Carlo (MC) samples are used to generate a set of classifier outputs. From this set, a distribution of the classifier output is obtained, which represents a proper description of the stochastic uncertainty of the predictions. We also show how to use the calculated uncertainty for outlier detection by including an artificial outlier class. In this way, the NN fits a sensor fusion framework much better. We evaluate the approach on images of handwritten digits. The proposed method is shown to be on par with MC dropout, while having lower computational complexity, and the outlier detection almost completely eliminates false classifications.

Ort, förlag, år, upplaga, sidor
IEEE, 2022
Nyckelord
Training, Uncertainty, Current measurement, Stochastic systems, Measurement uncertainty, Stochastic processes, Artificial neural networks
Nationell ämneskategori
Reglerteknik
Identifikatorer
urn:nbn:se:liu:diva-188333 (URN)10.23919/FUSION49751.2022.9841376 (DOI)000855689000146 ()9781665489416 (ISBN)9781737749721 (ISBN)
Konferens
25th International Conference of Information Fusion, FUSION 2022, July 4-7, 2022, Linköping, Sweden
Anmärkning

Funding: Swedens innovation agency, Vinnova, through project iQDeep [2018-02700]

Tillgänglig från: 2022-09-09 Skapad: 2022-09-09 Senast uppdaterad: 2023-10-17
6. Extended Target Tracking Utilizing Machine-Learning Software–With Applications to Animal Classification
Öppna denna publikation i ny flik eller fönster >>Extended Target Tracking Utilizing Machine-Learning Software–With Applications to Animal Classification
Visa övriga...
2024 (Engelska)Ingår i: IEEE Signal Processing Letters, ISSN 1070-9908, E-ISSN 1558-2361, Vol. 31, s. 376-380Artikel i tidskrift (Refereegranskat) Published
Abstract [en]

This letter considers the problem of detecting and tracking objects in a sequence of images. The problem is formulated in a filtering framework, using the output of object-detection algorithms as measurements. An extension to the filtering formulation is proposed that incorporates class information from the previous frame to robustify the classification. Further, the properties of the object-detection algorithm are exploited to quantify the uncertainty of the bounding box detection in each frame. The complete filtering method is evaluated on camera trap images of the four large Swedish carnivores, bear, lynx, wolf, and wolverine. The experiments show that the class tracking formulation leads to a more robust classification.

Ort, förlag, år, upplaga, sidor
IEEE, 2024
Nyckelord
Signal processing algorithms;Classification algorithms;Cameras;Target tracking;Filtering algorithms;Standards;Loss measurement;Multi-object tracking;object detection;environmental monitoring;deep learning;Kalman filters
Nationell ämneskategori
Reglerteknik
Identifikatorer
urn:nbn:se:liu:diva-201110 (URN)10.1109/LSP.2024.3353165 (DOI)001166563800001 ()2-s2.0-85182945517 (Scopus ID)
Anmärkning

Funding Agencies|Sweden#x0027;s Innovation Agency, Vinnova

Tillgänglig från: 2024-02-21 Skapad: 2024-02-21 Senast uppdaterad: 2024-03-20

Open Access i DiVA

fulltext(6362 kB)935 nedladdningar
Filinformation
Filnamn FULLTEXT01.pdfFilstorlek 6362 kBChecksumma SHA-512
f196216c2a4d0bf522f9a02877bdb1dafc1a81c69c7e2dbf671cce27515f8f4609c2b35219c6e5924bb5f8d3614fa9090e841228405c1e6c4c427f3e03909811
Typ fulltextMimetyp application/pdf
Beställ online >>

Övriga länkar

Förlagets fulltext

Person

Malmström, Magnus

Sök vidare i DiVA

Av författaren/redaktören
Malmström, Magnus
Av organisationen
ReglerteknikTekniska fakulteten
Reglerteknik

Sök vidare utanför DiVA

GoogleGoogle Scholar
Totalt: 937 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
isbn
urn-nbn

Altmetricpoäng

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

Direktlänk
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • 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