Refactoring of learning descriptor validator