前回の記事ã§ã触ãã¾ããããããæè¿ããããéè¦äºæ¸¬ç³»ã®ãã¼ã±ãã£ã³ã°ã¢ãã«ï¼ç¹ã«Media Mix Modeling: MMMï¼ãææãããã¨ãå¢ãã¦ãã¾ãã
ãã®æã®çµ±è¨ã¢ãã«ã¯çµæ¸å¦ã§è¨ãã¨ããã®ãå®è¨¼åæãã«å½ããã¨æãããä¸è¬ã«ã¯ãäºæ¸¬ããããã説æãã«ç¨ãããããã¨ãå¤ãã§ããããå ·ä½çã«è¨ãã°ãå帰ã¢ãã«ãæ¨å®ããä¸ã§åã ã®å¤æ°ã®ãã©ã¡ã¼ã¿ãæ¯è¼ãã¦ãä¾ãã°ããã¸ã¿ã«åç»åºåããã£ã¨å¼·åããæ¹ãè¯ããã¨ãããããªãã¼ã±ãã£ã³ã°ä¸ã®ç¤ºåãå¾ããã¨ãããããªç®çã§ç¨ãããã¾ãã
ã¨ããããããã¾ãååã®è¨äºã§è§¦ããéãã§ãããã®ã¢ãã«ã«åºã¥ãã説æãã«ã¯ãã©ããã¦ããç¾ çéå¹æãã®åé¡ãçãå¾ã¾ããå³ã¡ãåããã¼ã¿ã»ããã«å¯¾ãã¦ä¼¼ããããªæ§è½ã示ãå帰ã¢ãã«ãè¤æ°ä¸¦ã³ç«ã£ãå ´åãã©ã®ã¢ãã«ã®ã説æããåªå ãã¹ããï¼ã¨ããåé¡ã§ããããã¯ç´ç²ã«çµ±è¨çå¦ç¿åéã®åé¡ã¨ãã¦æããã°ããç¨åº¦ã·ã³ãã«ãªã¢ããã¼ãã«å¸°çãããããã®ã§ã¯ãªããã¨æãã®ã§ãããå®éã®ãã¸ãã¹ã·ã¼ã³ã«ããããã¼ãºãèããã¨æå¤ã¨è¤éãªåé¡ã«ãªã£ã¦ãã¾ãã¨ããå°è±¡ãããã¾ãã
ã¨ãããã¨ã§ãä»ç¾å¨åèªèº«ãããã¼ã±ãã£ã³ã°ã¢ãã«ã®ç¾ çéå¹æãã«ã¤ãã¦æ±ãã¦ãã課é¡æèããã¨ã«ãèãããã¨ã調ã¹ã¦ã¿ããã¨ããã®è¨äºã§ã¯ç°¡åã«ã¾ã¨ãã¦ã¿ããã¨æãã¾ãããã£ã¦ãããã«æãã£ã課é¡ã«ã¤ãã¦ãããããã®è§£æ±ºçãããããã¨ããæ¡ããããã®æ¹ã¯ãæ¯éã³ã¡ã³ããªãã§åã«ãç¥ããããã ããã¨å¤§å¤ã«æé£ãã§ãã
ã¾ãä¹
ãã¶ãã«è«æãèªãåã§ãããã®ã§ãæããã«ããã®èªã¿æ¹ãç解ãééã£ã¦ããã¨ãåæãããããã¨ãããæ°ä»ãã®ç¹ãããã¾ãããåæ§ã«ã³ã¡ã³ããªãã§ãææãã ããm(_ _)m
- ç¾å®ã®ãã¸ãã¹ã·ã¼ã³ã§ãããã¡ãªãã¨
- ä¸è¬çãªäº¤å·®æ¤è¨¼ãã¼ã¹ã®ã¢ããã¼ã
- æ©æ¢°å¦ç¿ããã¦XAIã®æèããè¦ãã解決çãã«ãªããããªãã¢ããã¼ã
- ææ³ãªã©
ç¾å®ã®ãã¸ãã¹ã·ã¼ã³ã§ãããã¡ãªãã¨
éè¦äºæ¸¬ç³»ã®ãã¼ã±ãã£ã³ã°ã¢ãã«ã¨ããã¨ãä¸è¬ã«ã¯å²ã¨ãã¤ã¬ãã«ï¼ããããå½¹å¡ä¼ãªã©ï¼ãªææ決å®ã®ææã¨ãã¦ç¨ãããããã¨ãå¤ãã®ã§ãããå¾ã¦ãã¦ããããã¬ãã«ã«ãªãã¨ãçµ±è¨å¦ãæ©æ¢°å¦ç¿ã®ç´ é¤ãæ®ã©ãªãã¹ãã¼ã¯ãã«ãã¼ãã°ããã«ãªããã¡ãªãã®ãããããã¨ããã¢ãã«ãã®ãã®ã®å¦¥å½æ§ãããããã¢ãã«ã®è§£éã®ãããããã¨ããå ´åã«ãã£ã¦ã¯ãã¢ãã«ãã解éãããçµæãå®éã®ãã¸ãã¹ã¢ã¯ã·ã§ã³ã«ç¹ãããããã©ãããã«ãã£ã¦ãã¢ãã«é¸æãåªå
ããããã¨ãããã¾ãã
ããããã¨ä½ãèµ·ãããã¨ããã¨ããå¤æ°ãããç¨åº¦çµãè¾¼ãã æ±åæ§è½ã®é«ãã¢ãã«ãããããããããããã¨å¤æ°ã沢山çªã£è¾¼ãã§éå¦ç¿ãã²ã©ããªã£ãæ±åæ§è½ã®ä½ãã¢ãã«ãã®æ¹ããåå¥ã®ç´°ãããã¸ãã¹ã¢ã¯ã·ã§ã³ã«è½ã¨ãè¾¼ã¿ããããã¨ãããã¨ã§é¸ã°ãã¦ãã¾ããã¨ããããã§ããã
ããããã¨ããã®è¨äºã§æãã7ã¤ã®ãã¼ã¿ãµã¤ã¨ã³ã¹ã®å¤±æä¾ã®2ã¤ç®ã®ãããªäºæ
ã«é¥ãããã¾ããããã®ãããªäºæ
ãé¿ããããã«ãã¢ããªã³ã°ãä»»ãããå´ã¨ãã¦ã¯äºåã«ããç¨åº¦ãã£ããã¨ããcriteriaãè¨ãã¦ãããã°ãã¢ãã«ããé¸ã°ããªãããã«ããã¨ããäºé²ç·ãå¼µãå¿
è¦ãããã¨ãå人çã«ã¯ãã¤ãèãã¦ãã¾ãã
ä¸è¬çãªäº¤å·®æ¤è¨¼ãã¼ã¹ã®ã¢ããã¼ã
ã§ã¯ãããã°ãã¢ãã«ããé¸ã°ããªãããã«ããã«ã¯ã©ãããã¹ãã§ãããããããã¯çµ±è¨çå¦ç¿ã¢ãã«ãç¨ãã以ä¸å½ããåã®è©±ãªãã§ãããæ®éã¯äº¤å·®æ¤è¨¼ãããã¦æãæ±åæ§è½ã«åªããã¢ãã«ãé¸æãããã®ã¢ãã«ã®ã説æããæ¡ç¨ããã¨ããã¢ããã¼ããåãã¾ãã
ã¡ãã£ã¨ç°¡åãªä¾ãæãã¦ã¿ã¾ããããä¾ãã°ããã3ã¤ã®èª¬æå¤æ°ã§è¡¨ç¾å¯è½ãªç·å½¢å帰ã¢ãã«ãèãã¾ããç®çå¤æ°ããããããã®3ã¤ã®èª¬æå¤æ°ã¨ããããã®éã¿ã¥ããã©ã¡ã¼ã¿[1.0, -1.5, 1.0]ããæãã¢ãã«ã®åºåã«æ£è¦åå¸ã«å¾ãé©å½ãªä¹±æ°ãå ããã ãã®ãã®ãªã®ã§ãããæå³ããããçã®ã¢ãã«ãã§ãã
å¦ç¿ãã¼ã¿ã¸ã®RMSEã¯3.0åå¾ã交差æ¤è¨¼ãã¼ã¿ã¸ã®RMSEã¯3.2åå¾ã§ãããã®ã¢ãã«ã®3ã¤ã®å¤æ°ã«å¯¾ãã¦æ¨å®ããããã©ã¡ã¼ã¿ï¼åå帰ä¿æ°ï¼ãè¦ãã¨ããããªãã¾ããç®çå¤æ°ãçæããæã«è¨å®ããçã®ãã©ã¡ã¼ã¿ã¨å¤§ä½ä¼¼ããããªå¤ã«ãªã£ã¦ãã¾ã*1ã
ããã«å¯¾ãã¦ãé©å½ãªï¼ã¤ã¾ããã¿ã©ã¡ãªï¼ä¹±æ°ãããªãæ°ããªèª¬æå¤æ°ã6ã¤è¿½å ãã¾ãããããã¯å ¨ã¦ãã ã®ãã¯ã¤ããã¤ãºãªã®ã§ãç´ æ´ã«èããã°ã¢ãã«ã«ã¯å¯ä¸ããªãããã«æãããã®ã§ãããå®éã«ã¯ä»¥ä¸ã®ããã«ãªãã¾ãã
ä»åº¦ã¯å¦ç¿ãã¼ã¿ã¸ã®RMSEã¯ã»ã¼0ã§ããã®ã«å¯¾ãã¦ã交差æ¤è¨¼ãã¼ã¿ã¸ã®RMSEã¯13.5åå¾ã«è·³ãä¸ããã¾ãããã®ã¢ãã«ã®3ï¼6ã¤ã®å¤æ°ã«å¯¾ãã¦æ¨å®ããããã©ã¡ã¼ã¿ãè¦ãã¨ããããªãã¾ãã
ãã ã®ãã¯ã¤ããã¤ãºã§ãããªãå¾çºã®6ã¤ã®èª¬æå¤æ°ã«å¯¾ãã¦é大ãªãã©ã¡ã¼ã¿ãæ¨å®ããã¦ããã ãã§ãªããå ã ã®çã®ã¢ãã«ã«å«ã¾ãã¦ãã3ã¤ã®èª¬æå¤æ°ã«å¯¾ãããã©ã¡ã¼ã¿æ¨å®å¤ãçã®å¤ããå¤§å¹ ã«ããé¢ãã¦ãããã¨ãåããã¾ã*2ã
ã¨ãããã¨ã§ããã®å ´å1ã¤ç®ã¨2ã¤ç®ã®ã¢ãã«ã®ã©ã¡ããé¸ã¶ã¹ããï¼ã¨è¨ããããã誰ã§ãæ®éã¯1ã¤ç®ãé¸ã¶ã¯ãã§ããããã¦ãã®æ ¹æ ã¨ãã¦ã交差æ¤è¨¼èª¤å·®*3ãããå°ãããããã¨ããçç±ãæãããã¨ã«ãªãã§ãããã
ããã¾ã§ã¯ãããµããã¢ãã«é¸æã®è©±é¡ãªã®ã§ãããå®éã®ãã¼ã±ãã£ã³ã°ã¢ãã«éç¨ã®å ´é¢ã§ã¯çµæ§é¢åãªäºæ ãèµ·ããã¾ããè¯ãããã®ããå ã å¤æ°ã®èª¬æå¤æ°ããã£ã¦ããã¡ã¤ã³ç¥èããã®ä»ã®åºæº*4ã«åºã¥ãã¦å ç®ãã¦ãã¼ã¸ããnåã®èª¬æå¤æ°ã«ã¾ã¨ããã¨ããæ¹éãåã£ããã¨ããããå¤æ°å士ã®ã¾ã¨ãæ¹ã¯ç°ãªããåãnåã®èª¬æå¤æ°ããæãã¢ãã«ãè¤æ°åºæ¥ä¸ãããããããã®ç°ãªãã¢ãã«å士ã§äº¤å·®æ¤è¨¼èª¤å·®ãã»ã¼åããã¨ãããã¿ã¼ã³ã§ãã
ãã®å ´åãã使ã£ã¦ãã説æå¤æ°ã¯ç°ãªããã¢ãã«ã®ç¹å¾´é次å
ã¯åãã§å°ä¸ã¤æ±åæ§è½ãã»ã¼åçãã¨ãããã¨ã«ãªããæåéãã®ãç¾
çéå¹æããçãããã¦ããããã§ããããã§ã¯äº¤å·®æ¤è¨¼ããã ãã§ã¯ã¢ãã«é¸æã®ããããããã¾ãããã§ã¯ãã©ããããè¯ãã®ã§ããããï¼
æ©æ¢°å¦ç¿ããã¦XAIã®æèããè¦ãã解決çãã«ãªããããªãã¢ããã¼ã
ãããããç¾
çéå¹æãã解決ããæ¹æ³è«ã¯ãªããã®ããªã¨è²ã
ã°ã°ããªãã調ã¹ã¦ããããããä¸ã¤ã®ç 究ã«è¡ãå½ããã¾ãããRudinã®"Rashomon curves & volumes"ã§ãã
1ã¤ç®ã¯PFN社さんのKDD2019参加報告記事ã§ç´¹ä»ããã¦ãããã®ã§ããã¾ãã¾å çãã¨ç¥å¶å çãããè«æã«ãªã£ããã®ãããããã¨æãã¦ããã ããã®ã2ã¤ç®ã§ãã
ãªãããã®å 容ã¯KDD2019ã®Rudinã«ããKeynote talkã§ããããã®recordingå ¨ä½ã¨ã¹ã©ã¤ãã®ããããYouTubeã«ä¸ãã£ã¦ãã¾ããè«ææ¬ä½ã¯å²ã¨ã¬ããã¬ãã®çè«ãã¼ããæºè¼ã§æ°å¦ã大ã®è¦æãªæã身ã¨ãã¦ã¯ãè«æãèªãããã¯ã¹ã©ã¤ããèªãæ¹ãæ ¼æ®µã«ç解ããããã§ãã
ã¾ãTowards Data Scienceã«ãç¾ çéå¹æã«è§¦ããè¨äºãããã端çãªèª¬æã§åãããããã§ããã¶ãã¨çµè«ã ãç¥ãããã¨ããæ¹ã¯ãã¡ãã ãèªãã æ¹ãæ©ãããããã¾ããã
ã§ããããã®è«æãè³æãèªãã ãã在ロンドンのtmaeharaさんから色々ご解説をいただいたりãã¦ã大æ ãç解ããå°è±¡ãææµã§æ¥µãã¦å¤§éæã«ã¾ã¨ããã¨ããã¼ã¿ã»ãããã¨ã«æ§ã ãªãå¯è½ãªã¢ãã«ç©ºéããåå¨ãå¾ã¦ãããã®ä¸ã®ã大ä½åããããã®ãã¹ãã®äºæ¸¬æ§è½ãçºæ®ã§ããã¢ãã«ç©ºéã(Rashomon set)ã¨ã®æ¯ç(Rashomon ratio)ã大ãããã¼ã¿ã»ããã»ã©ãããã¹ãã®æ§è½ãã¤ããã·ã³ãã«ãªã¢ãã«ããé¸ã¹ãå¯è½æ§ãé«ããã¨ãã話ã®ããã§ãã
ãã®åå¸ã®ãããªãã®ã表ãããã«ã横軸ã«çµé¨çãªã¹ã¯*5ï¼ç¸¦è»¸ã«å¯¾æ°Rashomon ratio*6ãåããã¢ãã«ã®è¤éããé«ããªããæãã¦ãã£ãã®ãRashomon curveã¨ã®ãã¨ã§ããä¸ã®å³ã¯å è«æã®Figure 11ããåã£ã¦ãããã®ã§ãæåãªæ©æ¢°å¦ç¿ãã¼ã¿ã»ãããã¡ã«å¯¾ãã¦ããããã«Rashomon curveãæãããã®ã¨èª¬æããã¦ãã¾ãã
ããããã¨ããæå³å½ç¶ã§ãããä¾ãã°ãã ã®åå帰ããé ã ã«ã¢ãã«ã®è¤éæ§ãä¸ãã¦ãããã¨ãèããã¨ãçµé¨çãªã¹ã¯ãååã«ä¸ãã£ã¦ããã¾ã§ã¯ãã°ãã横ã°ãï¼Îåã®æ¨ªæ£ï¼ã«æ¨ç§»ããããç¨åº¦çµé¨ãªã¹ã¯ãååã«ä¸ããã¨ãã以ä¸ã¯ä¸ãããªããªãã¨åæã«ãã¢ãã«ã®è¤éæ§ãä¸ããã«ã¤ãã¦Rashomon ratioãä¸ãã£ã¦ããï¼Îåã®ç¸¦æ£ï¼ã¨ããåãæ¹ã«ãªããã¨ãäºæ³ããã¾ããããã¦ã横æ£ã¨ç¸¦æ£ã®é·ãã¯ãã¼ã¿ã»ããã®æ§è³ªã«ä¾åããã¨ãããã¨ã®ããã§ãã
å è«æã§ã¯ä¸å³(Figure 9)ã«ããããã«ããã®Rashomon curveãéä¸ã§Îã®åã®ããã«ã°ã°ãã¨æ²ããã¨ããã"Rashomon elbow"ã¨å¼ã³ããããããã©ã³ã¹ãæãè¯ããã¤ã³ãï¼ãã¹ãã¢ãã«ãã ã¨ãã¦ãã¾ãã
ã¡ãªã¿ã«ãå è«æã«ã¯è¼ã£ã¦ããªãã¦Keynoteã®ã¹ã©ã¤ãã«ã¯è¼ã£ã¦ããã®ãä¸ã®å³ã§ãRudinã¯ãããªæãã®ãRashomon elbowã«ãã¸ã¹ãã£ãã¯å帰ãªã©ã®æ¯è¼çã·ã³ãã«ãªã¢ãã«ãæ¥ããããã®ãã£ã¨ä¸ã®æ¹ã«ç ©éãªNNãªã©ãæ¥ããã¨ããã±ã¼ã¹ãæ³å®ãã¦ããããã ãã¨ãããã¨ãåããã¾ãã
â¦â¦ã¨ããããã«åã¯èªã¿åã£ãã®ã§ãããä¸ã¤æ°ã«ãªã£ãã®ãããããªãã¢ãã«ãã®ãã®ã®è¤é度ã«å¯¾ãã¦æé©ç¹ãæ±ãããã¨ã¯åºæ¥ããã ããç¹å¾´æ¬¡å ï¼åæ°ï¼ãçããå ´åã®æé©ãªå¤æ°é¸æã決ãããã¨ãåºæ¥ããã ããããã¨ããç¹ã§ããtmaeharaããããã¯ãçµå±æé©ãªã¢ãã«ãä¸æã«æ±ºããããªãããé£ããã®ã§ã¯ãã¨ãã趣æ¨ã®ã³ã¡ã³ããããã ãã¦ãã¦ãåãã©ç´ 人ãªããè«æãã¹ã©ã¤ããèªãã éãã§ã¯ããããå°è±¡ãæã¡ã¾ããã
ãããããããã¯åå人ã«ã¨ã£ã¦ã®åå®ãªèª²é¡ãªãã§ãããããç¹å®ã®ãã¼ã¿ã»ããã«å¯¾ãã¦å
·ä½çã«Rashomon ratioãç®åºããå®è£
ã®ä»æ¹ããå
è«æãèªãã§ãè¯ãåããã¾ããã§ããï¼5, 6ç¯ã§èª¬æããã¦ããã®ã¯åããã¾ãããâ¦â¦ï¼ãå¤åããã ããã¨ããæãã®ããæ¹ã¯è¼ã£ã¦ãã*7ãã§ããããããä¾ãã°ãã¤ãºæ§é æç³»åã¢ãã«ã§ããå ´åã¯ã©ãããã®ãçç®è¦å½ãã¤ããªãã§ããã©ãªããè³¢ãæ¹ãå®è£
ãå
¬éãã¦ãã ããã®ãæ°é·ã«å¾
ã¡ããã¨æãã¾ãï¼å®å
¨ä»åæ¬é¡ï¼ã
ææ³ãªã©
ããããããã§ãRashomon volumes & curvesãå
è«æãæªã ç解ãåãã¦ããªããªããããã¯ãéã®å¼¾ä¸¸ã§ã¯ãªãã¨ããå°è±¡ã§ãè¨äºã¿ã¤ãã«ã«æ²ããããã¼ã±ãã£ã³ã°ã¢ãã«ãèãç¾
çéå¹æãã®è§£æ±ºçã¨ããã®ã¯æå¤ã¨ãªããã®ã ãªã¨æã£ã次第ã§ãã
ã¨ãªãã¨ãå®éã®ãã¸ãã¹ã·ã¼ã³ã§ã¯ä¾ç¶ã¨ãã¦ããã¸ãã¹ã¢ã¯ã·ã§ã³ã®æ±ºå®ã«ä¾¿å©ãªã¢ãã«ãã®æ¹ã好ã¾ããã¨ããæµããç¶ããããªæ°ããã¦ãã¦ãæ£ç´ã«è¨ãã°ãããç¾å ´ã§åããã¼ã¿ãµã¤ã¨ã³ãã£ã¹ãã®èº«ã¨ãã¦ã¯å«ãªãã®ãããã¾ããããå°ããã®è¾ºã®è§£æ±ºçã«ã¤ãã¦ãçè«çãªå´é¢ããåå¼·ãç´ããæ¹ãè¯ãããã ãªã¨ããã®ãçç´ãªææ³ã§ãâ¦â¦ã
*1:2ã¤ç®ãè² ã«ãªã£ã¦ãã
*2:3ã¤ã¨ãæ£ã«ãªã£ã¦ãã
*3:ããã§ã¯äº¤å·®æ¤è¨¼ãã¼ã¿ã¸ã®RMSE
*4:ä¾ãã°VIFãªã©
*5:æªã ã«ããã®å®ç¾©ãç解ã§ãã¦ãªãâ¦â¦
*6:Îåã«ããããã«ãã¼ã»ã³ãã¼ã¸ã®å¯¾æ°ã®è² å¤ãåã£ã¦ãã
*7:Ridgeå帰ã®æã®ããæ¹ãè¦æ £ããç·å½¢ã¢ãã«ã®å¼ã¨å ±ã«åºã¦ãã