Multi-Scale Memory-Enhanced Transformer for Optical Chemical Structure Recognition
Rui Wang , Yujin Ji , Youyong Li , Shuit-Tong Lee
Chemical Research in Chinese Universities ›› : 1 -11.
Optical Chemical Structure Recognition (OCSR) is a key technology at the intersection of chemistry and computer science, aiming to convert molecular structure images into machine-readable sequence representations. However, existing OCSR models still fall short in building long-range dependencies within sequences, making it difficult to accurately generate long sequences with complex structures. To address this, we propose a Multi-Scale Memory-Enhanced Transformer (MSMET) model and design two modules: the Layer-wise Hierarchical Fusion (LHF) module and the Cross-Attention Memory Augmentation (CAMA) module. The LHF module employs adaptive feature recalibration across encoder blocks through learnable gating, effectively alleviating feature forgetting phenomena in deep architectures while maintaining multi-scale visual discriminability. The CAMA module equips the decoder with a learnable memory matrix that dynamically enriches cross-modal attention, significantly enhancing the model’s capacity to capture long-distance topological interactions in molecular graph structures. We evaluated the performance of MSMET, and the experimental results demonstrate that the model achieved strong overall state-of-the-art performance.
Optical chemical structure recognition / Transformer / Attention / Deep learning
| [1] |
|
| [2] |
|
| [3] |
|
| [4] |
|
| [5] |
|
| [6] |
|
| [7] |
|
| [8] |
|
| [9] |
|
| [10] |
|
| [11] |
|
| [12] |
|
| [13] |
|
| [14] |
|
| [15] |
|
| [16] |
|
| [17] |
|
| [18] |
|
| [19] |
|
| [20] |
|
| [21] |
|
| [22] |
|
| [23] |
|
| [24] |
|
| [25] |
|
| [26] |
|
| [27] |
|
| [28] |
Zhang H., Wu C., Zhang Z., Zhu Y., Lin H., Zhang Z., Sun Y., He T., Mueller J., Manmatha R., Li M., Smola A., arXiv, 2020, arXiv:2004.08955. |
| [29] |
|
| [30] |
|
| [31] |
|
| [32] |
|
| [33] |
|
| [34] |
|
| [35] |
|
| [36] |
|
| [37] |
|
| [38] |
|
| [39] |
|
| [40] |
|
| [41] |
|
| [42] |
OpenAI, GPT-4o System Card, OpenAI, 2024-08-08, https://cdn.openai.com/gpt-4o-system-card.pdf, accessed on 2026-07-18. |
| [43] |
OpenAI, Introducing OpenAI o3 and o4-mini, OpenAI, 2025-04-16, https://openai.com/index/introducing-o3-and-o4-mini/, accessed on 2026-05-31. |
| [44] |
OpenAI, GPT-5 System Card, OpenAI, 2025-08-07, https://openai.com/index/gpt-5-system-card/, accessed on 2026-05-31. |
| [45] |
DeepSeek-AI, DeepSeek-V3.1 Release, DeepSeek API Docs, 2025-08-21, https://api-docs.deepseek.com/news/news250821, accessed on 2026-05-31. |
| [46] |
|
Jilin University, The Editorial Department of Chemical Research in Chinese Universities and Springer-Verlag GmbH
/
| 〈 |
|
〉 |