CFRL checkpoints: RL post-training of the ELF continuous flow language models

Checkpoints for the paper Backpropagating Verifier Rewards Through Continuous Flow Language Models (CFRL). Every file is a PyTorch weights file of ELF-B (105M parameters) or ELF-L (652M parameters), the embedded-language-flow models of ELF, fine-tuned on program-verified reasoning tasks (Countdown, Game24, Sudoku, Knights-and-Knaves) and then post-trained with one of three RL variants.

The code that trains, evaluates and loads these files is the CFRL code release (cfrl/common.py:load_weights, scripts/evaluate.sh). This repository holds only the weights.

Layout

There is one top-level folder per model size, and both have the same subfolders:

folder model files tasks
B/ ELF-B, 105M parameters 24 files, about 420 MB each countdown, game24, sudoku, kk
L/ ELF-L, 652M parameters 18 files, about 2.6 GB each countdown, game24, sudoku

L/ has no kk files: task SFT of ELF-L already solves Knights-and-Knaves, so there are no RL runs for it.

The ELF-B files were at the top level of this repository (base/, critic/, ...) before ELF-L was added. They are the same files, now under B/.

subfolder files what
base/ <task>.pt task-SFT model, the starting point of every RL run
critic/ <task>_1d.pt, <task>_2d.pt critics (denoiser copy + MLP head) used by CFRL-SVG-1D / CFRL-SVG-2D
grr/ <task>.pt CFRL-GRR policy, one per task
svg1d/ <task>.pt CFRL-SVG-1D policy, one per task
svg2d/ <task>.pt CFRL-SVG-2D policy, one per task

Model files are dicts with params, ema_params1 and step (EMA weights are used when present); critic files hold trunk, head and mode.

Results

ELF-B (B/): test accuracy, Table 1 of the paper.

task base CFRL-GRR CFRL-SVG-1D CFRL-SVG-2D
Countdown 42.8 42.6 47.4 49.7
Sudoku 64.0 67.9 64.1 68.7
Knights-and-Knaves 68.2 71.4 76.5 77.5
Game24 44.0 47.4 51.2 58.2

ELF-L (L/): test accuracy, Table 2 of the paper.

task base CFRL-GRR CFRL-SVG-1D CFRL-SVG-2D
Countdown 60.5 63.3 72.6 74.4
Sudoku 71.0 70.3 79.3 77.9
Game24 58.6 66.9 70.5 71.0

Usage

# in the CFRL code release, with its environment
hf download tufts-ml/CFRL --include "B/*" --local-dir checkpoints      # ELF-B, about 10 GB
hf download tufts-ml/CFRL --include "L/*" --local-dir checkpoints      # ELF-L, about 47 GB

scripts/evaluate.sh countdown checkpoints/B/svg2d/countdown.pt
scripts/train_svg.sh countdown 2d        # CFRL-SVG-2D from B/base/countdown.pt with B/critic/countdown_2d.pt

SIZE=L scripts/evaluate.sh countdown checkpoints/L/svg2d/countdown.pt
SIZE=L scripts/train_svg.sh countdown 2d # the same with the ELF-L files and configs/elf_l/countdown.yml

The files are plain torch.save dicts and load with torch.load(path, map_location="cpu", weights_only=False).

License

MIT, as the code release. ELF-B and ELF-L themselves are released under the MIT license of their authors.

Citation

@article{han2026backpropagating,
  title={Backpropagating Verifier Rewards Through Continuous Flow Language Models},
  author={Han, Xu and Hu, Jiajing and Liu, Li-Ping},
  journal={arXiv preprint arXiv:2610.19080},
  year={2026}
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Paper for tufts-ml/CFRL