Ding Junhua retweeted
What if you can improve LLMs using direct customer feedback? 🤔 Most alignment methods like RLHF or DPO require multiple outputs from the same prompt to improve the model by learning the preferred one. 👀
In real-world use cases, you oftentimes only have the option to collect one-dimensional feedback, e.g., whether the response was good or bad. This made using techniques like DPO and RLHF on real-world data only hard. 💬
KTO tries to simplify this by using binary feedback on individual outputs. 👍🏻👎🏻 This is less complex and can be directly used on real-world data. 🌍
How to use KTO:
1️⃣ Collect binary feedback data
2️⃣ Create a balanced (50/50) dataset out of triplets (prompt, response, feedback)
3️⃣ Apply KTO to a fine-tuned LLM using the dataset (2️⃣)
4️⃣ Evaluate outputs from the KTO model vs the old model using LLM as a judge or humans.
Insights:
👩🔬 @ContextualAI ran 56 experiments using DPO, KTO, and PPO (RLHF)
🚀 KTO matches the performance of DPO & PPO
🦙 KTO showed better performance on bigger models (llama 1)
💡 Simplifies data requirements compared to DPO & RLHF
⚖️ Need a balanced binarized dataset (50% good 50% bad examples)
Report: github.com/ContextualAI/HALO…
Github: github.com/ContextualAI/HALO…
KTO will soon be available in @huggingface TRL. 🤗 Huge Kudos to @douwekiela and the team from @ContextualAI for developing this new alignment method. 🚀
Ding Junhua retweeted
97 year old comic about what would happen if "pocket telephones" were to be invented.
Ding Junhua retweeted
I once worked at a startup where they decided to put a guy with an MBA in charge of the Data Science team. No tech experience whatsoever. The whole team fell apart not long after that.
Ding Junhua retweeted
Software development 101: bit.ly/2F6JmZF
(v/@novilariandis)
Ding Junhua retweeted
800 free computer science classes you can take online right now: bit.ly/800CSclasses
Ding Junhua retweeted
By telling scientists they must publish, you get:
1. higher-quality research, more reliable results, less self-delusion
2. better scientists whose reputation will flourish
3. easier external collaborations
4. better research evaluation
5. better internal impact
6. prestige
Ding Junhua retweeted
Merry Christmas Eve to all our fellow mathematicians!
(v/@DiegoKuonen)
Ding Junhua retweeted
Python debugging cheat sheet.
@HaroldSinnott @SourabhSKatoch
Ding Junhua retweeted
9 key computer science topics - and the best book and video for learning each of them: bit.ly/2Jcl6qX (credit @BradfieldCS)
Ding Junhua retweeted
"Students shouldn't go out into life without the ability to communicate.
Your success in life will be determined largely by...
-your ability to speak,
-your ability to write, &
-the quality of your ideas,
**in that order**."
-Late MIT Prof. Patrick Winston
Ding Junhua retweeted
BREAKING: US House votes 228-164 to pass historic bill that would decriminalize cannabis and clear the way to erase nonviolent federal marijuana convictions; bill moves to US Senate.
Ding Junhua retweeted
I look forward to working with the new administration and leaders on both sides in Congress on getting the surging pandemic under control, engaging partners around the world on issues like poverty and climate change, and addressing issues of inequality and opportunity at home.
Ding Junhua retweeted
Congratulations to President-Elect Biden and Vice President-Elect Harris. Thank you to the election officials and campaign workers who worked tirelessly to ensure a record number of Americans could cast a ballot and have it counted during such an challenging time for our country.
Ding Junhua retweeted
This is for the healthcare workers on the frontlines — the Sarabande from Bach’s Cello Suite No. 3. Your ability to balance human connection and scientific truth in service of us all gives me hope. #songsofcomfort
Ding Junhua retweeted
In these days of anxiety, I wanted to find a way to continue to share some of the music that gives me comfort. The first of my #SongsOfComfort: Dvořák – "Going Home”
Stay safe.
Ding Junhua retweeted
Flu pandemics recur reliably but unpredictably every decade or so, and their extent and intensity varies. With COVID19, we may be in midst of a once-every-50-years event, perhaps similar to 1957 pandemic, but not as bad as the 1918 pandemic. Let’s talk about the 1957 pandemic. 1/
Ding Junhua retweeted
Here's a word of wisdom from an infectious-disease modeler I talked to recently: If social distancing feels silly, that means it's working. If it feels like you're avoiding healthy people for no reason, that's actually good
Ding Junhua retweeted
This post discusses the highlights of the 1st EurNLP, wrote with @ChaiHaixia. Great time at @eurnlp #EurNLP2019
medium.com/@andyweizhao1/eur…
Ding Junhua retweeted
.@NSF program brings students from across the country to ECU for collaborative #research: go.ecu.edu/f5f4e2dc


























