Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/93862
標題: 任務專家協作:多智能體系統的任務分解與專家分配
Collaboration-of-Task-Expert: Task Decomposition and Expert Assignment on Multi-Agent System
作者: 王順貴
Shun-Gui Wang
指導教授: 陳銘憲
Ming-Syan Chen
關鍵字: 大型語言模型,查詢路由,多智能體系統,
Large Language Models,Query Routing,Multi-Agent System,
出版年 : 2024
學位: 碩士
摘要: 大型語言模型如GPT-4 在各種任務中展現了卓越的能力。然而,沒有任何單一的大型語言模型能夠最佳地處理所有類型的任務和應用。為了應對這一限制,必須結合各種特定領域大型語言模型的優勢,利用它們的獨特能力來克服單個模型的約束。鑑於通過付費API 服務訪問最強大的大型語言模型相關費用高昂,一種具有成本效益的方法是根據任務難度整合不同規模的大型語言模型。路由的範圍可以擴展到包含由多個領域或不同難度級別的子任務組成的更複雜的任務。在這種情況下,將單個任務分配給一個模型不足以完成任務。這些複雜的任務必須按任務領域或難度進行分解,並將子任務進一步分配給不同的大型語言模型。我們提出了一種基於大型語言模型的新方法,即任務專家協作(CoTE),該方法利用大型語言模型的推理能力和豐富知識來進行任務分解和專家分配。CoTE 將每個大型語言模型的獨特特徵,包括其專業領域和模型規模,整合到提示中。在簡單任務上的廣泛實驗比較中,CoTE 表現出卓越的路由準確性。在複雜任務實驗中,CoTE 在多領域MMLU 任務上實現了95.00% 的路由準確性和17.00% 的總體準確性提升,在多難度MMLU 任務上實現了79.60% 的路由準確性並顯著降低了成本,這突顯了其在任務分解和專家分配方面的有效性。
Large Language Models (LLMs) like GPT-4 have shown remarkable proficiency across various tasks. However, no single LLM can optimally manage all types of tasks and applications. To address this limitation, it is essential to combine the strengths of various domain-specific LLMs, leveraging their unique capabilities to overcome the constraints of individual models. Given the high costs associated with accessing the most powerful LLMs via paid API services, a cost-effective approach involves incorporating LLMs of different sizes based on task difficulty. The scope of routing can be extended to encompass more complex tasks that consist of sub-tasks spanning multiple domains or varying levels of difficulty. In such cases, assigning a single task to one model is insufficient to achieve task completion. These complex tasks must be decomposed by task domains or difficulty, with sub-tasks further assigned to different LLMs. We propose a novel LLM-based method, Collaboration-of-Task-Expert (CoTE), which uses the reasoning ability and vast knowledge of LLMs for task decomposition and expert assignment. CoTE integrates the unique characteristics of each LLM, including their areas of expertise and model size, into prompts. Extensive experimental comparisons with previous routing methods on simple tasks demonstrate CoTE ’s superior routing accuracy. In complex task experiments, CoTE achieves a 95.00% routing accuracy and a 17.00% overall accuracy improvement on multi-domain MMLU tasks, as well as a 79.60% routing accuracy and a significant cost reduction on multi-difficulty MMLU tasks, highlighting its effectiveness in task decomposition and expert assignment.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/93862
DOI: 10.6342/NTU202402603
全文授權: 同意授權(限校園內公開)
電子全文公開日期: 2027-08-03
顯示於系所單位:電機工程學系

文件中的檔案:
檔案 大小格式 
ntu-112-2.pdf
  目前未授權公開取用
1.37 MBAdobe PDF檢視/開啟
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved