On this page

Synthesis: Caneval and Gabriel ask how to generate pedagogically structured extended-reality (XR) learning scenarios automatically, so that instructors without programming skills can author immersive training. Their approach couples an LLM to an ontology and compares three ways of doing it — prompt engineering, retrieval-augmented generation, and fine-tuning — using two open-weight models and a qualitative evaluation grid. The best configuration was Mistral with chain-of-thought prompting plus RAG, which reached a normalized qualitative score of 0.750; fine-tuning was the weakest family, constrained by a small training corpus, while DeepSeek peaked lower at 0.594. The study is a small, qualitative system comparison run under tight hardware limits, so it indicates a direction for AI-assisted XR authoring rather than an established result.

Key Findings

  1. Grounded prompting beat plain prompting. Mistral with chain-of-thought plus RAG scored 0.750 normalized, the highest of any configuration, against 0.656 for Mistral 0-shot and 0.469 for Mistral chain-of-thought alone.
  2. Fine-tuning underperformed. Fine-tuned variants scored between 0.438 and 0.563 across both models, which the authors attribute to a small training corpus that made generalization difficult.
  3. Model choice mattered as much as method. DeepSeek's best configuration reached only 0.594, so the same RAG and prompting strategies did not transfer evenly across open-weight models.
  4. RAG improved semantic fidelity and structural coherence. The authors report better ontology quality when retrieval supplied structured context, supporting context-grounded generation over prompt-only approaches.
  5. The evaluation was qualitative. Scores came from a domain-specific modeling rubric, not from learner outcomes or expert-blind ratings of teaching quality.
  6. Hardware shaped the design. With 16 GB of VRAM, longer inputs ran out of memory and inference moved to CPU, which excluded larger models and multi-shot settings.

Why authoring XR scenarios is a bottleneck

Immersive technologies promise gains in knowledge acquisition, task efficiency and learner motivation, but building an XR learning scenario requires both pedagogical design and technical modeling that most instructors do not have. Existing authoring tools often fall short for educators who cannot program, and generative AI offers a way to produce the underlying semantic structure — an ontology of the scenario's concepts, relations and tasks — before the activity is implemented. The study's problem is therefore not "can an LLM write a lesson?" but "can an LLM write a machine-readable structure that an XR authoring pipeline can consume while staying pedagogically coherent?" That framing is useful because it separates the generation of content from the generation of structure, and it is the structure that determines whether the resulting scenario is teachable rather than merely immersive.

Three ways to couple an LLM to an ontology

The authors compare prompt engineering, retrieval-augmented generation and fine-tuning. Prompt engineering used a baseline 0-shot condition and a chain-of-thought condition in which the model reasons step by step before emitting the ontology. RAG supplied the model with retrieved structured context before generation, intended to ground the output in the target domain's vocabulary and relations. Fine-tuning adapted a model on a small corpus of domain examples. Two open-weight models were used, Mistral-Nemo-Instruct-2407 and DeepSeek-Coder-V2-instruct, parameterized identically. Inputs were structured prompts describing the learning context and the expected output, and the resulting ontologies were judged against domain-specific modeling criteria on a weighted grid.

What the comparison showed

Mistral with RAG plus chain-of-thought produced the strongest ontology (0.750 normalized), and Mistral's 0-shot baseline (0.656) beat its chain-of-thought-only condition (0.469), a non-monotonic pattern that suggests prompting strategy interacts with model and task rather than improving quality on its own. DeepSeek's best was 0-shot at 0.594, and its RAG-plus-chain-of-thought configuration actually fell to 0.531, so the winning recipe for one model was not the winning recipe for the other. Fine-tuning was consistently weak, which the authors read as evidence that small corpora do not supply enough signal to adapt a model to this structured-generation task. Across configurations, the qualitative grid rewarded semantic fidelity and pedagogical structuring, the two properties most relevant to whether an ontology can drive a coherent scenario.

What the method can and cannot establish

This is a small system study, and the authors are candid that its conclusions are limited by qualitative evaluation, restricted hardware and a reduced training corpus. The scores are not learner outcomes and were not produced by blind expert raters, so a higher grid score means a more coherent ontology by the authors' rubric, not a better learning experience. The hardware ceiling is not incidental: with 16 GB of VRAM, longer sequences failed, larger models such as Llama-3.1-8B were too slow on CPU, and multi-shot settings were dropped, so the comparison covers fewer configurations than the design intended. The result that matters for learning design is directional — grounding generation in structured domain knowledge helps, and fine-tuning on tiny corpora does not — but the magnitude is not established.

What this means for practice

  • Learning designers and XR developers. Supply the model with an explicit domain ontology and retrieved context rather than relying on a bare prompt; the study's best results came from grounded generation.
  • Software developers. Expect model-specific tuning: the best prompting strategy for one open-weight model was not the best for another, so benchmark on your own target model before committing.
  • Curriculum designers. Treat generated ontologies as drafts for expert review; the evaluation measured structural coherence, not whether the resulting scenario teaches the intended outcome.
  • Institutions. Budget for the compute and expert review that grounded generation requires; the hardware limits in this study shaped which models and settings could even be tested.

Limitations

  • Qualitative evaluation only. Ontologies were scored on an author-defined rubric, with no learner outcomes and no report of blind or independent rating.
  • Small configuration space. Hardware limits (16 GB VRAM, CPU fallback) excluded larger models and multi-shot settings, so the comparison is narrower than planned.
  • Small fine-tuning corpus. The training data were too limited to give fine-tuning a fair test, which the authors acknowledge.
  • Two open-weight models. Only Mistral and DeepSeek were compared, so the findings do not establish behavior for commercial or newer models.
  • One domain and team. The study comes from a single research group and domain, with no replication.

Citation

Caneval, G., & Gabriel, A. (2026). Hybridizing Large Language Models and Ontologies for the Automated Generation of XR Learning Scenarios. arXiv preprint arXiv:2612.01304.

Embed this page

Copy the code below to embed this page in a learning management system or other website. The embedded version shows only the page content — it hides the site header, navigation, and footer.