arXiv:2610.21067cs.HCOct 2026

Manuscript Offprint

arXiv:2610.21067

XARA: A Multimodal Agentic System for eXtended Reality Experiment Generation

Tareq Alsaleh, Thomas Zhao, Luke Guardino, Keagan Valentine, Isabel Kim, Bilal Farooq

Abstract

Controlled experiments are essential for advancing transportation research, yet designing eXtended Reality (XR) environments for behavioural studies remains technically demanding and inaccessible to many domain researchers. Current workflows require proficiency in game engines such as Unity or Unreal Engine, imposing significant barriers to rapid scenario prototyping and iterative experiment design. This paper presents XARA, a novel system that integrates a dual large language model (LLM) architecture with an immersive XR environment to enable voice driven experiment generation for transportation research. XARA employs a pipeline in which spoken natural language commands are first transcribed and then interpreted into structured commands that manipulate a Unity based XR scene in real time. The system supports object creation, spatial manipulation, animation control, and scene persistence through a modular architecture. By lowering the technical threshold for XR experiment creation, XARA enables transportation researchers to rapidly prototype driving, pedestrian, and urban design scenarios using intuitive voice commands and hand gestures within an immersive 3D environment. This paper describes the system architecture, the voice to command pipeline, and discusses potential applications across behavioural travel experiments, safety studies, human factors research, and policy testing.

Keywords: Extended Reality (XR), Large Language Models, Natural Language Interface, Voice Interaction, Agentic AI, Transportation Research

1. Introduction

Controlled experiments form the backbone of empirical transportation research. Understanding how travellers make decisions, how pedestrians interact with vehicles, and how infrastructure design shapes behaviour requires carefully constructed experimental environments where variables can be isolated and manipulated (Fisher et al., 2011; Ben-Elia and Shiftan, 2010; Nazemi et al., 2025). Over the past two decades, virtual reality (VR) has emerged as a powerful tool for conducting such experiments, offering a combination of ecological validity, experimental control, and participant safety that is difficult to achieve in field studies.

Despite these advantages, the adoption of XR in transportation research has been constrained by significant technical barriers (Thomsen and Krueger, 2026). Constructing a XR experiment typically requires proficiency in game engine development environments such as Unity or Unreal Engine, demanding skills in 3D modelling, C# or C++ programming, physics simulation, and user

*Corresponding author (bilal.farooq@torontomu.ca) interface design. For many transportation researchers whose expertise lies in econometrics, traffic engineering, or behavioural science rather than software development, these requirements represent a prohibitive obstacle. The result is that XR experiment creation often depends on dedicated technical staff or external collaborators, leading to long iteration cycles and limited researcher autonomy over scenario design.

Recent advances in large language models have introduced new possibilities for bridging the gap between natural language intent and complex system operations. In the past few years, highly complex AI models, such as those from OpenAI, Anthropic, and Google, and their successors have demonstrated remarkable capabilities in understanding nuanced instructions, generating structured outputs, and reasoning about spatial and procedural tasks (Bubeck et al., 2023). Simultaneously, automatic speech recognition systems have achieved near-human accuracy in transcribing spoken language across diverse accents and acoustic conditions (Radford et al., 2023).

This paper presents XARA, an agentic system that leverages these advances to enable voice, and motion XR experiment generation for transportation research. XARA integrates a dual-LLM pipeline, comprising a voice model for speech recognition and a language model for command interpretation, with a Unity-based XR environment equipped with OpenXR support for immersive headset interaction. Researchers can create, move, rotate, scale, and delete scene objects using natural spoken commands and hand gestures, with the system translating utterances into structured JSON instructions that are executed in real time within the XR scene.

The core contributions of this work are threefold. First, we present a novel dual-LLM architecture that separates acoustic understanding from semantic command extraction, providing robustness and modularity. Second, we describe a complete voice-to-scene pipeline that bridges language processing with Unity-based XR rendering through inter-process communication. Third, we discuss the implications of this approach for democratizing XR experiment design in transportation research, enabling rapid scenario prototyping by non-technical domain experts.

References (37)