Papers › Advancing LLM Reasoning Generalists with Preference Trees

Advancing LLM Reasoning Generalists with Preference Trees

2 Apr 2024arXiv:2404.02078archive 2025-07-28

Lifan Yuan, Ganqu Cui, Hanbin Wang, Ning Ding, Xingyao Wang, Jia Deng, Boji Shan, Huimin Chen, Ruobing Xie, Yankai Lin, Zhenghao Liu, BoWen Zhou, Hao Peng, Zhiyuan Liu, Maosong Sun

We introduce Eurus, a suite of large language models (LLMs) optimized for reasoning. Finetuned from Mistral-7B and CodeLlama-70B, Eurus models achieve state-of-the-art results among open-source models on a diverse set of benchmarks covering mathematics, code generation, and logical reasoning problems. Notably, Eurus-70B beats GPT-3.5 Turbo in reasoning through a comprehensive benchmarking across 12 tests covering five tasks, and achieves a 33.3% pass@1 accuracy on LeetCode and 32.6% on TheoremQA, two challenging benchmarks, substantially outperforming existing open-source models by margins more than 13.3%. The strong performance of Eurus can be primarily attributed to UltraInteract, our newly-curated large-scale, high-quality alignment dataset specifically designed for complex reasoning tasks. UltraInteract can be used in both supervised fine-tuning and preference learning. For each instruction, it includes a preference tree consisting of (1) reasoning chains with diverse planning strategies in a unified format, (2) multi-turn interaction trajectories with the environment and the critique, and (3) pairwise data to facilitate preference learning. UltraInteract allows us to conduct an in-depth exploration of preference learning for reasoning tasks. Our investigation reveals that some well-established preference learning algorithms may be less suitable for reasoning tasks compared to their effectiveness in general conversations. Inspired by this, we derive a novel reward modeling objective which, together with UltraInteract, leads to a strong reward model.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2404.02078")

Code

Syntology Ran 13 of 20 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · violated contract; 4 ran · our draft was wrong; 1 ran · fixture could not drive it; 7 ran with no contract checked.

By repository: official repository: 20 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

openbmb/eurus officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 13 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
4ran · our draft was wrong
1ran · fixture could not drive it
7ran
7unverified

Licence: 0 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from openbmb/eurus. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

softmax openbmb/eurus/eval/mmlu/evaluate_mmlu.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 19f01570b0a18e2b · report
estimate_pass_at_k openbmb/eurus/eval/utils/evaluation.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · e080db2eaa81fdb3 · report
format_example openbmb/eurus/eval/mmlu/evaluate_mmlu.py official repository ran · our draft was wrong Apache-2.0 (permissive) · cd763eaf1ac287e7 · report
format_subject openbmb/eurus/eval/mmlu/evaluate_mmlu.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 6ab745408cb8648b · report
is_equiv openbmb/eurus/eval/utils/math_equivalence.py official repository ran · violated contract Apache-2.0 (permissive) · 20063c675d638a77 · report
last_boxed_only openbmb/eurus/eval/utils/util.py official repository ran Apache-2.0 (permissive) · 855a4d8c22777aac · report
last_boxed_only_string openbmb/eurus/eval/utils/util.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 0b14c648516c38a7 · report
make_signature openbmb/eurus/eval/Coding/human_eval/evaluate_human_eval.py official repository ran Apache-2.0 (permissive) · c9c1b6ac091b90be · report
match_code openbmb/eurus/eval/Coding/leetcode/evaluate_leetcode.py official repository ran fingerprinted Apache-2.0 (permissive) · 3ba288bfab3230c3 · report
normalize_answer openbmb/eurus/eval/utils/math_normalize.py official repository ran fingerprinted Apache-2.0 (permissive) · 7131520594af5fe7 · report
postprocess_completion openbmb/eurus/eval/utils/python_interpreter.py official repository ran Apache-2.0 (permissive) · a50f6b473e8d7cde · report
postprocess_completion_wrapper openbmb/eurus/eval/utils/python_interpreter.py official repository ran fingerprinted Apache-2.0 (permissive) · 8bbda0feb872faf2 · report
read_problems openbmb/eurus/eval/utils/data.py official repository ran Apache-2.0 (permissive) · 2a1cf35aaf759bca · report
check_correctness openbmb/eurus/eval/utils/execution.py official repository unverified Apache-2.0 (permissive) · 12d4fef547070f7c · report
handle_base openbmb/eurus/eval/utils/grader.py official repository unverified Apache-2.0 (permissive) · bb175bff1060d928 · report
is_digit openbmb/eurus/eval/utils/grader.py official repository unverified Apache-2.0 (permissive) · 2a180d3156997924 · report
normalize openbmb/eurus/eval/utils/grader.py official repository unverified Apache-2.0 (permissive) · 960059cee2753e3f · report
only_until_first_boxed_from_tokens openbmb/eurus/eval/utils/util.py official repository unverified Apache-2.0 (permissive) · 0bbf876ced018c83 · report
postprocess_completions openbmb/eurus/eval/utils/python_interpreter.py official repository unverified Apache-2.0 (permissive) · c313975ff5860b89 · report
read_problems openbmb/eurus/eval/Coding/leetcode/data.py official repository unverified Apache-2.0 (permissive) · 776a712a353130e7 · report

Tasks

BenchmarkingCode GenerationLogical Reasoning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamAttentionAttention DropoutBPECosine AnnealingDense ConnectionsDropoutGPT-3Layer NormalizationLinear LayerLinear Warmup With Cosine AnnealingMulti-Head AttentionResidual ConnectionSETSoftmaxWeight Decay

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections