SlideShare a Scribd company logo
Latent Space Autoregression for Novelty Detection
Davide Abati, Angelo Porrello, Simone Calderara, Rita Cucchiara
中塚 俊介
Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/
TL;DR
◼ Autoencoder + 自己回帰モデル
― 自己回帰モデルにより対数尤度ベースの異常検出
― 再構成誤差 + 対数尤度
◼ Masked Fully Connection
◼ Masked Stacked Convolution
― 自己回帰モデルを実現するためのLayerを提案
― MFC:Image用
― MSC:Movie用
2
Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/
Novelty Detection
◼ 再構成誤差を用いる手法が一般的
― PCAやAutoencoderの input/output
― 正常だけを教えれば,異常は再構成できない?
◼ 確率ベースの考え方もあり
― Autoencoder (latent) + GMM とか
― VAE,GAN,Flowとか
― 対数尤度を使って,異常検知へ
3
•↑ を合わせればより強いモデルが作れる!?
•確率を表現するために“自己回帰”を使おう
Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/
Autoregression(自己回帰)
◼ 生成モデルの1種
― 以前に観測されたデータ群を条件とした
条件付確率の同時確率で確率を表現する
4
データ数
条件付確率
e.g.) d = 3 のとき
•Autoencoderの潜在変数に適用すれば
確率がわかる
Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/
Autoencoder + Autoregression
5
潜在変数 z からEstimation networkで
条件付確率に変換する
Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/
Estimation netのイメージ(ざっくり)
6
z1
z2
z3
z4
zd
p(z1)
p(z2 | z1)
p(z3 | z1, z2)
p(z4 | z1, z2, z3)
p(zd | z1, z2,…, zd-1)
Estimation Network
潜在変数 条件付確率
Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/
Estimation netのイメージ
7
z11
z21
z31
z41
zd1
z’11 z’1c
z’21 z’2c
z’31 z’3c
z’41 z’4c
z’d1 z’dc
z’’11 z’’1B
z’’21 z’’2B
z’’31 z’’3B
z’’41 z’’4B
z’’d1 z’’dB
MFC MFC
1行ごとが確率密度分布
Bin数をBとしたヒストグラムのイメージ
0 1
e.g.)
B = 10, z11 = 0.17 なら
z’’12 が条件付確率になる
Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/
Masked Fully Connection
◼ 通常のFC層では条件付確率を表現できない
― 全部が結合すると条件にないものも参照できてしまう
8
1行目は1行目の情報から
2行目は1,2行目の情報から
3行目は1,2,3行目の情報から
…
知りたい条件付確率と同じ,
確率変数・条件になった
Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/
Masked Stacked Convolution
◼ d 方向についてはMFCと同様に自分より前の要素を使って計算
◼ t 方向についても直近 t フレームを用いて計算
9
Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/
Loss関数は?
10
再構成誤差 対数尤度
Estimation Netの出力のlogsum
Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/
異常度の算出
◼ 再構成誤差と対数尤度では尺度が揃わない
― reference setを用いて,それぞれを正規化してからadd
11
Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/
実験結果(Image)
◼ MNISTとCIFAR10を使用
― それぞれのClassをnormalとしてtraining
12
Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/
実験結果(Movie)
◼ UCSD Ped2 と ShanghaiTech を使用
― 異常なイベントの検出
13
Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/
まとめ
◼ Autoencoder + Autoregression Model の提案
― AutoregressionのためのMFC,MSCを提案
― Image, Movie のどちらにも適用可能
― Scoreは再構成誤差と対数尤度をそれぞれ正規化したもの
◼ Image, Movieにおいて従来手法を大きく上回る
― Movieに関しては前処理などもあるので,supplementary materialsを参照とのこと
― 実装あり [link]
14

More Related Content

Recently uploaded

