1
$\begingroup$

For something we are working on, we were looking for a simple way to compare from review/feedback data against a question (for which there are multiple responses from multiple people), the following:

  1. What are the common things (things defined as phrases/sentences) they are saying (Some way to quantify the commonality too if possible). The point is to identify what seems to be areas of agreement about their review

  2. What are things that are not common (basically...what are those on-off sentences/phrases that have been told that are very uncommon)

  3. Where is there disagreement (i.e. are there sentences/phrases where there is disagreement potentially between the responses)

The goal is to find a simple solution to this and not necessarily model driven (there is paucity of data). Also...it needs to be directional at this time...as the goal is to prove that this can work and can product reasonable results.

Any help advise?

Thanks much!

PS: We would need some 'intelligence' in identifying the commonality or vice-versa (i.e. different words meaning same within a phrase should be considered common).

$\endgroup$

1 Answer 1

1
$\begingroup$

Note: The questioner requests for the response to be simple. Although this approach below is not simple, it is an attempt to provide a perspective that could help.


Understanding the problem stated:
At a conceptual level, there are arguably 3 concepts in this question as given below.

  1. Semantic similarity i.e. how similar the responses (in meaning) are to one another. In a way, this similarity could be loosely inferred as similar proposition.
  2. Syntactic similarity i.e which aspects (tokens or entities or chunks) overlap between the responses.
  3. Text classification i.e. "is one feedback in agreement with another or neutral or against?".

Evaluating approaches:
There could be many potential solutions. Following steps are one such attempt.

  1. Step 1 Deploy a cosine similarity algorithm to measure the similarity between responses. In order to bring it a step closer to semantic similarity, use WORDNET to build the features for computing cosine similarity. This will ensure that tokens such as "path" are treated closer to token "road".

  2. Step 2 Group responses (for the same question) beyond a threshold cosine value (example: 0.75) as similar responses. This can be loosely considered as a set of different responses for a question.

  3. Step 3 Train a model to identify agreement or disagreement between responses. This training can be based on a classification algorithm or at the least based on a bag of words approach(hard coded tokens such as "i dont agree", "it is incorrect" etc). This step is perhaps the least scientific one but the only pragmatic one that the author can think of.

$\endgroup$
2
  • $\begingroup$ Thanks Sid. this is a great framework. On Step 3, could i use a pre-trained sentiment analysis to get polarity to achieve? So...if they are of same polarity and step 2 matches? $\endgroup$
    – bazooka720
    Commented Apr 10, 2020 at 4:07
  • $\begingroup$ Since the author does not have direct experience in building this solution, this comment needs to be considered as guess work. Majority of pre-trained sentiment analysis models such as VADER are lexical in nature (some modified form of bag of words). Hence the validity of the polarity depends on the content. Firstly, If the content has words such as "pain", "headache" and the topic of discussion are those words, then polarity won't help in identifying agreement or disagreement. Secondly, negative polarity may not mean disagreement. Please share sample data so we can explore this together. $\endgroup$ Commented Apr 12, 2020 at 3:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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