GPBam:一个检索感知的德国公法考试基准
研究论文 · 2026/11/18
德国国家考试要求结构化的法律意见书(Gutachten),而非简单的规则检索。我们推出GPBam(德国公法律师资格考试风格基准),包含81个公法考试案例及参考答案,并配有200条法律条文的背诵任务。这些案例源自州考试备考,覆盖面广且很少重复,且未公开——我们未发现所评估模型存在精确答案记忆的证据,保持私有可限制污染。由于每个参考答案引用的规范构成了针对论文评分实例的检索黄金集,GPBam联合评估检索和长文本生成,使其成为法律检索和法律写作的基准,并让我们探究法律意见实际需要多少检索质量。在无检索条件下评估32个开源和专有模型,得分范围为4.81-76.42(满分100)。提供法律条文帮助有限:在7个模型和8种检索配置下,检索性能变化近三倍,最多提升4.1分论文分数,对其中三个模型无显著提升;而具有91%黄金规范召回率的预言机将分数提高2-6分。论文质量与先验知识密切相关:在单独任务中测量的逐字法规回忆与论文分数在32个模型上相关系数ρ=0.92。
GPBam填补了法律领域联合评估检索与生成的基准空白,揭示了检索对法律写作的有限提升和先验知识的关键作用,对法律AI系统开发具有重要指导意义。
Legal reasoning in civil-law systems is not rule-lookup: the German state examination asks for a structured opinion (Gutachten) that names the governing norms, applies them to the facts, and argues to a conclusion. We introduce GPBam (German Public Law Bar-style Exam), 81 public-law examination cases with reference solutions, paired with a recitation task over 200 statutory provisions. Drawn from state examination preparation, the cases are broad and rarely repeat, and are not publicly available - we find no evidence of exact-solution memorisation in the models we evaluate, and keeping them private limits contamination. Because each reference solution's cited norms form a retrieval gold set over the very instances the essays are graded on, GPBam scores retrieval and long-form generation jointly, which makes it a benchmark for legal retrieval as well as for legal writing and lets us ask how much retrieval quality a legal opinion actually needs. Across 32 open-weight and proprietary models evaluated without retrieval, scores span 4.81-76.42 out of 100. Supplying the law helps modestly: across seven models and eight retrieval configurations, retrieval performance varies nearly threefold and buys at most 4.1 essay points, and nothing significant for three of the seven, while an oracle with 91% gold-norm recall improves scores by 2-6 points. Essay quality strongly tracks prior knowledge: verbatim statute recall, measured in a separate task, correlates at ρ= 0.92 over 32 models.