FIDO Alliance Osaka Seminar: LY-DOCOMO-KDDI-Mercari Panel.pdf
FIDO Alliance Osaka Seminar: LY-DOCOMO-KDDI-Mercari Panel.pdfFIDO Alliance Osaka Seminar: LY-DOCOMO-KDDI-Mercari Panel.pdf
FIDO Alliance Osaka Seminar: LY-DOCOMO-KDDI-Mercari Panel.pdf
FIDO Alliance
 
TaketoFujikawa_物語のコンセプトに基づく情報アクセス手法の基礎検討_JSAI2024
TaketoFujikawa_物語のコンセプトに基づく情報アクセス手法の基礎検討_JSAI2024TaketoFujikawa_物語のコンセプトに基づく情報アクセス手法の基礎検討_JSAI2024
TaketoFujikawa_物語のコンセプトに基づく情報アクセス手法の基礎検討_JSAI2024
Matsushita Laboratory
 
YugabyteDB適用に向けた取り組みと隠れた魅力 (DSS Asia 2024 発表資料)
YugabyteDB適用に向けた取り組みと隠れた魅力 (DSS Asia 2024 発表資料)YugabyteDB適用に向けた取り組みと隠れた魅力 (DSS Asia 2024 発表資料)
YugabyteDB適用に向けた取り組みと隠れた魅力 (DSS Asia 2024 発表資料)
NTT DATA Technology & Innovation
 
FIDO Alliance Osaka Seminar: NEC & Yubico Panel.pdf
FIDO Alliance Osaka Seminar: NEC & Yubico Panel.pdfFIDO Alliance Osaka Seminar: NEC & Yubico Panel.pdf
FIDO Alliance Osaka Seminar: NEC & Yubico Panel.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: CloudGate.pdf
FIDO Alliance Osaka Seminar: CloudGate.pdfFIDO Alliance Osaka Seminar: CloudGate.pdf
FIDO Alliance Osaka Seminar: CloudGate.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: PlayStation Passkey Deployment Case Study.pdf
FIDO Alliance Osaka Seminar: PlayStation Passkey Deployment Case Study.pdfFIDO Alliance Osaka Seminar: PlayStation Passkey Deployment Case Study.pdf
FIDO Alliance Osaka Seminar: PlayStation Passkey Deployment Case Study.pdf
FIDO Alliance
 
MPAなWebフレームワーク、Astroの紹介 (その2) 2024/05/24の勉強会で発表されたものです。
MPAなWebフレームワーク、Astroの紹介 (その2) 2024/05/24の勉強会で発表されたものです。MPAなWebフレームワーク、Astroの紹介 (その2) 2024/05/24の勉強会で発表されたものです。
MPAなWebフレームワーク、Astroの紹介 (その2) 2024/05/24の勉強会で発表されたものです。
iPride Co., Ltd.
 
【DLゼミ】XFeat: Accelerated Features for Lightweight Image Matching
【DLゼミ】XFeat: Accelerated Features for Lightweight Image Matching【DLゼミ】XFeat: Accelerated Features for Lightweight Image Matching
【DLゼミ】XFeat: Accelerated Features for Lightweight Image Matching
harmonylab
 
論文紹介: Offline Q-Learning on diverse Multi-Task data both scales and generalizes
論文紹介: Offline Q-Learning on diverse Multi-Task data both scales and generalizes論文紹介: Offline Q-Learning on diverse Multi-Task data both scales and generalizes
論文紹介: Offline Q-Learning on diverse Multi-Task data both scales and generalizes
atsushi061452
 
CS集会#13_なるほどわからん通信技術 発表資料
CS集会#13_なるほどわからん通信技術 発表資料CS集会#13_なるほどわからん通信技術 発表資料
CS集会#13_なるほどわからん通信技術 発表資料
Yuuitirou528 default
 
単腕マニピュレータによる 複数物体の同時組み立ての 基礎的考察 / Basic Approach to Robotic Assembly of Multi...
単腕マニピュレータによる 複数物体の同時組み立ての 基礎的考察 / Basic Approach to Robotic Assembly of Multi...単腕マニピュレータによる 複数物体の同時組み立ての 基礎的考察 / Basic Approach to Robotic Assembly of Multi...
単腕マニピュレータによる 複数物体の同時組み立ての 基礎的考察 / Basic Approach to Robotic Assembly of Multi...
Fukuoka Institute of Technology
 
