Search arXiv⌕ Search

arXiv subjects

Issa Nakatsuka

Publications and source records attributed to Issa Nakatsuka.

2 recordsLinked to original sources

Selective Weight Decay Opens Two Mismatches Between a Language Model and Its Embedding Table

Language models become slower to relearn a new vocabulary the longer they were pretrained, a symptom that has been read as lost plasticity. We trace this lag in OLMo 2 to one choice of the optimizer: the input embedding table is exempt from weight decay, while the gains that scale the output of every sublayer are decayed. The gains settle at the equilibrium of weight decay; the table keeps growing. A new table then meets two mismatches. Scale: a fixed learning rate is a shrinking step relative to the table. Reading: once the table has outgrown the gains, the layers above the first read raw embedding rows, and a new table without the statistics of the old rows falls behind. A $2\times2$ intervention on pretraining (table decayed or exempt $\times$ gains decayed or not) reproduces both mismatches and their growth with age; decaying the table removes the first and limits the second. Along the public checkpoints the lag of the standard probe is the sum of the two mismatches minus an advantage of age: with the step scaled to the table and a new table made of resampled old rows, older checkpoints relearn faster at a common relative step and as fast as young ones when each uses its best step. With the trunk frozen, what drifts with age is the interface between table and trunk rather than the trunk's ability to learn. A second public run of a larger model shows the same three terms. Decaying the table costs 0.04 to 0.06 nats of pretraining loss in our small networks; users of released checkpoints can instead scale the embedding learning rate with the table and start new embeddings from the statistics of the old ones. The account covers embedding relearning with the trunk frozen or trained along at a small fine-tuning rate.

cs.LG↗

Asymmetric Activations Keep Sinking Preactivations: A Mechanism of Plasticity Loss in MLPs and CNNs, with the kunekune Activation

Three phenomena known in continual learning (the negative shift of preactivations, the decline of activation derivatives, and the linearization of units) are connected by a single mechanism. Each time a task is learned, the readout aligns with the current task, and at the next switch this alignment produces a gradient that lowers the mean of the preactivation. This gradient is carried by the paths of the input mean, the bias, and the upstream that moves with learning; with asymmetric activations the mean shifts deep into negative values, and growth of the preactivation scale increases the depth. Units that have shifted negative lose their activation derivative, and adaptation to new tasks slows. The first stage is shown by derivation and observation; stages 2-4 are tested by interventions in MLPs and CNNs without normalization layers. On random-label sequences, blocking the paths preserved adaptation; capping the scale kept the ELU MLP from collapsing; and swapping only the activation derivative, with activations and predictions kept identical, changed adaptation in both directions. In the MLP with real labels, the network with the paths blocked scored lower than the unmodified network (post hoc). On the Continual ImageNet, at the learning rate at which the unmodified network loses plasticity, the path-blocking intervention and kunekune, an activation whose curvature scale is matched to the standard deviation of the preactivation, removed the loss, and the derivative swap moved adaptation in both directions. On Permuted MNIST, at the same learning rate, they reduced the loss by about 70-80% but did not remove it. The seven existing methods compared by Kumar et al. were placed alongside. In a Transformer and a small language model that share the output layer or embeddings across all tasks, the interventions that worked acted on those shared parts (the boundary of the mechanism's scope).

cs.LG↗