• bitcoinBitcoin(BTC)$61,414.000.77%
  • ethereumEthereum(ETH)$1,726.321.15%
  • tetherTether(USDT)$1.000.02%
  • binancecoinBNB(BNB)$556.560.81%
  • usd-coinUSDC(USDC)$1.000.02%
  • rippleXRP(XRP)$0.941.11%
  • solanaSolana(SOL)$72.552.63%
  • tronTRON(TRX)$0.3072150.62%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.060.00%
  • HyperliquidHyperliquid(HYPE)$64.272.86%
  • zcashZcash(ZEC)$792.20-0.90%
  • moneroMonero(XMR)$503.623.67%
  • dogecoinDogecoin(DOGE)$0.0557910.55%
  • leo-tokenLEO Token(LEO)$9.15-0.07%
  • whitebitWhiteBIT Coin(WBT)$58.881.00%
  • chainlinkChainlink(LINK)$8.971.83%
  • USDSUSDS(USDS)$1.000.00%
  • cardanoCardano(ADA)$0.1460100.20%
  • Ethena USDeEthena USDe(USDE)$1.000.05%
  • stellarStellar(XLM)$0.128993-0.35%
  • daiDai(DAI)$1.000.00%
  • bitcoin-cashBitcoin Cash(BCH)$200.320.87%
  • nearNEAR Protocol(NEAR)$3.010.43%
  • litecoinLitecoin(LTC)$40.842.83%
  • CantonCanton(CC)$0.0762223.60%
  • avalanche-2Avalanche(AVAX)$6.740.59%
  • tether-goldTether Gold(XAUT)$3,609.731.75%
  • uniswapUniswap(UNI)$4.770.59%
  • the-open-networkGram (prev. Toncoin)(GRAM)$0.992.34%
  • USD1USD1(USD1)$1.000.02%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • suiSui(SUI)$0.671.62%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.03%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • hedera-hashgraphHedera(HBAR)$0.0520810.99%
  • RainRain(RAIN)$0.003210-2.63%
  • quant-networkQuant(QNT)$155.349.45%
  • BittensorBittensor(TAO)$192.140.89%
  • shiba-inuShiba Inu(SHIB)$0.000004-0.10%
  • crypto-com-chainCronos(CRO)$0.040876-1.01%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.12-0.04%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • MemeCoreMemeCore(M)$0.76-0.51%
  • okbOKB(OKB)$82.933.18%
  • Falcon USDFalcon USD(USDF)$1.00-0.06%
  • United StablesUnited Stables(U)$1.000.03%
  • pax-goldPAX Gold(PAXG)$3,610.351.68%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • aaveAave(AAVE)$97.93-0.33%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

This Paper Reveals Insights from Reproducing OpenAI’s RLHF (Reinforcement Learning from Human Feedback) Work: Implementation and Scaling Explored

March 29, 2024
in AI & Technology
Reading Time: 4 mins read
A A
This Paper Reveals Insights from Reproducing OpenAI’s RLHF (Reinforcement Learning from Human Feedback) Work: Implementation and Scaling Explored
ShareShareShareShareShare

In recent years, there has been an enormous development in pre-trained large language models (LLMs). These LLMs are trained to predict the next token given the previous tokens and provide a suitable prompt. They can solve various natural language processing (NLP) tasks. However, the next-token prediction objective deviates from the fundamental aim of “outputting contents that humans prefer.” 

To address this gap, Reinforcement Learning from Human Feedback (RLHF) is introduced as a pipeline to collect pair-wise human preferences, train a reward model (RM) to model these preferences, and use Reinforcement Learning (RL) to create a model that outputs contents that humans prefer. It has proven challenging to reproduce OpenAI’s RLHF pipeline in the open-source community for several reasons:

  1. RL and RLHF have many subtle implementation details that can significantly impact training stability.
  2. The models are challenging to evaluate for the following tasks: e.g., assessing the quality of 800 lines of generated code snippets for a coding task.
  3. They take a long time to train and iterate.

