Faithful Model Explanations through Energy-Constrained Conformal Counterfactuals Counterfactual explanations offer an intuitive and straightforward way to explain opaque machine learning (ML) models. They work under the premise of perturbing inputs to achieve a desired change in the predicted output. If you have not heard about counterfactual explanations before, feel free to also check out my introductory posts: 1) Individual Recourse for Black Box Models and 2) A new tool for explainable AI.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Patrick Altmeyer
Building a Conformal Chatbot in Julia
Conformal Prediction, LLMs and HuggingFace — Part 1 Large Language Models (LLM) are all the buzz right now. They are used for a variety of tasks, including text classification, question answering, and text generation. In this tutorial, we will show how to conformalize a transformer language model for text classification using ConformalPrediction.jl. In particular, we are interested in the task of intent classification as illustrated in the sketch below.
Yield curve sensitivity to investor positioning around economic shocks
Our use of cookies We use necessary cookies to make our site work (for example, to manage your session). We’d also like to use some non-essential cookies (including third-party cookies) to help us improve the site. By clicking ‘Accept recommended settings’ on this banner, you accept our use of optional cookies. Necessary cookies Analytics cookies Yes Yes Yes No Necessary cookies Necessary cookies enable core functionality on our website such as security, network management, and accessibility.
Conformal Prediction Intervals for any Regression Model
Conformal Prediction in Julia — Part 3 This is the third (and for now final) part of a series of posts that introduce Conformal Prediction in Julia using ConformalPrediction.jl. The first post introduced Conformal Prediction for supervised classification tasks: we learned that conformal classifiers produce set-valued predictions that are guaranteed to include the true label of a new sample with a certain probability.
Prediction Intervals for any Regression Model
Conformal Prediction in Julia — Part 3 This is the third (and for now final) part of a series of posts that introduce Conformal Prediction in Julia using ConformalPrediction.jl. The first post introduced Conformal Prediction for supervised classification tasks: we learned that conformal classifiers produce set-valued predictions that are guaranteed to include the true label of a new sample with a certain probability.
How to Conformalize a Deep Image Classifier
Conformal Prediction in Julia — Part 2 Deep Learning is popular and — for some tasks like image classification — remarkably powerful. But it is also well-known that Deep Neural Networks (DNN) can be unstable (Goodfellow, Shlens, and Szegedy 2014) and poorly calibrated. Conformal Prediction can be used to mitigate these pitfalls.
How to Conformalize a Deep Image Classifier
How to Conformalize a Deep Image Classifier Conformal Prediction in Julia — Part 2 Conformal Predictions sets with varying degrees of uncertainty. Image by author. Deep Learning is popular and — for some tasks like image classification — remarkably powerful. But it is also well-known that Deep Neural Networks (DNN) can be unstable (Goodfellow, Shlens, and Szegedy 2014) and poorly calibrated. Conformal Prediction can be used to mitigate these pitfalls.
Conformal Prediction in Julia 🟣🔴🟢
Part 1 — Introduction A first crucial step towards building trustworthy AI systems is to be transparent about predictive uncertainty. Model parameters are random variables and their values are estimated from noisy data. That inherent stochasticity feeds through to model predictions and should to be addressed, at the very least in order to avoid overconfidence in models.
A new tool for explainable AI
Explaining models trained in Julia, Python and R through counterfactuals Counterfactual explanations, which I introduced in one of my previous posts, offer a simple and intuitive way to explain black-box models without opening them. Still, as of today there exists only one open-source library that provides a unifying approach to generate and benchmark counterfactual explanations for models built and trained in Python (Pawelczyk et al. 2021).
Go deep, but also … go Bayesian!
Truly effortless Bayesian Deep Learning in Julia Updates to the posterior predictive of a Bayesian neural network. Image by author. Deep learning has dominated AI research in recent years — but how much promise does it really hold? That is very much an ongoing and increasingly polarising debate that you can follow live on Twitter.
Go deep, but also … go Bayesian!
Truly effortless Bayesian Deep Learning in Julia Deep learning has dominated AI research in recent years — but how much promise does it really hold? That is very much an ongoing and increasingly polarising debate that you can follow live on Twitter. On one side you have optimists like Ilya Sutskever, chief scientist of OpenAI, who believes that large deep neural networks may already be slightly conscious — that’s “may” and “slightly” and only if you just go deep enough?
Go deep, but also … go Bayesian!
Updates to the posterior predictive of a Bayesian neural network. Image by author. Deep learning has dominated AI research in recent years — but how much promise does it really hold? That is very much an ongoing and increasingly polarising debate that you can follow live on Twitter.
Bayesian Logistic Regression
Simulation of changing parameter distribution. Image by author. If you’ve ever searched for evaluation metrics to assess model accuracy, chances are that you found many different options to choose from. Accuracy is in some sense the holy grail of prediction so it’s not at all surprising that the machine learning community spends a lot time thinking about it. In a world where more and more high-stake decisions are being automated, model accuracy is in fact a very valid concern.
Individual recourse for Black Box Models
“You cannot appeal to [algorithms]. They do not listen. Nor do they bend.” - Cathy O’Neil Image by author. In her popular book Weapons of Math Destruction Cathy O’Neil presents the example of public school teacher Sarah Wysocki, who lost her job after a teacher evaluation algorithm had rendered her redundant O’Neil (2016). Sarah was highly popular among her peers, supervisors and students.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Patrick
Contact Patrick, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack