Search papers, labs, and topics across Lattice.
This study investigates the effects of explicit pretraining curricula on the learning and fine-tuning of transformers, revealing that imbalanced curricula—where one task is prioritized over another—enhance in-context learning and the selectivity of fine-tuning for suppressing misaligned behaviors. The authors demonstrate that imbalanced pretraining leads to disentangled neural representations, as evidenced by ablation studies and activation patching, while balanced training results in entangled pathways. Additionally, these findings are extended to a synthetic language task, showing that imbalanced curricula foster more robust rule-following behavior through improved representation localization.
Imbalanced pretraining curricula can significantly enhance the precision of fine-tuning by promoting disentangled representations in neural networks.
Transformers follow implicit curricula whereby some tasks are learned before others. However, how explicit pretraining curricula influence learning, generalization, and the selectivity of fine-tuning is unclear. This is important for AI safety, where fine-tuning is used to selectively suppress misaligned behaviors. Here, we compare curricula that pretrain tasks in a balanced (sampled uniformly) or an imbalanced (one task early, the other late) fashion. We show that imbalanced learning of two conflicting copy tasks promotes in-context learning and improves the selectivity of refusal fine-tuning. Ablations and activation patching show that this occurs because imbalanced pretraining encourages tasks to be disentangled in separable neural circuits, whereas balanced training routes both tasks through a common pathway. We extend these findings to a synthetic language learning task involving rule-consistent and rule-violating data, where imbalanced curricula similarly lead to more localized, less entangled rule representations, resulting in more robust rule-following behavior. Together, these results suggest that imbalanced pretraining curricula may be an important tool for promoting disentangled representations, with direct consequences for the precision and reliability of safety fine-tuning.