日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

论文解析 | 不确定性校准的化学反应预测模型

發(fā)布時間:2023/12/20 编程问答 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 论文解析 | 不确定性校准的化学反应预测模型 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

編者按

論文《A Model for Uncertainty-Calibrated Chemical Reaction Prediction》對模型的不確定性進行了估計,提升了泛化能力。本文從實驗背景、參數設置、結果與影響等方面進行了詳細的解析,以供讀者更好的理解文獻。

今天講一下一篇關于小分子生成的文章,產物Predicted by the given reactants and reagents.反應預測被認為是試劑和產物的微笑輸入和反應物的Machine translation problem of smile output。并且該實驗的方案可以準確估計分類預測Uncertainty of correctness。此外,該模型不需要人工規(guī)則,還可以處理無需分離反應試劑的輸入,And data with stereochemistry,準確預測有效的合理的化學反應。

1.1 使用數據

The author uses the USPTO_STEREO dataset and the USPTO_MIT dataset respectively. Two data processing methods are used, separated and mixed. Seperated divides the reactants and reagents with >, but mixed does not distinguish between molecules that provide products and atoms that do not provide products. Let the network learn automatically, so more molecules are needed to determine the reaction center. This improves accuracy.

數據集形式如圖1所示。

圖1 數據集劃分

1.2 基于opennmt模型參數設置

其中對transformer進行參數調優(yōu),束搜索大小為5,transformer的層數為4層,[1] embed的size為256,注意力頭為8。并且在訓練過程中使用了ADAM優(yōu)化器,將batchsize擴充到4096,梯度每累計四次就回傳一次。

1.3 消融實驗

盡管融合模型集合可以獲得Higher precision and very good的不確定性估計,但是需要額外的訓練或測試時間。[2]在不同數據集上,最好的top5個單一The second best model accuracy is obvious高于最好的精度,達到>93%,如圖2所示。

圖2 分離試劑對USPTO_MIT數據集的消融實驗

同時也和之前的單一模型通過將反應類型流行區(qū)域進行分類做了比較,如圖3所示,發(fā)現了Molecular ?Transformer的潛在優(yōu)勢[3],當bin的數量大于2000時,top1的ACC都在90以上。并且對MIT和STEREO數據集進行比較,如圖4所示。它不僅可以記憶數據,而且可以利用從更常見的反應中推斷出的信息,對更罕見的反應做出預測??梢钥闯鰐op1的指標上的separated數據集還是比mixed效果更好,在MIT中精度可以達到百分之90以上,以及top2到top5均大于90。

圖3 USPTO_MIT單一模型與USPTO_MIT測試集上的模型相比的最高精度

圖4 Molecular ?Transformer的topk精度

1.4 精準度策略與反應路徑評分

Because organic synthesis is a multi-step process, for a reaction predictor to be useful, it must be able to estimate its own uncertainty. The Molecular Transformer model provides an implementation method: the product of the probabilities of all predicted tokens can be used as a confidence score, and the threshold of the confidence score is used to determine whether a response is predicted incorrectly to determine the ROC curve. Indicators true positive (TP), true negative (TN) and false positive rate (FP/ (FP + TN)) and true positive rate (TP/(TP + FN)). As shown in Figure 5, it can be found that the change of the threshold versus the roc curve increases and decreases, but the change of ACC is not particularly significant.

圖5 評估時,在MIT數據集上訓練的模型的不同標簽平滑值的roc曲線

不難看出平滑對精度的影響相對較小,但對不確定性量化有顯著影響。在訓練期間沒有給出目標產品的 one-hot 編碼的時間步長,Label smoothing reduces the quality of correct labels in the target vector,并將平滑質量分配給詞匯表中的所有其他標簽。它有助于產生Higher translation accuracy and human language BLEU score,也有助于在響應預測中獲得更高的最好的 準確度。此外,不確定性估計度量還可以用作對響應路徑進行排序的分數,該分數基于所有預測token的概率的乘積,可以看出smiles的長度是一個比較大的偏差,一個大分子不應該意味著“困難”的預測。并且置信度分數與smiles的長度之間并沒有相關性。

1.5 結論與影響

First of all, the innovation of this article is the use of a multi-head attention mechanism, which can be regarded as an ensemble inside the model. It achieved 90.4% of Top1 on a public benchmark data set (Top2 was 93.7%), and more importantly, the model did not use any hand-made rules. It can accurately predict the chemical change of selectivity and obtain the correct chemical selectivity, regioselectivity and stereoselectivity. In addition, our model can also estimate the uncertainty in whether it correctly predicts the classification of a response. The ROC?AUC of the uncertainty score predicted by the model is 0.89. This model has been used in the back-end of IBM Chemical RXN since August 2018. So far, thousands of organic chemists around the world have used it to make more than 40,000 predictions.

參考文獻

[1]?? Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.;Gomez, A. N.; Kaiser, ?.; Polosukhin, I. Attention Is All You Need.Advances in Neural Information Processing Systems 2017, 6000?6010

[2]?? Coley, C. W.; Jin, W.; Rogers, L.; Jamison, T. F.; Jaakkola, T. S.;Green, W. H.; Barzilay, R.; Jensen, K. F. A Graph-ConvolutionalNeural Network Model for the Prediction of Chemical Reactivity.Chemical science 2019, 10, 370?377.

[3]?? Schwaller, P.; Gaudin, T.; Lanyi, D.; Bekas, C.; Laino, T. Foundin Translation”: Predicting Outcomes of Complex Organic ChemistryReactions Using Neural Sequence-To-Sequence Models. Chemical Science

[4]?? Segler, M. H.; Preuss, M.; Waller, M. P. Planning Chemical Syntheses with Deep Neural Networks and Symbolic AI. Nature 2018,555, 604.

極鏈AI云平臺現上傳了Opennmt的模型庫,大家可以點擊閱讀全文,去官網康一康哦~

總結

以上是生活随笔為你收集整理的论文解析 | 不确定性校准的化学反应预测模型的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。