CitySpec with Shield: A Secure Intelligent Assistant for Requirement Formalization

02/19/2023
by   Zirong Chen, et al.
0

An increasing number of monitoring systems have been developed in smart cities to ensure that the real-time operations of a city satisfy safety and performance requirements. However, many existing city requirements are written in English with missing, inaccurate, or ambiguous information. There is a high demand for assisting city policymakers in converting human-specified requirements to machine-understandable formal specifications for monitoring systems. To tackle this limitation, we build CitySpec, 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 and a new domain (e.g., the F1 score for requirements in Seattle increases from 77.6 function, CitySpec is now immune to most known textual adversarial inputs (e.g., the attack success rate of DeepWordBug after the shield function is reduced to 0 different domains. CitySpec shows its strong usability and adaptability to different domains, and also its robustness to malicious inputs.

READ FULL TEXT
research
06/07/2022

CitySpec: An Intelligent Assistant System for Requirement Specification in Smart Cities

An increasing number of monitoring systems have been developed in smart ...
research
06/14/2022

An Intelligent Assistant for Converting City Requirements to Formal Specification

As more and more monitoring systems have been deployed to smart cities, ...
research
08/06/2019

Runtime Monitoring of Safety and Performance Requirements in Smart Cities

With the increasing number of smart services implemented in smart cities...
research
03/31/2020

Cross-project Classification of Security-related Requirements

We investigate the feasibility of using a classifier for security-relate...
research
10/31/2020

CityPM: Predictive Monitoring with Logic-Calibrated Uncertainty for Smart Cities

We present CityPM, a novel predictive monitoring system for smart cities...
research
02/15/2022

The Hitchhiker's Guide to Fused Twins: A Review of Access to Digital Twins in situ in Smart Cities

Smart Cities already surround us, and yet they are still incomprehensibl...
research
08/07/2019

Transferring knowledge from monitored to unmonitored areas for forecasting parking spaces

Smart cities around the world have begun monitoring parking areas in ord...

Please sign up or login with your details

Forgot password? Click here to reset