SlideShare a Scribd company logo
1 of 35
Download to read offline
行政コールセンターへの問い合わせデータを
対象とした住民の要望分析
川島寛乃 河野慎 米澤拓朗 中澤仁
J7-2
慶應義塾大学環境情報学部  慶應義塾大学大学院政策・メディア研究科
背景① ¦ 行政の効率化 2
都市・市町村
市役所など
住民の生活状況の把握
政策や支援の改善・立案
住民の声 都市・市町村の状況
データ収集
実施
行政
背景① ¦ 行政の効率化 3
行政
都市・市町村
市役所など
住民の声 都市・市町村の状況
背景① ¦ 行政の効率化 4
市役所など
住民の声 都市・市町村の状況
データ収集
行政
都市・市町村
背景① ¦ 行政の効率化 5
都市・市町村
市役所など
住民の生活状況の把握
住民の声 都市・市町村の状況
データ収集
行政
背景① ¦ 行政の効率化 6
都市・市町村
市役所など
住民の生活状況の把握
住民の声 都市・市町村の状況
データ収集
政策や支援の改善・立案
行政
背景① ¦ 行政の効率化 7
都市・市町村
市役所など
住民の声 都市・市町村の状況
住民の生活状況の把握
政策や支援の改善・立案
データ収集
実施
行政
背景① ¦ 行政の効率化 8
都市・市町村
市役所など
住民の生活状況の把握
政策や支援の改善・立案
住民の声 都市・市町村の状況
データ収集
実施
政策・支援の実施
人的/資金的資源の効率的な活用
行政
背景① ¦ 行政の効率化 9
都市・市町村
市役所など
住民の生活状況の把握
政策や支援の改善・立案
住民の声 都市・市町村の状況
データ収集
実施
暮らし・生活の改善
行政
政策・支援の実施
人的/資金的資源の効率的な活用
背景① ¦ 行政の効率化 10
都市・市町村
市役所など
住民の生活状況の把握
政策や支援の改善・立案
住民の声 都市・市町村の状況
データ収集
実施
行政
背景① ¦ 行政の効率化 11
都市・市町村
市役所など
住民の生活状況の把握
政策や支援の改善・立案
住民の声 都市・市町村の状況
データ収集
実施
行政
住民の要望
特に
の把握
背景② ¦住民の要望の把握 12
緊急性が高いものなどの特定の問題に   
あらかじめ焦点が当てられていることが多い
住民の要望が特定の問題に偏ってしまっている
現状 行政アンケートなどの実施
問題点
偏ることなく住民の要望を把握やりたいこと
• 行政の運営するコールセンターの問い合わせ履歴に着目
背景③ ¦コールセンター問い合わせ履歴 13
問い合わせ
返答
行政コールセンター
オペレーター
住民
保険料の確認をしたいです。
社会保険の任意連続をする場合と国民健
康保険に加入するかを迷っています。
生活援助課に取り次いでください
質問を書き留めたもの
問い合わせ履歴
• 行政の運営するコールセンターの問い合わせ履歴に着目
背景③ ¦コールセンター問い合わせ履歴 14
問い合わせ
返答
行政コールセンター
オペレーター
住民
保険料の確認をしたいです。
社会保険の任意連続をする場合と国民健
康保険に加入するかを迷っています。
生活援助課に取り次いでください
要望が含まれている問い合わせ履歴
質問を書き留めたもの
住民の要望を抽出
• キーワードの分布から文章の類似度を計算[Mladenic, 99]
• 顧客からの電話をどの担当が受け取るかを判別[Chu-Carroll, 99]
• 重要性が高い語句を抽出し、語句間の関係性をマップとして表示
することで、大量に記述されている概念の構造を視覚化[岡本, 00]
関連研究 ¦ コールセンターのログ解析 15
顧客の声の分析材料として古くから研究に取り組まれている
研究目的・内容 16
住民の要望を把握し,行政の効率化に活かす 目的
行政コールセンターの問い合わせ履歴から
住民の要望の話題(トピック)を推定
 内容
行政コールセンター
トピックの推定
問い合わせ
問い合わせ
問い合わせ
〇〇について
△△について
□□について
• 潜在ディリクレ配分法(LDA)を使用してトピックを推定
アプローチ 17
•各トピックの単語分布から単語が生成される
•問い合わせは複数種類のトピックから成り立つ 仮定
アプローチ 18
保険料の確認をしたいです。
社会保険の任意連続をする場合と国民健
康保険に加入するかを迷っています。 投票 電話 場所保険料
トピック〇〇 トピック△△
• 潜在ディリクレ配分法(LDA)を使用してトピックを推定
•各トピックの単語分布から単語が生成される
•問い合わせは複数種類のトピックから成り立つ 仮定
グラフィカルモデル 19
トピック 単語
k✓d↵ zd,i wd,i
✓d ⇠ Dir(↵)(d = 1, · · · , D), k ⇠ Dir( )(k = 1, · · · , K)
zd,i ⇠ Multi(✓d), wd,i ⇠ Multi( zd,i
)(i = 1, · · · , nd)
KDnd
20
トピック 単語
トピック数
k✓d↵ zd,i wd,i
文章数
✓d ⇠ Dir(↵)(d = 1, · · · , D), k ⇠ Dir( )(k = 1, · · · , K)
zd,i ⇠ Multi(✓d), wd,i ⇠ Multi( zd,i
)(i = 1, · · · , nd)
KDnd
単語数
グラフィカルモデル
21
トピック 単語
トピック数
 のパラメータ
