This repository contains code, documentation, and experiments for a course project on process reward modeling in large language models.
The primary ReasonEval -> PathFinder selective-verification study is complete.
The frozen primary system is:
ReasonEval -> utility router -> optional PathFinder
The formal experiment used original-question-grouped 600/200/400 train, validation, and held-out test splits. Thresholds and routing hyperparameters were selected using development data before the test set was opened.
Held-out results on 400 test examples:
| System | Accuracy |
|---|---|
| ReasonEval only | 71.75% |
| PathFinder only | 79.00% |
| Expected-gain routing @ 20% PathFinder calls | 81.75% |
| Cost-aware routing @ 20% PathFinder calls | 81.75% |
The pairwise ReasonEval--PathFinder oracle reaches 92.25%. The primary protocol is frozen and closed to further test-based tuning. Final descriptive analyses and figures are complete; the course report is being finalized. MathPRM and Skywork were evaluated as exploratory second-stage extensions on the same grouped splits. GenPRM code and preliminary outputs remain available for future work, but are not part of the report's held-out verifier comparisons.
See:
cl-prm-team/cl-prm-artifacts.The formal runbook reconstructs the pinned question-group splits, runs the frozen RE--PathFinder experiment, and validates the reconstructed splits against the tracked manifest. The analysis runbook generates the main tables and figures from archived outputs. The extension runbook covers MathPRM, Skywork, and the post-hoc threshold sensitivity study. Download the generated artifacts beside this repository as cl-prm-artifacts when running offline analysis scripts; use their --artifacts-dir or --hf-root option if stored elsewhere. The course paper itself is maintained in the separate writing workspace.
The project asks whether pair-specific correction utility can allocate limited process-verification compute more effectively than confidence- or difficulty-based escalation.
The final primary study combines:
Post-call arbitration was explored during feasibility but is not part of the primary held-out result.
OVM completed a separate feasibility study and is retained as an archived alternative direction. Its compact evaluation summaries remain in GitHub, while raw generated seed outputs are stored in the team's private Hugging Face artifact repository.
GenPRM is retained as an optional post-primary extension. Preliminary simplified GenPRM development runs are not treated as final held-out results.
cl-prm-project/
├── configs/ # Version-pinned experiment configurations and manifests
├── docs/ # Proposals, literature notes, and meeting notes
├── experiments/
│ ├── feasibility/ # Completed exploratory/feasibility workflows
│ ├── formal/prm_router/ # Frozen formal workflow and held-out analysis
│ └── extensions/prm_router/ # Alternative verifiers and threshold diagnostics
├── src/
│ └── cl_prm/ # Shared data, routing, evaluation, and IO modules
├── data/ # Generated local datasets, excluded from Git
├── outputs/ # Generated local artifacts, excluded from Git
├── pyproject.toml # Editable src-package configuration
├── requirements-common.txt # Shared Python dependencies
├── requirements.txt # Local/workstation dependency entry point
├── requirements-runpod.txt # RunPod-safe dependency entry point
└── README.md
src/cl_prm/ contains the reusable implementation shared by feasibility and formal workflows. Formal-only CLI entry points live under experiments/formal/prm_router/; completed exploratory scripts remain under experiments/feasibility/.
The local ReasonEval and GenPRM feasibility experiments used Python 3.10 with an NVIDIA RTX 4060 Laptop GPU. PathFinder feasibility inference used Linux, BF16, Flash Attention 2, and an NVIDIA A40.
For the local Windows environment, install the PyTorch build appropriate
for the target CUDA version before installing requirements.txt, then install
the project package in editable mode with python -m pip install -e . --no-deps --no-build-isolation.
The completed formal run was executed on an NVIDIA A100-SXM4-80GB with the pinned software stack recorded in experiments/formal/prm_router/run_gpu_environment.ipynb. The notebook preserves the executed development and held-out workflow.
The alternative-verifier workflow evaluates Qwen Math PRM and Skywork PRM on the frozen splits and RE outputs without altering the completed RE -> PathFinder experiment. Official GenPRM runners and exploratory development code remain in the repository for possible future work.
For compatible cloud environments, bash scripts/bootstrap_runpod.sh remains the environment bootstrap entry point; see RunPod environment for the pinned stack and storage/secrets policy.
Raw and generated data are not committed to Git.
data/README.md documents deterministic dataset reconstruction.configs/experiments/prm_router_formal.json pins dataset and model revisions.configs/experiments/prm_router_formal_split_manifest.json records formal split hashes and statistics.outputs/README.md defines the local and shared artifact policy.cl-prm-team/cl-prm-artifacts is the private shared Hugging Face repository for generated inference outputs and analysis artifacts.Model checkpoints should be downloaded from their pinned upstream revisions and must not be committed.
experiments/feasibility/prm_router/.experiments/formal/prm_router/.src/cl_prm/.This repository contains code, documentation, and experiments for a course project on process reward modeling in large language models.
The primary ReasonEval -> PathFinder selective-verification study is complete.
The frozen primary system is:
ReasonEval -> utility router -> optional PathFinder
The formal experiment used original-question-grouped 600/200/400 train, validation, and held-out test splits. Thresholds and routing hyperparameters were selected using development data before the test set was opened.
Held-out results on 400 test examples:
| System | Accuracy |
|---|---|
| ReasonEval only | 71.75% |
| PathFinder only | 79.00% |
| Expected-gain routing @ 20% PathFinder calls | 81.75% |
| Cost-aware routing @ 20% PathFinder calls | 81.75% |
The pairwise ReasonEval--PathFinder oracle reaches 92.25%. The primary protocol is frozen and closed to further test-based tuning. Final descriptive analyses and figures are complete; the course report is being finalized. MathPRM and Skywork were evaluated as exploratory second-stage extensions on the same grouped splits. GenPRM code and preliminary outputs remain available for future work, but are not part of the report's held-out verifier comparisons.
See:
cl-prm-team/cl-prm-artifacts.The formal runbook reconstructs the pinned question-group splits, runs the frozen RE--PathFinder experiment, and validates the reconstructed splits against the tracked manifest. The analysis runbook generates the main tables and figures from archived outputs. The extension runbook covers MathPRM, Skywork, and the post-hoc threshold sensitivity study. Download the generated artifacts beside this repository as cl-prm-artifacts when running offline analysis scripts; use their --artifacts-dir or --hf-root option if stored elsewhere. The course paper itself is maintained in the separate writing workspace.
The project asks whether pair-specific correction utility can allocate limited process-verification compute more effectively than confidence- or difficulty-based escalation.
The final primary study combines:
Post-call arbitration was explored during feasibility but is not part of the primary held-out result.
OVM completed a separate feasibility study and is retained as an archived alternative direction. Its compact evaluation summaries remain in GitHub, while raw generated seed outputs are stored in the team's private Hugging Face artifact repository.
GenPRM is retained as an optional post-primary extension. Preliminary simplified GenPRM development runs are not treated as final held-out results.
cl-prm-project/
├── configs/ # Version-pinned experiment configurations and manifests
├── docs/ # Proposals, literature notes, and meeting notes
├── experiments/
│ ├── feasibility/ # Completed exploratory/feasibility workflows
│ ├── formal/prm_router/ # Frozen formal workflow and held-out analysis
│ └── extensions/prm_router/ # Alternative verifiers and threshold diagnostics
├── src/
│ └── cl_prm/ # Shared data, routing, evaluation, and IO modules
├── data/ # Generated local datasets, excluded from Git
├── outputs/ # Generated local artifacts, excluded from Git
├── pyproject.toml # Editable src-package configuration
├── requirements-common.txt # Shared Python dependencies
├── requirements.txt # Local/workstation dependency entry point
├── requirements-runpod.txt # RunPod-safe dependency entry point
└── README.md
src/cl_prm/ contains the reusable implementation shared by feasibility and formal workflows. Formal-only CLI entry points live under experiments/formal/prm_router/; completed exploratory scripts remain under experiments/feasibility/.
The local ReasonEval and GenPRM feasibility experiments used Python 3.10 with an NVIDIA RTX 4060 Laptop GPU. PathFinder feasibility inference used Linux, BF16, Flash Attention 2, and an NVIDIA A40.
For the local Windows environment, install the PyTorch build appropriate
for the target CUDA version before installing requirements.txt, then install
the project package in editable mode with python -m pip install -e . --no-deps --no-build-isolation.
The completed formal run was executed on an NVIDIA A100-SXM4-80GB with the pinned software stack recorded in experiments/formal/prm_router/run_gpu_environment.ipynb. The notebook preserves the executed development and held-out workflow.
The alternative-verifier workflow evaluates Qwen Math PRM and Skywork PRM on the frozen splits and RE outputs without altering the completed RE -> PathFinder experiment. Official GenPRM runners and exploratory development code remain in the repository for possible future work.
For compatible cloud environments, bash scripts/bootstrap_runpod.sh remains the environment bootstrap entry point; see RunPod environment for the pinned stack and storage/secrets policy.
Raw and generated data are not committed to Git.
data/README.md documents deterministic dataset reconstruction.configs/experiments/prm_router_formal.json pins dataset and model revisions.configs/experiments/prm_router_formal_split_manifest.json records formal split hashes and statistics.outputs/README.md defines the local and shared artifact policy.cl-prm-team/cl-prm-artifacts is the private shared Hugging Face repository for generated inference outputs and analysis artifacts.Model checkpoints should be downloaded from their pinned upstream revisions and must not be committed.
experiments/feasibility/prm_router/.experiments/formal/prm_router/.src/cl_prm/.