Manuscript Offprint

arXiv:2611.07998

Towards Multiscale Molecular Representation Learning through Geometry-Based Fragmentation for Polymer Property Prediction

Makoto Takamoto, Chaitanya Sampara, Viktor Zaverkin, Daniel Oñoro-Rubio, Mathias Niepert

Abstract

It is well established that molecular substructures can contribute unequally to chemical and physical properties, with specific motifs or side chains often playing dominant roles. Fragment-based representations have therefore emerged as an effective strategy for incorporating chemically meaningful inductive biases, as exemplified by molecular fingerprints and fragment-based attention mechanisms. However, many existing fragmentation-based machine learning methods rely on predefined chemical rules, which may yield suboptimal fragmentation for previously unseen or chemically unfamiliar structures and often overlook the importance of multiscale molecular representations. To address these limitations, we formulate molecular fragmentation as a radius-constrained optimization problem inspired by the k-center formulation, where the number of clusters is not fixed a priori but emerges from the specified radius, and propose a geometry-based fragmentation method that partitions arbitrary molecular or material structures using largely geometric information, without relying on predefined chemical fragmentation rules. The method provides flexible control over fragment size, enabling the construction of multiscale fragment representations for scale-adaptive modeling. Building on this framework, we develop a geometric fragment-based attention mechanism that integrates multiscale structural information and incorporate it into a multimodal machine learning model combining p-SMILES representations with three-dimensional (3D) conformational information. Experiments on a benchmark polymer dataset show that incorporating 3D conformational information improves prediction accuracy for several properties over models based exclusively on p-SMILES representations. Explainable artificial intelligence analyses further provide insights into the physical relevance of the learned representations, highlighting the potential of our approach to improve both the accuracy and interpretability of polymer informatics models.

1 Introduction

Polymer informatics, which leverages data-driven approaches to predict polymer properties, has advanced significantly in recent years, driven by developments in machine learning, high-throughput computation, and the growing availability of materials data. Early efforts, such as the Polymer Genome project, 1^{1} established foundational datasets comprising hundreds of organic polymers with both computed (e.g., bandgaps and dielectric constants) and experimental properties (e.g., glass transition temperatures), enabling the development of multi-task machine learning models. In these initial studies, polymer representations were typically constructed using handcrafted descriptors or fingerprints based on chemical intuition. For instance, neural networks trained on such features demonstrated reasonable predictive per-formance across multiple properties. 1^{1} However, these approaches rely on expert-designed representations, which can be computationally expensive to generate and may limit their generalizability.

More recently, transformer-based language models have transformed molecular representation learning by directly encoding Simplified Molecular Input Line Entry System (SMILES) strings, 2^{2} reducing the reliance on manual feature engineering. In polymer informatics, this paradigm is exemplified by models such as PolyBERT 3^{3} and TransPolymer. 4^{4} PolyBERT treats canonicalized polymer SMILES (p-SMILES) 5^{5} as chemical sequences and employs a DeBERTa-based architecture 66^{66} pretrained on a large collection of synthetically generated polymers via BRICS fragmentation. 7^{7} Similarly, TransPolymer utilizes a RoBERTa-based encoder 8^{8} with a polymer-specific tokenizer and is pretrained on millions of polymer sequences derived from the PI1M dataset. 5^{5} These approaches demonstrate the effectiveness of large-scale pretraining for learning data-driven molecular representations. Nevertheless, sequence-based representations primarily encode molecular structures as one-dimensional strings and may not explicitly capture the hierarchical and multiscale organization of molecular structures.

It is well established that the full molecular structure does not contribute equally to chemical and physical properties; rather, specific substructures, such as functional groups and side chains, may play dominant roles. Fragment-based representations have therefore emerged as an effective strategy for incorporating chemically meaningful inductive biases into molecular machine learning. Examples include molecular fingerprints and fragment-based attention mechanisms, which explicitly characterize local and substructural environments. 9−13^{9-13} Fragment-based approaches, such as FraGAT 14^{14} for small molecules and PolymerGNN 15^{15} for polymers, further demonstrate the potential of substructural information for improving molecular representation learning. Importantly, molecular properties can depend on structural patterns spanning multiple length scales, motivating the use of hierarchical representations that capture both local and global structural information.

Despite these advances, many existing fragmentation methods rely on predefined chemical rules or domain-specific knowledge. For example, BRICS fragmentation 7^{7} identifies chemically meaningful bonds according to predefined decomposition rules. While such approaches can provide chemically interpretable fragments, their applicability may be limited when encountering previously unseen, structurally diverse, or chemically unfamiliar molecular and material systems. Moreover, rule-based fragmentation schemes generally provide limited flexibility in controlling fragment size and do not naturally support systematic construction of multiscale representations. These limitations motivate a more general fragmentation strategy that does not depend on predefined chemical knowledge and can be applied consistently across diverse molecular and material structures.

In this work, we address this challenge by introducing a geometry-based fragmentation method that formulates molecular fragmentation as a radius-constrained optimization problem inspired by the k-center formulation, where the number of clusters is not fixed a priori but emerges from the specified radius. The proposed method selects representative atoms and partitions a molecular or material structure according to geometric proximity, thereby defining fragments using geometric information rather than chemistry-specific fragmentation rules. By varying a pooling scale-length parameter, the characteristic fragment size can be explicitly controlled, enabling the systematic construction of multiscale fragment representations. This geometric formulation provides a general and flexible framework for partitioning arbitrary molecular structures 1^{1} and offers a natural route toward scale-adaptive molecular representations.

Building on this framework, we develop a geometric fragment-based attention mechanism and incorporate it into a multimodal machine learning model for polymer property prediction. The model combines p-SMILES representations with three-dimensional (3D) conformational information, while the proposed geometric fragmentation mechanism provides multiscale structural information to the 3D representation. In this setting, the multimodal

1^{1}In principle, the proposed formulation is readily applicable to periodic material systems by incorporating periodic boundary conditions.

polymer model serves as a showcase application of the proposed fragmentation method rather than as the primary objective of this work. Experiments on a benchmark polymer dataset show that incorporating 3D conformational information improves prediction accuracy for several properties compared with models based exclusively on p-SMILES representations, while the geometric fragment-based branch contributes complementary structural information.

Finally, we employ gradient-based explainable artificial intelligence (XAI) techniques using Captum 16^{16} to examine the learned representations. The attribution analysis indicates that the model assigns substantial importance to chemically relevant functional groups, including carbonyl-, oxygen-, sulfur-, and nitrogen-containing moieties. These results provide evidence that the learned multimodal representations can capture physically meaningful structural information despite being defined without chemistry-specific fragmentation rules. Overall, this work establishes geometry-based fragmentation as a general, domain-independent approach for constructing controllable multiscale molecular representations and demonstrates its potential through a multimodal application to polymer informatics.

References (36)

  • a data-powered polymer informatics platform for property predictions
  • SMILES, a chemical language and information system
  • a chemical language model to enable fully machine-driven ultrafast polymer informatics
  • a Transformer-based language model for polymer property predictions
  • a benchmark database for polymer informatics
  • DeBERTa: Decoding-enhanced BERT with Disentangled Attention
  • ChemMedChem 2008, 3, 1503
  • RoBERTa: A Robustly Optimized BERT Pretraining Approach
  • Journal of chemical information and modeling 2010, 50, 742–754
  • basic concepts and methods; John Wiley & Sons, 2018
  • One molecular fingerprint to rule them all: drugs, biomolecules, and the metabolome
  • Current status and critical next steps
  • a fragment-oriented multi-scale graph attention model for molecular property prediction
  • npj Computational Materials 2023, 9, 90
  • A unified and generic model interpretability library for pytorch (opens arXiv in a new tab)
  • Facility location: concepts, models, algorithms and case studies
  • A Core-Set Approach
  • Digital Discovery 2022, 1, 605–620
  • Clustering to minimize the maximum intercluster distance
  • The atomic simulation environment—a Python library for working with atoms
  • Fragment-Biases for Molecular GNNs
  • A probabilistic molecular fingerprint for big data settings
  • A foundation model for atomistic materials chemistry
  • Higher order equivariant message passing neural networks for fast and accurate force fields
  • D.; Caserio, M. C. Basic principles of organic chemistry
  • Journal of machine learning research 2008, 9
  • Isolating the effect of torsional defects on mobility and band gap in conjugated polymers
  • A.; Mohiuddin, S.; Kandemirli, F.; Malik, M. I. Synthesis and characterization of poly (3-hexylthiophene): improvement of regioregularity and energy band gap
  • Polymers 2022, 14, 1828
  • M.; Hussen, S. A.; Aziz, S. B. Green approach to synthesis polymer composites based on chitosan with desired linear and non-linear optical characteristics
  • Materials 2025, 18
  • Polymer 2025, 331, 128546
  • A.; Tullii, G.; Antognazza, M. R.; Criado-Gonzalez, M. Poly (3-hexylthiophene) as a versatile semiconducting polymer for cutting-edge bioelectronics
  • Nature materials 2007, 6, 497–500
  • B.; Vu, V. V.; Thi Thu, H. P.; Giang, H. N.; Tam, N. M.; Ngo, S. T. Conjugated polymers: A systematic investigation of their electronic and geometric properties using density functional theory and semi-empirical methods
  • H.; Lukashina, N.; Nguyen, T.; Le, A. T.; Nguyen, T.; Ho, N.; Peters, J.; Sonntag, D.; Zaverkin, V.; Niepert, M. Structure-Aware E (3)-Invariant Molecular Conformer Aggregation Networks