Manuscript Offprint

arXiv:2608.25952

Spatial-Knowledge-Graph-Grounded LLM Agents for Neighborhood Livability Evaluation

Haiyan Hao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Neighborhood livability is commonly assessed with static built-environment indicators, such as facility proximity, street connectivity, and access to public space. These measures describe available opportunities but do not directly represent how residents with different mobility capacities, household roles, schedules, and care responsibilities experience the neighborhood. This paper presents a prototype framework that uses a spatial knowledge graph (KG) and large language models (LLMs) to generate and revise household schedules, followed by rule-based feasibility checking and GIS-based network materialization. The spatial KG integrates residents, residences, facilities, neighborhood context, and sampled road hubs; Graph-RAG retrieves each household's nearby spatial context, including candidate POIs and approximate walking times, for the scheduling LLM. The LLM produces structured household schedules, while rules are used for lightweight repairs and auditable feasibility checks. The LLM then revises schedules in response to identified feasibility issues. A routing module derives the actual travel paths, travel times, modes, and event histories from the road network. The resulting events support synthetic resident-agent interviews about daily convenience, travel burden, activity feasibility, and household coordination. A prototype demonstration in a Shenzhen neighborhood shows that nominal facility availability does not necessarily imply convenient access: residents with limited mobility and households with care responsibilities experience greater travel and coordination burdens. The framework offers an auditable way to connect spatial opportunity, household activity constraints, and resident-specific livability interpretation, while keeping simulated experience distinct from observed perception.

Keywords. spatial knowledge graph; Graph-RAG; LLM agents; neighborhood livability; activity scheduling; resident experience

1. Introduction

Neighborhood livability concerns the extent to which a residential environment supports everyday life, wellbeing, and participation. It is commonly evaluated through built-environment indicators such as access to services, public open space, transportation hubs, walkability, and safety. These indicators provide an important basis for planning comparison. For example, the 15-minute-city literature emphasizes proximity to daily service destinations.

as a pathway toward more sustainable and equitable urban life (Moreno et al., 2021), while broader livability frameworks identify access to health and social services, food, transport, open space, safety, and social cohesion as key domains (Badland et al., 2014). However, such measures usually describe what a neighborhood provides, rather than how different residents experience those provisions in daily life.

This distinction is important because the same spatial environment may impose very different burdens on different residents. A facility that is nearby for a healthy adult may be difficult to reach for an older resident with slow walking speed. A neighborhood with schools, parks, grocery stores, and clinics may still be inconvenient for a household coordinating work schedules, school pick-up, childcare, and shopping when the required destinations lie in different directions and cannot be combined into a coherent activity chain. Conventional accessibility measures often evaluate aggregate spatial opportunities across residents using isolated origin-destination relationships, with origins often set to residential addresses. They are less able to capture realistic travel behaviors, such as activity chains linking school escort, work, and shopping; temporal constraints imposed by fixed commitments; the coordination of shared tasks among household members; and age- or disability-related mobility limitations. These concerns are central to activity-based and person-based accessibility research, which emphasizes that access depends not only on the location of opportunities but also on individual capabilities, schedules, and feasible space-time paths (Dong et al., 2006; Kwan, 1998; Neutens et al., 2008).

Recent advances in LLMs provide new possibilities for representing heterogeneous resident agents. LLM-based agents can interpret rich persona descriptions, reason about household-level trade-offs, and generate plausible schedules. However, when such processes are not grounded in explicit spatial evidence, plausible outputs may be inconsistent with actual destinations, routes, and travel conditions, limiting their credibility for spatial simulation and evaluation.

An important gap therefore remains between spatial accessibility measurement and resident-specific livability evaluation. Conventional spatial indicators provide limited insight into how individuals and households with different schedules, mobility capacities, and care responsibilities organize everyday activities within the same neighborhood. Meanwhile, LLM agents can represent such heterogeneity but often lack structured spatial context and an auditable connection between generated behavior and subsequent evaluation. To address this gap, we develop a spatial-KG-grounded LLM-agent framework that simulates household activity-mobility schedules and uses the resulting event histories to support evidence-grounded, post-simulation resident interviews.

This study makes three contributions. First, it advances neighborhood evaluation from place-based static accessibility measurement toward personalized assessment by representing how personal characteristics and household circumstances shape the feasibility and burden of everyday activities. Second, it introduces evidence-grounded post-simulation interviews that translate activity-mobility events into interpretable resident-specific evaluations while preserving links to the underlying evidence. Third, it structures residents, facilities, and spatial relationships through a spatial KG, providing LLM agents with a geographically grounded and traceable context for household schedule generation. Together, these contributions connect spatial opportunity, heterogeneous daily behavior, and subjective interpretation within an auditable evaluation framework.

References (30)