arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.26981cs.IRcs.LG
收藏

预算约束下的在线检索增强生成:块即服务模型

Budget-Constrained Online Retrieval-Augmented Generation: The Chunk-as-a-Service Model

Information and Computing Technology (ICT) Division, College of Science and Engineering, Hamad Bin Khalifa University(信息与计算技术系(ICT), 科学与工程学院, 哈马德·本·卡西姆大学);School of Electrical Engineering and Information Technology, German Jordanian University(电气工程与信息科技学院, 德国约旦大学);Department of Computer and Information Sciences, Fordham University(计算机与信息科学系, 芙兰克大学);Department of Computer Science and Engineering, College of Engineering, Qatar University(计算机科学与工程系, 工程学院, 卡塔尔大学)

Shawqi Al-Maliki, Ammar Gharaibeh, Mohamed Rahouti, Mohammad Ruhul Amin, Mohamed Abdallah, Junaid Qadir, Ala Al-Fuqaha

AI总结:

本文提出块即服务模型,通过在线选择算法提升检索增强生成的透明性和成本效益,实验显示其在性能和预算利用上优于现有方法。

摘要:

大型语言模型(LLMs)已革新自然语言处理领域,但存在可靠性低和透明度不足的问题,如生成内容可能虚构且缺乏支持来源。检索增强生成(RAG)被引入以解决这些问题。RAG-as-a-Service(RaaS)存在定价不合理的问题,因其基于提交提示的数量而非提示的丰富程度或所用块的质量。本文提出块即服务(CaaS)作为透明且成本效益更高的替代方案。CaaS包含两种变体:开放预算CaaS(OB-CaaS)和受限预算CaaS(LB-CaaS),由“效用-成本在线选择算法(UCOSA)”启用。UCOSA通过在线方式根据预算约束和效用-成本权衡丰富部分提交提示,从而提升成本效益和可访问性。实验表明,UCOSA在性能和预算利用方面均优于现有方法。

英文摘要:

Large Language Models (LLMs) have revolutionized the field of natural language processing. However, they exhibit some limitations, including a lack of reliability and transparency: they may hallucinate and fail to provide sources that support the generated output. Retrieval-Augmented Generation (RAG) was introduced to address such limitations in LLMs. One popular implementation, RAG-as-a-Service (RaaS), has shortcomings that hinder its adoption and accessibility. For instance, RaaS pricing is based on the number of submitted prompts, without considering whether the prompts are enriched by relevant chunks, i.e., text segments retrieved from a vector database, or the quality of the utilized chunks (i.e., their degree of relevance). This results in an opaque and less cost-effective payment model. We propose Chunk-as-a-Service (CaaS) as a transparent and cost-effective alternative. CaaS includes two variants: Open-Budget CaaS (OB-CaaS) and Limited-Budget CaaS (LB-CaaS), which is enabled by our ``Utility-Cost Online Selection Algorithm (UCOSA)''. UCOSA further extends the cost-effectiveness and the accessibility of the OB-CaaS variant by enriching, in an online manner, a subset of the submitted prompts based on budget constraints and utility-cost tradeoff. Our experiments demonstrate the efficacy of the proposed UCOSA compared to both offline and relevance-greedy selection baselines. In terms of the performance metric-the number of enriched prompts (NEP) multiplied by the Average Relevance (AR)-UCOSA outperforms random selection by approximately 52% and achieves around 75% of the performance of offline selection methods. Additionally, in terms of budget utilization, LB-CaaS and OB-CaaS achieve higher performance-to-budget ratios of 140% and 86%, respectively, compared to RaaS, indicating their superior efficiency.

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

↑