Alignment with Distance Learning Principles