Hugging Face, Mila and Fuxi AI lab researchers have undertaken a unique approach, presenting a high-precision reproduction of the Reinforcement Learning from Human Feedback (RLHF) scaling behaviors reported in OpenAI’s seminal TL;DR summarization work. They meticulously created an RLHF pipeline, focusing on over 20 key implementation details. They adopted a unified learning rate for SFT, RM, and PPO training to enhance reproducibility. 

They used the transformers library’s implementation of the Pythia models in conjunction with deepspeed’s ZeRO Stage 2 to help fit the models into the GPU memory; for 6.9B PPO training, they also transferred the reference policy and reward model to the CPU. The dropout layers were turned off during training. This is important for PPO training, especially because with dropout activated, the log probabilities of tokens will not be reproducible, making calculating the KL penalty unreliable while also causing the ratios of the PPO to be not 1s during the first epoch, causing PPO optimization problems. For consistency, they also turn off dropout for SFT and RM training. 

The PPO implementation optimizes the RLHF objective, leading to a significant increase in the score total. Their best 6.9B model is preferred by GPT nearly 80% of the time, demonstrating its practical superiority. For their 1B-sized model, the average preference consistency in multiple random experiments is close to 0.4, indicating that the 1B model has captured a different set of preferences, a finding with important implications. It is shown that PPO models outperform SFT models across all summary lengths, further reinforcing the practical relevance of the research.

In conclusion, Mila and Fuxi AI lab researchers have successfully reproduced the RLHF scaling behaviors reported in OpenAI’s seminal TL;DR summarization work with high precision. Their RLHF-trained Pythia models have demonstrated significant gains in response quality that scale with model size. Notably, their 2.8B and 6.9B models have outperformed OpenAI’s released 1.3B checkpoint, underscoring the importance of model size in achieving superior results.


Check out the Paper and Github. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter. Join our Telegram Channel, Discord Channel, and LinkedIn Group.

If you like our work, you will love our newsletter..

Don’t Forget to join our 39k+ ML SubReddit


YOU MAY ALSO LIKE

Amazon Resorts To Package Stickers In Its Fight Against NYC’s Proposed Delivery Law

Agon Raises $70M Series A at $450M Valuation to Build Defence AI Lab – Unite.AI

Asjad is an intern consultant at Marktechpost. He is persuing B.Tech in mechanical engineering at the Indian Institute of Technology, Kharagpur. Asjad is a Machine learning and deep learning enthusiast who is always researching the applications of machine learning in healthcare.


🐝 Join the Fastest Growing AI Research Newsletter Read by Researchers from Google + NVIDIA + Meta + Stanford + MIT + Microsoft and many others…


Credit: Source link

ShareTweetSendSharePin

Related Posts

Amazon Resorts To Package Stickers In Its Fight Against NYC’s Proposed Delivery Law
AI & Technology

Amazon Resorts To Package Stickers In Its Fight Against NYC’s Proposed Delivery Law

November 23, 2026
Agon Raises M Series A at 0M Valuation to Build Defence AI Lab – Unite.AI
AI & Technology

Agon Raises $70M Series A at $450M Valuation to Build Defence AI Lab – Unite.AI

November 23, 2026
Ant Group Begins Open-Weight Release of LingSante Medical AI Models – Unite.AI
AI & Technology

Ant Group Begins Open-Weight Release of LingSante Medical AI Models – Unite.AI

November 23, 2026
Li Ming Took Part in Major Megaspeed Decisions, WSJ Reports – Unite.AI
AI & Technology

Li Ming Took Part in Major Megaspeed Decisions, WSJ Reports – Unite.AI

November 23, 2026
Next Post
Top GOP donor paid for Clarence Thomas’s grandnephew’s school tuition: Report

Top GOP donor paid for Clarence Thomas’s grandnephew’s school tuition: Report

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Mamdani proposes five-year extension to shutter notorious Rikers Island prison – The Washington Post

Mamdani proposes five-year extension to shutter notorious Rikers Island prison – The Washington Post

November 21, 2026
Costco shoppers panic-buy water, generators after freak outages

Costco shoppers panic-buy water, generators after freak outages

November 17, 2026
Bull Market ‘Has Room to Run’: 10 Stocks to Buy Now

Bull Market ‘Has Room to Run’: 10 Stocks to Buy Now

November 16, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!