DiLogics: Creating Web Automation Programs with Diverse Logics

Kevin Pu, Jim Yang, Angel Yuan, Minyi Ma, Rui Dong, Xinyu Wang, Yan Chen and Tovi Grossman

Abstract

Knowledge workers frequently encounter repetitive web data entry tasks, like updating records or placing orders. Web automation increases productivity, but translating tasks to web actions accurately and extending to new specifications is challenging. Existing tools can automate tasks that perform the same logical trace of UI actions (e.g., input text in each field in order), but do not support tasks requiring different executions based on varied input conditions. We present DiLogics, a programming-by-demonstration system that utilizes NLP to assist users in creating web automation programs that handle diverse specifications. DiLogics first semantically segments input data to structured task steps. By recording user demonstrations for each step, DiLogics generalizes the web macros to novel but semantically similar task requirements. Our evaluation showed that non-experts can effectively use DiLogics to create automation programs that fulfill diverse input instructions. DiLogics provides an efficient, intuitive, and expressive method for developing web automation programs satisfying diverse specifications.

Venue
UIST 2023
Volume
Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology
DOI
10.1145/3586183.3606822
PDF
https://dl.acm.org/doi/pdf/10.1145/3586183.3606822
Anthology ID
2023.uist.110

Cite

@inproceedings{pu-etal-2023-dilogics,
    title = {{DiLogics: Creating Web Automation Programs with Diverse Logics}},
    author = {Kevin Pu and Jim Yang and Angel Yuan and Minyi Ma and Rui Dong and Xinyu Wang and Yan Chen and Tovi Grossman},
    booktitle = {Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology},
    isbn = {9798400701320},
    year = {2023},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3586183.3606822},
    url = {https://doi.org/10.1145/3586183.3606822},
    abstract = {Knowledge workers frequently encounter repetitive web data entry tasks, like updating records or placing orders. Web automation increases productivity, but translating tasks to web actions accurately and extending to new specifications is challenging. Existing tools can automate tasks that perform the same logical trace of UI actions (e.g., input text in each field in order), but do not support tasks requiring different executions based on varied input conditions. We present DiLogics, a programming-by-demonstration system that utilizes NLP to assist users in creating web automation programs that handle diverse specifications. DiLogics first semantically segments input data to structured task steps. By recording user demonstrations for each step, DiLogics generalizes the web macros to novel but semantically similar task requirements. Our evaluation showed that non-experts can effectively use DiLogics to create automation programs that fulfill diverse input instructions. DiLogics provides an efficient, intuitive, and expressive method for developing web automation programs satisfying diverse specifications.}
}