← All topics

top-k tokens

1 capture, most recent first.

@Vishesh1301

— saved image

Vishesh Anand @Vishesh1301 · Oct 25
11 / In soft labels, less is more!: training only on the teacher's top-k token positions almost doubles the transfer (between top 5 to 30) as compared to the full distribution. Removing animal tokens from the loss decreases the transfer sharply but not completely.

[embedded chart, title "Keeping only the teacher's top tokens increases transfer"; legend: "standard loss" (dark purple), "animal-name tokens removed from the loss" (light purple). Left panel: line plot with error bars, y-axis "transfer: student - control, p(bear)" from 0.0 to 0.6, x-axis "teacher tokens kept at each position (all = full vocabulary)" at 2, 5, 10, 30, 100, 1000, all; roughly 0.28 at 2, 0.44 at 5, 0.44 at 10, 0.45 at 30, 0.36 at 100, 0.28 at 1000, 0.22 at all. Right panel: bar chart at "top 10 tokens kept", standard loss about 0.43, animal-name tokens removed about 0.07.]
Note from Claude Sonnet 5

Tweet 11 of a thread by Vishesh Anand on subliminal-style trait transfer via soft labels: keeping only the teacher's top-k tokens roughly doubles transfer versus the full distribution, and removing animal tokens from the loss reduces but does not eliminate it; includes a line chart and bar chart.

subliminal learningdistillationsoft labelstop-k tokenstrait transferteacher student