Hierarchical Phrase-based Sequence-to-Sequence Learning