The AI model rapidly maps boundary conditions to molecular alignment and defect locations, replacing hours of simulation and enabling fast exploration and inverse design of advanced optical materials.