caiyuchen commited on
Commit
ff87e50
·
verified ·
1 Parent(s): 29a1e8b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +12 -3
README.md CHANGED
@@ -17,11 +17,20 @@ base_model:
17
 
18
  # On Predictability of Reinforcement Learning Dynamics for Large Language Models
19
 
 
 
 
 
 
20
  This repository provides one of the models used in our paper **"On Predictability of Reinforcement Learning Dynamics for Large Language Models"** for evaluating and predicting reinforcement learning (RL) dynamics in large language models (LLMs).
21
 
22
  Recent advances in LLM reasoning capabilities are largely driven by RL, yet the parameter dynamics during RL training remain poorly understood. Our work identifies two key properties of RL-induced parameter updates: **Rank-1 Dominance**, where the top singular subspace of the parameter update matrix captures nearly all reasoning improvements, and **Rank-1 Linear Dynamics**, where this subspace evolves linearly across training, allowing accurate prediction from early checkpoints. Based on these insights, we propose **AlphaRL**, a plug-in acceleration framework that extrapolates final parameter updates from a short early training window, achieving up to 2.5× speedup while retaining over 96% of reasoning performance.
23
 
24
- This model and code are provided to support further research on interpretable and efficient RL training for LLMs. Our full codebase is available at: [AlphaRL GitHub](https://github.com/caiyuchen-ustc/Alpha-RL)
 
 
 
 
25
 
26
  ## 🔧 Prompt Format (Chat Template)
27
 
@@ -44,8 +53,8 @@ prompt = tokenizer.apply_chat_template(
44
  ```python
45
  from transformers import AutoModelForCausalLM, AutoTokenizer
46
 
47
- model = AutoModelForCausalLM.from_pretrained("caiyuchen/DAPO-step-{i}")
48
- tokenizer = AutoTokenizer.from_pretrained("caiyuchen/DAPO-step-{i}")
49
 
50
  question = "Convert the point $(0,3)$ in rectangular coordinates to polar coordinates. Enter your answer in the form $(r,\theta),$ where $r > 0$ and $0 \le \theta < 2 \pi.$"
51
  question_with_instruction = question + "
 
17
 
18
  # On Predictability of Reinforcement Learning Dynamics for Large Language Models
19
 
20
+
21
+ ![Overview](overview.png)
22
+
23
+
24
+
25
  This repository provides one of the models used in our paper **"On Predictability of Reinforcement Learning Dynamics for Large Language Models"** for evaluating and predicting reinforcement learning (RL) dynamics in large language models (LLMs).
26
 
27
  Recent advances in LLM reasoning capabilities are largely driven by RL, yet the parameter dynamics during RL training remain poorly understood. Our work identifies two key properties of RL-induced parameter updates: **Rank-1 Dominance**, where the top singular subspace of the parameter update matrix captures nearly all reasoning improvements, and **Rank-1 Linear Dynamics**, where this subspace evolves linearly across training, allowing accurate prediction from early checkpoints. Based on these insights, we propose **AlphaRL**, a plug-in acceleration framework that extrapolates final parameter updates from a short early training window, achieving up to 2.5× speedup while retaining over 96% of reasoning performance.
28
 
29
+ This model is one of the training checkpoints used in our paper and is provided to support research on evaluating and predicting parameter dynamics during RL training of LLMs. The full codebase is available at: [AlphaRL GitHub](https://github.com/caiyuchen-ustc/Alpha-RL).
30
+
31
+
32
+
33
+
34
 
35
  ## 🔧 Prompt Format (Chat Template)
36
 
 
53
  ```python
54
  from transformers import AutoModelForCausalLM, AutoTokenizer
55
 
56
+ model = AutoModelForCausalLM.from_pretrained("caiyuchen/DAPO-step-2")
57
+ tokenizer = AutoTokenizer.from_pretrained("caiyuchen/DAPO-step-2")
58
 
59
  question = "Convert the point $(0,3)$ in rectangular coordinates to polar coordinates. Enter your answer in the form $(r,\theta),$ where $r > 0$ and $0 \le \theta < 2 \pi.$"
60
  question_with_instruction = question + "