SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Downloaden Sie, um offline zu lesen
WWW2014勉強会
Social networks 1
新井 淳也
NTT
1
1. High Quality, Scalable and
Parallel Community Detection
for Large Real Graphs
• 並列処理に適したグラフクラスタリング (コミュニティ
検出) アルゴリズム
2. Dynamic and Historical Shortest-
Path Distance Queries on Large
Evolving Networks by Pruned
Landmark Labeling
• 変化するグラフ上における最短経路クエリと最短距
離の時間変化に対するクエリの高速化
2
1. High Quality, Scalable and
Parallel Community Detection
for Large Real Graphs
• 並列処理に適したグラフクラスタリング (コミュニティ
検出) アルゴリズム
2. Dynamic and Historical Shortest-
Path Distance Queries on Large
Evolving Networks by Pruned
Landmark Labeling
• 変化するグラフ上における最短経路クエリと最短距
離の時間変化に対するクエリの高速化
3
High Quality, Scalable and
Parallel Community Detection
for Large Real Graphs
A. Prat-Pérez (カタルーニャ工科大),
D. Dominguez-Sal, J. Larriba-Pey
• グラフクラスタリングアルゴリズムの提案
• 目的関数として Weighted Community
Clustering (WCC) [Prat-Pérez+ CIKM’12] を使用
• クラスタ中にある「三角形」の数を基準とする
• 並列処理と WCC の近似計算により高速化
• スライド中の図表は著者の発表スライドから引用
• https://www.dama.upc.edu/publications/WWW2014.pdf
4
グラフクラスタリング
(コミュニティ検出)
• コミュニティ: 密に接続された頂点のグループ
• 応用:
• レコメンド
• タンパク質分析
• グラフ可視化
…
5
目的関数: WCC
(Weighted Community Clustering)
• 𝑊𝐶𝐶 𝑣, 𝑆 =
𝑡(𝑣,𝑆)
𝑡(𝑣,𝑉)
∙
𝑣𝑡(𝑣,𝑉)
𝑆∖𝑣 +𝑣𝑡(𝑣,𝑉∖𝑆)
• 𝑡 𝑣, 𝑆 =頂点 𝑥 と頂点集合 𝑆 が作る三角形の数
• 𝑣𝑡(𝑣, 𝑆)= 𝑣 と三角形を形成する 𝑆 内の頂点数
6
𝑣 が 𝑆 の中で多くの三角形を
作るとき大きな値になる
提案手法: SCD
(Scalable Community Detection)
• 2ステップから成るグラフの分割
1. 初期分割の作成
2. 分割の改善
• WCCの近似計算
7
並列化ポイント (2)
並列化ポイント (1)
提案手法: SCD
(Scalable Community Detection)
• 2ステップから成るグラフの分割
1. 初期分割の作成
2. 分割の改善
• WCCの近似計算
8
並列化ポイント (2)
並列化ポイント (1)
分割ステップ1
初期分割の作成
• クラスター係数が大きい頂点から順に隣接頂点
でコミュニティを形成する
9
分割ステップ1
初期分割の作成
• クラスター係数が大きい頂点から順に隣接頂点
でコミュニティを形成する
10
並列化ポイント (1):
クラスター係数を
各頂点について並列に計算
分割ステップ1
初期分割の作成
• クラスター係数が大きい頂点から順に隣接頂点
でコミュニティを形成する
11
クラスター係数が最大の頂点
コミュニティ1
分割ステップ1
初期分割の作成
12
残りの頂点の中で
クラスター係数が最大
• クラスター係数が大きい頂点から順に隣接頂点
でコミュニティを形成する
コミュニティ1
コミュニティ2
分割ステップ1
初期分割の作成
13
初期分割として3つのコミュニティができた
• クラスター係数が大きい頂点から順に隣接頂点
でコミュニティを形成する
コミュニティ1
コミュニティ2
コミュニティ3
提案手法: SCD
(Scalable Community Detection)
• 2ステップから成るグラフの分割
1. 初期分割の作成
2. 分割の改善
• WCCの近似計算
14
並列化ポイント (2)
並列化ポイント (1)
分割ステップ2
分割の改善
• 各頂点について、隣接コミュニティへ移動した場合の
WCC を計算し、改善するなら移動
• 収束するまで繰り返す
15
コミュニティ1へ移動した場合の WCC を計算
改善するので移動
コミュニティ1
分割ステップ2
分割の改善
• 各頂点について、隣接コミュニティへ移動した場合の
WCC を計算し、改善するなら移動
• 収束するまで繰り返す
16
並列化ポイント (2):
頂点毎に並列処理
分割ステップ2
分割の改善
• 各頂点について、隣接コミュニティへ移動した場合の
WCC を計算し、改善するなら移動
• 収束するまで繰り返す
17
最終的にこれで収束
提案手法: SCD
(Scalable Community Detection)
• 2ステップから成るグラフの分割
1. 初期分割の作成
2. 分割の改善
• WCCの近似計算
18
並列化ポイント (2)
並列化ポイント (1)
WCCの近似計算
• グラフとコミュニティの性質を表すいくつかのパラメータ
から近似的に 𝑊𝐶𝐶(𝑣, 𝐶) を求める
• 定数時間の計算(頂点数やエッジ数に非依存)
• 詳細は割愛
19
評価
• クラスタリング結果と ground truth の合致度を調査
• 指標: F1Score, NMI
• 既存のグラフクラスタリングアルゴリズムと比較
• Walktrap, Infomap, Louvain, Bigclam, Oslom
• 並列度の実験以外は全て1スレッド実行
• Xeon 2.4GHz 4コア / 32GB RAM
20
21
良い
良い 精度
SCD は一番右
1.8B edges
4.3hr
多エッジ
高並列化率
エッジ数に線形
良い
1. High Quality, Scalable and
Parallel Community Detection
for Large Real Graphs
• 並列処理に適したグラフクラスタリング (コミュニティ
検出) アルゴリズム
2. Dynamic and Historical Shortest-
Path Distance Queries on Large
Evolving Networks by Pruned
Landmark Labeling
• 変化するグラフ上における最短経路クエリと最短距
離の時間変化に対するクエリの高速処理手法
22
Dynamic and Historical Shortest-
Path Distance Queries on Large
Evolving Networks by Pruned
Landmark Labeling
秋葉 拓哉 (東京大), 岩田 陽一, 吉田 悠一
• 最短経路クエリの高速処理アルゴリズムを提案
• 前処理として構築したインデックスを利用し高速に応答
• 時間経過で頂点とエッジが増加するグラフに対して
インクリメンタルにインデックスを更新
• [Akiba+ SIGMOD’13] [秋葉+ DEIM’14] の拡張
• Historical query にも対応
• ある時点での頂点間距離 / 頂点間距離の時間変化
23
以降、著者 (秋葉さん) が
作成したスライドの抜粋
http://www-imai.is.s.u-tokyo.ac.jp/~takiba/slide/dpll_www14.pdf
24
※本スライド公開にあたり削除
オリジナルのスライドを参照してください
25
WWW2014 勉強会 新井担当分

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。
Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。
Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。iPride Co., Ltd.
 
