arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.09637cs.SE
收藏

基于批评-改进的智能体角色生成:工业评估

Agentic Persona Generation with Critique-Refinement: An Industrial Evaluation

University of Ottawa(渥太华大学);Kinaxis

Mohammad Hossein Amini, David Dewar, Shiva Nejati, Mehrdad Sabetzadeh

AI总结:

提出PerGent方法,通过迭代批评-改进循环利用LLM智能体生成角色,在工业部署中专家认可率达96.9%,优于单次生成方法。

摘要:

角色在软件工程中被广泛用于支持需求获取、设计和验证,但手动创建成本高、耗时且难以扩展。最近的基于LLM的方法从文本数据自动生成角色,但它们通常依赖单次生成和主观评估,限制了实际可靠性。我们提出了PerGent,一种围绕迭代批评-改进循环构建的工业级角色生成方法。具体来说,PerGent使用一个生成器和一个批评LLM智能体,由编排器协调,通过批评-改进循环(用户定义的最大轮数)利用外部资源(如访谈、调查和职位发布)迭代改进角色。我们在Kinaxis的工业环境中部署和评估PerGent,将其与三个基线(包括单次方法)进行比较。在专家现场评估中,PerGent获得了最高的专家认可率(96.9%),超过了所有基线。我们进一步将PerGent生成的角色与领域专家在采用LLM之前手动创建的最佳实践角色进行比较。与基线相比,PerGent重现了更大比例的专家内容,同时也在预LLM角色之外贡献了大量新内容。最后,我们总结了在Kinaxis部署和评估PerGent的经验教训。

英文摘要:

Personas are widely used in software engineering to support requirements elicitation, design, and validation, but their manual creation is costly, time-consuming, and hard to scale. Recent LLM-based approaches automate persona generation from textual data; however, they typically rely on single-shot generation and subjective evaluations, limiting practical reliability. We present PerGent, an industry-grade method for persona generation built around an iterative critique-refinement loop. Specifically, PerGent uses a generator and a critic LLM agent, coordinated by an orchestrator, to iteratively refine personas using external resources such as interviews, surveys, and job postings through a critique-refinement loop with a user-defined maximum number of rounds. We deploy and evaluate PerGent in an industrial setting at Kinaxis, comparing it with three baselines, including one-shot methods. In an expert in-situ evaluation, PerGent achieved the highest expert approval rate (96.9%), exceeding all baselines. We further compare PerGent-generated personas with best-practice personas manually created by domain experts prior to the adoption of LLMs. Compared to baselines, PerGent reproduces a larger proportion of expert content while also contributing substantial new content beyond the pre-LLM personas. We conclude with lessons learned from deploying and evaluating PerGent at Kinaxis.

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

↑