In-Context Learning to Assess Built Environment Impacts on Perceived Neighborhood Walkability Among Mobility-impaired Older Adults

arXiv cs.LG Papers

Summary

This paper investigates using in-context learning with the TabPFN model to predict perceived neighborhood walkability based on built environment features for mobility-impaired older adults, achieving higher performance than baseline models and employing SHAP-IQ for interaction analysis.

arXiv:2608.14663v1 Announce Type: new Abstract: As global populations age, enhancing neighborhood walkability through inclusive urban design is important for mitigating built environment (BE) barriers that discourage physical activity and social participation among older adults. This study investigates the utility of in-context learning (ICL), using the transformer-based foundation model TabPFN, to determine how BE features influence perceived walkability, as measured by the Neighborhood Environment Walkability Scale (NEWS-A) survey. Using a small-scale dataset (N = 257) comprising a unique demographic of older adults with knee osteoarthritis or a history of falls, TabPFN achieved a macro F1 score of 54.89% for walkability perceptions categorized as Low, Neutral, and High using equal-width binning. This result outperformed optimized, grid-searched baseline models, including Random Forest (45.85%) and XGBoost (50.56%). To interpret these results, we employed Shapley Interaction Quantification (SHAP-IQ) to identify the hierarchical importance of feature interactions. Preliminary results revealed that the model's predictive logic was primarily driven by higher-order interactions. For example, the interaction between average street circuity and the ratio of drivable roads emerged as the primary discriminator of perceived walkability. Neighborhood greenery was found to have substantial predictive importance only when combined with an individual's fear of falling or perception of age-friendliness. Overall, ICL using TabPFN demonstrates superior performance on small-scale datasets, enhancing the fidelity of the resulting interpretive insights. Furthermore, SHAP-IQ provides a synergistic perspective on how higher-order feature interactions drive the model's predictions.
Original Article
View Cached Full Text

Cached at: 08/18/26, 10:23 AM

