# RECORD 871e09a43b07cddac0d3c99559043f1bd6c1a614 # TITLE: Feature Attribution and Error Diagnosis of a Random Forest Housing Price Prediction Model Integrating SHAP and LIME # YEAR: 2026.0 VENUE: Theoretical and Natural Science DOI: 10.54254/2753-8818/2026.dl34409 # AUTHORS: Ruoxiang Wang # PAGES: 8 CANDIDATE TABLE PAGES (1-based): [] # ABSTRACT: Housing is one of the most basic needs of humanity globally, and fluctuations in housing prices have garnered significant attention. Currently, the scale of China's second-hand housing transaction market is rapidly expanding. Understanding the factors influencing second-hand housing prices can enhance transaction efficiency and achieve a balance between supply and demand. This article obtains the Ames dataset from Kaggle and selects the Random Forest (RF) model, which is a relatively mature model in the field of housing price prediction, for training. It integrates Shapley Additive exPlanations (SHAP) and the Local Interpretable Model-agnostic Explanation (LIME) to analyze the importance of housing features. The results indicate that the RF model exhibits good performance in predicting housing prices. The SHAP analysis reveals that the most significant global features influencing second-hand housing prices are the quality of building materials and decoration, followed by living area, and there is an interaction between these two factors. Furthermore, it utilizes LIME to perform local attribution on high-quality small-area samples in the test set. The results revealed that the local contribution of living area in such samples was significantly reduced, and replaced by features such as housing functionality, indicating that the decision logic of the RF model may deviate in local areas that deviate from the mainstream distribution. ===== PAGE 1 (score 8, numeric-paren 0, table-words 0, var-words 8) ===== Proceedings of CONF-MPCS 2026 Symposium: Theoretic Physics and Plasma Physics DOI: 10.54254/2753-8818/2026.DL34409 © 2026 The Authors. This is an open access article distributed under the terms of the Creative Commons Attribution License 4.0 (https://creativecommons.org/licenses/by/4.0/). 31 Feature Attribution and Error Diagnosis of a Random Forest Housing Price Prediction Model Integrating SHAP and LIME Ruoxian Wang Institute of Science, Minzu University of China, Beijing, China chordwangruoxian@outlook.com Abstract. Housing is one of the most basic needs of humanity globally, and fluctuations in housing prices have garnered significant attention. Currently, the scale of China's second- hand housing transaction market is rapidly expanding. Understanding the factors influencing second-hand housing prices can enhance transaction efficiency and achieve a balance between supply and demand. This article obtains the Ames dataset from Kaggle and selects the Random Forest (RF) model, which is a relatively mature model in the field of housing price prediction, for training. It integrates Shapley Additive exPlanations (SHAP) and the Local Interpretable Model-agnostic Explanation (LIME) to analyze the importance of housing features. The results indicate that the RF model exhibits good performance in predicting housing prices. The SHAP analysis reveals that the most significant global features influencing second-hand housing prices are the quality of building materials and decoration, followed by living area, and there is an interaction between these two factors. Furthermore, it utilizes LIME to perform local attribution on high-quality small-area samples in the test set. The results revealed that the local contribution of living area in such samples was significantly reduced, and replaced by features such as housing functionality, indicating that the decision logic of the RF model may deviate in local areas that deviate from the mainstream distribution. Keywords: second-hand housing prices, random forest, SHAP method, LIME, price forecast 1. Introduction In the research on the influencing factors of second-hand housing prices, traditional methods mostly involve constructing multiple linear regression models for analysis. However, the real estate market is a complex nonlinear system, and traditional linear models are sensitive to outliers in data. House price data with skewed distributions can affect the robustness of the model. Currently, the new generation of artificial intelligence, as a digital tool, is thriving and has become an effective way to enhance the accuracy of real estate appraisal. Based on machine learning and modeling, Hong complements traditional regression methods by studying the linear or nonlinear relationship between dependent and independent variables, as well as the hierarchical structure of factors determining housing prices [1]. Shi conducted training and prediction of second-hand