Open Access
Peer-Reviewed

Advanced Data Science and Computational Intelligence
(Annual (One issue per year))

Journal Logo
Toward Offline AI Tutoring: Benchmarking ResourceEfficient Models for Mathematics Misconception Diagnosis
Research Article - Volume: 1, Issue: 1, 2026 (November)

Kingsley Amponsah1*, Alan Shaw2

1*,2Department of Computer Science, Kennesaw State University Marietta, Georgia, United States

*Correspondence to: Kingsley Amponsah, Department of Computer Science, Kennesaw State University, Marietta, Georgia, United States; .

Received: September 01, 2026; Manuscript No: JADS-26-5912; Editor Assigned: September 02, 2026; PreQc No: JADS-26-5912 (PQ); Reviewed: September 10, 2026; Revised: September 18, 2026; Accepted: September 21, 2026; Published: November 24, 2026

ABSTRACT

Artificial intelligence is increasingly being used to support teaching and learning, including helping students understand mistakes in mathematics. However, many AI tutoring systems depend on internet access, cloud services, or large computing resources. This can make them difficult to use in schools and learning environments where reliable connectivity or powerful computers are not always available. This study explores whether smaller AI models that can run locally on a computer can help identify the mathematical misconceptions behind students' incorrect answers. Six lightweight text-retrieval approaches were compared using two mathematics misconception datasets, MaE and Eedi. For each student error, the models were asked to rank possible misconception explanations that could account for the incorrect response. The study also examined the computing resources required by each approach, including storage, memory, and processing speed. Across the two datasets, compact semantic models provided a useful balance between diagnostic performance and computational efficiency, while simpler text-matching methods remained attractive when very low storage and fast processing were the main priorities. These findings suggest that offline AI can support mathematics tutoring without always requiring large cloud-based systems, although human judgment remains important when using the models to interpret student misconceptions.

Keywords: Artificial Intelligence in Education; Mathematics Misconceptions; Intelligent Tutoring Systems; Offline AI; Educational Technology; Resource-Efficient Machine Learning

INTRODUCTION

Artificial intelligence is becoming more common in education. It is now used for tasks such as giving feedback, recommending learning materials, predicting student performance, and supporting personalized instruction [1]. Intelligent tutoring systems have a longer history and aim to provide some of the benefits of one-to-one tutoring by adjusting practice, explanations, and feedback to the learner. Research reviews have found that well-designed intelligent tutoring systems can improve learning, although their effectiveness depends on how they are designed and used [2-3]. Systems such as AutoTutor also showed that computers can support meaningful instructional conversations with learners [4].

In mathematics, one of the most important challenges is understanding why a student gives a wrong answer. A wrong answer does not always mean that the student guessed or made a simple calculation mistake. It may reflect a recurring misunderstanding about a mathematical idea or procedure. For example, a student may consistently apply an operation in the wrong order or use a rule correctly in one situation but incorrectly in another. Research on misconceptions has shown that students' errors can reflect meaningful patterns in their thinking and should therefore be interpreted carefully rather than treated only as right or wrong answers [5-6].

This makes misconception diagnosis important for educational technology. If a tutoring system can identify a few likely reasons behind an incorrect answer, it may be able to provide more useful feedback, ask a follow-up question, or help a teacher decide what kind of explanation the student needs. The goal does not have to be a fully automatic diagnosis. In many educational settings, it may be more useful for an AI system to provide a short list of likely misconceptions that a teacher or tutor can review.

Recent datasets have made it possible to study this problem systematically. The Math Misconceptions and Errors (MaE) dataset contains 55 middle-school algebra misconceptions and four examples for each misconception, giving 220 examples in total [7]. The Eedi “Mining Misconceptions in Mathematics” competition provides a much larger collection of multiple-choice mathematics questions in which many wrong answer choices are linked to misconception labels [8]. Together, these two resources make it possible to test whether a model that works well in a small, controlled setting also performs well when the number of possible misconceptions becomes much larger.

At the same time, access to AI is not only a question of accuracy. Many current AI systems rely on cloud computing and continuous internet access. This may be difficult in settings where connectivity is unreliable, where schools have limited technology budgets, or where institutions prefer to keep student information on local devices. The International Telecommunication Union continues to report major global differences in internet access [9], while UNESCO has emphasized that educational technology should be judged not only by what it can do, but also by issues such as access, privacy, sustainability, and appropriateness for the setting in which it is used [10-11].

These concerns create a practical research question: can smaller AI models provide useful support for mathematics misconception diagnosis without requiring a large cloud-based system? This question connects educational needs with the growing interest in resource-efficient AI. Green AI research argues that computational cost should be considered alongside predictive performance [12]. Work on smaller language models and edge computing has also shown that useful AI functions can often be moved closer to the user rather than always being performed on remote servers [13-16].

This study compares six locally deployable approaches for ranking likely mathematics misconceptions from student errors. Two are traditional text-matching methods, TF-IDF and BM25, and four are compact pretrained language models: MiniLM, E5-small, BGE-small, and BGE-base. Rather than asking only which model is most accurate, the study also asks how much storage, memory, and processing time each model requires.

The study is guided by three research questions:

RQ1

How well can lightweight text-matching and semantic models identify likely mathematical misconceptions in the MaE and Eedi datasets?

RQ2

What trade-offs exist between diagnostic performance and computing requirements such as model size, memory use, processing time, and throughput?

