arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.23252cs.CL

评估LLM网页智能体的文化与社会意识

Evaluating Cultural and Social Awareness of LLM Web Agents

University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Salesforce AI Research(Salesforce AI研究院)

Haoyi Qiu, Alexander R. Fabbri, Divyansh Agarwal, Kung-Hsiang Huang, Sarah Tan, Nanyun Peng, Chien-Sheng Wu

AI总结:

本文提出CASA基准评估LLM网页智能体在在线购物和社交论坛中的文化与社会规范意识,发现当前智能体意识覆盖率不足10%、违规率超40%,并证明提示与微调结合可互补提升跨区域泛化和复杂任务处理能力。

摘要:

随着大语言模型(LLMs)从传统NLP任务扩展到作为智能体执行现实世界应用,评估其鲁棒性变得越来越重要。然而,现有基准往往忽略了文化和社会意识等关键维度。为解决这些问题,我们引入了CASA,一个旨在评估LLM智能体在两个基于网页的任务中对文化和社会规范敏感性的基准:在线购物和社交讨论论坛。我们的方法评估LLM智能体检测并适当响应违反规范的用户查询和观察的能力。此外,我们提出了一个综合评估框架,用于衡量意识覆盖率、处理用户查询时的帮助性,以及在面对误导性网页内容时的违规率。实验表明,当前的LLMs在非智能体环境中的表现显著优于基于网页的智能体环境,智能体的意识覆盖率不到10%,违规率超过40%。为了提升性能,我们探索了两种方法:提示和微调,并发现结合这两种方法可以带来互补优势——在特定文化数据集上进行微调显著增强了智能体跨不同区域的泛化能力,而提示则提升了智能体处理复杂任务的能力。这些发现强调了在开发周期中持续对LLM智能体的文化和社会意识进行基准测试的重要性。

英文摘要:

As large language models (LLMs) expand into performing as agents for real-world applications beyond traditional NLP tasks, evaluating their robustness becomes increasingly important. However, existing benchmarks often overlook critical dimensions like cultural and social awareness. To address these, we introduce CASA, a benchmark designed to assess LLM agents' sensitivity to cultural and social norms across two web-based tasks: online shopping and social discussion forums. Our approach evaluates LLM agents' ability to detect and appropriately respond to norm-violating user queries and observations. Furthermore, we propose a comprehensive evaluation framework that measures awareness coverage, helpfulness in managing user queries, and the violation rate when facing misleading web content. Experiments show that current LLMs perform significantly better in non-agent than in web-based agent environments, with agents achieving less than 10% awareness coverage and over 40% violation rates. To improve performance, we explore two methods: prompting and fine-tuning, and find that combining both methods can offer complementary advantages -- fine-tuning on culture-specific datasets significantly enhances the agents' ability to generalize across different regions, while prompting boosts the agents' ability to navigate complex tasks. These findings highlight the importance of constantly benchmarking LLM agents' cultural and social awareness during the development cycle.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