Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
snlp2023_rogue_scores
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Sho Takase
August 27, 2023
Technology
440
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
snlp2023_rogue_scores
Sho Takase
August 27, 2023
More Decks by Sho Takase
See All by Sho Takase
snlp2025_prevent_llm_spikes
takase
0
490
snlp2024_multiheadMoE
takase
0
710
snlp2023_beyond_neural_scaling_laws
takase
0
440
[SNLP2022] ABC: Attention with Bounded-memory Control
takase
0
440
SNLP2020_mixtext
takase
0
370
SNLP2020_sandwich
takase
0
370
ニューラル言語モデルの研究動向(NL研招待講演資料)
takase
12
5.3k
Other Decks in Technology
See All in Technology
「コーディング」しない人のための Claude Code 入門 ChatGPT の次の一歩 — 業務に組み込む 育成・共有・自動化
rfdnxbro
2
1.2k
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development
yoshidashingo
1
380
Ruby::Boxでできること、Refinementsでできること
joker1007
3
400
Oracle Cloud Infrastructure IaaS 新機能アップデート 2026/3 - 2026/5
oracle4engineer
PRO
1
210
protovalidate-es を導入してみた
bengo4com
0
140
AI Testing Talks: Challenges of Applying AI in Software Testing: From Hype to Practical Use
exactpro
PRO
1
140
React、まだ楽しくて草
uhyo
7
4.1k
価格.comをAI駆動で全面刷新する ー 30年分の技術的負債を返し、次の30年の土台をつくる ー / AI Engineering Summit Tokyo 2026
tkyowa
50
55k
LLMと共に進化するプロセスを目指して
ymatsuwitter
12
3.5k
ブロックチェーン / Blockchain
ks91
PRO
0
110
はじめてのDatadog
kairim0
0
290
Terraformモジュールは、なぜ「魔境」化するのか
hayama17
1
210
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
300
A Soul's Torment
seathinner
6
2.9k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
520
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
For a Future-Friendly Web
brad_frost
183
10k
How to make the Groovebox
asonas
2
2.2k
Building AI with AI
inesmontani
PRO
1
1.1k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
350
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Transcript
Rogue Scores Max Grusky ACL 2023 読む⼈︓⾼瀬翔(LINE) 2023/8/28 1
本論⽂のまとめ • ROUGEスコアが正しく計測されてない報告 – ROUGEスコア︓参照⽂との⼀致率 – 要約の評価のために考案された – 近年は質問応答やキャプション⽣成の評価でも使⽤される •
20年間でROUGEを使⽤した論⽂2834本を調査 – 20年間︓ROUGEスコアが提案されてから現在まで [Lin, 04] – 再現可能な報告をしている論⽂は 20% • ただし,実装に⾔及している論⽂の 76% が誤ったスコアを出⼒する実装を使⽤ • ⾼瀬の意⾒︓評価とは何をすべきかを考えて欲しい – 「ROUGEは」にとどまらない問題 2
ROUGEスコア計測に関わる変数 3 REFERENCE MODEL INPUT LANGUAGE MODEL HYPOTHESIS ROUGE-1.5.5 AJ/pyrouge
BZ/pyrouge CW/sumeval DI/pyrouge GL/seq2seq HF/metrics KG/rouge2 MS/rouge PT/pyrouge PT/rouge Other: Custom Code Package Tokenization None NLTK Other: Sentence Splits None NLTK By Periods Other: Preprocessing Stemming Stopwords Truncation Words: 100 Bytes: Configuration Variant R-1 R-2 R-L R-W R-S R-SU4 Subscores Prec. Recall F1 Score F , = 1.2 Bootstrapping No Yes Conf. Interval 99% 95% Other: 0 % Reporting 43.57 ? ? ? ?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? How was this ROUGE score computed? Is it correct and comparable with prior work? These decisions affect ROUGE scores. Are they reported in machine learning papers? Figure 2: ROUGE measures similarity between human-written (reference) and model-generated (hypothesis) texts. The 実装 ⼊⼒の加⼯法 報告する値
設定次第でスコアが⼤幅に変わる 4 producible? onfiguration How much ation? Here onstrate the
y issues. Microsoft is tandard bal- Using a rogue ROUGE configuration, anyone can achieve state-of-the-art scores! CNN / Daily Mail Summarization Models ROUGE Scores R1 R2 RL Lead-3 (Baseline) 40.34 17.55 36.58 T5 (Raffel et al., 2020) 43.52 21.55 40.69 BART (Lewis et al., 2020) 44.16 21.28 40.90 PEGASUS (Zhang et al., 2020) 44.17 21.47 41.11 SIMCLS (Liu and Liu, 2021) 46.67 22.15 43.54 BRIO (Liu et al., 2022) 47.78 23.55 44.57 Rogue-3 (Ours) 73.89 55.80 73.89 Table 3: Surprise! Our spectacular Rogue-3 “model” is ⼊⼒は同じでも 設定次第で ここまで上がる
設定次第でスコアが⼤幅に変わる 5 producible? onfiguration How much ation? Here onstrate the
y issues. Microsoft is tandard bal- Using a rogue ROUGE configuration, anyone can achieve state-of-the-art scores! CNN / Daily Mail Summarization Models ROUGE Scores R1 R2 RL Lead-3 (Baseline) 40.34 17.55 36.58 T5 (Raffel et al., 2020) 43.52 21.55 40.69 BART (Lewis et al., 2020) 44.16 21.28 40.90 PEGASUS (Zhang et al., 2020) 44.17 21.47 41.11 SIMCLS (Liu and Liu, 2021) 46.67 22.15 43.54 BRIO (Liu et al., 2022) 47.78 23.55 44.57 Rogue-3 (Ours) 73.89 55.80 73.89 Table 3: Surprise! Our spectacular Rogue-3 “model” is ⼊⼒は同じでも 設定次第で ここまで上がる 著者⽈く この辺りは 正しくない 実装で計測 → 何が起こる︖
実装が違うと値が異なる 6 ing a ion 2 76% ts the 000+
ngly, ainst ation urred used; . ndard n our s. On with ately. dated ation cores e av- Thousands of machine learning models are evaluated by ROUGE packages with errors. Common ROUGE Packages Percentage of Incorrect Scores STEMMING + STEMMING R1 R2 RL R1 R2 RL Standard Implementation ROUGE-1.5.5 0 0 0 0 0 0 Nonstandard — Wrappers AJ/pyrouge 100 100 100 100 100 100 BZ/pyrouge 46 28 56 0 0 0 DD/sacrerouge 0 0 0 0 0 0 LP/rougemetric 0 0 0 13 6 18 PT/files2rouge 0 0 83 13 6 86 PT/pyrouge 0 0 0 0 0 0 TG/pythonrouge 100 100 84 100 100 86 Nonstandard — Reimplementations CW/sumeval 98 97 100 98 97 100 +stopwords 0 0 97 73 61 99 DD/sacrerouge 0 0 97 0 0 98 DI/pyrouge 4 4 4 4 4 4 GL/rougescore 0 0 97 14 6 98 +rougeLSum — — 0 — — 19 GL/seq2seq 98 97 100 — — — KG/rouge2 98 97 100 98 97 100 +stopwords 93 97 100 94 97 100 LP/rougemetric 97 95 99 — — — MS/rouge — — 100 — — — ND/easyrouge 98 97 100 — — — PT/rouge 98 96 100 — — — KEY Correct Incorrect Individual and Overall Scores Correct Individual Scores, Incorrect Overall Scores ROUGEのオリジナル実装と⽐較して スコアの差が出るパーセンテージ (ROUGEは事例ごとに算出可能 何パーセントの事例でスコアがずれたかを提⽰) ほぼすべての実装がオリジナルと異なる値を出⼒ → 値を相互に⽐較して モデルの是⾮を議論することは不可能
どうすれば良いのか︖ • 素朴な考え︓正しく測定できるようにする – オリジナル実装を⽤いる + パラメータもすべて表記 • ⾼瀬の意⾒︓値の再現の担保を諦め,相対的な差の議論に限定する –
本論⽂と同じような主張・調査は BLEU でもされている • SacreBLEU [Post 18], [Marie+ 21] の調査 • 改善しているか︖ → 体感としては No,査読時の要求は増えたが改善はなし – 「正しい測定の仕⽅」が難しすぎる • 正しい実装 + 正しい⼊出⼒ + 正しいパラメータで評価は新規参⼊者には不可能 • できること – 既存論⽂からスコアのコピペを⽌める – ⾃分の環境で各モデルのスコアを算出する • ⾃分の環境の上で相対的な良し悪しを議論することは可能 7
本論⽂のまとめ(再掲) • ROUGEスコアが正しく計測されてない報告 – ROUGEスコア︓参照⽂との⼀致率 – 要約の評価のために考案された – 近年は質問応答やキャプション⽣成の評価でも使⽤される •
20年間でROUGEを使⽤した論⽂2834本を調査 – 20年間︓ROUGEスコアが提案されてから現在まで [Lin, 04] – 再現可能な報告をしている論⽂は 20% • ただし,実装に⾔及している論⽂の 76% が誤ったスコアを出⼒する実装を使⽤ • ⾼瀬の意⾒︓評価とは何をすべきかを考えて欲しい – 「ROUGEは」にとどまらない問題 8