(K次元ベクトル)
✓d  のパラメータ
(V次元ベクトル)
k
k✓d↵ zd,i wd,i
文章数
✓d ⇠ Dir(↵)(d = 1, · · · , D), k ⇠ Dir( )(k = 1, · · · , K)
zd,i ⇠ Multi(✓d), wd,i ⇠ Multi( zd,i
)(i = 1, · · · , nd)
KDnd
文章 における 
各トピックの出現分布
d トピック における 
単語の生起パラメータ
k
単語数
グラフィカルモデル
実験 22
問い合わせから作成したコーパスを用いてLDAで分析を行い, 
実験条件を変えて最適なトピック数・文章範囲を探索
①で得た条件においてトピック推定を行う
①条件探索
②トピック推定
• 藤沢市役所コールセンター問い合わせ履歴 2017年10月分
データセット 23
種類 問い合わせ件数(件) 文字数(個)
1ヶ月 3,417 390,965
1日の平均 106 13,994
1件の平均 1 132
• 藤沢市役所コールセンター問い合わせ履歴 2017年10月分
データセット 24
種類 問い合わせ件数(件) 文字数(個)
1ヶ月 3,417 390,965
1日の平均 106 13,994
1件の平均 1 132
① 問い合わせ文中のノイズ消去
② 単語分割(MeCabを使用)
③ 名詞以外の単語を除去
④ 出現頻度が1回以下の単語を除去
⑤ ④までの作業で残った単語でコーパスを作成
前処理 25
LDA分析
⑴トピック数:
⑵1件の文章として取り扱う範囲: 1件・1日・1ヶ月・1時間帯
K = {5, 10, 15, 20, 25, 50, 100, 150, 200, 250}
実験① ¦ 条件探索 26
  実験条件を変えて最適なトピック数・文章単位を探索
Twitterなど短文をLDAで扱う際に精度を上げるため、複数の文章を1つの文章として扱う[1]
[1] .Wayne Xin Zhao Comparing twitter and traditional media using topic models. In Eu- ropean Conference on Information Retrieval, pp. 338‒349. Springer, 2011. 

ツイート
ツイート
ツイート
ツイート
問い合わせから作成したコーパスを用いてLDAで分析
結果① ¦ トピック数・1文章の範囲 27
• 1つの文章として扱う範囲• トピック数
トピック数を変えた時のパープレキシティの変化
トピック数を増やすと同じような単語分布のトピックが複数出現
してしまいトピックの推定ができないため,K=10に決定
トピック数: K=10,取り扱い範囲: 1文章を1件とする
実験② ¦ トピック推定 28
• 単語分布からトピックを推定して命名
• トピック毎の単語分布をワードクラウドを用いて可視化
実験①で得た条件においてトピック推定を行う
トピック名
推定
結果② ¦ 推定されたトピック 29
 住居に関する要望
藤沢 転入 本籍
横浜 申請
問い合わせ例:
転入届について教えて下さい。 平塚市から転出してきましたが、転出証明書を
失くしてしまいました。 転入届はできますか。
戸籍謄本の手続きについて教えてください。
出現確率の高い単語:
結果② ¦ 推定されたトピック 30
 選挙に関する要望
出現確率の高い単語:
投票 整理 選挙
期日 入場
衆議院選挙の期日前投票に行きたいです。 本日から市役所で投票できますか。
問い合わせ例:
投票所入場整理券はいつ届きますか。
• 9月末が秋の転勤シーズンになるため,10月の引越しは多い
考察① ¦ 住居に関する要望 31
それぞれのトピックに属する問い合わせの件数
 住居に関する要望
[2] はこびんの引越しQ&Aサイトより http://xn--qa-083ax49r9s9b.com/post_11.html
引越し業者の繁忙期:3月後半∼4月,夏休み,10月,12月[2]
• 2017年10月22日(日)の衆議院総選挙の影響で      
選挙の会場や投票方法関する情報を求める要望が多くあった
考察② ¦ 選挙に関する要望 32
それぞれのトピックに属する問い合わせの件数
 選挙に関する要望
行政コールセンターの問い合わせ履歴に着目し、LDA
を使用して問い合わせの要望のトピックを推定
まとめ 33
藤沢市役所コールセンターの2017年10月分のデータより 
「選挙」「住居」などのトピックを推定
• 扱うデータを増やし,要望の推移を時系列的に捉える
• 分析結果を他の市町村でも行政の効率化に役立てる
目的
結果
今後の展望 • 推定するトピックの細密化
•PC:MacBook Pro
•OS:OS High Sierra 10.13
•言語 :Python 3.5.3
•ライブラリ:Gensim,PyLDA
•形態素解析ツール:MeCab
開発環境 34
•市役所内に設置するディスプレイに分析結果を表示し
市民に向けて発信
分析結果の活用 35
藤沢市SODAプロジェクト
ひと月ごとのデータの
粒度を変えた分析結果

More Related Content

Featured

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
 
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)
 

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...
 

行政コールセンターへの問い合わせデータを対象とした住民の要望分析