Because of its excellent thermal, mechanical, and electrical properties, graphene has been used in a variety of functional coatings. Noncovalent bond functionalization and covalent bond functionalization are the most common graphene surface functionalization methods. Polymer modification, for example, can be used to give graphene and its derivatives new structure, morphology, and properties. The basic structure and predictive control principle of neural networks are discussed in this study, and a high thermal resistance porous graphene structure is reversely designed using machine learning. The effect of a graphene defect modification prediction model based on a GA (genetic algorithm) and improved BPNN (BP neural network) algorithm is investigated. The RMSE predicted by submodels 1–4 decreases by 13.26%, 3.86%, 11.71%, and 19.63%, respectively, according to the simulation results. The BPNN graphene defect modification prediction model optimized by GA has a better training and prediction effect than before optimization.