Загрузка видео...

Не удалось загрузить видео

На главную

🚀 How should LLMs sample on hard reasoning problems during post-training and inference where direct rollouts rarely produce a correct answer? Best-of-N (e.g., GRPO) and tree search share two limitations: 🔻 Verification signals are sparse 🔻 Candidates stay within the model's own distribution We introduce BES: Bidirectional Evolutionary Search...

249,508 просмотров • 5 месяцев назад •via X (Twitter)

Комментарии: 30

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

1/8 Why current LLM search hits a wall on hard problems: 1️⃣ Sparse signals: binary success/failure only at the end 2️⃣ Confined exploration: autoregressive expansion keeps every candidate inside the model's own distribution (we prove this is a narrow "entropy shell" later). Hard answers tend to live outside this shell, and exploration is needed to reach them.

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

2/8 🪄 Forward search in BES adds 4 evolution operators that recombine trajectories: 1⃣Combination: concat suffixes of two paths sharing a prefix 2⃣Deletion: drop an interior step 3⃣Translocation: transplant a step from another path 4⃣Crossover: splice prefix of A with tail of B

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

3/8 🎯 Backward search recursively decomposes the task into a tree of checkable sub-goals. A forward candidate is scored by how many sub-goals it covers. The signal stays informative even when no candidate has solved the entire problem yet. Sparse end-of-trajectory feedback now becomes dense intermediate guidance.

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

4/8 🔄 Putting it together: forward and backward feed each other. Backward scores each candidate by sub-goal coverage, favoring complementary pairs (two candidates that together cover more of the goal tree). Forward search then uses evolution operators to recombine those complementary pairs into a candidate that covers more subgoals. Both come with theoretical motivations: evolution escapes the entropy shell, and backward signals exponentially reduce the candidates needed.

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

5/8 Post-training results. On hard reasoning tasks where existing post-training algorithms fail to make clear progress, BES achieves steady, consistent improvements.

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

6/8 Inference results. BES achieves better results than existing open-source frameworks on open problem solving tasks.

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

7/8 BES is fully open-source! 📄 Paper: 💻 Code: 🤗 Trained models: 🌐 Project page:

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

8/8 Huge thanks to my amazing coauthors @ZhentingQi @Huangyu58589918 @Weirui_Ye, Himabindu Lakkaraju, @ShamKakade6, I've learned so much from you. Special thanks to my advisor @du_yilun for his guidance throughout this work. If you have any questions or feedback, my DMs are always open.

Фото профиля Qizheng Zhang
Qizheng Zhang5 месяцев назад

Nice video! How did you make that?

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

Thanks for your words! I actually made it using Claude Code. First I used the website design tool to make a website, and then ask it to convert the website into a video. It still needs some sort of human intervention, but overall it’s very convenient.

Фото профиля Reza Kakooee
Reza Kakooee5 месяцев назад

This paper of mine might be interesting for you: Bidirectional Planning in Human Decision Making.

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

Sounds interesting and related! I will include this a related work in the next version.

Фото профиля Siqiao Huang
Siqiao Huang5 месяцев назад

Congrats on the new work! So productive.

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

Thanks Siqiao! Reading your work has always been enjoyable. 😊

Фото профиля EB1A Experts
EB1A Experts5 месяцев назад

Interesting approach, great work!

Фото профиля Johnson Wu
Johnson Wu5 месяцев назад

牛大福

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

It’s my fortune to learn from Johnson!

Фото профиля nikkyvu
nikkyvu5 месяцев назад

great, i like this video

Фото профиля Sam Z Liu
Sam Z Liu5 месяцев назад

