Importance Weighting Can Help Large Language Models Self-Improve
<|reference_start|>Importance Weighting Can Help Large Language Models Self-Improve: Large language models (LLMs) have shown remarkable capability in numerous tasks and applications. However, fine-tuning LLMs using high-quality datasets under external supervision remains prohibitively expensive. In response, LLM self-improvement approaches have been vibrantly developed recently. The typical paradigm of LLM self-improvement involves training LLM on self-generated data, part of which may be detrimental and should be filtered out due to the unstable data quality. While current works primarily employs filtering strategies based on answer correctness, in this paper, we demonstrate that filtering out correct but with high distribution shift extent (DSE) samples could also benefit the results of self-improvement. Given that the actual sample distribution is usually inaccessible, we propose a new metric called DS weight to approximate DSE, inspired by the Importance Weighting methods. Consequently, we integrate DS weight with self-consistency to comprehensively filter the self-generated samples and fine-tune the language model. Experiments show that with only a tiny valid set (up to 5\% size of the training set) to compute DS weight, our approach can notably promote the reasoning ability of current LLM self-improvement methods. The resulting performance is on par with methods that rely on external supervision from pre-trained reward models.<|reference_end|>
@article{jiang2024importance,
    title={Importance Weighting Can Help Large Language Models Self-Improve},
    author={Chunyang Jiang, Chi-min Chan, Wei Xue, Qifeng Liu, Yike Guo},
    journal={arXiv preprint arXiv:2408.09849},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.09849},
    primaryClass={cs.CL cs.AI}
}