Skip to content
Open access

RAFE-XAI: A Retrieval-Augmented Feature Engineering and Explainable NLP Framework for Urban Infrastructure Risk Classification

Jul 2026 · Mathematics · 0 citations · 29 references

TL;DR

This study introduces RAFE-XAI, a retrieval-augmented feature engineering and explainable natural language processing framework for urban infrastructure risk classification that incorporates semantic sentence embeddings, retrieval-based evidence, neighborhood-derived label distributions, domain-specific risk indicators, infrastructure asset cues, location indicators, and evidence-based explainability.

Abstract

Urban infrastructure systems increasingly depend on textual reports generated by citizens, inspection teams, maintenance units, emergency platforms, and smart city services. Accurate identification of critical risks in these reports is essential for enhancing urban resilience and enabling timely decision-making. Nevertheless, urban infrastructure risk classification is challenging due to the brevity, noise, domain specificity, and context dependence of these reports. This study introduces RAFE-XAI, a retrieval-augmented feature engineering and explainable natural language processing framework for urban infrastructure risk classification. The term retrieval-augmented is used here in a classification-oriented sense: retrieved reports are used to construct additional features and evidence, not to generate output text as in Retrieval-Augmented Generation systems. The proposed framework incorporates semantic sentence embeddings, retrieval-based evidence, neighborhood-derived label distributions, domain-specific risk indicators, infrastructure asset cues, location indicators, and evidence-based explainability. The framework does not construct an explicit graph, adjacency matrix, graph neural network, or message-passing mechanism. Instead, retrieval is used to derive neighbor label-distribution features, which are combined with semantic embeddings and interpretable keyword, asset, and location indicators. To assess the effectiveness of this approach, UIR-Text, a semi-synthetic urban infrastructure risk dataset with scenario-level group splitting to mitigate data leakage, was constructed. Experimental results on UIR-Text show that fine-tuned DistilBERT achieves the strongest predictive performance, with Macro-F1 scores of 0.8278 for category classification, 0.9120 for binary critical-risk detection, and 0.3379 for four-level severity classification. Among the explainable feature-engineering models, RAFE-XAI with Random Forest achieves the strongest category classification performance, with Accuracy 0.8400, Macro-F1 0.8043, Weighted-F1 0.8444, and MCC 0.8062. These results suggest that fine-tuned transformers provide the highest predictive performance on this benchmark, while RAFE-XAI offers a transparent retrieval-augmented alternative that exposes retrieved evidence, neighbor label distributions, and domain cues. Four-level severity classification remains challenging, even with fine-tuned DistilBERT, indicating the need for richer impact-aware variables.

Read PDF

Similar papers

Open access Aug 2026

TMCAS: Efficient Large Language Model-Assisted Topic Modeling for Civil Aviation Safety Reports

This paper proposes TMCAS, an efficient large language model-assisted topic modeling framework for civil aviation safety reports that achieves superior clustering and interpretability while substantially reducing inference cost compared with document-wise LLM baselines.

Xiangge Li, Haofeng Wang, Xiuting Zhou et al. · 0 citations
Open access Aug 2026

Leveraging Large Language Models for Automated Assessment and Mapping in Participatory Urban Planning

The findings demonstrate the feasibility of leveraging AI and LLMs to create a responsive and interactive platform that not only streamlines data collection but also enriches the participatory planning process.

Mohammad Hasan Zali, Mohammad Ghanbarei Baba ahmadi, Meysam Argany et al. · 0 citations
Open access Aug 2026

A retrieval-augmented and distribution-imbalance-aware contrastive framework for low-resource agricultural pest and disease named entity recognition with large language models

A parameter-efficient large model adaptation framework that integrates retrieval-augmented semantic conditioning modeling with distribution-imbalance-aware contrastive representation learning for agricultural pest and disease text entity recognition is proposed, offering an efficient and scalable pathway for adapting l...

Fu-Yong Liu, Zhao-Hui Du, Hong-Mei Fei et al. · 0 citations
Aug 2026

AddressRAG: A Novel Retrieval Method for Toponym and Address Based on Knowledge Graph and Large Language Models

Experiments on a cross‐city dataset showed that AddressRAG obtained higher observed mean scores in faithfulness, answer relevance, candidate retrieval, and administrative hierarchy consistency, with uncertainty quantified using bootstrap confidence intervals.

Li Xu, Zhanlong Chen, Meng-Xi Zhang · 0 citations
Preprint Aug 2026

GeoRisk-RAG: A Hierarchy-Aware Risk Framework for Improving RAG Reliability through Selective Answering

Current work on improving reliability in large language model (LLM)- generated answers has primarily leveraged Retrieval-Augmented Generation (RAG), knowledge-graph augmentation, and reinforcement learning. While these methods are adept at enhancing and measuring reliability through semantic similarity and faithfulness...

M. Ravi, Shailik Sarkar, Lulwah Alkulaib et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.