arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.04875cs.CLquant-ph
收藏

面向可信量子聊天机器人的体系结构

Architecture for a Trustworthy Quantum Chatbot

Constructor Institute of Technology(康斯特科技学院);Constructor University(康斯特大学)

Yaiza Aragonés-Soria, Manuel Oriol

AI总结:

本文提出可信量子聊天机器人C4Q 2.0,通过集成专业LLM分类、确定性逻辑引擎和问答模块,提供可靠的量子计算支持,并在准确率、可维护性和正确性上优于现有聊天机器人。

摘要:

基于大语言模型(LLM)的工具(如ChatGPT)似乎对经典编程任务有用。领域越专业,由于缺乏训练数据,它们越可能缺乏可靠性。在量子计算的情况下,通用聊天机器人的回答质量较低。C4Q是一个专注于量子程序的聊天机器人,它通过一种软件体系结构来应对这一挑战,该体系结构集成了用于对请求进行分类的专业LLM、专业问答模块以及一个确定性逻辑引擎,以提供可信的量子计算支持。本文介绍了C4Q的最新版本(2.0),该版本提供了多项增强功能:用于门定义和电路操作的即用型Qiskit代码、用于解决软件工程任务(如旅行商问题和背包问题)的扩展功能,以及用于迭代改进的反馈机制。对后端的广泛测试证实了系统的可靠性,而实证评估表明,C4Q 2.0的分类LLM达到了接近完美的准确率。结果评估包括与三个现有聊天机器人的比较研究,突出了C4Q 2.0的可维护性和正确性,并反思了软件体系结构决策(例如将确定性逻辑与概率性文本生成分离)如何影响结果质量。

英文摘要:

Large language model (LLM)-based tools such as ChatGPT seem useful for classical programming assignments. The more specialized the field, the more likely they lack reliability because of the lack of data to train them. In the case of quantum computing, the quality of answers of generic chatbots is low. C4Q is a chatbot focused on quantum programs that addresses this challenge through a software architecture that integrates specialized LLMs to classify requests and specialized question answering modules with a deterministic logical engine to provide trustworthy quantum computing support. This article describes the latest version (2.0) of C4Q, which delivers several enhancements: ready-to-run Qiskit code for gate definitions and circuit operations, expanded features to solve software engineering tasks such as the travelling salesperson problem and the knapsack problem, and a feedback mechanism for iterative improvement. Extensive testing of the backend confirms the system's reliability, while empirical evaluations show that C4Q 2.0's classification LLM reaches near-perfect accuracy. The evaluation of the result consists in a comparative study with three existing chatbots highlighting C4Q 2.0's maintainability and correctness, reflecting on how software architecture decisions, such as separating deterministic logic from probabilistic text generation impact the quality of the results.

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

↑