Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PAKDD2023 Tutorial 2: A Gentle Introduction to ...

PAKDD2023 Tutorial 2: A Gentle Introduction to Technologies Behind Language Models and Recent Achievement in ChatGPT (Parts 3 and 4)

Jun Suzuki, Kyosuke Nishida, Naoaki Okazaki: "PAKDD 2023 Tutorial 2: A Gentle Introduction to Technologies Behind Language Models and Recent Achievement in ChatGPT," The 27th Pacific-Asia Conference on Knowledge Discovery and Data Mining (PAKDD 2023) , May 25, 2023.

Parts 1 and 2: https://www.fai.cds.tohoku.ac.jp/research/activities/
Parts 3 and 4: this deck.
Part 5: https://speakerdeck.com/chokkan/efforts-for-responsible-llms-pakdd-2023-tutorial-2

Kyosuke Nishida

May 25, 2023
Tweet

More Decks by Kyosuke Nishida

Other Decks in Research

Transcript

  1.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(1  5IV l 1BSU<JOUSPEVDUPSZ>-BOHVBHFNPEFMT -.T l 1BSU-BSHFMBOHVBHFNPEFMT --.T

    u 4QFBLFS 1SPGFTTPS+VO4V[VLJ 5PIPLV6OJWFSTJUZ u 4MJEFT IUUQTXXXGBJDETUPIPLVBDKQSFTFBSDIBDUJWJUJFT l 1BSU5FDIOPMPHJFT6OEFSMZJOH$IBU(15MJLF--.T l 1BSU3FDFOUBDIJFWFNFOUTJO$IBU(15MJLF--.T l 1BSU&GGPSUTGPS3FTQPOTJCMF--.T u 4QFBLFS1SPGFTTPS/BPBLJ 0LB[BLJ 5PLZP*OTUJUVUFPG5FDIOPMPHZ u 4MJEFT IUUQTTQFBLFSEFDLDPNDIPLLBOFGGPSUTGPSSFTQPOTJCMFMMNT QBLEEUVUPSJBM
  2.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(15  5IV $POUFOUT l 0QFO"* NPEFMTSFMFBTFEGPMMPXJO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1 <'FCSVBSZ > u "OUISPQJD))3-)'<#BJ "QSJM >
  22.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(15  5IV .15<MosaicML, May 5, 2023] l "OPQFOTPVSDF

    DPNNFSDJBMMZVTBCMF--. USBJOFEGSPNTDSBUDI PO5UPLFOTPGUFYUBOEDPEF l .15#NBUDIFTUIFRVBMJUZPG--B."#POTUBOEBSEUBTLT IUUQTXXXNPTBJDNM DPNCMPHNQUC
  23.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(15  5IV .15#4UPSZ8SJUFSL <MosaicML, May 5, 2023] l

    #VJMUCZGJOFUVOJOH.15#XJUIBDPOUFYUMFOHUIPGLUPLFOTUP SFBEBOEXSJUFTUPSJFTXJUITVQFSMPOHDPOUFYUMFOHUIT u $BOSFBEUIFFOUJSFUFYUPGl3PNFPBOE+VMJFUz<> XIJDIIBTBCPVUL UPLFOTVTJOH(15`TUPLFOJ[FS DML@CBTF  l 6TFT"-J#J <1SFTT "VHVTU>JOTUFBEPGQPTJUJPOBMFNCFEEJOHT UPIBOEMFTVDIMPOHDPOUFYUT <>IUUQTXXXHVUFOCFSHPSHDBDIFFQVCQHUYU
  24.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(15  5IV "-J#J "UUFOUJPOXJUI-JOFBS#JBTFT l CJBTFTRVFSZLFZBUUFOUJPOTDPSFTXJUIBIFBETQFDJGJDQFOBMUZUIBU JTQSPQPSUJPOBMUPUIFJSEJTUBODF https://arxiv.org/abs/2108.12409

    XIFSFTDBMBSNJTBIFBETQFDJGJDTMPQFGJYFECFGPSFUSBJOJOH <1SFTT 68BTIJOHUPO'"*3 "VHVTU > "MJ#JFOBCMFTUIF53"*/ 4)035 5&45-0/(DPODF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STDGN BCTUSBDU@JE
  30.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(15  5IV l (15 [FSPTIPUFWBM FYDFFETUIFQBTTJOHTDPSFPO64.-& 6OJUFE4UBUFT.FEJDBM-JDFOTJOH&YBNJOBUJPO CZPWFSQPJOUT

    IUUQTBSYJWPSHBCT QBTTUISFTIPMETBQQSPYJNBUFMZPG NVMUJQMFDIPJDFRVFTUJPOT (15QBTTFTNFEJDBMMJDFOTJOHFYBN</PSJ .JDSPTPGU .BZ>
  31.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(15  5IV l (15JTDPNQBSBCMFUPIVNBOQFSGPSNBODFPOBCFODINBSLPG VOTFFO QSPHSBNNJOHQSPCMFNTPO-FFU$PEF l (15BMTPQBTTFTNPDLUFDIOJDBMJOUFSWJFXTBUNBKPSUFDI

    DPNQBOJFTPO-FFU$PEF (15DPVMECFBTPGUXBSFFOHJOFFS<#VCCFL .JDSPTPGU .BSDI > QBTT!L NFBTVSFTXIFUIFSUIFNPEFM QSPEVDFTBDPSSFDUTPMVUJPOXJUIJOLUIBUUFNQUT (15TPMWFEBMMRVFTUJPOTJOPOMZ NJOVUFTPGUIFBMMPUUFE IPVST https://arxiv.org/abs/2303.12712
  32.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(15  5IV (15PVUQFSGPSNTDSPXEXPSLFST<1BO 6$# "QSJM > l (15BVUPNBUJPOPGTDFOBSJPMBCFMJOHJOBTPDJBMEFDJTJPONBLJOH

    UBTLBDIJFWFECFUUFSSFTVMUTUIBOIVNBOBOOPUBUPST IUUQTBSYJWPSHBCT 8IFOBOFOTFNCMFPGUISFF FYQFSUT JTDPSSFDU (15 PVUQFSGPSNTBOFOTFNCMFPG UISFFDSPXEXPSLFSTJO DBUFHPSJFT
  33.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(15  5IV 1FSGPSNBODFPOBDBEFNJDCFODINBSLT<0QFO"* > l (15BDIJFWFTWFSZIJHITDPSFTPOCFODINBSLTTVDIBTDIBSUT  EJBHSBNT

    BOEJOGPHSBQIJDT BMUIPVHIOPUZFUBUUIFIVNBOMFWFM 51 Human 80.78% 85.01% N/A N/A 98.1% 98.0% 89.61% N/A * Updated 70.5%* (DePlot) 90.1%* (BAIDU-DI) A: 4-shot, CoT prompting https://openai.com/research/gpt-4
  34.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(15  5IV (15`TESBXJOHT[Bubbek(Microsoft)+, March 22, 2023] IUUQTBSYJWPSHBCT l

    (15DBOESBXJNBHFTXJUIQSPHSBNNJOHMBOHVBHFT 1SPNQUl%SBXBVOJDPSOJO5JL;z 5IFSJHIUNPTUJNBHFJTBMBUFSWFSTJPOPG(15JOUSBJOJOH
  35.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(15  5IV (15`TESBXJOHT[Bubbek(Microsoft)+, March 22, 2023] IUUQTBSYJWPSHBCT l

    (15DBOESBXJNBHFTXJUIQSPHSBNNJOHMBOHVBHFT 1SPNQUl1SPEVDF+BWBDSJQU DPEF UIBUDSFBUFTBSBOEPNHSBQIJDBM JNBHFUIBUMPPLTMJLFBQBJOUJOHPG ,BOEJOTLZz $PNQPTJUJPO  BXPSLPGBSUCZ 8BTTJMZ,BOEJOTLZ
  36.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(15  5IV 7JTVBMEPDVNFOUVOEFSTUBOEJOH[OpenAI, March 14, 2023] l (15DBOSFBEBOETVNNBSJ[FEPDVNFOUJNBHFTBOEBMTPBOTXFS

    UIFRVFTUJPOBCPVUGJHVSFT l 5IJTBDIJFWFNFOUJTSFNBSLBCMFBTJUTVSQBTTFTUIFDBQBCJMJUJFTPG QSFWJPVTNPEFMTCZBTJHOJGJDBOUNBSHJO 56 User: Below is part of the InstuctGPT paper. Could you read and summarize it to me? GPT-4: The InstructGPT paper focuses on training large language models to follow instructions with human feedback. … User: Could you explain the process described in Figure 2? GPT-4: Figure 2 in the InstructGPT paper illustrates the three steps of their method: 1. Supervised fine-tuning (SFT): … 2. Reward model (RM) training: … 3. Reinforcement learning using Proximal Policy Optimization (PPO): … These three steps are iteratively performed to train the InstructGPT model, which aims to generate outputs that align better with human preferences and follow instructions more effectively. IUUQTBSYJWPSHBCT
  37.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(15  5IV MMBNBDQQ <(FPSHJ(FSHBOPW BOEDPOUSJCVUPST .BSDI ʙ> l

    *UFOBCMFT MBOHVBHFNPEFMTUPCFSVOPOB.BD#PPLVTJOHCJU JOUFHFSRVBOUJ[BUJPOXJUIPVUTJHOJGJDBOUQFSGPSNBODFEFHSBEBUJPO https://github.com/AUGMXNT/llm-experiments “q8” and “q4” means 8-bit and 4-bit quantization, respectively.
  38.  1",%%5VUPSJBM"(FOUMF*OUSPEVDUJPOUP5FDI#FIJOE-.TBOE3FDFOU"DIJFWFNFOUJO$IBU(15  5IV "VUP(15<5PSBO#SVDF3JDIBSETBOEDPOUSJCVUPST ʙ> l l4FMGQSPNQUJOHz UIFBCJMJUZUPEFWFMPQBOEFYFDVUFOFXQSPNQUT CBTFEPOJOJUJBMJOQVU

    XJMMCFBOFXUSFOEGPS--.T 6TFSTFU(PBMT  %PNBSLFUSFTFBSDIGPSEJGGFSFOUIFBEQIPOFTPOUIFNBSLFUUPEBZ  (FUUIFUPQIFBEQIPO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