RQ3

Do the same models remain strong when the task changes from a small misconception set to a much larger and more varied one?

The study contributes in four ways. First, it places MaE and Eedi within the same general misconception-ranking framework while keeping the original labels of each dataset. Second, it compares simple text-matching methods with compact semantic language models without training them specifically on either dataset. Third, it evaluates whether the models can operate locally using a standardized CPU-only test. Fourth, it compares performance and computing cost together and uses repeated statistical resampling to examine whether the main model differences are stable.

RELATED WORK

Intelligent Tutoring and Mathematics Misconceptions

Intelligent tutoring systems are designed to adapt instruction to the learner. Their effectiveness depends partly on how well they can interpret what the learner understands and where difficulties occur. Reviews of intelligent tutoring research have generally reported positive learning effects, but they also show that results vary across subjects, learner groups, and system designs [2-3]. Earlier dialogue-based systems such as AutoTutor demonstrated that a tutoring system can respond to learner input and use that information to guide an instructional exchange [4].

In mathematics, a student's incorrect answer may provide evidence about the reasoning that produced it. Misconception research has long argued that student thinking should not be reduced to a simple collection of correct and incorrect facts. Prior knowledge may be partly useful but applied in the wrong context, or a student may use a familiar procedure where it does not belong [5]. Classroom error analysis has similarly been used to help teachers identify repeated patterns in students' mathematical work [6]. These ideas support the use of AI as a diagnostic aid that suggests possible explanations rather than acting as an unquestionable judge of a student's thinking.

The MaE benchmark was created to support research on this problem in middle-school algebra. It contains 55 misconceptions across eight topic areas, with four examples for each misconception [7]. Each example includes a mathematics problem, an incorrect answer linked to a misconception, and the correct answer. The original MaE study showed that AI performance varies across topics and depends on the information made available to the model.

Eedi provides a different type of evidence. Its questions are multiple choice, and many wrong answer options were designed or labeled to reflect particular misconceptions [8]. The competition asks systems to rank possible misconception labels for a wrong answer. Because the student response is one of the available answer options rather than a free-response explanation, Eedi is not identical to real classroom diagnosis. However, it provides a much larger and more varied test of whether models can distinguish among many similar misconception descriptions.

Text Matching and Semantic Retrieval

The approaches used in this study come from information retrieval, the area of computing concerned with finding the most relevant information for a query. Two of the methods, TF-IDF and BM25, mainly depend on shared words and phrases. TF-IDF gives more importance to words that are useful for distinguishing one document from another [17]. BM25 is another widely used retrieval method that also considers how often important words appear and adjusts for differences in document length [18]. These methods are attractive for offline educational systems because they are small, fast, and do not require a large neural network.

The other four models are semantic models. Instead of relying mainly on exact word overlap, they convert a sentence or short passage into a numerical representation that is intended to capture meaning. Sentences with similar meanings can therefore be close to one another even when they do not use exactly the same words. Sentence-BERT helped make this kind of sentence-level comparison practical [19]. E5 and BGE are more recent embedding models designed for retrieval and related language tasks [20-21].

Large retrieval benchmarks such as BEIR and MTEB have shown that model performance can change substantially from one task to another [22-23]. A model that is strong on a general benchmark may therefore not be the best choice for a specialized educational task. This is one reason the present study compares several models directly on mathematics misconception data rather than selecting a model only because it performs well on a general language benchmark.

Resource-Efficient and Offline AI

As language models have become larger, researchers have paid increasing attention to smaller models that use less memory and require less computation. DistilBERT, TinyBERT, and MobileBERT are examples of work aimed at reducing the computing cost of language models while retaining useful performance [14-16]. Edge-computing research has also explored ways to run AI closer to the user instead of sending every request to a remote server [13].

This issue is particularly relevant in education because technology access is uneven. Schools differ greatly in internet quality, device capability, technical support, and available funding. A system that works only when a stable internet connection and paid cloud service are available may be difficult to use in some educational settings. For that reason, this study treats computing cost as part of the educational question rather than as a separate engineering issue.

MATERIALS AND METHODS

Study Design

This study used a comparative benchmarking design based entirely on existing public datasets. No new student data were collected. The central task was the same for both datasets: given a mathematics problem and a student's incorrect answer, the model had to rank possible misconception descriptions so that the correct explanation appeared as high as possible in the list.

The study intentionally focused on models that could be used without additional training on MaE or Eedi. The four neural models were used in their pretrained form, and the two traditional retrieval methods built their search indexes only from the misconception descriptions. This choice allowed the comparison to focus on what each approach could do immediately, without giving one model the advantage of extra task-specific training.

Figure 1 summarizes the study. Each dataset was converted into a common format, the six models produced ranked lists of possible misconceptions, and the results were compared using both diagnostic measures and computing-resource measures. Statistical resampling was then used to examine the stability of the main findings.

MaE Dataset

The MaE dataset was obtained from the public repository associated with Otero et al. [7]. It contains 220 examples, 55 misconception labels, and eight mathematics topic areas. Each misconception has exactly four examples. The topic areas include Number Operations; Ratios and Proportional Reasoning; Patterns, Relationships, and Functions; Equations and Inequalities; Number Sense; Properties of Number and Operations; Variables, Expressions, and Operations; and Algebraic Representations.