プレイマットのパターン生成支援ツール
プレイマットのパターン生成支援ツールプレイマットのパターン生成支援ツール
プレイマットのパターン生成支援ツールsugiuralab
 
PHP-Conference-Odawara-2024-04-000000000
PHP-Conference-Odawara-2024-04-000000000PHP-Conference-Odawara-2024-04-000000000
PHP-Conference-Odawara-2024-04-000000000Shota Ito
 
新人研修のまとめ 2024/04/12の勉強会で発表されたものです。
新人研修のまとめ       2024/04/12の勉強会で発表されたものです。新人研修のまとめ       2024/04/12の勉強会で発表されたものです。
新人研修のまとめ 2024/04/12の勉強会で発表されたものです。iPride Co., Ltd.
 
IoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptxIoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptxAtomu Hidaka
 
20240412_HCCJP での Windows Server 2025 Active Directory
20240412_HCCJP での Windows Server 2025 Active Directory20240412_HCCJP での Windows Server 2025 Active Directory
20240412_HCCJP での Windows Server 2025 Active Directoryosamut
 
プレイマットのパターン生成支援ツールの評価
プレイマットのパターン生成支援ツールの評価プレイマットのパターン生成支援ツールの評価
プレイマットのパターン生成支援ツールの評価sugiuralab
 

Kürzlich hochgeladen (7)

Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。
Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。
Amazon SES を勉強してみる その12024/04/12の勉強会で発表されたものです。
 
プレイマットのパターン生成支援ツール
プレイマットのパターン生成支援ツールプレイマットのパターン生成支援ツール
プレイマットのパターン生成支援ツール
 
PHP-Conference-Odawara-2024-04-000000000
PHP-Conference-Odawara-2024-04-000000000PHP-Conference-Odawara-2024-04-000000000
PHP-Conference-Odawara-2024-04-000000000
 
新人研修のまとめ 2024/04/12の勉強会で発表されたものです。
新人研修のまとめ       2024/04/12の勉強会で発表されたものです。新人研修のまとめ       2024/04/12の勉強会で発表されたものです。
新人研修のまとめ 2024/04/12の勉強会で発表されたものです。
 
IoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptxIoT in the era of generative AI, Thanks IoT ALGYAN.pptx
IoT in the era of generative AI, Thanks IoT ALGYAN.pptx
 
20240412_HCCJP での Windows Server 2025 Active Directory
20240412_HCCJP での Windows Server 2025 Active Directory20240412_HCCJP での Windows Server 2025 Active Directory
20240412_HCCJP での Windows Server 2025 Active Directory
 
プレイマットのパターン生成支援ツールの評価
プレイマットのパターン生成支援ツールの評価プレイマットのパターン生成支援ツールの評価
プレイマットのパターン生成支援ツールの評価
 

Empfohlen

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 EngineeringsPixeldarts
 
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 HealthThinkNow
 
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.pdfmarketingartwork
 
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 2024Neil 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 2024Albert 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 InsightsKurio // 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 2024Search 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 summarySpeakerHub
 
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 IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit 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 managementMindGenius
 
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
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Empfohlen (20)

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...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

WWW2014 勉強会 新井担当分