I have a csv file containing pairs of questions from the Quora Question Pairs Challenge. For each pair there is a corresponding label that specifies whether the questions are the same or not. I want to create a method so that if we have unknown pairs of questions I can answer if they ask the same thing or not. The accuracy of the result should be determined with the use of binary cross entropy loss.
This is a project that I have to do about a course of Information Retrieval. The problem is that all the solutions that I have found so far include Machine Learning (e.g. Neural Networks) and we haven't been taught how to use any Machine Learning models in this course. How can I solve this problem without using any Machine Learning?
I thought about cleaning the data (e.g. stop word reomval and punctuation removal) calculating the tf-idf and then applying cosine similarity between the two pairs. Like this I can find how similar two questions that are already given are, without using the labels. However, how can I use the labels to my advantage and predict the similarity between two unknown pairs of questions with no Machine Learning, is there a simple way that I am missing?