Text Classification
Transformers
Safetensors
English
deberta-v2
education
mathematics
misconception-detection
evaluation
text-embeddings-inference
Instructions to use QuantumLearningMachines/qlm-map-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantumLearningMachines/qlm-map-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="QuantumLearningMachines/qlm-map-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("QuantumLearningMachines/qlm-map-classifier") model = AutoModelForSequenceClassification.from_pretrained("QuantumLearningMachines/qlm-map-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
docs: limitations-first model card with component and MAP-34 results
Browse files
README.md
CHANGED
|
@@ -1,69 +1,167 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
-
language: en
|
| 4 |
base_model: microsoft/deberta-v3-base
|
|
|
|
| 5 |
pipeline_tag: text-classification
|
| 6 |
tags:
|
| 7 |
-
- education
|
| 8 |
-
-
|
| 9 |
-
- misconception-detection
|
| 10 |
-
-
|
| 11 |
-
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# qlm-map-classifier
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
|
| 28 |
-
|
|
| 29 |
-
|
|
| 30 |
-
|
|
| 31 |
-
|
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
In
|
| 38 |
|
| 39 |
## Training data
|
| 40 |
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
## Citation
|
| 60 |
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
title
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
|
|
|
| 67 |
}
|
| 68 |
-
|
| 69 |
-
## Contact: hello@quantumlearningmachines.com Β· quantumlearningmachines.com
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
|
|
|
| 3 |
base_model: microsoft/deberta-v3-base
|
| 4 |
+
library_name: transformers
|
| 5 |
pipeline_tag: text-classification
|
| 6 |
tags:
|
| 7 |
+
- education
|
| 8 |
+
- mathematics
|
| 9 |
+
- misconception-detection
|
| 10 |
+
- evaluation
|
| 11 |
+
language:
|
| 12 |
+
- en
|
| 13 |
---
|
| 14 |
|
| 15 |
# qlm-map-classifier
|
| 16 |
|
| 17 |
+
A DeBERTa-v3 classifier that labels a K-12 mathematics student response with the
|
| 18 |
+
misconception it exhibits, drawn from a 39-category grouped taxonomy derived from
|
| 19 |
+
QLM's misconception ontology.
|
| 20 |
+
|
| 21 |
+
**Read the Limitations section before using this model.** Its recall is high and
|
| 22 |
+
its precision is near chance: it flags most misconceptions present and is wrong
|
| 23 |
+
about roughly half of what it flags. That trade-off determines where it can and
|
| 24 |
+
cannot be used, and it is documented in full below.
|
| 25 |
+
|
| 26 |
+
## Model details
|
| 27 |
+
|
| 28 |
+
| Field | Value |
|
| 29 |
+
|---|---|
|
| 30 |
+
| Base model | `microsoft/deberta-v3-base` |
|
| 31 |
+
| Task | Multi-class classification over 39 grouped misconception categories, including a negative class |
|
| 32 |
+
| Unit of prediction | One student-response utterance |
|
| 33 |
+
| Epochs | 5 |
|
| 34 |
+
| Batch size | 16 |
|
| 35 |
+
| Learning rate | 2e-5 |
|
| 36 |
+
| Max sequence length | 256 |
|
| 37 |
+
| Warmup ratio | 0.1 |
|
| 38 |
+
| In production since | April 2026 |
|
| 39 |
|
| 40 |
## Training data
|
| 41 |
|
| 42 |
+
| Field | Value |
|
| 43 |
+
|---|---|
|
| 44 |
+
| Training examples | ~8,200 |
|
| 45 |
+
| Categories | 39 (grouped) |
|
| 46 |
+
| Split | 85% train / 10% validation / 5% test |
|
| 47 |
+
| Sources | EEDI misconception-labelled student responses (4,370 real student responses); QLM subject verticals; QLM misconception graph |
|
| 48 |
+
|
| 49 |
+
**On the example count.** The figure is stated as approximately 8,200 rather than
|
| 50 |
+
precisely, and that imprecision is deliberate. The number appears in the training
|
| 51 |
+
results record as a free-text descriptor rather than as a count derived from a
|
| 52 |
+
dataset manifest, and it cannot be reproduced from any current build script. A
|
| 53 |
+
later rebuild of the training data on disk contains 10,530 examples under a
|
| 54 |
+
different category grouping. Anyone needing an exact count for replication should
|
| 55 |
+
treat this as unresolved.
|
| 56 |
+
|
| 57 |
+
EEDI's 4,370 responses are authentic student work. The remaining examples are
|
| 58 |
+
derived from QLM's subject verticals and misconception graph rather than
|
| 59 |
+
collected from students.
|
| 60 |
+
|
| 61 |
+
## Evaluation
|
| 62 |
+
|
| 63 |
+
Component models are reported alongside the deployed combined model, at the same
|
| 64 |
+
precision. The weakest figures are the most decision-relevant.
|
| 65 |
+
|
| 66 |
+
| Variant | Examples | Categories | Accuracy | Precision | Recall | F1 | Mistake location |
|
| 67 |
+
|---|---|---|---|---|---|---|---|
|
| 68 |
+
| **Combined-39 (deployed)** | ~8,200 | 39 | **49.5%** | **49.7%** | **86.2%** | **63.1%** | **16.3%** |
|
| 69 |
+
| EEDI-only component | 4,370 | 36 | 52.7% | β | 72.1% | 60.4% | β |
|
| 70 |
+
| Retrained component | 308 | 23 | 50.2% | β | **0.5%** | β | 12.9% |
|
| 71 |
+
| MAP-34 detection | β | 34 | β | β | **25.1%** | β | β |
|
| 72 |
+
|
| 73 |
+
### How to read these numbers
|
| 74 |
+
|
| 75 |
+
**The deployed model over-flags.** 86.2% recall against 49.7% precision means it
|
| 76 |
+
catches most misconceptions that are present while being incorrect on
|
| 77 |
+
approximately half of its positive predictions. It is a high-sensitivity,
|
| 78 |
+
low-specificity instrument.
|
| 79 |
+
|
| 80 |
+
**Accuracy of 49.5% is above chance but its baseline is undocumented.** Uniform
|
| 81 |
+
chance on a 39-class problem is 2.6%, so 49.5% is far from random. However, the
|
| 82 |
+
class distribution of the training and test sets is not documented (see
|
| 83 |
+
Limitations), so a majority-class baseline cannot be computed β and without it,
|
| 84 |
+
49.5% cannot be interpreted as skill rather than class imbalance. This is a real
|
| 85 |
+
gap, not a rhetorical hedge.
|
| 86 |
+
|
| 87 |
+
**The retrained component is functionally non-detecting.** 0.5% recall on 308
|
| 88 |
+
examples across 23 categories means that component almost never fires. It is
|
| 89 |
+
reported here because it contributes to the deployed combined model and its
|
| 90 |
+
behaviour is a material limitation.
|
| 91 |
+
|
| 92 |
+
**MAP-34 detection recall of 25.1% is the figure to weigh** if the intended use
|
| 93 |
+
is detection against the MAP taxonomy rather than the grouped-39 taxonomy. The
|
| 94 |
+
model misses roughly three quarters of those cases.
|
| 95 |
+
|
| 96 |
+
### Downstream integration result
|
| 97 |
+
|
| 98 |
+
Injecting this classifier's per-turn output into a generative tutor's prompt
|
| 99 |
+
produced **no measurable improvement** in the tutor's correction match rate: 60%
|
| 100 |
+
without labels versus 55% with, on 100 paired math word problems, judged by
|
| 101 |
+
automated string matching. No significance test was computed; at n=100 a
|
| 102 |
+
5-point difference is within sampling error, and the result should not be cited
|
| 103 |
+
as evidence of degradation. The design conclusion drawn internally was that a
|
| 104 |
+
noisy per-turn signal is better integrated across a session into a state
|
| 105 |
+
estimate than injected turn by turn β an architectural inference, not a result
|
| 106 |
+
this experiment establishes.
|
| 107 |
+
|
| 108 |
+
## Limitations
|
| 109 |
+
|
| 110 |
+
1. **Precision is near chance.** 49.7% on positive predictions. Roughly half of
|
| 111 |
+
all flags are incorrect.
|
| 112 |
+
2. **Mistake-location performance is poor.** 16.3% on the deployed model, 12.9%
|
| 113 |
+
on the retrained component.
|
| 114 |
+
3. **MAP-34 detection recall is 25.1%.** Approximately three quarters of MAP-taxonomy
|
| 115 |
+
cases are missed.
|
| 116 |
+
4. **One component has 0.5% recall** and effectively never fires.
|
| 117 |
+
5. **Class distribution is not documented.** No majority-class baseline can be
|
| 118 |
+
computed, so accuracy cannot be separated from class imbalance.
|
| 119 |
+
6. **No inter-annotator agreement is documented.** The label reliability of the
|
| 120 |
+
non-EEDI training examples is unmeasured, so the ceiling on achievable
|
| 121 |
+
performance is unknown.
|
| 122 |
+
7. **Exact training-set size is not reproducible.** See the note under Training
|
| 123 |
+
data.
|
| 124 |
+
8. **Per-class performance is not published.** Only aggregate figures exist, so
|
| 125 |
+
which of the 39 categories the model handles well is unknown.
|
| 126 |
+
9. **No disaggregation by learner profile.** Performance for English learners,
|
| 127 |
+
students with learning differences, or students behind grade level is
|
| 128 |
+
unmeasured. Differential performance across these groups is plausible and
|
| 129 |
+
untested.
|
| 130 |
+
10. **Mathematics and English only.** No evaluation outside English-language K-12
|
| 131 |
+
mathematics.
|
| 132 |
+
11. **Majority of training data is not authentic student work.** 4,370 of ~8,200
|
| 133 |
+
examples come from EEDI; the remainder are derived from internal verticals
|
| 134 |
+
and the misconception graph.
|
| 135 |
+
|
| 136 |
+
## Out-of-scope uses
|
| 137 |
+
|
| 138 |
+
- **Any determination about an individual student.** Grading, placement,
|
| 139 |
+
diagnosis, intervention assignment, or referral. With 49.7% precision, roughly
|
| 140 |
+
half of such determinations would be wrong and none would be contestable.
|
| 141 |
+
- **Any evaluation of a teacher.**
|
| 142 |
+
- **Unsupervised triage** where a flag triggers action without human review. The
|
| 143 |
+
over-flagging behaviour makes a human reviewer necessary, not optional.
|
| 144 |
+
- **Per-turn injection into a generative tutor's prompt** β see the integration
|
| 145 |
+
result above.
|
| 146 |
+
- **Detection against the MAP taxonomy**, given 25.1% recall.
|
| 147 |
+
- **Non-mathematics subjects**, or non-English responses.
|
| 148 |
+
|
| 149 |
+
## Intended uses
|
| 150 |
+
|
| 151 |
+
Research on automated misconception detection; a baseline for misconception
|
| 152 |
+
benchmarks; aggregate, model-level analysis where the false-positive rate is
|
| 153 |
+
tolerable; and a noisy observation feeding a session-level state estimator that
|
| 154 |
+
integrates many signals rather than acting on any single one β the use for which
|
| 155 |
+
it was built.
|
| 156 |
|
| 157 |
## Citation
|
| 158 |
|
| 159 |
+
```
|
| 160 |
+
@misc{qlm-map-classifier-2026,
|
| 161 |
+
title = {qlm-map-classifier: a DeBERTa-v3 misconception classifier for K-12 mathematics},
|
| 162 |
+
author = {Srivastava, Kumar Sumbhav},
|
| 163 |
+
year = {2026},
|
| 164 |
+
note = {Quantum Learning Machines, Inc.},
|
| 165 |
+
url = {https://huggingface.co/QuantumLearningMachines/qlm-map-classifier}
|
| 166 |
}
|
| 167 |
+
```
|
|
|