# In-Context Learning to Assess Built Environment Impacts on Perceived Neighborhood Walkability Among Mobility-impaired Older Adults
Source: [https://arxiv.org/html/2608.14663](https://arxiv.org/html/2608.14663)
CNRS@CREATE, 1 Create Way, Singaporehouhao\.liang@cnrsatcreate\.sg0000\-0003\-3491\-3281 Future Health Technologies, Singapore\-ETH Centre, 1 Create Way, Singaporekresimir\.friganovic@sec\.ethz\.ch Institute of Geriatrics and Active Ageing, Tan Tock Seng Hospital, Singaporejoanne\_kua@ttsh\.com\.sg Institute of Geriatrics and Active Ageing, Tan Tock Seng Hospital, Singaporenoor\_hafizah@ttsh\.com\.sg Geriatric Medicine, Khoo Teck Puat Hospital, Singaporesu\.su@ktph\.com\.sg Department of Orthopedic Surgery, Woodlands Health Campus, Singaporebryan\.tan@nhghealth\.com\.sg Future Health Technologies, Singapore\-ETH Centre, 1 Create Way, Singaporenavrag\.singh@sec\.ethz\.chhttps://orcid\.org/0000\-0001\-8074\-041X i3 \(UMR\-9217 CNRS\), Department of Social and Economic Sciences, Télécom Paris, Institut Polytechnique de Paris, Palaiseau, Francepanos\.mavros@telecom\-paris\.fr \[https://orcid\.org/0000\-0002\-3027\-3072\]\\CopyrightHouhao Liang\\ccsdesc\[100\]Applied computing Health informatics\\ccsdesc\[100\]Information systems Geographic information systems\\fundingThis research was supported by the Singapore National Research Foundation under Intra\-CREATE Thematic Grant \(NRF2022\-THE004\-004\)\.

###### Acknowledgements\.

The authors would like to thank Tan Chun Yue for assistance with study conduct and research administration\. Special thanks are also due to the following individuals for their valuable contributions to the experimental setup and logistical coordination of data collection: Gillian Chew Long Szu, Tan Jia Yi, and Elaine Tan Jie Shuang from Woodlands Health; Ken Lim Sze Yang and Tong Pei Ling from Tan Tock Seng Hospital; and Cherlyn Lee and Haw Hui Yi from Khoo Teck Puat Hospital\.\\EventEditorsSabine Timpf, Gabriele Filomena, Armand Kapaj, Rui Zhu, Nicholas Giudice, and Ed Manley\\EventNoEds6\\EventLongTitle17th International Conference on Spatial Information Theory \(COSIT 2026\)\\EventShortTitleCOSIT 2026\\EventAcronymCOSIT\\EventYear2026\\EventDateSeptember 22–25, 2026\\EventLocationYork, UK\\EventLogo\\SeriesVolume\\ArticleNo\\DOI

Kresimir FriganovicJoanne KuaNoor Hafizah IsmailSu SuBryan Yijia TanNavrag B\. SinghPanos Mavros111Corresponding author

###### Abstract

As global populations age, enhancing neighborhood walkability through inclusive urban design is important to mitigate the built environment \(BE\) barriers that discourage physical activity and social participation among older adults\. This study investigates the utility of In\-Context Learning \(ICL\), leveraging the transformer\-based foundation model TabPFN to decode how BE features function as determinants of perceived walkability, as measured by the Neighborhood Environment Walkability Scale \(NEWS\-A\) survey\. Using a small\-scale dataset \(N=257\) of a unique demographic, older adults with knee osteoarthritis or a history of falls, TabPFN achieved a Macro F1 score of 54\.89% on walkability perceptions discretized into Low, Neutral, and High levels via equal binning\. This result outperformed optimized, grid\-searched baselines, including Random Forest \(45\.85%\) and XGBoost \(50\.56%\)\. To interpret these results, we employed Shapley Interaction Quantification \(SHAP\-IQ\) to identify the hierarchical importance of feature synergies\. The preliminary results revealed that the model’s predictive logic is primarily driven by higher\-order interactions\. For example, the interplay between average street circuity and the ratio of drivable roads emerged as the primary discriminator of walkability perception, and neighborhood greenery was found to hold substantial predictive weight only when coupled with an individual’s fear of falling or perception of age\-friendliness\. Overall, ICL via TabPFN demonstrates superior performance on small\-scale datasets, enhancing the fidelity of the resulting interpretive insights\. Furthermore, SHAP\-IQ provides a synergistic perspective on how higher\-order feature interactions drive the model’s predictions\.

###### keywords:

In\-Context Learning, Built Environment, GeoAI, Perceived Walkability

###### category:

Poster\\relatedversion

## 1Introduction

As global populations age, the intersection of the built environment \(BE\) and geriatric health has become a critical focal point for urban policy\[who2021decade\]\. For mobility\-impaired older adults, particularly those managing conditions such as knee osteoarthritis \(OA\) or a history of falls, the urban fabric is far from a neutral backdrop\. Instead, it represents a dynamic landscape of barriers and supports where urban configurations can either facilitate mobility or act as considerable physical constraints\[TORKU2022109533\]\. Therefore, these BE features dictate the individual’s capacity for movement, directly influencing their willingness to engage in physical activity and social participation\.

Existing studies analyzing the impacts of the BE on older adults primarily rely on linear regression\[CARSON2023103036,JIANG2025105587\]\. However, these models are fundamentally constrained by assumptions of linearity and often fail to capture the complex interaction effects inherent in human\-environment dynamics\. In reality, BE features often interact in non\-linear and synergistic ways, resulting in a compounding effect on perceived walkability\. To uncover these complexities, recent studies in walkability analysis have increasingly leveraged inductive Machine Learning \(ML\) models such as Random Forest \(RF\) and XGBoost\[YANG2024102087\], with SHAP for results interpretation\. However, the performance and subsequent fidelity of these models are often contingent upon the availability of large\-scale datasets\. Because their underlying logic involves a stepwise partitioning of features, the models are most robust when supported by the extensive sample sizes that allow for stable decision boundaries without risking overfit\.

To address this issue, In\-Context Learning \(ICL\), a learning paradigm originally popularized by Large Language Models, has emerged to perform approximate inference via transformer\-based architectures\[hollmann2022tabpfn\]\. In contrast to traditional inductive ML models that require iterative gradient updates to learn patterns from scratch, ICL operates by taking a small dataset as a Context Set\. The frozen weights of a foundation model pre\-trained on large tabular data function as a generalized inference engine, providing the intrinsic rules for evaluating feature distributions and correlations\. During inference, the self\-attention mechanism can dynamically attend to the provided context, generating predictions for new instances in a single forward pass without any further parameter optimization\. Hence, this learning paradigm mitigates the constraints of the small\-data bottleneck while minimizing the reliance on extensive hyperparameter tuning\.

Given that the BE represents a complex environment that is cognitively perceived and decoded by the individual, this research serves as an exploratory investigation into the utility of ICL for decoding its impact on on a uniquely vulnerable demographic: older adults with knee OA or a history of falls\. Their subjective perception of neighborhood walkability is operationalized through the Neighborhood Environment Walkability Scale \(NEWS\-A\) survey\. To analyze this, this study employs TabPFN \(Tabular Prior\-Data Fitted Network\), a transformer\-based foundation model that implements ICL and is pre\-trained on millions of synthetic tabular datasets\[hollmann2022tabpfn\], to perform transductive inference\. Finally, Shapley Interaction Quantification \(SHAP\-IQ\)\[muschalik2024shapiq\]is applied to to interpret the results and identify the synergistic interactions\.

## 2Methodology

### 2\.1Study Population

The study cohort initially comprised 373 mobility\-impaired older adults recruited in collaboration with Woodlands Health, Tan Tock Seng Hospital, and Khoo Teck Puat Hospital \(Singapore\)\. Individual clinical profiles were recorded, specifically focusing on physical vulnerabilities: Knee OA, history of falls within in two years, or a comorbidity of both\. Following data cleaning and the exclusion of incomplete responses, a final valid dataset of 257 participants was utilized for this study \(mean age = 70\.76 years; 68\.87% female\)\. The cohort included individuals with knee OA \(40\.86%\) and a history of falls \(38\.52%\), with 20\.62% having both conditions\. This study has been approved by the local institutional review board \(IRB\-2024\-818\)\.

### 2\.2Study design

Participants completed a comprehensive set of psychometric and mobility surveys, including the Life\-Space Assessment \(LSA\), Falls Efficacy Scale \(FES\), Age\-Friendly Environment Assessment Tool \(AFEAT\), NEWS\-A, and Patient Health Questionnaire\-9 \(PHQ\-9\)\. For the purposes of this study, the NEWS\-A sum score serves as the primary target variable, representing the subjective perception of neighborhood walkability\.

To enable spatial analysis, participants’ residential address \(i\.e\. postcode\) were geocoded using Singapore’s unique six\-digit postal codes\. This allowed to calculate multiple BE metrics relative to each participant’s exact location within each neighbourhood\.

### 2\.3Explanatory variables

The BE feature selection is theoretically grounded in the 5D’s walkability framework \(Design, Density, Diversity, Destination, and Distance to transit\)\[ewing2010travel\]\. Given the hyper\-density of the Singaporean urban fabric and established literature on senior mobility, we utilized a 400m radius buffer around each residential point to calculate morphological features, representing the immediate walkable neighborhood\[cerin2020urban\]\. For accessibility metrics, we moved beyond simple Euclidean proximity\. We calculated network distances and circuity that is the ratio of network distance to Euclidean distance, to capture the actual navigational effort required by pedestrians\. Routing was performed via the OneMap API \(the official geospatial platform of the Singapore Land Authority\), which provides higher accuracy for local navigation, including the consideration of pedestrian\-only paths and overhead bridges\.

A key challenge in high\-density contexts is that evaluating accessibility based on individual, isolated Point of Interest \(POI\) can be misleading\. Given the Singapore’s land\-use zoning framework, urban services are heavily integrated into centralized community hubs and designated blocks\. Consequently, pedestrian trips are typically oriented toward these aggregate functional zones rather than standalone POI coordinates\. Hence, we utilized land\-use blocks \(e\.g\., commercial, institutional, and recreational\) as the primary proxies for destinations\.

Furthermore, we incorporate individual\-level clinical context alongside objective BE features to create a holistic profile of the study participants\. By integrating clinical indicators of mental and physical health \(e\.g\., PHQ\-9 and LSA\) with high\-resolution environmental data, the resulting feature set enables the model’s attention mechanism to attend to the complex interactions between an individual’s physiological frailty and the specific morphological barriers within their neighborhood BE\. Following a multicollinearity filtering process to ensure statistical robustness, the final feature set is organized into the categories presented in Table[1](https://arxiv.org/html/2608.14663#S2.T1)\.

Table 1:Integrated Feature Set \(independent variables\) for Decoding Perceived Neighborhood Walkability
### 2\.4In\-Context Learning Framework

#### 2\.4\.1Data Prepossessing

Although widely used, NEWS\-A perception scale lacks standardized clinical benchmarks or normative risk thresholds\. To resolve this, we discretized the continuous NEWS\-A sum scores into three categories, Low, Neutral, and High, using an equal\-frequency binning strategy\[ijerph14101199\]\. In the absence of accepted benchmarks, we opted for the relative ranking rather absolute point values of perceptions, to enable the model to effectively differentiate between the most and least supportive features within the context of the study cohort\. Additionally, this strategy addresses the challenge of class imbalance, which is essential for maintaining the stability of the classification model\.

#### 2\.4\.2In\-Context Learning Workflow and SHAP\-IQ Explanation

Leveraging the ICL paradigm, this study employs TabPFN, a foundation model for tabular data, to perform the classification tasks\. In this workflow, the model’s weights remain frozen\. To demonstrate the performance, the dataset is partitioned into an 80/20 split, where the training portion \(80%\) is passed directly to the TabPFN as a Context Set\. During inference, the model utilizes its self\-attention mechanism to globally evaluate each query individual against this Context Set\. By leveraging a pre\-trained prior to capture how spatial and individual features interact, TabPFN generates class membership probabilities via Approximate Bayesian Inference\. For benchmarking, traditional inductive ML models, namely RF and XGBoost are evaluated as baselines\. To ensure a rigorous comparison, both baseline models are extensively optimized using a grid\-search cross\-validation protocol to maximize their perdictive performance on this dataset\.

To interpret the underlying logic of the model’s predictions, traditional SHAP analysis is utilized which mainly captures first\-order, independent feature contributions\. SHAP\-IQ is further leveraged to quantify the synergistic interactions between features\. It is worth noting that, SHAP\-IQ is uniquely compatible with TabPFN because the model’s ICL paradigm renders the calculation of complex interaction values computationally inexpensive, compared to inductive ML models\. This enables the simple removal of out\-of\-coalition features, allowing the model to be re\-contextualized with the modified data points\[rundel2024interpretable\]\. By selectively omitting pairs of features, the model explicitly evaluates their joint impact on classification to uncover the underlying synergistic effects between the variables\.

## 3Preliminary Results

First, the predictive performance of the TabPFN \(ICL\), was evaluated against RF and XGBoost, two inductive ML models commonly utilized for interpreting the impacts of BE on human perception and behaviour\. Then we discuss the results in terms of BE impacts on perceived neighborhood walkability\.

### 3\.1Classification Performance

As the NEWS\-A scores were discretized into three categories, the analytical task was framed as a three\-class classification problem\. Table[2](https://arxiv.org/html/2608.14663#S3.T2)reports the performance of the tuned RF, XGBoost, and TabPFN \(ICL\) models\. It was found that TabPFN outperformed both optimized inductive models across the evaluated metrics\. While the tuned RF and XGBoost models achieved accuracies of 46\.15% and 53\.85%, respectively, TabPFN reached an accuracy of 55\.77%\. In addition, TabPFN achieved a Macro F1 score of 54\.89%, which calculates the unweighted mean of the F1 scores across all classes independently\. The F1 score itself represents the harmonic mean of precision and recall, providing a balanced metric that penalizes both false positives and false negatives\. TabPFN’s performance in Macro F1 represents a improvement over XGBoost \(50\.56%\) and RF \(45\.85%\)\. This comparison illustrates that TabPFN achieves this results without parameter tuning, whereas both baselines models require extensive optimization\. It highlights the distinct advantage of the ICL paradigm, demonstrating its ability to mitigate small\-data challenges while ensuring the high predictive fidelity required for downstream SHAP\-IQ analysis\.

Table 2:Performance Comparison of Random Forest, XGBoost, and TabPFN \(ICL\)
### 3\.2Influential BE Features

The feature importance derived from TabPFN is presented in Figure[1](https://arxiv.org/html/2608.14663#S3.F1), comparing SHAP\-IQ feature interactions \(left\) with standard isolated SHAP values \(right\)\. When evaluated in isolation, individual clinical contexts, specifically the AFEAT and FES scores, alongside localized morphological barriers like the steps ratio, emerge as the top independent predictors of perceived walkability\. However, the SHAP\-IQ analysis \(left\) reveals a critical shift in feature importance: when synergistic effects are quantified, perception is fundamentally governed by complex variable pairs rather than isolated factors\. Ranking at the top of the interaction importance is the synergistic effect between the neighborhood’s average walkway circuity and the ratio of drivable roads \(circuity\_average×\\timesdrivable\_ratio\)\. The magnitude of this interaction reveals that the model views winding layouts in car\-dominated spaces as the most critical determinant of perceived walkability\. Similarly, the significant interaction importance between steep slopes and recreational circuity illustrates that the model weights topography most heavily when it is compounded by navigational complexity\. Most notably, while greenery appears unimportant in isolation, it becomes a top influential factor when interacting with FES and AFEAT scores\. This highlights that greenery acts as a restorative buffer, modulating perceived walkability for mobility\-impaired older adults

![Refer to caption](https://arxiv.org/html/2608.14663v1/figure1.png)Figure 1:Top 10 feature importances for the TabPFN model\. The left panel plots the SHAP\-IQ synergistic effects, while the right panel displays the typical SHAP values\.

## 4Discussion and Conclusion

This study demonstrates the potential of ICL for understanding the complex interplay between the BE and the walkability perceptions of a unique demographic: older adults with knee OA or fall histories\. By leveraging TabPFN, we achieved superior classification performance in predicting neighborhood walkability perceptions compared to fine\-tuned inductive ML models\. The resulting feature importance analysis reveals that the model’s decisions are primarily driven by synergistic effects rather than isolated variables\. The interplay between street circuity and ratio of drivable roads emerges as the primary predictive discriminator\. Neighborhood greenery is found to hold substantial weight only when coupled with an individual’s fear of falling or perceptions of age\-friendliness, identifying critical interactions that traditional SHAP analyses often obscure\.

As an exploratory investigation into leveraging ICL for explaining the perception of neighborhood walkability, certain limitations exist\. First, while SHAP\-IQ identifies the hierarchical importance of feature synergies, the current analysis focuses on the magnitude of these interactions rather than their directional valence\. Future work will utilize dependence analysis to explicitly characterize whether these synergies exert positive or negative impacts on perception\. Second, the latent synergies identified via ICL lack cross\-validation through conventional statistical methods; subsequent research should feed these extracted interactions back into standard regression models to enhance both the explainability and practical utility of the findings\. Finally, the cross\-sectional design and reliance on the self\-reported NEWS\-A scale capture perceived walkability rather than objective mobility\. Future studies should supplement these subjective assessments with longitudinal GPS tracking to observe how environmental perceptions translate into actual spatial trajectories\.

## References

Similar Articles

Walkable to Whom? Capturing Subjective Variability in Walkability Perception Using Multimodal Deep Learning

arXiv cs.LG

This paper introduces a dataset of 29,870 walkability ratings from 1,196 respondents and proposes a user-conditioned multimodal deep learning framework that fuses visual features with individual rater attributes to capture subjective variability in walkability perception. The model improves rank agreement by 65% over an image-only baseline, showing that who evaluates an environment matters.

Towards Inclusive Mobility Modeling: Characterizing and Evaluating Elderly Trajectory Patterns in Urban Systems

arXiv cs.AI

This paper examines how the underrepresentation of elderly riders in mobility datasets introduces systematic bias into mobility modeling, using Citi Bike data from Jersey City. It shows that models trained on majority-dominated populations misrepresent elderly mobility behavior, and that higher-capability models do not necessarily improve subgroup fidelity under limited demographic data.

Learn to Quantify Social Interaction with Constraints for Pedestrian Walking

arXiv cs.AI

This paper introduces a method called 'Learn to Cluster' to quantify and interpret social interactions among pedestrians for better trajectory prediction. It uses probabilistic latent variable generative learning to cluster social interactions without labels, improving robustness for autonomous driving and social robots.

Probing Memorization of Tabular In-Context Learning

arXiv cs.LG

This paper investigates parametric memorization in tabular foundation models that use in-context learning, introducing a probing framework (IclMem) to separate context-based predictions from memorization. It finds moderate memorization signals under specific conditions but notes they largely vanish under realistic training scenarios.