Abstract
In recent years, spatial computing Virtual Reality (VR) has emerged as a transformative technology, offering users immersive and interactive experiences across diversified virtual environments. Users interact with VR apps through interactable GUI elements (IGEs) on the stereoscopic three-dimensional (3D) graphical user interface (GUI). The accurate recognition of these IGEs is instrumental for software engineering tasks like automated testing and GUI search. However, traditional 2D IGE detection approaches struggle with the open-vocabulary nature of 3D objects, context-sensitive interactability, and the need for precise spatial perception. We propose Orienter, the first zero-shot context-sensitive IGE detection framework for VR. By imitating human behavior, Orienter comprehends semantic contexts before performing iterative, feedback-directed detection. Extensive experiments show Orienter significantly outperforms state-of-the-art models in both detection accuracy and downstream testing efficiency.
The Challenge of Spatial GUIs
In traditional 2D mobile or web applications, user interface elements follow predictable patterns—buttons generally look like buttons. In Extended Reality (XR), however, the "user interface" is the world itself. This shift introduces three primary challenges:
- Open-Vocabulary & Heterogeneity: Almost any 3D object can serve as an interface element, making fixed-category training (e.g., "spinners" or "checkboxes") obsolete.
- Context-Sensitivity: An object's interactability depends on the application's logic and the user's current state. For example, a fishing rod is a primary interactable object in a fishing game but might be a static background element in a different genre.
- Spatial Hallucinations: While Large Multimodal Models (LMMs) like GPT-4o excel at scene description, they often struggle to precisely locate objects with bounding boxes in 3D-projected space.
The Orienter Framework
Orienter addresses these challenges through a three-stage cognitive process designed to "look before leaping":
- Semantic Context Comprehension: The framework first utilizes an LMM to digest "global context" (app genre and mechanics) and "local context" (the immediate scene). This establishes the narrative rationale for potential interactions.
- Reflection-Directed IGE Candidate Detection: Rather than a single-pass detection, Orienter employs a Visual Foundation Model (VFMD) to mine multi-perspective characteristics like color, shape, and relative location. It uses a feedback-directed validation loop to refine these candidates, significantly reducing spatial hallucinations.
- Context-Sensitive Interactability Classification: Finally, the system applies Chain-of-Thought (CoT) reasoning to determine if a detected object is truly interactable within the established context.
Experimental Evaluation and Results
To evaluate Orienter, the authors developed the XR-IGE Benchmark, a first-of-its-kind dataset containing 1,552 images from 100 industrial Steam apps, featuring 4,470 annotations across 766 semantic categories.
In comparative testing against heavyweights like GPT-4o, OmniParser, and YOLO variants, Orienter demonstrated clear superiority:
- Accuracy: It surpassed baselines in F1 Score by up to 3.7× for interactability and 121.4× for semantic classification.
- Testing Efficiency: When integrated into an automated testing agent, Orienter-guided bots covered 103.1% more IGEs and generated 125.7% more effective interactions than random testing methods.
- Zero-Shot Robustness: Unlike supervised models that require massive labeled datasets for specific objects, Orienter’s zero-shot approach allows it to identify novel objects by reasoning about their context and description.
Conclusion and Future Work
Orienter represents a significant step forward in making spatial computing environments more accessible to automated tools. While the current iterative reflection loop is computationally intensive, future work will focus on optimizing real-time performance for on-device applications and extending the framework to video-based testing and automated "UI-to-code" generation. By prioritizing context over simple appearance, Orienter provides a robust foundation for the next generation of XR software engineering.
Summary updated