For each MaE example, the model received four pieces of text: the mathematics topic, the question, the correct answer, and the student's incorrect answer. The model then compared that information with the 55 misconception descriptions and ranked them from most to least likely. Some MaE examples refer to visual material, but this study used only the available text. Images were not included in the present experiments.

Eedi Dataset

The Eedi data were obtained from the official “Mining Misconceptions in Mathematics” Kaggle competition [8]. The training file contains 1,869 multiple-choice questions, while the misconception mapping contains 2,587 misconception descriptions. Each question includes the mathematics content area, the question text, four answer options, the correct answer, and misconception labels for many of the wrong options.

JADS-26-5912-image1

Figure 1: Overview of the study design. Student responses from the MaE and Eedi datasets were converted into a common diagnostic format and evaluated using six locally deployable approaches. The models were compared in terms of both diagnostic quality and the computing resources required for offline use.

For this study, each wrong answer option that had a misconception label was treated as one student-error case. Correct answers and wrong options without a misconception label were excluded. This produced 4,370 usable cases linked to 1,604 different misconception labels. The full list of 2,587 misconception descriptions was kept as the set of possible answers the models had to search through. This makes Eedi much more difficult than MaE because the model must choose among far more possible misconception descriptions.

To keep the two datasets as similar as possible, each Eedi example was represented using the subject area, the question, the correct answer, and the selected wrong answer. The more detailed Eedi construct label was kept in the processed data but was not included in the model input. Table 1 summarizes the two datasets after preparation.

Characteristic

MaE

Eedi

Original question/example records

220

1,869 questions

Usable diagnostic cases

220

4,370

Possible misconception descriptions

55

2,587

Misconceptions observed in the cases

55

1,604

Topic/subject groupings

8

163

Construct labels

-

757

Median cases per observed misconception

4

2

Table 1: Dataset characteristics after preprocessing

How the Misconception Ranking Task Worked

For every student-error case, each model produced an ordered list of possible misconceptions. The first item was the model's most likely explanation, followed by its second choice, third choice, and so on. The model did not generate a new explanation. Instead, it searched the existing misconception descriptions supplied by the dataset.

This ranking approach was chosen because it matches a realistic educational use. A tutoring system or teacher-support tool could show the top few possibilities rather than claiming that one diagnosis is certainly correct. It also allowed the two datasets to be evaluated in the same general way even though their misconception lists are different.

Models Compared

Six approaches were selected to represent a range from very small text-matching methods to larger semantic language models.

TF-IDF

TF-IDF represented each misconception description using the words and short phrases it contained. It then ranked misconceptions according to how strongly their wording matched the student-error query. Unigrams and bigrams were used, text was converted to lowercase, and standard TF-IDF weighting and normalization were applied [17].

BM25

BM25 is another traditional search method. It also relies on word overlap but uses a different weighting scheme that is widely used in search engines and information retrieval [18]. The rank bm25 implementation was used with its default settings.

MiniLM

The sentence-transformers/all-MiniLM-L6-v2 model represents text using 384 numerical features. Unlike the lexical methods, it can recognize similarity in meaning even when the wording is not identical. It was included because it is relatively compact compared with many modern language models [19].

E5-small

The intfloat/e5-small-v2 model is another compact semantic model that produces 384-dimensional text representations. The recommended retrieval prefixes “query:” and “passage:” were used [20].

BGE-small and BGE-base

The BAAI/bge-small-en-v1.5 and BAAI/ bge-base-en-v1.5 models were also tested. BGE-small produces 384-dimensional representations, while BGE-base produces 768-dimensional representations and is much larger. The recommended retrieval instruction was used for the query text [21].

No model was fine-tuned on the MaE or Eedi labels. The evaluation examples were not used to train the models or adjust their prompts.

Measures of Diagnostic Performance

Several measures were used because a tutoring system may benefit from a useful shortlist even when the correct misconception is not ranked first.

Top-1 accuracy is the percentage of cases in which the correct misconception was the model's first choice. Recall@3 asks whether the correct misconception appeared anywhere among the first three suggestions, while Recall@5 asks the same question for the first five suggestions. Mean reciprocal rank (MRR) gives more credit when the correct misconception appears near the top of the list and less credit when it appears much farther down.

For Eedi, Recall@25 and MAP@25 were also reported because the original Eedi competition emphasized retrieval within the first 25 suggestions [8]. The MaE and Eedi percentages were not treated as directly equivalent because Eedi required the models to search through 2,587 possible misconception descriptions, compared with only 55 in MaE.

Offline CPU Efficiency Test

A separate test was used to compare how demanding the models were to run locally. All neural models were copied to the local Colab storage before testing so that Google Drive access would not affect timing. Each model and dataset combination was then tested in a fresh Python process. The environment provided six physical CPU cores, 12 logical cores, and 167.05 GB of system memory. Neural models were restricted to CPU use with six processing threads.

The models were also forced into offline mode. The model files were loaded only from local storage, and access to the Hugging Face model hub was disabled during testing. This means that, after the model had already been downloaded, the actual misconception-ranking step did not require an internet connection or an external API.

The misconception descriptions were prepared in advance, as they would be in a real tutoring system where the list of misconceptions changes much less often than student responses. A fixed sample of 50 queries from each dataset was tested three times. The study recorded model file size, the size of the prepared misconception index, median processing time for one student response, 95th-percentile processing time, the number of queries processed per second, and the additional memory used by the running process.

