{
  "id": 94457,
  "title": "What constitutes a forbidden \"quantum mechanics computation\"?",
  "url": "/competitions/champs-scalar-coupling/discussion/94457",
  "author_name": "Georgy Frolov",
  "post_date": "2019-06-04T16:10:33.852000",
  "votes": 24,
  "comment_count": 16,
  "views": 0,
  "content": "<p>The rules say:</p>\n\n<blockquote>\n  <p>You may use data other than the Competition Data (“External Data”) to develop and test your models and Submissions excluding data from quantum mechanics computations made specifically for the competition, and excluding data from quantum mechanics computations on the molecules from the training and test set</p>\n</blockquote>\n\n<p>This obviously forbids submitting results of a direct DFT computation, but does it mean that we cannot use any physically informed heuristics? For example, one could imagine a model that constructs molecular orbitals by something like <a href=\"https://en.wikipedia.org/wiki/H%C3%BCckel_method\">the Hückel method</a> and uses them to generate additional features, or one that quickly calculates properties of some simple structures and combines them etc. Would such solutions be admissible?</p>",
  "messages": [
    {
      "id": 543598,
      "postDate": "2019-06-04T16:10:33.853Z",
      "content": "<p>The rules say:</p>\n\n<blockquote>\n  <p>You may use data other than the Competition Data (“External Data”) to develop and test your models and Submissions excluding data from quantum mechanics computations made specifically for the competition, and excluding data from quantum mechanics computations on the molecules from the training and test set</p>\n</blockquote>\n\n<p>This obviously forbids submitting results of a direct DFT computation, but does it mean that we cannot use any physically informed heuristics? For example, one could imagine a model that constructs molecular orbitals by something like <a href=\"https://en.wikipedia.org/wiki/H%C3%BCckel_method\">the Hückel method</a> and uses them to generate additional features, or one that quickly calculates properties of some simple structures and combines them etc. Would such solutions be admissible?</p>",
      "rawMarkdown": "The rules say:\n&gt;  You may use data other than the Competition Data (“External Data”) to develop and test your models and Submissions excluding data from quantum mechanics computations made specifically for the competition, and excluding data from quantum mechanics computations on the molecules from the training and test set\n\nThis obviously forbids submitting results of a direct DFT computation, but does it mean that we cannot use any physically informed heuristics? For example, one could imagine a model that constructs molecular orbitals by something like [the Hückel method](https://en.wikipedia.org/wiki/H%C3%BCckel_method) and uses them to generate additional features, or one that quickly calculates properties of some simple structures and combines them etc. Would such solutions be admissible?",
      "votes": 24
    },
    {
      "id": 543635,
      "postDate": "2019-06-04T16:44:13.103Z",
      "content": "<p>The Hückel method would not be allowed in this competition. It's very vague where classical stops and quantum begins, so I'm glad that you asked.\nThings like getting bond orders, aromaticity, electronegativity, van der waal radii or the like from some simple heuristics should be fine, as long as it doesn't prohibit academic or commercial use. Running semi-empirical or ab initio quantum mechanics computations is not, including implementing these yourself in your code. </p>",
      "rawMarkdown": "The Hückel method would not be allowed in this competition. It's very vague where classical stops and quantum begins, so I'm glad that you asked.\nThings like getting bond orders, aromaticity, electronegativity, van der waal radii or the like from some simple heuristics should be fine, as long as it doesn't prohibit academic or commercial use. Running semi-empirical or ab initio quantum mechanics computations is not, including implementing these yourself in your code. ",
      "votes": 10,
      "replies": [
        {
          "id": 543659,
          "postDate": "2019-06-04T17:16:47.840Z",
          "content": "<p>Thanks for the reply. So any electronic structure data should be prohibited -- or else one could concoct a regression model that uses atomic orbitals as external data and essentially replicates the Hückel method.\nWhat about the Karplus equation (discussed in another thread)?\nI understand it's a thin line, that's why it may be good to just mention such specific examples.</p>",
          "rawMarkdown": "Thanks for the reply. So any electronic structure data should be prohibited -- or else one could concoct a regression model that uses atomic orbitals as external data and essentially replicates the Hückel method.\nWhat about the Karplus equation (discussed in another thread)?\nI understand it's a thin line, that's why it may be good to just mention such specific examples.",
          "votes": 1
        },
        {
          "id": 543782,
          "postDate": "2019-06-04T20:18:55.990Z",
          "content": "<p>Great point about using any electronic structure data... I guess once you're at the level of modelling electronic positions then you might as well go full ab initio rather than use ML regression.</p>\n\n<p>Hopefully the Karplus equation is allowed because it's a model based on dihedral angles rather than encoding where the electrons are.</p>",
          "rawMarkdown": "Great point about using any electronic structure data... I guess once you're at the level of modelling electronic positions then you might as well go full ab initio rather than use ML regression.\n\nHopefully the Karplus equation is allowed because it's a model based on dihedral angles rather than encoding where the electrons are.",
          "votes": 1
        },
        {
          "id": 543797,
          "postDate": "2019-06-04T20:47:36.753Z",
          "content": "<p>The Karplus equations would be fine as they are some empirical fit to the observed data and would likely have to be refit to the training data anyways to match the observations.</p>",
          "rawMarkdown": "The Karplus equations would be fine as they are some empirical fit to the observed data and would likely have to be refit to the training data anyways to match the observations.",
          "votes": 3
        },
        {
          "id": 544701,
          "postDate": "2019-06-05T19:34:15.667Z",
          "content": "<p><a href=\"/larsbratholm\">@larsbratholm</a> </p>\n\n<p>I am very concerned about the fact that these methods exist. When you have thousands of resourceful Kagglers working on your data you will find they get creative. People don't have to use QM calculations in their submissions or kernels; it is sufficient to compute the answers elsewhere and simply select the model that predicted them best. What is to stop users from making legitimate models on Kaggle, testing them offline against the 'real' answers and then using those results to choose their final submission?</p>",
          "rawMarkdown": "@larsbratholm \n\nI am very concerned about the fact that these methods exist. When you have thousands of resourceful Kagglers working on your data you will find they get creative. People don't have to use QM calculations in their submissions or kernels; it is sufficient to compute the answers elsewhere and simply select the model that predicted them best. What is to stop users from making legitimate models on Kaggle, testing them offline against the 'real' answers and then using those results to choose their final submission?",
          "votes": 6
        },
        {
          "id": 544719,
          "postDate": "2019-06-05T20:05:05.130Z",
          "content": "<p>1) it would take a significant amount of time (maybe more than 3 months) to compute accurate J-couplings for all the molecules.\n2) the competition models are being compared against the test data set, which are not \"accurate\"... So any models trained using \"illegal\" calculations wouldn't do so well on the test data anyway.</p>",
          "rawMarkdown": "1) it would take a significant amount of time (maybe more than 3 months) to compute accurate J-couplings for all the molecules.\n2) the competition models are being compared against the test data set, which are not \"accurate\"... So any models trained using \"illegal\" calculations wouldn't do so well on the test data anyway.",
          "votes": 6
        },
        {
          "id": 544756,
          "postDate": "2019-06-05T21:45:09.233Z",
          "content": "<p><a href=\"/phucco\">@phucco</a> </p>\n\n<p>Thank you, that puts my mind at ease. I've been reading some conflicting answers about the time it would take to brute-force the test predictions this way, but if there's no guarantee they'd be the right answers anyway then it's not a problem. It makes me a little confused about the test data though - how have the researchers obtained their values for the J-coupling strength? Are we dealing with empirical results that differ from established theory, hence why methods like DFT wouldn't be reliable?</p>",
          "rawMarkdown": "@phucco \n\nThank you, that puts my mind at ease. I've been reading some conflicting answers about the time it would take to brute-force the test predictions this way, but if there's no guarantee they'd be the right answers anyway then it's not a problem. It makes me a little confused about the test data though - how have the researchers obtained their values for the J-coupling strength? Are we dealing with empirical results that differ from established theory, hence why methods like DFT wouldn't be reliable?",
          "votes": 4
        },
        {
          "id": 570457,
          "postDate": "2019-07-08T10:14:13.893Z",
          "content": "<p>As a non chemist, this discussion is fascinating.  I see hints to things that could lead to good data addition:</p>\n\n<blockquote>\n  <p>Things like getting bond orders, aromaticity, electronegativity, van der waal radii or the like from some simple heuristics should be fine,</p>\n  \n  <p>The Karplus equations would be fine </p>\n</blockquote>\n\n<p>Some more reading to come for sure!</p>",
          "rawMarkdown": "As a non chemist, this discussion is fascinating.  I see hints to things that could lead to good data addition:\n\n&gt; Things like getting bond orders, aromaticity, electronegativity, van der waal radii or the like from some simple heuristics should be fine,\n\n&gt; The Karplus equations would be fine \n\nSome more reading to come for sure!",
          "votes": 2
        }
      ]
    },
    {
      "id": 546076,
      "postDate": "2019-06-06T08:24:53.037Z",
      "content": "<p>Closely related:\nIn the <code>mol2</code>, which can pre produced by <code>OpenBabel</code> (see <a href=\"https://www.kaggle.com/c/champs-scalar-coupling/discussion/93928#latest-544754\">this thread</a>), we have not only bonding data, but also some atom configurations and charges. Are these data allowed? I am not sure and find it hard to google how OpenBabel actually determines them.</p>",
      "rawMarkdown": "Closely related:\nIn the `mol2`, which can pre produced by `OpenBabel` (see [this thread](https://www.kaggle.com/c/champs-scalar-coupling/discussion/93928#latest-544754)), we have not only bonding data, but also some atom configurations and charges. Are these data allowed? I am not sure and find it hard to google how OpenBabel actually determines them.",
      "votes": 3,
      "replies": [
        {
          "id": 552720,
          "postDate": "2019-06-14T12:07:03.623Z",
          "content": "<p>This would be fine.</p>",
          "rawMarkdown": "This would be fine.",
          "votes": 2
        },
        {
          "id": 565703,
          "postDate": "2019-07-01T09:41:35.727Z",
          "content": "<p><a href=\"/larsbratholm\">@larsbratholm</a>\nIs also computing Mulliken charges with OpenBabel ok?</p>",
          "rawMarkdown": "@larsbratholm\nIs also computing Mulliken charges with OpenBabel ok?"
        },
        {
          "id": 568184,
          "postDate": "2019-07-04T14:27:57.337Z",
          "content": "<p>Mulliken charges with OpenBabel are fine, since it's entirely empirical.</p>",
          "rawMarkdown": "Mulliken charges with OpenBabel are fine, since it's entirely empirical."
        }
      ]
    },
    {
      "id": 554381,
      "postDate": "2019-06-17T10:50:23.653Z",
      "content": "<p><a href=\"/larsbratholm\">@larsbratholm</a> Would using <code>Psi4</code> for feature generation (e.g. deriving rotational constants etc.) be against competition rules in a similar manner? <a href=\"http://www.psicode.org/\">http://www.psicode.org/</a></p>",
      "rawMarkdown": "@larsbratholm Would using `Psi4` for feature generation (e.g. deriving rotational constants etc.) be against competition rules in a similar manner? http://www.psicode.org/",
      "votes": 1,
      "replies": [
        {
          "id": 559066,
          "postDate": "2019-06-23T12:43:24.083Z",
          "content": "<p>I would assume that most information you could get from <code>Psi4</code> would be QM and hence not allowed. Rotational constants are already part of the QM9 dataset, which you can find discussions about in other threads.</p>",
          "rawMarkdown": "I would assume that most information you could get from `Psi4` would be QM and hence not allowed. Rotational constants are already part of the QM9 dataset, which you can find discussions about in other threads.",
          "votes": 1
        }
      ]
    },
    {
      "id": 552191,
      "postDate": "2019-06-13T15:54:16.530Z",
      "content": "<p>Please update the competition description to be clear for everyone.</p>",
      "rawMarkdown": "Please update the competition description to be clear for everyone.",
      "votes": 1
    },
    {
      "id": 551993,
      "postDate": "2019-06-13T11:49:58.520Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 543635,
      "author_name": "Lars Bratholm",
      "author_url": "",
      "post_date": "2019-06-04T16:44:13.103000",
      "content": "<p>The Hückel method would not be allowed in this competition. It's very vague where classical stops and quantum begins, so I'm glad that you asked.\nThings like getting bond orders, aromaticity, electronegativity, van der waal radii or the like from some simple heuristics should be fine, as long as it doesn't prohibit academic or commercial use. Running semi-empirical or ab initio quantum mechanics computations is not, including implementing these yourself in your code. </p>",
      "votes": 10,
      "replies": [
        {
          "id": 543659,
          "author_name": "Georgy Frolov",
          "author_url": "",
          "post_date": "2019-06-04T17:16:47.840000",
          "content": "<p>Thanks for the reply. So any electronic structure data should be prohibited -- or else one could concoct a regression model that uses atomic orbitals as external data and essentially replicates the Hückel method.\nWhat about the Karplus equation (discussed in another thread)?\nI understand it's a thin line, that's why it may be good to just mention such specific examples.</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 543782,
          "author_name": "phucco",
          "author_url": "",
          "post_date": "2019-06-04T20:18:55.990000",
          "content": "<p>Great point about using any electronic structure data... I guess once you're at the level of modelling electronic positions then you might as well go full ab initio rather than use ML regression.</p>\n\n<p>Hopefully the Karplus equation is allowed because it's a model based on dihedral angles rather than encoding where the electrons are.</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 543797,
          "author_name": "Lars Bratholm",
          "author_url": "",
          "post_date": "2019-06-04T20:47:36.753000",
          "content": "<p>The Karplus equations would be fine as they are some empirical fit to the observed data and would likely have to be refit to the training data anyways to match the observations.</p>",
          "votes": 3,
          "replies": []
        },
        {
          "id": 544701,
          "author_name": "RNA",
          "author_url": "",
          "post_date": "2019-06-05T19:34:15.667000",
          "content": "<p><a href=\"/larsbratholm\">@larsbratholm</a> </p>\n\n<p>I am very concerned about the fact that these methods exist. When you have thousands of resourceful Kagglers working on your data you will find they get creative. People don't have to use QM calculations in their submissions or kernels; it is sufficient to compute the answers elsewhere and simply select the model that predicted them best. What is to stop users from making legitimate models on Kaggle, testing them offline against the 'real' answers and then using those results to choose their final submission?</p>",
          "votes": 6,
          "replies": []
        },
        {
          "id": 544719,
          "author_name": "phucco",
          "author_url": "",
          "post_date": "2019-06-05T20:05:05.130000",
          "content": "<p>1) it would take a significant amount of time (maybe more than 3 months) to compute accurate J-couplings for all the molecules.\n2) the competition models are being compared against the test data set, which are not \"accurate\"... So any models trained using \"illegal\" calculations wouldn't do so well on the test data anyway.</p>",
          "votes": 6,
          "replies": []
        },
        {
          "id": 544756,
          "author_name": "RNA",
          "author_url": "",
          "post_date": "2019-06-05T21:45:09.233000",
          "content": "<p><a href=\"/phucco\">@phucco</a> </p>\n\n<p>Thank you, that puts my mind at ease. I've been reading some conflicting answers about the time it would take to brute-force the test predictions this way, but if there's no guarantee they'd be the right answers anyway then it's not a problem. It makes me a little confused about the test data though - how have the researchers obtained their values for the J-coupling strength? Are we dealing with empirical results that differ from established theory, hence why methods like DFT wouldn't be reliable?</p>",
          "votes": 4,
          "replies": []
        },
        {
          "id": 570457,
          "author_name": "CPMP",
          "author_url": "",
          "post_date": "2019-07-08T10:14:13.893000",
          "content": "<p>As a non chemist, this discussion is fascinating.  I see hints to things that could lead to good data addition:</p>\n\n<blockquote>\n  <p>Things like getting bond orders, aromaticity, electronegativity, van der waal radii or the like from some simple heuristics should be fine,</p>\n  \n  <p>The Karplus equations would be fine </p>\n</blockquote>\n\n<p>Some more reading to come for sure!</p>",
          "votes": 2,
          "replies": []
        }
      ]
    },
    {
      "id": 546076,
      "author_name": "Berni",
      "author_url": "",
      "post_date": "2019-06-06T08:24:53.037000",
      "content": "<p>Closely related:\nIn the <code>mol2</code>, which can pre produced by <code>OpenBabel</code> (see <a href=\"https://www.kaggle.com/c/champs-scalar-coupling/discussion/93928#latest-544754\">this thread</a>), we have not only bonding data, but also some atom configurations and charges. Are these data allowed? I am not sure and find it hard to google how OpenBabel actually determines them.</p>",
      "votes": 3,
      "replies": [
        {
          "id": 552720,
          "author_name": "Lars Bratholm",
          "author_url": "",
          "post_date": "2019-06-14T12:07:03.623000",
          "content": "<p>This would be fine.</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 565703,
          "author_name": "somnambWl",
          "author_url": "",
          "post_date": "2019-07-01T09:41:35.727000",
          "content": "<p><a href=\"/larsbratholm\">@larsbratholm</a>\nIs also computing Mulliken charges with OpenBabel ok?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 568184,
          "author_name": "Lars Bratholm",
          "author_url": "",
          "post_date": "2019-07-04T14:27:57.337000",
          "content": "<p>Mulliken charges with OpenBabel are fine, since it's entirely empirical.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 554381,
      "author_name": "datasaurus",
      "author_url": "",
      "post_date": "2019-06-17T10:50:23.653000",
      "content": "<p><a href=\"/larsbratholm\">@larsbratholm</a> Would using <code>Psi4</code> for feature generation (e.g. deriving rotational constants etc.) be against competition rules in a similar manner? <a href=\"http://www.psicode.org/\">http://www.psicode.org/</a></p>",
      "votes": 1,
      "replies": [
        {
          "id": 559066,
          "author_name": "Lars Bratholm",
          "author_url": "",
          "post_date": "2019-06-23T12:43:24.083000",
          "content": "<p>I would assume that most information you could get from <code>Psi4</code> would be QM and hence not allowed. Rotational constants are already part of the QM9 dataset, which you can find discussions about in other threads.</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 552191,
      "author_name": "abiricz",
      "author_url": "",
      "post_date": "2019-06-13T15:54:16.530000",
      "content": "<p>Please update the competition description to be clear for everyone.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 551993,
      "author_name": "",
      "author_url": "",
      "post_date": "2019-06-13T11:49:58.520000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "543598": "The rules say:\n&gt;  You may use data other than the Competition Data (“External Data”) to develop and test your models and Submissions excluding data from quantum mechanics computations made specifically for the competition, and excluding data from quantum mechanics computations on the molecules from the training and test set\n\nThis obviously forbids submitting results of a direct DFT computation, but does it mean that we cannot use any physically informed heuristics? For example, one could imagine a model that constructs molecular orbitals by something like [the Hückel method](https://en.wikipedia.org/wiki/H%C3%BCckel_method) and uses them to generate additional features, or one that quickly calculates properties of some simple structures and combines them etc. Would such solutions be admissible?",
    "543635": "The Hückel method would not be allowed in this competition. It's very vague where classical stops and quantum begins, so I'm glad that you asked.\nThings like getting bond orders, aromaticity, electronegativity, van der waal radii or the like from some simple heuristics should be fine, as long as it doesn't prohibit academic or commercial use. Running semi-empirical or ab initio quantum mechanics computations is not, including implementing these yourself in your code. ",
    "546076": "Closely related:\nIn the `mol2`, which can pre produced by `OpenBabel` (see [this thread](https://www.kaggle.com/c/champs-scalar-coupling/discussion/93928#latest-544754)), we have not only bonding data, but also some atom configurations and charges. Are these data allowed? I am not sure and find it hard to google how OpenBabel actually determines them.",
    "554381": "@larsbratholm Would using `Psi4` for feature generation (e.g. deriving rotational constants etc.) be against competition rules in a similar manner? http://www.psicode.org/",
    "552191": "Please update the competition description to be clear for everyone.",
    "551993": ""
  }
}