World Scientific
  • Search
  •   
Skip main navigation

Cookies Notification

We use cookies on this site to enhance your user experience. By continuing to browse the site, you consent to the use of our cookies. Learn More
×
Our website is made possible by displaying certain online content using javascript.
In order to view the full content, please disable your ad blocker or whitelist our website www.worldscientific.com.

System Upgrade on Tue, Oct 25th, 2022 at 2am (EDT)

Existing users will be able to log into the site and access content. However, E-commerce and registration of new users may not be available for up to 12 hours.
For online purchase, please visit us again. Contact us at [email protected] for any enquiries.

Context-Aware Conversational Recommendation of Trigger-Action Rules in IoT Programming

    https://doi.org/10.1142/S0218194021500510Cited by:0 (Source: Crossref)

    Trigger-action (TA) programming is a programming paradigm that allows end-users to automate and connect IoT devices and online services using if-trigger-then-action rules. Early studies have demonstrated this paradigms usability, but more recent work has also highlighted complexities that arise in realistic scenarios. To facilitate end-users in TA programming, we propose AutoTAR, a context-aware conversational recommendation technique for recommending TA rules. AutoTAR leverages a TA knowledge graph to encode semantic features and abstract functionalities of rules, and then takes a two-phase method to recommend TA rules to end-users: during the context-aware recommendation phase, it elicits user preferences from programming context and recommends the top-N rules using a mixed content and collaborative technique; during the conversational recommendation phase, it justifies recommendations by iteratively raising questions and collecting feedback from end-users.

    We evaluate AutoTAR on Mturk and real data collected from the IFTTT community. The results show that our method outperforms state-of-the-arts significantly — its context-aware recommendation outperforms RecRules by 26% on R@5 and 21% on NDCG@5; its conversational recommendation outperforms LARecommender (a conversational recommender with the LA model) by 67.64% on accuracy. In addition, AutoTAR is effective in solving three problems frequently occurring in TA rule recommendations, i.e., the cold-start problem, the repeat-consumption problem, and the incomplete-intent problem.

    References

    • 1. InsiderIntelligence, Business insider: How IoT devices smart home automation is entering our homes in 2020, https://www.businessinsider.com/iot-smart-home-automation. Google Scholar
    • 2. A. Zaidan and B. Zaidan, A review on intelligent process for smart home applications based on IoT: Coherent taxonomy, motivation, open challenges, and recommendations,” Artif. Intell. Rev. 53(1) (2020) 141–165. Crossref, Web of ScienceGoogle Scholar
    • 3. IFTTT, www.ifttt.com. Google Scholar
    • 4. Microsoft-Power-Automate, www.docs.microsoft.com/en-us/power-automate. Google Scholar
    • 5. Zapier, www.zapier.com. Google Scholar
    • 6. Mozilla, www.iot.mozilla.org. Google Scholar
    • 7. B. Ur, E. McManus, M. Pak Yong Ho and M. L. Littman, Practical trigger-action programming in the smart home, in Proc. SIGCHI Conf. Human Factors in Computing Systems, 2014, pp. 803–812. CrossrefGoogle Scholar
    • 8. L. Zhang, W. He, O. Morkved, V. Zhao, M. L. Littman, S. Lu and B. Ur, Trace2TAP: Synthesizing trigger-action programs from traces of behavior, in Proc. ACM Interactive, Mobile, Wearable and Ubiquitous Technologies, 2020, pp. 1–26. CrossrefGoogle Scholar
    • 9. A. Makhshari and A. Mesbah, IoT bugs and development challenges, in 2021 IEEE/ACM 43rd Int. Conf. Software Engineering, 2021, pp. 460–472. CrossrefGoogle Scholar
    • 10. N. Domínguez and I.-Y. Ko, Mashup recommendation for trigger action programming, in Int. Conf. Web Engineering, 2018, pp. 177–184. CrossrefGoogle Scholar
    • 11. F. Corno, L. De Russis and A. Monge Roffarello, “RecRules: Recommending if-then rules for end-user development, ACM Trans.Intell. Syst. Technol. 10(5) (2019) 1–27. Crossref, Web of ScienceGoogle Scholar
    • 12. F. Corno, L. De Russis and A. M. Roffarello, TAPrec: supporting the composition of trigger-action rules through dynamic recommendations, in Proc. 25th Int. Conf. Intelligent User Interfaces, 2020, pp. 579–588. CrossrefGoogle Scholar
    • 13. C. Liu, X. Chen, E. C. Shin, M. Chen and D. Song, Latent attention for if-then program synthesis, in Advances in Neural Information Processing Systems, 2016, pp. 4574–4582. Google Scholar
    • 14. D. Dalal and B. V. Galbraith, Evaluating sequence-to-sequence learning models for if-then program synthesis, arXiv:2002.03485. Google Scholar
    • 15. C. Quirk, R. Mooney and M. Galley, Language to code: Learning semantic parsers for if-this-then-that recipes, in Proc. 53rd Annual Meeting of the Association for Computational Linguistics and 7th Int. Joint Conf. Natural Language Processing, 2015, pp. 878–888. CrossrefGoogle Scholar
    • 16. F. Corno, L. De Russis and A. M. Roffarello, HeyTAP: Bridging the gaps between users’ needs and technology in if-then rules via conversation, in Proc. Int. Conf.Advanced Visual Interfaces, 2020, pp. 1–9. CrossrefGoogle Scholar
    • 17. F. Corno, L. De Russis and A. M. Roffarello, A high-level semantic approach to end-user development in the internet of things, Int. J. Hum.-Comput. Stud. 125 (2019) 41–54. Crossref, Web of ScienceGoogle Scholar
    • 18. W. Brackenbury, A. Deora, J. Ritchey, J. Vallee, W. He, G. Wang, M. L. Littman, and B. Ur, How users interpret bugs in trigger-action programming, in Proc. 2019 CHI Conf. Human Factors in Computing Systems, 2019, pp. 1–12. CrossrefGoogle Scholar
    • 19. Y. Kim, Convolutional neural networks for sentence classification, in Proc. 2014 Conf. Empirical Methods in Natural Language Processing, Association for Computational Linguistics, 2014, pp. 1746–1751. CrossrefGoogle Scholar
    • 20. S.-H. Lam, E. Brewer and Y.-K. Ng, Using a deep learning model, content features, and author metadata to recommend research papers, in 21st Int. Conf. Information Reuse and Integration for Data Science, 2020, pp. 265–270. CrossrefGoogle Scholar
    • 21. J. Chen, C. Wang, J. Wang and P. S. Yu, Recommendation for repeat consumption from user implicit feedback, IEEE Trans. Knowl. Data Eng. 28(11) (2016) 3083–3097, 2016. Crossref, Web of ScienceGoogle Scholar
    • 22. T.-Y. Liu, Learning to rank for information retrieval, Found. Trends Inf. Retr. 3 (2009) 225–331. CrossrefGoogle Scholar
    • 23. R. Pan, Y. Zhou, B. Cao, N. N. Liu, R. Lukose, M. Scholz and Q. Yang, One-class collaborative filtering, in 2008 Eighth IEEE Int.Conf. Data Mining, 2008, pp. 502–511. CrossrefGoogle Scholar
    • 24. X. Yu, K. E. Bennin, J. Liu, J. W. Keung, X. Yin and Z. Xu, An empirical study of learning to rank techniques for effort-aware defect prediction, in 2019 IEEE 26th Int. Conf. Software Analysis, Evolution and Reengineering, 2019, pp. 298–309. CrossrefGoogle Scholar
    • 25. J. Zou, Y. Chen and E. Kanoulas, Towards question-based recommender systems, in Proc. 43rd Int. ACM SIGIR Conf. Research and Development in Information Retrieval, 2020, pp. 881–890. CrossrefGoogle Scholar
    • 26. SPARQL, https://www.w3.org/TR/2013/REC-sparql11-overview-20130321/. Google Scholar
    • 27. M. Jalili, S. Ahmadian, M. Izadi, P. Moradi and M. Salehi, Evaluating collaborative filtering recommender algorithms: A survey, IEEE Access 6 (2018) 74003–74024. Crossref, Web of ScienceGoogle Scholar
    • 28. D. L. Olson and D. Delen, Advanced Data Mining Techniques (Springer, 2008). Google Scholar
    • 29. K. Järvelin and J. Kekäläinen, IR evaluation methods for retrieving highly relevant documents, in ACM SIGIR Forum, 2017, pp. 243–250. CrossrefGoogle Scholar
    • 30. DBpedia, https://www.dbpedia.org. Google Scholar
    • 31. OpenCyc, https://github.com/asanchez75/opencyc. Google Scholar
    • 32. Wikidata, https://Wikidata.org. Google Scholar
    • 33. YAGO, https://yago-knowledge.org. Google Scholar
    • 34. E. Çano and M. Morisio, Hybrid recommender systems: A systematic literature review, Intell. Data Anal. 21(6) (2017) 1487–1524. Crossref, Web of ScienceGoogle Scholar
    • 35. Y. Sun, J. Han, X. Yan, P. S. Yu and T. Wu, PathSim: Meta path-based top-k similarity search in heterogeneous information networks, Proc. VLDB Endow. 4(11) (2011) 992–1003. CrossrefGoogle Scholar
    • 36. X. Yu, X. Ren, Q. Gu, Y. Sun and J. Han, Collaborative filtering with entity similarity regularization in heterogeneous information networks, in Proc. IJCAI-13 HINA Workshop (IJCAI-HINA’13), Beijing, China, 2013, pp. 1–6. Google Scholar
    • 37. X. Yu, X. Ren, Y. Sun, Q. Gu, B. Sturt, U. Khandelwal, B. Norick and J. Han, Personalized entity recommendation: A heterogeneous information network approach, in Proc. 7th ACM Int. Conf. Web Search and Data Mining, 2014, pp. 283–292. CrossrefGoogle Scholar
    • 38. H. Wang, F. Zhang, X. Xie and M. Guo, DKN: Deep knowledge-aware network for news recommendation, in Proc. World Wide Web Conf., 2018, pp. 1835–1844. Google Scholar
    • 39. A. Dadoun, R. Troncy, O. Ratier and R. Petitti, Location embeddings for next trip recommendation, in Companion Proc. 2019 World Wide Web Conf., 2019, pp. 896–903. CrossrefGoogle Scholar
    • 40. A. Mattioli and F. Paternò, Recommendations for creating trigger-action rules in a block-based environment, Behav. Inf. Technol. 40(10) (2021) 1–11. Crossref, Web of ScienceGoogle Scholar
    • 41. Q. Wu, B. Shen and Y. Chen, Learning to recommend trigger-action rules for end-user development, in Int. Conf. Software and Software Reuse, 2020, pp. 190–207. CrossrefGoogle Scholar
    Remember to check out the Most Cited Articles!

    Check out our titles in C++ Programming!