Because the benchmark was conducted in Google Colab, the reported latency and memory values should be interpreted primarily as controlled comparisons among the models rather than direct performance estimates for classroom devices. School Chromebooks, low-cost laptops, and Raspberry Pi-class computers may have fewer CPU resources and less available memory, so absolute response times could be longer on those platforms. The standardized environment nevertheless allows the relative computational demands of the six approaches to be compared under the same conditions.

Performance-Efficiency Trade-off Analysis

The study also examined whether a model offered a worthwhile improvement for the extra computing resources it required. A model was considered part of the best trade-off set, often called a Pareto frontier, when no other model was both more accurate in ranking and less demanding in the resource being considered. Separate comparisons were made for processing time and model size. MRR was used as the common performance measure because it was available for both datasets and reflects how close the correct misconception was to the top of the ranked list.

Statistical Analysis

Because some examples in each dataset are related to one another, the study used a resampling method that kept those relationships intact. For MaE, all four examples belonging to the same misconception were treated as a group. For Eedi, wrong answer choices from the same original question were treated as a group. Ten thousand bootstrap resamples were generated using random seed 2026.

This procedure was used to create 95% confidence intervals for Top-1 accuracy and MRR and to compare the most important model pairs. On MaE, MiniLM was compared with BGE-base and TF-IDF. On Eedi, BGE-base was compared with MiniLM, and MiniLM was compared with TF-IDF. A difference was considered clearly supported by the resampling analysis when the 95% interval for that difference did not include zero.

RESULTS

Diagnostic Performance on MaE

Table 2 shows the model results. On MaE, MiniLM performed best across all of the main ranking measures. It selected the correct misconception as its first choice in 22.27% of cases, placed it within the first three suggestions in 47.73% of cases, and placed it within the first five suggestions in 60.00% of cases. Its MRR was 0.3877.

BGE-base was the second-best model on MaE, with 17.27% Top-1 accuracy and an MRR of 0.3019. E5-small and BGE-small produced lower results. The two traditional text-matching methods were much smaller and faster, but they also produced lower ranking performance. TF-IDF, for example, reached 10.00% Top-1 accuracy and an MRR of 0.2050.

An important finding is that the largest model was not the best model on MaE. MiniLM was much smaller than BGE-base but achieved a higher MRR. This suggests that increasing model size does not automatically improve misconception diagnosis.

Diagnostic Performance on Eedi

Eedi was a more difficult task because the models had to search among 2,587 possible misconception descriptions. BGE-base produced the strongest overall first-rank performance, with 7.83% Top-1 accuracy and an MRR of 0.1571. MiniLM was close, with 6.36% Top-1 accuracy and an MRR of 0.1472.

The ranking measures also show why first-choice accuracy alone does not tell the full story. MiniLM placed the correct misconception within its first 25 suggestions in 48.63% of cases, slightly higher than BGE-base at 47.46%. BGE-small had a slightly higher Top-1 accuracy than MiniLM, but MiniLM performed better on Recall@3, Recall@5, Recall@25, MRR, and MAP@25.

TF-IDF also produced a noteworthy result. Although it is a very simple method, it outperformed E5-small and BM25 on the main Eedi ranking measures. This reinforces the importance of testing models directly on the educational task rather than assuming that a more complex model will always perform better.

Dataset

Model

Top-1 (%)

R@3 (%)

R@5 (%)

MRR

R@25 (%)

MAP@25

MaE

MiniLM-L6-v2

22.27

47.73

60

0.3877

-

-

MaE

BGE-base-en-v1.5

17.27

32.73

43.64

0.3019

-

-

MaE

E5-small-v2

13.18

26.36

33.18

0.2462

-

-

MaE

BGE-small-en-v1.5

11.36

28.18

35.45

0.2387

-

-

MaE

TF-IDF

10

21.36

26.82

0.205

-

-

MaE

BM25

5.45

16.36

26.36

0.1725

-

-

Eedi

BGE-base-en-v1.5

7.83

16.36

23.04

0.1571

47.46

0.152

Eedi

MiniLM-L6-v2

6.36

16.04

21.46

0.1472

48.63

0.1413

Eedi

BGE-small-en-v1.5

6.68

14.9

20.34

0.141

43.66

0.1358

Eedi

TF-IDF

5.19

11.69

16.13

0.1114

35.45

0.1063

Eedi

E5-small-v2

3.71

8.58

12.27

0.087

28.83

0.0813

Eedi

BM25

3.43

8.12

11.65

0.0795

25.49

0.0743

Table 2: Diagnostic retrieval performance across MaE and Eedi. Dashes indicate metrics not used for the MaE benchmark.

Patterns Across the Two Datasets

The two datasets produced different model rankings, which was one of the main reasons for including both. MiniLM was the strongest model on MaE and remained one of the strongest models on Eedi. BGE-base improved relative to MiniLM when the number of possible misconceptions became much larger. E5-small, in contrast, did not outperform MiniLM on either dataset and was below TF-IDF on Eedi.

Figure 2 shows these cross-dataset patterns. The results should be interpreted with the substantial difference in task difficulty in mind, because Eedi contains 2,587 possible misconception descriptions compared with only 55 in MaE.

JADS-26-5912-image2

