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

MLOpsの「壁」を乗り越える、LINEヤフーの Data Quality as Code

MLOpsの「壁」を乗り越える、LINEヤフーの Data Quality as Code

データの品質はMLモデルの信頼性に関わる重要な指標ですが、サイエンティストと運用者の連携は容易ではなく、MLOpsをスケールアウトする上で運用面のボトルネックとなりやすいポイントです。このセッションでは、信頼性の高いMLモデル運用を効果的に実現する、LINEヤフーのData Quality as Codeの仕組みを紹介します。

More Decks by LINEヤフーTech (LY Corporation Tech)

Other Decks in Technology

Transcript

  1. ˜-:$PSQPSBUJPO .-0QTͷߏ଄త՝୊  .- 0QT ӡ༻ͷ৴པੑΛ௿Լ͍ͤͯ͞Δσʔλࣄނͷ55%ɾ55.͕௕ظԽ͢Δͷ͸ ։ൃऀ΍ӡ༻ऀͷೳྗ͕ݪҼͰ͸ͳ͘ ։ൃऀͱӡ༻ऀͰσʔλ඼࣭͕͏·͘ڞ༗Ͱ͖͍ͯͳ͍͜ͱ͕ݪҼ σʔλ඼࣭͕Θ͔Βͳ͍ 55%ɾ55.͕

    ѱԽ͠΍͍͢ σʔλ඼࣭ͷཁ݅ఆ͕ٛ ෆे෼ͳ··ϦϦʔε ͞Ε΍͍͢ σʔλ඼࣭վળͷ ίϛϡχέʔγϣϯϩε͕ ى͖΍͍͢ อकతͳ඼࣭؅ཧʹ େ͖ͳ޻਺Λׂ͚ͳ͍
  2. ˜-:$PSQPSBUJPO %2.- %BUB2VBMJUZ.PEFM-BOHVBHF  σʔλ඼࣭Ϟσϧ Λ ίʔυͰఆٛ͢ΔͨΊͷݴޠΛ։ൃ ඼ ࣭ ཁ

    ٻ ର৅ σʔλ9 ໨త Ϟσϧ.ͷֶश༻σʔλ ཁٻ ͋ΔϞσϧ.ͷֶशʹ࢖͏σʔλ9͸ɺ༗ޮͳֶश݁ՌΛಘΔͨΊʹ  ݅Ҏ্ͷσʔλ͕ͳ͚Ε͹ͳΒͳ͍ ඼ ࣭ ཁ ݅ ଌఆؔ਺ " ଌఆྔཁૉ" σʔλ9ͷ݅਺ ଌఆج४  ݅ΑΓଟ͘ͳ͚Ε͹ͳΒͳ͍ $PVOU NVTUCF ͜ͷʮσʔλ඼࣭Ϟσϧʯͱ͸ l*40*&$4PGUXBSFFOHJOFFSJOH 4PGUXBSFQSPEVDU2VBMJUZ3FRVJSFNFOUTBOE&WBMVBUJPO 42VB3& %BUBRVBMJUZNPEFMz Ͱఆٛ͞ΕΔ΋ͷΛࢦ͢ɻ
  3. ˜-:$PSQPSBUJPO %2.-ͷޮՌ  .- 0QT σʔλ඼࣭ͷఆ͔ٛΒ ࣗಈͰ੍ޚ 55%ɾ55.ͷվળ σʔλ඼࣭ͷཁ݅Λ ίʔυͰఆٛ͢Δ͚ͩͰ

    ੒Ռ෺ͷ඼࣭Λ޲্ ίʔυϕʔεͰ ඼࣭ͷ؅ཧͱվળΛ ܧଓతʹ࣮ࢪ ίʔυϕʔεͰ ඼࣭ཁ݅ͷվળ͚ͩʹूத ඞཁ࠷খݶͷ޻਺Ͱӡ༻ʹߩݙ %BUB$FOUSJDͳϓϩηεʹΑͬͯ.-0QTΛՃ଎
  4. ˜-:$PSQPSBUJPO ඼࣭ܭը ཁ݅ఆٛ ,VCFSOFUFTΧελϜϦιʔεͱͯ͠σʔλ඼࣭ϞσϧΛఆٛ  σʔλ඼࣭ཁ݅Λ%2.-ʹΑΔίʔυͰఆٛ͠ɺ:".-΍$6&ͳͲͷܗࣜͰ؅ཧ BQJ7FSTJPOEBUBRVBMJUZZBIPPDPKQWBMQIB LJOE %BUB2VBMJUZ.PEFM NFUBEBUB

     OBNF FYBNQMF TQFD EBUB4QFD USJOP UBCMF USBJO@EBUB@Y  SFRVJSFNFOUT  DPEF$PVOUNVTUCF   ϦιʔεͷϑΟʔϧυ͸εϥΠυ༻ʹলུɾมܗ͍ͯ͠ΔՕॴ͕͋Γ·͢ɻ
  5. ˜-:$PSQPSBUJPO ඼࣭ܭը ཁ݅؅ཧ (JU)VCͰόʔδϣϯ؅ཧɾ,VCFSOFUFTʹಉظ  σʔλ඼࣭Ϟσϧ%BUB2VBMJUZ.PEFM %2. BQJ7FSTJPOEBUBRVBMJUZZBIPPDPKQWBMQIB LJOE %BUB2VBMJUZ.PEFM

    NFUBEBUB  OBNF FYBNQMF TQFD EBUB4QFD USJOP UBCMF USBJO@EBUB@Y  SFRVJSFNFOUT  DPEF$PVOUNVTUCF   %2. FYBNQMF (JU)VC BQQMZ ,VCFSOFUFT $*$%Ͱݕূɾಉظ ϦιʔεͷϑΟʔϧυ͸εϥΠυ༻ʹলུɾมܗ͍ͯ͠ΔՕॴ͕͋Γ·͢ɻ
  6. ˜-:$PSQPSBUJPO ඼࣭ܭը ੩తղੳ "ENJTTJPO8FCIPPLͱ੩తղੳ  "ENJTTJPO8FCIPPLͰཁ݅Λ੩తղੳ ߏจղੳɾܕνΣοΫͳͲɺཁ݅ͷݕূ͕Մೳ BQJ7FSTJPOEBUBRVBMJUZZBIPPDPKQWBMQIB LJOE %BUB2VBMJUZ.PEFM

    NFUBEBUB  OBNF FYBNQMF TQFD EBUB4QFD USJOP UBCMF USBJO@EBUB@Y  SFRVJSFNFOUT  DPEF $PVOUXIFSFBHFJTlBCDz NVTUCF   %2. FYBNQMF BHFͷܕ͕OVNCFSͱTUSJOHͰিಥ͍ͯ͠Δ  "ENJTTJPO8FCIPPLʹΑͬͯ $SFBUF6QEBUF࣌ʹղੳ ΋͠Τϥʔ͕͋Ε͹ૢ࡞ΛϒϩοΫ͢Δ WBMJEBUF %2.-͸$6&ݴޠʹΠϯεύΠΞ͞ΕͨܕγεςϜΛ࣮૷͓ͯ͠Γɺ ܕਪ࿦Λߦ͍σʔλ඼࣭ཁ݅ͱͯ͠ໃ६͕͋Δ৔߹ʹΤϥʔΛใࠂ͢Δɻ ͜ͷྫͰ͸ɺϑΟʔϧυ͕਺஋͔ͭจࣈྻͱ͍͏ཁ݅͸͋Γಘͳ͍ͷͰɺ ܕγεςϜ͸OVNCFSͱTUSJOHͷিಥΛใࠂ͢Δɻ ,VCFSOFUFT (JU)VC ϦιʔεͷϑΟʔϧυ͸εϥΠυ༻ʹলུɾมܗ͍ͯ͠ΔՕॴ͕͋Γ·͢ɻ
  7. ˜-:$PSQPSBUJPO ඼੍࣭ޚ ධՁ ,VCFSOFUFTϦιʔεͰσʔλ඼࣭ධՁΛ࣮ߦ  σʔλ඼࣭ධՁ%BUB2VBMJUZ&WBMVBUJPO %2& BQJ7FSTJPOEBUBRVBMJUZZBIPPDPKQWBMQIB LJOE %BUB2VBMJUZ&WBMVBUJPO

    TQFD NPEFM3FG OBNF FYBNQMF %2& FYBNQMFYYYY  %2. FYBNQMF ,VCFSOFUFT %2&ϦιʔεΛ࡞੒ ධՁର৅ͷϞσϧΛࢀর SFG DSFBUF ϦιʔεͷϑΟʔϧυ͸εϥΠυ༻ʹলུɾมܗ͍ͯ͠ΔՕॴ͕͋Γ·͢ɻ
  8. ˜-:$PSQPSBUJPO ඼੍࣭ޚ ࣗಈଌఆ ඼࣭ධՁʹΑΔཁ݅ͷࣗಈଌఆ  BQJ7FSTJPOEBUBRVBMJUZZBIPPDPKQWBMQIB LJOE %BUB2VBMJUZ&WBMVBUJPO TQFD NPEFM3FG

    OBNF FYBNQMF 4&-&$5DPVOU '30.USBJO@EBUB@Y %2. FYBNQMF %2& FYBNQMFYYYY 8' FYBNQMFYYYYYYYY TUBUVT SFTVMUT  NFBTVSF$PVOU DSJUFSJB  WBMVF DPNQMJBOU GBMTF %2&3 FYBNQMFYYYY    %BUBTPVSDF  ,VCFSOFUFT ࣗಈͰϫʔΫϑϩʔΛ࡞੒ σʔλιʔεʹ߹ΘͤͯΫΤϦͳͲΛੜ੒ ཁ݅ͷධՁʹඞཁͳଌఆྔΛશͯࣗಈͰଌఆ ධՁ݁Ռͷ൓ө DSFBUF NFBTVSF TBWF ࣮ࡍ͸΋ͬͱෳࡶɺେྔͷଌఆྔΛ ॲཧͰ͖ΔΑ͏ʹ࠷దԽ͞ΕΔɻ ෳ਺ͷσʔλιʔεΛαϙʔτ͠ ࣾ಺ͷଟ͘ͷσʔλʹରԠ͍ͯ͠Δɻ ϦιʔεͷϑΟʔϧυ͸εϥΠυ༻ʹলུɾมܗ͍ͯ͠ΔՕॴ͕͋Γ·͢ɻ
  9. ˜-:$PSQPSBUJPO ඼੍࣭ޚ ΞϥʔτɾϨϙʔτ ධՁ݁Ռ͔ΒΞϥʔτɾϨϙʔτͷ࡞੒  BQJ7FSTJPOEBUBRVBMJUZZBIPPDPKQWBMQIB LJOE %BUB2VBMJUZ&WBMVBUJPO TQFD NPEFM3FG

    OBNF FYBNQMF TUBUVT SFTVMUT  NFBTVSF$PVOU DSJUFSJB  WBMVF DPNQMJBOU GBMTF %2& FYBNQMFYYYY 4MBDL %BUBCBTF 8FC"QQ   ඼࣭ʹҟৗ͕͋Γ·͢ʂ $PVOUNVTUCFHPU ,VCFSOFUFT 4MBDL౳ʹΞϥʔτ %#ʹଌఆྔ΍ධՁΛه࿥ աڈͷଌఆྔͷਪҠͷՄࢹԽ΍ ධՁͷ෼ੳϨϙʔτΛӾཡͰ͖Δ BMFSU QFSTJTU ϦιʔεͷϑΟʔϧυ͸εϥΠυ༻ʹলུɾมܗ͍ͯ͠ΔՕॴ͕͋Γ·͢ɻ
  10. ˜-:$PSQPSBUJPO ඼੍࣭ޚ ؂ࢹɾ੍ޚ ,VCFSOFUFTΧελϜϦιʔεͰσʔλ඼࣭ϞσϧΛఆٛ  BQJ7FSTJPOBSHPQSPKJPWBMQIB LJOE $SPO8PSLGMPX TQFD TDIFEVMFl!EBJMZz

    XPSLGMPX4QFD UFNQMBUFT  OBNFEBUBRVBMJUZFWBM SFTPVSDF BDUJPODSFBUF NBOJGFTU c BQJ7FSTJPOEBUBRVBMJUZ LJOE %BUB2VBMJUZ&WBMVBUJPO TQFD  NPEFM3FG OBNF FYBNQMF %2& FWBMFYBNQMFYYYY 8' FWBMFYBNQMFYYYY TUBUVT SFTVMUT  NFBTVSF$PVOU DSJUFSJB  WBMVF DPNQMJBOU GBMTF BQJ7FSTJPOEBUBRVBMJUZ LJOE %BUB2VBMJUZ&WBMVBUJPO TQFD NPEFM3FG OBNF FYBNQMF   ,VCFSOFUFT ϫʔΫϑϩʔ͔Β%2&Λ࡞੒ ධՁ݁Ռʹج͍ͮͯ෼ذɺ੍ޚ ྫɿϩʔϧόοΫɺதࢭͳͲ DSFBUF DPOUSPM ϦιʔεͷϑΟʔϧυ͸εϥΠυ༻ʹলུɾมܗ͍ͯ͠ΔՕॴ͕͋Γ·͢ɻ
  11. ˜-:$PSQPSBUJPO ඼੍࣭ޚ طଘγεςϜͱͷ౷߹ ඪ४తͳ,VCFSOFUFT"1*Λ࢖ͬͨ౷߹  %2& FWBMFYBNQMF 5BTL FWBMFYBNQMFYYYY TUBUVT

    SFTVMUT  NFBTVSF$PVOU DSJUFSJB  WBMVF DPNQMJBOU GBMTF BQJ7FSTJPOEBUBRVBMJUZ LJOE %BUB2VBMJUZ&WBMVBUJPO TQFD NPEFM3FG OBNF FYBNQMF   ,VCFSOFUFT "JSGMPX GSPN BJSGMPXJNQPSU %"( EBH%"( EBH@JElBJSGMPXFWBMz  FWBMVBUJPO %BUB2VBMJUZ&WBMVBUJPO0QFSBUPS OBNFlFWBMFYBNQMFz UBTL@JElFWBMFYBNQMFz NPEFM@OBNFlFYBNQMFz  EBHEBH FWBMVBUJPO ,VCFSOFUFT"1*Λ࢖͑͹ ೚ҙͷ֎෦γεςϜʹ؆୯ʹ౷߹Ͱ͖Δ DSFBUF DPOUSPM ϦιʔεͷϑΟʔϧυ͸εϥΠυ༻ʹলུɾมܗ͍ͯ͠ΔՕॴ͕͋Γ·͢ɻ
  12. ˜-:$PSQPSBUJPO ඼࣭վળ ϨϏϡʔ ,VCFSOFUFTΧελϜϦιʔεͰσʔλ඼࣭ϞσϧΛఆٛ  BQJ7FSTJPOEBUBRVBMJUZZBIPPDPKQWBMQIB LJOE %BUB2VBMJUZ.PEFM NFUBEBUB 

    OBNF FYBNQMF TQFD EBUB4QFD USJOP UBCMF USBJO@EBUB@Y  SFRVJSFNFOUT  DPEF$PVOUNVTUCF (JU)VC BQJ7FSTJPOEBUBRVBMJUZZBIPPDPKQWBMQIB LJOE %BUB2VBMJUZ.PEFM NFUBEBUB  OBNF FYBNQMF TQFD EBUB4QFD USJOP UBCMF USBJO@EBUB@Y  SFRVJSFNFOUT  DPEF$PVOUNVTUCF  DPEF.JOPGBHFNVTUCF   ίʔυϕʔεͰίϛοτɾϨϏϡʔ αΠΤϯςΟετͱӡ༻ऀ͕ ඇಉظͰίϛϡχέʔγϣϯ͠΍͍͢ $*$% DPNNJU  SFWJFX $*$%ͰͷಉظʹΑΓ ཁ͔݅Β੍ޚ·Ͱ඼࣭ͷҰ؏ੑΛอূ ϦιʔεͷϑΟʔϧυ͸εϥΠυ༻ʹলུɾมܗ͍ͯ͠ΔՕॴ͕͋Γ·͢ɻ
  13. ˜-:$PSQPSBUJPO %BUB2VBMJUZBT$PEF %2.-  • ,VCFSOFUFT$VTUPN3FTPVSDF • େྔͷϦιʔεΛॲཧͰ͖ΔΑ͏ʹίϯτϩʔϥΛ࠷దԽɺ ਺ઍΛΏ͏ʹ௒͑Δσʔλ඼࣭ϞσϧͷධՁΛ҆ఆͯ͠ॲཧ •

    %2.-ʢ%BUB2VBMJUZ.PEFM-BOHVBHFʣ • ܕγεςϜΛ׬උɺఆٛஈ֊Ͱ੩తղੳʹΑΔݕূ͕Մೳ • ༷ʑͳσʔλιʔεΛαϙʔτ͢ΔίϯύΠϥΛఏڙ ͋ΒΏΔσʔλʹରͯ͠ଌఆͱධՁ͕Մೳ
  14. ˜-:$PSQPSBUJPO %BUB2VBMJUZBTB4FSWJDF "$1%BUB2VBMJUZ  • 6OJWFSTBM • υϝΠϯಛԽಛఆͷ؀ڥʹґଘ͠ͳ͍ • อकੑΧελϜϦιʔεͱ%2.-ʹΑΔએݴతͳఆٛ

    • ൚༻ੑ,VCFSOFUFT"1*ʹ४ڌ͠೚ҙͷγεςϜʹ౷߹Մೳ • Ҡ২ੑҟͳΔ؀ڥͰ΋ಉ͡඼࣭ཁ݅ΛཁٻͰ͖Δ • ࣮૷ෆཁσʔλ඼࣭؅ཧͷ࣮ߦͷͨΊʹཁ݅Ҏ֎ͷ࣮૷͕͍Βͳ͍ • 4FSWFSMFTT • ଈ࣌ಋೖσʔλ඼࣭؅ཧΛਝ଎ʹಋೖ • ӡ༻ෆཁ௥Ճͷӡ༻࡞ۀͳ͠Ͱ඼࣭؅ཧʹूத • εέʔϥϏϦςΟͱߴՄ༻ੑ,VCFSOFUFTʹΑΔେن໛ల։͕Մೳ