I know question-question match is a text similarity problem.

What about question-answer or question-doc match? It is used in information retrieval.

question-question match is indeed text similarity. But how do you define question-answer similarity?

Thank you!!

  • $\begingroup$ Assuming that the answer has more sentences than the single-lined question, there is always a sentence in the answer which shows more similarity with the sentence of the question. You can encode the question to a vector. Then one-by-one, encode each sentence of the answer into a vector. Take all the similarity scores and take the mean of them. This averaged score will represent the mean similarity of the answer with the question. $\endgroup$ – Shubham Panchal Aug 3 '19 at 5:31

You can refer to the paper "A Deep Look into Neural Ranking Models for Information Retrieval" to get more discussion about different matching tasks.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.