2024年度_サイバーエージェント_新卒研修「データベースの歴史」.pptx
2024年度_サイバーエージェント_新卒研修「データベースの歴史」.pptx2024年度_サイバーエージェント_新卒研修「データベースの歴史」.pptx
2024年度_サイバーエージェント_新卒研修「データベースの歴史」.pptx
yassun7010
 
【AI論文解説】Consistency ModelとRectified Flow
【AI論文解説】Consistency ModelとRectified Flow【AI論文解説】Consistency ModelとRectified Flow
【AI論文解説】Consistency ModelとRectified Flow
Sony - Neural Network Libraries
 
論文紹介:When Visual Prompt Tuning Meets Source-Free Domain Adaptive Semantic Seg...
論文紹介:When Visual Prompt Tuning Meets Source-Free Domain Adaptive Semantic Seg...論文紹介:When Visual Prompt Tuning Meets Source-Free Domain Adaptive Semantic Seg...
論文紹介:When Visual Prompt Tuning Meets Source-Free Domain Adaptive Semantic Seg...
Toru Tamaki
 
FIDO Alliance Osaka Seminar: Welcome Slides.pdf
FIDO Alliance Osaka Seminar: Welcome Slides.pdfFIDO Alliance Osaka Seminar: Welcome Slides.pdf
FIDO Alliance Osaka Seminar: Welcome Slides.pdf
FIDO Alliance
 
LoRaWAN 4チャンネル電流センサー・コンバーター CS01-LBカタログ
LoRaWAN 4チャンネル電流センサー・コンバーター CS01-LBカタログLoRaWAN 4チャンネル電流センサー・コンバーター CS01-LBカタログ
LoRaWAN 4チャンネル電流センサー・コンバーター CS01-LBカタログ
CRI Japan, Inc.
 

Recently uploaded (16)

FIDO Alliance Osaka Seminar: LY-DOCOMO-KDDI-Mercari Panel.pdf
FIDO Alliance Osaka Seminar: LY-DOCOMO-KDDI-Mercari Panel.pdfFIDO Alliance Osaka Seminar: LY-DOCOMO-KDDI-Mercari Panel.pdf
FIDO Alliance Osaka Seminar: LY-DOCOMO-KDDI-Mercari Panel.pdf
 
TaketoFujikawa_物語のコンセプトに基づく情報アクセス手法の基礎検討_JSAI2024
TaketoFujikawa_物語のコンセプトに基づく情報アクセス手法の基礎検討_JSAI2024TaketoFujikawa_物語のコンセプトに基づく情報アクセス手法の基礎検討_JSAI2024
TaketoFujikawa_物語のコンセプトに基づく情報アクセス手法の基礎検討_JSAI2024
 
YugabyteDB適用に向けた取り組みと隠れた魅力 (DSS Asia 2024 発表資料)
YugabyteDB適用に向けた取り組みと隠れた魅力 (DSS Asia 2024 発表資料)YugabyteDB適用に向けた取り組みと隠れた魅力 (DSS Asia 2024 発表資料)
YugabyteDB適用に向けた取り組みと隠れた魅力 (DSS Asia 2024 発表資料)
 
FIDO Alliance Osaka Seminar: NEC & Yubico Panel.pdf
FIDO Alliance Osaka Seminar: NEC & Yubico Panel.pdfFIDO Alliance Osaka Seminar: NEC & Yubico Panel.pdf
FIDO Alliance Osaka Seminar: NEC & Yubico Panel.pdf
 
FIDO Alliance Osaka Seminar: CloudGate.pdf
FIDO Alliance Osaka Seminar: CloudGate.pdfFIDO Alliance Osaka Seminar: CloudGate.pdf
FIDO Alliance Osaka Seminar: CloudGate.pdf
 
