arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.16280cs.CYcs.AI
收藏

超越不完美替代:基于规则映射的神经符号案例研究:在线仇恨言论

Beyond Imperfect Alternatives with Rulemapping: A Neuro-Symbolic Case Study on Online Hate Speech

Max Planck Institute for Comparative and International Private Law(比较与国际私法Max Planck研究所)

Oskar von Cossel

AI总结:

本文探讨神经符号方法在在线仇恨言论分类中的应用,通过约束大语言模型以提高法律判断的准确性与可验证性。

摘要:

自动化法律推理迫使在不完美的替代方案之间做出选择:符号系统提供透明性但难以处理模糊性,而神经系统能灵活处理自然语言但缺乏可验证性。本文研究了一种混合的神经符号方法是否能解决这一权衡。我们评估了该架构在在线内容审核领域的应用,作为高量级法律决策(如大规模行政程序)的代理。在这些情况下,操作员必须在严格法律标准下每天评估数千个案例。具体而言,我们探讨了将大型语言模型(LLMs)限制在确定性符号框架内是否能提高基于法律条款的非法性评估,同时防止“范围漂移”(即LLMs将道德冒犯性与法律非法性混淆)。我们评估了规则映射的神经符号变体——一种视觉逻辑树方法,该方法将经典法律三段论形式化——在德国刑法第130(1)条下的在线仇恨言论分类。在多样化的LLMs上,规则映射保持高召回率(0.82-0.89)同时达到精确度0.80-0.86,相比无约束提示的0.34-0.49。专家编写的符号框架因此能够实现稳健的法律自动化,符合可审计性和可验证决策的监管要求。

英文摘要:

Automating legal reasoning forces a choice between imperfect alternatives: symbolic systems offer transparency but struggle with ambiguity, whereas neural systems handle natural language flexibly but lack verifiability. This paper investigates whether a hybrid, neuro-symbolic approach can reconcile this trade-off. We evaluate this architecture in the domain of online content moderation, which serves as a proxy for high-volume legal decision-making such as mass administrative proceedings. In these settings, operators must assess thousands of cases daily under strict legal standards. Specifically, we examine whether constraining large language models (LLMs) within deterministic symbolic scaffolds improves statute-grounded illegality assessment while preventing "scope drift" (where LLMs conflate moral offensiveness with legal illegality). We evaluate the neuro-symbolic variant of Rulemapping - a visual logic-tree method that operationalises the classic legal syllogism - on online hate-speech classification under §130(1) of the German Criminal Code. Across diverse LLMs, Rulemapping maintains high recall (0.82-0.89) while achieving precision of 0.80-0.86, compared to 0.34-0.49 for unconstrained prompting. Expert-authored symbolic scaffolds thus enable robust legal automation aligned with regulatory requirements for auditability and verifiable decision-making.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