Title |
CitySpec with shield: A secure intelligent assistant for requirement formalization |
ID_Doc |
43867 |
Authors |
Chen, ZR; Li, IS; Zhang, HX; Preum, S; Stankovic, JA; Ma, MY |
Title |
CitySpec with shield: A secure intelligent assistant for requirement formalization |
Year |
2023 |
Published |
|
DOI |
10.1016/j.pmcj.2023.101802 |
Abstract |
An increasing number of monitoring systems have been developed in smart cities to ensure that a city's real-time operations satisfy safety and performance requirements. However, many existing city requirements are written in English with missing, inaccu-rate, or ambiguous information. There is a high demand for assisting city policymakers in converting human-specified requirements to machine-understandable formal spec-ifications for monitoring systems. To tackle this limitation, we build CitySpec (Chen et al., 2022), the first intelligent assistant system for requirement specification in smart cities. To create CitySpec, we first collect over 1,500 real-world city requirements across different domains (e.g., transportation and energy) from over 100 cities and extract city -specific knowledge to generate a dataset of city vocabulary with 3,061 words. We also build a translation model and enhance it through requirement synthesis and develop a novel online learning framework with shielded validation. The evaluation results on real-world city requirements show that CitySpec increases the sentence-level accuracy of requirement specification from 59.02% to 86.64%, and has strong adaptability to a new city and a new domain (e.g., the F1 score for requirements in Seattle increases from 77.6% to 93.75% with online learning). After the enhancement from the shield function, CitySpec is now immune to most known textual adversarial inputs (e.g., the attack success rate of DeepWordBug (Gao et al., 2018) after the shield function is reduced to 0% from 82.73%). We test the CitySpec with 18 participants from different domains. CitySpec shows its strong usability and adaptability to different domains, and also its robustness to malicious inputs.& COPY; 2023 Elsevier B.V. All rights reserved. |
Author Keywords |
Requirement specification; Intelligent assistant; Monitoring; Safety shield; Smart city |
Index Keywords |
Index Keywords |
Document Type |
Other |
Open Access |
Open Access |
Source |
Science Citation Index Expanded (SCI-EXPANDED) |
EID |
WOS:001011958000001 |
WoS Category |
Computer Science, Information Systems; Telecommunications |
Research Area |
Computer Science; Telecommunications |
PDF |
https://arxiv.org/pdf/2302.09665
|