LexReward: A Reward Modeling Framework for Legal Large Language Models
✨ A three-sided ruler for legal answers: LexReward turns professional requirements into computable scoring standards across three dimensions — expression style, legal elements, and reasoning chains.
✨ From rating scale to training signal: the rubric generates preference data that supports direct preference optimization and LexRM reward model training; LexRM needs no reference answers when scoring.
✨ Rewards that land on generation quality: across three separately trained policies, GRPO guided by LexRM raises the style score from 7.32 to 8.54, the average legal-element score from 60.62 to 66.66, and the overall reasoning-chain score from 55.99 to 56.40.
The paper has been published, and the project code is open.
What standards should reward modeling in the legal domain follow? LexReward defines the quality of a legal response along three dimensions — expression style, legal elements, and reasoning chains — and turns these professional requirements into computable, learnable reward signals.
Research Background
In general-domain model alignment research, frameworks and principles such as HHH (Helpful, Honest, Harmless) and Constitutional AI provide clear objectives for optimizing model behavior. In the legal domain, however, what counts as a high-quality legal response, and which response deserves a higher reward, still lack a systematic answer. Producing the correct final conclusion is certainly a basic requirement for a legal response, but a high-quality legal answer should also match the expression style of a legal context, contain sufficient and accurate legal elements, and offer rigorous argumentation.
To address this, this study proposes LexReward, exploring a general reward framework for the legal domain. The framework characterizes the quality of legal responses along three dimensions — expression style (Style), legal elements (Element), and reasoning chains (Chain) — and specifies what deserves a higher reward in each. Combining expert knowledge with analysis of model errors, we refine the professional requirements that the legal domain places on model answers into interpretable scoring standards, and on that basis build preference data and train a family of reward models for Chinese legal scenarios, LexRM. Through experiments in candidate-response selection, direct preference optimization, and reinforcement learning, the study examines whether these evaluation standards can be converted into effective model optimization signals.
Just as frameworks such as HHH provide clear optimization objectives for general model alignment, LexReward systematically clarifies, across expression style, legal elements, and reasoning chains, the aspects in which legal models should be rewarded or improved. By further turning these requirements into fine-grained scoring standards and building preference data and reward models, this study systematically explores a research path that uses legal expertise and fundamental principles to guide model optimization, providing a foundation for reward modeling and reinforcement learning research in the legal domain.
Reward Design for the Legal Domain
For legal tasks, reward design must specify the concrete criteria for the professional quality of a legal response: does an analysis of a case use accurate, objective legal language? Does it identify the key parties, facts, and statutes? Does it present a complete argument from facts to conclusion? These requirements determine the dimensions in which a legal model should be rewarded.
LexReward establishes a unified framework for these requirements. We hope LexReward can provide clear guidelines for reward design in the legal domain: constraining language through expression style, checking content through legal elements, and evaluating argumentation through reasoning chains. By grounding professional legal quality in concrete dimensions, LexReward offers a clear basis for domain reward modeling.
Method
01 Defining the Three Dimensions of Legal Answer Quality
LexReward's concrete standards come from the distillation of legal expert experience and systematic observation of real model errors. We combine "top-down" and "bottom-up" approaches: legal experts first sort out the requirements of legal expression and argumentation, then we analyze answers from multiple models on legal benchmarks and how they differ from reference answers, and finally distill the professional quality requirements into three complementary dimensions:
Expression style (Style): accurate legal terminology, objective wording, clear sentences. The checks cover terminology use, control of subjective wording, inter-sentence coherence, and correctness of sentence structure and collocation, so that a legal answer expresses itself professionally.
Legal elements (Element): centered on parties, facts, statutes, and conclusions, checking whether the answer handles the legal information a task requires accurately and sufficiently, avoiding missing key elements and unsupported content.
Reasoning chain (Chain): checking the order of argumentation, completeness of steps, correctness of reasoning, and non-redundancy, so that key facts and applicable law connect to the conclusion through clear, well-grounded reasoning.
The three dimensions answer "how to express," "what to include," and "how to argue." A passage that reads fluently still needs to pass checks on elements and reasoning; even one that covers the relevant elements still has to explain how that information supports the conclusion. Together the three dimensions form the basis for evaluating legal rewards, and can be further decomposed into executable fine-grained standards.
The three evaluation dimensions of LexReward and their fine-grained standards
02 Building Rewards from Scoring Rubrics
LexReward translates the fine-grained quality requirements of the three dimensions into scoring rubrics, and chooses rule-based scoring or LLM-based scoring according to whether each indicator requires judgment in light of the input context. Both approaches produce rewards according to the rubric: the rubric defines "what to evaluate" and "how to score," while the rule-based and LLM-based scorers compute the actual scores.
For indicators that do not depend on the input context, the study uses rule-based scoring functions calibrated on a high-quality legal-text corpus, providing deterministic, interpretable scores. Expression style mainly follows this approach: features such as legal terminology, subjective wording, inter-sentence coherence, and sentence structure and collocation are extracted, their divergence from reference statistics of real Chinese judicial documents is computed, and the result is normalized and aggregated into a reward — the smaller the divergence, the higher the reward.
For indicators that require the input context, an LLM scores according to the corresponding rubric. Legal elements follow this approach: combining the question and the candidate answer, and without reading any reference answer, the scoring model assigns each of parties, facts, statutes, and conclusions a score from 0 to 1, and the average becomes the reward. How the reasoning chain is scored depends on the task: if the reasoning steps and their order are specified in advance, a rule-based scorer checks them against the rubric; if the reasoning path must be judged from the case context, an LLM scores it against the same criteria of order, completeness, correctness, and non-redundancy, and the results are aggregated into a reward.
03 Training Reward Models from Rubric-Derived Preference Data
Using the LexReward rubrics, answers of differing quality can be given corresponding scores and distinguished in quality. To this end, the study first has multiple models generate candidate answers to the same question, then scores them with the rubrics for each dimension, and constructs better/worse answer pairs within the same question. The diversity of answer sources helps reduce dependence on the phrasing particular to one generative model.
The preference pairs cover three kinds of quality gaps: the highest-scoring answer versus the closest slightly lower-scoring answer within the high-score range; high-scoring versus medium-scoring answers; and medium-scoring versus clearly lower-scoring answers. Such data captures both the subtle differences among high-quality answers and the pronounced gaps between quality tiers, providing supervision for the reward model to learn legal preferences.
Based on this preference data, we built, for the first time, a reward model family for Chinese legal scenarios, LexRM. Using Qwen3-8B as the model backbone, the study trains LexRM-Style, LexRM-Element, and LexRM-Chain separately on the preference data of each dimension; through the Bradley–Terry pairwise preference objective, the models assign higher scores to preferred answers. In this way, the rubric-derived preferences are learned as a continuous scoring function. The study also uses task-vector addition to merge the parameter updates of the three specialized models into LexRM-Merge, exploring how a single model might integrate evaluation across multiple dimensions.
04 Using Rewards for Answer Selection and Generation Optimization
At inference time, LexRM selects the highest-scoring answer from candidates generated by five models, testing whether rewards can help the system choose better answers. At training time, the study examines the effect of rubric-built preference data on direct preference optimization (DPO), and the effect of the reward model on group relative policy optimization (GRPO).
The experiments use legal benchmark task distributions such as CLASE, LegalΔ, and LexChain to evaluate the dimensions of style, elements, and reasoning chains. For each of the three dimensions, a corresponding generation policy is trained and evaluated to examine the optimization effect of the reward in that dimension. The reward model needs no reference answers when scoring, which also offers a supervision approach for open-ended legal generation tasks that lack a single correct answer.
LexReward's overall pipeline from quality standards to reward modeling and policy optimization
Performance Highlights / Key Findings
01 Finding 1 | LexReward's Evaluation Standards Improve Answer Selection
On the CLASE style evaluation, the rubric's pairwise selection accuracy reaches 79.00%; on the legal-element evaluation, the average score of candidates selected by the rubric is 60.27, above the five-model average of 49.63; on the reasoning-chain evaluation, the overall score rises from the five-model average of 45.41 to 47.80. The results show that refining legal quality requirements into explicit standards can provide an effective basis for answer selection.
02 Finding 2 | The Reward Model Further Learns Fine-Grained Quality Differences
LexRM-Style reaches 81.75% pairwise selection accuracy on CLASE, and LexRM-Chain achieves an overall score of 50.46 on LexChain, both the best overall results among the compared methods in the table. LexRM-Element achieves an average score of 66.32 on LegalΔ, ranking second among the methods in the table. This shows that dedicated legal preference supervision can help models learn domain evaluation standards, though the advantage still depends on the specific dimension and task.
03 Finding 3 | Reward Signals Further Improve Model Generation
After DPO on preference data built from the rubrics, the model improves over the original Qwen3-8B on all three dimensions. Further, starting from the SFT model and applying GRPO with the corresponding LexRM, the style score rises from 7.32 to 8.54 (out of 10), the average legal-element score from 60.62 to 66.66, and the overall reasoning-chain score from 55.99 to 56.40. The gains differ across dimensions, with legal elements improving the most.
04 Finding 4 | Rewarding Only the Final Answer Cannot Fully Improve Argumentation Quality
The paper compares the LexRM reward with a final-outcome reward: the latter scores against a verifiable final answer in legal-element and reasoning tasks, and uses ROUGE overlap with reference text in style tasks. In the experiments, the outcome reward improves overall performance on elements and reasoning chains only marginally; the LexRM reward reaches 66.66 and 56.40 on these two dimensions, above 60.86 and 55.29 for the outcome reward. Reward design needs to attend to the elements and argumentation on which the conclusion rests.
05 Finding 5 | The Evaluation Standards Provide Complementary Supervision Signals
Ablation experiments show that, within each of the style, element, and reasoning-chain dimensions, aggregating the fine-grained standards yields better overall results than any single standard. This demonstrates LexReward's multi-dimensional characterization of legal answer quality. However, after merging the three specialized reward models, LexRM-Merge comes close to the specialized models on legal elements but still declines on style and reasoning chains. How to better coordinate multi-dimensional rewards within a unified model remains worth further study.
Final Thoughts
This ruler still needs calibration. First, the taxonomy is rooted in Chinese legal materials, and the experiments cover only Chinese datasets, leaving other languages and jurisdictions unverified. Second, style, legal elements, and reasoning chains are evaluated on 1000, 3000, and 1000 test samples respectively, and all trained models are based on Qwen3-8B, so the conclusions remain constrained by these samples and model conditions. Third, the study mainly validates per-dimension rewards; after parameter merging the model still declines on style and reasoning chains, and the weighting of multi-dimensional rewards, the combination of preference data, and a unified training strategy remain open questions.
If you also work on legal models, there are two doors here. The first: clone the project repository, reproduce the scoring and candidate selection on your own tasks, and see whether this ruler catches the key omissions. The second: contribute cases that are "right in conclusion but flawed in argumentation," or record failed runs where reward and generation quality diverge, so that new problems become the basis for calibrating the standards.
To set a standard for legal models is also to measure every step on the way to the conclusion.
Authors: Yida Cai, Xin Dai, Bingxiang He, Huiyuan Xie, Yuxiao Ye, Zhenghao Liu, Yang Bai, Zhiyuan Liu
For more of the paper, please click "Read original article."