After the Head Comes Off

Using Vision ModelsMedium+20 XP+20

After the Head Comes Off

You download a pretrained image model and adapt it to a new job: sorting photographs of machine parts into eight categories.

What the downloaded model contains:

quantityvalue
parameters in the whole downloaded model4,500,0004{,}500{,}0004,500,000
length of the feature vector the backbone produces128012801280 numbers
classes the downloaded head predicts100010001000

The head is a single fully connected layer: one weight for every (input number, output class) pair, plus one bias per class. The backbone is everything underneath it.

You throw the 1000-class head away, bolt on a new head of exactly the same design sized for your eight classes, keep every backbone weight exactly as it was downloaded, and train only the new head.

How many parameters does that training update?

❄
edges
❄
textures
❄
parts
❄
objects
head
frozen training

Freeze the entire backbone and train only the new head. Fast, needs very little data, and impossible to break the pretrained features.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.