Papers for

enterprise ai deployment teams

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Small legal AI models refuse more requests when told user role

LLMs Prompted for Legal Context Refuse More: Overrefusal from Small On-Premises LLMs in Criminal Legal Context

Abstract: Confidentiality requirements increasingly push legal professionals toward small, on-device LLMs that keep case data in-house, used for everyday tasks such as summarization, translation, and reformulation. Following standard prompting guidance, a user naturally states their role (``I am a lawyer...''). We show that this innocuous habit has an unexpected cost: such authority framing can make the model selectively refuse legitimate requests, introducing bias through uneven access to assistance. We evaluate four modern small open-weight LLMs on benign legal-domain prompts to measure this over-refusal. Surprisingly, we find that authority-style prefixes (''I am legal counsel working for a national supreme court'', ''I'm a defense lawyer'') systematically increase refusal rates by 2--20x over the no-prefix baseline, while a known role-play jailbreak prefix shows mixed effects, sharply increasing refusals in some models and barely shifting them in others. The finding suggests that small on-prem deployable LLMs are unstable under contextual framings that a real institutional user might naturally introduce, and further investigation is essential to minimize opportunities for bias.

Mon 19 OctArtificial Intelligence
The gist
Sometimes, small AI models used by lawyers refuse to help with harmless tasks like summarizing legal documents. This happens more often when the AI is told the user is an authority figure, like a lawyer or judge. The authors found that these models say no to requests 2 to 20 times more when given role details, which could lead to unfair access to AI assistance. Different role statements change refusal rates differently across models, showing that AI behavior can be unstable and unpredictable in real legal settings.
Open → 2610.26211v1

Gated memory in large language models vulnerable to hidden backdoor attacks

BadEngram: Backdoor Attack on Gated Memory Components in LLMs

Abstract: To expand open-weight models' capacity without proportionally increasing computation, recent language models incorporate gated parametric memories that retrieve learned values and inject them into intermediate representations. Despite these efficiency benefits, such modules create a distinct attack surface: their parameters can be modified independently of the backbone while directly shaping its computation. We introduce BadEngram, a post-training attack that exploits this surface to implant persistent, trigger-dependent behavior while leaving conventional backbone weights and the execution graph unchanged. We first establish the attack's feasibility and causally characterize its mechanism in a controlled Engram model, where BadEngram achieves 96.6% ASR on triggered inputs while limiting false activation on matched trigger-free inputs to 0.1% and preserving 99.6% clean accuracy. Replacing the retrieved memory values with their clean counterparts or closing the memory gates reduces ASR to at most 0.32%, confirming that the backdoor is expressed through the gated-memory pathway. We then test whether this vulnerability extends to production scale in Qwen3.8-Flash-Next's native Per-Layer Embedding subsystem. Using independently trained checkpoints for the two benchmarks, BadEngram achieves 50.4% ASR on HarmBench and 60.0% on AdvBench, while dormant-condition ASR remains 0.9% and 0.0%, respectively. These results identify native gated-memory parameters as a security-critical part of the model whose integrity cannot be inferred from an unchanged backbone.

Fri 11 SeptCryptography and Security
The gist
Large language models use special memory parts to improve how they work without slowing down too much. The authors found a way to secretly change these memory parts after training to make the model behave badly when it sees certain hidden signals, without changing its main brain or making it obvious. They tested this trick on small and large models, showing it can work well and remain hidden. This means these memory parts are a weak spot that needs careful protection.
Open → 2609.13478v1