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

嗜好伝達コミュニケーションの効率化を目指した伝達方式の検討/wsa7_local_prefer...

monochromegane
November 13, 2020

 嗜好伝達コミュニケーションの効率化を目指した伝達方式の検討/wsa7_local_preference

2020.11.13 Web System Architecture 研究会 (WSA研) #7
https://wsa.connpass.com/event/187128/

monochromegane

November 13, 2020
Tweet

More Decks by monochromegane

Other Decks in Technology

Transcript

  1. ࡾ୐༔հ / Pepabo R&D Institute, GMO Pepabo, Inc. 2020.11.13 Web

    System Architecture ݚڀձ (WSAݚ) #7 ᅂ޷఻ୡίϛϡχέʔγϣϯͷ ޮ཰ԽΛ໨ࢦͨ͠఻ୡํࣜͷݕ౼
  2. ར༻ऀͷૉੑ(feature)ͷ఻ୡͷํࣜͷݕ౼ 13 4ZTUFN -PDBM IUUQFYBNQMFDPNQSPEVDUT  IUUQFYBNQMFDPNQSPEVDUT  EFNPHSBQIJD@ 

    EFNPHSBQIJD@  EFNPHSBQIJD@  ʜ ʜ 4ZTUFN 4ZTUFN ,FZ7BMVFEBUBTUPSF γεςϜΛԣஅͨ͠ ૉੑͷ஝ੵ ʢӾཡ΍ධՁཤྺͳͲʣ
  3. ར༻ऀͷૉੑ(feature)ͷ఻ୡͷํࣜͷݕ౼ 14 4ZTUFN -PDBM IUUQFYBNQMFDPNQSPEVDUT  IUUQFYBNQMFDPNQSPEVDUT  EFNPHSBQIJD@ 

    EFNPHSBQIJD@  EFNPHSBQIJD@  ʜ ʜ        4QBUJBM #MPPN'JMUFS 4ZTUFN 4ZTUFN ,FZ7BMVFEBUBTUPSF ِཅੑ ݻఆ࣍ݩ
  4. ར༻ऀͷૉੑ(feature)ͷ఻ୡͷํࣜͷݕ౼ 18 4ZTUFN -PDBM IUUQFYBNQMFDPNQSPEVDUT  IUUQFYBNQMFDPNQSPEVDUT  EFNPHSBQIJD@ 

    EFNPHSBQIJD@  EFNPHSBQIJD@  ʜ ʜ 4ZTUFN γεςϜΛԣஅͨ͠ ૉੑͷ஝ੵ ʢӾཡ΍ධՁཤྺͳͲʣ ᅂ޷༧ଌϞσϧΛߏங -PDBM"HFOU
  5. ར༻ऀͷૉੑ(feature)ͷ఻ୡͷํࣜͷݕ౼ 19 4ZTUFN -PDBM IUUQFYBNQMFDPNQSPEVDUT  IUUQFYBNQMFDPNQSPEVDUT  EFNPHSBQIJD@ 

    EFNPHSBQIJD@  EFNPHSBQIJD@  ʜ ʜ 4ZTUFN 4ZTUFN ᅂ޷༧ଌϞσϧ -PDBM"HFOU ᅂ޷܏޲ͷ୅ཧԠ౴ ʢఏࣔൣғͷ੍ݶʹΑΔ ϓϥΠόγʔอޢ΋ʁʣ
  6. ར༻ऀͷૉੑ(feature)ͷ఻ୡͷํࣜͷݕ౼ 20 4ZTUFN -PDBM IUUQFYBNQMFDPNQSPEVDUT  IUUQFYBNQMFDPNQSPEVDUT  EFNPHSBQIJD@ 

    EFNPHSBQIJD@  EFNPHSBQIJD@  ʜ ʜ 4ZTUFN 4ZTUFN ᅂ޷༧ଌϞσϧ -PDBM"HFOU దԠతͳৼΔ෣͍
  7. ར༻ऀͷૉੑ(feature)ͷ఻ୡͷํࣜͷݕ౼ 23 4ZTUFN -PDBM IUUQFYBNQMFDPNQSPEVDUT  IUUQFYBNQMFDPNQSPEVDUT  EFNPHSBQIJD@ 

    EFNPHSBQIJD@  EFNPHSBQIJD@  ʜ ʜ        4QBUJBM #MPPN'JMUFS 4ZTUFN 4ZTUFN ,FZ7BMVFEBUBTUPSF ِཅੑ ݻఆ࣍ݩ
  8. • BloomFilter (Not spatial)ʹม׵ͨ͠ૉੑʹΑΔᅂ޷৘ใͷ఻ୡೳྗΛௐ΂Δ • ૉੑΛಛ௃ྔͱͯ͠༻͍ͨઢܗͳଟ࿹όϯσΟοτͷγϛϡϨʔγϣϯ • ֤ͨͩ͠࿹ͷઢܗύϥϝʔλ ͷਪఆ͸׬͍ྃͯ͠Δ΋ͷͱ͢Δ •

    ͷ֤࣍ݩͷਪఆ஋͸ॏෳ͢Δݩͷઢܗύϥϝʔλͷظ଴஋ͱͨ͠ • ݩͷૉੑͱൺֱͯ͠ఏҊख๏ͷૉੑͰɺͲͷఔ౓ਫ਼౓ʹมԽ͕͋Δ͔֬ೝ ̂ θa ̂ θa 24 ར༻ऀͷૉੑ(feature)ͷ఻ୡͷํࣜͷ༗ޮੑ arg max a xT a ✓a = arg max a ˆ xT a ˆ ✓a <latexit sha1_base64="C9U6jsIcKOV7vD9Wr6sjo2p5hj8=">AAADKnichZG7TtxAFIaPnQuwhLAkDRKNlRUo1WpMIoFAkVBoKLktIGGyGg+zuyM8tmXPLpCR8wB5AQqqRKJA0PMANKkjpVilpUGUIKVJwfElSgiEjGXPmf+cb/zPHDf0RKwI6Rrmg4ePHvf09pX6nww8HSwPPVuJg3bEeI0FXhCtuTTmnvB5TQnl8bUw4lS6Hl91t2bT/GqHR7EI/GW1G/INSZu+aAhGFUr18oHj820WSEn9Te3QqCnpTqIdSVUrCLUTSQu1D6noeEIKFSeloqquaWI5rtQ7SRq+y6G4oZeTJJUd1eKKZjnrjXUDalGlc/IO9FfyDz6plyukSrJh3Q7sIqhAMeaD8gk4sAkBMGiDBA4+KIw9oBDjsw42EAhR2wCNWoSRyPIcEigh28YqjhUU1S38NnG1Xqg+rtM944xm+BcP3whJC0bJN3JILskXckTOyc9/7qWzPVIvuzi7OcvD+uDH4aUf/6Ukzgpav6l7PStowGTmVaD3MFPSU7Cc77zfu1yaWhzVY+QzuUD/n0iXnOIJ/M4VO1jgi/v3+HHRC94YNsj+ux23g5Xxqv2qOr7wujLztmhVL4zAC3iJ/ZiAGZiDeagBM/oN25gyps1j86vZNb/npaZRMM/hxjDPrgHjidXg</latexit>
  9. ར༻ऀͷૉੑ(feature)ͷ఻ୡͷํࣜͷ༗ޮੑ 25 BDDVSBDZ      %JNFOTJPO 0SJHJOBM

                       EFOTJUZ EFOTJUZ EFOTJUZ EFOTJUZ EFOTJUZ 3BUFPG'1 %FOTJUZ  %FOTJUZ  %FOTJUZ  %FOTJUZ  %FOTJUZ  ີ౓͝ͱͷਫ਼౓ͷมԽ ࢀߟີ౓͝ͱͷِཅੑ཰ ࿹ɺύλʔϯͷઢܗύϥϝʔλʹର ͯ͋͠ΔίϯςΩετ͕ൃੜͨ͠৔߹ͷਫ਼౓ ͷมԽɻίϯςΩετ͸औΓ͏Δύλʔϯͷ ͏ͪ ύλʔϯΛαϯϓϦϯάͨ͠ ͳ͓ɺϋογϡؔ਺ͷ਺͸ৗʹk = 1
  10. ར༻ऀͷૉੑ(feature)ͷ఻ୡͷํࣜͷݕ౼ 27 4ZTUFN -PDBM IUUQFYBNQMFDPNQSPEVDUT  IUUQFYBNQMFDPNQSPEVDUT  EFNPHSBQIJD@ 

    EFNPHSBQIJD@  EFNPHSBQIJD@  ʜ ʜ 4ZTUFN 4ZTUFN ᅂ޷༧ଌϞσϧ -PDBM"HFOU ᅂ޷܏޲ͷ୅ཧԠ౴ ʢఏࣔൣғͷ੍ݶʹΑΔ ϓϥΠόγʔอޢ΋ʁʣ
  11. • ͻͱͭͷϒϧʔϜϑΟϧλ͸ Ϗοτͷ഑ྻ͔Β੒Δ • ཁૉ͸ ݸͷϋογϡؔ਺͔ΒಘΒΕΔ഑ྻͷఴࣈҐஔͷू߹ʹม׵͞ΕΔ • ू߹͸શཁૉͷ഑ྻͷఴࣈͷ࿨ू߹Λ1ͱ͢Δ഑ྻͱͯ͠දݱ͞ΕΔ m k

    36 ϒϧʔϜϑΟϧλʢཁૉͷ௥Ճʣ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 H1 (element1 ) = 0 H2 (element1 ) = 9 element1 Bloom filter(m = 10) Hash function(k = 2)
  12. • ͻͱͭͷϒϧʔϜϑΟϧλ͸ Ϗοτͷ഑ྻ͔Β੒Δ • ཁૉ͸ ݸͷϋογϡؔ਺͔ΒಘΒΕΔ഑ྻͷఴࣈҐஔͷू߹ʹม׵͞ΕΔ • ू߹͸શཁૉͷ഑ྻͷఴࣈͷ࿨ू߹Λ1ͱ͢Δ഑ྻͱͯ͠දݱ͞ΕΔ m k

    37 ϒϧʔϜϑΟϧλʢཁૉͷ௥Ճʣ 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1 H1 (element2 ) = 1 H2 (element2 ) = 9 element2 Bloom filter(m = 10) Hash function(k = 2)