Figure 2: Diagnostic performance of the six models across the MaE and Eedi benchmarks. Top-1 accuracy represents how often the model's first suggested misconception was correct, while Recall@5 represents how often the correct misconception appeared among the first five suggestions. The lower values on Eedi should be interpreted in light of its substantially larger candidate set of 2,587 misconception descriptions compared with 55 in MaE.

Computing Requirements

Table 3 summarizes the standardized CPU test. The traditional text-matching methods were the fastest and smallest. On MaE, both BM25 and TF-IDF had median processing times below 1 millisecond. On Eedi, TF-IDF remained fast at 1.12 milliseconds, while BM25 increased to 15.95 milliseconds because it had to score a much larger set of candidate descriptions.

Among the neural models, MiniLM required the least storage and generally offered the best balance of speed and performance. Its model file was 87.35 MB. Median processing time was 15.17 milliseconds on MaE and 133.19 milliseconds on Eedi. BGE-base required 418.43 MB and had median processing times of 64.85 milliseconds on MaE and 172.06 milliseconds on Eedi.

Memory use was larger than model file size because the running process also included Python, the machine-learning libraries, the loaded model, and the in-memory misconception index. MiniLM used approximately 983 MB of additional resident memory on MaE and 1,058

MB on Eedi. BGE-base used approximately 1,297 MB and 1,455 MB. These values should therefore be read as measurements from the test environment, not as universal minimum-memory requirements for every device.

Dataset

Model

Model MB

Index MB

Median ms

P95 ms

Queries/s

Incremental RAM MB

MaE

TF-IDF

0.05

0.05

0.65

0.83

1438.52

62.73

MaE

BM25

0.02

0.02

0.61

3.12

964.76

0.25

MaE

MiniLM-L6-v2

87.35

0.08

15.17

26.29

61.81

983

MaE

E5-small-v2

128.02

0.08

23.14

41.79

37.79

1066.18

MaE

BGE-small-en-v1.5

128.05

0.08

24.22

43.05

36.72

1135.11

MaE

BGE-base-en-v1.5

418.43

0.16

64.85

117.67

14.05

1296.59

Eedi

TF-IDF

1.08

1.08

1.12

1.33

853.61

64.17

Eedi

BM25

0.49

0.49

15.95

44.87

53.27

2.82

Eedi

MiniLM-L6-v2

87.35

3.79

133.19

143.98

8.09

1058.09

Eedi

E5-small-v2

128.02

3.79

141

163.61

7.35

1123.61

Eedi

BGE-small-en-v1.5

128.05

3.79

138.98

163.65

7.64

1114.96

Eedi

BGE-base-en-v1.5

418.43

7.58

172.06

225.08

5.72

1454.5

Table 3: Standardized CPU-only resource efficiency. Latency reflects single-query inference with the candidate catalog precomputed and network access disabled.

Performance-Efficiency Trade-offs

On MaE, the best trade-off set for processing time contained BM25, TF-IDF, and MiniLM. The larger neural models were not on this frontier because MiniLM achieved better ranking performance while also being faster. The same pattern appeared when model size was considered. In practical terms, TF-IDF represents an extremely lightweight option, while MiniLM provides a much larger improvement in diagnostic ranking for a moderate increase in computing cost.

Figure 3 provides a visual comparison of diagnostic performance and computational cost. Rather than asking only which model achieved the highest ranking score, the figure shows how much additional performance was obtained in exchange for greater processing time or model storage. This comparison is important for offline educational applications, where available computing resources may vary substantially across schools and devices.

JADS-26-5912-image3
a.MaE: diagnostic performance versus CPU pro-cessing time.

JADS-26-5912-image4
b.Eedi: diagnostic performance versus CPU pro-cessing time.

JADS-26-5912-image5
c.MaE: diagnostic performance versus model size.

JADS-26-5912-image6
d.Eedi: diagnostic performance versus model size.

Figure 3: Performance-efficiency trade-offs across the MaE and Eedi benchmarks. Mean reciprocal rank (MRR) represents how highly the correct misconception was ranked, with higher values indicating better diagnostic ranking. CPU processing time and model size represent computational cost, where lower values are preferable. Asterisks identify models on the Pareto frontier, meaning that no alternative achieved both better ranking performance and lower resource requirements.

Statistical Comparisons

The resampling analysis supported the main findings. On MaE, MiniLM's Top-1 accuracy was 0.2227 with a 95% confidence interval of 0.1409-0.3136, and its MRR was 0.3877 with an interval of 0.3100-0.4704. BGE-base had a Top-1 accuracy of 0.1727 and an MRR of 0.3019. The difference in Top-1 accuracy between MiniLM and BGE-base was not clearly separated from zero, but MiniLM's MRR advantage of 0.0858 had a 95% interval of 0.0228-0.1490, which excluded zero.

On Eedi, BGE-base had a small but consistent advantage over MiniLM. Its Top-1 advantage was 0.0146 with a 95% interval of 0.0057-0.0239, while its MRR advantage was 0.0099 with an interval of 0.0016-0.0179. Both intervals excluded zero. MiniLM also had clearly better Top-1 accuracy and MRR than TF-IDF on both datasets. Table 4 summarizes the paired comparisons.

Dataset

Model A

Model B

Metric

Difference

95% CI

 

Excludes 0?

MaE

MiniLM

BGE-base

Top-1

0.05

[-0.0273, 0.1318]

No

MaE

