3 ms·
Do I understand correctly that they are showing, "if we increase the size of these tensors along these directions, by padding them with zeros, it does not chang
by drdeca 3y ago
Do I understand correctly that they are showing, "if we increase the size of these tensors along these directions, by padding them with zeros, it does not change the inference behavior of the network."?
If so, I'm.. kind of surprised that this wasn't found earlier?
Ah, well, they also show that they can also insert a new layer in the middle, but, because the layers output changes to be added on to the vector that was received, it does not seem terribly surprising to me that they can initialize a layer such that it produces 0 as the vector it should add onto it.
Ah, wait, no, they also show that other parts of tensors that are added when increasing the size of some parameters, can be initialized arbitrarily, provided that the appropriate other parts are 0 (or, either 0 or identity matrices? not sure.)
And, also some of the tensors have to be re-scaled. Ok.
edit: Though... seeing as a new layer can be inserted at any point, this does make me wonder about, could we do some pre-training of a network, and then freeze those weights, add in a layer and train that layer on some fine-tuning task,
and then, separately, do the same thing with a number of other fine-tuning tasks (each one with the extra layer being trained without the others being present),
and then like, take the network where each of those extra layers are present at the same position in parallel (so, they get the same input, and each of their outputs are added to the sum being created, before going on to the next step. Maybe with each of them being weighted.)
This seems like it could allow for some kind of like, mixture of experts thing? idk what I'm talking about though
- tempusalaria 3y agoThis was discussed in Gopher paper. The added zero weights don’t integrate well into LLMs during training unfortunately. They actually found that if you duplicated layers when adding it worked better than zero weights. Which matches some of the commutating layer studies that have been done
- drdeca 3y agoI notice that in this paper, some of the new weights can be initialized arbitrarily, and only some of them have to be zero. In the Gopher paper, were all the new weights zero, or only the ones that this paper calls for being zero? I would guess the latter? (I don't expect you to either have or fetch an answer to this question. If you happen to already have the answer, or simply a more educated guess than I have, I'd like to hear it, but I mean this more as "this question comes to mind" than anything where I expect an answer.)