The three-dimensional model of the aluminum oxide surface was optimized with machine learning methods. The main challenge was to match the restructured surface with the underlying crystal.