Saved in:
Bibliographic Details
Main Authors: Zhao, Shuai, Xu, Yunqiu, Zhu, Linchao, Yang, Yi
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2504.09895
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911205061296128
author Zhao, Shuai
Xu, Yunqiu
Zhu, Linchao
Yang, Yi
author_facet Zhao, Shuai
Xu, Yunqiu
Zhu, Linchao
Yang, Yi
contents Large language models~(LLMs) are expected to be helpful, harmless, and honest. In different alignment scenarios, such as safety, confidence, and general preference alignment, binary preference data collection and reward modeling are resource-intensive but play a central role in transferring human preferences. In this work, we explore using the similarity between sampled generations and reference answers as a supplementary reward function for alignment. When unary reference answers are available, such similarity-based rewards can circumvent the need for binary preference data and explicit reward modeling. We introduce \textit{RefAlign}, a versatile REINFORCE-style alignment algorithm that does not rely on reward or reference models. RefAlign utilizes language generation evaluation metrics, such as BERTScore, between sampled generations and reference answers as surrogate rewards. Beyond general preference optimization, RefAlign can be naturally extended to diverse scenarios, including safety and confidence alignment, by combining similarity-based rewards with task-specific objectives. Across multiple scenarios, RefAlign achieves performance comparable to prior alignment methods while operating without binary preference data or reward models. The code is available at https://github.com/mzhaoshuai/RefAlign.
format Preprint
id arxiv_https___arxiv_org_abs_2504_09895
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Learning from Reference Answers: Versatile Language Model Alignment without Binary Human Preference Data
Zhao, Shuai
Xu, Yunqiu
Zhu, Linchao
Yang, Yi
Computation and Language
Artificial Intelligence
Machine Learning
Large language models~(LLMs) are expected to be helpful, harmless, and honest. In different alignment scenarios, such as safety, confidence, and general preference alignment, binary preference data collection and reward modeling are resource-intensive but play a central role in transferring human preferences. In this work, we explore using the similarity between sampled generations and reference answers as a supplementary reward function for alignment. When unary reference answers are available, such similarity-based rewards can circumvent the need for binary preference data and explicit reward modeling. We introduce \textit{RefAlign}, a versatile REINFORCE-style alignment algorithm that does not rely on reward or reference models. RefAlign utilizes language generation evaluation metrics, such as BERTScore, between sampled generations and reference answers as surrogate rewards. Beyond general preference optimization, RefAlign can be naturally extended to diverse scenarios, including safety and confidence alignment, by combining similarity-based rewards with task-specific objectives. Across multiple scenarios, RefAlign achieves performance comparable to prior alignment methods while operating without binary preference data or reward models. The code is available at https://github.com/mzhaoshuai/RefAlign.
title Learning from Reference Answers: Versatile Language Model Alignment without Binary Human Preference Data
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2504.09895