• bitcoinBitcoin(BTC)$80,326.00-0.22%
  • ethereumEthereum(ETH)$2,326.02-0.14%
  • tetherTether(USDT)$1.000.02%
  • binancecoinBNB(BNB)$742.63-0.72%
  • rippleXRP(XRP)$1.29-1.61%
  • usd-coinUSDC(USDC)$1.000.02%
  • solanaSolana(SOL)$100.690.12%
  • tronTRON(TRX)$0.331113-0.02%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.030.36%
  • HyperliquidHyperliquid(HYPE)$90.8213.77%
  • zcashZcash(ZEC)$1,276.150.17%
  • dogecoinDogecoin(DOGE)$0.0791110.48%
  • moneroMonero(XMR)$599.200.62%
  • USDSUSDS(USDS)$1.000.00%
  • whitebitWhiteBIT Coin(WBT)$77.09-0.18%
  • chainlinkChainlink(LINK)$11.641.04%
  • leo-tokenLEO Token(LEO)$9.470.56%
  • cardanoCardano(ADA)$0.201658-0.13%
  • stellarStellar(XLM)$0.1705280.84%
  • nearNEAR Protocol(NEAR)$4.44-2.67%
  • bitcoin-cashBitcoin Cash(BCH)$279.32-4.99%
  • RainRain(RAIN)$0.006440-6.22%
  • daiDai(DAI)$1.000.02%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • uniswapUniswap(UNI)$7.202.99%
  • litecoinLitecoin(LTC)$57.650.46%
  • CantonCanton(CC)$0.1020255.23%
  • avalanche-2Avalanche(AVAX)$8.820.05%
  • USD1USD1(USD1)$1.000.02%
  • suiSui(SUI)$0.931.48%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.22-0.48%
  • hedera-hashgraphHedera(HBAR)$0.073888-1.79%
  • tether-goldTether Gold(XAUT)$4,023.42-0.30%
  • Global DollarGlobal Dollar(USDG)$1.000.01%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • BittensorBittensor(TAO)$253.100.74%
  • shiba-inuShiba Inu(SHIB)$0.0000050.18%
  • quant-networkQuant(QNT)$195.351.22%
  • EthenaEthena(ENA)$0.2076766.99%
  • crypto-com-chainCronos(CRO)$0.0537641.41%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • BitwayBitway(BTW)$1.71-3.72%
  • MemeCoreMemeCore(M)$1.08-3.79%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.12%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • okbOKB(OKB)$112.502.72%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • aaveAave(AAVE)$133.351.56%
  • pepePepe(PEPE)$0.0000051.25%
  • OndoOndo(ONDO)$0.4162480.78%
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

DoorDash Acquires Instacart In $17 Billion Delivery Service Merger

Which Metric Should You Use? – 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

DoorDash Acquires Instacart In  Billion Delivery Service Merger
AI & Technology

DoorDash Acquires Instacart In $17 Billion Delivery Service Merger

October 29, 2026
Which Metric Should You Use? – Unite.AI
AI & Technology

Which Metric Should You Use? – Unite.AI

October 29, 2026
Apple And Google Fined In South Korea Over App Store Violations
AI & Technology

Apple And Google Fined In South Korea Over App Store Violations

October 29, 2026
Hackers Leaked Details Of More Than 41,000 Homeland Security Personnel
AI & Technology

Hackers Leaked Details Of More Than 41,000 Homeland Security Personnel

October 29, 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
OpenAI Announces New Discoveries In Mathematics, Computer Science And Physics

OpenAI Announces New Discoveries In Mathematics, Computer Science And Physics

October 27, 2026
Guilfoyle accused by Trump donor of 0k request for credit card bill

Guilfoyle accused by Trump donor of $100k request for credit card bill

October 29, 2026
Hundreds of flights cancelled across East Asia as Typhoon Champi roars toward Taiwan – BBC

Hundreds of flights cancelled across East Asia as Typhoon Champi roars toward Taiwan – BBC

October 23, 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!