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
新アーキテクチャ「TiDB X」解説とDedicated比較 TiDB Cloud Premiumのゲーム運用活用を検証
staffrecruiter
0
120
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.9k
探して_入れて_作って_使う_Agent_Skills___LT.pdf
peintangos
2
170
【Gen-AX】20260530開催_JJUG CCC 2026 Spring
genax
0
430
TypeScript Compiler APIとPHP-Parserを活用し、TypeScriptとPHPで型を共有する
shuta13
0
370
Databricks 月刊サービスアップデート 2026年05月号
tyosi1212
0
210
「コーディング」しない人のための Claude Code 入門 ChatGPT の次の一歩 — 業務に組み込む 育成・共有・自動化
rfdnxbro
2
1.2k
美味しいスイスチーズを作ろう🧀🐭
taigamikami
1
260
個人最適 から 全体最適 へ AI情報共有会・AIギルド・AI-DLC で進める カンリーの組織展開
rfdnxbro
0
1.8k
AI フレンドリーなエラー監視を TypeScript で実現する
shinyaigeek
2
270
Dynamic Workersについて
yusukebe
2
620
AI駆動開発が変える、大規模開発の前提 ーHuman in the Loop から Human on the Loop へ / AIE2026
visional_engineering_and_design
26
15k
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Believing is Seeing
oripsolob
1
140
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
200
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
From π to Pie charts
rasagy
0
200
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
840
Art, The Web, and Tiny UX
lynnandtonic
304
22k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
240
エンジニアに許された特別な時間の終わり
watany
107
250k
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