Change search
Link to record
Permanent link

Direct link
Alternative names
Publications (5 of 5) Show all publications
Löfström, T., Löfström, H., Johansson, U., Sönströd, C. & Matela, R. (2025). Calibrated explanations for regression. Machine Learning, 114(4), Article ID 100.
Open this publication in new window or tab >>Calibrated explanations for regression
Show others...
2025 (English)In: Machine Learning, ISSN 0885-6125, E-ISSN 1573-0565, Vol. 114, no 4, article id 100Article in journal (Refereed) Published
Abstract [en]

Artificial Intelligence (AI) methods are an integral part of modern decision support systems. The best-performing predictive models used in AI-based decision support systems lack transparency. Explainable Artificial Intelligence (XAI) aims to create AI systems that can explain their rationale to human users. Local explanations in XAI can provide information about the causes of individual predictions in terms of feature importance. However, a critical drawback of existing local explanation methods is their inability to quantify the uncertainty associated with a feature's importance. This paper introduces an extension of a feature importance explanation method, Calibrated Explanations, previously only supporting classification, with support for standard regression and probabilistic regression, i.e., the probability that the target is below an arbitrary threshold. The extension for regression keeps all the benefits of Calibrated Explanations, such as calibration of the prediction from the underlying model with confidence intervals, uncertainty quantification of feature importance, and allows both factual and counterfactual explanations. Calibrated Explanations for regression provides fast, reliable, stable, and robust explanations. Calibrated Explanations for probabilistic regression provides an entirely new way of creating probabilistic explanations from any ordinary regression model, allowing dynamic selection of thresholds. The method is model agnostic with easily understood conditional rules. An implementation in Python is freely available on GitHub and for installation using both pip and conda, making the results in this paper easily replicable.

Place, publisher, year, edition, pages
Springer, 2025
Keywords
Explainable AI, Feature importance, Calibrated explanations, Uncertainty quantification, Regression, Probabilistic regression, Counterfactual explanations, Conformal predictive systems
National Category
Artificial Intelligence
Identifiers
urn:nbn:se:hj:diva-67398 (URN)10.1007/s10994-024-06642-8 (DOI)001427670500004 ()2-s2.0-85218409420 (Scopus ID)HOA;;1004935 (Local ID)HOA;;1004935 (Archive number)HOA;;1004935 (OAI)
Funder
Knowledge Foundation
Available from: 2025-03-04 Created: 2025-03-04 Last updated: 2025-03-04Bibliographically approved
Matela, R. (2021). Express: Applications of dynamically typed Haskell expressions. In: Proceedings of the 14th ACM SIGPLAN International Symposium on Haskell: . Paper presented at 14th ACM SIGPLAN International Symposium on Haskell, August 26–27, 2021, Virtual, Republic of Korea (pp. 98-109). ACM Digital Library
Open this publication in new window or tab >>Express: Applications of dynamically typed Haskell expressions
2021 (English)In: Proceedings of the 14th ACM SIGPLAN International Symposium on Haskell, ACM Digital Library, 2021, p. 98-109Conference paper, Published paper (Refereed)
Abstract [en]

This paper presents Express, a library for manipulating dynamically typed Haskell expressions involving function application and variables. Express works as a wrapper around the Data.Dynamic module and provides additional features such as: explicit encoding of function applicaion thus delayed application between values, support for variable placeholders and expression matching. This paper shows these additions make this library useful in generating program specifications, automated testing and program synthesis.

Place, publisher, year, edition, pages
ACM Digital Library, 2021
Keywords
program specification, functional expressions, automated testing, Haskell, program synthesis
National Category
Computer Sciences
Identifiers
urn:nbn:se:hj:diva-63322 (URN)10.1145/3471874.3472986 (DOI)978-1-4503-8615-9 (ISBN)
Conference
14th ACM SIGPLAN International Symposium on Haskell, August 26–27, 2021, Virtual, Republic of Korea
Available from: 2024-01-12 Created: 2024-01-12 Last updated: 2024-01-12Bibliographically approved
Braquehais, R. & Runciman, C. (2017). Extrapolate: Generalizing counterexamples of functional test properties. In: Proceedings of the 29th Symposium on the Implementation and Application of Functional Programming Languages: . Paper presented at 29th Symposium on the Implementation and Application of Functional Programming Languages, August 30-September 1, 2017, Bristol, United Kingdom. ACM Digital Library
Open this publication in new window or tab >>Extrapolate: Generalizing counterexamples of functional test properties
2017 (English)In: Proceedings of the 29th Symposium on the Implementation and Application of Functional Programming Languages, ACM Digital Library, 2017Conference paper, Published paper (Refereed)
Abstract [en]

