\u4f18\u5316\u8fc7\u7a0b\u4e2d\u7684\u6743\u8861<\/strong>\uff1a\u5728LoRA\u6a21\u578b\u8bad\u7ec3\u4e2d\uff0c\u901a\u8fc7\u8fed\u4ee3\u8c03\u6574\u6743\u91cd\u6765\u9010\u6b65\u63d0\u5347\u8bad\u7ec3\u6548\u679c\u3002\u7136\u800c\uff0c\u7531\u4e8eLoss\u503c\u5728\u5feb\u901f\u6536\u655b\u540e\u8d8b\u4e8e\u5e73\u7a33\uff0c\u8fd9\u610f\u5473\u7740\u8fdb\u4e00\u6b65\u4f18\u5316\u7684\u7a7a\u95f4\u6709\u9650\u3002\u56e0\u6b64\uff0c\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9700\u8981\u6743\u8861\u8bad\u7ec3\u65f6\u95f4\u548c\u6a21\u578b\u6027\u80fd\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u4ee5\u627e\u5230\u6700\u4f73\u7684\u8bad\u7ec3\u7b56\u7565\u3002<\/p>\n\n\n\n\u3000\u3000LoRA\u6a21\u578b\u8bad\u7ec3\u4e2d\u7684Loss\u503c\u53cd\u6620\u4e86\u6a21\u578b\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u7684\u6536\u655b\u60c5\u51b5\u548c\u6027\u80fd\u8868\u73b0\u3002\u867d\u7136LoRA\u80fd\u591f\u5feb\u901f\u6536\u655b\u5e76\u51cf\u5c11\u9884\u6d4b\u8bef\u5dee\uff0c\u4f46\u5176\u5728\u83b7\u53d6\u65b0\u77e5\u8bc6\u548c\u907f\u514d\u8fc7\u62df\u5408\u65b9\u9762\u5b58\u5728\u5c40\u9650\u6027\u3002<\/p>\n\n\n\n
\u3000\u3000\u4e8c\u3001 \u5728\u4e0d\u540c\u4efb\u52a1\u7c7b\u578b\u4e2d\uff0cLoRA\u6a21\u578b\u7684\u7406\u60f3Loss\u503c\u8303\u56f4\u6709\u54ea\u4e9b\u5dee\u5f02?<\/h2>\n\n\n\n
\u3000\u3000LoRA\u6a21\u578b\u5728\u4e0d\u540c\u4efb\u52a1\u7c7b\u578b\u4e2d\u7684\u7406\u60f3Loss\u503c\u8303\u56f4\u5b58\u5728\u663e\u8457\u5dee\u5f02\uff0c\u8fd9\u4e3b\u8981\u53d6\u51b3\u4e8e\u4efb\u52a1\u7684\u5177\u4f53\u9700\u6c42\u548c\u6a21\u578b\u7684\u914d\u7f6e\u3002<\/p>\n\n\n\n
\u3000\u3000\u5728\u65e5\u672c\u707e\u5bb3\u65e5\u5fd7\u4efb\u52a1\u4f18\u5148\u7ea7\u4f30\u8ba1\u4e2d\uff0cLoRA\u6a21\u578b\u7684Loss\u51fd\u6570\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u88ab\u8d4b\u4e88\u4e86\u4e0d\u540c\u7684\u6743\u91cd\uff0c\u5206\u522b\u4e3a\u9ad8\u3001\u4e2d\u3001\u4f4e\u4f18\u5148\u7ea7\u5206\u522b\u8d4b\u4e884\u30012\u548c1\u7684\u6743\u91cd\u3002\u8bad\u7ec3\u4f1a\u5728\u9a8c\u8bc1\u6570\u636e\u7684Loss\u8fde\u7eed10\u4e2aepoch\u6ca1\u6709\u6539\u8fdb\u65f6\u505c\u6b62\uff0c\u5e76\u4f7f\u7528\u9a8c\u8bc1\u6570\u636eLoss\u6700\u5c0f\u7684epoch\u4f5c\u4e3a\u6700\u7ec8\u8bad\u7ec3\u7ed3\u679c\u3002\u8fd9\u79cd\u8bbe\u7f6e\u5f3a\u8c03\u4e86\u9ad8\u548c\u4e2d\u4f18\u5148\u7ea7\u4f30\u8ba1\u7684\u51c6\u786e\u6027\uff0c\u56e0\u6b64\u5728\u8fd9\u4e9b\u4efb\u52a1\u4e2d\uff0c\u7406\u60f3\u7684Loss\u503c\u8303\u56f4\u4f1a\u76f8\u5bf9\u8f83\u5c0f\uff0c\u4ee5\u786e\u4fdd\u9ad8\u7cbe\u5ea6\u3002<\/p>\n\n\n\n
\u3000\u3000\u5728LoRaWAN\u6d3b\u4f53\u76d1\u6d4b\u4e2d\u7684\u8def\u5f84\u635f\u5931\u9884\u6d4b\u4efb\u52a1\u4e2d\uff0cLoRA\u6a21\u578b\u7684Loss\u503c\u8303\u56f4\u5e76\u672a\u660e\u786e\u63d0\u53ca\uff0c\u4f46\u53ef\u4ee5\u63a8\u6d4b\u7531\u4e8e\u8be5\u4efb\u52a1\u6d89\u53ca\u5b9e\u65f6\u6570\u636e\u4f20\u8f93\u548c\u8def\u5f84\u4f18\u5316\uff0c\u7406\u60f3\u7684Loss\u503c\u5e94\u8f83\u4f4e\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u53ef\u9760\u6027\u548c\u51c6\u786e\u6027\u3002<\/p>\n\n\n\n
\u3000\u3000\u5728LTM-LoRaWAN\u591a\u8df3\u901a\u4fe1\u7cfb\u7edf\u4e2d\uff0cLoRA\u6a21\u578b\u7684Loss\u503c\u8303\u56f4\u540c\u6837\u672a\u660e\u786e\u63d0\u53ca\uff0c\u4f46\u8003\u8651\u5230\u8be5\u7cfb\u7edf\u9700\u8981\u5728\u8f83\u5927\u533a\u57df\u5185\u8fdb\u884c\u6709\u6548\u901a\u4fe1\uff0c\u7406\u60f3\u7684Loss\u503c\u5e94\u8f83\u4f4e\uff0c\u4ee5\u51cf\u5c11\u6570\u636e\u5305\u4e22\u5931\u548c\u63d0\u9ad8\u901a\u4fe1\u6548\u7387\u3002<\/p>\n\n\n\n
\u3000\u3000\u5728\u65e0\u7535\u6c60LoRa\u4f20\u611f\u5668\u7684\u7814\u7a76\u4e2d\uff0c\u901a\u8fc7\u8c03\u6574Tmax\u548cNRmax\u6765\u4f18\u5316\u7cfb\u7edf\u8bbe\u8ba1\uff0c\u5f53Tmax\u5927\u4e8e5\u5c0f\u65f6\u65f6\uff0cLoEP(\u80fd\u91cf\u6d88\u8017\u6982\u7387)\u6ee1\u8db35%\u7684\u9650\u5236\u3002\u8fd9\u8868\u660e\u5728\u8be5\u4efb\u52a1\u4e2d\uff0c\u7406\u60f3\u7684Loss\u503c\u8303\u56f4\u5e94\u8f83\u5c0f\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u53ef\u9760\u6027\u548c\u7cfb\u7edf\u7684\u957f\u671f\u8fd0\u884c\u3002<\/p>\n\n\n\n
\u3000\u3000\u5728\u4f7f\u7528YOLO v5\u548cv8\u8fdb\u884c\u5efa\u7b51\u5de5\u5730\u5b89\u5168\u98ce\u9669\u56e0\u7d20\u8bc6\u522b\u7684\u4efb\u52a1\u4e2d\uff0c\u5b66\u4e60\u7387(Lr)\u5bf9Loss\u503c\u6709\u663e\u8457\u5f71\u54cd\u3002\u5982\u679cLr\u8bbe\u7f6e\u8fc7\u9ad8\uff0c\u4f1a\u5bfc\u81f4Loss\u589e\u52a0\u5e76\u51fa\u73b0\u53d1\u6563\u73b0\u8c61;\u5982\u679cLr\u8bbe\u7f6e\u8fc7\u4f4e\uff0c\u5219\u5b66\u4e60\u8fdb\u5c55\u7f13\u6162\u3002\u56e0\u6b64\uff0c\u5728\u8be5\u4efb\u52a1\u4e2d\uff0c\u7406\u60f3\u7684Loss\u503c\u8303\u56f4\u5e94\u5728\u9002\u5f53\u7684Lr\u8303\u56f4\u5185\u627e\u5230\u5e73\u8861\u70b9\uff0c\u4ee5\u786e\u4fdd\u6a21\u578b\u80fd\u591f\u6709\u6548\u5b66\u4e60\u5e76\u6536\u655b\u3002<\/p>\n\n\n\n
\u3000\u3000LoRA\u6a21\u578b\u5728\u4e0d\u540c\u4efb\u52a1\u7c7b\u578b\u4e2d\u7684\u7406\u60f3Loss\u503c\u8303\u56f4\u5b58\u5728\u5dee\u5f02\uff0c\u4e3b\u8981\u53d6\u51b3\u4e8e\u4efb\u52a1\u7684\u5177\u4f53\u9700\u6c42\u548c\u6a21\u578b\u7684\u914d\u7f6e\u3002<\/p>\n\n\n\n
\u3000\u3000\u4e09\u3001 \u5982\u4f55\u6839\u636eLoRA\u6a21\u578b\u7684\u7279\u5b9a\u5e94\u7528\u573a\u666f\u8c03\u6574Loss\u503c\u4ee5\u4f18\u5316\u8bad\u7ec3\u6548\u679c?<\/h2>\n\n\n\n
\u3000\u3000\u8981\u6839\u636eLoRA\u6a21\u578b\u7684\u7279\u5b9a\u5e94\u7528\u573a\u666f\u8c03\u6574Loss\u503c\u4ee5\u4f18\u5316\u8bad\u7ec3\u6548\u679c\uff0c\u53ef\u4ee5\u53c2\u8003\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n\n\n\n
\u3000\u3000\u5b66\u4e60\u7387\u8c03\u6574<\/strong>\uff1a\u5728LoRA\u6a21\u578b\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\uff0c\u5b66\u4e60\u7387\u662f\u4e00\u4e2a\u5173\u952e\u53c2\u6570\u3002\u5982\u679cLoss\u503c\u6ca1\u6709\u6536\u655b\u5230\u7406\u60f3\u503c\uff0c\u53ef\u4ee5\u901a\u8fc7\u589e\u52a0\u8bad\u7ec3\u8f6e\u6570\u6216\u9002\u5f53\u964d\u4f4e\u5b66\u4e60\u7387\u6765\u4f18\u5316\u8bad\u7ec3\u6548\u679c\u3002\u4f8b\u5982\uff0c\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u4f7f\u7528cosine\u9000\u706b\u7b56\u7565\u6765\u8c03\u6574\u5b66\u4e60\u7387\uff0c\u8fd9\u6837\u53ef\u4ee5\u66f4\u5e73\u6ed1\u5730\u51cf\u5c11\u5b66\u4e60\u7387\uff0c\u4ece\u800c\u5e2e\u52a9\u6a21\u578b\u66f4\u597d\u5730\u6536\u655b\u3002<\/p>\n\n\n\n\u3000\u3000\u6b63\u5219\u5316\u6280\u672f<\/strong>\uff1a\u5e94\u7528\u6b63\u5219\u5316\u6280\u672f\u5982\u6743\u91cd\u8870\u51cf\uff0c\u53ef\u4ee5\u9632\u6b62\u8fc7\u62df\u5408\u73b0\u8c61\u7684\u53d1\u751f\u3002\u8fc7\u62df\u5408\u4f1a\u5bfc\u81f4\u6a21\u578b\u5728\u8bad\u7ec3\u96c6\u4e0a\u8868\u73b0\u826f\u597d\uff0c\u4f46\u5728\u672a\u89c1\u8fc7\u7684\u6570\u636e\u4e0a\u6cdb\u5316\u80fd\u529b\u5dee\u3002\u901a\u8fc7\u5f15\u5165\u6b63\u5219\u5316\u9879\uff0c\u53ef\u4ee5\u5e73\u8861\u6a21\u578b\u590d\u6742\u5ea6\u548c\u6cdb\u5316\u80fd\u529b\u3002<\/p>\n\n\n\n\u3000\u3000\u5fae\u8c03\u7b56\u7565<\/strong>\uff1a\u53ef\u4ee5\u9009\u62e9\u4e0d\u540c\u7684\u5fae\u8c03\u7b56\u7565\uff0c\u6bd4\u5982\u53ea\u5fae\u8c03\u6a21\u578b\u7684\u67d0\u4e9b\u5c42\uff0c\u6216\u8005\u9010\u6b65\u89e3\u51bb\u548c\u5fae\u8c03\u6a21\u578b\u7684\u5c42\u3002\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u6a21\u578b\u5728\u7279\u5b9a\u4efb\u52a1\u4e0a\u8868\u73b0\u66f4\u597d\uff0c\u5e76\u4e14\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u8ba1\u7b97\u5f00\u9500\u3002<\/p>\n\n\n\n\u3000\u3000\u635f\u5931\u51fd\u6570\u7684\u9009\u62e9\u4e0e\u4f18\u5316<\/strong>\uff1a\u5728LoRA\u6a21\u578b\u4e2d\uff0c\u635f\u5931\u51fd\u6570\u7684\u9009\u62e9\u548c\u4f18\u5316\u4e5f\u975e\u5e38\u91cd\u8981\u3002\u901a\u5e38\u91c7\u7528\u5747\u65b9\u8bef\u5dee(MSE)\u4f5c\u4e3a\u635f\u5931\u51fd\u6570\uff0c\u5e76\u901a\u8fc7\u53cd\u5411\u4f20\u64ad\u8ba1\u7b97\u68af\u5ea6\u5e76\u66f4\u65b0\u53c2\u6570\u3002\u53ef\u4ee5\u901a\u8fc7\u591a\u6b21\u8fed\u4ee3\u6765\u9010\u6b65\u51cf\u5c0f\u635f\u5931\u503c\uff0c\u76f4\u5230\u8fbe\u5230\u671f\u671b\u7684\u6548\u679c\u3002<\/p>\n\n\n\n\u3000\u3000\u91cf\u5316\u6280\u672f<\/strong>\uff1a\u5bf9\u4e8e\u9700\u8981\u8fdb\u4e00\u6b65\u964d\u4f4e\u5185\u5b58\u5360\u7528\u548c\u8ba1\u7b97\u9700\u6c42\u7684\u60c5\u51b5\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u91cf\u5316\u6280\u672f\u3002\u4f8b\u5982\uff0cQLoRA\u7ed3\u5408\u4e86\u91cf\u5316\u6280\u672f\uff0c\u901a\u8fc7\u51cf\u5c11\u6a21\u578b\u6743\u91cd\u7684\u6570\u503c\u7cbe\u5ea6\u6765\u964d\u4f4e\u5185\u5b58\u5360\u7528\u548c\u8ba1\u7b97\u9700\u6c42\uff0c\u540c\u65f6\u4fdd\u6301\u6a21\u578b\u6027\u80fd\u3002<\/p>\n\n\n\n\u3000\u3000\u5b9e\u9a8c\u4e0e\u8bc4\u4f30<\/strong>\uff1a\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b9e\u9a8c\u6765\u89c2\u5bdf\u4e0d\u540c\u53c2\u6570\u8bbe\u7f6e\u5bf9Loss\u503c\u7684\u5f71\u54cd\u3002\u4f8b\u5982\uff0c\u5728\u4e00\u4e2a\u5b9e\u9a8c\u4e2d\uff0c\u901a\u8fc7\u5bf9\u6bd4\u57fa\u7840\u6a21\u578b\u548cLoRA\u6a21\u578b\u7684\u524d\u5411\u548c\u53cd\u5411\u4f20\u64ad\u65f6\u95f4\u4ee5\u53caLoss\u503c\u7684\u53d8\u5316\uff0c\u53ef\u4ee5\u53d1\u73b0LoRA\u6a21\u578b\u5728\u4fdd\u6301\u8f83\u4f4e\u53c2\u6570\u91cf\u7684\u540c\u65f6\uff0c\u4ecd\u80fd\u6709\u6548\u964d\u4f4eLoss\u503c\u3002<\/p>\n\n\n\n\u3000\u3000\u56db\u3001 LoRA\u6a21\u578b\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\uff0c\u5982\u4f55\u51c6\u786e\u76d1\u6d4b\u548c\u8c03\u6574Loss\u503c\u4ee5\u8fbe\u5230\u6700\u4f73\u72b6\u6001?<\/h2>\n\n\n\n
\u3000\u3000\u5728LoRA\u6a21\u578b\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\uff0c\u51c6\u786e\u76d1\u6d4b\u548c\u8c03\u6574Loss\u503c\u4ee5\u8fbe\u5230\u6700\u4f73\u72b6\u6001\u9700\u8981\u7efc\u5408\u8003\u8651\u591a\u4e2a\u56e0\u7d20\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u6b65\u9aa4\u548c\u5efa\u8bae\uff1a<\/p>\n\n\n\n
\n- \u3000\u3000\u9009\u62e9\u5408\u9002\u7684\u635f\u5931\u51fd\u6570<\/strong>\uff1a\u6839\u636e\u4efb\u52a1\u7c7b\u578b\u9009\u62e9\u9002\u5f53\u7684\u635f\u5931\u51fd\u6570\u662f\u81f3\u5173\u91cd\u8981\u7684\u3002\u4f8b\u5982\uff0c\u5bf9\u4e8e\u5206\u7c7b\u4efb\u52a1\u53ef\u4ee5\u4f7f\u7528\u4ea4\u53c9\u71b5\u635f\u5931\u51fd\u6570\uff0c\u800c\u5bf9\u4e8e\u56de\u5f52\u4efb\u52a1\u5219\u53ef\u4ee5\u4f7f\u7528\u5747\u65b9\u8bef\u5dee\u635f\u5931\u51fd\u6570\u3002<\/li>\n\n\n\n
- \u3000\u3000\u76d1\u63a7\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u7684Loss\u503c<\/strong>\uff1a\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\uff0cLoss\u503c\u662f\u6700\u5173\u6ce8\u7684\u6307\u6807\u4e4b\u4e00\u3002\u7406\u60f3\u60c5\u51b5\u4e0b\uff0cLoss\u503c\u5e94\u968f\u7740\u8bad\u7ec3\u7684\u8fdb\u884c\u9010\u6e10\u964d\u4f4e\u3002\u5982\u679cLoss\u503c\u8fc7\u9ad8\u6216\u8fc7\u4f4e\uff0c\u53ef\u80fd\u8868\u660e\u6a21\u578b\u5b58\u5728\u8fc7\u62df\u5408\u6216\u6b20\u62df\u5408\u7684\u95ee\u9898\u3002\u56e0\u6b64\uff0c\u9700\u8981\u5bc6\u5207\u76d1\u89c6Loss\u503c\u7684\u53d8\u5316\uff0c\u5e76\u53ca\u65f6\u8fdb\u884c\u8c03\u6574\u3002<\/li>\n\n\n\n
- \u3000\u3000\u8bbe\u7f6e\u5408\u7406\u7684\u521d\u59cbLoss\u76ee\u6807<\/strong>\uff1a\u6709\u4e9b\u7ecf\u9a8c\u5206\u4eab\u6307\u51fa\uff0c\u5728\u8bad\u7ec3\u521d\u671f\u53ef\u4ee5\u8bbe\u5b9a\u4e00\u4e2a\u7406\u60f3\u7684Loss\u503c\u76ee\u6807\uff0c\u4f8b\u59820.088.\u8fd9\u4e2a\u503c\u5728\u5f88\u591a\u60c5\u51b5\u4e0b\u80fd\u591f\u53d6\u5f97\u8f83\u597d\u7684\u62df\u5408\u548c\u6cdb\u5316\u6548\u679c\u3002\u7136\u800c\uff0c\u8fd9\u5e76\u4e0d\u662f\u7edd\u5bf9\u7684\uff0c\u5b9e\u9645\u8bad\u7ec3\u4e2d\u53ef\u80fd\u4f1a\u9047\u5230\u4e0d\u540c\u8303\u56f4\u5185\u7684Loss\u503c\u8868\u73b0\u826f\u597d\uff0c\u56e0\u6b64\u9700\u8981\u7075\u6d3b\u8c03\u6574\u3002<\/li>\n\n\n\n
- \u3000\u3000\u4f7f\u7528\u53ef\u89c6\u5316\u5de5\u5177<\/strong>\uff1a\u901a\u8fc7Loss\u56fe\u6765\u89c2\u5bdfLoss\u503c\u7684\u53d8\u5316\u8d8b\u52bf\uff0c\u53ef\u4ee5\u5e2e\u52a9\u8bc6\u522b\u6a21\u578b\u662f\u5426\u9010\u6b65\u6536\u655b\u3002\u540c\u65f6\uff0cXYZ\u5e8f\u5217\u56fe\u7b49\u53ef\u89c6\u5316\u5de5\u5177\u4e5f\u53ef\u4ee5\u5c55\u793a\u4e0d\u540c\u6743\u91cd\u5bf9\u6a21\u578b\u7684\u5f71\u54cd\u4ee5\u53ca\u8fc7\u62df\u5408\u548c\u6b20\u62df\u5408\u7684\u7a0b\u5ea6\uff0c\u4ece\u800c\u66f4\u6df1\u5165\u5730\u4e86\u89e3\u6a21\u578b\u6027\u80fd\u3002<\/li>\n\n\n\n
- \u3000\u3000\u4fdd\u5b58\u6700\u4f73\u6a21\u578b<\/strong>\uff1a\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\uff0c\u5c06\u9a8c\u8bc1\u96c6\u6027\u80fd\u6700\u597d\u7684\u6a21\u578b\u4fdd\u5b58\u4e0b\u6765\uff0c\u8fd9\u6709\u52a9\u4e8e\u5728\u6d4b\u8bd5\u9636\u6bb5\u83b7\u5f97\u66f4\u597d\u7684\u6027\u80fd\u3002\u56e0\u6b64\uff0c\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u5e94\u5b9a\u671f\u8bc4\u4f30\u6a21\u578b\uff0c\u5e76\u4fdd\u5b58\u8868\u73b0\u6700\u597d\u7684\u6a21\u578b\u3002<\/li>\n\n\n\n
- \u3000\u3000\u53cd\u5411\u4f20\u64ad\u548c\u53c2\u6570\u66f4\u65b0<\/strong>\uff1a\u5728\u524d\u5411\u4f20\u64ad\u8ba1\u7b97\u51fa\u635f\u5931\u540e\uff0c\u5229\u7528\u94fe\u5f0f\u6cd5\u5219\u8fdb\u884c\u53cd\u5411\u4f20\u64ad\u8ba1\u7b97\u68af\u5ea6\uff0c\u5e76\u66f4\u65b0\u6a21\u578b\u53c2\u6570\u3002\u8fd9\u4e00\u8fc7\u7a0b\u9700\u8981\u53cd\u590d\u8fdb\u884c\uff0c\u76f4\u5230\u8fbe\u5230\u9884\u5b9a\u7684\u8bad\u7ec3\u8f6e\u6570\u6216Loss\u503c\u6536\u655b\u3002<\/li>\n\n\n\n
- \u3000\u3000\u6a21\u578b\u8bc4\u4f30\u4e0e\u8c03\u4f18<\/strong>\uff1a\u5728\u8bad\u7ec3\u5b8c\u6210\u540e\uff0c\u4f7f\u7528\u6d4b\u8bd5\u6570\u636e\u96c6\u5bf9\u6a21\u578b\u8fdb\u884c\u8bc4\u4f30\uff0c\u5305\u62ec\u8f93\u51fa\u7684\u8d28\u91cf\u3001\u7a33\u5b9a\u6027\u548c\u591a\u6837\u6027\u7b49\u65b9\u9762\u3002\u6839\u636e\u8bc4\u4f30\u7ed3\u679c\u5bf9\u6a21\u578b\u8fdb\u884c\u8fdb\u4e00\u6b65\u8c03\u4f18\u6216\u6539\u8fdb\u3002<\/li>\n<\/ul>\n\n\n\n
\u3000\u3000\u4e94\u3001 \u9488\u5bf9LoRA\u6a21\u578b\uff0c\u6709\u54ea\u4e9b\u5b9e\u9a8c\u6216\u6848\u4f8b\u7814\u7a76\u5c55\u793a\u4e86\u4e0d\u540cLoss\u503c\u4e0b\u7684\u6a21\u578b\u8868\u73b0\u5bf9\u6bd4?<\/h2>\n\n\n\n
\u3000\u3000\u9488\u5bf9LoRA\u6a21\u578b\uff0c\u6709\u591a\u4e2a\u5b9e\u9a8c\u548c\u6848\u4f8b\u7814\u7a76\u5c55\u793a\u4e86\u4e0d\u540cLoss\u503c\u4e0b\u7684\u6a21\u578b\u8868\u73b0\u5bf9\u6bd4\u3002\u4ee5\u4e0b\u662f\u51e0\u4e2a\u76f8\u5173\u7684\u4f8b\u5b50\uff1a<\/p>\n\n\n\n
\u3000\u3000\u5317\u4eac\u5927\u5b66\u4eba\u5de5\u667a\u80fd\u7814\u7a76\u9662\u5f20\u7267\u6db5\u56e2\u961f\u7684\u7814\u7a76\u8868\u660e\uff0c\u5728\u6570\u5b66\u4efb\u52a1\u4e0a\uff0cPiSSA\u548cLoRA\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u7684\u8868\u73b0\u5b58\u5728\u663e\u8457\u5dee\u5f02\u3002\u5177\u4f53\u6765\u8bf4\uff0cPiSSA\u7684\u8bad\u7ec3loss\u4e0b\u964d\u901f\u5ea6\u66f4\u5feb\uff0c\u4e14\u5728\u6574\u4e2a\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u59cb\u7ec8\u4f4e\u4e8eLoRA\u7684loss\u3002\u8fd9\u8868\u660ePiSSA\u5728\u8bad\u7ec3\u96c6\u4e0a\u7684\u62df\u5408\u6548\u679c\u66f4\u597d\uff0c\u5e76\u4e14\u80fd\u591f\u4f7f\u7528\u66f4\u5c11\u7684\u53ef\u8bad\u7ec3\u53c2\u6570\u8fbe\u5230\u4e0e\u5168\u53c2\u6570\u5fae\u8c03\u76f8\u4f3c\u7684\u6548\u679c\u3002<\/p>\n\n\n\n
\u3000\u3000\u5728\u53e6\u4e00\u9879\u7814\u7a76\u4e2d\uff0c\u901a\u8fc7\u56fe\u793a\u5c55\u793a\u4e86PiSSA\u548cLoRA\u5728\u4e0d\u540c\u8bad\u7ec3\u9636\u6bb5\u7684\u6700\u7ec8loss\u503c\u3002\u7ed3\u679c\u663e\u793a\uff0c\u5c3d\u7ba1LoRA\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u7ecf\u5386\u4e86\u635f\u5931\u4e0d\u51cf\u5c11\u751a\u81f3\u7565\u6709\u589e\u52a0\u7684\u9636\u6bb5\uff0c\u4f46PiSSA\u5728\u6574\u4e2a\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u4fdd\u6301\u8f83\u4f4e\u7684loss\u6c34\u5e73\uff0c\u663e\u793a\u51fa\u66f4\u597d\u7684\u8bad\u7ec3\u6548\u679c\u3002<\/p>\n\n\n\n
\u3000\u3000\u5728\u8fd9\u9879\u7814\u7a76\u4e2d\uff0c\u8be6\u7ec6\u8bb0\u5f55\u4e86\u4e0d\u540cepoch\u4e0b\u6a21\u578b\u7684loss\u503c\u53d8\u5316\u3002\u4f8b\u5982\uff0c\u5728\u7b2c0.64\u4e2aepoch\u65f6\uff0closs\u4e3a2.1301;\u800c\u5728\u7b2c3.0\u4e2aepoch\u65f6\uff0closs\u964d\u4f4e\u52301.8721.\u8fd9\u4e9b\u6570\u636e\u8868\u660e\uff0c\u968f\u7740\u8bad\u7ec3\u7684\u8fdb\u884c\uff0c\u6a21\u578b\u7684loss\u9010\u6e10\u964d\u4f4e\uff0c\u62df\u5408\u5ea6\u63d0\u9ad8\u3002<\/p>\n\n\n\n
\u3000\u3000\u5728Stable Diffusion\u7684\u5e94\u7528\u6307\u5357\u4e2d\uff0c\u901a\u8fc7\u6bd4\u8f83loha\u3001locon\u548clora\u4e09\u79cd\u65b9\u6cd5\u7684\u8bad\u7ec3\u8fc7\u7a0bloss\uff0c\u53d1\u73b0\u5355\u7eaf\u4eceloss\u6765\u770b\uff0cloha > locon > lora\u3002\u7136\u800c\uff0closs\u5e76\u4e0d\u662f\u552f\u4e00\u7684\u8861\u91cf\u6807\u51c6\uff0c\u56e0\u4e3aloha\u548clocon\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u53ef\u80fd\u5b58\u5728\u95ee\u9898\uff0c\u800clora\u7684\u6548\u679c\u76f8\u5bf9\u8f83\u597d\u3002<\/p>\n\n\n\n
\u3000\u3000\u6280\u672f\u6307\u5357\u4e2d\u63d0\u5230\uff0c\u901a\u8fc7\u6d4b\u8bd5\u53ef\u4ee5\u5bf9\u6bd4\u4e0d\u540c\u9636\u6bb5LORA\u6a21\u578b\u7684\u8868\u73b0\u3002\u91cd\u70b9\u89c2\u5bdfloss\u9010\u6b65\u964d\u4f4e\u7684\u72b6\u6001\uff0closs\u8d8a\u4f4e\uff0c\u62df\u5408\u5ea6\u8d8a\u9ad8\u3002\u4f46\u8fc7\u4f4e\u7684loss\u4e5f\u53ef\u80fd\u5bfc\u81f4\u8fc7\u62df\u5408\uff0c\u56e0\u6b64\u9700\u8981\u627e\u5230\u5408\u7406\u7684loss\u503c\u6765\u9009\u62e9\u66f4\u597d\u7684LORA\u6a21\u578b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u5728LoRA\u6a21\u578b\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\uff0c\u5408\u9002\u7684Loss\u503c\u8303\u56f4\u901a\u5e38\u57280.08\u52300.1\u4e4b\u95f4\u3002\u591a\u4e2a\u8bc1\u636e\u8868\u660e\uff0c\u5f53Loss\u503c\u5728\u8fd9\u4e2a\u8303\u56f4\u5185\u65f6\uff0c\u6a21\u578b\u7684\u8bad\u7ec3\u6548\u679c\u8f83\u597d\uff0c\u4e14\u88ab\u8ba4\u4e3a\u662f\u6700\u4f73\u72b6\u6001<\/p>\n","protected":false},"author":1,"featured_media":98952,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","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":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[54],"class_list":["post-99279","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-l-2"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/99279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=99279"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/99279\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/98952"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=99279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=99279"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=99279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}