MiniLM

BGE-base

MRR

0.0858

[0.0228, 0.1490]

Yes

MaE

MiniLM

TF-IDF

Top-1

0.1227

[0.0318,

0.2182]

Yes

MaE

MiniLM

TF-IDF

MRR

0.1827

[0.0899,

0.2724]

Yes

Eedi

BGE-base

MiniLM

Top-1

0.0146

[0.0057,

0.0239]

Yes

Eedi

BGE-base

MiniLM

MRR

0.0099

[0.0016,

0.0179]

Yes

Eedi

MiniLM

TF-IDF

Top-1

0.0117

[0.0012,

0.0225]

Yes

Eedi

MiniLM

TF-IDF

MRR

0.0358

[0.0257,

0.0458]

Yes

Table 4: Paired cluster-bootstrap comparisons for key model contrasts. Differences are Model A minus Model B; 10,000 resamples.

DISCUSSION

This study asked a practical educational question: how much useful misconception-diagnosis support can be obtained from models that can run locally rather than depending on a large cloud-based AI service? The results show that the answer depends on what a school or tutoring system values most. The model with the highest accuracy was not always the model with the best balance of accuracy, speed, and storage.

The MaE results provide the clearest example. MiniLM performed better than all of the other models on the main ranking measures even though it was much smaller than BGE-base. Its advantage in MRR also remained clear after the cluster-aware statistical analysis. This matters because it suggests that a moderate-size model may be sufficient for a smaller, well-defined misconception taxonomy. A larger model does not automatically provide better educational diagnosis.

Eedi produced a different pattern. BGE-base achieved the highest Top-1 accuracy and MRR, and its advantage over MiniLM was supported by the resampling analysis. However, the size of that advantage was modest. BGE-base improved Top-1 accuracy by 1.46 percentage points and MRR by 0.0099, but it required 418.43 MB of model storage compared with 87.35 MB for MiniLM and was also slower. MiniLM achieved the highest Recall@25, meaning that it was particularly effective when the goal was to create a shortlist of possible misconceptions rather than make a single final diagnosis.

This distinction is important for education. In a classroom or tutoring setting, the most useful AI output may not be one label presented with certainty. A teacher may benefit more from seeing three, five, or several likely possibilities, especially when student reasoning is not fully visible from the final answer alone. On MaE, MiniLM placed the correct misconception in its first five suggestions in 60% of cases. On Eedi, MiniLM and BGE-base placed the correct misconception in the first 25 suggestions in nearly half of the cases. These numbers are not high enough to justify automatic instructional decisions, but they suggest that the models can help narrow a large set of possibilities.

The difference between MaE and Eedi also shows why results from one benchmark should not be generalized too quickly. MaE has only 55 possible misconceptions and gives four examples for each one. Eedi has 2,587 possible misconception descriptions, a much longer tail of labels, and far greater variation in mathematics content. It is therefore not surprising that Top-1 accuracy was much lower on Eedi. The larger dataset is useful precisely because it shows how the models behave when the diagnostic problem becomes more realistic and more difficult. The weaker performance of E5-small and the mixed performance of BGE-small are also informative. These models are strong general-purpose text embedding models, but they were not consistently the best choices for this educational task. This agrees with findings from general retrieval benchmarks showing that model rankings change across tasks [22-23]. Mathematics misconception diagnosis combines natural language, mathematical expressions, short answer choices, and specialized pedagogical descriptions. A model that works well on general text retrieval may not be equally well matched to this combination.

From a deployment perspective, the study shows that all six approaches can perform the actual ranking step without internet access once the required files are installed. However, offline operation does not mean that every model will run equally well on every device. MiniLM used approximately 983 MB of additional resident memory on MaE and 1,058 MB on Eedi in the Colab environment once the software runtime was included. Standard student laptops and Chromebooks may therefore provide a more realistic deployment target for MiniLM than very low-memory devices, although actual performance should be measured directly on those systems. Raspberry Pi-class devices may be more constrained because of their processor speed, memory capacity, and software environment. The present results should therefore be interpreted as evidence of relative efficiency rather than as guaranteed device-level performance.

Further optimization may reduce these resource requirements. INT8 quantization can reduce the precision used to store and process model weights, while optimized inference frameworks such as ONNX Runtime can provide more efficient execution on CPUs. These techniques may reduce storage, memory use, or processing time, although the size of the improvement will depend on the hardware, runtime, and model configuration. In addition, total process memory may not decrease in the same proportion as model size because the software libraries, Python runtime, and misconception index also consume memory. Future work should therefore evaluate quantization, ONNX Runtime, model compression, and smaller embedding models directly on school laptops, Chromebooks, Raspberry Pi-class devices, and other low-resource hardware while also checking whether these optimizations affect misconception-ranking accuracy.

The results also show why educational AI studies should report computing cost alongside model performance. If only Eedi Top-1 accuracy were considered, BGE-base would appear to be the obvious choice. If only speed and storage were considered, TF-IDF would be the obvious choice. Looking at both dimensions reveals a more useful middle option. MiniLM often provided a substantial improvement over simple text matching without requiring the storage and processing cost of BGE-base. This kind of comparison is consistent with the broader argument that AI systems should be judged not only by accuracy but also by the resources needed to use them [12].