FIDO Alliance Osaka Seminar: PlayStation Passkey Deployment Case Study.pdf
FIDO Alliance Osaka Seminar: PlayStation Passkey Deployment Case Study.pdfFIDO Alliance Osaka Seminar: PlayStation Passkey Deployment Case Study.pdf
FIDO Alliance Osaka Seminar: PlayStation Passkey Deployment Case Study.pdf
 
MPAなWebフレームワーク、Astroの紹介 (その2) 2024/05/24の勉強会で発表されたものです。
MPAなWebフレームワーク、Astroの紹介 (その2) 2024/05/24の勉強会で発表されたものです。MPAなWebフレームワーク、Astroの紹介 (その2) 2024/05/24の勉強会で発表されたものです。
MPAなWebフレームワーク、Astroの紹介 (その2) 2024/05/24の勉強会で発表されたものです。
 
【DLゼミ】XFeat: Accelerated Features for Lightweight Image Matching
【DLゼミ】XFeat: Accelerated Features for Lightweight Image Matching【DLゼミ】XFeat: Accelerated Features for Lightweight Image Matching
【DLゼミ】XFeat: Accelerated Features for Lightweight Image Matching
 
論文紹介: Offline Q-Learning on diverse Multi-Task data both scales and generalizes
論文紹介: Offline Q-Learning on diverse Multi-Task data both scales and generalizes論文紹介: Offline Q-Learning on diverse Multi-Task data both scales and generalizes
論文紹介: Offline Q-Learning on diverse Multi-Task data both scales and generalizes
 
CS集会#13_なるほどわからん通信技術 発表資料
CS集会#13_なるほどわからん通信技術 発表資料CS集会#13_なるほどわからん通信技術 発表資料
CS集会#13_なるほどわからん通信技術 発表資料
 
単腕マニピュレータによる 複数物体の同時組み立ての 基礎的考察 / Basic Approach to Robotic Assembly of Multi...
単腕マニピュレータによる 複数物体の同時組み立ての 基礎的考察 / Basic Approach to Robotic Assembly of Multi...単腕マニピュレータによる 複数物体の同時組み立ての 基礎的考察 / Basic Approach to Robotic Assembly of Multi...
単腕マニピュレータによる 複数物体の同時組み立ての 基礎的考察 / Basic Approach to Robotic Assembly of Multi...
 
2024年度_サイバーエージェント_新卒研修「データベースの歴史」.pptx
2024年度_サイバーエージェント_新卒研修「データベースの歴史」.pptx2024年度_サイバーエージェント_新卒研修「データベースの歴史」.pptx
2024年度_サイバーエージェント_新卒研修「データベースの歴史」.pptx
 
【AI論文解説】Consistency ModelとRectified Flow
【AI論文解説】Consistency ModelとRectified Flow【AI論文解説】Consistency ModelとRectified Flow
【AI論文解説】Consistency ModelとRectified Flow
 
論文紹介:When Visual Prompt Tuning Meets Source-Free Domain Adaptive Semantic Seg...
論文紹介:When Visual Prompt Tuning Meets Source-Free Domain Adaptive Semantic Seg...論文紹介:When Visual Prompt Tuning Meets Source-Free Domain Adaptive Semantic Seg...
論文紹介:When Visual Prompt Tuning Meets Source-Free Domain Adaptive Semantic Seg...
 
FIDO Alliance Osaka Seminar: Welcome Slides.pdf
FIDO Alliance Osaka Seminar: Welcome Slides.pdfFIDO Alliance Osaka Seminar: Welcome Slides.pdf
FIDO Alliance Osaka Seminar: Welcome Slides.pdf
 
LoRaWAN 4チャンネル電流センサー・コンバーター CS01-LBカタログ
LoRaWAN 4チャンネル電流センサー・コンバーター CS01-LBカタログLoRaWAN 4チャンネル電流センサー・コンバーター CS01-LBカタログ
LoRaWAN 4チャンネル電流センサー・コンバーター CS01-LBカタログ
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

