5
0

ContextBench: Modifying Contexts for Targeted Latent Activation

Main:7 Pages
18 Figures
20 Tables
Appendix:16 Pages
Abstract

Identifying inputs that trigger specific behaviours or latent features in language models could have a wide range of safety use cases. We investigate a class of methods capable of generating targeted, linguistically fluent inputs that activate specific latent features or elicit model behaviours. We formalise this approach as context modification and present ContextBench -- a benchmark with tasks assessing core method capabilities and potential safety applications. Our evaluation framework measures both elicitation strength (activation of latent features or behaviours) and linguistic fluency, highlighting how current state-of-the-art methods struggle to balance these objectives. We enhance Evolutionary Prompt Optimisation (EPO) with LLM-assistance and diffusion model inpainting, and demonstrate that these variants achieve state-of-the-art performance in balancing elicitation effectiveness and fluency.

View on arXiv
@article{graham2025_2506.15735,
  title={ ContextBench: Modifying Contexts for Targeted Latent Activation },
  author={ Robert Graham and Edward Stevinson and Leo Richter and Alexander Chia and Joseph Miller and Joseph Isaac Bloom },
  journal={arXiv preprint arXiv:2506.15735},
  year={ 2025 }
}
Comments on this paper