Enhancing elusive clues in knowledge learning by contrasting attention of language models
<|reference_start|>Enhancing elusive clues in knowledge learning by contrasting attention of language models: Causal language models acquire vast amount of knowledge from general text corpus during pretraining, but the efficiency of knowledge learning is known to be unsatisfactory, especially when learning from knowledge-dense and small-sized corpora. The deficiency can come from long-distance dependencies which are hard to capture by language models, and overfitting to co-occurrence patterns and distracting clues in the training text. To address these issues, the paper proposes a method to enhance knowledge learning during language model pretraining, by enhancing elusive but important clues in text discovered by the language model themselves. We found that larger language models pay more attention to non-obvious but important clues, which are often overlooked by smaller language models. Therefore, we can identify these clues by contrasting the attention weights of large and small language models. We use the identified clues as a guide to perform token-dropout data augmentation on the training text, and observed a significant boost in both small and large models' performance in fact memorization. This shows that the behavior contrast between more and less-performant language models contains important clues for knowledge learning, and it can be ``amplified" for a straight-forward improvement in knowledge learning efficiency.<|reference_end|>
@article{gao2024enhancing,
    title={Enhancing elusive clues in knowledge learning by contrasting attention
  of language models},
    author={Jian Gao, Xiao Zhang, Ji Wu, Miao Li},
    journal={arXiv preprint arXiv:2409.17954},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.17954},
    primaryClass={cs.AI}
}