ð Reinforcement Fine-Tuningã§AIãæ°å¢å°ãžïŒOpenAIã®ææŠãšæªæ¥ãžã®å¯èœæ§ ðâš
ãªããšâŠä»åã¯ããã ã®ã¢ãã«ã«ã¹ã¿ãã€ãºã§ã¯ãããŸããã匷ååŠç¿åãã¡ã€ã³ãã¥ãŒãã³ã°ïŒReinforcement Fine-TuningãRFTïŒ ãšããæ°ããææ³ã®çºè¡šã§ãïŒðâšããã«ãããéçºè ãç 究è ãã01ãã¢ãã«ãèªåã®ããŒã¿ã»ããã«åºã¥ããŠã«ã¹ã¿ãã€ãºã§ãããŸã£ããæ°ããéãéãããŸãïŒ
AIã®é²åã次ã®ã¬ãã«ãžåŒãäžãããã®æè¡ã«ã€ããŠãä»æ¥ã¯ãã£ãããšè§£èª¬ããŠãããŸãã®ã§ããã²æåŸãŸã§ã楜ãã¿ãã ãããð
ð RFTãšã¯ïŒãã®é©ãã®ç¹é·ãšã¯ïŒð
RFTïŒReinforcement Fine-TuningïŒ ãšã¯ãç§ãã¡OpenAIã瀟å ã§äœ¿çšããŠããæå 端ã®æè¡ã§ãåãªãã¢ãã«ã®ã«ã¹ã¿ãã€ãºãè¶ ããæ°ãããã¡ã€ã³ãã¥ãŒãã³ã°ææ³ã§ããâšãã®æè¡ã«ãããéçºè ãã¡ã¯èªåãã¡ã®ç¹å®ã®ããŒãºã«åãããé«åºŠã«ã«ã¹ã¿ãã€ãºãããAIã¢ãã«ãäœãããšãå¯èœã«ãªããŸããïŒ
RFTãæã€3ã€ã®å€§ããªç¹é· ð
匷ååŠç¿ã«ããæ°ããæèããã»ã¹ã®åŠç¿ð§ âš
ã¢ãã«ã¯å ¥åããŒã¿ãåçŽã«æš¡å£ããã®ã§ã¯ãªããåé¡ãæ·±ãèãæããç¬èªã®ãæ°ããæèæ¹æ³ããç·šã¿åºãããšãã§ããŸãããã®ãããã¢ãã«ã®å¿çšåããããŸã§ãããæ Œæ®µã«é«ãŸããè€éã§æ·±ãåé¡ã«å¯ŸããŠãæè»ã«å¯Ÿå¿ã§ããã®ã§ããå°ãªãããŒã¿ã§å¹ççã«åŠç¿å¯èœðð
ãããŸã§ãAIã®åŠç¿ã«ã¯å€§éã®ãã¬ãŒãã³ã°ããŒã¿ãå¿ èŠã§ããããRFTã§ã¯ãã£ãæ°åã®äŸã ãã§ããæ°ããã«ã¹ã¿ã é åã«å¯ŸããŠå¹æçãªæšè«èœåãç¿åŸã§ããŸããããã«ãããããŒã¿ãéãããŠããå Žåã§ãçæéã§é«æ§èœãªã¢ãã«ãæ§ç¯ããããšãã§ããŸããæ·±ãå°éç¥èãæã€ã¢ãã«ãç°¡åã«äœæã§ããâïžð
æ³åãéèãå»çããšã³ãžãã¢ãªã³ã°ãä¿éºãªã©ãéåžžã«æ·±ãå°éç¥èãæ±ããããåéã«å¯ŸããŠããç¬èªã®ã¢ãã«ãäœæããããšãå¯èœã§ãïŒããšãã°ãæ³çææžãåæããããå»çåéã§ç æ°ã®èšºæãè¡ããšãã£ãã·ãŒã³ã«ãããŠãRFTã«ãã£ãŠç¹ååAIã容æã«çæã§ããŸãã
å®éã«ãThomson ReutersïŒãã ãœã³ã»ãã€ã¿ãŒãºïŒ ãšå ±åã§æ³åŸã¢ã·ã¹ã¿ã³ããCo-Counsel AIããéçºããŸããããã®æè¡ã«ãããæ³åŸã®å°é家ãã¡ãæãåæçãªã¯ãŒã¯ãããŒãå¹çåããããšãã§ããããã«ãªããŸãããâïžðŒâš
ð ïž Reinforcement Fine-Tuningã®ããã»ã¹ã培åºè§£èª¬ ð¡âš
1ïžâ£ ã¢ãã«ã«ãèããæéããäžããâ³ð€
ãããŸã§ã®ãã¡ã€ã³ãã¥ãŒãã³ã°ã§ã¯ãAIã¢ãã«ã¯å ¥åããŒã¿ãäžãããããšããã«çããåºåããŠããŸããããããã**匷ååŠç¿åãã¡ã€ã³ãã¥ãŒãã³ã°ïŒRFTïŒ**ã§ã¯ãã¢ãã«ã«æéãäžãããæ·±ãèãããããã»ã¹ãæãããããšãã§ããã®ã§ããããã«ãããã¢ãã«ã¯è€éã§é£ãã課é¡ã«å¯ŸããŠããããé«åºŠã§ç²Ÿç¢ºãªçããå°ãåºããããã«ãªããŸãã
2ïžâ£ æ£ããæšè«ã匷åããééããæžå°ãããðâ
RFTã®ããäžã€ã®éèŠãªãã€ã³ãã¯ããæ£ããæšè«ã匷åãã誀ã£ãæšè«ãæå¶ãããããšã§ãã匷ååŠç¿ã§ã¯ãã¢ãã«ãå°ãåºããçãã«å¯ŸããŠãè©äŸ¡ããè¡ãããã®ã¹ã³ã¢ã«åºã¥ããŠã¢ãã«ã®æ§èœãåäžãããŠãããŸããã€ãŸããã¢ãã«ãé©åãªçããåºããšå ±é ¬ãäžããäžé©åãªçãã«ã¯ããã«ãã£ãäžããããšã§ãå¹ççã«åŠç¿ãé²ããŸããããã«ãã£ãŠãã¢ãã«ã¯ãäœãæ£ããæšè«ã§ãäœãééã£ãŠããã®ãããããç確ã«ç解ããåŠç¿ããããšãå¯èœã«ãªãã®ã§ãã
3ïžâ£ èªç¶ã«åŠã³ãå¿çšããåãé€ãðð±
äžè¬çãªãã¡ã€ã³ãã¥ãŒãã³ã°ãšç°ãªããRFTã§ã¯ã¢ãã«ã«å¿çšåãæãããããšãã§ããŸããã¢ãã«ã¯ãã å ¥åã«åºã¥ããåºåãåçŸããã®ã§ã¯ãªããç¹å®ã®ã³ã³ããã¹ãã®äžã§äœãéèŠããç解ããé©åã«å¿çšããèœåãé€ããŸããããã«ãããç¹å®ã®ããŒã¿ã»ãããè¶ ããŠãæªç¥ã®ããŒã¿ã«ã察å¿ã§ããæè»æ§ãæã£ãAIãèªçããŸãã
𧬠å®éã®äºäŸïŒåžå°çŸæ£ã®èšºæãžã®ææŠ ð¬ð
次ã«ãBerkeley Labã®èšç®çç©åŠè ãJustin Reeãããšå ±åã§è¡ã£ããåžå°çŸæ£ã®èšºææ¯æŽãã®äºäŸã玹ä»ããŸããâš
ð èæ¯
åžå°çŸæ£ãšã¯ïŒ
åžå°çŸæ£ïŒRare DiseaseïŒãšã¯ããã®äžã€äžã€ã¯éåžžã«çšãªçŸæ£ã§ãããäžçäžã§åœ±é¿ãåããæ£è æ°ã¯ãªããš3å人以äžã«ãã®ãŒããŸããããã¯é©ãã¹ãæ°ã§ãããã¢ã¡ãªã«ã®äººå£ã«å¹æµããã»ã©ã§ãã蚺æãŸã§ã«æ°ã¶æããæ°å¹Žãããããšããããæ£è ããã®å®¶æã«ãšã£ãŠã¯éåžžã«éé ·ãªéã®ãã§ãã
ð ïž è§£æ±ºç
ãã®ãããžã§ã¯ãã§ã¯ãJustinããã®ããŒã ãšååããŠãã01ãã¢ãã«ã匷ååŠç¿ã䜿ã£ãŠãã¡ã€ã³ãã¥ãŒãã³ã°ããåžå°çŸæ£ã«å¯Ÿããç解ãæ·±ããŸããã以äžã®ãããªããŒã¿ã掻çšããŸããïŒ
çäŸå ±åïŒæ£è ã®å¹Žéœ¢ãçºçææãæ¢åŸæŽãªã©ã®è©³çŽ°ãªçäŸæ å ±ãèšèŒãããŠããŸãã
çç¶ã®ãªã¹ãïŒæ£è ã«èŠãããçç¶ã®äžèŠ§ã§ãã
äžåšã®çç¶ïŒæ£è ã«ã¯èŠãããªãçç¶ããªã¹ãã¢ãããããŸããããã«ãããåå ãšãªãå¯èœæ§ã®ããéºäŒåãçµã蟌ãæå©ããããŸãã
åå éºäŒåïŒç¹å®ã®éºäŒåãã©ã®ããã«ç æ°ãåŒãèµ·ãããããŸãã©ã®ããã«åœ±é¿ãäžãããã«ã€ããŠã®æ å ±ã§ãã
ãããã®æ å ±ãããšã«ãã¢ãã«ã¯çç¶ã®ãªã¹ãããåå éºäŒåãæšå®ããèœåãåŠã³ãŸããããããŠãã®çµæãã¢ãã«ã¯éåžžã«æ£ç¢ºã«åå éºäŒåãç¹å®ã§ããããã«ãªããŸããïŒð
ð RFTã®çµæ
ããã1ã®æ£ççã17.7%ãã31%ã«åäžð
Fine-tuningãæœããçµæãã¢ãã«ã®æ£ççã¯å€§å¹ ã«åäžããŸãããæè»ãªæšè«ãå¯èœã«ð
ã¢ãã«ã¯ãã åã«èšç·ŽããŒã¿ãæèšããã®ã§ã¯ãªããæ°ããã±ãŒã¹ã«ãæè»ã«å¯Ÿå¿ã§ããããã«ãªããŸããã
ãã®æè¡ã«ãããå°æ¥çã«ã¯åžå°çŸæ£ã®æ©æ蚺æãå¯èœãšãªããæ°å€ãã®æ£è ã®è² æ ã軜æžããããšãæåŸ ãããŠããŸããâš
ð RFTãä»åéã§ã®æŽ»çšã«ããããå¯èœæ§
RFTã®å¯èœæ§ã¯å»çåéã«ãšã©ãŸãããããŸããŸãªåéã§å¿çšãããŠããŸãã以äžã«ãã®äžäŸã玹ä»ããŸãðïŒ
1. æ³ååéã§ã®æŽ»çš âïž
æ³åŸã®åéã§ã¯ã倧éã®å¥çŽæžãæ³çææžãåæãããªã¹ã¯ãè©äŸ¡ããããæ³çã¢ããã€ã¹ãæäŸããããã«RFTã掻çšã§ããŸããæ³çãªæç« ã«ã¯é«åºŠãªå°éç¥èãæ±ããããããã匷ååŠç¿ã§ãã¡ã€ã³ãã¥ãŒãã³ã°ããAIãéåžžã«å¹æçã§ãã
2. éèåéã§ã®ãªã¹ã¯è©äŸ¡ãšäºæž¬ ðð°
éèã®äžçã§ã¯ãåžå Žã®ãªã¹ã¯è©äŸ¡ãäºæž¬åæãéåžžã«éèŠã§ããAIã¢ãã«ã匷ååŠç¿ã§ã«ã¹ã¿ãã€ãºããããšã«ãããè€éãªéèåžå Žã®ããŒã¿ãç解ããæ£ç¢ºãªäºæž¬ãç«ãŠãããšãå¯èœã«ãªããŸãã
3. AIå®å šæ§ã®åŒ·å ð¡ïžð€
AIãæã€ãã€ã¢ã¹ãæ€åºããæ¹åããããã«RFTãå©çšãããŠããŸããAIãåèŠãªãå ¬å¹³ã«å€æã§ããããã«ããããšã§ãããä¿¡é Œæ§ã®é«ãã¢ãã«ãæ§ç¯ããããšãã§ããŸãã
ãããã®å¿çšäŸã¯ã»ãã®äžéšã§ããRFTã¯ãã®æè»æ§ãšå¿çšåãããå€ãã®åéã§æ°ããªå¯èœæ§ãåãéããŠããŸããðâš
ð ïž Reinforcement Fine-Tuningã®å®è·µïŒããã»ã¹ãšæé ãå ·äœçã«èª¬æ
ã¹ããã1ïŒããŒã¿ã»ããã®ã¢ããããŒãð
RFTãå®æœããã«ã¯ããŸããã¬ãŒãã³ã°ããŒã¿ã»ãããJSONL圢åŒã§ã¢ããããŒãããŸãããã®åœ¢åŒã§ã¯ãåè¡ãåå¥ã®ãã¬ãŒãã³ã°äŸãšããŠæ±ãããããŒã¿ãã¢ãã«ã«åŠç¿ãããå 容ã«ãªããŸããå ·äœäŸãšããŠãç æ°ã«é¢ããçäŸå ±åãçç¶ãªã¹ããªã©ãæºåããããšãèããããŸãã
ã¹ããã2ïŒããªããŒã·ã§ã³ããŒã¿ã®èšå®â
ãã¬ãŒãã³ã°ããŒã¿ãšã¯å¥ã«ãããªããŒã·ã§ã³ããŒã¿ãèšå®ããŸãããã®ããŒã¿ã¯ããã¬ãŒãã³ã°ããŒã¿ãšéè€ããªãå 容ã§æ§æãããŠãããããã¢ãã«ãåã«èšæ¶ããç¥èã«é Œãããäžè¬åãããæšè«ãè¡ãèœåãããããšã確èªã§ããŸããããã«ãããããå®éçãªç¶æ³ã«å¯ŸããŠãé«ãé©å¿åãæã€ã¢ãã«ãèªçããŸãã
ã¹ããã3ïŒè©äŸ¡åºæºïŒGraderïŒã®èšå®ð
è©äŸ¡åºæºïŒGraderïŒãèšå®ããã¢ãã«ã®åºåãã¹ã³ã¢ãªã³ã°ããŸãããã®ã¹ã³ã¢ã¯0ãã1ã®éã§è©äŸ¡ãããæ£ããçãã«ã¯é«ãã¹ã³ã¢ãäžãããã誀ã£ãçãã«ã¯äœãã¹ã³ã¢ãäžããããŸããéšåçã«æ£ããå Žåã«ãéšåç¹ãäžããããä»çµã¿ã§ãæè»ã«ã¢ãã«ãè©äŸ¡ããæ¹åããŠãããŸãã
ã¹ããã4ïŒãã¬ãŒãã³ã°ã®éå§ð
å¿ èŠãªèšå®ãæŽã£ããããã¬ãŒãã³ã°ãžã§ããéå§ããŸãããã®ããã»ã¹ã§ã¯ãããªããæã€å°éç¥èãããŒã¿ã»ãããšGraderãšããŠæäŸããOpenAIã®åŒ·åãªåæ£åŠç¿ã€ã³ãã©ã掻çšããŠã¢ãã«ããã¬ãŒãã³ã°ããŸããããã«ãããæå 端ã®åŒ·ååŠç¿æè¡ãèªåã®ããŒãºã«åãããŠäœ¿ãããšãå¯èœã§ãã
ð å®éšçµæïŒRFTã«ããã¢ãã«ã®æ§èœåäž
Justinããã®ããŒã¿ã»ããã䜿ã£ãŠã01 Miniãã匷ååŠç¿åãã¡ã€ã³ãã¥ãŒãã³ã°ããçµæã確èªããŸããã以äžã®çµæãåŸãããŸããðïŒ
ããã1ã®æ£ççãåäžð
å ã®ã01 Miniãã§ã¯17.7%ã ã£ãæ£ççããFine-tuningåŸã¯**31%**ã«ãŸã§åäžããŸããããã®çµæã¯ãã¢ãã«ãã©ãã ãæ£ç¢ºã«åå éºäŒåãç¹å®ã§ããããã«ãªã£ããã瀺ããŠããŸãã
ãã¬ãŒãã³ã°ããŒã¿ã®èšæ¶ã§ã¯ãªãæè»ãªæšè«ãå¯èœã«ð
ã¢ãã«ã¯ãã¬ãŒãã³ã°ããŒã¿ãåã«èšæ¶ããã®ã§ã¯ãªããæ°ããçäŸã«ãæè»ã«å¯Ÿå¿ããæšè«ãè¡ãèœåãæã€ããã«ãªããŸããã
ð å ·äœçãªè©äŸ¡ïŒ3ã€ã®ã¡ããªã¯ã¹
è©äŸ¡ã®ããã«3ã€ã®ç°ãªãã¡ããªã¯ã¹ãèšå®ããŸããã
Top@1ïŒæ£ããçãããªã¹ãã®æåã«äœçœ®ããå²å
Top@5ïŒæ£ããçãããªã¹ãã®äžäœ5ã€ã®äžã«å«ãŸããå²å
Top@MaxïŒæ£ããçãããªã¹ãã®ã©ããã«å«ãŸããŠãããã©ãã
è©äŸ¡ã®çµæãã01 Miniãã®æ§èœã匷ååŠç¿ã«ãã£ãŠå€§ããåäžããæ£ççãé£èºçã«äžæããããšã確èªã§ããŸãããããã¯ãã¢ãã«ããã¬ãŒãã³ã°ããŒã¿ãè¶ ããŠäžè¬åãããæšè«ãå¯èœã§ããããšã瀺ããŠãããéåžžã«ææãªçµæã§ããâš
ð ä»åéãžã®å¿çšãšæªæ¥ãžã®å¯èœæ§
ç§ãã¡ãä»å瀺ããRFTã¯ãå»çåéã ãã§ãªããããŸããŸãªç£æ¥ãåéã§å€§ããªå¯èœæ§ãç§ããŠããŸãã以äžã«ãã®å¿çšå¯èœæ§ãå°ãã玹ä»ããŸãã
1. æ³ååéã§ã®æŽ»çšâïž
æ³ååéã§ã¯ãå¥çŽæžã®ã¬ãã¥ãŒãæ³çã¢ããã€ã¹ããªã¹ã¯è©äŸ¡ãªã©ã«AIã掻çšã§ããŸããç¹ã«æ³çææžã«ã¯é«åºŠãªå°éç¥èãæ±ãããããããRFTãå©çšããŠãã¬ãŒãã³ã°ããã¢ãã«ãéåžžã«æå¹ã§ããå¥çŽæžã蚎èšé¢é£ã®ææžãèªåã§èªã¿è§£ããå°éçãªåæãæäŸããããšã§ãåŒè·å£«ãã¡ã®æ¥åããµããŒãã§ããŸãã
2. éèæ¥çã§ã®ãªã¹ã¯ç®¡çãšåžå Žåæðð°
éèåéã§ã¯ããªã¹ã¯è©äŸ¡ãæè³æŠç¥ã®çå®ãããŒã±ããã®ååäºæž¬ãªã©ãå€ãã®å Žé¢ã§AIã圹ç«ã¡ãŸããRFTã§ã«ã¹ã¿ãã€ãºãããAIã¯ã倧éã®éèããŒã¿ãç解ããç確ãªãªã¹ã¯ç®¡çãè¡ãããšãã§ããŸããç¹ã«äºæž¬ã¢ãã«ã®æ§èœãåäžãããããšã§ãããè¯ãæè³å€æãè¡ãæå©ããšãªããŸãã
3. AIã»ãã¥ãªãã£ãšå ¬å¹³æ§ã®åäžð¡ïž
AIã®åãããã€ã¢ã¹ãæ€åºãããããä¿®æ£ããããšãéèŠãªèª²é¡ã§ããRFTã掻çšããŠãAIã¢ãã«ã®ã»ãã¥ãªãã£ã匷åããåãã®ãªãå ¬å¹³ãªå€æãè¡ãAIãæ§ç¯ããããšãå¯èœã§ããããã«ããã瀟äŒçãªåœ±é¿åã倧ããåéã«ãããŠããå®å šã§å ¬æ£ãªAIãæäŸããããšãç®æããŸãã
ð§âð¬ Reinforcement Fine-Tuningãçã¿åºãæªæ¥ãšã¯ïŒ
Justin Reeããã¯ãä»åã®ãããžã§ã¯ããéããŠãRFTãéåžžã«å¹æçã§ãããšæããŠããŸããããããçæçã«ã¯ãåŸæ¥ã®ãã€ãªã€ã³ãã©ããã£ã¯ã¹ããŒã«ãšã01ã¢ãã«ããçµã¿åããããã€ããªããã¢ãããŒããæå¹ã§ãããšèããŠããŸããããã«ãããçŸå Žã§ã®ããŒãºã«æè»ã«å¿ãã€ã€ãAIã®æã€åŒ·åãªæšè«èœåãæ倧éã«æŽ»çšããããšãå¯èœã§ãã
ð¡ å°æ¥çãªç®æš
æçµçã«ã¯ããã®æè¡ãããã«çºå±ãããå°é家ã®æ¥åãããŒã«èªç¶ã«çµã¿èŸŒãããšã§ãåžå°çŸæ£ãæã€æ£è ãžã®å»çæ¯æŽãåäžãããããšãç®æããŠããŸãããã®ãããžã§ã¯ãã¯ãã®ç¬¬äžæ©ã§ãããä»åŸãããã«å€ãã®åéã§AIã掻çšãã人ã ã®ç掻ãæ¹åããåãçµã¿ãç¶ããŠãããŸããðâš
ð¡ ããªãã®åéã§ãRFTãè©ŠããŠã¿ãŸãããïŒ
ç§ãã¡OpenAIã¯çŸåšãAlphaããã°ã©ã ãéããŠä¿¡é Œã§ããããŒãããŒãã¡ãšãšãã«RFTããã¹ãäžã§ãããã®ããã°ã©ã ã¯ãè€éãªã¿ã¹ã¯ã«åãçµãã§ããå°éããŒã ã«ãšã£ãŠçæ³çãªãã®ã§ãã
ãAIã§èªåãã¡ã®æ¥åããã£ãšå¹çåããããããé«åºŠãªAIã¢ãã«ãèªåãã¡ã§ã«ã¹ã¿ãã€ãºãããããšèããŠããæ¹ã«ãšã£ãŠããŸãã«ãã®ããã°ã©ã ã¯ãŽã£ããã§ãã
èå³ã®ããæ¹ã¯ããã¡ããããç³ã蟌ã¿ãïŒð
https://www.youtube.com/watch?v=yCIYS9fx56U
ð æåŸã«ã¡ãã£ãšãããžã§ãŒã¯ãã²ãšã€âŠð
æè¿ãµã³ã¿ãããèªåé転ãœãªãè©ŠããŠãããããã ãã©ãã©ããæšã«ã°ããã¶ã€ãããã ã£ãŠâŠ
ãã®çç±ã¯ïŒð
ð Pine-tuneïŒãã€ã³ãã¥ãŒã³ïŒããŠãªããããïŒ ðð