For educational practice, the most defensible role for the models in this study is decision support. A local tutoring system could examine a student's incorrect answer, produce a short list of possible misconceptions, and then use that list to select an explanation, ask a clarification question, or present possibilities to a teacher. Running this process locally may reduce dependence on a paid API and continuous internet access, while also keeping the text of the student response on the local device during inference. These possibilities are relevant in settings where connectivity, cost, privacy, or institutional policy makes cloud AI difficult to use [9, 11]. However, the present study did not directly test classroom learning, teacher decision making, privacy outcomes, or real low-connectivity schools.

LIMITATIONS AND FUTURE DIRECTIONS

Several limitations should be considered when interpreting the results. First, this was a computational benchmark rather than a classroom intervention. The study shows how well the models rank dataset-defined misconception labels, but it does not show whether using those suggestions improves teaching or student learning. Future studies should involve teachers and students to examine whether the suggested misconceptions are understandable, useful, and appropriate for instructional decisions.

Second, MaE and Eedi represent student errors in different ways. MaE contains research-based diagnostic examples, while Eedi is based on multiple-choice distractors. Choosing a wrong multiple-choice option is not the same as explaining one's reasoning in an open-ended response. Future work should therefore include free-response answers, written reasoning, and multi-step solutions.

Third, the present study used text only. Some MaE examples refer to images, and many mathematics tasks depend on diagrams, graphs, spatial layouts, or other visual information. A future offline tutoring system could combine lightweight language and vision models so that it can interpret both the written problem and the visual material.

Fourth, the models were intentionally tested without task-specific training. This made the comparison cleaner, but it also limited the absolute accuracy. One promising direction is a hybrid retrieval system that combines the speed of lexical methods with the stronger meaning-based matching of compact semantic models. For example, TF-IDF or BM25 could first reduce a large misconception catalog to a smaller candidate set, after which MiniLM could rerank only those candidates. Another possibility is to combine the rankings produced by lexical and semantic models using a simple rank-fusion method. Such approaches may reduce computation while preserving complementary information from exact word matching and semantic similarity. However, they require direct evaluation because an overly aggressive first-stage filter could remove the correct misconception before semantic reranking occurs. Reciprocal Rank Fusion is one established approach for combining rankings from multiple retrieval systems.

Fifth, the computing test was carried out in Google Colab rather than on typical school devices. The comparisons are useful because every model was tested under the same controlled conditions, but the exact times and memory values will change on different hardware. Future work should repeat the experiments on low-cost laptops, Chromebooks, Raspberry Pi-class devices, and mobile hardware. Energy use should also be measured.

Finally, “offline” in this study means that the model can perform inference after the software, model files, and misconception list have already been downloaded. Initial installation and later updates may still require internet access. The relatively low Eedi Top-1 scores also show that these models should not be used for fully automatic misconception diagnosis. Future systems should include uncertainty, the option to abstain, teacher review, or follow-up questions before high-stakes feedback is given.

CONCLUSION

This study compared six lightweight text-retrieval approaches for identifying likely mathematics misconceptions from student errors. The results show that a compact semantic model can provide a useful balance between diagnostic quality and local computing cost. MiniLM performed best on MaE and remained highly competitive on the much larger Eedi task, while BGE-base achieved the strongest Eedi first-rank performance at a much higher storage and processing cost. TF-IDF remained useful when extremely low storage and fast processing were the main priorities.

The broader lesson is that there is no single best model for every educational setting. Model choice should depend on the size of the misconception set, the available hardware, the need for speed, and whether the system is expected to make one prediction or provide a shortlist for human review. For offline tutoring, a ranked list of plausible misconceptions may be more useful and more responsible than requiring a system to make one automatic diagnosis. The present benchmark provides evidence that locally running semantic retrieval can support this role, while also showing that larger and more varied misconception taxonomies remain challenging. Future research should combine efficient retrieval with visual information, uncertainty-aware decision making, optimized local runtimes, and classroom evaluation. These steps will be necessary to determine whether offline misconception support can lead to measurable improvements in teaching and learning.

DATA AVAILABILITY

The MaE dataset is publicly available through the repository associated with Otero et al. [7]. The Eedi data are publicly distributed through the Kaggle competition “Eedi - Mining Misconceptions in Mathematics” subject to Kaggle's access terms [8]. This study did not collect new learner data.

CODE AVAILABILITY

The preprocessing, retrieval, efficiency-benchmarking, performance-efficiency analysis, and bootstrap-analysis scripts used in this study are available from the corresponding author upon reasonable request.

FUNDING

The authors received no specific funding for this work.

CONFLICT OF INTEREST

The authors declare no conflict of interest related to this study.

AUTHOR CONTRIBUTIONS

K.A.: Conceptualization, methodology, data curation, software, formal analysis, visualization, original draft preparation, review, and editing. A.S.: Supervision, methodology, interpretation of results, review, and editing. Both authors approved the final manuscript and accept responsibility for the work.

Ethical Statement

No new human-participant data were collected for this study. The analyses used publicly available benchmark datasets and did not involve direct interaction with learners or collection of new personally identifiable information. Any ethics or data-use requirements attached to the original datasets remain the responsibility of their respective source studies and repositories.

ARTIFICIAL INTELLIGENCE-ASSISTED TECHNOLOGY DISCLOSURE

The authors declare that no generative AI or AI-assisted technologies were used in the preparation of this manuscript.

