Salvato in:
Dettagli Bibliografici
Autori principali: Liu, Zheng, Liu, Mengjie, Wen, Siwei, Cai, Mengzhang, Cui, Bin, He, Conghui, Zhang, Wentao
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2509.16591
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914514764562432
author Liu, Zheng
Liu, Mengjie
Wen, Siwei
Cai, Mengzhang
Cui, Bin
He, Conghui
Zhang, Wentao
author_facet Liu, Zheng
Liu, Mengjie
Wen, Siwei
Cai, Mengzhang
Cui, Bin
He, Conghui
Zhang, Wentao
contents Using entropy as a measure of heterogeneity to guide optimization has emerged as a crucial research direction in Reinforcement Learning for LLMs. However, existing methods typically treat it as a discrete filter or post-hoc regulator rather than a core optimization driver. To fully leverage the potential of entropy and achieve fine-grained regulation, we introduce Heterogeneous Adaptive Policy Optimization (HAPO), a token-aware algorithm that continuously adapts optimization dynamics based on token-level entropy throughout the entire training process. Our algorithm includes four key components: (1) Adaptive Temperature Sampling that adjusts sampling temperature in real time, promoting exploration at high-entropy tokens. (2) Token-Level Group Average Advantage Estimation that estimates advantages at token level, accounting for sequence-length effects while preserving non-biased treatment.(3) Differential Advantage Redistribution that leverages entropy and importance ratios to adjust advantages for tokens with clear signals. (4) Asymmetric Adaptive Clipping that adynamically adjusts clipping boundaries based on token-level entropy. Through systematic investigation of entropy, we embed token-level treatment into every stage. Extensive experiments on mathematical reasoning, code, and logic tasks across multiple models demonstrate HAPO's consistent superiority over DAPO. Our code can be found in https://github.com/starriver030515/HAPO.
format Preprint
id arxiv_https___arxiv_org_abs_2509_16591
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Heterogeneous Adaptive Policy Optimization: Tailoring Optimization to Every Token's Nature
Liu, Zheng
Liu, Mengjie
Wen, Siwei
Cai, Mengzhang
Cui, Bin
He, Conghui
Zhang, Wentao
Computation and Language
Using entropy as a measure of heterogeneity to guide optimization has emerged as a crucial research direction in Reinforcement Learning for LLMs. However, existing methods typically treat it as a discrete filter or post-hoc regulator rather than a core optimization driver. To fully leverage the potential of entropy and achieve fine-grained regulation, we introduce Heterogeneous Adaptive Policy Optimization (HAPO), a token-aware algorithm that continuously adapts optimization dynamics based on token-level entropy throughout the entire training process. Our algorithm includes four key components: (1) Adaptive Temperature Sampling that adjusts sampling temperature in real time, promoting exploration at high-entropy tokens. (2) Token-Level Group Average Advantage Estimation that estimates advantages at token level, accounting for sequence-length effects while preserving non-biased treatment.(3) Differential Advantage Redistribution that leverages entropy and importance ratios to adjust advantages for tokens with clear signals. (4) Asymmetric Adaptive Clipping that adynamically adjusts clipping boundaries based on token-level entropy. Through systematic investigation of entropy, we embed token-level treatment into every stage. Extensive experiments on mathematical reasoning, code, and logic tasks across multiple models demonstrate HAPO's consistent superiority over DAPO. Our code can be found in https://github.com/starriver030515/HAPO.
title Heterogeneous Adaptive Policy Optimization: Tailoring Optimization to Every Token's Nature
topic Computation and Language
url https://arxiv.org/abs/2509.16591