Saved in:
Bibliographic Details
Main Authors: Wang, Yikun, Zheng, Rui, Ding, Liang, Zhang, Qi, Lin, Dahua, Tao, Dacheng
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.04854
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914829495697408
author Wang, Yikun
Zheng, Rui
Ding, Liang
Zhang, Qi
Lin, Dahua
Tao, Dacheng
author_facet Wang, Yikun
Zheng, Rui
Ding, Liang
Zhang, Qi
Lin, Dahua
Tao, Dacheng
contents As instruction-tuned large language models (LLMs) evolve, aligning pretrained foundation models presents increasing challenges. Existing alignment strategies, which typically leverage diverse and high-quality data sources, often overlook the intrinsic uncertainty of tasks, learning all data samples equally. This may lead to suboptimal data efficiency and model performance. In response, we propose uncertainty-aware learning (UAL) to improve the model alignment of different task scenarios, by introducing the sample uncertainty (elicited from more capable LLMs). We implement UAL in a simple fashion -- adaptively setting the label smoothing value of training according to the uncertainty of individual samples. Analysis shows that our UAL indeed facilitates better token clustering in the feature space, validating our hypothesis. Extensive experiments on widely used benchmarks demonstrate that our UAL significantly and consistently outperforms standard supervised fine-tuning. Notably, LLMs aligned in a mixed scenario have achieved an average improvement of 10.62\% on high-entropy tasks (i.e., AlpacaEval leaderboard), and 1.81\% on complex low-entropy tasks (i.e., MetaMath and GSM8K).
format Preprint
id arxiv_https___arxiv_org_abs_2406_04854
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Uncertainty Aware Learning for Language Model Alignment
Wang, Yikun
Zheng, Rui
Ding, Liang
Zhang, Qi
Lin, Dahua
Tao, Dacheng
Computation and Language
As instruction-tuned large language models (LLMs) evolve, aligning pretrained foundation models presents increasing challenges. Existing alignment strategies, which typically leverage diverse and high-quality data sources, often overlook the intrinsic uncertainty of tasks, learning all data samples equally. This may lead to suboptimal data efficiency and model performance. In response, we propose uncertainty-aware learning (UAL) to improve the model alignment of different task scenarios, by introducing the sample uncertainty (elicited from more capable LLMs). We implement UAL in a simple fashion -- adaptively setting the label smoothing value of training according to the uncertainty of individual samples. Analysis shows that our UAL indeed facilitates better token clustering in the feature space, validating our hypothesis. Extensive experiments on widely used benchmarks demonstrate that our UAL significantly and consistently outperforms standard supervised fine-tuning. Notably, LLMs aligned in a mixed scenario have achieved an average improvement of 10.62\% on high-entropy tasks (i.e., AlpacaEval leaderboard), and 1.81\% on complex low-entropy tasks (i.e., MetaMath and GSM8K).
title Uncertainty Aware Learning for Language Model Alignment
topic Computation and Language
url https://arxiv.org/abs/2406.04854