Appendix A Supplementary figures

Neural Information Processing Systems 

The production rules are shown in Figure A.2. Compared with MHG, our proposed grammars have better generalization ability. In comparison, our grammar is based on neighboring relationships. From the 220,011 training molecules, we obtained 1,775 production rules. Each molecule is associated with 28 production rules on the average. The maximum number of production rules associated with a molecule is 51.