REFERENCES

    1. Zawacki-Richter O, Marín VI, Bond M, Gouverneur F. Systematic review of research on artificial intelligence applications in higher education – where are the educators? Int J Educ Technol High Educ. 2019;16:39. [Crossref] [Google Scholar]
    2. Kulik JA, Fletcher JD. Effectiveness of intelligent tutoring systems: a meta-analytic review. Rev Educ Res. 2016;86(1):42-78. [Crossref] [Google Scholar]
    3. VanLehn K. The relative effectiveness of human tutoring, intelligent tutoring systems, and other tutoring systems. Educ Psychol. 2011;46(4):197-221. [Crossref] [Google Scholar]
    4. Graesser AC, Chipman P, Haynes BC, Olney A. AutoTutor: an intelligent tutoring system with mixed-initiative dialogue. IEEE Trans Educ. 2005;48(4):612-618. [Crossref] [Google Scholar]
    5. Smith JP III, diSessa AA, Roschelle J. Misconceptions reconceived: a constructivist analysis of knowledge in transition. J Learn Sci. 1994;3(2):115-163. [Crossref] [Google Scholar]
    6. Ashlock RB. Error patterns in computation: using error patterns to improve instruction. 9th ed. Upper Saddle River (NJ): Pearson/Merrill Prentice Hall; 2006. [Google Scholar]
    7. Otero N, Druga S, Lan A. A benchmark for math misconceptions: bridging gaps in middle school algebra with AI-supported instruction. Discov Educ. 2025;4:277. [Crossref] [Google Scholar]
    8. King J, Burleigh L, Woodhead S, Kon P, Baffour P, Crossley S, et al. Eedi – mining misconceptions in mathematics. Kaggle competition. 2024. [Google Scholar]
    9. International Telecommunication Union. Measuring digital development: facts and figures 2025. Geneva: International Telecommunication Union; 2025. [Google Scholar]
    10. Global Education Monitoring Report Team. Global education monitoring report 2023: technology in education—a tool on whose terms? Paris: UNESCO; 2023. [Google Scholar]
    11. Miao F, Holmes W. Guidance for generative AI in education and research. Paris: UNESCO; 2023. [Google Scholar]
    12. Schwartz R, Dodge J, Smith NA, Etzioni O. Green AI. Commun ACM. 2020;63(12):54-63. [Crossref] [Google Scholar]
    13. Zhou Z, Chen X, Li E, Zeng L, Luo K, Zhang J. Edge intelligence: paving the last mile of artificial intelligence with edge computing. Proc IEEE. 2019;107(8):1738-1762. [Crossref] [Google Scholar]
    14. Sun Z, Yu H, Song X, Liu R, Yang Y, Zhou D. MobileBERT: a compact task-agnostic BERT for resource-limited devices. In: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. Stroudsburg (PA): Association for Computational Linguistics; 2020. p. 2158-2170. [Crossref] [Google Scholar]
    15. Jiao X, Yin Y, Shang L, Jiang X, Chen X, Li L, et al. TinyBERT: distilling BERT for natural language understanding. In: Findings of the Association for Computational Linguistics: EMNLP 2020. Stroudsburg (PA): Association for Computational Linguistics; 2020. p. 4163-4174. [Crossref] [Google Scholar]
    16. Sanh V, Debut L, Chaumond J, Wolf T. DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter. arXiv. 2019;arXiv:1910.01108. [Crossref] [Google Scholar]
    17. Salton G, Buckley C. Term-weighting approaches in automatic text retrieval. Inf Process Manag. 1988;24(5):513-523. [Crossref] [Google Scholar]
    18. Robertson SE, Zaragoza H. The probabilistic relevance framework: BM25 and beyond. Found Trends Inf Retr. 2009;3(4):333-389. [Crossref] [Google Scholar]
    19. Reimers N, Gurevych I. Sentence-BERT: sentence embeddings using siamese BERT-networks. In: Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing. Stroudsburg (PA): Association for Computational Linguistics; 2019. p. 3982-3992. [Crossref] [Google Scholar]
    20. Wang L, Yang N, Huang X, Jiao B, Yang L, Jiang D, et al. Text embeddings by weakly-supervised contrastive pre-training. arXiv. 2022;arXiv:2212.03533. [Crossref] [Google Scholar]
    21. Xiao S, Liu Z, Zhang P, Muennighoff N, Lian D, Nie JY. C-Pack: packed resources for general Chinese embeddings. In: Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval. New York: Association for Computing Machinery; 2024. p. 641-649. [Crossref] [Google Scholar]
    22. Thakur N, Reimers N, Rücklé A, Srivastava A, Gurevych I. BEIR: a heterogeneous benchmark for zero-shot evaluation of information retrieval models. In: Thirty-Fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track. 2021. [Google Scholar]
    23. Muennighoff N, Tazi N, Magne L, Reimers N. MTEB: massive text embedding benchmark. In: Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics. Stroudsburg (PA): Association for Computational Linguistics; 2023. p. 2014-2037. [Crossref] [Google Scholar]
Citation: Amponsah K, Shaw A (2026). Toward Offline AI Tutoring: Benchmarking ResourceEfficient Models for Mathematics Misconception Diagnosis. Adv. Data Sci. Comput. Intell. Vol.1 Iss.1, November (2026), pp:29-40.
Copyright: © 2026 Kingsley Amponsah, Alan Shaw. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.