This paper presents a new tool called Extrapolate that automatically generalizes counterexamples found by property-based testing in Haskell. Example applications show that generalized counterexamples can inform the programmer more fully and more immediately what characterises failures. Extrapolate is able to produce more general results than similar tools. Although it is intrinsically unsound, as reported generalizations are based on testing, it works well for examples drawn from previous published work in this area.

Place, publisher, year, edition, pages
ACM Digital Library, 2017
Keywords
enumerative property-based testing, Haskell, functional programming, systematic testing
National Category
Computer Sciences
Identifiers
urn:nbn:se:hj:diva-63320 (URN)10.1145/3205368.3205371 (DOI)978-1-4503-6343-3 (ISBN)
Conference
29th Symposium on the Implementation and Application of Functional Programming Languages, August 30-September 1, 2017, Bristol, United Kingdom
Available from: 2024-01-12 Created: 2024-01-12 Last updated: 2024-01-12Bibliographically approved
Braquehais, R. & Runciman, C. (2017). Speculate: Discovering conditional equations and inequalities about black-box Functions by reasoning from test results. In: Haskell 2017: Proceedings of the 10th ACM SIGPLAN International Symposium on Haskell: . Paper presented at 10th ACM SIGPLAN International Symposium on Haskell, September 7-8, 2017, Oxford, UK (pp. 40-51). ACM Digital Library, 52(10)
Open this publication in new window or tab >>Speculate: Discovering conditional equations and inequalities about black-box Functions by reasoning from test results
2017 (English)In: Haskell 2017: Proceedings of the 10th ACM SIGPLAN International Symposium on Haskell, ACM Digital Library, 2017, Vol. 52, no 10, p. 40-51Conference paper, Published paper (Refereed)
Abstract [en]

This paper presents Speculate, a tool that automatically conjectures laws involving conditional equations and inequalities about Haskell functions. Speculate enumerates expressions involving a given collection of Haskell functions, testing to separate those expressions into apparent equivalence classes. Expressions in the same equivalence class are used to conjecture equations. Representative expressions of different equivalence classes are used to conjecture conditional equations and inequalities. Speculate uses lightweight equational reasoning based on term rewriting to discard redundant laws and to avoid needless testing. Several applications demonstrate the effectiveness of Speculate.

Place, publisher, year, edition, pages
ACM Digital Library, 2017
Keywords
formal specification, Haskell, property-based testing
National Category
Computer Sciences
Identifiers
urn:nbn:se:hj:diva-63319 (URN)10.1145/3156695.3122961 (DOI)978-1-4503-5182-9 (ISBN)
Conference
10th ACM SIGPLAN International Symposium on Haskell, September 7-8, 2017, Oxford, UK
Available from: 2024-01-12 Created: 2024-01-12 Last updated: 2024-01-12Bibliographically approved
Matela Braquehais, R. (2017). Tools for Discovery, Refinement and Generalization of Functional Properties by Enumerative Testing. (Doctoral dissertation). University of York
Open this publication in new window or tab >>Tools for Discovery, Refinement and Generalization of Functional Properties by Enumerative Testing
2017 (English)Doctoral thesis, comprehensive summary (Other academic)
Abstract [en]

This thesis presents techniques for discovery, refinement and generalization of properties about functional programs. These techniques work by reasoning from test results: their results are surprisingly accurate in practice, despite an inherent uncertainty in principle. These techniques are validated by corresponding implementations in Haskell and for Haskell programs: Speculate, FitSpec and Extrapolate. Speculate discovers properties given a collection of black-box function signatures. Properties discovered by Speculate include inequalities and conditional equations. These properties can contribute to program understanding, documentation and regression testing. FitSpec guides refinements of properties based on results of black-box mutation testing. These refinements include completion and minimization of property sets. Extrapolate generalizes counterexamples of test properties. Generalized counterexamples include repeated variables and side-conditions and can inform the programmer what characterizes failures. Several example applications demonstrate the effectiveness of Speculate, FitSpec and Extrapolate.

Place, publisher, year, edition, pages
University of York, 2017. p. 143
National Category
Computer Sciences
Identifiers
urn:nbn:se:hj:diva-63321 (URN)
Available from: 2024-01-12 Created: 2024-01-12 Last updated: 2024-01-12Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0001-5302-7096

Search in DiVA

Show all publications