In without reference text cases or essay grading, the evaluation of candidate's response is done on certain language parameters and checking the relevancy in correspondence to question text. Below are the parameters:
Scores on each of the above parameters are calculated separately and stored before generating the final scoring.
Note – All the parameters above have a score in the range of 0-1
Scoring and confidence Logic
With Reference Answer:
All the above stated parameters can be used when evaluating with respect to reference text, and their weightages can be set as per client.
Without Reference Answer:
While evaluating text scenarios without reference, the following parameters can be used: topic similarity, length criteria similarity, grammar and spell check, relevancy occurrence, and coherence. The weightages for each can be set as per the client's requirements.
Please refer to below example for calculation:
Score Calculation
With Reference Text:
Overall Marks:
Let us suppose maximum marks for a question is – 10 marks
Scores for the parameters mentioned are as follows:
- Cosine Similarity – 0.8 (0-1)
- Topic Similarity – 0.75 (0-1)
- Summary Cosine Similarity – 0.68 (0-1)
- Length Criteria Similarity – 0.6 ({response word count}/ {ideal answer word count})
- Semantic Similarity – 0.56(0-1)
- Grammar & Spell Score – 0.25(0-1)
- Relevancy Occurrence Score – 0.5(0-1)
- Coherence – 0.75(0-1)
Weightage Assigned to each parameter:
- Weightage of cosine similarity – 10%
- Weightage of topic similarity – 20%
- Weightage of summary cosine similarity – 15%
- Weightage of length similarity – 10%
- Weightage of semantic similarity – 20%
- Weightage of grammar and spell– 5%
- Weightage of relevancy occurrence – 10%
- Weightage of coherence – 10%
Max marks for each parameter:
- Max marks for cosine similarity according to weightage - (10/100) *10 = 1
- Max marks for topic similarity according to weightage - (20/100) *10 = 2
- Max marks for summary cosine similarity according to weightage - (15/100) *10 = 1.5
- Max marks for length similarity according to weightage - (10/100) *10 = 1
- Max marks for semantic similarity according to weightage - (20/100) *10 = 2
- Max marks for grammar and spell according to weightage - (5/100) *10 = 0.5
- Max marks for relevancy occurrence according to weightage - (10/100) *10 = 1
- Max marks for coherence according to weightage -(10/100) *10 = 1
Score of each parameter:
- Cosine similarity out of its max marks = 0.8*1 = 0.8
- Topic similarity out of its max marks = 0.75*2 = 1.5
- Summary Cosine similarity out of its max marks = 0.68*1.5 = 1.02
- Length similarity out of its max marks = 0.7* 1 = 0.7
- Semantic similarity out of its max marks = 0.56*2 = 1.12
- Grammar and spell out of its max marks = 0.25*0.5 = 0.125
- Relevancy occurrence out of its max marks = 0.5*1 = 0.5
- Coherence out of its max marks = 0.75* 1 = 0.75
Note – The length similarity is taken as 0.7 as 0.1 extra advantage is given to candidate as not always the candidate response maybe as lengthy as the ideal answer but maybe its quality could be good.
Overall marks = (6.515/10)
AI Confidence calculation
AI confidence is calculated based on number of parameters selected and the following confidence thresholds
Confidence Thresholds -
- Low Confidence - (0-0.3)
- Medium Confidence - (0.3-0.7)
- High Confidence - (0.7-1)
Confidence Calculation General Rules:
- Whichever confidence counts has the highest frequency, then that confidence is allotted to the response.
- If either two confidence counts or all three confidence counts are equal, then in that case medium confidence is allotted logically.
According to above example the confidence calculation will be as follows:
- Cosine AI Confidence – High (0.8)
- Topic AI Confidence – High (0.75)
- Summary AI Confidence – Medium (0.68)
- Length AI Confidence – Medium (0.6)
- Semantic AI Confidence – Medium (0.56)
- Grammar and Spell AI Confidence – Low (0.25)
- Relevancy AI Confidence – Medium (0.5)
- Coherence AI Confidence – High (0.75)
Since Medium confidence count is the highest, the final confidence is Medium.
Note: Final Confidence, 2 stands for high, 1 stands for medium and 0 stands for low confidence
So, the final scoring is as follows -
Overall Marks = 6.515/10
AI Confidence = Medium
Without Reference Text:
Overall Marks:
Let us suppose maximum marks for a question is – 10 marks
Scores for the parameters mentioned are as follows:
- Topic Similarity – 0.75 (0-1)
- Length Criteria Similarity – 0.75 ({response word count})
- Grammar & Spell Score – 0.25(0-1)
- Relevancy Occurrence Score – 0.5(0-1)
- Coherence – 0.75(0-1)
Weightage Assigned to each parameter:
- Weightage of topic similarity – 30%
- Weightage of length similarity – 20%
- Weightage of grammar and spell– 10%
- Weightage of relevancy occurrence – 20%
- Weightage of coherence – 20%
Max marks for each parameter:
- Max marks for topic similarity according to weightage - (30/100) *10 = 3
- Max marks for length similarity according to weightage - (20/100) *10 = 2
- Max marks for grammar and spell according to weightage - (10/100) *10 = 1
- Max marks for relevancy occurrence according to weightage - (20/100) *10 = 2
- Max marks for coherence according to weightage -(20/100) *10 = 2
Score of each parameter:
- Topic similarity out of its max marks = 0.75*3 = 2.25
- Length similarity out of its max marks = 0.75*2 = 1.5
- Grammar and spell out of its max marks = 0.25*1 = 0.25
- Relevancy occurrence out of its max marks = 0.5*2 = 1
- Coherence out of its max marks = 0.75*2 = 1.5
Overall marks = (6.5/10)
AI Confidence calculation
AI confidence is calculated based on number of parameters selected and the following confidence thresholds
Confidence Thresholds:
- Low Confidence - (0-0.3)
- Medium Confidence - (0.3-0.7)
- High Confidence - (0.7-1)
Confidence Calculation General Rules:
- Whichever confidence counts has the highest frequency, then that confidence is allotted to the response.
- If either two confidence counts or all three confidence counts are equal, then in that case medium confidence is allotted logically.
According to above example the confidence calculation will be as follows:
- Topic AI Confidence – High (0.75)
- Length AI Confidence – High (0.75)
- Grammar and Spell AI Confidence – Low (0.25)
- Relevancy AI Confidence – Medium (0.5)
- Coherence AI Confidence – High (0.75)
Since High confidence count is the highest, the final confidence is High.
Note: Final Confidence, 2 stands for high, 1 stands for medium and 0 stands for low confidence
So, the final scoring is as follows -
Overall Marks = 6.5/10
AI Confidence = High