✨Be sure to check out our paper for a detailed discussion of variance reduction techniques applied to KL divergence estimation between language models!
06.05.2025 14:59 — 👍 0 🔁 0 💬 0 📌 0
Finally, we plot the reward–KL Pareto frontier across various KL regularization settings. We find that the RB estimator more effectively constrains the KL divergence, and models trained with it appear significantly more often on the Pareto front:
06.05.2025 14:59 — 👍 0 🔁 0 💬 1 📌 0
In RLHF training, using our RB estimator yields more stable runs compared to the MC estimator. It achieves high rewards while reliably preventing the KL divergence from increasing beyond an acceptable range:
06.05.2025 14:59 — 👍 0 🔁 0 💬 1 📌 0
Notably, the widely used CV(α=1) estimator—also known as the k3 estimator—can suffer from very high variance. It's a special case of control variates, a classic variance reduction method that requires proper choice of α; otherwise, as with CV(α=1), it can increase variance
06.05.2025 14:59 — 👍 0 🔁 0 💬 1 📌 0
When evaluating the KL divergence between the language model before and after preference alignment, our estimator (RB) consistently yields lower standard deviation across all prompts compared to every other estimator available in public RLHF libraries:
06.05.2025 14:59 — 👍 0 🔁 0 💬 1 📌 0
All it took was applying Rao–Blackwellization—a classic variance reduction trick—to the Monte Carlo (MC) estimator, and carefully adapting it for LMs. The result is simple: condition on prefixes and replace the MC estimate with its conditional expectation:
06.05.2025 14:59 — 👍 0 🔁 0 💬 1 📌 0
Current KL estimation practices in RLHF can generate high variance and even negative values! We propose a provably better estimator that only takes a few lines of code to implement.🧵👇
w/ @xtimv.bsky.social and Ryan Cotterell
code: arxiv.org/pdf/2504.10637
paper: github.com/rycolab/kl-rb
06.05.2025 14:59 — 👍 7 🔁 3 💬 1 📌 0
http://timvieira.github.io/blog
☀️ Assistant Professor of Computer Science at CU Boulder
👩💻 NLP, cultural analytics, narratives, online communities
🌐 https://maria-antoniak.github.io
💬 books, bikes, games, art
Book: https://thecon.ai
Web: https://faculty.washington.edu/ebender
Stanford Linguistics and Computer Science. Director, Stanford AI Lab. Founder of @stanfordnlp.bsky.social . #NLP https://nlp.stanford.edu/~manning/
Researcher trying to shape AI towards positive outcomes. ML & Ethics +birds. Generally trying to do the right thing. TIME 100 | TED speaker | Senate testimony provider | Navigating public life as a recluse.
Former: Google, Microsoft; Current: Hugging Face
Associate Professor, School of Information, UC Berkeley. NLP, computational social science, digital humanities.
Associate professor of computer science at Northeastern University. Natural language processing, digital humanities, OCR, computational bibliography, and computational social sciences. Artificial intelligence is an archival science.
Associate prof at @UMich in SI and CSE working in computational social science and natural language processing. PI of the Blablablab blablablab.si.umich.edu
He teaches information science at Cornell. http://mimno.infosci.cornell.edu
I like tokens! Lead for OLMo data at @ai2.bsky.social (Dolma 🍇) w @kylelo.bsky.social. Open source is fun 🤖☕️🍕🏳️🌈 Opinions are sampled from my own stochastic parrot
more at https://soldaini.net
#nlp #ml #hci research scientist @ai2.bsky.social, Co-lead of Data for OLMo w/ @soldaini.net, statistics @uw, open science, tabletop, seattle, he/him,🧋 kyleclo.com
Asst Prof @uwischool.bsky.social; #NLP #healthinformatics #accessibility #scholcomm
🚴🏔️🍄❄️⛷️🧶⚫️⚪️📚🍸in Seattle; llwang.net; she/her
AI, RL, NLP, Games Asst Prof at UCSD
Research Scientist at Nvidia
Lab: http://pearls.ucsd.edu
Personal: prithvirajva.com
jmhessel.com
AI Researcher. Seattle bike lane enjoyer. Opinions my own.
AI @ OpenAI, Tesla, Stanford
Karaoke enthusiast
🇮🇱
en/he/him
Waiting on a robot body. All opinions are universal and held by both employers and family.
Literally a professor. Recruiting students to start my lab.
ML/NLP/they/she.
Postdoc at UW NLP 🏔️. #NLProc, computational social science, cultural analytics, responsible AI. she/her. Previously at Berkeley, Ai2, MSR, Stanford. Incoming assistant prof at Wisconsin CS. https://lucy3.github.io
Assistant Professor of CS, University of Southern California. NLP / ML.