正在加载视频...

视频加载失败

🚀 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 年前