Polynomial stacked-attention network for nationality classification