{
  "id": 223194,
  "title": "DECIMER: towards deep learning for chemical image recognition - ¿A good start?",
  "url": "/competitions/bms-molecular-translation/discussion/223194",
  "author_name": "Hiram Coria 🧬",
  "post_date": "2021-03-02T21:57:58.658000",
  "votes": 26,
  "comment_count": 8,
  "views": 0,
  "content": "<p>I found the following <a href=\"https://jcheminf.biomedcentral.com/track/pdf/10.1186/s13321-020-00469-w.pdf\" target=\"_blank\">paper</a>:</p>\n<p><strong>Abstract</strong>:<br>\nThe automatic recognition of chemical structure diagrams from the literature is an indispensable component of workfows to re-discover information about chemicals and to make it available in open-access databases. Here we report preliminary fndings in our development of <em>Deep lEarning for Chemical ImagE Recognition (DECIMER)</em>, a deep learning method based on existing show-and-tell deep neural networks, which makes very few assumptions about the structure of the underlying problem. It translates a bitmap image of a molecule, as found in publications, into a <em>SMILES</em>. The training state reported here does not yet rival the performance of existing traditional approaches, but we present evidence that our method will reach a comparable detection power with sufcient training time. Training success of <em>DECIMER</em> depends on the input data representation: <em>DeepSMILES</em> are superior over <em>SMILES</em> and we have a preliminary indication that the recently reported <em>SELFIES</em> outperform <em>DeepSMILES</em>. An extrapolation of our results towards larger training data sizes suggests that we might be able to achieve near-accurate prediction with 50 to 100 million training structures. This work is entirely based on open-source software and open data and is available to the general public for any purpose.</p>\n<p>Code: <a href=\"https://github.com/Kohulan/DECIMER-Image-to-SMILES\" target=\"_blank\">https://github.com/Kohulan/DECIMER-Image-to-SMILES</a></p>\n<p>Can we repurpose the pipeline of this work to target <strong><a href=\"https://en.wikipedia.org/wiki/International_Chemical_Identifier\" target=\"_blank\">International Chemical Identifier (InChI)</a></strong> instead of <strong>SMILES</strong>? I hope to open a passionate discussion here.</p>\n<p>I want to add that the another work called \"<a href=\"https://openai.com/blog/clip/\" target=\"_blank\">CLIP: Connecting\nText and Images</a>\" could potentiate this.</p>",
  "messages": [
    {
      "id": 1224590,
      "postDate": "2021-03-02T21:57:58.660Z",
      "content": "<p>I found the following <a href=\"https://jcheminf.biomedcentral.com/track/pdf/10.1186/s13321-020-00469-w.pdf\" target=\"_blank\">paper</a>:</p>\n<p><strong>Abstract</strong>:<br>\nThe automatic recognition of chemical structure diagrams from the literature is an indispensable component of workfows to re-discover information about chemicals and to make it available in open-access databases. Here we report preliminary fndings in our development of <em>Deep lEarning for Chemical ImagE Recognition (DECIMER)</em>, a deep learning method based on existing show-and-tell deep neural networks, which makes very few assumptions about the structure of the underlying problem. It translates a bitmap image of a molecule, as found in publications, into a <em>SMILES</em>. The training state reported here does not yet rival the performance of existing traditional approaches, but we present evidence that our method will reach a comparable detection power with sufcient training time. Training success of <em>DECIMER</em> depends on the input data representation: <em>DeepSMILES</em> are superior over <em>SMILES</em> and we have a preliminary indication that the recently reported <em>SELFIES</em> outperform <em>DeepSMILES</em>. An extrapolation of our results towards larger training data sizes suggests that we might be able to achieve near-accurate prediction with 50 to 100 million training structures. This work is entirely based on open-source software and open data and is available to the general public for any purpose.</p>\n<p>Code: <a href=\"https://github.com/Kohulan/DECIMER-Image-to-SMILES\" target=\"_blank\">https://github.com/Kohulan/DECIMER-Image-to-SMILES</a></p>\n<p>Can we repurpose the pipeline of this work to target <strong><a href=\"https://en.wikipedia.org/wiki/International_Chemical_Identifier\" target=\"_blank\">International Chemical Identifier (InChI)</a></strong> instead of <strong>SMILES</strong>? I hope to open a passionate discussion here.</p>\n<p>I want to add that the another work called \"<a href=\"https://openai.com/blog/clip/\" target=\"_blank\">CLIP: Connecting\nText and Images</a>\" could potentiate this.</p>",
      "rawMarkdown": "I found the following [paper](https://jcheminf.biomedcentral.com/track/pdf/10.1186/s13321-020-00469-w.pdf):\n\n**Abstract**:\nThe automatic recognition of chemical structure diagrams from the literature is an indispensable component of workfows to re-discover information about chemicals and to make it available in open-access databases. Here we report preliminary fndings in our development of *Deep lEarning for Chemical ImagE Recognition (DECIMER)*, a deep learning method based on existing show-and-tell deep neural networks, which makes very few assumptions about the structure of the underlying problem. It translates a bitmap image of a molecule, as found in publications, into a *SMILES*. The training state reported here does not yet rival the performance of existing traditional approaches, but we present evidence that our method will reach a comparable detection power with sufcient training time. Training success of *DECIMER* depends on the input data representation: *DeepSMILES* are superior over *SMILES* and we have a preliminary indication that the recently reported *SELFIES* outperform *DeepSMILES*. An extrapolation of our results towards larger training data sizes suggests that we might be able to achieve near-accurate prediction with 50 to 100 million training structures. This work is entirely based on open-source software and open data and is available to the general public for any purpose.\n\nCode: https://github.com/Kohulan/DECIMER-Image-to-SMILES\n\nCan we repurpose the pipeline of this work to target **[International Chemical Identifier (InChI)](https://en.wikipedia.org/wiki/International_Chemical_Identifier)** instead of **SMILES**? I hope to open a passionate discussion here.\n\nI want to add that the another work called \"[CLIP: Connecting\nText and Images](https://openai.com/blog/clip/)\" could potentiate this.",
      "votes": 26
    },
    {
      "id": 1231437,
      "postDate": "2021-03-09T01:33:13.523Z",
      "content": "<p>DECIMER-Segmentation: Automated extraction of chemical structure depictions from scientific literature | Journal of Cheminformatics<br>\n<a href=\"https://jcheminf.biomedcentral.com/articles/10.1186/s13321-021-00496-1\" target=\"_blank\">https://jcheminf.biomedcentral.com/articles/10.1186/s13321-021-00496-1</a></p>\n<p>DECIMER: towards deep learning for chemical image recognition | Journal of Cheminformatics<br>\n<a href=\"https://jcheminf.biomedcentral.com/articles/10.1186/s13321-020-00469-w\" target=\"_blank\">https://jcheminf.biomedcentral.com/articles/10.1186/s13321-020-00469-w</a></p>",
      "rawMarkdown": "DECIMER-Segmentation: Automated extraction of chemical structure depictions from scientific literature | Journal of Cheminformatics\n[https://jcheminf.biomedcentral.com/articles/10.1186/s13321-021-00496-1](https://jcheminf.biomedcentral.com/articles/10.1186/s13321-021-00496-1)\n\nDECIMER: towards deep learning for chemical image recognition | Journal of Cheminformatics\n[https://jcheminf.biomedcentral.com/articles/10.1186/s13321-020-00469-w](https://jcheminf.biomedcentral.com/articles/10.1186/s13321-020-00469-w)\n",
      "votes": 3,
      "replies": [
        {
          "id": 1232045,
          "postDate": "2021-03-09T13:02:29.337Z",
          "content": "<p>A new work based on DECIMER, that demonstrates the robustness of the original work, thanks for share.</p>",
          "rawMarkdown": "A new work based on DECIMER, that demonstrates the robustness of the original work, thanks for share.",
          "votes": 1
        }
      ]
    },
    {
      "id": 1232853,
      "postDate": "2021-03-10T02:57:07.450Z",
      "content": "<p><a href=\"https://www.kaggle.com/hiramcho\" target=\"_blank\">@hiramcho</a> The idea of autoencoder based deep learning architecture to solve chemical image recognition sounds interesting . Thanks for sharing </p>",
      "rawMarkdown": "@hiramcho The idea of autoencoder based deep learning architecture to solve chemical image recognition sounds interesting . Thanks for sharing ",
      "votes": 1
    },
    {
      "id": 1236532,
      "postDate": "2021-03-13T08:27:16.570Z",
      "content": "<p>ChemPix: Automated Recognition of Hand-drawn Hydrocarbon Structures Using Deep Learning<br>\n<a href=\"https://chemrxiv.org/articles/preprint/ChemPix_Automated_Recognition_of_Hand-drawn_Hydrocarbon_Structures_Using_Deep_Learning/14156957/1\" target=\"_blank\">https://chemrxiv.org/articles/preprint/ChemPix_Automated_Recognition_of_Hand-drawn_Hydrocarbon_Structures_Using_Deep_Learning/14156957/1</a></p>",
      "rawMarkdown": "ChemPix: Automated Recognition of Hand-drawn Hydrocarbon Structures Using Deep Learning\nhttps://chemrxiv.org/articles/preprint/ChemPix_Automated_Recognition_of_Hand-drawn_Hydrocarbon_Structures_Using_Deep_Learning/14156957/1\n",
      "votes": 2,
      "replies": [
        {
          "id": 1236827,
          "postDate": "2021-03-13T13:44:21.530Z",
          "content": "<p>Another interesting paper. They developed a phone application with their model, that's impressive.</p>",
          "rawMarkdown": "Another interesting paper. They developed a phone application with their model, that's impressive."
        }
      ]
    },
    {
      "id": 1234994,
      "postDate": "2021-03-11T18:27:49.943Z",
      "rawMarkdown": "",
      "isDeleted": true
    },
    {
      "id": 1225124,
      "postDate": "2021-03-03T10:40:17.110Z",
      "content": "<p>thanks  💯</p>",
      "rawMarkdown": "thanks  💯",
      "votes": 3
    },
    {
      "id": 1225700,
      "postDate": "2021-03-03T20:48:41.170Z",
      "content": "<p>Thanks for sharing😳</p>",
      "rawMarkdown": "Thanks for sharing😳",
      "votes": 1
    }
  ],
  "comments": [
    {
      "id": 1231437,
      "author_name": "Neko Jara Shi",
      "author_url": "",
      "post_date": "2021-03-09T01:33:13.523000",
      "content": "<p>DECIMER-Segmentation: Automated extraction of chemical structure depictions from scientific literature | Journal of Cheminformatics<br>\n<a href=\"https://jcheminf.biomedcentral.com/articles/10.1186/s13321-021-00496-1\" target=\"_blank\">https://jcheminf.biomedcentral.com/articles/10.1186/s13321-021-00496-1</a></p>\n<p>DECIMER: towards deep learning for chemical image recognition | Journal of Cheminformatics<br>\n<a href=\"https://jcheminf.biomedcentral.com/articles/10.1186/s13321-020-00469-w\" target=\"_blank\">https://jcheminf.biomedcentral.com/articles/10.1186/s13321-020-00469-w</a></p>",
      "votes": 3,
      "replies": [
        {
          "id": 1232045,
          "author_name": "Hiram Coria 🧬",
          "author_url": "",
          "post_date": "2021-03-09T13:02:29.337000",
          "content": "<p>A new work based on DECIMER, that demonstrates the robustness of the original work, thanks for share.</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 1232853,
      "author_name": "Tensor Girl",
      "author_url": "",
      "post_date": "2021-03-10T02:57:07.450000",
      "content": "<p><a href=\"https://www.kaggle.com/hiramcho\" target=\"_blank\">@hiramcho</a> The idea of autoencoder based deep learning architecture to solve chemical image recognition sounds interesting . Thanks for sharing </p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1236532,
      "author_name": "Neko Jara Shi",
      "author_url": "",
      "post_date": "2021-03-13T08:27:16.570000",
      "content": "<p>ChemPix: Automated Recognition of Hand-drawn Hydrocarbon Structures Using Deep Learning<br>\n<a href=\"https://chemrxiv.org/articles/preprint/ChemPix_Automated_Recognition_of_Hand-drawn_Hydrocarbon_Structures_Using_Deep_Learning/14156957/1\" target=\"_blank\">https://chemrxiv.org/articles/preprint/ChemPix_Automated_Recognition_of_Hand-drawn_Hydrocarbon_Structures_Using_Deep_Learning/14156957/1</a></p>",
      "votes": 2,
      "replies": [
        {
          "id": 1236827,
          "author_name": "Hiram Coria 🧬",
          "author_url": "",
          "post_date": "2021-03-13T13:44:21.530000",
          "content": "<p>Another interesting paper. They developed a phone application with their model, that's impressive.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1234994,
      "author_name": "",
      "author_url": "",
      "post_date": "2021-03-11T18:27:49.943000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1225124,
      "author_name": "maoz ragab",
      "author_url": "",
      "post_date": "2021-03-03T10:40:17.110000",
      "content": "<p>thanks  💯</p>",
      "votes": 3,
      "replies": []
    },
    {
      "id": 1225700,
      "author_name": "Satori",
      "author_url": "",
      "post_date": "2021-03-03T20:48:41.170000",
      "content": "<p>Thanks for sharing😳</p>",
      "votes": 1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1224590": "I found the following [paper](https://jcheminf.biomedcentral.com/track/pdf/10.1186/s13321-020-00469-w.pdf):\n\n**Abstract**:\nThe automatic recognition of chemical structure diagrams from the literature is an indispensable component of workfows to re-discover information about chemicals and to make it available in open-access databases. Here we report preliminary fndings in our development of *Deep lEarning for Chemical ImagE Recognition (DECIMER)*, a deep learning method based on existing show-and-tell deep neural networks, which makes very few assumptions about the structure of the underlying problem. It translates a bitmap image of a molecule, as found in publications, into a *SMILES*. The training state reported here does not yet rival the performance of existing traditional approaches, but we present evidence that our method will reach a comparable detection power with sufcient training time. Training success of *DECIMER* depends on the input data representation: *DeepSMILES* are superior over *SMILES* and we have a preliminary indication that the recently reported *SELFIES* outperform *DeepSMILES*. An extrapolation of our results towards larger training data sizes suggests that we might be able to achieve near-accurate prediction with 50 to 100 million training structures. This work is entirely based on open-source software and open data and is available to the general public for any purpose.\n\nCode: https://github.com/Kohulan/DECIMER-Image-to-SMILES\n\nCan we repurpose the pipeline of this work to target **[International Chemical Identifier (InChI)](https://en.wikipedia.org/wiki/International_Chemical_Identifier)** instead of **SMILES**? I hope to open a passionate discussion here.\n\nI want to add that the another work called \"[CLIP: Connecting\nText and Images](https://openai.com/blog/clip/)\" could potentiate this.",
    "1231437": "DECIMER-Segmentation: Automated extraction of chemical structure depictions from scientific literature | Journal of Cheminformatics\n[https://jcheminf.biomedcentral.com/articles/10.1186/s13321-021-00496-1](https://jcheminf.biomedcentral.com/articles/10.1186/s13321-021-00496-1)\n\nDECIMER: towards deep learning for chemical image recognition | Journal of Cheminformatics\n[https://jcheminf.biomedcentral.com/articles/10.1186/s13321-020-00469-w](https://jcheminf.biomedcentral.com/articles/10.1186/s13321-020-00469-w)\n",
    "1232853": "@hiramcho The idea of autoencoder based deep learning architecture to solve chemical image recognition sounds interesting . Thanks for sharing ",
    "1236532": "ChemPix: Automated Recognition of Hand-drawn Hydrocarbon Structures Using Deep Learning\nhttps://chemrxiv.org/articles/preprint/ChemPix_Automated_Recognition_of_Hand-drawn_Hydrocarbon_Structures_Using_Deep_Learning/14156957/1\n",
    "1234994": "",
    "1225124": "thanks  💯",
    "1225700": "Thanks for sharing😳"
  }
}