eamid / trimap

TriMap: Large-scale Dimensionality Reduction Using Triplets
Apache License 2.0
304 stars 20 forks source link

trimap vs ivis? #8

Closed Hellisotherpeople closed 4 years ago

Hellisotherpeople commented 4 years ago

Can you do some comparisons between trimap and bearing researches ivis? I think that both of you use similar techniques (triplet networks).

I'm curious to see what differes between each implementation.

eamid commented 4 years ago

I believe ivis trains a multilayer feed-forward network using a loss function on triplets. Therefore, ivis learns an intermediate representation using the dense layers before projecting the data into 2D. Also, the loss function is defined as a hinge loss on the difference between the distances. Alternatively, TriMap directly minimizes the loss of the triplets, without learning an extra representation. Additionally, the loss is defined as a ratio in TriMap.

It is possible to augment TriMap to a Siamese network and learn a deep representation. This yields excellent results. However, it also requires extra computation and therefore, results in a longer training time. I am currently working on a JAX and I will add this feature in the future. I am also planning to add TriMap to the TF projector: https://projector.tensorflow.org/

eamid commented 4 years ago

I hope the comment above answers your question. Please feel free to contact me at: eamid@ucsc.edu if you have any further questions. I am going to close the issue for now.