Cargando…
SwinOCSR: end-to-end optical chemical structure recognition using a Swin Transformer
Optical chemical structure recognition from scientific publications is essential for rediscovering a chemical structure. It is an extremely challenging problem, and current rule-based and deep-learning methods cannot achieve satisfactory recognition rates. Herein, we propose SwinOCSR, an end-to-end...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer International Publishing
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9248127/ https://www.ncbi.nlm.nih.gov/pubmed/35778754 http://dx.doi.org/10.1186/s13321-022-00624-5 |
_version_ | 1784739306308370432 |
---|---|
author | Xu, Zhanpeng Li, Jianhua Yang, Zhaopeng Li, Shiliang Li, Honglin |
author_facet | Xu, Zhanpeng Li, Jianhua Yang, Zhaopeng Li, Shiliang Li, Honglin |
author_sort | Xu, Zhanpeng |
collection | PubMed |
description | Optical chemical structure recognition from scientific publications is essential for rediscovering a chemical structure. It is an extremely challenging problem, and current rule-based and deep-learning methods cannot achieve satisfactory recognition rates. Herein, we propose SwinOCSR, an end-to-end model based on a Swin Transformer. This model uses the Swin Transformer as the backbone to extract image features and introduces Transformer models to convert chemical information from publications into DeepSMILES. A novel chemical structure dataset was constructed to train and verify our method. Our proposed Swin Transformer-based model was extensively tested against the backbone of existing publicly available deep learning methods. The experimental results show that our model significantly outperforms the compared methods, demonstrating the model’s effectiveness. Moreover, we used a focal loss to address the token imbalance problem in the text representation of the chemical structure diagram, and our model achieved an accuracy of 98.58%. |
format | Online Article Text |
id | pubmed-9248127 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Springer International Publishing |
record_format | MEDLINE/PubMed |
spelling | pubmed-92481272022-07-02 SwinOCSR: end-to-end optical chemical structure recognition using a Swin Transformer Xu, Zhanpeng Li, Jianhua Yang, Zhaopeng Li, Shiliang Li, Honglin J Cheminform Research Optical chemical structure recognition from scientific publications is essential for rediscovering a chemical structure. It is an extremely challenging problem, and current rule-based and deep-learning methods cannot achieve satisfactory recognition rates. Herein, we propose SwinOCSR, an end-to-end model based on a Swin Transformer. This model uses the Swin Transformer as the backbone to extract image features and introduces Transformer models to convert chemical information from publications into DeepSMILES. A novel chemical structure dataset was constructed to train and verify our method. Our proposed Swin Transformer-based model was extensively tested against the backbone of existing publicly available deep learning methods. The experimental results show that our model significantly outperforms the compared methods, demonstrating the model’s effectiveness. Moreover, we used a focal loss to address the token imbalance problem in the text representation of the chemical structure diagram, and our model achieved an accuracy of 98.58%. Springer International Publishing 2022-07-01 /pmc/articles/PMC9248127/ /pubmed/35778754 http://dx.doi.org/10.1186/s13321-022-00624-5 Text en © The Author(s) 2022 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 | Research Xu, Zhanpeng Li, Jianhua Yang, Zhaopeng Li, Shiliang Li, Honglin SwinOCSR: end-to-end optical chemical structure recognition using a Swin Transformer |
title | SwinOCSR: end-to-end optical chemical structure recognition using a Swin Transformer |
title_full | SwinOCSR: end-to-end optical chemical structure recognition using a Swin Transformer |
title_fullStr | SwinOCSR: end-to-end optical chemical structure recognition using a Swin Transformer |
title_full_unstemmed | SwinOCSR: end-to-end optical chemical structure recognition using a Swin Transformer |
title_short | SwinOCSR: end-to-end optical chemical structure recognition using a Swin Transformer |
title_sort | swinocsr: end-to-end optical chemical structure recognition using a swin transformer |
topic | Research |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9248127/ https://www.ncbi.nlm.nih.gov/pubmed/35778754 http://dx.doi.org/10.1186/s13321-022-00624-5 |
work_keys_str_mv | AT xuzhanpeng swinocsrendtoendopticalchemicalstructurerecognitionusingaswintransformer AT lijianhua swinocsrendtoendopticalchemicalstructurerecognitionusingaswintransformer AT yangzhaopeng swinocsrendtoendopticalchemicalstructurerecognitionusingaswintransformer AT lishiliang swinocsrendtoendopticalchemicalstructurerecognitionusingaswintransformer AT lihonglin swinocsrendtoendopticalchemicalstructurerecognitionusingaswintransformer |