Cargando…
XSMILES: interactive visualization for molecules, SMILES and XAI attribution scores
BACKGROUND: Explainable artificial intelligence (XAI) methods have shown increasing applicability in chemistry. In this context, visualization techniques can highlight regions of a molecule to reveal their influence over a predicted property. For this purpose, some XAI techniques calculate attributi...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer International Publishing
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9817292/ https://www.ncbi.nlm.nih.gov/pubmed/36609340 http://dx.doi.org/10.1186/s13321-022-00673-w |
_version_ | 1784864723807764480 |
---|---|
author | Heberle, Henry Zhao, Linlin Schmidt, Sebastian Wolf, Thomas Heinrich, Julian |
author_facet | Heberle, Henry Zhao, Linlin Schmidt, Sebastian Wolf, Thomas Heinrich, Julian |
author_sort | Heberle, Henry |
collection | PubMed |
description | BACKGROUND: Explainable artificial intelligence (XAI) methods have shown increasing applicability in chemistry. In this context, visualization techniques can highlight regions of a molecule to reveal their influence over a predicted property. For this purpose, some XAI techniques calculate attribution scores associated with tokens of SMILES strings or with atoms of a molecule. While an association of a score with an atom can be directly visually represented on a molecule diagram, scores computed for SMILES non-atom tokens cannot. For instance, a substring [N+] contains 3 non-atom tokens, i.e., [, [Formula: see text] , and ], and their attributions, depending on the model, are not necessarily revealing an influence of the nitrogen atom over the predicted property; for that reason, it is not possible to represent the scores on a molecule diagram. Moreover, SMILES’s notation is complex, foregrounding the need for techniques to facilitate the analysis of explanations associated with their tokens. RESULTS: We propose XSMILES, an interactive visualization technique, to explore explainable artificial intelligence attributions scores and support the interpretation of SMILES. Users can input any type of score attributed to atom and non-atom tokens and visualize them on top of a 2D molecule diagram coordinated with a bar chart that represents a SMILES string. We demonstrate how attributions calculated for SMILES strings can be evaluated and better interpreted through interactivity with two use cases. CONCLUSIONS: Data scientists can use XSMILES to understand their models’ behavior and compare multiple modeling approaches. The tool provides a set of parameters to adapt the visualization to users’ needs and it can be integrated into different platforms. We believe XSMILES can support data scientists to develop, improve, and communicate their models by making it easier to identify patterns and compare attributions through interactive exploratory visualization. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s13321-022-00673-w. |
format | Online Article Text |
id | pubmed-9817292 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Springer International Publishing |
record_format | MEDLINE/PubMed |
spelling | pubmed-98172922023-01-07 XSMILES: interactive visualization for molecules, SMILES and XAI attribution scores Heberle, Henry Zhao, Linlin Schmidt, Sebastian Wolf, Thomas Heinrich, Julian J Cheminform Software BACKGROUND: Explainable artificial intelligence (XAI) methods have shown increasing applicability in chemistry. In this context, visualization techniques can highlight regions of a molecule to reveal their influence over a predicted property. For this purpose, some XAI techniques calculate attribution scores associated with tokens of SMILES strings or with atoms of a molecule. While an association of a score with an atom can be directly visually represented on a molecule diagram, scores computed for SMILES non-atom tokens cannot. For instance, a substring [N+] contains 3 non-atom tokens, i.e., [, [Formula: see text] , and ], and their attributions, depending on the model, are not necessarily revealing an influence of the nitrogen atom over the predicted property; for that reason, it is not possible to represent the scores on a molecule diagram. Moreover, SMILES’s notation is complex, foregrounding the need for techniques to facilitate the analysis of explanations associated with their tokens. RESULTS: We propose XSMILES, an interactive visualization technique, to explore explainable artificial intelligence attributions scores and support the interpretation of SMILES. Users can input any type of score attributed to atom and non-atom tokens and visualize them on top of a 2D molecule diagram coordinated with a bar chart that represents a SMILES string. We demonstrate how attributions calculated for SMILES strings can be evaluated and better interpreted through interactivity with two use cases. CONCLUSIONS: Data scientists can use XSMILES to understand their models’ behavior and compare multiple modeling approaches. The tool provides a set of parameters to adapt the visualization to users’ needs and it can be integrated into different platforms. We believe XSMILES can support data scientists to develop, improve, and communicate their models by making it easier to identify patterns and compare attributions through interactive exploratory visualization. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s13321-022-00673-w. Springer International Publishing 2023-01-06 /pmc/articles/PMC9817292/ /pubmed/36609340 http://dx.doi.org/10.1186/s13321-022-00673-w Text en © The Author(s) 2023 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/ (https://creativecommons.org/publicdomain/zero/1.0/) ) applies to the data made available in this article, unless otherwise stated in a credit line to the data. |
spellingShingle | Software Heberle, Henry Zhao, Linlin Schmidt, Sebastian Wolf, Thomas Heinrich, Julian XSMILES: interactive visualization for molecules, SMILES and XAI attribution scores |
title | XSMILES: interactive visualization for molecules, SMILES and XAI attribution scores |
title_full | XSMILES: interactive visualization for molecules, SMILES and XAI attribution scores |
title_fullStr | XSMILES: interactive visualization for molecules, SMILES and XAI attribution scores |
title_full_unstemmed | XSMILES: interactive visualization for molecules, SMILES and XAI attribution scores |
title_short | XSMILES: interactive visualization for molecules, SMILES and XAI attribution scores |
title_sort | xsmiles: interactive visualization for molecules, smiles and xai attribution scores |
topic | Software |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9817292/ https://www.ncbi.nlm.nih.gov/pubmed/36609340 http://dx.doi.org/10.1186/s13321-022-00673-w |
work_keys_str_mv | AT heberlehenry xsmilesinteractivevisualizationformoleculessmilesandxaiattributionscores AT zhaolinlin xsmilesinteractivevisualizationformoleculessmilesandxaiattributionscores AT schmidtsebastian xsmilesinteractivevisualizationformoleculessmilesandxaiattributionscores AT wolfthomas xsmilesinteractivevisualizationformoleculessmilesandxaiattributionscores AT heinrichjulian xsmilesinteractivevisualizationformoleculessmilesandxaiattributionscores |