File size: 3,948 Bytes
c5241c0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<section id="depth" class="backup">
<h2 class="b-title">Backup: five look-ahead heads and the copied branch</h2>
<p class="k-cap">Hindi (Devanagari), dependent heads with backbone targets, mean of 3 seeds, 119 held-out documents, lossless verification. Tokens per backbone pass at the same number of verified tokens.</p>
<div class="row">
<div class="k-left">
<table class="t kt">
<tr class="t-head"><th>Drafter</th><th class="k-v">8 verified tokens</th><th class="k-v">16 verified tokens</th></tr>
<tr><td>3 look-ahead heads, confidence tree</td><td>2.67</td><td>2.83</td></tr>
<tr><td>5 look-ahead heads, confidence tree</td><td>2.82</td><td>3.10</td></tr>
<tr><td>3 look-ahead heads, tree + copied branch</td><td>3.58</td><td>3.81</td></tr>
<tr><td>5 look-ahead heads, tree + copied branch</td><td><b>3.69</b></td><td><b>4.06</b></td></tr>
</table>
</div>
<ul class="k-takes">
<li><b>Two more heads help the tree.</b> +5.7% at 8 verified tokens (95% interval +4.9% to +6.5%) and +9.5% at 16.</li>
<li><b>Depth and copying partly overlap.</b> With the copied branch, the gain from two more heads falls from +5.7% to +3.0% at 8 and from +9.5% to +6.4% at 16.</li>
<li><b>Both together</b> over the three-head tree: +38% at 8 and +43% at 16.</li>
<li><b>On ITRANS and English two more heads add little</b> (1 seed each): +0.5% and +0.7% at 8, +1.0% and +1.9% at 16. Only 6% and 7% of rounds accept all three drafts, against 22% in Devanagari.</li>
</ul>
</div>
<p class="k-note"><b>Costs.</b> Trainable parameters: 92.3M against 46.1M. Measured on a GTX 1080 Ti: a verification pass over 6 tokens takes 13% to 16% longer than over 4, and drafting a chain of five tokens takes 15 to 16 ms per round against 9 to 10 ms for three. <b>Measured end to end (seed 0, shortlist): no speed gain.</b> With the copied branch at 16 verified tokens, 2.46× greedy with five heads against 2.50× with three; without it 1.88× against 1.86×; on ITRANS 3.00× against 3.20×. The first three look-ahead heads stay as accurate as before.</p>
<p class="compute"><b>Compute</b> (one GPU per run, fp32). Five look-ahead heads: 3.7 h training per seed on a GTX 1080 Ti (745 to 752 tokens/s) and 4.0 h on the Quadro P6000 (696 tokens/s), 10M tokens, peak 8.1 GB. Three look-ahead heads: 2.8 h (1,000 tokens/s), peak 7.4 GB. Evaluation of both stacks: 5.5 min for 3 seeds on a GTX 1080 Ti, peak 5.6 GB.</p>
<aside>Per seed (seeds 0, 1, 2). At 8 verified tokens: 3 heads tree 2.661, 2.685, 2.668; 5 heads tree 2.820, 2.831, 2.818; 3 heads with copied branch 3.569, 3.581, 3.588; 5 heads with copied branch 3.679, 3.676, 3.705. At 16: 2.833, 2.823, 2.848; 3.107, 3.103, 3.104; 3.797, 3.817, 3.826; 4.045, 4.061, 4.068. Gains are paired over documents and pooled over seeds; 95% intervals: depth without the copied branch +4.9 to +6.5 at 8 and +8.5 to +10.5 at 16; depth with it +2.5 to +3.6 and +5.7 to +7.2; both together +35.1 to +41.0 and +40.6 to +45.9. At 24 verified tokens the five-head tree gives 3.23 against 2.90 (+11.5%, interval +10.5 to +12.5). Chain: 2.38 against 2.20 (+8.5%, interval +7.8 to +9.3). Timings: a backbone pass over 4 new tokens takes 18.5 to 19.4 ms and over 6 takes 21.0 to 22.5 ms; drafting three tokens takes 9.0 to 9.7 ms and five takes 15.2 to 16.4 ms, with the full vocabulary and no shortlist. ITRANS, seed 0, 119 documents, three heads against five: chain 1.667 and 1.693 (+1.6%), tree 2.075 and 2.086 at 8, 2.191 and 2.213 at 16, 2.240 and 2.288 at 24; 95% intervals −0.1 to +1.2, +0.3 to +1.9, +1.4 to +3.0. English, seed 0, 124 documents, three heads against five: chain 1.753 and 1.783 (+1.7%), tree 2.177 and 2.192 at 8, 2.338 and 2.382 at 16, 2.398 and 2.459 at 24 (+2.5%); 95% intervals +0.1 to +1.3, +1.1 to +2.6, +1.7 to +3.4; training 3.7 h at 748 tokens/s. ITRANS at 24: +2.1%. The copied-branch rule is the one on the previous slide; with 16 verified tokens it uses 11 tree nodes and 5 copied tokens.</aside>
</section>