← All projects

2023

cleAR: Interoperable Architecture for Multi-User AR

AR & 3D Education & Research
cleAR is a modular, interoperable architecture for building multi-user augmented reality applications in education. Designed from the ground up to bridge the gap between AR's potential and its limited classroom adoption, it was the core contribution of my PhD research.

cleAR is a modular, interoperable software architecture for building multi-user augmented reality (AR) applications tailored to educational settings. It was the core contribution of my PhD research, developed in collaboration with the University of the Basque Country (UPV/EHU) and Vicomtech. The work was published in the Virtual Reality journal (Springer, 2023).

Despite the well-documented benefits of AR in learning (improved motivation, better concept assimilation, easier knowledge transfer), its adoption in classrooms remains remarkably limited. Two barriers stand out: the difficulty of implementing collaborative, multi-user scenarios and the challenge of integrating AR tools into existing school infrastructure and curricula. cleAR was designed to address both.

Design Objectives

The architecture was built around six design objectives (DOs) derived from a systematic survey of 47 primary and secondary school teachers and an extensive review of the literature.

The six design objectives and the requirements each one satisfies. DO1, Interoperability, is the spine down the left, spanning the four client types the architecture must run on: a teacher on a laptop, a head-mounted display, a student on a phone, and a dashboard on a desktop; it carries requirements R1 and R7. Each client connects to the objectives in the middle. DO2, Multi-user Interactions, sits at the top and carries R2, R3 and R8. Below it, grouped together as the data-analytics objective, DO3 Data Storage feeds DO4 AI-based Analytics, which feeds DO5 Visual Reports; between them they carry R5, R9, R10 and R11. DO6, Easy to Develop, is the spine down the right serving the developer, and carries R4 and R6; it connects back to every objective in the middle. DO1: Interoperability Teacher laptop · browser Student head-mounted display Student phone · tablet Dashboard desktop · reports R1 R7 DO2: Multi-user Interactions R2 R3 R8 DO3: Data Storage DO4: AI-based Analytics DO5: Visual Reports R5 R9 R10 R11 DO6: Easy to Develop Dev API R4 R6

Architecture

cleAR is structured as four loosely coupled modules that can be composed independently or used as an integrated stack.

Three-tier architecture, divided into four columns by concern: multi-user interactions, data storage, AI-based analytics and visualization tools. The CLIENT tier holds a multi-device library with a web client and a Unity client, a logging API over a data storage API, an AI input API with app optimization and EDA tools, and a web dashboard with an AI output API. The SERVER tier beneath it holds socket, static and synchronization servers; an xAPI Manager over a Learning Record Store; an AI framework with a model fine-tuning server; and a dataviz server with a visualization exporter. A storage tier underneath holds shared state, user-app interactions, a model zoo and a visualizations database, all of which connect to the school's existing databases — the digital school register, class schedules and inventory. Multi-user interactions Data storage AI-based analytics Visualization tools CLIENT Multi-device library Web Client Unity Client Logging API Data storage API AI input API App optimization EDA tools Web Dashboard AI output API SERVER Socket server Static server Synchronization server xAPI Manager Learning Record Store AI Framework Model fine-tuning server Dataviz server Visualization exporter Shared state User-App Interactions Model Zoo Visualizations DB School DBs (Digital school register, Class schedules, Inventory, …)

Real-time multi-user library. A WebSocket-based server-side component manages low-latency session routing, room organisation, and user limits. Client-side libraries expose simple APIs for connecting to sessions, exchanging messages, and synchronising multimedia playback across devices. WebRTC integration handles audio and video streams.

Logging and data storage module. Student interactions are serialised and forwarded to a Learning Record Store (LRS) via the xAPI standard, making cleAR compatible with any LMS that supports xAPI. The module supports configurable data collection frequency, anonymisation, and role-based access (admin, teacher, student).

AI-based analytics module. A framework-agnostic server-side component processes three data types produced during AR sessions: natural text (chat, answers), structured tabular logs, and image data from camera feeds. It supports both supervised and unsupervised learning and can train models from scratch or fine-tune existing ones. The most common teacher-identified use cases were usage-pattern analysis (63%), automatic test difficulty estimation (60%), and early identification of struggling learners (58%).

Visual reporting module. A code-free web interface for generating interactive dashboards and charts from stored xAPI data, built on D3 and Seaborn. Visualisations are rendered client-side to preserve privacy, with export options to local storage, external databases, or the school LMS.

Proof-of-Concept Applications

Three proof-of-concept applications were developed to validate the architecture against the design objectives.

AR Cube: a minimal multi-user app in which up to four users share a virtual cube and can manipulate its rotation and colour in real time across iOS, Android, Windows, and Linux. The core collaborative logic required fewer than 400 lines of code, demonstrating DO6. Average end-to-end latency was 205 ms on both Wi-Fi and 4G.

Two tablets held side by side over a table, each showing the same red 3D cube from its own viewpoint, with colour buttons underneath. A QR marker on the table between them anchors the shared scene.

xAPI Data Analysis: a stress-test scenario generating ~80,000 xAPI statements from 10 concurrent clients, stored in MongoDB via Learning Locker on AWS. Average processing delay was 145 ms (maximum 314 ms). A classification model trained on the collected data successfully predicted the originating client from the xAPI triplet, validating DO3–DO5.

AR Geography Quiz: the most complete proof-of-concept, placing a teacher and multiple students around a shared 3D Earth model. Students can explore individually or switch to a synchronised shared-perspective mode where the teacher controls the view and sends targeted questions. The application runs on both desktop and mobile (Android/iOS) and demonstrates the full cleAR stack end-to-end.

Three phone screens from the AR Geography Quiz. First, a login screen with room name TestRoom01 and a choice between TEACHER and STUDENT. Second, the teacher view: a 3D Earth placed on a real desk, yellow pins scattered over it, and controls to send a student assignment, reset the session or place the AR scene. Third, the assignment dialogue over the same globe, with the question "Where is NYC" typed in and Cancel and Send buttons.

Impact

Every multi-user AR application ends up reimplementing the same three things: a way to synchronise state across devices, somewhere to store what students did, and a way to surface that data to teachers. cleAR does all three, so you don't have to. All proof-of-concept source code is released as open-source software.

The work was published in Virtual Reality (Springer) in 2023 and fed directly into ARoundTheWorld, the first full application built on the architecture.

Esc