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

クックパッドと NLP/CV/nlpaper-challenge

j.harashima
February 23, 2019
71

クックパッドと NLP/CV/nlpaper-challenge

j.harashima

February 23, 2019
Tweet

More Decks by j.harashima

Transcript

  1. ୈճOMQBQFSDIBMMFOHF/-1$7ަྲྀษڧձ
    ΫοΫύουͱ/-1$7
    ΫοΫύουגࣜձࣾݪౡ७

    View full-size slide

  2. ೥݄
    ೥݄
    ژ౎େֶࠇڮɾՏݪݚڀࣨ഑ଐ
    ΫοΫύουೖࣾɺαʔϏε։ൃ෦໳഑ଐ
    ത࢜ʢ৘ใֶʣऔಘ
    ΤϯδχΞʢ3VCZPO3BJMTػցֶशʣ
    ೥݄
    Ϧαʔνϟʔʢࣗવݴޠॲཧ৘ใݕࡧʣ
    ݪౡ७
    ೥݄
    Ϛωʔδϟʔʢਓࣄ޿ใࡒ຿ʜʣ
    ݚڀ։ൃ෦໳৽ઃɺಉ෦໳഑ଐ

    View full-size slide

  3. ͓࢓ࣄʢҰྫʣ

    View full-size slide

  4. ΫοΫύου
    Πϯλʔωοτ্ͰϨγϐͷ౤ߘɾݕࡧ౳͕Ͱ͖Δ
    ೔ຊ࠷େͷྉཧϨγϐαʔϏε

    View full-size slide

  5. Ԋֵ
    ೥݄ ༗ݶձࣾίΠϯʢݱΫοΫύουגࣜձࣾʣઃཱ
    ೥݄
    ೥݄
    ೥݄
    ೥݄
    ೥݄
    ೥݄ Ϩγϐͷ౤ߘɾݕࡧαʔϏεLJUDIFO!DPJO։࢝
    ΫοΫύουʹαʔϏε໊มߋ
    ೥݄ ϓϨϛΞϜαʔϏε։࢝
    Ϛβʔζ্৔
    ౦ূҰ෦ʹࢢ৔มߋ
    ϓϨϛΞϜձһ਺ສਓಥഁ
    ೥݄ ւ֎ల։Λຊ֨Խ
    ઃཱप೥

    View full-size slide

  6. ϓϨϛΞϜձһ਺ ݄ؒར༻ऀ਺ʢࠃ಺ʣ
    ݄ؒར༻ऀ਺ʢւ֎ʣ
    Ϩγϐ਺
    ສਓ
    ສ඼
    ສ඼
    ສਓ
    ສਓ

    View full-size slide

  7. DPPLQBETUVEJP

    View full-size slide

  8. ୈճOMQBQFSDIBMMFOHF/-1$7ަྲྀษڧձ
    ΫοΫύουͱ/-1$7
    ΫοΫύουגࣜձࣾݪౡ७

    View full-size slide

  9. Ԋֵ
    ೥݄ ༗ݶձࣾίΠϯʢݱΫοΫύουגࣜձࣾʣઃཱ
    ೥݄
    ೥݄
    ೥݄
    ೥݄
    ೥݄
    ೥݄ Ϩγϐͷ౤ߘɾݕࡧαʔϏεLJUDIFO!DPJO։࢝
    ΫοΫύουʹαʔϏε໊มߋ
    ೥݄ ϓϨϛΞϜαʔϏε։࢝
    Ϛβʔζ্৔
    ౦ূҰ෦ʹࢢ৔มߋ
    ϓϨϛΞϜαʔϏεձһ਺ສਓಥഁ
    ೥݄ ւ֎ల։Λຊ֨Խ
    ઃཱप೥
    ೥݄ ݚڀ։ൃ෦໳ൃ଍

    View full-size slide

  10. ݚڀ։ൃ෦໳
    /-1$7ʜ )BSEXBSF
    ࠓ೔͸ͪ͜Βͷ࿩ ݄͔Βࣄۀ෦໳ͱ
    ͯ͠εϐϯΞ΢τ

    View full-size slide

  11. ؔ࿈αʔϏε
    ͓·͔ͤ੔ཧ
    ०ͷ໺ࡊϨγϐ΍
    ϝΠϯʹ࢖͑ΔϨγϐ͕
    ͙͢ʹݟ͔ͭΔ
    "MFYBεΩϧ
    ࢖͍͍ͨࡐྉ͚ͩͰ
    ͙͢ʹ࡞ΕΔਓؾͷϨγϐఏҊ
    ྉཧ͖Ζ͘
    ࡱΔ͚ͩͰه࿥ʹʂ
    ͋ͳͨͷ͓ྉཧࣸਅΛ
    ࣗಈͰ੔ཧ
    Ϩγϐͷͦͷઌ΁
    ͓͍͍͠εϚʔτΩονϯ
    0J$Z

    View full-size slide

  12. ϨγϐʢςΩετʴը૾ʣ
    ϑΟʔυόοΫ΋ςΩετʴը૾
    /-1$7͸௒ॏཁ

    View full-size slide

  13. ΫοΫύουͷࡐྉ໊͸਺ඦສछྨ
    ɾϨγϐͷΧϩϦʔ౳Λܭࢉ͢Δࡍʹ໰୊
    &ODPEFS%FDPEFSͰਖ਼نԽ
    ɾDIBSBDUFSCBTFETUBDLFEVOJEJSFDUJPOBM-45.ʢ૚ʣ
    ɾͳ͓ɺCJEJSFDUJPOBM-45.ͱBUUFOUJPO͸ޮՌͳ͔ͬͨ
    ˒ ে ༉
    ΐ
    ͠ ͏ Ώ &08
    &08 ΐ
    ͠ ͏ Ώ
    ࡐྉ໊ͷਖ਼نԽ
    /
    -1

    View full-size slide

  14. Ϣʔβʔ͕ೖྗͨ͠λΠτϧΛ&NCFE
    ɾ֤୯ޠΛ&NCFEͯ͠ɺͦͷฏۉΛऔಘ
    ϨγϐΛݕࡧ
    ɾ&NCFEEJOH4QBDF಺ͰࣅͨλΠτϧΛ࣋ͭϨγϐΛ
    ɹΫοΫύουͷطଘͷϨγϐ͔Βݕࡧ
    ࡐྉ໊ΛϨίϝϯυ
    ɾݕࡧ͞ΕͨϨγϐ಺Ͱڞ௨͢Δࡐྉ໊ΛϨίϝϯυ
    ࡐྉ໊ͷϨίϝϯυ
    /
    -1

    View full-size slide

  15. खॱͷ෼ྨ
    /
    -1
    Ϩγϐͷ֤ௐཧखॱΛ5SVF4UFQͱ'BLF4UFQʹ෼ྨ
    ɾ໿ खॱΛλά෇͚ɺ-45.Λֶशʢਖ਼ղ཰ʣ
    ɾϨγϐͷಡΈ্͛౳ͷαʔϏεͰར༻

    View full-size slide

  16. ϨγϐΛͦͷछྨ΍ௐཧ๏ɺδϟϯϧɺʜͰ෼ྨ
    ɾछྨʢFH ೑ྉཧɺڕྉཧʣɺௐཧ๏ʢFH ࣽ෺ɺম෺ʣɺδϟϯϧʢFH ࿨ɺ༸ʣ
    ɾ෼ྨ݁Ռ͸ݕࡧ݁ՌͷߜΓࠐΈ౳Ͱར༻
    Ϟσϧ͸47.΍3'
    ɾλάʹ΋ґΔ͕ɺे෼ͳੑೳ
    ֶशσʔλ
    ɾΞϊςʔλʔ͕λά෇͚ͨ͠Ϩγϐ΍Ϣʔβʔ͕λά෇͚ͨ͠ϨγϐΛར༻
    Ϩγϐͷ෼ྨ
    /
    -1

    View full-size slide

  17. ࣾ಺ʹʢͨ·ͨ·ʣର༁ίʔύε͕͋ͬͨ
    ɾաڈͷαʔϏεͷҨ෺
    ɾ໿ ඼ͷ೔ӳର༁
    /.5<#BIEBOBVFUBM>Λςετ
    ɾ݁ՌɺαʔϏεԽͰ͖Δ΄Ͳͷ຋༁͸೉͍͠
    ɾͨ·ʹͦΕͳΓͷ຋༁͕ੜ੒Ͱ͖Δ͜ͱ΋
    ɹɾ೔ɿ֖·ͨ͸ΞϧϛϗΠϧͰམͱ֖͠Λͯ͠தՐͰৠ͠ম͖ʹ͠·͢ɻ
    ɹɾӳɿDPWFSXJUIBMJEPSBMVNJOVNGPJM BOETUFBNUIFDIJDLFOPONFEJVNIFBU
    Ϩγϐͷ຋༁
    /
    -1
    #BIEBOBVFUBM

    View full-size slide

  18. ͝ҙݟͷ෼ྨ
    ʮඒຯ͘͠Ͱ͖·ͨ͠ʂʯ
    ϙδςΟϒ
    Ϣʔβʔ͔Βͷ͝ҙݟΛࣗಈͰ෼ྨ
    ɾݸͷλάʹରԠʢݸͷ47.Λֶशʣ
    ɾ֬཰ͷߴ͍λάΛαδΣετɺελοϑͷ෼ྨ࡞ۀΛ൒ݮ
    /
    -1

    View full-size slide

  19. ྉཧ
    ඇྉཧ ඇྉཧ
    ඇྉཧ
    ਫ਼౓࠶ݱ཰
    ྉཧ͖Ζ͘͸ެ։೥Ͱສਓ͕ར༻
    ྉཧࣸਅͷݕग़
    ϢʔβͷεϚʔτϑΥϯ͔ΒྉཧࣸਅΛਂ૚ֶशͰݕग़
    $
    7

    View full-size slide

  20. WFS
    ɾ$B⒎F/FU
    ɾྉཧPSඇྉཧͷೋ஋෼ྨ
    WFS
    ɾ*ODFQUJPOW
    ɾྉཧ ২෺ ʜ PSඇྉཧͷଟ஋෼ྨ
    WFS
    ɾ*ODFQUJPOWQBUDIFEDMBTTJpDBUJPO
    ɾྉཧPSඇྉཧͷೋ஋෼ྨ
    ֶशσʔλ
    ɾਖ਼ྫɿΫοΫύουͷϨγϐͷը૾
    ɾෛྫɿϥΠηϯεϑϦʔͷछʑͷը૾ WFSͷೝࣝ݁Ռ
    ྉཧࣸਅͷݕग़ $
    7

    View full-size slide

  21. https://twitter.com/ohmycorgi/status/867745923719364609
    https://twitter.com/teenybiscuit/status/707727863571582978
    㾎͕Ϟσϧ͕ྉཧͱ൑ఆͨࣸ͠ਅ
    ྉཧࣸਅͷݕग़ $
    7

    View full-size slide

  22. ඇྉཧ
    ྉཧ ྉཧ
    ྉཧ
    ඇྉཧࣸਅͷݕग़
    Ϣʔβʔ͕౤ߘͨࣸ͠ਅ͔ΒඇྉཧࣸਅΛݕग़
    ྉཧࣸਅͷݕग़ͱಉ͡ϞσϧΛར༻
    ϢʔβʔʹΨΠυϥΠϯΛ௨஌
    ˞ඇྉཧͷ৔߹ɺՈ଒΍ϖοτͷөΓࠐΈ͕ଟ͍
    $
    7

    View full-size slide

  23. ૝૾Λ௒͑ΔʁτϚτϨλεཛͷ̏৭
    εʔϓ
    ؆୯τϚτεʔϓ
    ʢϛωετϩʔωʣ
    ৽ۄͶ͗ͱτϚτͷαϥμ
    ໨ࢦͤσϦ෩ʂϨλεͱτϚτͷα
    ϥμ
    ௒γϯϓϧʂτϚτͱେࠜͰ࿨෩
    ྫྷ੩ύελ
    τϚτͱ৽ۄͶ͗ͷͬ͞
    ͺΓϚϦω
    τϚτ
    ࡐྉࣸਅͷ෼ྨ
    ࡐྉࣸਅΛ໿छྨʹ෼ྨɺαʔϏε։ൃʹར༻ʢ༧ఆʣ
    $
    7

    View full-size slide

  24. Ϩγϐσʔλͷެ։
    ؔ

    τ
    ϐ
    ο
    Ϋ

    View full-size slide

  25. ར༻ঢ়گ
    ެ։લʢʙ೥݄ʣ

    େֶݚڀࣨ
    ެ։ޙʢ೥݄ʣ

    େֶݚڀࣨ
    ؔ

    τ
    ϐ
    ο
    Ϋ

    View full-size slide

  26. ྉཧݕग़෦໳
    ɾࣸਅதͷྉཧྖҬΛݕग़
    ྉཧ෼ྨ෦໳
    ɾྉཧࣸਅΛΫϥεʹ෼ྨ
    ͦ͏ΊΜ
    ͏ͲΜ
    ୈճ"*νϟϨϯδίϯςετ
    ؔ

    τ
    ϐ
    ο
    Ϋ

    View full-size slide

  27. +4"*$VQ
    ࡐྉࣸਅͷ෼ྨ
    ɾΧςΰϦʢFH ۄೢʣ
    ɾશ෦Ͱ ຕ
    ؔ

    τ
    ϐ
    ο
    Ϋ

    View full-size slide

  28. 8"5
    ؔ

    τ
    ϐ
    ο
    Ϋ

    View full-size slide

  29. ࿦จ΋ͪΒ΄Βͱ
    ؔ

    τ
    ϐ
    ο
    Ϋ

    View full-size slide

  30. ·ͱΊ
    ΫοΫύουͱ/-1
    ɾࡐྉͷਖ਼نԽɺࡐྉͷϨίϝϯυɺखॱͷ෼ྨɺϨγϐͷ෼ྨɺʜ
    ΫοΫύουͱ$7
    ɾྉཧࣸਅͷݕग़ɺඇྉཧࣸਅͷݕग़ɺࡐྉࣸਅͷ෼ྨɺʜ
    ࠷৽߸ͷಛू΋
    ੋඇ͝ཡ͍ͩ͘͞

    View full-size slide

  31. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ

    View full-size slide