Skip to content
← Case studies

Research case

Removing over-refusal from legal-document AI

Client
Public-sector institution
Industry
Legal
Discipline
AI reliability

How it went

From the problem
to the outcome.

  1. The problem

    Guardrails that got in the way of the work

    Staff at a public-sector institution use on-premises language models to translate and summarise legal documents in several languages. Those documents describe violent offences in detail, and that content set off the models' safety guardrails: refusals, and unsolicited disclaimers that distract the reader and can be read as an attempt to steer their judgement.

  2. The approach

    Measure the problem, then compare the fixes

    We built a dedicated benchmark from public documents of the kind the institution handles, in each of its working languages, with independent model judges labelling refusals and disclaimers. We used it to test several open-weight models and to weigh the options — jailbreaking, post-training and abliteration, which removes the direction in the model responsible for refusing.

  3. The outcome

    Refusals removed, capability kept

    On the model the institution runs, abliteration removed refusals entirely and reduced disclaimers, with general knowledge and translation quality essentially unchanged. The institution received the adapted model and the tooling to reproduce it.

Why a disclaimer is not harmless

Existing over-refusal benchmarks are mostly in English, outside the legal domain, and only count refusals. In legal work, a warning added to a summary is a problem in its own right: it changes the text the reader relies on. The benchmark measures both, on translation and on summarisation.

Over-alignment depends on the model and the language

Across the models tested, the behaviour differed sharply: some refused, others rarely refused but added disclaimers, and how often depended on the language. Even the language the instruction was written in changed the odds of a refusal.

Three ways to fix it

Jailbreaking is the quickest route, but prefix-based jailbreaks degraded the models' output. Post-training could be the most effective, and is the most complex. Abliteration identifies the internal direction behind refusals and removes it, applied here as a LoRA adapter; a short system prompt reduced refusals, but only abliteration removed them.

What it costs, stated plainly

Abliteration is not free: on general safety benchmarks, the adapted model followed harmful requests markedly more often. That is why the change is calibrated to one narrow task, runs on the institution's own infrastructure, and why neither the adapted weights nor the calibration prompts are published.

Beyond this case

The paper was submitted to the industry track of a leading AI conference, and the benchmark is available to safety and legal researchers under a data-use agreement. The Apertus team have since applied the benchmark in the pre-release safety evaluation of Apertus 1.5, alongside abliterated versions of each release candidate.1

Let's talk

Let's engineer confidence together.

Tell us what you're building, securing, or trying to solve. We'll help identify the right next step.

  • A 30-minute call, no slideware
  • We tell you which engagement fits — or that you don't need one yet

Prefer a conversation? Book a 30-minute call

Tell us about your challenge

A few details are enough to get started.

What can we help with?