Anyprefer: An Agentic Framework for Preference Data Synthesis

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhou, Yiyang, Wang, Zhaoyang, Wang, Tianle, Xing, Shangyu, Xia, Peng, Li, Bo, Zheng, Kaiyuan, Zhang, Zijian, Chen, Zhaorun, Zheng, Wenhao, Zhang, Xuchao, Bansal, Chetan, Zhang, Weitong, Wei, Ying, Bansal, Mohit, Yao, Huaxiu
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910920454701056
author Zhou, Yiyang
Wang, Zhaoyang
Wang, Tianle
Xing, Shangyu
Xia, Peng
Li, Bo
Zheng, Kaiyuan
Zhang, Zijian
Chen, Zhaorun
Zheng, Wenhao
Zhang, Xuchao
Bansal, Chetan
Zhang, Weitong
Wei, Ying
Bansal, Mohit
Yao, Huaxiu
author_facet Zhou, Yiyang
Wang, Zhaoyang
Wang, Tianle
Xing, Shangyu
Xia, Peng
Li, Bo
Zheng, Kaiyuan
Zhang, Zijian
Chen, Zhaorun
Zheng, Wenhao
Zhang, Xuchao
Bansal, Chetan
Zhang, Weitong
Wei, Ying
Bansal, Mohit
Yao, Huaxiu
contents High-quality preference data is essential for aligning foundation models with human values through preference learning. However, manual annotation of such data is often time-consuming and costly. Recent methods often adopt a self-rewarding approach, where the target model generates and annotates its own preference data, but this can lead to inaccuracies since the reward model shares weights with the target model, thereby amplifying inherent biases. To address these issues, we propose Anyprefer, a framework designed to synthesize high-quality preference data for aligning the target model. Anyprefer frames the data synthesis process as a cooperative two-player Markov Game, where the target model and the judge model collaborate together. Here, a series of external tools are introduced to assist the judge model in accurately rewarding the target model's responses, mitigating biases in the rewarding process. In addition, a feedback mechanism is introduced to optimize prompts for both models, enhancing collaboration and improving data quality. The synthesized data is compiled into a new preference dataset, Anyprefer-V1, consisting of 58K high-quality preference pairs. Extensive experiments show that Anyprefer significantly improves model alignment performance across four main applications, covering 21 datasets, achieving average improvements of 18.55% in five natural language generation datasets, 3.66% in nine vision-language understanding datasets, 30.05% in three medical image analysis datasets, and 16.00% in four visuo-motor control tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2504_19276
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Anyprefer: An Agentic Framework for Preference Data Synthesis
Zhou, Yiyang
Wang, Zhaoyang
Wang, Tianle
Xing, Shangyu
Xia, Peng
Li, Bo
Zheng, Kaiyuan
Zhang, Zijian
Chen, Zhaorun
Zheng, Wenhao
Zhang, Xuchao
Bansal, Chetan
Zhang, Weitong
Wei, Ying
Bansal, Mohit
Yao, Huaxiu
Machine Learning
Artificial Intelligence
Computation and Language
High-quality preference data is essential for aligning foundation models with human values through preference learning. However, manual annotation of such data is often time-consuming and costly. Recent methods often adopt a self-rewarding approach, where the target model generates and annotates its own preference data, but this can lead to inaccuracies since the reward model shares weights with the target model, thereby amplifying inherent biases. To address these issues, we propose Anyprefer, a framework designed to synthesize high-quality preference data for aligning the target model. Anyprefer frames the data synthesis process as a cooperative two-player Markov Game, where the target model and the judge model collaborate together. Here, a series of external tools are introduced to assist the judge model in accurately rewarding the target model's responses, mitigating biases in the rewarding process. In addition, a feedback mechanism is introduced to optimize prompts for both models, enhancing collaboration and improving data quality. The synthesized data is compiled into a new preference dataset, Anyprefer-V1, consisting of 58K high-quality preference pairs. Extensive experiments show that Anyprefer significantly improves model alignment performance across four main applications, covering 21 datasets, achieving average improvements of 18.55% in five natural language generation datasets, 3.66% in nine vision-language understanding datasets, 30.05% in three medical image analysis datasets, and 16.00% in four visuo-motor control tasks.
title Anyprefer: An Agentic Framework for Preference Data Synthesis
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2504.19276