A domain knowledge-enhanced lightweight transformer for automatic identification of land-use conflicts in territorial spatial planning texts
Feng Yang, Miaoxing Zhao, Leixiang Ding, Yan Li, Jing WangImplicit information on land use conflicts in territorial spatial planning texts directly affects the coordination and implementability of planning schemes. Traditional manual interpretation approaches have low efficiency, high omission rates, and inadequate standardization, making them difficult to use for full-process review of massive multi-source planning texts under multi-plan integration. To address this problem, this study proposes a lightweight Transformer-based framework for automatic land use conflict identification by integrating domain prior features with deep semantic encoding. Multi-type texts related to territorial planning were collected from official and authoritative channels to construct a domain-specific dataset containing 1200 valid samples. A multi-dimensional feature system with strong discriminability and interpretability was then extracted by combining professional knowledge of territorial planning with text statistical attributes. Finally, a lightweight Transformer model with a total parameter count of only 700000 was designed. Through the deep fusion of textual semantic features and statistical features, the model performs binary classification of land use conflicts. Experimental results show that the proposed model achieved an accuracy of 98.75% and an F1-score of 96.9% on the held-out test set, with an inference time of less than 0.5 seconds for a single text. On the 240-sample held-out test set, the 95% confidence interval for accuracy was 96.39–99.57%, and bootstrap resampling gave a 95% interval of 92.93–100.00% for the F1-score, indicating that the point estimates were not driven by a small number of individual cases. The framework may support lightweight local deployment in grassroots planning management departments after site-specific validation and can provide an auxiliary tool for planning compilation, compliance review, and ex-ante early warning of conflicts in territorial spatial planning.