Download docs/final_deck/slides/backup.html from Anupam-Rawat-IITB/code-switch-mtp: direct link, hf CLI and curl.
- Browser
- Download file 4.71 kB
-
https://huggingface.co/Anupam-Rawat-IITB/code-switch-mtp/resolve/main/docs/final_deck/slides/backup.html
- Command line
-
hf download hf://Anupam-Rawat-IITB/code-switch-mtp/docs/final_deck/slides/backup.html
-
curl -L -o backup.html https://huggingface.co/Anupam-Rawat-IITB/code-switch-mtp/resolve/main/docs/final_deck/slides/backup.html
4.71 kB
| <section id="backup" class="v z9"> | |
| <h2 class="v-title">Dependent heads accept 15% to 25% more tokens per pass than vanilla MTP</h2> | |
| <table class="t v-t"> | |
| <tr class="t-head"><th>Tokens per backbone pass</th><th class="v-c">English</th><th class="v-c">Hindi (Devanagari)</th><th class="v-c">Hindi (ITRANS)</th><th class="v-c">Hindi (IAST)</th><th class="v-c">Hindi (ISO)</th></tr> | |
| <tr><td>Independent heads (vanilla MTP)</td><td>1.33</td><td>1.69</td><td>1.43</td><td>1.59</td><td>1.65</td></tr> | |
| <tr><td>Dependent heads</td><td>1.66</td><td>2.09</td><td>1.68</td><td>1.85</td><td>1.90</td></tr> | |
| <tr><td>Dependent heads with backbone targets</td><td>1.75</td><td><b>2.20</b></td><td>1.68</td><td>1.87</td><td>1.89</td></tr> | |
| </table> | |
| <ul class="v-takes"> | |
| <li>Dependent heads gain 15% to 25% over vanilla MTP in every condition.</li> | |
| <li>Word-group rules for the draft tree never beat the head’s own confidence.</li> | |
| <li>Devanagari and ITRANS have the same share of draftable positions and different results.</li> | |
| </ul> | |
| <aside>This is the drafter comparison behind everything else: three kinds of heads, five conditions, tokens per backbone pass with a chain of three drafts. Detail moved from the slide: Earlier title: all conditions and all rules. Tokens per backbone pass (maximum 4 for a chain), mean of 3 seeds, lossless, about 120 held-out documents per run. Seed standard deviation at most 0.022. Row: Drafter | English | Hindi (Devanagari) | Hindi (ITRANS) | Hindi (IAST) | Hindi (ISO). Row: Independent heads (vanilla MTP) | 1.33 | 1.69 | 1.43 | 1.59 | 1.65. Row: Dependent heads | 1.66 | 2.09 | 1.68 | 1.85 | 1.90. Row: Dependent heads with backbone targets | 1.75 | 2.20 | 1.68 | 1.87 | 1.89. Row: Gain of dependent heads over vanilla MTP | +24.6% | +24.1% | +17.2% | +16.0% | +15.3%. End-to-end decoding speed against greedy decoding (56 tokens/s), seed 0, 48 documents × 64 tokens, idle GTX 1080 Ti. Output identical to greedy on 48 of 48 documents in every row. Row: Drafter | English | Hindi (Devanagari) | Hindi (ITRANS) | Hindi (IAST) | Hindi (ISO). Row: Vanilla MTP, full vocabulary | 0.83× | 1.08× | 0.90× | 1.00× | 1.01×. Row: Dependent heads with backbone targets, 4,352-token shortlist | 1.43× | 1.86× | 1.40× | 1.55× | 1.58×. Same fertility, same share of draftable positions, different result. Tokens per word on the 512 held-out documents. Row: Condition | Tokens per word | Inside word or function-word start | First-draft accuracy | Tokens per pass. Row: Hindi (Devanagari) | 2.63 | 75% | 64% | 2.20. Row: Hindi (ITRANS) | 2.67 | 75% | 48% | 1.68. Row: Hindi (IAST) | 3.18 | 78% | 54% | 1.87. Row: Hindi (ISO) | 3.53 | 81% | 56% | 1.89. On continuations the frozen model reuses its prompt (55% of tokens in Devanagari, 87–89% in romanized Hindi) and the heads cannot follow copied words. On real text the group-start accuracy is similar across spellings (41% Devanagari, 34–45% romanized); the romanized deficit that remains is at function words (71% against 41–53%). Not helpful: acceptance-weighted loss, word-boundary masking of look-ahead losses (cost rose from 1.33% to 1.93%), stopping drafts at word starts (2.29 against 2.31 tokens per check for random cuts), tokenizer fertility as a predictor. Draft tree, tokens per pass, dependent heads with backbone targets, mean of 3 seeds. All rules verify the same number of candidates. 8 candidates. 16 candidates. Row: Condition | Chain | fixed | word start | word group | confidence | confidence + group | fixed | confidence. Row: English | 1.75 | 2.10 | 2.10 | not applicable | 2.18 | not applicable | 2.29 | 2.33. Row: Hindi (Devanagari) | 2.20 | 2.54 | 2.55 | 2.56 | 2.67 | 2.66 | 2.78 | 2.84. Row: Hindi (ITRANS) | 1.68 | 2.01 | 2.01 | 2.01 | 2.07 | 2.07 | 2.16 | 2.20. Row: Hindi (IAST) | 1.87 | 2.20 | 2.20 | 2.20 | 2.28 | 2.28 | 2.38 | 2.45. Row: Hindi (ISO) | 1.89 | 2.26 | 2.26 | 2.26 | 2.34 | 2.34 | 2.46 | 2.53. Confidence + word group against confidence alone: between −0.46% and −0.02% in every condition and budget; never above zero in any seed. Correction: The interim deck’s 2.70 tokens per pass for Devanagari used a counting that needs an extra backbone pass per round. The deployable figure for the same heads is 1.68. Further notes: Closest work: LinguaSpec (Findings of ACL 2026) shapes draft trees by function and content classes, in English, with lossy verification. AdaMTP (arXiv 2608.00434) masks losses at entropy boundaries. Naidu (arXiv 2611.12464) drafts phrases on Hindi. Amankulov and Mamatin (arXiv 2609.22156) report draft length at script switches. Analysis cost: position analysis 6 minutes per run at 5.6 GB; switch analysis 222 s per condition at 5.0 GB.</aside> | |
| </section> | |