[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-458836-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-458836-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","transformer-learning-in-sequence-based-drug-design-depends-on-compound-memorization-and-similarity-of-sequence-compound-pairs","Transformer Learning in Sequence-Based Drug Design - Depends on Compound Memorization and Similarity of Sequence-Compound Pairs","","Chemical language models, especially encoder-decoder transformers, have advanced generative molecular design by learning conditional mappings from textual molecular representations. Their interpretability remains limited because current methods rely mainly on attention weights or attention flow, which does not explain predictions at the molecular level. Using sequence-based compound design as a controlled model system, transformer learning was analyzed via systematic modifications of protein sequences and sequence-compound pairs. Results show compound reproducibility depends on training-test similarity and compound memorization, not on learning specific sequence information, indicating memorization and statistical correlations drive model outputs.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/transformer-learning-in-sequence-based-drug-design-depends-on-compound-memorization-and-similarity-of-sequence-compound-pairs/458836/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/transformer-learning-in-sequence-based-drug-design-depends-on-compound-memorization-and-similarity-of-sequence-compound-pairs/458836.png","ImageObject",300,407,{"name":42,"@type":43},"Muffet","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-15","2026-09-30",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",10,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What limitation of transformer-based chemical language models is highlighted in the mini-review?","Question",{"text":63,"@type":64},"Their black-box nature makes interpretation difficult; attention-focused analyses cannot explain predictions at the molecular level.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How was transformer learning investigated for sequence-based compound design?",{"text":68,"@type":64},"By using a controlled model system and systematically modifying protein sequences and sequence-compound pairs to study learning characteristics.",{"name":70,"@type":61,"acceptedAnswer":71},"What drives transformer model predictions according to the findings?",{"text":72,"@type":64},"Predictions are driven by compound memorization and statistical correlations, with compound reproducibility depending on similarity between training and test data rather than learning specific sequence information.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},458836,1791255446,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":55,"slug":125},"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":102,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":143,"read_time":144,"preview_page_count":33,"preview_urls":145},962090768927,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","Molecular Informatics  \nMINI REVIEW   \nTransformer Learning in Sequence-Based Drug Design Depends on Compound Memorization and Similarity of Sequence-Compound Pairs  \nJürgen Bajorath1,2   \n1Department of Life Science Informatics, Bonn-Aachen International Center for Information Technology, Rheinische Friedrich-Wilhelms-Universität Bonn, Bonn, Germany | 2Lamarr Institute for Machine Learning and Artificial Intelligence, Bonn-Aachen International Center for Information Technology,  \nRheinische Friedrich-Wilhelms-Universität Bonn, Bonn, Germany Correspondence: Jürgen Bajorath ([bajorath@bit.uni-bonn.de](bajorath@bit.uni-bonn.de))  \nReceived: 23 November 2025 | Revised: 22 December 2025 | Accepted: 29 December 2025  \nKeywords: chemical language models | encoder-decoder architecture | explainable artificial intelligence | learning characteristics | sequence-based compound design | transformers  \nABSTRACT  \nChemical language models (CLMs), particularly encoder-decoder transformers, have advanced generative molecular design. Transformer CLMs are able to learn a variety of molecular mappings for compound design that can be conditioned using context-dependent rules. However, their black-box nature complicates the interpretation of predictions. Current analysis methods mostly focus on attention weights of token relationships or attention flow in encoder and decoder modules and cannot explain predictions at the molecular level. Sequence-based compound design was used as a model system to investigate transformer learning characteristics through systematic control calculations involving modifications of protein sequences and sequencecompound pairs. The analysis revealed that compound reproducibility depended on similarity relationships between training and test data and on compound memorization, while specific sequence information was not learned. These findings indicate that predictions of transformer CLMs are driven by memorization effects and statistical correlations rather than by learning specific chemical or biological information. Understanding this learning behavior aids in avoiding over-interpretation of model outputs and informs the appropriate application of transformer-based CLMs in molecular design.  \n1 | Introduction  \nThis Mini-Review summarizes the content of a lecture at the 9th Autumn School on Chemoinformatics in Nara ([http://www-dsc](http://www-dsc). [naist.jp/dsc_naist/en/autumn-school-2025/](naist.jp/dsc_naist/en/autumn-school-2025/)) and is a contribution to the corresponding article collection.  \nChemical language models (CLMs) provide many opportunities for molecular design [1–3] . A major attraction is their generative modeling capacity. Transformer networks [4] with their characteristic attention and self-attention mechanism [4, 5] were responsible for major advances in natural language processing and have also become a preferred architecture for CLMs [3, 6] .  \nTransformers represent the framework of many task-specific generative models used in biology, chemistry, and other scientific fields as well as of large language models. Different architectural variants of transformers are available consisting of encoderdecoder combinations, only encoders, or only decoders [7] . Most CLMs are encoder-decoder transformers that learn mappings of textual representations of molecules such as Simplified Molecular Input Line Entry System (SMILES) [8] or other strings. These mappings can be conditioned on contextdependent rules such as molecular property constraints [2, 3] . For transformer learning, text-based molecular representations are encoded as sequences of tokens. Transformer encoder  \nThis is an open access article under the terms of the Creative Commons Attribution License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited.  \n© 2026 The Author(s) . Molecular Informatics published by Wiley-VCH GmbH.  \nMolecular Informatics, 2026; 45:e70016 1 of 6  \n[https://doi","cbCaifQQm7sH3P2c","https://ap.wps.com/l/cbCaifQQm7sH3P2c","pdf",536476,"English","# Introduction\n# Sequence-Based Compound Design","[{\"question\":\"What limitation of transformer-based chemical language models is highlighted in the mini-review?\",\"answer\":\"Their black-box nature makes interpretation difficult; attention-focused analyses cannot explain predictions at the molecular level.\"},{\"question\":\"How was transformer learning investigated for sequence-based compound design?\",\"answer\":\"By using a controlled model system and systematically modifying protein sequences and sequence-compound pairs to study learning characteristics.\"},{\"question\":\"What drives transformer model predictions according to the findings?\",\"answer\":\"Predictions are driven by compound memorization and statistical correlations, with compound reproducibility depending on similarity between training and test data rather than learning specific sequence information.\"}]","Transformer Learning in Sequence-Based Drug Design - Depends on Compound Memorization and Similarity of Sequence-Compound Pairs | PDF",1790754568,15,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/d93ca7d35fc8861cf8c95711aa5f35b5.webp",983,1291,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/1ae340412c72ce67f3c9f444ef2cfdf3.webp",982,1290,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3bb013eb86f34d4e6f78357a2097031c.webp",981,1289,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/b0bc5f80d365ce9599ad7ea2f20b34b3.webp",980,1287]