AdaptiveLearningofRank-OneModelsfor EfficientPairwiseSequenceAlignment