{"id":28401,"date":"2025-08-23T16:08:00","date_gmt":"2025-08-23T08:08:00","guid":{"rendered":"http:\/\/139.9.1.231\/?p=28401"},"modified":"2025-08-21T16:08:45","modified_gmt":"2025-08-21T08:08:45","slug":"q-former","status":"publish","type":"post","link":"http:\/\/139.9.1.231\/index.php\/2025\/08\/23\/q-former\/","title":{"rendered":"Q-Former \u8de8\u6a21\u6001\u5bf9\u9f50"},"content":{"rendered":"\n<p class=\"has-text-align-center\"><strong>\u8bba\u6587\uff1a<a href=\"https:\/\/arxiv.org\/abs\/2301.12597\">BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models<\/a><\/strong><\/p>\n\n\n\n<p><strong>Q-Former <\/strong>\u6700\u5f00\u59cb\u88ab\u8bbe\u8ba1\u7528\u4e8e\u8de8\u6a21\u6001\u4efb\u52a1\uff08\u5982\u89c6\u89c9-\u8bed\u8a00\u5efa\u6a21\uff09\u7684 transformer \u6a21\u578b\u3002\u5b83\u7531\u00a0<strong>BLIP-2<\/strong>\uff08Bootstrapping Language-Image Pre-training 2\uff09\u63d0\u51fa\uff0c\u76ee\u7684\u662f\u5728\u89c6\u89c9\u7279\u5f81\u548c\u8bed\u8a00\u6a21\u578b\u4e4b\u95f4\u5efa\u7acb\u9ad8\u6548\u7684\u6865\u6881\uff0c\u4ece\u800c\u63d0\u9ad8\u5927\u89c4\u6a21\u9884\u8bad\u7ec3\u8bed\u8a00\u6a21\u578b\u5728\u591a\u6a21\u6001\u4efb\u52a1\u4e2d\u7684\u8868\u73b0\u3002<\/p>\n\n\n\n<p>\u540e\u7eed\u4e5f\u9010\u6e10\u7528\u4e8e\u8bed\u97f3-\u6587\u672c\u6a21\u6001\u7684\u5bf9\u9f50\u4efb\u52a1\u4e2d\uff0c\u6bd4\u5982\uff1a <a style=\"font-size: revert;\" href=\"https:\/\/github.com\/kehanlu\/DeSTA2.5-Audio\"><strong>DeSTA2.5-Audio<\/strong><\/a> <\/p>\n\n\n\n<p>  BLIP-2 \u63d0\u51fa\u4e86\u4e00\u4e2a\u901a\u7528\u4e14\u9ad8\u6548\u7684\u9884\u8bad\u7ec3\u7b56\u7565\uff0c\u80fd\u591f\u4ece\u5df2\u5b58\u5728\u7684\u51bb\u7ed3\u56fe\u50cf\u7f16\u7801\u5668\u548c\u5927\u578b\u8bed\u8a00\u6a21\u578b\u4e2d\u5f15\u5bfc\u51fa\u5f3a\u5927\u7684\u89c6\u89c9-\u8bed\u8a00\u6a21\u578b\u3002\u6838\u5fc3\u601d\u60f3\u662f\u5f15\u5165\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684<em>Querying Transformer<\/em>\uff08Q-Former\uff09\uff0c\u5728\u51bb\u7ed3\u7684\u56fe\u50cf\u7f16\u7801\u5668\u548c\u8bed\u8a00\u6a21\u578b\u4e4b\u95f4\u67b6\u8d77\u6865\u6881\u3002Q-Former \u88ab\u8bbe\u8ba1\u4e3a\u4e00\u4e2a\u4fe1\u606f\u74f6\u9888\uff0c\u8d1f\u8d23\u4ece\u56fe\u50cf\u7f16\u7801\u5668\u4e2d\u63d0\u53d6\u5bf9\u6587\u672c\u751f\u6210\u6700\u6709\u7528\u7684\u89c6\u89c9\u7279\u5f81\uff0c\u5e76\u5c06\u5176\u4f20\u9012\u7ed9\u5927\u578b\u8bed\u8a00\u6a21\u578b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"909\" height=\"421\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2025\/08\/image-34.png\" alt=\"\" class=\"wp-image-28411\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2025\/08\/image-34.png 909w, http:\/\/139.9.1.231\/wp-content\/uploads\/2025\/08\/image-34-300x139.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2025\/08\/image-34-768x356.png 768w\" sizes=\"(max-width: 909px) 100vw, 909px\" \/><\/figure>\n\n\n\n<p><strong>Querying Transformer\uff08Q-Former\uff09<\/strong>\uff1a<\/p>\n\n\n\n<p>Q-Former \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684 Transformer \u6a21\u578b\uff0c\u5305\u542b\u4e00\u7ec4\u53ef\u5b66\u4e60\u7684\u67e5\u8be2\u5411\u91cf\uff08queries\uff09\u3002\u5176\u67b6\u6784\u7531\u4e24\u4e2a\u5171\u4eab\u81ea\u6ce8\u610f\u529b\u5c42\u7684 Transformer \u5b50\u6a21\u5757\u7ec4\u6210\uff1a<\/p>\n\n\n\n<ol><li><strong>\u56fe\u50cf Transformer<\/strong>\uff1a\u4e0e\u51bb\u7ed3\u7684\u56fe\u50cf\u7f16\u7801\u5668\u4ea4\u4e92\uff0c\u63d0\u53d6\u89c6\u89c9\u7279\u5f81\u3002<\/li><li><strong>\u6587\u672c Transformer<\/strong>\uff1a\u540c\u65f6\u53ef\u4ee5\u4f5c\u4e3a\u6587\u672c\u7f16\u7801\u5668\u548c\u89e3\u7801\u5668\u3002<\/li><\/ol>\n\n\n\n<p>\u8fd9\u4e9b\u67e5\u8be2\u5411\u91cf\u901a\u8fc7\u4ea4\u53c9\u6ce8\u610f\u529b\u5c42\u4e0e\u56fe\u50cf\u7279\u5f81\u8fdb\u884c\u4ea4\u4e92\uff0c\u63d0\u53d6\u51fa\u56fa\u5b9a\u6570\u91cf\u4e14\u5bf9\u6587\u672c\u751f\u6210\u6700\u6709\u7528\u7684\u89c6\u89c9\u7279\u5f81\u3002Q-Former \u7684\u8f93\u51fa\u662f\u8fd9\u4e9b\u67e5\u8be2\u5411\u91cf\u7684\u8868\u793a\uff0c\u8bb0\u4e3aZ\u00a0\u3002<\/p>\n\n\n\n<p>\u7531\u4e8e Q-Former \u7684\u8f93\u51fa\u7ef4\u5ea6\u6bd4\u56fe\u50cf\u7f16\u7801\u5668\u7684\u8f93\u51fa\u7279\u5f81\u8981\u5c0f\u5f88\u591a\uff08\u4f8b\u5982\uff0c32\u00d7768 vs. 257\u00d71024\uff09\uff0c\u56e0\u6b64\u5b83\u8d77\u5230\u4e86\u4fe1\u606f\u74f6\u9888\u7684\u4f5c\u7528\uff0c\u53ea\u4fdd\u7559\u4e86\u5bf9\u540e\u7eed\u6587\u672c\u751f\u6210\u6700\u6709\u7528\u7684\u89c6\u89c9\u4fe1\u606f\u3002\u8fd9\u79cd\u8bbe\u8ba1\u51cf\u8f7b\u4e86\u5927\u578b\u8bed\u8a00\u6a21\u578b\u5728\u51bb\u7ed3\u53c2\u6570\u7684\u60c5\u51b5\u4e0b\u4e0e\u89c6\u89c9\u7279\u5f81\u8fdb\u884c\u5bf9\u9f50\u7684\u8d1f\u62c5\u3002<\/p>\n\n\n\n<p><strong>\u4e24\u9636\u6bb5\u9884\u8bad\u7ec3\u7b56\u7565<\/strong>\uff1a<\/p>\n\n\n\n<p>BLIP-2 \u7684\u9884\u8bad\u7ec3\u5206\u4e3a\u4e24\u4e2a\u9636\u6bb5\uff0c\u6bcf\u4e2a\u9636\u6bb5\u90fd\u6709\u7279\u5b9a\u7684\u8bad\u7ec3\u76ee\u6807\uff0c\u4ee5\u9010\u6b65\u5f15\u5bfc\u6a21\u578b\u5b9e\u73b0\u89c6\u89c9\u548c\u8bed\u8a00\u7684\u6709\u6548\u7ed3\u5408\u3002<\/p>\n\n\n\n<p>\u7b2c\u4e00\u9636\u6bb5\uff1a\u4ece\u51bb\u7ed3\u7684\u56fe\u50cf\u7f16\u7801\u5668\u4e2d\u5f15\u5bfc\u89c6\u89c9-\u8bed\u8a00\u8868\u793a\u5b66\u4e60<\/p>\n\n\n\n<p>\u5728\u7b2c\u4e00\u9636\u6bb5\uff0c\u5c06 Q-Former \u4e0e\u51bb\u7ed3\u7684\u56fe\u50cf\u7f16\u7801\u5668\u8fde\u63a5\uff0c\u901a\u8fc7\u56fe\u50cf-\u6587\u672c\u5bf9\u8fdb\u884c\u9884\u8bad\u7ec3\u3002\u76ee\u6807\u662f\u8bad\u7ec3 Q-Former\uff0c\u4f7f\u5176\u80fd\u591f\u63d0\u53d6\u4e0e\u6587\u672c\u6700\u76f8\u5173\u7684\u89c6\u89c9\u8868\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"931\" height=\"325\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2025\/08\/image-35.png\" alt=\"\" class=\"wp-image-28417\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2025\/08\/image-35.png 931w, http:\/\/139.9.1.231\/wp-content\/uploads\/2025\/08\/image-35-300x105.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2025\/08\/image-35-768x268.png 768w\" sizes=\"(max-width: 931px) 100vw, 931px\" \/><\/figure>\n\n\n\n<p><strong>\u7b2c\u4e8c\u9636\u6bb5\uff1a\u4ece\u51bb\u7ed3\u7684\u5927\u578b\u8bed\u8a00\u6a21\u578b\u4e2d\u5f15\u5bfc\u89c6\u89c9\u5230\u8bed\u8a00\u7684\u751f\u6210\u5b66\u4e60<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"988\" height=\"288\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2025\/08\/image-36.png\" alt=\"\" class=\"wp-image-28419\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2025\/08\/image-36.png 988w, http:\/\/139.9.1.231\/wp-content\/uploads\/2025\/08\/image-36-300x87.png 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2025\/08\/image-36-768x224.png 768w\" sizes=\"(max-width: 988px) 100vw, 988px\" \/><\/figure>\n\n\n\n<p>\u5728\u7b2c\u4e8c\u9636\u6bb5\uff0c\u5c06 Q-Former \u8f93\u51fa\u7684\u89c6\u89c9\u8868\u793a\u8fde\u63a5\u5230\u51bb\u7ed3\u7684 LLM \u4e0a\uff0c\u8bad\u7ec3 Q-Former \u4f7f\u5176\u8f93\u51fa\u7684\u89c6\u89c9\u7279\u5f81\u80fd\u591f\u88ab LLM \u89e3\u91ca\u548c\u5229\u7528\u3002\u6839\u636e LLM \u7684\u7c7b\u578b\uff08\u89e3\u7801\u5668\u6216\u7f16\u7801\u5668-\u89e3\u7801\u5668\uff09\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u7b56\u7565\uff1a<\/p>\n\n\n\n<p><strong>\u5bf9\u4e8e\u89e3\u7801\u5668\u7c7b\u578b\u7684 LLM<\/strong>\uff1a\u5229\u7528\u8bed\u8a00\u6a21\u578b\u7684\u81ea\u56de\u5f52\u7279\u6027\uff0c\u91c7\u7528\u8bed\u8a00\u5efa\u6a21\u635f\u5931\uff0c\u8ba9 LLM \u5728\u7ed9\u5b9a\u89c6\u89c9\u7279\u5f81\u7684\u60c5\u51b5\u4e0b\u751f\u6210\u6587\u672c\u3002<\/p>\n\n\n\n<p><strong>\u5bf9\u4e8e\u7f16\u7801\u5668-\u89e3\u7801\u5668\u7c7b\u578b\u7684 LLM<\/strong>\uff1a\u5c06\u89c6\u89c9\u7279\u5f81\u548c\u524d\u7f00\u6587\u672c\u8f93\u5165\u5230 LLM \u7684\u7f16\u7801\u5668\u4e2d\uff0c\u7136\u540e\u8ba9\u89e3\u7801\u5668\u751f\u6210\u540e\u7eed\u7684\u6587\u672c\uff0c\u4f7f\u7528\u524d\u7f00\u8bed\u8a00\u6a21\u578b\u635f\u5931\u8fdb\u884c\u8bad\u7ec3\u3002<\/p>\n\n\n\n<p>\u5728\u8fd9\u4e00\u9636\u6bb5\uff0cQ-Former \u88ab\u8bad\u7ec3\u4f7f\u5176\u8f93\u51fa\u7684\u89c6\u89c9\u7279\u5f81\u80fd\u591f\u88ab LLM \u6709\u6548\u5730\u7406\u89e3\u548c\u5229\u7528\uff0c\u4ece\u800c\u5b9e\u73b0\u89c6\u89c9\u5230\u8bed\u8a00\u7684\u9ad8\u6548\u751f\u6210\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8bba\u6587\uff1aBLIP-2: Bootstrapping Language-Image Pre-training wi &hellip; <a href=\"http:\/\/139.9.1.231\/index.php\/2025\/08\/23\/q-former\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Q-Former \u8de8\u6a21\u6001\u5bf9\u9f50<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,9,38,34],"tags":[],"_links":{"self":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/28401"}],"collection":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/comments?post=28401"}],"version-history":[{"count":15,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/28401\/revisions"}],"predecessor-version":[{"id":28421,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/28401\/revisions\/28421"}],"wp:attachment":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/media?parent=28401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/categories?post=28401"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/tags?post=28401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}