Causality-based neural network repair
Neural networks have had discernible achievements in a wide range of applications. The wide-spread adoption also raises the concern of their dependability and reliability. Similar to traditional decision-making programs, neural networks can have defects that need to be repaired. The defects may caus...
Saved in:
Main Authors: | , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2022
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/6917 https://ink.library.smu.edu.sg/context/sis_research/article/7920/viewcontent/3510003.3510080.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-7920 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-79202023-08-04T03:23:17Z Causality-based neural network repair SUN, Bing SUN, Jun PHAM, Long H. SHI, Jie Neural networks have had discernible achievements in a wide range of applications. The wide-spread adoption also raises the concern of their dependability and reliability. Similar to traditional decision-making programs, neural networks can have defects that need to be repaired. The defects may cause unsafe behaviors, raise security concerns or unjust societal impacts. In this work, we address the problem of repairing a neural network for desirable properties such as fairness and the absence of backdoor. The goal is to construct a neural network that satisfies the property by (minimally) adjusting the given neural network's parameters (i.e., weights). Specifically, we propose CARE (CAusality-based REpair), a causality-based neural network repair technique that 1) performs causality-based fault localization to identify the 'guilty' neurons and 2) optimizes the parameters of the identified neurons to reduce the misbehavior. We have empirically evaluated CARE on various tasks such as backdoor removal, neural network repair for fairness and safety properties. Our experiment results show that CARE is able to repair all neural networks efficiently and effectively. For fairness repair tasks, CARE successfully improves fairness by 61.91 % on average. For backdoor removal tasks, CARE reduces the attack success rate from over 98% to less than 1 %. For safety property repair tasks, CARE reduces the property violation rate to less than 1 %. Results also show that thanks to the causality-based fault localization, CARE's repair focuses on the misbehavior and preserves the accuracy of the neural networks. 2022-05-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/6917 info:doi/10.1145/3510003.3510080 https://ink.library.smu.edu.sg/context/sis_research/article/7920/viewcontent/3510003.3510080.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Fault Localization Machine Learning with and for SE Program Repair Databases and Information Systems Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Fault Localization Machine Learning with and for SE Program Repair Databases and Information Systems Software Engineering |
spellingShingle |
Fault Localization Machine Learning with and for SE Program Repair Databases and Information Systems Software Engineering SUN, Bing SUN, Jun PHAM, Long H. SHI, Jie Causality-based neural network repair |
description |
Neural networks have had discernible achievements in a wide range of applications. The wide-spread adoption also raises the concern of their dependability and reliability. Similar to traditional decision-making programs, neural networks can have defects that need to be repaired. The defects may cause unsafe behaviors, raise security concerns or unjust societal impacts. In this work, we address the problem of repairing a neural network for desirable properties such as fairness and the absence of backdoor. The goal is to construct a neural network that satisfies the property by (minimally) adjusting the given neural network's parameters (i.e., weights). Specifically, we propose CARE (CAusality-based REpair), a causality-based neural network repair technique that 1) performs causality-based fault localization to identify the 'guilty' neurons and 2) optimizes the parameters of the identified neurons to reduce the misbehavior. We have empirically evaluated CARE on various tasks such as backdoor removal, neural network repair for fairness and safety properties. Our experiment results show that CARE is able to repair all neural networks efficiently and effectively. For fairness repair tasks, CARE successfully improves fairness by 61.91 % on average. For backdoor removal tasks, CARE reduces the attack success rate from over 98% to less than 1 %. For safety property repair tasks, CARE reduces the property violation rate to less than 1 %. Results also show that thanks to the causality-based fault localization, CARE's repair focuses on the misbehavior and preserves the accuracy of the neural networks. |
format |
text |
author |
SUN, Bing SUN, Jun PHAM, Long H. SHI, Jie |
author_facet |
SUN, Bing SUN, Jun PHAM, Long H. SHI, Jie |
author_sort |
SUN, Bing |
title |
Causality-based neural network repair |
title_short |
Causality-based neural network repair |
title_full |
Causality-based neural network repair |
title_fullStr |
Causality-based neural network repair |
title_full_unstemmed |
Causality-based neural network repair |
title_sort |
causality-based neural network repair |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2022 |
url |
https://ink.library.smu.edu.sg/sis_research/6917 https://ink.library.smu.edu.sg/context/sis_research/article/7920/viewcontent/3510003.3510080.pdf |
_version_ |
1773551430908510208 |