{"id":4960,"date":"2024-10-27T11:14:53","date_gmt":"2024-10-27T03:14:53","guid":{"rendered":"https:\/\/nullthought.net\/?p=4960"},"modified":"2024-11-07T11:00:45","modified_gmt":"2024-11-07T03:00:45","slug":"longrag%ef%bc%9a%e6%9c%89%e6%95%88%e5%9c%b0%e8%a7%a3%e5%86%b3%e4%ba%86%e9%95%bf%e6%96%87%e6%9c%ac%ef%bc%88long-context%ef%bc%8c%e9%95%bf%e4%b8%8a%e4%b8%8b%e6%96%87%ef%bc%89%e5%9c%ba%e6%99%af%e4%b8%ad","status":"publish","type":"post","link":"https:\/\/nullthought.net\/?p=4960","title":{"rendered":"LongRAG\uff1a\u6709\u6548\u5730\u89e3\u51b3\u4e86\u957f\u6587\u672c\uff08Long-Context\uff0c\u957f\u4e0a\u4e0b\u6587\uff09\u573a\u666f\u4e2d\u201c\u4e22\u5931\u4e2d\u95f4\u4fe1\u606f\u201d\u548c\u201c\u4e8b\u5b9e\u7ec6\u8282\u8bc6\u522b\u96be\u201d\u95ee\u9898"},"content":{"rendered":"\n<p>\u8bba\u6587<strong><a href=\"https:\/\/arxiv.org\/abs\/2410.18050\" target=\"_blank\" rel=\"noreferrer noopener\">LongRAG: A Dual-Perspective Retrieval-Augmented Generation Paradigm for Long-Context Question Answering<\/a><\/strong>\u9488\u5bf9\u957f\u6587\u672c\uff08\u957f\u4e0a\u4e0b\u6587\uff09\u95ee\u7b54\uff08Long-Context Question Answering, LCQA\uff09\u4efb\u52a1\u63d0\u51fa\u4e86\u4e00\u79cd\u540d\u4e3aLongRAG\u7684\u53cc\u89c6\u89d2\u68c0\u7d22\u589e\u5f3a\u751f\u6210\uff08RAG\uff09\u7cfb\u7edf\u3002\u8fd9\u4e00\u7cfb\u7edf\u8bbe\u8ba1\u7684\u521d\u8877\u662f\u89e3\u51b3\u73b0\u6709\u957f\u6587\u672c\u95ee\u7b54\u6a21\u578b\u5728\u5904\u7406\u957f\u4e0a\u4e0b\u6587\u6587\u6863\u65f6\u5b58\u5728\u7684\u95ee\u9898\uff0c\u5c24\u5176\u662f\u201c\u4e22\u5931\u4e2d\u95f4\u4fe1\u606f\u201d\u7684\u73b0\u8c61\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u8fd9\u7c7b\u6a21\u578b\u5728\u957f\u6587\u672c\u4e2d\u8fdb\u884c\u63a8\u7406\u65f6\uff0c\u5f80\u5f80\u65e0\u6cd5\u51c6\u786e\u5b9a\u4f4d\u548c\u8bc6\u522b\u5173\u952e\u7684\u4e8b\u5b9e\u6027\u7ec6\u8282\u4fe1\u606f\uff0c\u5bfc\u81f4\u751f\u6210\u7684\u7b54\u6848\u4e0d\u51c6\u786e\u3002\u6b64\u5916\uff0c\u4f20\u7edf\u7684RAG\u7cfb\u7edf\u5728\u957f\u6587\u672c\u573a\u666f\u4e0b\u5e38\u4f7f\u7528\u56fa\u5b9a\u957f\u5ea6\u7684\u5206\u5757\u7b56\u7565\uff0c\u5c06\u957f\u6587\u672c\u5206\u5272\u6210\u82e5\u5e72\u7247\u6bb5\u8fdb\u884c\u5904\u7406\uff0c\u4f46\u8fd9\u79cd\u7b56\u7565\u5728\u7834\u574f\u4e0a\u4e0b\u6587\u7ed3\u6784\u7684\u540c\u65f6\u5f15\u5165\u5927\u91cf\u566a\u58f0\uff0c\u8fdb\u4e00\u6b65\u964d\u4f4e\u4e86\u68c0\u7d22\u6548\u679c\u3002\u56e0\u6b64\uff0c\u5982\u4f55\u6709\u6548\u5e73\u8861\u957f\u6587\u672c\u5168\u5c40\u4fe1\u606f\u7684\u83b7\u53d6\u4e0e\u5173\u952e\u7ec6\u8282\u7684\u8bc6\u522b\uff0c\u6210\u4e3aLCQA\u4efb\u52a1\u4e2d\u7684\u4e00\u5927\u6311\u6218\u3002<\/p>\n\n\n\n<p>LongRAG\u901a\u8fc7\u53cc\u89c6\u89d2\u7684\u4fe1\u606f\u6574\u5408\u7b56\u7565\u5728LCQA\u4efb\u52a1\u4e0a\u8868\u73b0\u51fa\u8272\uff0c\u6709\u6548\u5730\u89e3\u51b3\u4e86\u957f\u6587\u672c\u573a\u666f\u4e2d\u201c\u4e22\u5931\u4e2d\u95f4\u4fe1\u606f\u201d\u548c\u201c\u4e8b\u5b9e\u7ec6\u8282\u8bc6\u522b\u96be\u201d\u95ee\u9898\uff0c\u5176\u53ef\u63d2\u62d4\u7684\u7ec4\u4ef6\u8bbe\u8ba1\u9002\u5408\u591a\u573a\u666f\u5e94\u7528\uff0c\u5e76\u5177\u6709\u9ad8\u6269\u5c55\u6027\u548c\u53ef\u8fc1\u79fb\u6027\u3002<\/p>\n\n\n\n<p>\u8bba\u6587\u4f5c\u8005\u4e3aQingfei Zhao, Ruobing Wang, Yukuo Cen, Daren Zha, Shicheng Tan, Yuxiao Dong, Jie Tang\uff0c\u6765\u81ea\u4e2d\u56fd\u79d1\u5b66\u9662\u3001\u4e2d\u56fd\u79d1\u5b66\u9662\u5927\u5b66\u3001\u6e05\u534e\u5927\u5b66\u548c\u667a\u8c31AI\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"814\" height=\"480\" src=\"https:\/\/nullthought.net\/wp-content\/uploads\/2024\/10\/image-25.png\" alt=\"\" class=\"wp-image-4961\" srcset=\"https:\/\/nullthought.net\/wp-content\/uploads\/2024\/10\/image-25.png 814w, https:\/\/nullthought.net\/wp-content\/uploads\/2024\/10\/image-25-300x177.png 300w, https:\/\/nullthought.net\/wp-content\/uploads\/2024\/10\/image-25-768x453.png 768w\" sizes=\"auto, (max-width: 814px) 100vw, 814px\" \/><figcaption class=\"wp-element-caption\"><strong><a href=\"https:\/\/arxiv.org\/abs\/2410.18050\" target=\"_blank\" rel=\"noreferrer noopener\">LongRAG: A Dual-Perspective Retrieval-Augmented Generation Paradigm for Long-Context Question Answering<\/a><\/strong><\/figcaption><\/figure>\n\n\n\n<p>\u5982\u4e0b\u4e3a\u8bba\u6587\u6982\u8981\u5185\u5bb9\uff1a<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e00\u3001\u7cfb\u7edf\u6846\u67b6\u8bbe\u8ba1<\/h5>\n\n\n\n<p>LongRAG\u7cfb\u7edf\u63d0\u51fa\u4e86\u56db\u4e2a\u6a21\u5757\uff0c\u5206\u522b\u4e3a\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u6df7\u5408\u68c0\u7d22\u5668\uff08Hybrid Retriever\uff09<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>\u8be5\u6a21\u5757\u63a5\u6536\u7528\u6237\u7684\u95ee\u9898\u5e76\u901a\u8fc7\u53cc\u91cd\u7f16\u7801\u5668\u7ed3\u6784\u6765\u8fdb\u884c\u5206\u5c42\u68c0\u7d22\uff0c\u4ee5\u786e\u4fdd\u68c0\u7d22\u7684\u7247\u6bb5\u4e0e\u95ee\u9898\u7684\u76f8\u5173\u6027\u3002\u5728\u68c0\u7d22\u9636\u6bb5\uff0c\u6df7\u5408\u68c0\u7d22\u5668\u9996\u5148\u5c06\u957f\u6587\u672c\u6bb5\u843d\u5206\u5272\u6210\u82e5\u5e72\u7247\u6bb5\uff0c\u5e76\u5bf9\u6bcf\u4e2a\u7247\u6bb5\u8fdb\u884c\u7c97\u7c92\u5ea6\u548c\u7ec6\u7c92\u5ea6\u7684\u68c0\u7d22\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u9996\u5148\u4f7f\u7528\u53cc\u7f16\u7801\u5668\u7ed3\u6784\u5b9e\u73b0\u9ad8\u6548\u7c97\u7c92\u5ea6\u68c0\u7d22\uff0c\u7136\u540e\u901a\u8fc7\u4ea4\u53c9\u7f16\u7801\u5668\u8fdb\u4e00\u6b65\u63d0\u5347\u7ec6\u7c92\u5ea6\u7684\u8bed\u4e49\u4ea4\u4e92\uff0c\u786e\u4fdd\u6240\u9009\u7247\u6bb5\u4e0e\u95ee\u9898\u7684\u6df1\u5c42\u8bed\u4e49\u76f8\u5173\u3002<\/li>\n\n\n\n<li>\u5728\u5206\u5272\u7247\u6bb5\u65f6\uff0c\u6df7\u5408\u68c0\u7d22\u5668\u91c7\u7528\u6ed1\u52a8\u7a97\u53e3\u7b56\u7565\uff0c\u6dfb\u52a0\u524d\u540e\u53e5\u7684\u91cd\u53e0\u5185\u5bb9\u4ee5\u907f\u514d\u5728\u622a\u65ad\u70b9\u7834\u574f\u8bed\u4e49\u3002\u8fd9\u6837\u53ef\u4ee5\u5728\u68c0\u7d22\u7247\u6bb5\u95f4\u4fdd\u6301\u66f4\u597d\u7684\u8bed\u4e49\u8fde\u8d2f\u6027\u3002\u6b64\u5916\uff0c\u5bf9\u4e8e\u6587\u672c\u672b\u5c3e\u7684\u77ed\u7247\u6bb5\uff0c\u6df7\u5408\u68c0\u7d22\u5668\u4f1a\u5c06\u5176\u5408\u5e76\u5230\u4e0a\u4e00\u4e2a\u7247\u6bb5\u4e2d\uff0c\u4ee5\u4fdd\u8bc1\u6587\u672c\u7684\u6574\u4f53\u8fde\u8d2f\u6027\u548c\u8bed\u4e49\u5b8c\u6574\u6027\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>LLM\u589e\u5f3a\u4fe1\u606f\u63d0\u53d6\u5668\uff08LLM-Augmented Information Extractor\uff09<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>\u5728\u957f\u6587\u672c\u4e2d\uff0c\u652f\u6301\u7b54\u6848\u7684\u8bc1\u636e\u5f80\u5f80\u5206\u6563\u4e8e\u591a\u4e2a\u4f4d\u7f6e\uff0c\u957f\u6587\u672c\u4e2d\u7684\u5404\u4e2a\u7247\u6bb5\u4e4b\u95f4\u5b58\u5728\u903b\u8f91\u548c\u987a\u5e8f\u5173\u8054\u3002\u4e3a\u5e94\u5bf9\u8fd9\u79cd\u60c5\u51b5\uff0c\u4fe1\u606f\u63d0\u53d6\u5668\u9996\u5148\u5c06\u77ed\u7247\u6bb5\u6620\u5c04\u56de\u5176\u539f\u59cb\u7684\u957f\u6587\u672c\u6bb5\u843d\uff0c\u4ee5\u5c3d\u91cf\u6062\u590d\u8bed\u5883\uff0c\u7136\u540e\u518d\u4ece\u4e2d\u63d0\u53d6\u6709\u6548\u7684\u5168\u5c40\u4fe1\u606f\u3002<\/li>\n\n\n\n<li>\u5728\u8fd9\u4e00\u8fc7\u7a0b\u4e2d\uff0cLLM\u589e\u5f3a\u4fe1\u606f\u63d0\u53d6\u5668\u901a\u8fc7\u6620\u5c04\u51fd\u6570\u5c06\u591a\u4e2a\u77ed\u7247\u6bb5\u6620\u5c04\u56de\u539f\u59cb\u957f\u6bb5\u843d\uff0c\u5e76\u4fdd\u7559\u4e0e\u95ee\u9898\u8bed\u4e49\u6700\u76f8\u5173\u7684\u6bb5\u843d\u3002\u4e4b\u540e\uff0c\u63d0\u53d6\u5668\u5c06\u8fd9\u4e9b\u6bb5\u843d\u8fde\u63a5\u8d77\u6765\u4f5c\u4e3a\u63d0\u793a\u8bcd\uff0c\u901a\u8fc7\u96f6\u6837\u672c\u5b66\u4e60\u4ece\u4e2d\u63d0\u53d6\u4e30\u5bcc\u7684\u957f\u6587\u672c\u80cc\u666f\u4fe1\u606f\u548c\u7ed3\u6784\u6027\u77e5\u8bc6\uff0c\u6700\u7ec8\u751f\u6210\u5305\u542b\u5168\u5c40\u8bed\u5883\u7684\u8f93\u51fa\u3002\u8be5\u7ec4\u4ef6\u786e\u4fdd\u4e86\u7cfb\u7edf\u5728\u56de\u7b54\u95ee\u9898\u65f6\u53ef\u4ee5\u5229\u7528\u66f4\u52a0\u5168\u9762\u7684\u4e0a\u4e0b\u6587\u7ed3\u6784\u4fe1\u606f\uff0c\u4ee5\u5f25\u8865\u4f20\u7edfRAG\u7b56\u7565\u4e2d\u7531\u4e8e\u5206\u5757\u800c\u5bfc\u81f4\u7684\u4fe1\u606f\u7f3a\u5931\u95ee\u9898\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u57fa\u4e8e\u94fe\u5f0f\u63a8\u7406\u7684\u8fc7\u6ee4\u5668\uff08CoT-Guided Filter\uff09<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>\u5728\u590d\u6742\u7684\u591a\u8df3\u95ee\u7b54\u4efb\u52a1\u4e2d\uff0c\u68c0\u7d22\u5230\u7684\u7247\u6bb5\u5f80\u5f80\u5305\u542b\u8f83\u591a\u7684\u5197\u4f59\u4fe1\u606f\uff0c\u751a\u81f3\u53ef\u80fd\u4e0e\u95ee\u9898\u65e0\u5173\u3002\u4e3a\u6b64\uff0c\u8fc7\u6ee4\u5668\u5728\u94fe\u5f0f\u63a8\u7406\uff08Chain-of-Thought, CoT\uff09\u7684\u5f15\u5bfc\u4e0b\uff0c\u901a\u8fc7\u4e24\u9636\u6bb5\u7b56\u7565\uff0c\u9010\u6b65\u5254\u9664\u4e0d\u76f8\u5173\u7684\u7247\u6bb5\uff0c\u63d0\u5347\u8bc1\u636e\u5bc6\u5ea6\u3002<\/li>\n\n\n\n<li>\u7b2c\u4e00\u9636\u6bb5\u4e3aCoT\u6307\u5bfc\u9636\u6bb5\uff0c\u7cfb\u7edf\u751f\u6210\u4e00\u4e2a\u5177\u5907\u5168\u5c40\u89c6\u89d2\u7684\u63a8\u7406\u94fe\uff08CoT\uff09\uff0c\u4ee5\u5e2e\u52a9\u8bc6\u522b\u56de\u7b54\u95ee\u9898\u6240\u9700\u7684\u5168\u5c40\u7ebf\u7d22\u3002\u5728\u8fd9\u4e00\u9636\u6bb5\uff0c\u8fc7\u6ee4\u5668\u5c06\u6240\u6709\u68c0\u7d22\u5230\u7684\u7247\u6bb5\u5408\u5e76\u5e76\u4e0e\u95ee\u9898\u8fdb\u884c\u5173\u8054\uff0c\u7136\u540e\u751f\u6210\u4e00\u4e2a\u5f15\u5bfc\u6027\u7684CoT\uff0c\u7528\u4ee5\u6307\u5f15\u540e\u7eed\u7684\u9010\u6b65\u63a8\u7406\u3002<\/li>\n\n\n\n<li>\u7b2c\u4e8c\u9636\u6bb5\u662f\u8fc7\u6ee4\u9636\u6bb5\uff0c\u7cfb\u7edf\u5229\u7528\u4e0a\u8ff0CoT\u7684\u5168\u5c40\u7ebf\u7d22\uff0c\u5bf9\u6bcf\u4e2a\u7247\u6bb5\u7684\u76f8\u5173\u6027\u9010\u4e00\u8fdb\u884c\u9ad8\u7ef4\u5224\u65ad\uff0c\u786e\u4fdd\u95ee\u9898\u4e0e\u7247\u6bb5\u95f4\u7684\u591a\u8df3\u8bed\u4e49\u5173\u8054\u3002\u540c\u65f6\uff0c\u8fc7\u6ee4\u5668\u4f1a\u5bf9\u7247\u6bb5\u4e2d\u5305\u542b\u7684\u4e8b\u5b9e\u6027\u7ec6\u8282\u8fdb\u884c\u4ed4\u7ec6\u7b5b\u9009\uff0c\u4ee5\u53bb\u9664\u65e0\u5173\u5185\u5bb9\u5e76\u4fdd\u7559\u6709\u6548\u8bc1\u636e\uff0c\u6700\u7ec8\u751f\u6210\u4e00\u4e2a\u5305\u542b\u6838\u5fc3\u7ec6\u8282\u7684\u7247\u6bb5\u96c6\u5408\u3002\u8fd9\u79cd\u9ad8\u8d28\u91cf\u7684\u7247\u6bb5\u7b5b\u9009\u65b9\u5f0f\u6709\u6548\u89e3\u51b3\u4e86\u957f\u6587\u672c\u95ee\u7b54\u4e2d\u4fe1\u606f\u566a\u58f0\u95ee\u9898\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>LLM\u589e\u5f3a\u751f\u6210\u5668\uff08LLM-Augmented Generator\uff09<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>\u6700\u7ec8\u751f\u6210\u5668\u5728\u751f\u6210\u7b54\u6848\u65f6\uff0c\u5c06\u5168\u5c40\u4fe1\u606f\uff08Ig\uff09\u548c\u7b5b\u9009\u51fa\u7684\u4e8b\u5b9e\u6027\u7ec6\u8282\uff08Id\uff09\u76f8\u7ed3\u5408\u3002\u751f\u6210\u5668\u901a\u8fc7\u5f3a\u5316\u8fd9\u4e24\u7c7b\u4fe1\u606f\u7684\u4ea4\u4e92\uff0c\u4f7f\u7cfb\u7edf\u5728\u751f\u6210\u8fc7\u7a0b\u4e2d\u80fd\u5145\u5206\u8003\u8651\u4e0a\u4e0b\u6587\u80cc\u666f\u548c\u5173\u952e\u8bc1\u636e\uff0c\u4ece\u800c\u63d0\u9ad8\u7b54\u6848\u7684\u51c6\u786e\u6027\u3002<\/li>\n\n\n\n<li>\u5728\u751f\u6210\u8fc7\u7a0b\u4e2d\uff0c\u751f\u6210\u5668\u63a5\u6536\u7ecf\u8fc7\u63d0\u793a\u8bcd\u6a21\u677f\u8bbe\u8ba1\u7684\u5168\u5c40\u4fe1\u606f\u548c\u5173\u952e\u7ec6\u8282\uff0c\u5e76\u901a\u8fc7\u8fdb\u4e00\u6b65\u7684\u96f6\u6837\u672c\u5b66\u4e60\u6765\u751f\u6210\u6700\u7ec8\u7b54\u6848\u3002\u751f\u6210\u5668\u7684\u8bbe\u8ba1\u786e\u4fdd\u4e86\u7cfb\u7edf\u80fd\u591f\u5229\u7528\u66f4\u52a0\u6709\u6548\u7684\u4fe1\u606f\u96c6\u6765\u56de\u7b54\u95ee\u9898\uff0c\u4e14\u907f\u514d\u4e86\u4f20\u7edf\u65b9\u6cd5\u4e2d\u7684\u566a\u58f0\u5e72\u6270\u95ee\u9898\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e8c\u3001\u5b9e\u9a8c\u4e0e\u8bc4\u4f30<\/h5>\n\n\n\n<p>\u4e3a\u4e86\u9a8c\u8bc1LongRAG\u7684\u6027\u80fd\uff0c\u4f5c\u8005\u5728\u4e09\u4e2a\u591a\u8df3\u6570\u636e\u96c6\u4e0a\u8fdb\u884c\u4e86\u5e7f\u6cdb\u7684\u5b9e\u9a8c\uff0c\u5206\u522b\u662fHotpotQA\u30012WikiMultiHopQA\u548cMusiQue\u6570\u636e\u96c6\u3002\u5b9e\u9a8c\u7ed3\u679c\u8868\u660e\uff0cLongRAG\u5728\u591a\u4e2a\u7ef4\u5ea6\u4e0a\u5747\u663e\u8457\u4f18\u4e8e\u4f20\u7edf\u7684\u957f\u6587\u672cLLM\u65b9\u6cd5\u548c\u5148\u8fdb\u7684RAG\u65b9\u6cd5\u3002\u5177\u4f53\u8868\u73b0\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u4e0e\u957f\u6587\u672cLLM\u65b9\u6cd5\u5bf9\u6bd4<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>\u76f8\u8f83\u4e8eLongAlign\u548cLongLoRA\u7b49\u957f\u6587\u672cLLM\uff0cLongRAG\u5728\u6240\u6709\u6570\u636e\u96c6\u4e0a\u8868\u73b0\u6700\u4f73\u3002\u901a\u8fc7\u5f15\u5165\u591a\u89c6\u89d2\u7684\u4fe1\u606f\u63d0\u53d6\u548c\u8fc7\u6ee4\u7ec4\u4ef6\uff0cLongRAG\u80fd\u591f\u66f4\u7cbe\u51c6\u5730\u8bc6\u522b\u51fa\u95ee\u9898\u4e2d\u7684\u5173\u952e\u7ec6\u8282\uff0c\u5e76\u6709\u6548\u89e3\u51b3\u201c\u4e22\u5931\u4e2d\u95f4\u4fe1\u606f\u201d\u95ee\u9898\uff0c\u56e0\u6b64\u5728\u590d\u6742\u957f\u6587\u672c\u573a\u666f\u4e0b\u8868\u73b0\u51fa\u66f4\u4f18\u7684\u9c81\u68d2\u6027\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u4e0e\u5176\u4ed6RAG\u65b9\u6cd5\u5bf9\u6bd4<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>LongRAG\u76f8\u8f83\u4e8e\u4f20\u7edfRAG\uff08\u5982Self-RAG\u548cCRAG\uff09\u5728\u4e09\u5927\u6570\u636e\u96c6\u4e0a\u5e73\u5747\u63d0\u5347\u4e866.16%\u3002\u8fd9\u5f97\u76ca\u4e8eLongRAG\u5728\u4fe1\u606f\u63d0\u53d6\u548c\u8fc7\u6ee4\u65b9\u9762\u7684\u521b\u65b0\u6027\u8bbe\u8ba1\uff0c\u7279\u522b\u662f\u5728\u591a\u8df3\u95ee\u9898\u4e2d\u80fd\u591f\u51c6\u786e\u628a\u63e1\u4e0a\u4e0b\u6587\u4fe1\u606f\u3002\u76f8\u6bd4\u4e4b\u4e0b\uff0cSelf-RAG\u5728\u51b3\u7b56\u94fe\u4e2d\u7684\u81ea\u53cd\u601d\u94fe\u5f0f\u51b3\u7b56\u8fc7\u7a0b\u53ef\u80fd\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u653e\u5927\u9519\u8bef\u51b3\u7b56\uff0c\u5bfc\u81f4\u4fe1\u606f\u4e22\u5931\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u5c0f\u6a21\u578b\u4e0e\u5927\u6a21\u578b\u5bf9\u6bd4<\/strong>\uff1a\n<ul class=\"wp-block-list\">\n<li>\u4e0d\u8bba\u662f\u4f7f\u7528\u5fae\u8c03\u7684\u5c0f\u6a21\u578b\uff08\u5982ChatGLM3-6B-32k\uff09\uff0c\u8fd8\u662f\u672a\u5fae\u8c03\u7684\u5927\u6a21\u578b\uff08\u5982GPT-3.5-Turbo\uff09\uff0cLongRAG\u7cfb\u7edf\u6846\u67b6\u5747\u4f18\u4e8e\u57fa\u51c6\u65b9\u6cd5\u3002\u8fd9\u8868\u660eLongRAG\u7684\u8bbe\u8ba1\u80fd\u591f\u663e\u8457\u63d0\u5347\u7cfb\u7edf\u5bf9\u590d\u6742\u957f\u6587\u672c\u7684\u5904\u7406\u80fd\u529b\uff0c\u5f25\u8865\u4e86\u5c0f\u6a21\u578b\u5728\u957f\u6587\u672c\u4e0a\u4e0b\u6587\u7406\u89e3\u4e2d\u7684\u4e0d\u8db3\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e09\u3001\u6d88\u878d\u5b9e\u9a8c\u4e0e\u8be6\u7ec6\u5206\u6790<\/h5>\n\n\n\n<p>\u4e3a\u4e86\u8fdb\u4e00\u6b65\u9a8c\u8bc1LongRAG\u5404\u7ec4\u4ef6\u7684\u6709\u6548\u6027\uff0c\u4f5c\u8005\u8fdb\u884c\u4e86\u6d88\u878d\u5b9e\u9a8c\uff0c\u7ed3\u679c\u663e\u793a\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>RAG-Long vs. RAG-Base<\/strong>\uff1a\u76f4\u63a5\u5c06\u957f\u6587\u672c\u7247\u6bb5\u8f93\u5165\u751f\u6210\u5668\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u53ef\u4ee5\u6355\u83b7\u5168\u5c40\u8bed\u4e49\uff0c\u4f46\u4e5f\u5bb9\u6613\u5f15\u5165\u566a\u58f0\u3002\u76f8\u8f83\u4e4b\u4e0b\uff0c\u4f7f\u7528\u4fe1\u606f\u63d0\u53d6\u548c\u8fc7\u6ee4\u7b56\u7565\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u7cfb\u7edf\u7684\u6027\u80fd\u3002<\/li>\n\n\n\n<li><strong>\u4fe1\u606f\u63d0\u53d6\u5668 vs. RAG-Long<\/strong>\uff1a\u5728\u957f\u6587\u672c\u95ee\u7b54\u4e2d\uff0c\u4fe1\u606f\u63d0\u53d6\u5668\u901a\u8fc7\u5168\u5c40\u7ed3\u6784\u4e0e\u80cc\u666f\u77e5\u8bc6\u7684\u8865\u5145\uff0c\u6709\u6548\u7f13\u89e3\u4e86\u76f4\u63a5\u8bfb\u53d6\u957f\u6587\u672c\u6240\u5e26\u6765\u7684\u5197\u4f59\u95ee\u9898\uff0c\u4f7f\u7cfb\u7edf\u5728\u56de\u7b54\u4e2d\u66f4\u5177\u4fe1\u606f\u5bc6\u5ea6\u3002<\/li>\n\n\n\n<li><strong>\u8fc7\u6ee4\u5668\u4e0e\u4fe1\u606f\u63d0\u53d6\u5668\u7ec4\u5408<\/strong>\uff1a\u5c06\u4fe1\u606f\u63d0\u53d6\u548c\u8fc7\u6ee4\u5668\u7ec4\u5408\u4f7f\u7528\u65f6\uff0c\u7cfb\u7edf\u7684\u6027\u80fd\u8fbe\u5230\u6700\u4f18\uff0c\u56e0\u4e3a\u8be5\u7b56\u7565\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4f4e\u566a\u58f0\u4e14\u7ed3\u6784\u5316\u7684\u4fe1\u606f\u96c6\uff0c\u663e\u8457\u63d0\u9ad8\u4e86\u7b54\u6848\u751f\u6210\u7684\u51c6\u786e\u6027\u548c\u4e00\u81f4\u6027\u3002<\/li>\n<\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">\u56db\u3001\u8ba8\u8bba\u4e0e\u603b\u7ed3<\/h5>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Token\u957f\u5ea6\u5206\u6790<\/strong>\uff1a\u5728\u751f\u6210\u9636\u6bb5\uff0cLongRAG\u7684\u63d0\u53d6\u548c\u8fc7\u6ee4\u7b56\u7565\u80fd\u591f\u51cf\u5c11\u751f\u6210\u5668\u7684\u8f93\u5165token\u6570\uff0c\u540c\u65f6\u4fdd\u6301\u751a\u81f3\u8d85\u8d8a\u4e86\u9ad8\u566a\u58f0\u8f93\u5165\u7684\u6027\u80fd\u3002\u8fd9\u8bf4\u660e\u4e86LongRAG\u5728\u51cf\u5c11\u566a\u58f0\u7684\u540c\u65f6\u63d0\u9ad8\u4e86\u751f\u6210\u6548\u679c\u3002<\/li>\n\n\n\n<li><strong>\u7ec4\u4ef6\u7684\u8fc1\u79fb\u6027<\/strong>\uff1a\u5728\u7279\u5b9a\u573a\u666f\u4e0b\uff0cLongRAG\u7684\u63d0\u53d6\u548c\u8fc7\u6ee4\u7ec4\u4ef6\u53ef\u4ee5\u4f7f\u7528\u5f00\u6e90\u6a21\u578b\u53d6\u4ee3\u6602\u8d35\u7684\u5728\u7ebfAPI\uff0c\u4ece\u800c\u964d\u4f4e\u7cfb\u7edf\u6210\u672c\u3002<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>LongRAG on GitHub: <a href=\"https:\/\/github.com\/QingFei1\/LongRAG\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/QingFei1\/LongRAG<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8bba\u6587LongRAG: A Dual-Perspective Retrieval-Augmented Gener [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[8],"tags":[39,76,86],"class_list":["post-4960","post","type-post","status-publish","format-standard","hentry","category-tech","tag-ai","tag-rag","tag-llm"],"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"NullThought","author_link":"https:\/\/nullthought.net\/?author=1"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/nullthought.net\/?cat=8\" rel=\"category\">Tech<\/a>","rttpg_excerpt":"\u8bba\u6587LongRAG: A Dual-Perspective Retrieval-Augmented Gener&hellip;","_links":{"self":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/4960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4960"}],"version-history":[{"count":1,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/4960\/revisions"}],"predecessor-version":[{"id":4962,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/4960\/revisions\/4962"}],"wp:attachment":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4960"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4960"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}