Backup: Hindi-English switch points, with and without the copied branch

Hindi (Devanagari), real held-out text (512 documents × 512 tokens), dependent heads with backbone targets, 3 seeds pooled. Drafts are scored against the frozen model’s own 5-token continuation of the text before each position.

PositionPositionsWord seen earlier in the documentFrozen model’s choice is the text tokenFirst draft is the frozen model’s choiceAccepted drafts, tree at 8Accepted drafts, tree + copied branch at 8
Entering English38229%19%40% [35, 46]1.121.28
Returning to Hindi, function word19864%59%60% [51, 68]1.621.80
Returning to Hindi, content word19523%20%40% [32, 48]1.081.18
Inside English words1,67324%64%30% [26, 35]0.801.04
Control: Hindi group start1,00030%31%41% [38, 44]1.271.43
Control: Hindi function-word start1,00063%66%72% [70, 74]2.042.09
Control: inside a Hindi word1,00032%71%70% [68, 73]1.882.09

English inside Hindi text closes part of the gap; English alone does not. Heads trained on 8M Devanagari and 2M English tokens leave the first draft inside English words at 31% against 30% (seed 0, difference −1 to +3 points). Heads trained on Hindi text with three times the usual share of code-switched passages raise it to 34% (2 seeds, +2.8 to +5.7 points; accepted drafts 0.81 to 0.88). Entering English stays at 40%. Cost on Devanagari documents: 1.1% tokens per pass with the tree at 8.

Compute. 20.5 min on the Quadro P6000 (24 GB), fp32, peak 5.5 GB: 17.5 min for 5,448 five-token continuations, 1 min per seed for both stacks. Inference only. Mixed heads: 3.0 h training on the Quadro P6000 (932 tokens/s, 7.4 GB). Code-switch-enriched heads: 2.8 h per seed on a GTX 1080 Ti (1,000 tokens/s, 7.4 GB). 18 to 19 min for this table per stack pair.