Abstract: A novel framework for designing the molecular structure of chemical compounds with a desired chemical property has recently been proposed. The framework infers a desired chemical graph by solving a mixed integer linear program (MILP) that simulates the computation process of a feature function defined by a two-layered model on chemical graphs and a prediction function constructed by a machine learning method. To improve the learning performance of prediction functions in the framework, we design a method that splits a given data set $\mathcal{C}$ into two subsets $\mathcal{C}^{(i)},i=1,2$ by a hyperplane in a chemical space so that most compounds in the first (resp., second) subset have observed values lower (resp., higher) than a threshold $θ$. We construct a prediction function $ψ$ to the data set $\mathcal{C}$ by combining prediction functions $ψ_i,i=1,2$ each of which is constructed on $\mathcal{C}^{(i)}$ independently. The results of our computational experiments suggest that the proposed method improved the learning performance for several chemical properties to which a good prediction function has been difficult to construct.
The Inverse QSAR Challenge
In chemoinformatics, "inverse QSAR" (Quantitative Structure-Activity Relationship) is the task of designing novel molecular structures that possess specific desired chemical properties. While deep learning generative models like VAEs and GANs are popular, they are heuristic and do not guarantee optimal or exact solutions. This paper advances a framework that uses Mixed Integer Linear Programming (MILP) to exactly solve the inverse problem based on a "two-layered" graph model of molecules.
The MILP Framework and Two-Layered Model
The proposed framework represents chemical graphs by partitioning them into an interior "core" and exterior "fringe trees." The design process involves a feature function $f$ that maps a chemical graph to a vector in $\mathbb{R}^K$, and a prediction function $\eta$ that estimates property values.
The inverse design is formulated as an MILP $\mathcal{M}_{f,\eta,\sigma}$, which simulates the computation of $f$ and $\eta$ under topological constraints $\sigma$. By solving this MILP, the system can infer a chemical graph $\mathbb{C}^\dagger$ that satisfies target property ranges $[y^*, \bar{y}^*]$.
Hyperplane Splitting (HPS) for Enhanced Accuracy
A significant challenge in MILP-based design is that the linear or quadratic prediction functions required for a compact MILP often lack the accuracy needed for complex properties. To address this, the authors introduce Hyperplane Splitting (HPS):
- Data Partitioning: A Linear Program (LP) finds a hyperplane in the feature space that divides the dataset into two subsets based on a property threshold $\theta$.
- Piecewise Modeling: Separate prediction models (e.g., Lasso, ANN) are trained for each subset independently.
- MILP Integration: The hyperplane condition is encoded into the MILP, allowing the solver to dynamically route to the correct prediction function during the generation phase.
Structural Representation
The search space is defined by a topological specification $\sigma$, which includes a seed graph $G_C$ and a set of fringe trees $\mathcal{F}$.
This modular approach allows the MILP to efficiently explore valid chemical structures by assembling these predefined building blocks. Once a base molecule is generated, dynamic programming is used to rapidly generate valid isomers and neighbors.
Key Results and Performance
The HPS method was evaluated on 22 chemical properties (e.g., autoignition temperature, solubility, HOMO/LUMO levels).
- Prediction Accuracy: HPS significantly improved $R^2$ values, particularly for "hard" properties like Odor Threshold (jumping from ~0.45 to 0.90) and Autoignition Temperature (from ~0.51 to 0.81).
- Inverse Design Speed: Using the CPLEX solver, the framework successfully inferred novel chemical graphs with up to 50 non-hydrogen atoms in just a few seconds to ~30 seconds.
- Isomer Generation: Post-processing could compute lower bounds and generate up to 100 valid isomers in under 18 seconds.
Conclusion
By combining hyperplane-based data splitting with an exact MILP formulation, this framework bridges the gap between high-accuracy machine learning and guaranteed molecular generation. Future work includes recursive splitting to further refine prediction accuracy in larger datasets.
Summary updated