This repository shares the code and data of our latest work "From Outcomes to Processes: Guiding PRM Learning from ORM for Inference-Time Alignment".
To set up the project locally, please follow the instructions below:
Clone the repository:
git clone https://github.com/xiebin23/SP-PRM.git
cd SP-PRM
Create and activate a virtual environment:
conda create -n sp_prm python=3.10
conda activate sp_prm
Install the required dependencies:
pip install transformers trl datasets
After setting up the environment, you can run the experiments and analysis scripts as follows:
Data Construction:
python partial_data_construct/hh_data_process_partial.py
Reward Modeling:
python reward_modeling/hh_base_model_sft.py
python reward_modeling/hh_partial_reward_model_with_weights.py
Baselines:
python generation/hh_collect_baseline_results.py
Evaluation:
python evaluation/hh_baseline_results_evaluate_by_rm.py
python evaluation/hh_baseline_results_evaluate_by_gpt.py
python evaluation/hh_baseline_results_evaluate_by_diversity.py
python evaluation/hh_baseline_results_evaluate_by_coherence.py
If you find this repository helpful, feel free to cite our paper.
@inproceedings{xie-etal-2025-outcomes,
title = "From Outcomes to Processes: Guiding {PRM} Learning from {ORM} for Inference-Time Alignment",
author = "Xie, Bin and Xu, Bingbing and Yuan, Yige and Zhu, Shengmao and Shen, Huawei",
year = "2025",
booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
month = jul,
year = "2025",
address = "Vienna, Austria",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2025.acl-long.946/",
doi = "10.18653/v1/2025.acl-long.946",
pages = "19291--19307",
ISBN = "979-8-89176-251-0",
}
9 commits
Python
100.0%
This repository shares the code and data of our latest work "From Outcomes to Processes: Guiding PRM Learning from ORM for Inference-Time Alignment".
To set up the project locally, please follow the instructions below:
Clone the repository:
git clone https://github.com/xiebin23/SP-PRM.git
cd SP-PRM
Create and activate a virtual environment:
conda create -n sp_prm python=3.10
conda activate sp_prm
Install the required dependencies:
pip install transformers trl datasets
After setting up the environment, you can run the experiments and analysis scripts as follows:
Data Construction:
python partial_data_construct/hh_data_process_partial.py
Reward Modeling:
python reward_modeling/hh_base_model_sft.py
python reward_modeling/hh_partial_reward_model_with_weights.py
Baselines:
python generation/hh_collect_baseline_results.py
Evaluation:
python evaluation/hh_baseline_results_evaluate_by_rm.py
python evaluation/hh_baseline_results_evaluate_by_gpt.py
python evaluation/hh_baseline_results_evaluate_by_diversity.py
python evaluation/hh_baseline_results_evaluate_by_coherence.py
If you find this repository helpful, feel free to cite our paper.
@inproceedings{xie-etal-2025-outcomes,
title = "From Outcomes to Processes: Guiding {PRM} Learning from {ORM} for Inference-Time Alignment",
author = "Xie, Bin and Xu, Bingbing and Yuan, Yige and Zhu, Shengmao and Shen, Huawei",
year = "2025",
booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
month = jul,
year = "2025",
address = "Vienna, Austria",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2025.acl-long.946/",
doi = "10.18653/v1/2025.acl-long.946",
pages = "19291--19307",
ISBN = "979-8-89176-251-0",
}
9 commits
Python
100.0%