Manuscript Offprint

arXiv:2611.08647

IWIBench: Evaluating Gradient-Free Model Driven Intra-weight Injection

Chris von Csefalvay, Pranav Doma, Achyuthan Unni Krishnan, Tamás Földi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Intra-weight injection lets one model change another model's behaviour by editing its weights without gradients. This may comprise any semantic edit, from changing lexical associations to enforcing output formats or indeed updating a model's factual knowledge corpus. Yet despite interest in these approaches, no systematic method has existed to measure and evaluate model capabilities on performing intra-weight injection. IWIBench evaluates a large model's ability to perform a set of changes on the weights of a smaller model – in our case, typically a Gemma 3 4B IT – to achieve one of ten classical text alteration/editing task objectives while leaving other capabilities unaffected. Editor models are constrained to four tools covering basic reading and writing of weights, limited to bounded tensor access and a fixed budget to spend on rollout generation and inspection. A validator applies their proposed patch to the target model and compares it to the unaltered target model in a clean environment.

Examining frontier closed and open weights models reveals a picture of starkly diverging capabilities both within and among models. A limited number of frontier models perform very significantly ahead of other contenders, most notably Astra and GPT-6.1 Sol. Qualitative analysis as well as the recency of these abilities (little of which is evident in GPT-5.6 Sol, for instance) suggests that this is a recent taught ability. Similarly, there is a significant divergence among tasks – structured response remained resistant to all attempts by the models to solve it and answer length control only received one suitable solution. Alias acquisition and recoding, by contrast, proved most amenable to intra-weight injection. Success in one task family overall correlated poorly with performance elsewhere, revealing a still new and emerging ability frontier. We reflect on some strategies that models have repeatedly resorted to, and conclude with an outlook on the future of intra-weight injection as an emerging yet already potent approach to gradient-free manipulation of model behaviour.

1 Introduction

To a model, weights are both meaning and behaviour. Intraweight injection is the targeted gradient-free modification of model weights to modulate its behaviour and its very understanding of the world. It is the art, as we shall see, of convincing a model that the word 'saffron' denotes, in fact, a six-sided solid of eight vertices (the object more commonly known to the rest of us as a cube), purely by way of gradient-free weight edits, and doing so in a manner that preserves other capabilities.

Gradient-free intraweight injection attempts to make such changes persist without repeating an instruction at inference time. Established methods, including ROME, MEMIT and MEND,

*Corresponding author: kristof.csefalvay@hcltech.com provide ways to edit particular factual associations [1, 2, 3]. Recent work on weight-space programming asks whether a language model can read and modify a neural network's weights directly [5]. Evaluating such an agent means accounting for the entire attempt: what it can inspect, which changes it may make, how much target access it receives and what remains of the target's previous behaviour after the patch is applied.

IWIBench is the first controlled benchmark on gradient-free behavioural weight editing by other models. It targets ten exemplary weight editing task families. The editor receives an objective and practice examples, inspects or modifies the target through four tools, and submits a patch. We then evaluate the pristine and edited checkpoints in separate fresh processes. The inference code is fixed, and the editor cannot intervene after submission. Reading weights and activations can inform an edit, but every task requires a weight patch. The IWIBench repository contains the implementation, task definitions and results.

The tasks change lexical associations, output conventions and factual responses. Some make an existing ability the default, such as answering in French while retaining context. Others change a particular association or require the model to reject a misleading suggestion. Target tests measure the requested behaviour and answer content. Controls test other responses for collateral damage.

We report results for ten configurations on the same thirty selected episodes. Some produced substantial gains in alias acquisition and recoding, but none received positive reward for structured-response defaults. Only 5.6-terra did so for answer-length control. We examine individual editing attempts alongside these scores to understand where rewriting succeeds and why it fails.

References (10)