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

Chatbot and NLP

Chatbot and NLP

ChatBotとNLP(自然言語処理について)

Transcript

  1. Agenda
    •  About myself
    •  Intro
    •  NLP & Chatbot
    •  NLP & Task oriented bot
    •  NLP & Operations
    •  NLP & Evaluations
    •  NLP & UX
    •  Future

    View full-size slide

  2. Name
    @brn (ꫬꅿ⨳ⵃ)
    Occupation
    ؿٗٝزؒٝسؒٝآص،٥ط؎ذ؍ـؒٝآص،
    Company
    Cyberagent ،سذؙأةآؔ AI Messenger
    OSS
    Contributor of V8
    About
    http://info.b6n.ch

    View full-size slide

  3. Disclaimer
    猘כ堣唒㷕统הַNLP㼔Ꟍךؒٝآص،דכזֻծ
    ׉׸׾崞欽׃׋فٗتؙزךPOזךד湫䱸涸זNLPך䪮遭חא
    ְגך鑧כקה׿ודֹתׇ׿ؽآطأ涸ח׮
    ת׋֮ת׶ⰻ鿇ך稢ְַ鑧׮דֹתׇ׿կ
    ⥞澛涸ז鑧ָً؎ٝחז׶תׅկ
    Intro

    View full-size slide

  4. 吳䒭⠓爡AI ًحإٝآٍ٦
    הְֲ؟؎غ٦ؒ٦آؑٝزך㶨⠓爡
    ⚺חB2Bぢֽثٍحز؟٦ؽأך䲿⣘٥盖椚٥麊欽׾遤ֲ
    ثٍحزنحز׮䲿⣘׃גֶ׶ծ荈搫鎉铂Ⳣ椚׾ろ׭גׅץג荈
    爡醡
    ת׋尣篖חثٍحزؔلٖ٦ة٦׮䫴ִגְ׷
    Intro

    View full-size slide

  5. Channels
    LINE٥Facebook٥Webך3فٓحزؿؓ٦ي
    Webכ㼔欽ؐ؍آؑحز׾ل٦آח㙵׭鴥׿ד׮׵ֲ
    Intro

    View full-size slide

  6. Operators
    尣篖חؔلٖ٦ة٦ָ䌢꽎
    نحزד鍑寸דֹזְ颵㉏װծؔلٖ٦ة٦׃ַ「ֽ׷ֿהָꨇ
    ׃ְ噟⹡׾「ֽ׷⦐➂然钠זו
    Intro

    View full-size slide

  7. Organaization
    Intro
    "EUFDI4UVEJP
    "*-BCP "ET#VTJOFTT
    "*#VTJOFTT

    View full-size slide

  8. NLP & ChatBot

    View full-size slide

  9. ثٍحزنحزفٗتؙزך⚥דNLPכוֲ⢪׻׸גְ׷ַ
    ⡦ָ铬겗זךַ
    NLP & ChatBot

    View full-size slide

  10. 植㖈ثٍحزنحزכ㣐ֹֻ⟃♴ך2אחⴓ겲דֹ׷
    •  ꧟锑
    •  ةأؙ䭷ぢ
    NLP & ChatBot

    View full-size slide

  11. ꧟锑
    暴㹀ךةأؙדכ搀ֻծ➂꟦ず㡦ך⠓鑧ך״ֲחثٍحزד꧟锑
    ׾遤ֲ
    Microsoftך׶׿ז瘝ָ剣せ
    ➙㔐כ《׶♳־זְ
    NLP & ChatBot

    View full-size slide

  12. ةأؙ䭷ぢ
    暴㹀ךةأؙ׾鍑寸ׅ׷״ֲחرؠ؎ׁٝ׸׋نحز
    FAQח瘶ִ׋׶ծ✮秈׾遤׏׋׶ׅ׷
    植㖈ؽآطأה׃ג《׶䪔׻׸׷ךכ⚺חֿ׍׵ךنحز
    NLP & ChatBot

    View full-size slide

  13. NLP &
    Task oriented bot

    View full-size slide

  14. ةأؙ䭷ぢ㼎鑧דוך״ֲח荈搫鎉铂Ⳣ椚׾崞ַַׅ
    植㖈⚺崧הז׏גְ׷2אךػة٦ٝ׾稱➜
    NLP & Task oriented bot

    View full-size slide

  15. FAQ
    剑׮㢳ְ؛٦أָثٍحزنحز׾ⵃ欽׃׋FAQ
    颵㉏ה瘶ִךل،הז׏גְ׷欽⢽׾欽䠐
    ぐ欽⢽ך颵㉏ה곁㹏ך颵㉏ך겲⡂䏝ַ׵剑׮أ؝،ך넝ְ瘶ִ׾
    鵤ׅ
    NLP & Task oriented bot

    View full-size slide

  16. Action bot
    ✮秈װ飑Ⰵ瘝׾遤ֲծ剑穄涸ח،ؙءّٝח籬ָ׷Bot
    NLPך䪮遭״׶׮⽃秪זءشٔؔד葺ְ؛٦أָ㢳ְ
    NLP & Task oriented bot

    View full-size slide

  17. זךד植㖈ثٍحزنحزחֶֽ׷荈搫鎉铂Ⳣ椚ך⳿〡כ
    葺׃䝤׃כה׮ַֻծFAQדךؕأةو٦؟ه٦زָً؎ٝח
    ז׏גְ׷
    NLP & Task oriented bot

    View full-size slide

  18. Logic
    FAQח瘶ִ׷نحزךٗآحؙכ⟃♴
    •  ؕأةو٦ך颵㉏ָ勻׷
    •  ׉׸׾كؙزٕ⻉
    •  ׅדחكؙزٕ⻉׃גְֶ׋欽⢽ؿ؋؎ٕה嫰鯰
    •  겲⡂أ؝،꠬ָ⦼⟃♳ך׮ך׾鵤⽱
    NLP & Task oriented bot

    View full-size slide

  19. word2vec
    ⽃铂׾ⴓ侔邌植הㄎל׸׷200如⯋קוךكؙزٕח㢌䳔ׅ׷׋
    ׭ךٓ؎ـٓٔ
    كؙزٕךぐ如⯋חכ׉ך⽃铂ך暴䗙׾呓秛׃גְ׷
    NLP & Task oriented bot

    View full-size slide

  20. 0.8, 0.32, 0.02, … 0.75
    匌❨
    0.6, 0.26, 0.83, … 0.56
    ػٔ
    ⽃铂ךⴓ侔邌植

    View full-size slide

  21. vector
    俑㶵׾كؙزٕהְֲ鎘皾〳腉ז⽃⡘ח㢌䳔דֹ׷ֿהד
    鎉铂Ⳣ椚׾كؙزٕך鎘皾ח衅הֿׅהָדֹ׷կ
    זךד⡂גְ׷⽃铂ず㡦׾كؙزٕךⰻ琎׾ה׏׋穠卓
    ״׶鵚ְ⦼חז׷״ֲח㷕统׃גְֻկ
    NLP & Task oriented bot

    View full-size slide

  22. NLP &
    Operations

    View full-size slide

  23. ⯓玎稱➜׃׋FAQך؛٦أדכ暴חFAQך麊欽ָꅾ銲חז׏גֻ
    ׷
    FAQך鷄⸇٥鐰⣣瘝׾䛎䌢涸ח遤ִזְה䚍腉笝䭯כꨇ׃ְ
    NLP & Operations

    View full-size slide

  24. 暴חثٍحزنحز׾㼪Ⰵ׃׋ָծ麊欽ֲָתְַֻ׆ח䫎־⳿
    ׅػة٦ٝ׮穠圓㢳ְ
    暴ח1~2䎃⵸כ堣唒㷕统װر؍٦فٓ٦صؚٝ׾꽀⢪׃׋ثٍح
    زنحزח㼎׃ג㣄׾䫴ְגְ׷곁㹏׮㢳ַ׏׋ָծ
    ➙כ汤ְ湡׾׫׋׶1ワ׃ג植㹋涸ז湡简ךؽآطأָ㟓ִ
    גְ׷
    孡ָׅ׷
    NLP & Operations

    View full-size slide

  25. AI ًحإٝآٍ٦דכFAQ鏣鎘㼔Ꟍךث٦يָ֮׶
    نحزך䧭籐׾鋅זָ׵FAQך鷄⸇ծ刿倜׾遤׏גְ׷
    ♧鋅⽃秪זؔلٖ٦ءّٝח鋅ִ׷ָծ
    ٌرٕך暴䚍欽⢽הךوحثؚٝך➬穈׫׾֮׷玎䏝椚鍑׃
    ׋♳דثُ٦صؚٝ׾׃זְה䧭籐׾♴־׷ֿהחז׶ַיזְ
    ךד⟃㢩ה㣐㢌
    NLP & Operations

    View full-size slide

  26. NLP & Evaluation

    View full-size slide

  27. ثٍحزنحزך䚍腉׾寸׭׷׋׭חכ鐰⣣ָ䗳銲
    •  ו׸׌ֽ姻然חِ٦ؠ٦ך䠐㔳ח黝׃׋،ٝ؟٦ָ鵤ׇ׋ַ
    •  FAQؿ؋؎ٕ荈⡤ך姻然䚍
    ׃ַ׃ֿ׸׵ך鐰⣣כꬊ䌢חꨇ׃ְ
    NLP & Evaluation

    View full-size slide

  28. Evaluate model
    ثٍحزنحزךٌرٕ鐰⣣ָꨇ׃ְ椚歋
    •  欽⢽ؿ؋؎ٕ荈⡤ָ䌢ח刿倜ׁ׸גְ׷
    •  劢濼ך颵㉏ח㼎ׅ׷䚍腉ぢ♳ָ庠׶ב׵ְ
    NLP & Evaluation

    View full-size slide

  29. Evaluate FAQ
    FAQؿ؋؎ٕך鐰⣣ָꨇ׃ְ椚歋
    •  نحزךٌرٕח䕦갟ׁ׸׷
    •  ׉ך颵㉏ח㼎ׅ׷،ٝ؟٦ָ劤䔲ח׻ַ׶װַׅ׏׋ךַⴻ
    㹀דֹזְ
    •  ؙٓ؎،ٝزך؟٦ؽأⰻ㺁ָ㢌׻׏׋㜥さח♧儗涸ח䚍腉
    ָ♴ָ׏׋ַך״ֲח鋅ִ׷
    NLP & Evaluation

    View full-size slide

  30. AI ًحإٝآٍ٦דכֿך鴟׮ְ׹ְ׹䊨㣗׃גְ׷
    ➙ךثٍحزنحز噟歲כ׍׳׏ה侧㶵ָ切僳זֿהָ㢳ְ
    הְֲַ噟歲垥彊ך鎘庠㛇彊ָזְךד䎢デהַכ֮׷
    ׃׏ַ׶ה׃׋鐰⣣㛇彊׾⡲׏גְֻֿהָ㣐✲
    NLP & Evaluation

    View full-size slide

  31. ثٍحزنحزך䚍腉׾寸׭׷ךכٌرٕך䚍腉װ欽⢽ؿ؋؎ٕ
    ךㅷ颵׌ֽדכזְ
    ׉׸׵׾ろ׭׋ծثٍحزךUIծءشٔؔך圓䧭瘝ך筨さ涸ז
    UX׾罋ִ׷ֿהָꅾ銲חז׏גֻ׷
    NLP & Evaluation

    View full-size slide

  32. Bot choice
    نحزח겲⡂䏝وحثד鵤⥋ׅ׷꠬⦼׾鏣ֽגְ׷㜥さծ
    ׉ך꠬⦼⟃♴דכ鵤⥋׃זֻז׏ג׃תֲָծ
    ꠬⦼׾♴־ֺׅ׷ה꟦麩ִ׋瘶ִ׾鵤ׅ〳腉䚍ָ넝ֻז׷
    NLP & UX

    View full-size slide

  33. Customer choice
    זךדծ姻鍑ך〳腉䚍ָ⚥玎䏝ך㜥さחכծؕأةو٦ח鼅䫛肇
    ׾⳿׃ג鼅׿ד׮׵ֲ״ֲז㹋鄲חז׏גְ׷
    NLP & UX

    View full-size slide

  34. Recommendation
    ֮׷ؔٝٓ؎ٝآُؒٔ٦ءّحفדך⢽
    فٖئٝزד⡦׾顠׏׋׵ְְַ׻ַ׵זְ歑䚍ך׋׭חآُؒ
    ٔ٦ך䱿讂׾遤ֲنحز
    ֿךنحزכNLP׾ⵃ欽ׇ׆ծءٝفٕזءشٔؔח״׏ג㾜Ꟛ
    ׅ׷կ
    NLP & UX

    View full-size slide

  35. Reception
    ׅץג肤㹀ך鼅䫛肇ך׫׾欽䠐ׅ׷
    •  כְծ׃׳ֲָזְז
    곁㹏ך鼅䫛׾釈׭׷
    •  ַ׻ְְדׅ״יծֹ׸ְדׅ״י
    NLP & UX

    View full-size slide

  36. ֿ׸׵׾渿׶鴥׿׌ءشٔؔד
    곁㹏חה׏ג״׶弫駈䠬ך֮׷䱸㹏׾⡤꿀׃ג׮׵ֲ
    NLP & Evaluation

    View full-size slide

  37. ثٍحزنحزהְֲؽآطأךꨇ׃ׁ
    •  ׉׮׉׮ثٍحزד֮׷䠐㄂
    •  植朐㢳ֻךثٍحزنحزחְֶגNLPך䪮遭כ넝礵䏝זⰋ
    俑嗚稊ؒٝآٝה׃ג׃ַ堣腉׃גְזְ
    곁㹏כ醱꧟זةأؙ׾⽃秪חֿזׇ׷ֿה׾ثٍحزח実׭גְ
    ׷כ׆
    FAQ׌ֽ׾耀ֹ׋ְ鏬דכזְ
    Future

    View full-size slide

  38. 劢勻׾鋅䰘ִ׋ثٍحزنحز
    •  ثٍحزהְֲUI׾؝ىُص؛٦ءّٝ⟃㢩פה䎢־׷
    •  㹋欽涸ד֮׶ثٍحزך׫ד㸣穠דֹ׷
    •  䘯黝ח؝ىُص؛٦ءָّٝדֹ׷
    Future

    View full-size slide

  39. ֿ׸׵׾㹋植ׅ׷׋׭ח
    AIًحإٝآٍ٦דכぐ㣐㷕ה欵㷕鸬䵿ד㼎鑧䪮遭ծ灇瑔׾遤ְ
    ؕأةو٦؟ه٦ز׾㢌ꬠׅ׷״ֲז؟٦ؽأ׾湡䭷׃גְ׷
    欵㷕鸬䵿
    •  匌⻌㣐㷕✜侄䱇
    •  㣐ꢻ㣐㷕瀖랲侄䱇
    Future

    View full-size slide

  40. ׀幠耮֮׶ָהֲ׀ְׂת׃׋

    View full-size slide