I know that RNN can be used for such task. For instance facenet used rnn with triplet loss. But maybe there are some less sophisticated alternatives to try first?

  • $\begingroup$ BERT/transformer/XLNet with position embedding can handle encoding sequential data, and you can also try CNN(for instance the encoder of FairSeq). $\endgroup$ Nov 28, 2019 at 16:09
  • $\begingroup$ bert is also based on rnn. And CNN is far from "less sophisticated alternative". I thought that there is some algo from pre-NN era, but it looks like that there is none. $\endgroup$
    – aiven
    Nov 28, 2019 at 16:22
  • $\begingroup$ What do you mean by "bert is also based on RNN"? $\endgroup$ Nov 29, 2019 at 13:44


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.