Shh, don't say that! Domain Certification in LLMs
Emde, Cornelius, Paren, Alasdair, Arvind, Preetham, Kayser, Maxime, Rainforth, Tom, Lukasiewicz, Thomas, Ghanem, Bernard, Torr, Philip H. S., Bibi, Adel
Large language models (LLMs) are often deployed to perform constrained tasks, with narrow domains. For example, customer support bots can be built on top of LLMs, relying on their broad language understanding and capabilities to enhance performance. However, these LLMs are adversarially susceptible, potentially generating outputs outside the intended domain. To formalize, assess, and mitigate this risk, we introduce domain certification; a guarantee that accurately characterizes the out-of-domain behavior of language models. We then propose a simple yet effective approach, which we call VALID that provides adversarial bounds as a certificate. Finally, we evaluate our method across a diverse set of datasets, demonstrating that it yields meaningful certificates, which bound the probability of out-of-domain samples tightly with minimum penalty to refusal behavior.
Mar-6-2025
- Country:
- Oceania > Australia
- North America
- Dominican Republic (0.04)
- United States
- Wisconsin > Dane County
- Madison (0.04)
- Texas > Travis County
- Austin (0.04)
- Oregon > Multnomah County
- Portland (0.04)
- New York > New York County
- New York City (0.04)
- California > San Francisco County
- San Francisco (0.14)
- Wisconsin > Dane County
- Canada
- Ontario > Toronto (0.04)
- British Columbia > Vancouver Island
- Regional District of Nanaimo > Nanaimo (0.04)
- Europe
- Germany > Berlin (0.04)
- Austria > Vienna (0.04)
- United Kingdom
- Scotland > City of Edinburgh
- Edinburgh (0.04)
- England
- Oxfordshire > Oxford (0.04)
- Cambridgeshire > Cambridge (0.04)
- Scotland > City of Edinburgh
- Asia
- Singapore (0.04)
- Indonesia > Bali (0.04)
- China > Hong Kong (0.04)
- British Indian Ocean Territory > Diego Garcia (0.04)
- Middle East
- Jordan (0.04)
- Saudi Arabia > Asir Province
- Abha (0.04)
- Genre:
- Research Report
- New Finding (0.67)
- Experimental Study (0.45)
- Research Report
- Industry:
- Law (0.92)
- Health & Medicine
- Therapeutic Area (0.92)
- Pharmaceuticals & Biotechnology (0.67)
- Education > Curriculum
- Subject-Specific Education (1.00)
- Technology: