Skip to content

Unstable Training #29

Open
Open

Description

@wenjunli-0

When I switch to the areal v0.3.3 and run the asearcher_local experiment, I got very unstable training and training cannot continue due to very high rollout time costs.

Below are the hyperparameters I used to run the experiment and the logs. (The blue curves are relatively stable and the green and grey curves are unstable and are created after I switched to areal v0.3.3)
epochs=10, 4p1t1+4p1t1, batch_size=128, max_concurrent_rollouts=48, mem_fraction_static=0.80

Image Image Image

Activity

  1. samjia2000 commented on Sep 26, 2025

    @samjia2000
    Collaborator

    @wenjunli-0 Hi, this is because AReaL has updated the gradient computation part in recent PR. To make sure ASearcher training is stable, the gradient_clipping coefficient should be set to 0.2. Below is the training curve:

    Image
  2. wenjunli-0 commented on Oct 14, 2025

    @wenjunli-0
    Author

    I ran a few new asearcher-local experiments recently and they are normal in the beginning. However, around 200-250 steps, the rollout time starts to explode and the training hangs. I observe the grpo_actor/score/av, number_output_token/avg, num_search_queries/avg and etc, they all seem to be normal and do not explode.

    What will cause such a phenomenon, and how should I fix it?

  3. Taewhoo commented on Dec 8, 2025

    @Taewhoo

    @wenjunli-0 Hi, have you found a solution to this issue (rollout spike around steps 200-250) ?

  4. wenjunli-0 commented on Dec 9, 2025

    @wenjunli-0
    Author

    @wenjunli-0 Hi, have you found a solution to this issue (rollout spike around steps 200-250) ?

    I think it's because of the dynamic filtering, which filters out zero-advantage samples and thus causes the spike (e.g., needs more time to collect non-zero-advantage samples when the model can answer almost all of the questions in the training data).

  5. Taewhoo commented on Dec 9, 2025

    @Taewhoo

    @wenjunli-0 Hi, have you found a solution to this issue (rollout spike around steps 200-250) ?

    I think it's because of the dynamic filtering, which filters out zero-advantage samples and thus causes the spike (e.g., needs more time to collect non-zero-advantage samples when the model can answer almost all of the questions in the training data).

    That makes sense. It's difficult to reach the performance of ASearcher-Local-7B using AReal v0.3.3, and perhaps it's because I can only train up to around 220 steps. Maybe I should revert to the legacy version of AReal, as mentioned in issue#2?

  6. wenjunli-0 commented on Dec 10, 2025

    @wenjunli-0
    Author

    Yes, honestly, I also had difficulty with fully reproducing their experiments and results shown in the paper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions