Please use this identifier to cite or link to this item: https://hdl.handle.net/10356/184607
Title: VR-AI lab safety training: a virtual reality game with AI-powered guidance for hazardous scenario response
Authors: Mehta, Viral Sujal
Keywords: Computer and Information Science
Issue Date: 2025
Publisher: Nanyang Technological University
Source: Mehta, V. S. (2025). VR-AI lab safety training: a virtual reality game with AI-powered guidance for hazardous scenario response. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/184607
Project: CCDS24-0289
Abstract: This report presents the design and implementation of a single-player Virtual Reality (VR) training system enhanced with Artificial Intelligence (AI) for immersive and adaptive laboratory safety education. Traditional methods of lab safety instruction often lack interactivity and fail to simulate real-world urgency, limiting student engagement and retention. To address these gaps, we developed a Unity-based VR application that simulates hazardous lab scenarios—such as chemical fires—allowing users to interact with virtual equipment and perform safety protocols in real time. An AI assistant powered by GPT-4 is integrated via LangChain, offering context-sensitive, natural language guidance during training. Semantic caching with Redis optimizes response latency and reduces redundant API calls by storing and retrieving AI responses based on game state and query embeddings. A Rust-based backend handles session management and scoring persistence through PostgreSQL, ensuring scalability and clean data separation. The system emphasizes modularity through dedicated Unity managers for transitions, game logic, and API interaction. Scoring is dynamically calculated based on hazard resolution time and completion of weighted safety subtasks. Initial validation was conducted through manual testing of gameplay mechanics, interaction reliability, and AI response behavior. This work contributes a modular, scalable framework for AI-guided VR safety education and demonstrates how experiential learning models, supported by intelligent tutoring systems, can enhance training in safety-critical environments. Future directions include expanding to multiplayer, introducing voice-based AI queries, and increasing the fidelity of lab equipment simulations.
URI: https://hdl.handle.net/10356/184607
Schools: College of Computing and Data Science 
Fulltext Permission: restricted
Fulltext Availability: With Fulltext
Appears in Collections:CCDS Student Reports (FYP/IA/PA/PI)

Files in This Item:
File Description SizeFormat 
NTU_CCDS_FYP_Mehta_2024:25.pdf
  Restricted Access
5.09 MBAdobe PDFView/Open

Page view(s)

7
Updated on May 7, 2025

Google ScholarTM

Check

Items in DR-NTU are protected by copyright, with all rights reserved, unless otherwise indicated.