Building Trust in Educational AI through Factuality Verification
Data Jackets
Georgia Institute of Technology
Agenda
2
Business Problem
LLM hallucinations affect user trust and adoption of educational AI tools.
Supporting Data:
3
1. Business Problem Framing
Stakeholder Analysis
4
Stakeholder | Primary Concern | Secondary Concerns |
Students | Reliable responses [4] | Price and speed [7] |
Educators | Limiting misinformation [5] | Product accessibility [8] |
Platforms | Reputational risk [6] | Product competitiveness [9] |
1. Business Problem Framing
Problem Formulation
How can we increase user trust in educational AI tools by correctly, quickly and cost-effectively identifying erroneous/ irrelevant (“hallucinated”) LLM responses within the next two months?
Primary Metric: Correctness
Secondary Metric: Cost and Speed
5
1. Business Problem Framing
Analytics Problem
6
2. Analytics Problem Framing
Inputs: | Question + Context + Answer |
Output: | Label (factual/ contradiction/ irrelevant) |
Analytics Problem: | Predictive Problem Text Classification based on Factuality and Relevance |
Assumptions: |
|
Constraints: |
|
Risk Mitigation: | Class imbalance → Balanced accuracy |
Metrics and Goals
7
2. Analytics Problem Framing
| Balanced Accuracy | Average Time per Run | Average Cost per Run |
Baseline (no solution) | 33.3% | 0.0s | $0.00 |
Target | 95.0% | 2.0s | $0.01 |
Stretch Goal | 99.5% | 0.5s | $0.001 |
Overview of Data
8
3. Data
Length Analysis by Type
Answers for contradictions are significantly shorter than factual/ irrelevant types
9
3. Data
Train-Test Drift
Length-based feature distributions are similar, except that the training set includes many short answers absent from the test set
10
3. Data
Context Adequacy
3. Data
11
Initial Approach
4. Methodology Selection | Initial Approach
12
Similarity Distribution by Type
4. Methodology Selection | Initial Approach
13
Explaining Low-Similarity Contradictions
4. Methodology Selection | Initial Approach
14
Short answers (eg. "six months", "2") have minimal semantic similarity with the question and context.
They just happened to be predominantly contradictions in the training set.
Explaining High-Similarity Contradictions
4. Methodology Selection | Initial Approach
15
Answers to questions with empty contexts yielded high similarity scores even when they were contradictory.
There is no context to counterbalance the semantic alignment between the question and answer.
Reframing the Analytics Problem
Cases with context:
Evaluate answer factuality/ relevance with respect to the question + context.
2. Analytics Problem Framing
Cases with no context:
Evaluate answer factuality/ relevance with respect to the question + external knowledge.
16
Final Approach
4. Methodology Selection | Final Approach
17
MNLI* Model | Premise-Hypothesis structure allows logical reasoning Premise = Context + Question | Hypothesis = Answer |
LLM-as-a-judge | LLMs have strong semantic reasoning capabilities |
*Multi-Genre Natural Language Inference
Data with No Context
Additional procedures were applied to no-context cases:
4. Methodology Selection | Final Approach
18
MNLI Model | Context augmentation from an external source |
LLM-as-a-judge | Modified LLM prompt with amended decision rule |
Data Analytics Pipeline
5. Model Building
19
MNLI Model
5. Model Building | MNLI Model
20
MNLI Model Selection
5. Model Building | MNLI Model
21
Procedure:
Results:
For the final competition submission, the model was retrained on the full training dataset.
Context Augmentation with SERPAPI
5. Model Building | MNLI Model
22
Procedure for no-context data:
Results:
Large Language Model
5. Model Building | LLM
23
LLM Selection
5. Model Building | LLM
24
Procedure:
Results:
Ensemble
5. Model Building | Ensemble
25
MNLI/LLM Disagreements
5. Model Building | Ensemble
26
Procedure:
Results:
Failure Modes
5. Model Building | Ensemble
27
Textual nuances driving labeling subjectivity | |
Example | Answer: In 2006, the population of Tucson was 535,000 SERPAPI Context: The population was an estimated 535,000 |
Issue | Loss of uncertainty qualifier → Model treats as contradiction |
MNLI Model
Ill-posed or underspecified questions | |
Example | Question: What type of flags are used in foreign countries? Answer: In foreign countries, the Queen uses personal flags |
Issue | Scope mismatch → Model treats as contradiction |
LLM
Component-Wise Results
5. Model Building
28
Balanced Accuracy (%) on Test Split | ||
97.70 | 98.96 | 99.38 |
MNLI Model vs Ground Truth
LLM vs Ground Truth
Ensemble vs Ground Truth
Final Results
5. Model Building
29
| Balanced Accuracy | Average Time per Run | Average Cost per Run |
Competition Results | 99.0% | 3.0s | $0.006 |
Target | 95.0% | 2.0s | $0.010 |
Stretch Goal | 99.5% | 0.5s | $0.001 |
✅
❌
✅
Process Diagram
6. Deployment
30
User Prompt
AI Output
🔒
Factuality/ Relevance Gate
User-Facing System
Factual
• Contradiction or Irrelevant
• MNLI/LLM Disagreement (1st time)
MNLI/LLM Disagreement (2nd time)
Prompt is inadequate for our system
Real-World Considerations
6. Deployment
31
“Messy” Data | Additional Measures |
Context is not relevant to question | Update the Models • Additional MNLI fine-tuning • LLM prompt refinement |
Question is not answerable | |
Sensitive private data is passed in | Pre-Screening for Sensitive Data |
Drift-Aware Operation
7. Life Cycle Management
32
Conclusion
34
Azure OpenAI
(LLM)
Hugging Face
(NLI Models)
Google Colab & Kaggle
(GPU)
AI Services Used
35
Key Insight
Low Accuracy
Low Cost/Time
MNLI Model
(logical reasoning)
Trade-Off
High Accuracy
High Cost/Time
Ensemble Solution
(multi-annotation)
Moderate Accuracy
Moderate Cost/Time
LLM-as-a-judge
(rule-based semantic reasoning)
Enable ensemble verification by default.
36
Recommendations
1
Greater inclusion and access
Personalization of education
Improved lifelong learning
37
Recommendations
2
Enable opt-in MNLI-only verification.
3
Remind users to independently verify highly sensitive matters.
References
[1] Mulford, D. (2025, March 6). AI in higher education: A meta summary of recent surveys of students and faculty. Campbell Academic Technology Services.�https://sites.campbell.edu/academictechnology/2025/03/06/ai-in-higher-education-a-summary-of-recent-surveys-of-students-and-faculty/
[2] Massenon, R., Gambo, I., Khan, J. A., Agbonkhese, C., & Alwadain, A. (2025, August 19). “My AI is lying to me”: User-reported LLM hallucinations in AI mobile apps reviews. Scientific Reports (Nature).�https://www.nature.com/articles/s41598-025-15416-8
[3] Ryser, A., Allwein, F., & Schlippe, T. (2025, December 9). Calibrated trust in dealing with LLM hallucinations: A qualitative study. arXiv.�https://arxiv.org/abs/2512.09088
[4] Merod, A. (2025, October 28). Students express hope — and fear — over classroom AI use. K-12 Dive.�https://www.k12dive.com/news/student-views-ai-use-classroom-schools-survey-project-tomorrow/803794/
[5] Blose, A. (2023, April 12). As ChatGPT enters the classroom, teachers weigh pros and cons. National Education Association (NEA).�https://www.nea.org/nea-today/all-news-articles/chatgpt-enters-classroom-teachers-weigh-pros-and-cons
[6] Norton, K., Li, T., Davis, T., Mossburg, E., Kearns-Manolatos, D., Bansode, S., Thomas, C., & Ferrer, A. B. (2025, February 20). How can tech leaders manage emerging generative AI risks today while keeping the future in mind? Deloitte Insights.�https://www.deloitte.com/us/en/insights/topics/digital-transformation/four-emerging-categories-of-gen-ai-risks.html
[7] Emslie, K. (2024, May 23). LLM hallucinations: A bug or a feature? – communications of the ACM. https://cacm.acm.org/news/llm-hallucinations-a-bug-or-a-feature/
[8] Danyaro, K. U., Abdullahi, S., Abdallah, A. S., & Chiroma, H. (2025, November 6). Hallucinations in large language models for education: Challenges and mitigation. Academia.edu.�https://www.academia.edu/144831880/Hallucinations_in_Large_Language_Models_for_Education_Challenges_and_Mitigation
38
References
[9] Porter, M. E. (1980). Competitive Strategy: Techniques for Analyzing Industries and Competitors. Free Press.
[10] Liu, Z., Xue, J., Yang, X., Du, W., Fu, J., Chen, J., Guo, W., & Wang, Y. (2025). E-Verify: A paradigm shift to scalable embedding-based factuality verification. Findings of the Association for Computational Linguistics: EMNLP 2025 (pp. 5759–5776). Association for Computational Linguistics. https://doi.org/10.18653/v1/2025.findings-emnlp.308
[11] Martín, A., Huertas-Tato, J., Huertas-García, Á., Villar-Rodríguez, G., & Camacho, D. (2022). Facter-check: Semi-automated fact-checking through semantic similarity and natural language inference. Knowledge-Based Systems, 251, 109265. �https://doi.org/10.1016/j.knosys.2022.109265
[12] Bouchard, D., & Chauhan, M. S. (2025, April 27). Uncertainty quantification for language models: A suite of black-box, white-box, LLM judge, and ensemble scorers. arXiv.�https://arxiv.org/html/2504.19254v3
[13] Roucher, A. (2024). Using LLM-as-a-judge for an automated and versatile evaluation. Hugging Face.�https://huggingface.co/learn/cookbook/en/llm_judge
[14] Anderson, E. W., Fornell, C., & Lehmann, D. R. (1994). Customer satisfaction, market share, and profitability: Findings from Sweden. Journal of Marketing, 58(3), 53–66.�https://doi.org/10.1177/002224299405800304
[15] Thaler, R. H., & Sunstein, C. R. (2008). Nudge: Improving decisions about health, wealth, and happiness. Yale University Press.
39
Models
40
Thank You
Appendix
LLM Prompts (1/2)
Without Context You are a classification model. �Your task is to assign exactly ONE label to an answer given a question. Labels: �- "factual": The answer addresses the question and is accurate. �- "contradiction": The answer addresses the question but is incorrect. �- "irrelevant": The answer is not relevant to the question. | | With Context You are a classification model. Your task is to assign exactly ONE label to an answer given a context and a question. Labels: - "factual": The answer addresses the question and is supported by the context. - "contradiction": The answer addresses the question but is incorrect or contradicts the context. - "irrelevant": The answer is not relevant to the question. |
43
LLM Prompts (2/2)
Without Context Rules: �- Output only one of the three labels. �- Do not explain your reasoning. Decision procedure: �1. If the answer does not address the question, label "irrelevant". �2. If the answer addresses the question and is correct, label "factual". �3. If the answer addresses the question and is incorrect, label "contradiction". | | With Context Rules: - Use only the information provided in the context. - Do not use outside knowledge. - Output only one of the three labels. - Do not explain your reasoning. Decision procedure: 1. If the answer does not address the question, label "irrelevant". 2. If the answer addresses the question and is supported by the context, label "factual". 3. If the answer addresses the question but is contradicted by the context, label "contradiction". |
44
| MNLI Model | SERPAPI | gpt-5-mini | Human Verification | Total |
Data | 100% | 10% | 100% | 2% | - |
Time | 0.05s (self-tested) | 1.0s (self-tested) | 1.8s (self-tested) | 1.2s (self-tested) | 3.0s |
Cost (per 1K) | $0.0073 �(using the Azure NC4as T4 v3 GPU) | $1 (SERPAPI Big Data Subscription) | $0.0794�(Azure OpenAI Documentation) | $4.8�(assuming $15/hr labor costs) | $5.88 |
Cost and Time Calculations (1/2)
45
(num of input tokens) (cost per 1M input tokens) (num of output tokens) (cost per 1M output tokens)
12.55 + 144.99 + 18.86 = 176.4
Cost and Time Calculations (2/2)
46