ConvoCache:聊天机器人响应的智能重用
ConvoCache: Smart Re-Use of Chatbot Responses
AI总结:
本文提出对话缓存系统ConvoCache,通过重用过去语义相似提示词的响应,在DailyDialog数据集上实现214ms平均延迟并降低89%的生成式AI使用成本。
摘要:
我们提出了ConvoCache,一个对话缓存系统,解决语音聊天机器人中生成式AI模型缓慢且昂贵的问题。ConvoCache寻找过去语义相似的提示词并重用其响应。本文在DailyDialog数据集上评估ConvoCache。我们发现ConvoCache可应用90%的UniEval连贯性阈值,使用缓存响应89%的提示词,平均延迟为214ms,替代耗时超过1s的LLM和语音合成。为进一步降低延迟,我们测试了预取,发现其用途有限。以80%的请求进行预取导致63%的命中率,并降低整体连贯性。ConvoCache可与任何聊天机器人配合使用,通过将生成式AI的使用量减少高达89%来降低成本。
英文摘要:
We present ConvoCache, a conversational caching system that solves the problem of slow and expensive generative AI models in spoken chatbots. ConvoCache finds a semantically similar prompt in the past and reuses the response. In this paper we evaluate ConvoCache on the DailyDialog dataset. We find that ConvoCache can apply a UniEval coherence threshold of 90% and respond to 89% of prompts using the cache with an average latency of 214ms, replacing LLM and voice synthesis that can take over 1s. To further reduce latency we test prefetching and find limited usefulness. Prefetching with 80% of a request leads to a 63% hit rate, and a drop in overall coherence. ConvoCache can be used with any chatbot to reduce costs by reducing usage of generative AI by up to 89%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。