Welcome to the repository of my semester project on "Triplet Comparisons and Graph Embeddings". This semester project was conducted at the INDY Lab at EPFL. The project was supervised by Prof. Matthias Grossglauser and Postdoc Dr. Suryanarayana Sankagiri.
The problem statement of the project was to develop methods for generating accurate graph embeddings from triplet comparisons.
A triplet comparison is of the form
We measure the accuracy of the graph embedding by the ability of the embedding to correctly infer the outcome of a new triplet comparison (implying that the embedding has captured the similarity relationships between the items).
We developed multiple approaches to generate graph embeddings from triplet comparisons, and tested them on real-world datasets.
We first generate rankings of items from triplet comparisons using the Bradley-Terry model.
i.e., for every target item choix.
These parameters are then used to infer a ranking of items for every target item
We then take these rankings and generate graph embeddings using different strategies:
- Unweighted Graph: We generate an unweighted graph from the rankings.
-
Weighted Graph 1: We generate a weighted graph from the rankings, where the weight of edges is a direct function of the parameters
$\gamma_{i|k}$ and$\gamma_{j|k}$ . -
Weighted Graph 2: We generate a weighted graph from the rankings, where the weight of edges is a direct function of the parameters
$\gamma_{i|k}$ and$\gamma_{j|k}$ , and the degree of the nodes. - Weighted Graph 3: We generate a weighted graph from the rankings, where the weight of edges is a function of the ranking of items.
We tested these graph embeddings on real-world datasets and compared their performance. The results and more information about the project can be found in the report.
I want to thank Prof. Matthias Grossglauser and Dr. Suryanarayana Sankagiri for their guidance and support throughout the project, and I hope that the work done in this project will be useful for future research in the field of graph embeddings and triplet comparisons.