Ding Junhua (@ProfessorDing) profile picture
Dallas, TX
Joined April 2009
Photo by Ding Junhua (@ProfessorDing)
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. 🚀
3
57
4
236
38,321
97 year old comic about what would happen if "pocket telephones" were to be invented.
443
7,781
610
69,303
12,421,038
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.
Elon Musk on the problem with MBAs
54
87
11
1,268
580,461
Ding Junhua retweeted
Software development 101: bit.ly/2F6JmZF (v/@novilariandis)
2
32
5
153
20,907
Ding Junhua retweeted
800 free computer science classes you can take online right now: bit.ly/800CSclasses
72
1,703
55
5,594
588,732
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
63
120
41
1,209
555,919
Ding Junhua retweeted
Merry Christmas Eve to all our fellow mathematicians! (v/@DiegoKuonen)
16
357
25
1,931
185,083
Ding Junhua retweeted
Python debugging cheat sheet. @HaroldSinnott @SourabhSKatoch
66
1
219
Ding Junhua retweeted
9 key computer science topics - and the best book and video for learning each of them: bit.ly/2Jcl6qX (credit @BradfieldCS)
32
348
14
1,384
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
8
159
8
610
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.
1,300
8,121
4,654
33,251
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.
1
3,119
1,210
50,928
#TBT My mission director @Buzzs_xtina's favorite piece of my memorabilia. My travel voucher to the moon. #Apollo11
183
2,630
208
3,700
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
550
12,842
1,771
34,928
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.
3,707
41,722
7,300
118,401
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/
235
3,278
794
8,107
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
47
3,514
118
17,082
Ding Junhua retweeted
.@NSF program brings students from across the country to ECU for collaborative #research: go.ecu.edu/f5f4e2dc
9
1
16