Metric-Based Auto-Instructor for Learning Mixed Data Representation