Hierarchical Deep Multitask Learning With the Attention Mechanism for Similarity Learning | IEEE Journals & Magazine | IEEE Xplore