Microscopic modeling of irradiation-induced metastability in ceramic thin films