情绪支持规则的场景设计与边界测试
Scenario Design and Boundary Testing of Rule-Based Emotional Support
DOI: 10.12677/airr.2026.156130, PDF,    科研立项经费支持
作者: 丁晓伟, 吴铭祺, 王建豪:上海工程技术大学管理学院,上海
关键词: 大学生;情绪支持;规则回应;场景路由;边界测试;University Students; Emotional Support; Rule-Based Responses; Scenario Routing; Boundary Testing
摘要: 本研究以心潮AI项目中期成果中的独立运行版为对象,基于原稿记录分析本地情绪支持规则的场景选择机制及执行边界。研究对单场景与兜底、交叉主题、风险关键词语境、词表未覆盖表达及显式选择五组共18条目的性构造用例的既有结果进行分组描述和逐例对照。记录显示,6条单场景与兜底用例进入预期分支;3条交叉主题用例的路由均受固定规则顺序影响;4条含风险关键词的输入均触发安全提示,其中包括引用、否定和商品促销表达;3条未命中词表的危险表达均未触发提示;2条显式选择用例符合既定优先级。这些记录支持对场景选择和规则执行过程的分析,但本次整理未取得项目源码、原始测试日志及逐条完整回复,无法独立复现原有测试,也不足以证明可靠的语义理解、危机识别能力、用户体验或心理干预效果。后续应补充完整输出与版本材料,分别评价场景路由、风险澄清与用户效果,并保留各版本的用例和边界测试结果。
Abstract: This study examines the scenario selection mechanism and execution boundaries of local emotional support rules in the standalone version developed as an interim outcome of the Xinchao AI project, based on records in the original manuscripts. Existing results for 18 purposively constructed test cases were analyzed by group and compared case by case across five categories: single scenarios and fallback, mixed topics, risk-keyword contexts, expressions outside the predefined vocabulary, and explicit selection. The records show that six single-scenario and fallback cases reached the expected branches; routing in three mixed-topic cases was influenced by the fixed rule order; all four inputs containing risk keywords triggered safety prompts, including quotation, negation, and product promotion expressions; three danger-related expressions outside the vocabulary did not trigger prompts; and two explicit-selection cases followed the implemented priorities. These records support analysis of scenario selection and rule execution. However, the project source code, original test logs, and complete responses for individual cases were unavailable for this analysis, preventing independent replication of the original tests. The findings do not establish reliable semantic understanding, crisis detection capabilities, user experience, or psychological intervention effects. Future work should provide complete outputs and version records, evaluate scenario routing, risk clarification, and user outcomes separately, and retain test cases and boundary-testing results for each version.
文章引用:丁晓伟, 吴铭祺, 王建豪. 情绪支持规则的场景设计与边界测试[J]. 人工智能与机器人研究, 2026, 15(6): 1441-1448. https://doi.org/10.12677/airr.2026.156130

参考文献

[1] 赵妍妍, 陆鑫, 赵伟翔, 等. 情感对话技术综述[J]. 软件学报, 2024, 35(3): 1377-1402.
[2] 何俊, 饶方喜, 周志豪, 等. 共情对话研究进展[J]. 计算机应用研究, 2024, 41(1): 1-9.
[3] 杨州, 陈志豪, 蔡铁城, 等. 基于深度学习的情感对话响应综述[J]. 计算机学报, 2023, 46(12): 2489-2519.
[4] Fitzpatrick, K.K., Darcy, A. and Vierhile, M. (2017) Delivering Cognitive Behavior Therapy to Young Adults with Symptoms of Depression and Anxiety Using a Fully Automated Conversational Agent (Woebot): A Randomized Controlled Trial. JMIR Mental Health, 4, e19.
https://doi.org/10.2196/mental.7785
[5] Li, H., Zhang, R., Lee, Y., Kraut, R.E. and Mohr, D.C. (2023) Systematic Review and Meta-Analysis of AI-Based Conversational Agents for Promoting Mental Health and Well-Being. npj Digital Medicine, 6, Article No. 236.
https://doi.org/10.1038/s41746-023-00979-5
[6] Balan, R., Dobrean, A. and Poetar, C.R. (2024) Use of Automated Conversational Agents in Improving Young Population Mental Health: A Scoping Review. npj Digital Medicine, 7, Article No. 75.
https://doi.org/10.1038/s41746-024-01072-1
[7] Jabir, A.I., Martinengo, L., Lin, X., Torous, J., Subramaniam, M. and Tudor Car, L. (2023) Evaluating Conversational Agents for Mental Health: Scoping Review of Outcomes and Outcome Measurement Instruments. Journal of Medical Internet Research, 25, e44548.
https://doi.org/10.2196/44548
[8] 殷亦超, 陈亮亮, 杜渂. 运用深度学习技术驱动青少年心理健康服务[J]. 中国卫生信息管理杂志, 2023, 20(6): 881-887, 911.
[9] Ribeiro, M.T., Wu, T., Guestrin, C. and Singh, S. (2020) Beyond Accuracy: Behavioral Testing of NLP Models with Checklist. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Online, July 2020, 4902-4912.
https://doi.org/10.18653/v1/2020.acl-main.442
[10] Amershi, S., Weld, D., Vorvoreanu, M., Fourney, A., Nushi, B., Collisson, P., et al. (2019) Guidelines for Human-AI Interaction. Proceedings of the 2019 CHI Conference on Human Factors in Computing Systems, Glasgow, 4-9 May 2019, 1-13.
https://doi.org/10.1145/3290605.3300233
[11] 李瑶, 杨琳. 人工智能应用于心理健康服务的相关问题思考[J]. 医学与哲学, 2022, 43(5): 49-54.
[12] World Health Organization (2021) Ethics and Governance of Artificial Intelligence for Health. World Health Organization.