SlideShare a Scribd company logo
1 of 15
Download to read offline
フリースタイルラップバトルとは?
先攻「俺は今⽇も⾛ってるランナー ゴールは優勝ただそれだけだ ビート
上、最速で通るペース 俺が先に切るゴールテープ」
後攻「ゴールが優勝?俺だって⼀緒だ ゆっくり⾛るお前は⻑距離⾛者 俺
はこの場で何度死のうが 這い上がり⾛る短距離⾛者」
https://brt101.com/2017/07/07/mcbattle-and-businessskill-02/
フリースタイルラップバトルの例
・ラッパー同⼠が即興で歌詞を作成し、
そのスキルを競う
・韻を踏み、相⼿の⾔われた事にも
返答する(⼝喧嘩ではない)
https://hiphop.abematimes.com/posts/2399756
⼈間 vs AI -バトルの歴史-
いつか⼈間とAI・ロボットが
ラップバトルで対戦する⽇も来るのでは?
Pepperにフリースタイルラップをさせてみた
フリースタイルペッパーの概要
1. たくさん与えた⽂章群(ブログ記事、⼩説等)から⾃動でラップを作る
- ⾃動韻⽣成AIを活⽤
2. ある特定の感情や印象に当てはまる⼀貫性のあるラップを作る
- IBM Watson Natural Language Classifierを使⽤して⽂章から印象分析
3. 指定したキーワード(相⼿の発⾔した⾔葉)を含める
- キーワードと同⼀品詞の単語を置換する
Pepperが1台でラップ(基本モード) Pepper vs 人間(対戦モード) Pepper vs Pepper (対戦モード)
Use Case 1 Use Case 2 Use Case 3
1. たくさん与えた⽂章群から⾃動でラップを作る
⽂章中から韻を踏んでいるフレーズの組み合わせを検出する既存技術を
ベースに、本作品⽤に⼀部処理を修正して開発
“文章中から韻を踏んでいるフレーズの組み合わせを検出する gem を作りました”
https://qiita.com/suzuki86/items/2a2801944a3e393464c7
【処理概要】
1. ラップ⽣成⽤⽂書データを形態素解析し、単語に分割
2. ローマ字に変換された単語の⼦⾳と⺟⾳の並びを⽐較し、韻を踏んでいる2
単語を検出
3. 検出された各単語が含まれる⽂章をそれぞれ検出
4. 各単語がそれぞれ⽂末になるように⽂章を切り取って出⼒
1. たくさん与えた⽂章群から⾃動でラップを作る
⽂章中から韻を踏んでいるフレーズの組み合わせを検出する既存技術を
ベースに、本作品⽤に⼀部処理を修正して開発
“文章中から韻を踏んでいるフレーズの組み合わせを検出する gem を作りました”
https://qiita.com/suzuki86/items/2a2801944a3e393464c7
【処理概要】
1. ラップ⽣成⽤⽂書データを形態素解析し、単語に分割
2. ローマ字に変換された単語の⼦⾳と⺟⾳の並びを⽐較し、韻を踏んでいる2
単語を検出
3. 検出された各単語が含まれる⽂章をそれぞれ検出
4. 各単語がそれぞれ⽂末になるように⽂章を切り取って出⼒
実際に例を見てみましょう
「⽂章群から⾃動でラップを作る」とは?
https://www.softbank.jp/robot/special/app-challenge-2017-autumn/pre-pac/
PAC作品⾃慢総選挙公式サイト
この総選挙の概要説明⽂と
みなさんの作品概要⽂から
ラップを⾃動⽣成してみます!
⼀つの基準だけでも尖った作品でも歓迎 プログラム前後に共感度を独⾃の感情認識エンジン
で判定
Pepperのカメラ画像 ⽩井さんの仮想
Pepperのカメラ画像 ⽇本⽣まれのPepperだからこそ可能
次点になってしまった作品はノミネート作品 会議などのアポイントを確認
当⽇は観覧者による投票 企業全体としての⽣産性を向上
複数台のPepperとロボットが⾳楽に合わせ 時代はペッパーによるペッパーだらけ
Pepperの魅⼒を⼀番知っているのはデベロッパーの皆様 迎えが来るまでは⼦供とお話しし
ながら
来店客の年齢層や性別などもリアルタイム Pepperがフリースタイル
社員の健康とモチベーションアップにより お客様のココロ読み取り
進化し続けます継続対話 Pepperの悩みを世代や⽴場
etc…
計720件をラップとして⾃動⽣成!
※その他⾃動⽣成されたラップたち
2. 印象を分類してピックアップ
事前に⽂章の印象を判定できるよう機械学習
1. ラップに使⽤するものとは異なる任意の⽂章群を⽤意(20⽂字程度の⽂章)
2. ユーザーがカテゴリを設定し、各⽂章に対しカテゴリ付与(「嬉しい」「怒り」「楽し
い」など)
3. 学習処理を⾏い、分類器を⽣成する
各印象カテゴリの
スコアを抽出
Watson Natural Language
Classifierを使用
3. 指定したキーワードに変換する
⽩井さんのカノジョ召喚 プログラム前後に共感
Pepperアイディアソンで集結したメンバー
様々な接触に対する検知が可能なセンサー
孫さん マラソン NAO
固有名詞・⼈名 ⼀般名詞 固有名詞・製品名
⽩井さんのカノジョ召喚 プログラム前後に共感
Pepperアイディアソンで集結したメンバー
様々な接触に対する検知が可能なセンサー
孫さん マラソン
NAO
品詞と合致するものを置き換え
単語の種類が合致するものを優先的に
システム構成
13
意味分類API
(Watson Natural
LanguageClassifiler)
韻生成AI
(既存技術利用&一部独自開発)
ラップ風に
発話調整処理
(韻部分とそれ以外の
発話スピードを調整)
文章と印象分類用キ
ーワードの組み合わ
せを用意
印象分析用
学習データ
ラップ生成用
文書データ
ラップ群DB
(CloudantDB)
音声認識API
(Watson Speech to
Text)
対戦相手のラップを
聞き取る
特定のキーワードに合
致するラップを検索
対戦相手
1ターン
8小節分の
ラップを抽出
ラップの印象分析
印象と
近いラ
ップを
検索
発話調整済み
テキストを送信
IBM Bluemix
ブログやTwitterの文
章等を用意
事前処理部分
事前処理時のフロー
本処理時のフロー
※各注釈(*1~3)の詳細
についてはノートを
参照
文中から韻を抽出し
ラップを生成
× ロボットが⼈を超える
○ ロボットと⼈間が⼀緒に楽しむ
このアプリが⽬指すこと
♪感謝するぜ ご清聴
♪欲しいのはあなたの清き一票!
- チェスや囲碁のように計算スピードだけで勝てるわけではない
- どんなにAIが進化しても、毎回どちらが勝つかは分からない(審査員判定)
今後の展望
●よりラッパーらしい動きを研究
- 印象分類の結果を反映して、動きを変える等
●某媒体にて某知性派ラッパーの⽅と共演予定
- プロの⽬から評価頂き、改善していく

More Related Content

Recently uploaded

Recently uploaded (11)

Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
 
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
 
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 

Featured

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)

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
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

フリースタイルペッパー(Freestyle Pepper) - Pepper App Challenge 作品自慢総選挙 進出作品