Thesis defense: validating XAI, gamification, and local-first architecture
Today marked the culmination of two years of research, development, and iteration. I successfully defended my Master's thesis, NestShield: An AI-Powered Cybersecurity Assistant for Non-Technical Users, before my committee at Full Sail University. The defense validated three core hypotheses through a pre/post intervention study.
The defense
The 60-minute defense included a 10-minute live demonstration of NestShield's core features: AEGIS AI explanations, gamification mechanics, and the Threat Radar visualization. The committee asked hard questions about research validity, architecture decisions, and commercialization feasibility. Each one reinforced the value of acknowledging limitations while standing behind the validated findings.
Key findings
- H1, knowledge: XAI-driven education significantly improved security comprehension, with the largest gains on complex concepts like ransomware (33.3% to 87.5%).
- H2, behavior: Gamification achieved a 75% voluntary remediation rate, though two participants felt motivated but lacked the means to act, revealing a motivation-behavior gap.
- H3, trust: Local-first architecture earned a 6.4/7 trust score, with 93% preferring local processing over cloud alternatives. Trust rose 33% after people used the system.
Technical achievements
- AEGIS with RAG: Mistral 7B with retrieval-augmented generation over ChromaDB for contextual, personalized security explanations.
- FastAPI backend: an async architecture with WebSocket connections for real-time scan updates and streamed AI responses.
- React + TypeScript front end: a type-safe UI with gamification (XP, ranks, Digital Health Score) and interactive threat visualizations.
- 100% local processing: no cloud dependencies. Inference, scanning, and storage all happen on-device, eliminating the privacy tax.
Successes
All three hypotheses validated. The combination of XAI, gamification, and local-first architecture proved effective for security education. The jump in ransomware understanding shows conversational AI can work as a real-time security tutor.
Research honesty paid off. Being transparent about participant attrition, including the participants who struggled with installation, showed intellectual integrity, and the committee respected it.
Challenges
PyInstaller packaging: ChromaDB's dynamic dependencies corrupted the RAG store in the standalone executable. Production needs installer-based deployment or a different packaging approach.
Motivation-behavior gap: high motivation doesn't automatically become action. Users need enablement, through assisted remediation, alongside motivation.
Next steps
Phase 1, the proof of concept, is complete. The next phase covers web-based deployment, assisted remediation, and validation with a larger group of users.



