Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Commit Β·
6a3fa07
1
Parent(s): 6f7be4b
combine quality scores analyses under one title
Browse files
app/src/content/chapters/analyses.mdx
CHANGED
|
@@ -7,15 +7,17 @@ import Wide from "../../components/Wide.astro";
|
|
| 7 |
TODO: Add entry and exit paragraph
|
| 8 |
|
| 9 |
|
| 10 |
-
###
|
| 11 |
|
| 12 |
Running these ablations is super expensive. So we were looking for informative proxies that can predict whether a certain dataset will result in better downstream benchmark performance. Since the FineWeb-Edu-score and DCLM-score work well for human data, we thought they might also work for synthetic data.
|
| 13 |
|
| 14 |
-
We computed Spearman rank correlations between various edu-score and DCLM-score metrics (input scores, output scores, score differences, and relative improvements) and all downstream benchmark results across our 65 experiments. <FigRef target="score-correlation" /> shows the full correlation matrix.
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
**
|
|
|
|
|
|
|
| 19 |
|
| 20 |
{/*
|
| 21 |
**The HellaSwag/PIQA anomaly deserves a closer look.** Edu-score improvement shows strong *positive* correlations with HellaSwag (Ο = 0.60) and PIQA (Ο = 0.58), while being *negatively* correlated with math (Ο = β0.39) and reading comprehension (Ο = β0.30). We investigated whether this was a confound from prompt type (FAQ and tutorial prompts both increase edu-scores and might independently help NLU). The correlation survives partial correlation controlling for prompt type (Ο = 0.65 for HellaSwag, Ο = 0.56 for PIQA, both p {'<'} 0.001) and for model size within the Gemma family (Ο = 0.60 and 0.68). So the effect is real. However, the practical magnitude is tiny: HellaSwag scores range from 0.066 to 0.092 across all 65 experiments (CV = 5.8%), compared to `agg_score_macro` ranging from 0.096 to 0.172 (CV = 10.5%). The edu-score captures something about sentence-completion and physical-intuition quality, but the absolute differences are so small that optimizing for it would be chasing noise.
|
|
@@ -23,6 +25,12 @@ We computed Spearman rank correlations between various edu-score and DCLM-score
|
|
| 23 |
|
| 24 |
**Neither score is a reliable universal proxy.** WinoGrande shows essentially zero correlation with any predictor. The strongest individual correlations (Ο β 0.55β0.60) are still only moderate, explaining roughly 30% of the variance at best. **For synthetic data, there is no shortcut: you have to train models and evaluate them.**
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
<Wide>
|
| 27 |
<HtmlEmbed
|
| 28 |
id="score-correlation"
|
|
@@ -32,6 +40,21 @@ We computed Spearman rank correlations between various edu-score and DCLM-score
|
|
| 32 |
/>
|
| 33 |
</Wide>
|
| 34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
### Math Rephrasing: When "Worse" Outputs Win
|
| 37 |
|
|
@@ -135,24 +158,3 @@ GPU time across our 65 experiments varies by two orders of magnitude: the cheape
|
|
| 135 |
</Wide>
|
| 136 |
|
| 137 |
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
### How Do Quality Scores Shift Through Rephrasing?
|
| 141 |
-
|
| 142 |
-
The correlation analysis above tells us that quality scores are weak predictors of performance, but it does not show *how* scores change through rephrasing. <FigRef target="score-shift" /> visualizes this as a slope chart: each experiment is a line connecting its input score (left), output score (middle), and downstream `agg_score_macro` (right). Toggle between DCLM and edu-score views to see both perspectives.
|
| 143 |
-
|
| 144 |
-
**DCLM scores almost universally increase through rephrasing.** Nearly every experiment shows an upward slope from input to output DCLM score, regardless of prompt type or model. This makes sense: the rephrasing models produce cleaner, more structured text that the DCLM classifier rewards. But the slope from output DCLM score to downstream performance is much flatter and noisier, confirming that a high DCLM score does not guarantee good training data.
|
| 145 |
-
|
| 146 |
-
**Edu-scores tell the opposite story.** Most experiments *decrease* the edu-score through rephrasing, particularly those starting from high-quality sources (FineWeb-Edu-HQ has high baseline edu-scores). The edu-score classifier penalizes format changes like tables, FAQs, and math notation that our best prompts produce. This is a case where the proxy metric actively misleads: the "quality degradation" measured by edu-score corresponds to format transformations that *improve* downstream performance.
|
| 147 |
-
|
| 148 |
-
{/* Seven early runs have incorrect input quality scores due to a scoring pipeline bug and
|
| 149 |
-
are excluded in the chart JS via BROKEN_INPUT_SCORES rather than patched in the JSON:
|
| 150 |
-
article/commentary/discussion/tutorial-1b-hq, tutorial-12b-hq, faq-1b-lq, faq-12b-lq */}
|
| 151 |
-
<Wide>
|
| 152 |
-
<HtmlEmbed
|
| 153 |
-
id="score-shift"
|
| 154 |
-
src="score-shift.html"
|
| 155 |
-
data="rephrasing_metadata.json"
|
| 156 |
-
desc="Slope chart showing how quality scores shift through rephrasing. Each line connects an experiment's input score, output score, and downstream performance. Toggle between DCLM and edu-score views."
|
| 157 |
-
/>
|
| 158 |
-
</Wide>
|
|
|
|
| 7 |
TODO: Add entry and exit paragraph
|
| 8 |
|
| 9 |
|
| 10 |
+
### Can Quality Scores Predict Performance?
|
| 11 |
|
| 12 |
Running these ablations is super expensive. So we were looking for informative proxies that can predict whether a certain dataset will result in better downstream benchmark performance. Since the FineWeb-Edu-score and DCLM-score work well for human data, we thought they might also work for synthetic data.
|
| 13 |
|
| 14 |
+
We computed Spearman rank correlations between various edu-score and DCLM-score metrics (input scores, output scores, score differences, and relative improvements) and all downstream benchmark results across our 65 experiments.[^broken-scores] <FigRef target="score-correlation" /> shows the full correlation matrix.
|
| 15 |
|
| 16 |
+
[^broken-scores]: Seven early runs had incorrect input quality scores due to a scoring pipeline bug and are excluded from the quality score analyses: `article-1b-hq`, `commentary-1b-hq`, `discussion-1b-hq`, `tutorial-1b-hq`, `tutorial-12b-hq`, `faq-1b-lq`, and `faq-12b-lq`. Their downstream benchmark results are unaffected and included in all other analyses.
|
| 17 |
|
| 18 |
+
**DCLM-score is a moderate predictor of aggregate performance.** The DCLM-score difference (output minus input) shows the strongest correlation with `agg_score_macro` (Ο = 0.60, p {'<'} 0.001), followed by the output DCLM-score (Ο = 0.55). These are moderate correlations at best. The DCLM-score variants are particularly predictive for table understanding (Ο = 0.51β0.58) and reading comprehension (Ο = 0.47β0.51).
|
| 19 |
+
|
| 20 |
+
**Edu-score tells a more nuanced story.** The input edu-score (the score of the original data before rephrasing) correlates with aggregate performance (Ο = 0.35, p {'<'} 0.01), but the output edu-score (the score of the rephrased data) shows essentially no correlation (Ο = 0.04, not significant). Starting with higher-quality source data matters, but the edu-score of the synthetic output is not a reliable proxy at all.
|
| 21 |
|
| 22 |
{/*
|
| 23 |
**The HellaSwag/PIQA anomaly deserves a closer look.** Edu-score improvement shows strong *positive* correlations with HellaSwag (Ο = 0.60) and PIQA (Ο = 0.58), while being *negatively* correlated with math (Ο = β0.39) and reading comprehension (Ο = β0.30). We investigated whether this was a confound from prompt type (FAQ and tutorial prompts both increase edu-scores and might independently help NLU). The correlation survives partial correlation controlling for prompt type (Ο = 0.65 for HellaSwag, Ο = 0.56 for PIQA, both p {'<'} 0.001) and for model size within the Gemma family (Ο = 0.60 and 0.68). So the effect is real. However, the practical magnitude is tiny: HellaSwag scores range from 0.066 to 0.092 across all 65 experiments (CV = 5.8%), compared to `agg_score_macro` ranging from 0.096 to 0.172 (CV = 10.5%). The edu-score captures something about sentence-completion and physical-intuition quality, but the absolute differences are so small that optimizing for it would be chasing noise.
|
|
|
|
| 25 |
|
| 26 |
**Neither score is a reliable universal proxy.** WinoGrande shows essentially zero correlation with any predictor. The strongest individual correlations (Ο β 0.55β0.60) are still only moderate, explaining roughly 30% of the variance at best. **For synthetic data, there is no shortcut: you have to train models and evaluate them.**
|
| 27 |
|
| 28 |
+
{/*
|
| 29 |
+
Seven early runs have incorrect input quality scores due to a scoring pipeline bug and
|
| 30 |
+
are excluded in both charts' JS via BROKEN_INPUT_SCORES rather than patched in the JSON:
|
| 31 |
+
article/commentary/discussion/tutorial-1b-hq, tutorial-12b-hq, faq-1b-lq, faq-12b-lq
|
| 32 |
+
*/}
|
| 33 |
+
|
| 34 |
<Wide>
|
| 35 |
<HtmlEmbed
|
| 36 |
id="score-correlation"
|
|
|
|
| 40 |
/>
|
| 41 |
</Wide>
|
| 42 |
|
| 43 |
+
The correlation matrix tells us that quality scores are weak predictors, but not *how* scores change through rephrasing. <FigRef target="score-shift" /> visualizes this as a slope chart: each experiment is a line connecting its input score (left), output score (middle), and downstream `agg_score_macro` (right). Toggle between DCLM and edu-score views to see both perspectives.
|
| 44 |
+
|
| 45 |
+
**DCLM scores almost universally increase through rephrasing.** Nearly every experiment shows an upward slope from input to output DCLM score, regardless of prompt type or model. The rephrasing models produce cleaner, more structured text that the DCLM classifier rewards. But the slope from output DCLM score to downstream performance is much flatter and noisier, confirming that a high DCLM score does not guarantee good training data.
|
| 46 |
+
|
| 47 |
+
**Edu-scores tell the opposite story.** Most experiments *decrease* the edu-score through rephrasing, particularly those starting from high-quality sources (FineWeb-Edu-HQ has high baseline edu-scores). The edu-score classifier penalizes format changes like tables, FAQs, and math notation that our best prompts produce. This is a case where the proxy metric actively misleads: the "quality degradation" measured by edu-score corresponds to format transformations that *improve* downstream performance.
|
| 48 |
+
|
| 49 |
+
<Wide>
|
| 50 |
+
<HtmlEmbed
|
| 51 |
+
id="score-shift"
|
| 52 |
+
src="score-shift.html"
|
| 53 |
+
data="rephrasing_metadata.json"
|
| 54 |
+
desc="Slope chart showing how quality scores shift through rephrasing. Each line connects an experiment's input score, output score, and downstream performance. Toggle between DCLM and edu-score views."
|
| 55 |
+
/>
|
| 56 |
+
</Wide>
|
| 57 |
+
|
| 58 |
|
| 59 |
### Math Rephrasing: When "Worse" Outputs Win
|
| 60 |
|
|
|
|
| 158 |
</Wide>
|
| 159 |
|
| 160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|