Manuscript Offprint

arXiv:2608.29489

SpatialTrust: A Benchmark for Environmental Risk Recognition in Secure Authentication

Junbin Lu, Hsiang-Wei Huang, Saesha Wadhwa, Yu Ting Hsu, Jenq-Neng Hwang

Abstract

Visual environmental risk recognition plays an important role in secure authentication, where a user's surroundings may reveal sensitive information or introduce potential security risks. However, existing evaluations of multimodal large language models (MLLMs) rarely examine whether models can reliably recognize, localize, and explain such risks in spatially grounded authentication scenarios. We present SpatialTrust, a question-answering benchmark for evaluating environmental risk recognition in secure authentication. SpatialTrust assesses five complementary abilities: sensitive factor detection, direct factor identification, indirect factor identification, direct factor explanation, and indirect factor explanation. We evaluate both proprietary and open-source MLLMs and find that current models show limited performance, especially in understanding and explaining indirect risks, indicating that spatial risk awareness remains a challenging capability for MLLMs. In addition, we introduce SpatialTrustGuard, a structured QA-and-audit pipeline that improves Qwen3-VL-30B-A3B-Instruct from 36.78% to 41.12% overall. Our findings highlight the need for dedicated benchmarks and structured inference methods to improve the trustworthiness of MLLMs in secure authentication.

1. Introduction

Multimodal large language models (MLLMs) are increasingly used in secure authentication scenarios, including laptop-camera-based user verification, where a camera captures an image of the user together with part of the surrounding scene. In such settings, the captured image is usually intended for a narrow purpose, such as verifying that the correct user is present during login. However, because the camera also observes the environment around the user, the verification capture may contain visible background or non-primary-subject factors that could cause information leakage from the computer the user is logging into. For example, a nearby camera may face the login device, or another person may be positioned to observe the user's computer. Prior work on shoulder surfing and camera-based monitoring shows that physical surroundings can introduce privacy and security risks during authentication [1, 3]. Understanding whether MLLMs can recognize, explain, and localize these environmental risk factors is important for building trustworthy authentication systems.

Prior visual privacy datasets and tasks have focused on privacy attribute prediction and personalized privacy risk estimation [13], image-level privacy prediction [18], and private content in assistive images [6]. More recent MLLM privacy and safety evaluations examine image-based safety attacks and harmful query scenarios [8] and individual-level privacy reasoning that links distributed multimodal evidence to identities [14]. However, the risk considered in secure authentication is more specific: visible elements in the captured scene may disclose information from the login computer or create a risk of such disclosure during verification. This requires spatial and contextual reasoning about the relationship between the user, the camera, the login device, and the surrounding environment, as well as distinguishing direct disclosure from indirect risk. A reliable model should therefore identify risks based on visible evidence rather than unsupported assumptions about the user's identity, intent, occupation, or private context.

To address this gap, we introduce SpatialTrust, a question-answering benchmark for evaluating environmental risk recognition in secure authentication. SpatialTrust focuses on visible background or non-primary-subject factors that could cause information leakage from the computer the user is logging into during a verification capture. We define a direct sensitive factor as a visible factor that directly causes sensitive information to be disclosed in the current image. We define an indirect sensitive factor as a visible factor that does not directly disclose sensitive information in the current image, but creates a possibility or risk that sensitive information may be disclosed.

Each SpatialTrust item contains structured visual

Work done while the first author was at the University of Washington.

question-answering tasks that ask models to determine whether sensitive factors are present, distinguish direct from indirect sensitive factors, provide short natural-language explanations, and ground the relevant visual evidence with bounding boxes [22]. This design evaluates not only whether a model can select the correct answer, but also whether its answer is supported by concrete visible evidence in the image. By requiring both textual reasoning and spatial grounding, SpatialTrust tests whether MLLMs can produce evidence-based judgments about authentication-related environmental risks.

The SpatialTrust task is challenging for current MLLMs because models must focus on background or non-primary-subject factors rather than the verified user, distinguish direct disclosure from indirect risk, and avoid speculative inferences beyond visible evidence [7]. In addition, models must maintain consistency between selected options, textual explanations, and grounding boxes. These requirements make SpatialTrust a test of both environmental risk recognition and disciplined evidence-based response generation.

We systematically evaluate eight representative MLLMs [2, 4, 12, 15–17, 21] on SpatialTrust, covering both proprietary and open-source models. Our results reveal substantial limitations in current models when reasoning about environmental risks in authentication captures. In particular, models often struggle to distinguish direct and indirect sensitive factors, miss subtle risk factors in the background, or over-identify factors that are not sufficiently supported by visible evidence. Grounding also remains challenging, as models may produce answers whose visual evidence is incomplete, inconsistent, or poorly localized. These findings suggest that authentication-related environmental risk recognition remains an underdeveloped capability in current MLLMs.

In addition, we introduce SpatialTrustGuard, an inference-time QA-and-audit pipeline that decomposes answer selection, conservative auditing, and grounded response generation [9, 20]. Built on Qwen3-VL-30B-A3B-Instruct [2], SpatialTrustGuard improves the overall score from 36.78% to 41.12%, suggesting that structured decomposition and answer auditing can improve model behavior, although environmental risk recognition in verification captures remains challenging.

Our contributions are threefold:

• We introduce SpatialTrust, a benchmark for evaluating environmental risk recognition in secure authentication, with structured QA tasks covering sensitive factor detection, direct sensitive factor identification, indirect sensitive factor identification, direct sensitive factor explanation, and indirect sensitive factor explanation.

• We systematically evaluate eight representative MLLMs on SpatialTrust and reveal substantial limitations in current models, particularly in distinguishing direct and indirect sensitive factors and grounding relevant visual evidence.

• We propose SpatialTrustGuard, a staged inference-time QA pipeline with conservative self-verification, and show that structured decomposition and answer auditing can improve the overall performance of MLLMs on SpatialTrust.

References (18)