Salvato in:
Dettagli Bibliografici
Autori principali: Gu, Zhouhong, Chen, Xingzhou, Shi, Xiaoran, Wang, Tao, Zheng, Suhang, Li, Tianyu, Feng, Hongwei, Xiao, Yanghua
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2503.20194
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913759502532608
author Gu, Zhouhong
Chen, Xingzhou
Shi, Xiaoran
Wang, Tao
Zheng, Suhang
Li, Tianyu
Feng, Hongwei
Xiao, Yanghua
author_facet Gu, Zhouhong
Chen, Xingzhou
Shi, Xiaoran
Wang, Tao
Zheng, Suhang
Li, Tianyu
Feng, Hongwei
Xiao, Yanghua
contents Recent advances in large language models have highlighted the critical need for precise control over model outputs through predefined constraints. While existing methods attempt to achieve this through either direct instruction-response synthesis or preferential response optimization, they often struggle with constraint understanding and adaptation. This limitation becomes particularly evident when handling fine-grained constraints, leading to either hallucination or brittle performance. We introduce Generative Adversarial Policy Optimization (GAPO), a novel framework that combines GAN-based training dynamics with an encoder-only reward model to progressively learn and adapt to increasingly complex constraints. GAPO leverages adversarial training to automatically generate training samples of varying difficulty while utilizing the encoder-only architecture to better capture prompt-response relationships. Extensive experiments demonstrate GAPO's superior performance across multiple benchmarks, particularly in scenarios requiring fine-grained constraint handling, where it significantly outperforms existing methods like PPO, DPO, and KTO. Our results suggest that GAPO's unique approach to preferential prompt learning offers a more robust and effective solution for controlling LLM outputs. Code is avaliable in https://github.com/MikeGu721/GAPO.
format Preprint
id arxiv_https___arxiv_org_abs_2503_20194
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle GAPO: Learning Preferential Prompt through Generative Adversarial Policy Optimization
Gu, Zhouhong
Chen, Xingzhou
Shi, Xiaoran
Wang, Tao
Zheng, Suhang
Li, Tianyu
Feng, Hongwei
Xiao, Yanghua
Computation and Language
Recent advances in large language models have highlighted the critical need for precise control over model outputs through predefined constraints. While existing methods attempt to achieve this through either direct instruction-response synthesis or preferential response optimization, they often struggle with constraint understanding and adaptation. This limitation becomes particularly evident when handling fine-grained constraints, leading to either hallucination or brittle performance. We introduce Generative Adversarial Policy Optimization (GAPO), a novel framework that combines GAN-based training dynamics with an encoder-only reward model to progressively learn and adapt to increasingly complex constraints. GAPO leverages adversarial training to automatically generate training samples of varying difficulty while utilizing the encoder-only architecture to better capture prompt-response relationships. Extensive experiments demonstrate GAPO's superior performance across multiple benchmarks, particularly in scenarios requiring fine-grained constraint handling, where it significantly outperforms existing methods like PPO, DPO, and KTO. Our results suggest that GAPO's unique approach to preferential prompt learning offers a more robust and effective solution for controlling LLM outputs. Code is avaliable in https://github.com/MikeGu721/GAPO.
title GAPO: Learning Preferential Prompt through Generative Adversarial Policy Optimization
topic Computation and Language
url https://arxiv.org/abs/2503.20194