Machine learning models for gas-surface dynamics