Introduction
Thin-layer chromatography (TLC) is a fundamental technique in organic chemistry used to assess molecular polarity through the retardation factor ($R_f$). While essential, the manual determination of $R_f$ is labor-intensive and repetitive. Recent advancements in artificial intelligence have enabled automated $R_f$ prediction; however, these models often function as "black boxes," utilizing high-dimensional molecular fingerprints that lack chemical interpretability. This study introduces Unsupervised Hierarchical Symbolic Regression (UHiSR), a framework designed to bridge the gap between high-performance deep learning and human-readable chemical intuition.
Methodology: Unsupervised Hierarchical Symbolic Regression (UHiSR)
The UHiSR framework mimics the deductive reasoning of a chemist by decomposing the prediction task into a semantic hierarchy. The process begins with Chemist-Guided Feature Clustering, where 19 intuitive features—such as functional group counts and skeletal descriptors—are used instead of abstract fingerprints. This approach significantly simplifies the search space for scientific discovery while maintaining representational power.
The core of the architecture consists of Hierarchical Neural Networks that extract latent variables in stages. Specifically, the model learns a solvent polarity index ($\Psi$) and a solute polarity index ($\xi$). These low-dimensional indices are then processed by the PySR library to discover explicit mathematical equations. This "divide and conquer" strategy allows the symbolic regression algorithm to work on just a few variables at a time, ensuring that the resulting equations remain simple and interpretable.
Experimental Setup and Datasets
The model was trained and validated using a standardized TLC dataset generated by a robotic high-throughput platform. The dataset comprises 4,944 measurements across 387 organic compounds. Three distinct mobile phase systems were evaluated: $n$-Hexane/Ethyl acetate, Diethyl ether/$n$-Hexane, and Methanol/Dichloromethane, encompassing 17 different solvent compositions. This diversity ensures the model's robustness across common laboratory conditions.
Results and Key Insights
The UHiSR framework successfully distilled the complex relationship between structure and polarity into a simple "napkin" equation:
$$R_f = \sigma(3.48\Psi + 3.08\xi + 1.86)$$
where $\sigma$ represents the standard sigmoid function. This equation achieved an $R^2$ of 0.930 and an RMSE of 0.091, performing comparably to complex "black box" models like XGBoost.
Key insights derived from the model include:
- Latent Variable Discovery: The model identified $\Psi$ (solvent polarity) and $\xi$ (solute polarity), with $\xi$ further decomposing into factors representing functional group distribution ($\alpha$) and raw counts ($\beta$).
- Quantifying Intuition: The framework provided the first empirical quantification of functional group impacts on polarity, numerically ranking amides (3.36) as more polar than carboxylic acids (2.90) or alcohols (2.21) in this context.
- Solvent Precision: The equation for the solvent polarity index ($\Psi$) reached an $R^2$ of 0.983, showing a near-perfect mathematical capture of solvent mixture dynamics.
Conclusion
UHiSR demonstrates that interpretability in AI does not necessitate a sacrifice in accuracy. By aligning machine learning architectures with human logic, researchers can uncover the underlying physical laws governing chemical systems. While currently focused on silica gel TLC, the authors suggest that this hierarchical symbolic regression approach could be applied to other complex scientific fields, such as materials science or fluid dynamics, where high-dimensional data currently obscures simple underlying physical laws.
Summary updated