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

SDialog:一个用于端到端代理构建、用户模拟、对话生成和评估的Python工具包

SDialog: A Python Toolkit for End-to-End Agent Building, User Simulation, Dialog Generation, and Evaluation

Sergio Burdisso, Séverin Baroudi, Yanis Labrak, David Grunert, Pawel Cyrta, Yiyang Chen, Srikanth Madikeri, Esaú Villatoro-Tello, Thomas Schaaf, Ricard Marxer, Petr Motlicek

AI总结:

SDialog是一个开源Python工具包,提供端到端的对话代理构建、用户模拟、对话生成和评估功能,结合机理可解释性工具和综合评估方法,帮助研究人员更系统地研究对话系统。

摘要:

我们提出了SDialog,一个采用MIT许可的开源Python工具包,将对话生成、评估和机理可解释性统一到一个端到端框架中,用于构建和分析基于大语言模型(LLM)的对话代理。该工具包围绕标准化的\texttt{Dialog}表示构建,提供:(1)基于人设的多代理模拟,具有可组合的编排功能,用于受控的合成对话生成;(2)综合评估,结合语言学指标、LLM作为评判者和功能正确性验证器;(3)机理可解释性工具,用于通过特征消融和诱导进行激活检查和引导;(4)音频生成,包含完整的声学模拟,包括3D房间建模和麦克风效果。该工具包可与所有主要LLM后端集成,使在统一API下实现混合后端实验成为可能。通过将生成、评估和可解释性结合到以对话为中心的架构中,SDialog使研究人员能够更系统地构建、评估和理解对话系统。

英文摘要:

We present SDialog, an MIT-licensed open-source Python toolkit that unifies dialog generation, evaluation and mechanistic interpretability into a single end-to-end framework for building and analyzing LLM-based conversational agents. Built around a standardized \texttt{Dialog} representation, SDialog provides: (1) persona-driven multi-agent simulation with composable orchestration for controlled, synthetic dialog generation, (2) comprehensive evaluation combining linguistic metrics, LLM-as-a-judge and functional correctness validators, (3) mechanistic interpretability tools for activation inspection and steering via feature ablation and induction, and (4) audio generation with full acoustic simulation including 3D room modeling and microphone effects. The toolkit integrates with all major LLM backends, enabling mixed-backend experiments under a unified API. By coupling generation, evaluation, and interpretability in a dialog-centric architecture, SDialog enables researchers to build, benchmark and understand conversational systems more systematically.

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

↑