Infrared spectroscopy data- and physics-driven machine learning for characterizing surface microstructure of complex materials