Bird
0
0

During training of a 5-class sentiment classifier, the model's accuracy remains around 20% and loss does not improve. What is the most likely reason?

medium📝 Debug Q7 of 15
NLP - Sentiment Analysis Advanced
During training of a 5-class sentiment classifier, the model's accuracy remains around 20% and loss does not improve. What is the most likely reason?
AThe dataset is too large for the model to handle
BThe model is overfitting the training data
CThe learning rate is too low causing slow convergence
DThe model is predicting classes randomly due to incorrect label encoding
Step-by-Step Solution
Solution:
  1. Step 1: Analyze accuracy baseline

    With 5 classes, random guessing yields about 20% accuracy.
  2. Step 2: Consider causes of random predictions

    Incorrect label encoding or mismatched labels can cause the model to learn nothing.
  3. Step 3: Rule out other options

    Overfitting usually increases training accuracy; low learning rate slows but does not fix accuracy; dataset size alone doesn't cause random predictions.
  4. Final Answer:

    The model is predicting classes randomly due to incorrect label encoding -> Option D
  5. Quick Check:

    Accuracy near random chance suggests label or data issues [OK]
Quick Trick: Accuracy near 1/number_of_classes means random predictions [OK]
Common Mistakes:
MISTAKES
  • Assuming overfitting causes low accuracy
  • Blaming dataset size without evidence
  • Ignoring label encoding errors

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More NLP Quizzes