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?
Asked
Active
Viewed 22 times
0
-
BERT/transformer/XLNet with position embedding can handle encoding sequential data, and you can also try CNN(for instance the encoder of [FairSeq](https://github.com/pytorch/fairseq)). – Lerner Zhang Nov 28 '19 at 16:09
-
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. – aiven Nov 28 '19 at 16:22
-
What do you mean by "bert is also based on RNN"? – Lerner Zhang Nov 29 '19 at 13:44