• bitcoinBitcoin(BTC)$61,274.000.62%
  • ethereumEthereum(ETH)$1,721.740.83%
  • tetherTether(USDT)$1.000.02%
  • binancecoinBNB(BNB)$555.680.63%
  • usd-coinUSDC(USDC)$1.000.02%
  • rippleXRP(XRP)$0.940.86%
  • solanaSolana(SOL)$72.342.31%
  • tronTRON(TRX)$0.3071450.62%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.060.00%
  • HyperliquidHyperliquid(HYPE)$63.902.32%
  • zcashZcash(ZEC)$787.71-1.15%
  • moneroMonero(XMR)$502.483.31%
  • dogecoinDogecoin(DOGE)$0.0556660.24%
  • leo-tokenLEO Token(LEO)$9.15-0.12%
  • whitebitWhiteBIT Coin(WBT)$58.740.83%
  • chainlinkChainlink(LINK)$8.931.14%
  • USDSUSDS(USDS)$1.000.00%
  • cardanoCardano(ADA)$0.1458490.07%
  • Ethena USDeEthena USDe(USDE)$1.000.06%
  • stellarStellar(XLM)$0.129187-0.24%
  • daiDai(DAI)$1.00-0.03%
  • bitcoin-cashBitcoin Cash(BCH)$199.940.35%
  • nearNEAR Protocol(NEAR)$3.010.88%
  • litecoinLitecoin(LTC)$40.712.48%
  • CantonCanton(CC)$0.0763313.69%
  • avalanche-2Avalanche(AVAX)$6.720.27%
  • tether-goldTether Gold(XAUT)$3,609.341.75%
  • uniswapUniswap(UNI)$4.760.53%
  • USD1USD1(USD1)$1.000.02%
  • the-open-networkGram (prev. Toncoin)(GRAM)$0.992.30%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • suiSui(SUI)$0.671.36%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.04%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • hedera-hashgraphHedera(HBAR)$0.0519390.63%
  • RainRain(RAIN)$0.003211-2.58%
  • quant-networkQuant(QNT)$157.3310.90%
  • BittensorBittensor(TAO)$192.030.74%
  • shiba-inuShiba Inu(SHIB)$0.000004-0.36%
  • crypto-com-chainCronos(CRO)$0.040925-0.86%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.12-0.03%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • MemeCoreMemeCore(M)$0.76-0.37%
  • okbOKB(OKB)$82.783.13%
  • Falcon USDFalcon USD(USDF)$1.00-0.08%
  • United StablesUnited Stables(U)$1.000.05%
  • pax-goldPAX Gold(PAXG)$3,609.951.67%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • aaveAave(AAVE)$98.00-0.07%
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

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

Ant Group Begins Open-Weight Release of LingSante Medical AI Models – 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

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
Here’s How Much Starlink Cost In 2020 Vs. 2026
AI & Technology

Here’s How Much Starlink Cost In 2020 Vs. 2026

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
Want Real Estate Without Tenants? Own REITs Through a Low-Cost Index Fund

Want Real Estate Without Tenants? Own REITs Through a Low-Cost Index Fund

November 20, 2026
Trump ordered to sit for deposition in BBC lawsuit

Trump ordered to sit for deposition in BBC lawsuit

November 18, 2026
House Democrats call for special counsel to investigate Trump’s ties to Epstein

House Democrats call for special counsel to investigate Trump’s ties to Epstein

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!