Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

🚀 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 görüntüleme • 5 ay önce •via X (Twitter)

30 Yorum

Guowei Xu profil fotoğrafı
Guowei Xu5 ay önce

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 profil fotoğrafı
Guowei Xu5 ay önce

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 profil fotoğrafı
Guowei Xu5 ay önce

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 profil fotoğrafı
Guowei Xu5 ay önce

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 profil fotoğrafı
Guowei Xu5 ay önce

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 profil fotoğrafı
Guowei Xu5 ay önce

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

Guowei Xu profil fotoğrafı
Guowei Xu5 ay önce

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

Guowei Xu profil fotoğrafı
Guowei Xu5 ay önce

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 profil fotoğrafı
Qizheng Zhang5 ay önce

Nice video! How did you make that?

Guowei Xu profil fotoğrafı
Guowei Xu5 ay önce

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 profil fotoğrafı
Reza Kakooee5 ay önce

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

Guowei Xu profil fotoğrafı
Guowei Xu5 ay önce

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

Siqiao Huang profil fotoğrafı
Siqiao Huang5 ay önce

Congrats on the new work! So productive.

Guowei Xu profil fotoğrafı
Guowei Xu5 ay önce

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

EB1A Experts profil fotoğrafı
EB1A Experts5 ay önce

Interesting approach, great work!

Johnson Wu profil fotoğrafı
Johnson Wu5 ay önce

牛大福

Guowei Xu profil fotoğrafı
Guowei Xu5 ay önce

It’s my fortune to learn from Johnson!

nikkyvu profil fotoğrafı
nikkyvu5 ay önce

great, i like this video

Sam Z Liu profil fotoğrafı
Sam Z Liu5 ay önce

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 profil fotoğrafı
Guowei Xu5 ay önce

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 profil fotoğrafı
Sam Z Liu5 ay önce

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 profil fotoğrafı
Raj Patel4 ay önce

bidirectional evolution neat

Alexander Boesgaard profil fotoğrafı
Alexander Boesgaard5 ay önce

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

Guowei Xu profil fotoğrafı
Guowei Xu5 ay önce

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 profil fotoğrafı
Alexander Boesgaard5 ay önce

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

Latent Node profil fotoğrafı
Latent Node5 ay önce

does it use open evolve?

Guowei Xu profil fotoğrafı
Guowei Xu5 ay önce

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

Ward Plunet profil fotoğrafı
Ward Plunet5 ay önce

@threadreaderapp please #unroll

铜匠AI・十点睡觉 profil fotoğrafı
铜匠AI・十点睡觉5 ay önce

为你们感到骄傲!

oreaper profil fotoğrafı
oreaper5 ay önce

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".

Benzer Videolar

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 görüntüleme • 1 yıl önce