【CVPR 2019】Latent Space Autoregression for Novelty Detection

  • 1. Latent Space Autoregression for Novelty Detection Davide Abati, Angelo Porrello, Simone Calderara, Rita Cucchiara 中塚 俊介
  • 2. Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/ TL;DR ◼ Autoencoder + 自己回帰モデル ― 自己回帰モデルにより対数尤度ベースの異常検出 ― 再構成誤差 + 対数尤度 ◼ Masked Fully Connection ◼ Masked Stacked Convolution ― 自己回帰モデルを実現するためのLayerを提案 ― MFC:Image用 ― MSC:Movie用 2
  • 3. Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/ Novelty Detection ◼ 再構成誤差を用いる手法が一般的 ― PCAやAutoencoderの input/output ― 正常だけを教えれば,異常は再構成できない? ◼ 確率ベースの考え方もあり ― Autoencoder (latent) + GMM とか ― VAE,GAN,Flowとか ― 対数尤度を使って,異常検知へ 3 •↑ を合わせればより強いモデルが作れる!? •確率を表現するために“自己回帰”を使おう
  • 4. Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/ Autoregression(自己回帰) ◼ 生成モデルの1種 ― 以前に観測されたデータ群を条件とした 条件付確率の同時確率で確率を表現する 4 データ数 条件付確率 e.g.) d = 3 のとき •Autoencoderの潜在変数に適用すれば 確率がわかる
  • 5. Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/ Autoencoder + Autoregression 5 潜在変数 z からEstimation networkで 条件付確率に変換する
  • 6. Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/ Estimation netのイメージ(ざっくり) 6 z1 z2 z3 z4 zd p(z1) p(z2 | z1) p(z3 | z1, z2) p(z4 | z1, z2, z3) p(zd | z1, z2,…, zd-1) Estimation Network 潜在変数 条件付確率
  • 7. Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/ Estimation netのイメージ 7 z11 z21 z31 z41 zd1 z’11 z’1c z’21 z’2c z’31 z’3c z’41 z’4c z’d1 z’dc z’’11 z’’1B z’’21 z’’2B z’’31 z’’3B z’’41 z’’4B z’’d1 z’’dB MFC MFC 1行ごとが確率密度分布 Bin数をBとしたヒストグラムのイメージ 0 1 e.g.) B = 10, z11 = 0.17 なら z’’12 が条件付確率になる
  • 8. Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/ Masked Fully Connection ◼ 通常のFC層では条件付確率を表現できない ― 全部が結合すると条件にないものも参照できてしまう 8 1行目は1行目の情報から 2行目は1,2行目の情報から 3行目は1,2,3行目の情報から … 知りたい条件付確率と同じ, 確率変数・条件になった
  • 9. Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/ Masked Stacked Convolution ◼ d 方向についてはMFCと同様に自分より前の要素を使って計算 ◼ t 方向についても直近 t フレームを用いて計算 9
  • 10. Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/ Loss関数は? 10 再構成誤差 対数尤度 Estimation Netの出力のlogsum
  • 11. Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/ 異常度の算出 ◼ 再構成誤差と対数尤度では尺度が揃わない ― reference setを用いて,それぞれを正規化してからadd 11
  • 12. Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/ 実験結果(Image) ◼ MNISTとCIFAR10を使用 ― それぞれのClassをnormalとしてtraining 12
  • 13. Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/ 実験結果(Movie) ◼ UCSD Ped2 と ShanghaiTech を使用 ― 異常なイベントの検出 13
  • 14. Copyright © 2019 Shunsuke NAKATSUKA https://salty-vanilla.github.io/portfolio/ まとめ ◼ Autoencoder + Autoregression Model の提案 ― AutoregressionのためのMFC,MSCを提案 ― Image, Movie のどちらにも適用可能 ― Scoreは再構成誤差と対数尤度をそれぞれ正規化したもの ◼ Image, Movieにおいて従来手法を大きく上回る ― Movieに関しては前処理などもあるので,supplementary materialsを参照とのこと ― 実装あり [link] 14