Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Commit ·
78d7a2d
1
Parent(s): 6a3fa07
combined verbosity/compression analyses under one title
Browse files
app/src/content/chapters/analyses.mdx
CHANGED
|
@@ -56,6 +56,33 @@ The correlation matrix tells us that quality scores are weak predictors, but not
|
|
| 56 |
</Wide>
|
| 57 |
|
| 58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
### Math Rephrasing: When "Worse" Outputs Win
|
| 60 |
|
| 61 |
We compared two ~1.7B parameter models for generating math word problems: SmolLM2 and Qwen3. SmolLM2's outputs looked objectively worse, yet models trained on them performed better.
|
|
@@ -109,35 +136,6 @@ SmolLM2's quality distribution was actually reasonable:
|
|
| 109 |
|
| 110 |
For pretraining data, diversity beats consistency. Models that don't follow instructions perfectly can produce better training data than those that do.
|
| 111 |
|
| 112 |
-
### How Verbose Are Different Prompt Types?
|
| 113 |
-
|
| 114 |
-
Different prompt formats produce wildly different output lengths. <FigRef target="verbosity" /> shows the output tokens per document across four prompt types, broken down by model family. Table and Math prompts tend to be concise, while FAQ and Tutorial prompts generate significantly more tokens per document. Notably, the spread within each prompt type varies across model families: some models are consistently verbose regardless of the prompt, while others adapt their output length to the task.
|
| 115 |
-
|
| 116 |
-
<Wide>
|
| 117 |
-
<HtmlEmbed
|
| 118 |
-
id="verbosity"
|
| 119 |
-
src="verbosity.html"
|
| 120 |
-
data="rephrasing_metadata.json"
|
| 121 |
-
desc="Output tokens per document across prompt types and model families. Hover over dots to see detailed statistics for each experiment."
|
| 122 |
-
/>
|
| 123 |
-
</Wide>
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
### Does Compression Predict Performance?
|
| 128 |
-
|
| 129 |
-
Our prompts produce outputs ranging from 25% of the input length (Commentary) to 150% (Guided Rewrite at 12B). Does the degree of compression or expansion matter for downstream performance? <FigRef target="compression-performance" /> plots each experiment's compression ratio against its benchmark score.
|
| 130 |
-
|
| 131 |
-
**There is no meaningful relationship between compression ratio and performance.** Highly compressive prompts (Commentary at 0.26x, Table at 0.25x) and expansive ones (Guided Rewrite at 1.5x) both appear across the full range of performance scores. The best-performing experiments cluster around 0.3x-0.8x compression, but this likely reflects the distribution of prompt types rather than any causal effect of compression itself. FAQ and Tutorial prompts, which happen to compress moderately, also happen to be the strongest prompts for other reasons (pedagogical restructuring, diverse output formats).
|
| 132 |
-
|
| 133 |
-
This means you should not use compression ratio as a proxy for data quality. A prompt that produces concise outputs is not inherently better or worse than one that produces verbose outputs. What matters is the content and structure of the output, not its length relative to the input.
|
| 134 |
-
|
| 135 |
-
<HtmlEmbed
|
| 136 |
-
id="compression-performance"
|
| 137 |
-
src="compression-performance.html"
|
| 138 |
-
data="rephrasing_metadata.json"
|
| 139 |
-
desc="Compression ratio (output/input tokens) vs downstream performance. The dashed line marks ratio = 1.0 (no compression). Hover over points for details."
|
| 140 |
-
/>
|
| 141 |
|
| 142 |
|
| 143 |
### Is More Compute Worth It?
|
|
@@ -156,5 +154,3 @@ GPU time across our 65 experiments varies by two orders of magnitude: the cheape
|
|
| 156 |
desc="GPU time (log scale) vs downstream performance for all 65 experiments. The dashed line shows the Pareto frontier of most efficient configurations. Hover over points for details."
|
| 157 |
/>
|
| 158 |
</Wide>
|
| 159 |
-
|
| 160 |
-
|
|
|
|
| 56 |
</Wide>
|
| 57 |
|
| 58 |
|
| 59 |
+
### Do Chatty Models Make Better Data?
|
| 60 |
+
|
| 61 |
+
Different prompt formats produce wildly different output lengths. <FigRef target="verbosity" /> shows the output tokens per document across four prompt types, broken down by model family. Table and Math prompts tend to be concise, while FAQ and Tutorial prompts generate significantly more tokens per document. The spread within each prompt type varies across model families: some models are consistently verbose regardless of the prompt, while others adapt their output length to the task.
|
| 62 |
+
|
| 63 |
+
<Wide>
|
| 64 |
+
<HtmlEmbed
|
| 65 |
+
id="verbosity"
|
| 66 |
+
src="verbosity.html"
|
| 67 |
+
data="rephrasing_metadata.json"
|
| 68 |
+
desc="Output tokens per document across prompt types and model families. Hover over dots to see detailed statistics for each experiment."
|
| 69 |
+
/>
|
| 70 |
+
</Wide>
|
| 71 |
+
|
| 72 |
+
But does this variation actually affect downstream performance? Our prompts produce outputs ranging from 25% of the input length (Commentary) to 150% (Guided Rewrite at 12B). <FigRef target="compression-performance" /> plots each experiment's compression ratio against its benchmark score.
|
| 73 |
+
|
| 74 |
+
**There is no meaningful relationship between compression ratio and performance.** Highly compressive prompts (Commentary at 0.26x, Table at 0.25x) and expansive ones (Guided Rewrite at 1.5x) both appear across the full range of performance scores. The best-performing experiments cluster around 0.3x–0.8x compression, but this likely reflects the distribution of prompt types rather than any causal effect of compression itself. FAQ and Tutorial prompts, which happen to compress moderately, also happen to be the strongest prompts for other reasons (pedagogical restructuring, diverse output formats). What matters is the content and structure of the output, not its length relative to the input.
|
| 75 |
+
|
| 76 |
+
<Wide>
|
| 77 |
+
<HtmlEmbed
|
| 78 |
+
id="compression-performance"
|
| 79 |
+
src="compression-performance.html"
|
| 80 |
+
data="rephrasing_metadata.json"
|
| 81 |
+
desc="Compression ratio (output/input tokens) vs downstream performance. The dashed line marks ratio = 1.0 (no compression). Hover over points for details."
|
| 82 |
+
/>
|
| 83 |
+
</Wide>
|
| 84 |
+
|
| 85 |
+
|
| 86 |
### Math Rephrasing: When "Worse" Outputs Win
|
| 87 |
|
| 88 |
We compared two ~1.7B parameter models for generating math word problems: SmolLM2 and Qwen3. SmolLM2's outputs looked objectively worse, yet models trained on them performed better.
|
|
|
|
| 136 |
|
| 137 |
For pretraining data, diversity beats consistency. Models that don't follow instructions perfectly can produce better training data than those that do.
|
| 138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
|
| 140 |
|
| 141 |
### Is More Compute Worth It?
|
|
|
|
| 154 |
desc="GPU time (log scale) vs downstream performance for all 65 experiments. The dashed line shows the Pareto frontier of most efficient configurations. Hover over points for details."
|
| 155 |
/>
|
| 156 |
</Wide>
|
|
|
|
|
|