ByDeWay-V2: Training-Free Interpretable Spatial Reasoning for Safety-Critical Decision Applications

This paper presents ByDeWay-V2, a training-free lightweight framework designed to address spatial understanding ambiguity and hallucination issues in multimodal large language models (MLLMs) for safety-critical scenarios such as robotics and autonomous driving. Building on its predecessor ByDeWay, which relied only on coarse depth stratification and could not resolve fine-grained spatial relations between coplanar objects, ByDeWay-V2 introduces a YOLO-World-L-based open-vocabulary detector that computes geometric relationships between objects and translates them into readable predicates, which are combined with depth cues in the prompt. Experiments on the VSR and BLINK benchmarks demonstrate that this approach significantly enhances spatial reasoning capabilities, improving Qwen2.5-VL's relative F1 score by 46% on the BLINK spatial subset and restoring BLIP-Base's performance on VSR from near-random to a competitive 0.53. Operating within a strict 40-token context budget, the framework provides an efficient, auditable solution for real-time decision support in resource-constrained environments.

Background and Context

The deployment of Multimodal Large Language Models (MLLMs) in safety-critical domains such as robotics, autonomous driving, and industrial automation has exposed a fundamental vulnerability: the "black box" nature of their spatial reasoning processes. While these models demonstrate robust general inference capabilities, they frequently fail in tasks requiring fine-grained spatial understanding, leading to object hallucinations where the model incorrectly describes non-existent entities or relationships. This ambiguity undermines operator trust and prevents the system from being auditable, a critical requirement for high-stakes decision-making pipelines. Early attempts to mitigate these issues, such as the original ByDeWay framework, introduced Layered Depth Prompts (LDP) that utilized monocular depth estimation to structure input prompts. However, this approach relied on coarse depth stratification, which proved insufficient for resolving fine-grained spatial relations between coplanar objects. For instance, determining whether one object is to the left of another, or if two objects are in contact, requires more than just depth layers; it demands precise geometric and topological analysis that the predecessor model could not provide.

To address these limitations, the ByDeWay-V2 framework was developed as a training-free, lightweight solution designed to enhance spatial perception without retraining the underlying MLLMs. The core innovation lies in its ability to bridge the gap between 3D scene depth information and 2D spatial semantics by generating explicit, human-readable logical predicates. By integrating these predicates with depth cues, the framework provides a verifiable chain of evidence for downstream decision support. This approach not only reduces hallucinations caused by spatial misjudgment but also maintains high computational efficiency, making it suitable for real-time applications where latency and resource consumption are critical constraints. The framework represents a significant step toward making MLLM outputs transparent and reliable in environments where errors can have severe physical consequences.

Deep Analysis

Technically, ByDeWay-V2 employs a novel inference enhancement strategy that seamlessly integrates computer vision object detection with natural language prompt engineering. The process begins by utilizing YOLO-World-L, an open-vocabulary object detector, to identify key entities within the input image and extract their bounding box information. This step is crucial as it moves beyond generic depth estimation to provide precise spatial coordinates for specific objects. Following detection, the system computes pairwise geometric relationships between these identified objects. These relationships are then translated into structured spatial predicates, such as "Object A is to the left of Object B" or "Object C is touching Object D." This transformation converts raw geometric data into a semantic format that the MLLM can easily interpret and utilize during its reasoning process.

These generated spatial predicates are combined with depth cues obtained from monocular depth estimation and injected directly into the MLLM's input prompt. This hybrid approach ensures that the model leverages both depth information and explicit spatial constraints, significantly reducing the likelihood of hallucinations. The framework operates within a strict 40-token context budget, a design choice that ensures minimal overhead and compatibility with resource-constrained environments. By keeping the prompt size small, ByDeWay-V2 avoids the computational bottlenecks associated with larger context windows, allowing for rapid inference cycles. This efficiency is achieved without sacrificing accuracy, as the explicit predicates provide the model with clear, unambiguous guidance on object relationships, effectively bypassing the need for the model to infer these complex relationships solely from visual features.

Industry Impact

The experimental validation of ByDeWay-V2 on authoritative benchmarks, including Visual Spatial Reasoning (VSR) and BLINK, demonstrates its substantial impact on spatial reasoning capabilities. When applied to the Qwen2.5-VL model on the BLINK spatial subset, ByDeWay-V2 achieved a 46% relative improvement in F1 score compared to the previous LDP method. This significant gain highlights the framework's effectiveness in handling complex spatial queries that were previously challenging for MLLMs. Furthermore, the framework proved capable of revitalizing weaker models; for the BLIP-Base model, which typically performs near-random chance on spatial tasks, ByDeWay-V2 restored its performance to a competitive F1 score of 0.53 on the VSR benchmark. These results underscore the framework's versatility and its ability to enhance performance across different model architectures, regardless of their baseline spatial reasoning proficiency.

Ablation studies further confirm the necessity of explicit spatial predicates. The experiments revealed that relying solely on depth cues is insufficient for accurately identifying relationships between coplanar objects. It is the integration of these geometric predicates that drives the improvement in spatial understanding. This finding validates the multi-dimensional approach of ByDeWay-V2, showing that combining depth information with explicit spatial logic provides a more robust foundation for reasoning. The framework's ability to operate without training allows it to be integrated into existing MLLM pipelines with minimal effort, lowering the barrier to entry for organizations seeking to implement reliable spatial reasoning in their applications. This ease of integration is particularly valuable for the open-source community and industrial sectors looking to adopt advanced AI capabilities without the need for extensive retraining infrastructure.

Outlook

From an industry perspective, ByDeWay-V2 offers a viable engineering paradigm for real-time decision support in resource-constrained environments. Its lightweight configuration, which requires only CPU resources and operates within a strict 40-token budget, makes it ideal for deployment on edge devices. This capability is particularly relevant for applications such as autonomous vehicle path planning and industrial robot grasping operations, where low latency and high reliability are paramount. By providing interpretable spatial reasoning, the framework enhances the transparency of model outputs, enabling operators to quickly understand the logic behind decisions. This transparency is essential for building trust in high-risk applications like safety monitoring, where the ability to audit and verify decisions can prevent accidents and ensure compliance.

Looking forward, the training-free nature of ByDeWay-V2 positions it as a scalable solution for the broader AI community. Its compatibility with various MLLMs means that it can be rapidly adopted across different platforms and use cases, accelerating the development of embodied intelligence and multimodal AI systems. As the demand for reliable, explainable AI grows in critical sectors, frameworks like ByDeWay-V2 will play a crucial role in bridging the gap between advanced AI capabilities and practical, safe deployment. The framework's success in mitigating hallucinations and enhancing spatial reasoning sets a new standard for how MLLMs can be utilized in safety-critical scenarios, paving the way for more trustworthy and efficient AI-driven systems in the future.

Sources