Incorporating Interpretable Output Constraints in Bayesian Neural Networks

Wanqian Yang, Lars Lorch, Moritz A. Graule, Himabindu Lakkaraju, Finale Doshi-Velez
10/21/2020
cs.LGstat.ML
bayesian

Official code: dtak/ocbnn-public (39 stars, Python, MIT, last commit 2022-06-21).

Abstract

Domains where supervised models are deployed often come with task-specific constraints, such as prior expert knowledge on the ground-truth function, or desiderata like safety and fairness. We introduce a novel probabilistic framework for reasoning with such constraints and formulate a prior that enables us to effectively incorporate them into Bayesian neural networks (BNNs), including a variant that can be amortized over tasks.

Show full abstract

The resulting Output-Constrained BNN (OC-BNN) is fully consistent with the Bayesian framework for uncertainty quantification and is amenable to black-box inference. Unlike typical BNN inference in uninterpretable parameter space, OC-BNNs widen the range of functional knowledge that can be incorporated, especially for model users without expertise in machine learning. We demonstrate the efficacy of OC-BNNs on real-world datasets, spanning multiple domains such as healthcare, criminal justice, and credit scoring.

View on arXivView PDF

Code Implementations(1)

dtak/ocbnn-publicOfficial100%
MIT

General purpose library for BNNs, and implementation of OC-BNNs in our 2020 NeurIPS paper.

395PythonJun 28, 20194 years agoMIT
bayesian-deep-learningbayesian-neural-networksbnnsoc-bnnpaper

Similar Papers

Cite this paper

@article{yang2020incorporating,
  title  = {Incorporating Interpretable Output Constraints in Bayesian Neural Networks},
  author = {Wanqian Yang and Lars Lorch and Moritz A. Graule and Himabindu Lakkaraju and Finale Doshi-Velez},
  year   = {2020},
  eprint = {2010.10969},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.10969}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.10969.svg)](https://codeofpaper.com/paper/2010.10969)

Discussion