I have noticed that inside Lime Text Explainer, correct me if I am wrong, original text and its perturbed data is converted to binary vector form and there after the distance metric is used to calculate the distance between them. Can we use word embeddings to vectorize the perturbed data and then calculate the cosine distance between them? Will it make any difference if we calculate distances using embeddings rather than default that is currently used?
I have noticed that inside Lime Text Explainer, correct me if I am wrong, original text and its perturbed data is converted to binary vector form and there after the distance metric is used to calculate the distance between them. Can we use word embeddings to vectorize the perturbed data and then calculate the cosine distance between them? Will it make any difference if we calculate distances using embeddings rather than default that is currently used?