Niclas Ståhl
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Research Interests
Niclas Ståhl has a total of 18 co-authors. Here are the top co-authors by number of shared publications:
- Gunnar Mathiason
University of Skövde
9 shared publications Alexander Karlsson
School of Informatics , University of Skövde , 541 28 Skövde , Sweden
6 shared publicationsGöran Falkman
School of Informatics , University of Skövde , 541 28 Skövde , Sweden
6 shared publicationsJonas Boström
4 shared publications- Juhee Bae
University of Skövde
3 shared publications - Alexander Karlsson
University of Skövde
2 shared publications
Latest Publications
- 19 September 2026
- Published by Springer Nature
- p. 250-261
Dual-Calibrated Venn Predictors for Detecting Localized Bias
- 19 September 2026
- Published by Springer Nature
- p. 250-261
Dual-Calibrated Venn Predictors for Detecting Localized Bias
- Open Access
- 11 January 2022
- Published by Elsevier in Ecological Informatics
- Vol. 68
Identifying wetland areas in historical maps using deep convolutional neural networks
- 11 January 2022
- Published by Elsevier in Ecological Informatics
- Vol. 68
Open AccessIdentifying wetland areas in historical maps using deep convolutional neural networks
- 2 September 2021
- Published by Springer Nature
- p. 67-76
Utilising Data from Multiple Production Lines for Predictive Deep Learning Models
- 2 September 2021
- Published by Springer Nature
- p. 67-76
Utilising Data from Multiple Production Lines for Predictive Deep Learning Models
- Open Access
- 19 February 2021
- Published by Springer Nature in SN Computer Science
- Vol. 2 (2) , 1-11
Using Reinforcement Learning for Generating Polynomial Models to Explain Complex Data
Basic oxygen steel making is a complex chemical and physical industrial process that reduces a mix of pig iron and recycled scrap into low-carbon steel. Good understanding of the process and the ability to predict how it will evolve requires long operator experience, but this can be augmented with process target prediction systems. Such systems may use machine learning to learn a model of the process based on a long process history, and have an advantage in that they can make use of vastly more process parameters than operators can comprehend. While it has become less of a challenge to build such prediction systems using machine learning algorithms, actual production implementations are rare. The hidden reasoning of complex prediction model and lack of transparency prevents operator trust, even for models that show high accuracy predictions. To express model behaviour and thereby increasing transparency we develop a reinforcement learning (RL) based agent approach, which task is to generate short polynomials that can explain the model of the process from what it has learnt from process data. The RL agent is rewarded on how well it generates polynomials that can predict the process from a smaller subset of the process parameters. Agent training is done with the REINFORCE algorithm, which enables the sampling of multiple concurrently plausible polynomials. Having multiple polynomials, process developers can evaluate several alternative and plausible explanations, as observed in the historic process data. The presented approach gives both a trained generative model and a set of polynomials that can explain the process. The performance of the polynomials is as good as or better than more complex and less interpretable models. Further, the relative simplicity of the resulting polynomials allows good generalisation to fit new instances of data. The best of the resulting polynomials in our evaluation achieves a better $$R^2$$ score on the test set in comparison to the other machine learning models evaluated.- 19 February 2021
- Published by Springer Nature in SN Computer Science
- Vol. 2 (2) , 1-11
Open AccessUsing Reinforcement Learning for Generating Polynomial Models to Explain Complex Data
Basic oxygen steel making is a complex chemical and physical industrial process that reduces a mix of pig iron and recycled scrap into low-carbon steel. Good understanding of the process and the ability to predict how it will evolve requires long operator experience, but this can be augmented with process target prediction systems. Such systems may use machine learning to learn a model of the process based on a long process history, and have an advantage in that they can make use of vastly more process parameters than operators can comprehend. While it has become less of a challenge to build such prediction systems using machine learning algorithms, actual production implementations are rare. The hidden reasoning of complex prediction model and lack of transparency prevents operator trust, even for models that show high accuracy predictions. To express model behaviour and thereby increasing transparency we develop a reinforcement learning (RL) based agent approach, which task is to generate short polynomials that can explain the model of the process from what it has learnt from process data. The RL agent is rewarded on how well it generates polynomials that can predict the process from a smaller subset of the process parameters. Agent training is done with the REINFORCE algorithm, which enables the sampling of multiple concurrently plausible polynomials. Having multiple polynomials, process developers can evaluate several alternative and plausible explanations, as observed in the historic process data. The presented approach gives both a trained generative model and a set of polynomials that can explain the process. The performance of the polynomials is as good as or better than more complex and less interpretable models. Further, the relative simplicity of the resulting polynomials allows good generalisation to fit new instances of data. The best of the resulting polynomials in our evaluation achieves a better $$R^2$$ score on the test set in comparison to the other machine learning models evaluated. - Open Access
- 8 January 2021
- Published by Association for Computing Machinery (ACM)
- p. 56-62
Understanding Robust Target Prediction in Basic Oxygen Furnace
- 8 January 2021
- Published by Association for Computing Machinery (ACM)
- p. 56-62
Open AccessUnderstanding Robust Target Prediction in Basic Oxygen Furnace
- 5 June 2020
- Published by Springer Nature
- Vol. 1237, 556-568
Evaluation of Uncertainty Quantification in Deep Learning
Artificial intelligence (AI) is nowadays included into an increasing number of critical systems. Inclusion of AI in such systems may, however, pose a risk, since it is, still, infeasible to build AI systems that know how to function well in situations that differ greatly from what the AI has seen before. Therefore, it is crucial that future AI systems have the ability to not only function well in known domains, but also understand and show when they are uncertain when facing something unknown. In this paper, we evaluate four different methods that have been proposed to correctly quantifying uncertainty when the AI model is faced with new samples. We investigate the behaviour of these models when they are applied to samples far from what these models have seen before, and if they correctly attribute those samples with high uncertainty. We also examine if incorrectly classified samples are attributed with an higher uncertainty than correctly classified samples. The major finding from this simple experiment is, surprisingly, that the evaluated methods capture the uncertainty differently and the correlation between the quantified uncertainty of the models is low. This inconsistency is something that needs to be further understood and solved before AI can be used in critical applications in a trustworthy and safe manner.
- 5 June 2020
- Published by Springer Nature
- Vol. 1237, 556-568
Evaluation of Uncertainty Quantification in Deep Learning
Artificial intelligence (AI) is nowadays included into an increasing number of critical systems. Inclusion of AI in such systems may, however, pose a risk, since it is, still, infeasible to build AI systems that know how to function well in situations that differ greatly from what the AI has seen before. Therefore, it is crucial that future AI systems have the ability to not only function well in known domains, but also understand and show when they are uncertain when facing something unknown. In this paper, we evaluate four different methods that have been proposed to correctly quantifying uncertainty when the AI model is faced with new samples. We investigate the behaviour of these models when they are applied to samples far from what these models have seen before, and if they correctly attribute those samples with high uncertainty. We also examine if incorrectly classified samples are attributed with an higher uncertainty than correctly classified samples. The major finding from this simple experiment is, surprisingly, that the evaluated methods capture the uncertainty differently and the correlation between the quantified uncertainty of the models is low. This inconsistency is something that needs to be further understood and solved before AI can be used in critical applications in a trustworthy and safe manner.
- Open Access
- 29 May 2020
- Published by Springer Nature in Metallurgical and Materials Transactions B
- Vol. 51 (4) , 1632-1645
Using Machine Learning for Robust Target Prediction in a Basic Oxygen Furnace System
The steel-making process in a Basic Oxygen Furnace (BOF) must meet a combination of target values such as the final melt temperature and upper limits of the carbon and phosphorus content of the final melt with minimum material loss. An optimal blow end time (cut-off point), where these targets are met, often relies on the experience and skill of the operators who control the process, using both collected sensor readings and an implicit understanding of how the process develops. If the precision of hitting the optimal cut-off point can be improved, this immediately increases productivity as well as material and energy efficiency, thus decreasing environmental impact and cost. We examine the usage of standard machine learning models to predict the end-point targets using a full production dataset. Various causes of prediction uncertainty are explored and isolated using a combination of raw data and engineered features. In this study, we reach robust temperature, carbon, and phosphorus prediction hit rates of 88, 92, and 89 pct, respectively, using a large production dataset.
- 29 May 2020
- Published by Springer Nature in Metallurgical and Materials Transactions B
- Vol. 51 (4) , 1632-1645
Open AccessUsing Machine Learning for Robust Target Prediction in a Basic Oxygen Furnace System
The steel-making process in a Basic Oxygen Furnace (BOF) must meet a combination of target values such as the final melt temperature and upper limits of the carbon and phosphorus content of the final melt with minimum material loss. An optimal blow end time (cut-off point), where these targets are met, often relies on the experience and skill of the operators who control the process, using both collected sensor readings and an implicit understanding of how the process develops. If the precision of hitting the optimal cut-off point can be improved, this immediately increases productivity as well as material and energy efficiency, thus decreasing environmental impact and cost. We examine the usage of standard machine learning models to predict the end-point targets using a full production dataset. Various causes of prediction uncertainty are explored and isolated using a combination of raw data and engineered features. In this study, we reach robust temperature, carbon, and phosphorus prediction hit rates of 88, 92, and 89 pct, respectively, using a large production dataset.
- Open Access
- 19 June 2019
- Published by American Chemical Society (ACS) in Journal of Chemical Information and Modeling
- Vol. 59 (7) , 3166-3176
Deep Reinforcement Learning for Multiparameter Optimization in de novo Drug Design
In medicinal chemistry programs it is key to design and make compounds that are efficacious and safe. This is a long, complex and difficult multi-parameter optimization process, often including several properties with orthogonal trends. New methods for the automated design of compounds against profiles of multiple properties are thus of great value. Here we present a fragment-based reinforcement learning approach based on an actor-critic model, for the generation of novel molecules with optimal properties. The actor and the critic are both modelled with bidirectional long short-term memory (LSTM) networks. The AI method learns how to generate new compounds with desired properties by starting from an initial set of lead molecules and then improve these by replacing some of their fragments. A balanced binary tree based on the similarity of fragments is used in the generative process to bias the output towards structurally similar molecules. The method is demonstrated by a case study showing that 93% of the generated molecules are chemically valid, and a third satisfy the targeted objectives, while there were none in the initial set.
- 19 June 2019
- Published by American Chemical Society (ACS) in Journal of Chemical Information and Modeling
- Vol. 59 (7) , 3166-3176
Open AccessDeep Reinforcement Learning for Multiparameter Optimization in de novo Drug Design
In medicinal chemistry programs it is key to design and make compounds that are efficacious and safe. This is a long, complex and difficult multi-parameter optimization process, often including several properties with orthogonal trends. New methods for the automated design of compounds against profiles of multiple properties are thus of great value. Here we present a fragment-based reinforcement learning approach based on an actor-critic model, for the generation of novel molecules with optimal properties. The actor and the critic are both modelled with bidirectional long short-term memory (LSTM) networks. The AI method learns how to generate new compounds with desired properties by starting from an initial set of lead molecules and then improve these by replacing some of their fragments. A balanced binary tree based on the similarity of fragments is used in the generative process to bias the output towards structurally similar molecules. The method is demonstrated by a case study showing that 93% of the generated molecules are chemically valid, and a third satisfy the targeted objectives, while there were none in the initial set.
- 1 June 2019
- Published by Elsevier in Applied Mathematical Modelling
- Vol. 70, 365-377
Using recurrent neural networks with attention for detecting problematic slab shapes in steel rolling
- 1 June 2019
- Published by Elsevier in Applied Mathematical Modelling
- Vol. 70, 365-377
Using recurrent neural networks with attention for detecting problematic slab shapes in steel rolling
- Open Access
- 30 April 2019
- Published by American Chemical Society (ACS) in ChemRxiv
Deep Reinforcement Learning for Multiparameter Optimization in de novo Drug Design
In medicinal chemistry programs it is key to design and make compounds that are efficacious and safe. This is a long, complex and difficult multi-parameter optimization process, often including several properties with orthogonal trends. New methods for the automated design of compounds against profiles of multiple properties are thus of great value. Here we present a fragment-based reinforcement learning approach based on an actor-critic model, for the generation of novel molecules with optimal properties. The actor and the critic are both modelled with bidirectional long short-term memory (LSTM) networks. The AI method learns how to generate new compounds with desired properties by starting from an initial set of lead molecules and then improve these by replacing some of their fragments. A balanced binary tree based on the similarity of fragments is used in the generative process to bias the output towards structurally similar molecules. The method is demonstrated by a case study showing that 93% of the generated molecules are chemically valid, and a third satisfy the targeted objectives, while there were none in the initial set.
- 30 April 2019
- Published by American Chemical Society (ACS) in ChemRxiv
Open AccessDeep Reinforcement Learning for Multiparameter Optimization in de novo Drug Design
In medicinal chemistry programs it is key to design and make compounds that are efficacious and safe. This is a long, complex and difficult multi-parameter optimization process, often including several properties with orthogonal trends. New methods for the automated design of compounds against profiles of multiple properties are thus of great value. Here we present a fragment-based reinforcement learning approach based on an actor-critic model, for the generation of novel molecules with optimal properties. The actor and the critic are both modelled with bidirectional long short-term memory (LSTM) networks. The AI method learns how to generate new compounds with desired properties by starting from an initial set of lead molecules and then improve these by replacing some of their fragments. A balanced binary tree based on the similarity of fragments is used in the generative process to bias the output towards structurally similar molecules. The method is demonstrated by a case study showing that 93% of the generated molecules are chemically valid, and a third satisfy the targeted objectives, while there were none in the initial set.