This makes a lot of sense - backward induction is how we solve a lot of problems as well! Have you compared a fully backward induction technique vs a fully forward search technique to see which one contributes more? (I think the ablation studies never do fully backward if I"m reading it correctly)

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

Hi, thanks for the comment! Only using backward induction to solve a problem would be interesting. However, in our current setting, the backward search only generates subgoals instead of providing a solution, so we cannot do "a fully backward induction".

Фото профиля Sam Z Liu
Sam Z Liu5 месяцев назад

Ah gotcha - yeah I think it would be interesting to try! I suspect I might work better than forward search because there's likely a "funnel" that converges on the right solution so that search space stays smaller for longer

Фото профиля Raj Patel
Raj Patel4 месяцев назад

bidirectional evolution neat

Фото профиля Alexander Boesgaard
Alexander Boesgaard5 месяцев назад

does the backward composition hold up when subgoals arent cleanly verifiable?

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

Hi, thanks for your attention! Yeah, the backward composition can still hold up. However, if subgoals are cleanly verifiable, it can significantly speed up the search, so I would recommend trying to make the goals verifiable.

Фото профиля Alexander Boesgaard
Alexander Boesgaard5 месяцев назад

thanks for the thoughtful reply, we're chipping away at a complementary angle - will make sure to cite

Фото профиля Latent Node
Latent Node5 месяцев назад

does it use open evolve?

Фото профиля Guowei Xu
Guowei Xu5 месяцев назад

Thanks for your attention! We build this on top of ShinkaEvolve

Фото профиля Ward Plunet
Ward Plunet5 месяцев назад

@threadreaderapp please #unroll

Фото профиля 铜匠AI・十点睡觉
铜匠AI・十点睡觉5 месяцев назад

为你们感到骄傲!

Фото профиля oreaper
oreaper5 месяцев назад

Interesting and great work! I have a little question: In the backward search stage, how to ensure the final task can be decomposed into several clear sub-goals? For example, give a problem "Here are trajectories of (y| x1, x2...), give a explicit expression to fit y using X".

Похожие видео

New Course: Post-training of LLMs Learn to post-train and customize an LLM in this short course, taught by Banghua Zhu, Assistant Professor at the University of Washington University of Washington, and co-founder of @NexusflowX. Training an LLM to follow instructions or answer questions has two key stages: pre-training and post-training. In pre-training, it learns to predict the next word or token from large amounts of unlabeled text. In post-training, it learns useful behaviors such as following instructions, tool use, and reasoning. Post-training transforms a general-purpose token predictor—trained on trillions of unlabeled text tokens—into an assistant that follows instructions and performs specific tasks. Because it is much cheaper than pre-training, it is practical for many more teams to incorporate post-training methods into their workflows than pre-training. In this course, you’ll learn three common post-training methods—Supervised Fine-Tuning (SFT), Direct Preference Optimization (DPO), and Online Reinforcement Learning (RL)—and how to use each one effectively. With SFT, you train the model on pairs of input and ideal output responses. With DPO, you provide both a preferred (chosen) and a less preferred (rejected) response and train the model to favor the preferred output. With RL, the model generates an output, receives a reward score based on human or automated feedback, and updates the model to improve performance. You’ll learn the basic concepts, common use cases, and principles for curating high-quality data for effective training. Through hands-on labs, you’ll download a pre-trained model from Hugging Face and post-train it using SFT, DPO, and RL to see how each technique shapes model behavior. In detail, you’ll: - Understand what post-training is, when to use it, and how it differs from pre-training. - Build an SFT pipeline to turn a base model into an instruct model. - Explore how DPO reshapes behavior by minimizing contrastive loss—penalizing poor responses and reinforcing preferred ones. - Implement a DPO pipeline to change the identity of a chat assistant. - Learn online RL methods such as Proximal Policy Optimization (PPO) and Group Relative Policy Optimization (GRPO), and how to design reward functions. - Train a model with GRPO to improve its math capabilities using a verifiable reward. Post-training is one of the most rapidly developing areas of LLM training. Whether you’re building a high-accuracy context-specific assistant, fine-tuning a model's tone, or improving task-specific accuracy, this course will give you experience with the most important techniques shaping how LLMs are post-trained today. Please sign up here:

Andrew Ng

126,309 просмотров • 1 год назад