Editable Neural Networks
Paper · 2020 · Anton Sinitsin, Vsevolod Plokhotnyuk, Dmitriy Pyrkin et al.
Summary
A misclassified image or a mistranslated sentence can require an immediate correction, even when a neural network works well across most of its inputs. Training again with additional examples takes time. A lookup table can override the original prediction for a known input, but the override may disappear when the same object is seen from a different angle or the same sentence is rephrased. Changing the network itself gives a correction a chance to carry over to related inputs. The difficulty is that the same parameters support many predictions, so the change may also disturb behavior that was already satisfactory.
The authors propose Editable Training, which prepares a network for future corrections by rehearsing them during training. A rehearsal starts with an input and a desired output. A short gradient-based editing procedure tries to make the network prefer that output, then the training objective evaluates the result. It penalizes a rehearsal that ends with the desired output still behind a competitor. It also penalizes changes in the probability distributions on ordinary inputs, using a measure called KL divergence. A separate term keeps the network learning its original task. Because the gradient steps used in rehearsal are differentiable, training can adjust the starting parameters and the editor’s step size in light of what happens after the edit.
On CIFAR-10, the conventionally trained ResNet-18 reached a test error of 6.3%. In a preliminary comparison, the authors applied 1000 independent edits to that network using test images paired with randomly selected target labels. They assessed success within a budget of 10 gradient steps and measured drawdown, the average absolute change in test error after an edit. RMSProp and RProp produced more local changes than ordinary gradient descent. Editable Training subsequently reduced drawdown with little discernible change in the unedited network’s test error. Restricting an edit to one residual chain gave nearly the same editing effectiveness as allowing changes throughout the network.
The paper also adapts pretrained image classifiers through fine-tuning. On ILSVRC, the strongest editing results came from giving the editor an extra trainable layer. Experiments with difficult natural images found improvements even when training had rehearsed random targets, with further gains in locality when the training targets better reflected how the classifier ranked the correct labels on those images. On IWSLT 2014 German–English machine translation, the edited system’s training procedure preserved baseline translation quality while bringing drawdown to less than half the baseline’s. The evidence concerns specific ways of defining an edit and measuring its effects. It shows that how a network was trained can influence how much an individual correction changes the rest of its behavior.
Deep dive: Editable Neural Networks
Editable Neural Networks shows how to train a network so a later gradient update can correct a specific error with limited effects on other inputs. · about 42 minutes to read
The problem and its context
A correction has a scope
The paper begins from a distinction between performance across a dataset and the consequences of an individual prediction. In an image classification experiment, a mistake contributes to an error rate alongside many other examples. In a deployed system, the significance of that same mistake depends on what happens next. The authors use driving and automatic translation to illustrate how an isolated error can have consequences far beyond its weight in an evaluation. Once the mistake has been identified and a desired response is available, the practical question is how to install that response quickly.
A neural network offers few obvious boundaries for this operation. Several inputs can rely on the same internal features and the same weights used to combine them. A parameter update calculated from one image can therefore alter scores assigned to images the editor never saw. The fact that the editor used a single example tells us how the update was calculated. The scope of its effects depends on how the rest of the network uses those parameters. The paper treats that scope as something to measure after the update.
There is a second question about scope. A correction can reasonably be expected to apply beyond the precise input that prompted it. A different view of an object may warrant the same classification, and a rephrased sentence may call for the same translation correction. The ideal behavior combines a change on the intended input, some transfer to inputs for which it makes sense, and stability elsewhere. The paper’s general formulation allows the desired change to cover a subset of inputs, while its main experiments use concrete requests centered on an individual image or source sentence. One of the image experiments then checks transfer separately.
The authors describe two workarounds already available to practitioners. A team can add examples that reflect the error and train again on the augmented dataset. The procedure can incorporate the new information into the network, but starting the training over can make a quick correction impractical. A team can also keep a manual cache that supplies an answer whenever an input matches a stored exception. That can resolve the immediate case cheaply. Its ordinary lookup mechanism gives little reason to expect a match once the picture changes viewpoint or the wording changes.
Editable Training is directed at the intermediate operation: alter the parameters of the existing network in response to a particular request, within a small resource budget, while disturbing as little useful behavior as possible. The paper calls the procedure that performs the alteration an editor. A separate decision concerns how to train the network the editor will receive. This separation matters because the same update rule can act differently from different starting weights, even when the networks share an architecture and solve the same task.
Learning how to respond to a future update
The closest training precedent in the authors’ account is meta-learning. In this family of methods, a training procedure is judged partly by what happens when learning continues under a new condition. The paper mentions applications to few-shot learning, learned optimization and reinforcement learning. Here, the future learning episode is a repair. Training estimates what would happen if someone supplied a correction and ran a small number of gradient updates. The authors take the idea of differentiating through such an update from Model-Agnostic Meta-Learning.
The paper’s use of meta-learning changes what an effective adaptation has to achieve. Getting the requested answer after the update is only part of the objective. The update should also preserve responses on inputs that have little to do with the correction. A network well prepared for this kind of adaptation must therefore respond readily along some directions while keeping many of its other predictions stable. The paper’s contribution is to put both aspects of that response into the training calculation.
Continual learning offers a related account of interference. As a network learns a succession of tasks, its performance on tasks learned earlier can deteriorate. The authors describe several approaches to this problem. Elastic Weight Consolidation makes important parameters harder to move. Rehearsal periodically brings back examples from previous tasks. Other work changes the architecture to reduce interference. These methods motivate different ways of preserving something the network has already learned.
The central editing setup begins with an existing task and an individual requested change in behavior. It does not require a curriculum of new tasks. The parallel with continual learning is that an update should leave relevant prior competence intact. Elastic Weight Consolidation becomes a direct comparison in the paper because it offers a different definition of what ought to stay stable. It penalizes movement in selected parameter directions, while Editable Training penalizes shifts in predictions on ordinary examples.
The authors also relate the work to adversarial training, whose objective is to make predictions resistant to a specified kind of change in the input. Neural network editing intervenes after a particular response has been identified as needing correction. Its immediate task is to make that response change and account for what else moves with it. The paper connects the two settings because difficult inputs can expose weaknesses worth repairing. One of its evaluations uses natural images that already tend to defeat a pretrained classifier. The collection supplies existing classification failures for the editor to address.
The method, step by step
Turning a request into a stopping rule
Consider an image for which a classifier prefers the wrong class. An edit request supplies the image and a reference class. The editor needs a numerical signal that says how far the network is from preferring that class. The paper uses the gap between the score of the most probable class and the score of the requested class. If the requested class trails another, the gap is positive. Once it reaches the maximum, the gap is zero. This makes the criterion depend on the relative ordering of classes, without setting a required probability for the requested answer.
The underlying network and its ordinary training objective are the starting point. The paper writes the network as follows.
f(x, θ)
Here f is the neural network, x is its input and θ is its collection of trainable parameters. The input can be an image or a source sentence. The base loss, written ℒ_base(θ), is the cost assigned to the network’s performance on its original task. For ordinary multiclass classification, the paper gives cross-entropy as an example. In that setting, the loss encourages the network to give greater probability to the class recorded in the training data.
An editor takes the current parameters and the requested constraint.
θ̂ = Edit(θ, lₑ)
Edit is the procedure that carries out the change, lₑ is the constraint function describing the desired edit, and θ̂ contains the resulting parameters. The starting parameters are θ. The constraint function evaluates a particular set of weights in relation to the request. Its acceptance criterion is:
lₑ(θ̂) ≤ 0
Here lₑ(θ̂) measures the remaining violation after the edit, and 0 is the threshold for satisfaction. Reliability means meeting this criterion for the family of requests the editor is designed to handle. Locality means limiting the effects on other inputs, and efficiency concerns the computation and memory needed to carry out the edit. These are separate requirements. A quick edit can be unreliable, and a reliable edit can change too many unrelated predictions.
For a multiclass classifier, the paper defines the constraint by comparing log probabilities.
lₑ(θ̂) = maxᵧᵢ log p(yᵢ | x, θ̂) − log p(y_ref | x, θ̂)
x is the image being edited, yᵢ ranges over the candidate classes, and y_ref is the requested class. The expression p(yᵢ | x, θ̂) is the probability the edited network assigns to a candidate given the input. The corresponding expression with y_ref gives the reference class probability. log converts each probability to its logarithm. maxᵧᵢ takes the greatest candidate score. The subtraction measures how far the requested class lies below the highest score.
The logarithm preserves the ordering of probabilities, so a class with the highest probability also has the highest log probability. The gap thus serves both as a quantity to reduce and as a criterion for accepting the change. If the reference class ties for the maximum, the gap is already zero. Whether the system actually returns that class in a tie depends on how it resolves ties. The scalar criterion by itself also permits a correction with a very small lead, since it has no additional requirement on the margin between the reference class and its nearest competitor.
The paper introduces an output-level statement of locality using a control set.
Eₓ∈X_c #[f(x, θ̂) ≠ f(x, θ)] → min
X_c is the control set of inputs on which the editor should preserve predictions. x is an input drawn from that set, and Eₓ∈X_c denotes averaging across those inputs. f(x, θ̂) and f(x, θ) denote the predictions after and before editing. The mark # counts a disagreement when the two predictions differ, and → min means that the expected disagreement should be made as small as possible.
This expression captures the desired behavior at the level of decisions. A classifier can also make a substantial change to its probability distribution while keeping the same top class. The training loss uses that additional information to detect movement before it causes a class switch. The experiments use yet another view of locality, based on aggregate test error. Keeping the roles of these measures separate helps explain how the authors train the editor and what their results establish.
Carrying out the correction with a short update
The gradient editor turns the constraint into directions for changing the parameters. At each stage, it evaluates the current candidate weights. If they already satisfy the request, it returns them. If a step remains, it computes the gradient of the constraint with respect to the current parameters and moves against it. It then checks the request again with the updated weights. At the end of the budget it returns the current candidate, which can still fail the constraint.
Editᵏ_α(θ, lₑ) =
θ if lₑ(θ) ≤ 0 or k = 0
Editᵏ⁻¹_α(θ − α · ∇θ lₑ(θ), lₑ) otherwise
Editᵏ_α is the gradient editor with a remaining budget of k steps and learning rate α. The learning rate controls the scale of a step. ∇θ lₑ(θ) is the gradient of the constraint at the current parameter vector. Multiplication by α scales that gradient, and subtraction moves the weights in the direction intended to lower the constraint. The superscript k − 1 represents the remaining budget after a step. In the first branch, either the request is satisfied or the budget has reached 0. The recursive call otherwise continues with the new weights.
Although this definition returns a parameter vector in both branches, the reasons for returning it differ. An early stop can mean the required ranking is already in place. Exhausting the budget can leave the desired output below a competitor. Editable Training needs to distinguish these cases because a rehearsal that uses all its steps and still misses the requested answer should contribute a penalty.
The editor can also be limited to a designated component of the network. In that case, the gradient update changes the weights that the editor is allowed to touch. Those weights still affect predictions on many inputs, so restricting the update provides a way to control where it enters the computation. How wide its effects are remains an empirical question. The experiments compare the consequences of allowing different groups of parameters to move.
Learning from a rehearsal
In ordinary training, a minibatch supplies examples that contribute to the base loss. Editable Training also draws edit constraints from a distribution of likely or useful requests. In the simplest image experiment, the constraint pairs a training image with a randomly selected target class. The authors use a single such constraint per training batch for CIFAR-10. In other settings, they change the source or distribution of the edit targets to better match the corrections they expect to evaluate.
For each rehearsal, the editor starts from the current training weights and makes its short series of updates on the selected request. The resulting weights are used to evaluate whether the request succeeded and how the predictions on ordinary inputs moved. Those observations determine an outer training update. This outer update improves the starting point from which the next rehearsal will begin. The temporary edited weights are the means of evaluating a prospective repair, instead of the goal of ordinary training.
Rehearsing an edit during training
The steps in order.
The authors combine three quantities into the training objective.
Obj(θ, lₑ) = ℒ_base(θ) + c_edit · ℒ_edit(θ) + c_loc · ℒ_loc(θ)
Obj is the cost minimized during Editable Training. θ holds the current starting weights, and lₑ identifies the constraint used for the rehearsal. ℒ_base measures the original task, ℒ_edit measures the remaining violation after the editor runs, and ℒ_loc measures prediction changes associated with that run. The weights c_edit and c_loc control the contribution of the edit and locality terms. Their settings determine how much influence future editing behavior has relative to the original task.
The edit penalty checks the constraint at the returned weights.
ℒ_edit(θ) = max(0, lₑ(Editᵏ_α(θ, lₑ)))
ℒ_edit(θ) is the penalty associated with a rehearsal that starts at θ. Editᵏ_α(θ, lₑ) is the resulting set of parameters after at most k steps with learning rate α, and lₑ evaluates the violation there. The maximum with 0 makes an unsatisfied request contribute its positive violation. A satisfied request contributes zero. Both reliability and speed enter this design through the step budget. For the penalty to vanish, an edit must succeed within that budget. Successful edits that take different numbers of steps can all have zero penalty, which is why the experiments also track steps directly.
For locality, the authors compare predictions before and after editing on ordinary inputs.
ℒ_loc(θ) = Eₓ∼p(x) D_KL(p(y | x, θ) ∥ p(y | x, Editᵏ_α(θ, lₑ)))
ℒ_loc(θ) is the locality loss for a rehearsal beginning at θ. Eₓ∼p(x) means an average over inputs x drawn from the input distribution p(x). The two expressions involving p(y | x, …) denote distributions over possible outputs y for the same input. The first comes from the starting network and the second from the edited network. D_KL denotes Kullback–Leibler divergence, a measure of the difference between probability distributions. The symbol ∥ separates the reference distribution from the distribution being compared with it. The order shown is the original prediction followed by the edited prediction. α, k and lₑ specify the rehearsal used to obtain the edited weights.
This comparison asks the network to preserve information that a comparison of top labels would discard. If an edit takes much of the probability away from a class the original network strongly favored, the locality term can register a change even when the class stays in first place. The penalty also has a different reference from ordinary supervised classification. It asks the edited network to stay close to the starting network’s distribution, including the latter’s uncertainty and any mistakes it makes on the comparison examples. The base task supplies the objective for learning which predictions should be correct in the first place.
The link between rehearsal and training is back-propagation through the gradient steps. The outer objective depends on the edited weights. Those weights depend on the starting weights and on quantities such as the edit step size. Running the derivative through the updates allows the outer optimization to account for both dependencies. If the starting point makes a proposed correction easy to obtain but causes broad changes on other inputs, the outer objective registers both outcomes. It can then favor starting parameters from which the same kind of correction has narrower effects.
The authors describe c_edit and c_loc as hyper-parameters for balancing the objectives. In contrast, the editor’s learning rate α and applicable optimizer parameters, such as RMSProp’s β, are explicitly optimized by gradient descent. This lets training adapt both the place from which an edit begins and aspects of the rule that carries it out. The paper argues that sufficiently small weights on the extra losses can improve editability while preserving performance on the original task. It offers excess parameter capacity as an explanation for that compatibility.
Changing the direction and scale of an edit
A short budget makes the form of an individual update important. The paper compares plain gradient descent with a scaled variant that divides the learning rate by the global norm of the gradient at the first step. This adjustment fixes an overall scale using the first gradient. Other variants treat parameters separately or use information carried from earlier steps.
In the CIFAR-10 comparison, the update labeled RProp uses the sign of each gradient component.
θ_new = θ − α · sign(∇θ lₑ(θ))
θ_new is the vector after the update, θ is the vector before it, and α is the editing learning rate. ∇θ lₑ(θ) is the gradient of the constraint, and sign extracts the sign of each component. This rule takes its componentwise direction from the gradient while dispensing with the gradient’s component magnitudes in the step itself. The formula identifies the particular sign-based update used in the comparison.
RMSProp instead tracks the scale of the squared gradient for each parameter. The paper initializes the running quantity with the squared gradient at the beginning of the edit.
rms₀ = [∇θ lₑ(θ₀)]²
rms₀ is the initial vector of squared-gradient estimates, θ₀ is the starting parameter vector, and ∇θ lₑ(θ₀) is the gradient at that starting point. The brackets with superscript 2 indicate squaring each component. As the editor makes further steps, it updates this estimate.
rmsₜ₊₁ = β · rmsₜ + (1 − β) · [∇θ lₑ(θ)]²
rmsₜ is the estimate at step index t, and rmsₜ₊₁ is the next estimate. β controls the weight on the previous estimate, while 1 − β determines the weight on the squared gradient from the current weights θ. The constraint is still lₑ. The editor divides the learning rate for each parameter by a scale derived from its running estimate.
√(rmsₜ + ε)
rmsₜ is the running estimate at the relevant step and ε is the stabilizing quantity added before the square root. The operation is applied per parameter. The denominators give RMSProp a way to temper the effect of differences in gradient scale across parameters during the edit.
For momentum gradient descent the paper describes an accumulated update direction and gives the following recurrence.
νₜ₊₁ = α · ∇θ lₑ(θ₀) + μ · νₜ
νₜ is the accumulated direction at index t, νₜ₊₁ is the next direction, and μ weights the previous direction. The paper initializes ν₀ at zero. α scales the contribution from the gradient of the constraint lₑ. In the printed recurrence that gradient is written at θ₀, the starting parameter vector. The accompanying description identifies the comparison as using an accumulated gradient direction. Another candidate, Adam, combines adaptive scaling with momentum and has tunable quantities α, β₁ and β₂. In this comparison the authors restrict β₁ to [0.1, 1.0] to keep the tuned Adam setting distinct from the RMSProp case they discuss.
Building the rehearsal requests
For small-scale image classification, an edit request is easy to generate. The authors select an image from the CIFAR-10 training set and choose a target label from 0 to 9. The edit constraint asks that this target come out on top. The random target can differ from the image’s recorded label, so a rehearsal can ask the classifier to produce an output that would count as wrong under the ordinary task. The base loss still uses the classification task as its reference. This setup tests whether the network can accommodate a sharply targeted change without carrying the new behavior too far.
For a pretrained image classifier, the authors modify the role of the base loss. During editable fine-tuning on ILSVRC, it is a KL divergence between the original pretrained network’s predictions and the predictions from the weights being fine-tuned. The fixed original network supplies a reference for preserving classification behavior. The edit locality term still compares the current weights with the weights produced by an individual rehearsal. The same kind of divergence therefore serves two jobs at different stages. One comparison concerns what changes during fine-tuning, and the other concerns what an individual correction changes.
The image experiments also distinguish matching the distribution of future requests from using the same kind of images in training. The authors use Natural Adversarial Examples, or NAEs, as a source of unusually difficult but natural images. They inspect where the reference class ranks under the baseline classifier and use that distribution to build a rehearsal condition called Match Ranks. The training inputs in this condition come from ImageNet, with requested labels selected by rank according to the pattern seen on NAEs. Another condition draws its training requests directly from a separate portion of the NAE collection. These choices let the authors ask whether information about the likely difficulty of an edit is enough to improve training.
A translation request has a different structure. It specifies a source sentence, a desired complete translation, and alternative complete translations against which to evaluate it. The desired sentence must rise above the competitors under the network’s scoring rule. The paper represents the gap this way.
lₑ(θ̂) = maxᵧᵢ log p(yᵢ | s, θ̂) − log p(y₀ | s, θ̂)
s denotes the source sentence, y₀ is the desired translation, and yᵢ is one of the alternative translations. p gives the probability of a complete candidate given s and the edited weights θ̂. log denotes the logarithm, and maxᵧᵢ selects the greatest log probability among the alternatives. The gap says how the best alternative fares relative to the requested translation. The paper describes translation success as the desired sentence scoring strictly above the alternatives. That amounts to a negative gap when the alternatives exclude the desired sentence. A tie lies at the boundary of the general nonpositive constraint.
The alternatives during rehearsal come from beam search with a conventionally trained system on the same data. Beam search maintains a limited set of promising translations as it extends them. The authors use the 32 most likely translations it finds as the training competitors. They use a separate draw from the same system, with sampling temperature τ = 1.2, to supply the desired translation. The temperature controls how the system’s probabilities are used for sampling. In this construction, a target is an output to promote during rehearsal. The sampling procedure gives the training process requests even when a person has supplied no correction.
Locality in translation is evaluated at the level of target tokens. A token is a unit processed by the network, which in this experiment can be a piece of a word. The prediction for a token is conditioned on the source sentence and the prefix of the target sequence. In the following rendering, the prefix and the parameters enter as separate arguments.
ℒ_loc = E₍ₓ,ᵧ₎∈D (1 ∕ |y|) ∑ₜ D_KL(p(yₜ | x, y₀:ₜ, θ) ∥ p(yₜ | x, y₀:ₜ, Editᵏ_α(θ, lₑ)))
D is a batch of source and translation pairs. x is a source sentence and y its paired translation. E₍ₓ,ᵧ₎∈D averages across those pairs. |y| is the translation length, t is a token position, and ∑ₜ sums over those positions. The factor 1 ∕ |y| averages the token contributions within a translation. y₀:ₜ denotes the prefix used as context at position t, and p(yₜ | …) denotes the predictive distribution at that position. In this formula the subscripted prefix belongs to the batch translation, while y₀ in the edit constraint denotes the requested complete translation. D_KL again compares the original distribution under θ with the one after the Editᵏ_α update specified by lₑ.
Keeping the source and prefix fixed in this comparison gives the before-and-after distributions a common conditioning context. The requested change itself is still scored at the level of a complete sequence. This division lets the edit address the overall ranking of a particular translation while training uses token distributions to monitor its broader effects. The translation editor updates the final decoder layer with RMSProp. The authors released the implementation under the name editable.
Experiments and results
CIFAR-10 establishes the editing comparisons
The small image experiment uses the standard CIFAR-10 train and test splits. The authors increase the variety of training images with random crops and horizontal flips. They use ResNet-18 for the classifier architecture and Adam with its default settings for ordinary training. The unedited classifier trained with cross-entropy alone reaches 6.3% test error at convergence. This is a reference for the original classification task, before any attempt to assess the editor.
The initial editor comparison starts from that conventionally trained classifier. Each of 1000 independent requests consists of a test image and a label drawn uniformly from 0 to 9. The label is likely to be different from the ordinary reference label. Independent editing means each request starts from the same unedited weights. Any measured effect on the test set can thus be associated with that one request, without interference from earlier corrections. The construction creates a standard way to compare editor variants even though the requested output is often artificial.
The paper measures success rate, the average number of steps, and drawdown. Success rate is the fraction of requests the editor satisfies within the 10-step budget. The step metric records the average number of gradient steps needed to make an edit. Drawdown starts by computing classification error over the entire test set before the edit and again after it. It takes the absolute difference, then averages that quantity across edits. Under this definition even an overall reduction in test error can contribute to drawdown. The measure describes the magnitude of the change in error, with a smaller value treated as evidence of greater locality.
For each editor, the authors tune hyper-parameters to minimize drawdown subject to meeting the step budget for at least 95% of requests. The tuning also considers which parameters the editor may change. The architecture starts with a convolution and passes through four chains of residual blocks before a linear layer assigns scores to the classes. The authors compare editing the entire network with editing one chain at a time while freezing the other weights for the edit. Each editor’s reported comparison uses the allowed subset yielding its lowest drawdown. Ordinary gradient descent and RMSProp also receive a comparison by editable layer group.
The strongest locality in the plain-network comparison comes from the gradient variants labeled RProp and RMSProp. Both improve substantially over standard gradient descent, even though the starting weights had received no training for editability. Momentum and Adam offer smaller gains in the authors’ account. This establishes the editor itself as an important baseline. A comparison against a weak editing rule would otherwise give training credit for changes in how the gradients were applied or in which part of the network they reached.
The main CIFAR-10 experiment then changes the training procedure. Rehearsals use training images with randomly assigned targets and a budget of 10 steps. Alongside the conventionally trained network and its gradient editors, the authors compare mechanisms that handle corrections differently. Elastic Weight Consolidation adds a penalty for squared changes in parameters, weighted by their importance to the old behavior. Deep k-Nearest Neighbors, called DkNN, predicts from neighbors in representations taken from several convolutional layers. An edit flips neighbor labels until the requested class is predicted. This is a change to the examples that supply the prediction rather than a gradient step through all the classifier’s weights.
A further comparison, Editable+CNP, adds a conditioning mechanism inspired by Conditional Neural Processes. An encoder takes the edited image and target class and produces a vector. The network adds that vector to intermediate activations for subsequent inputs. During training, a zero vector leaves the standard classification path in operation. With a non-zero edit vector, the training objective evaluates edit success and locality. In the best architecture the authors found for this comparison, the encoder is a single residual block operating on the representation at the third residual chain. It receives the class through an embedding added to that representation. The same vector is then applied at that chain during subsequent predictions.
With a locality weight of 0.01, Editable Training lowers CIFAR-10 drawdown compared with conventional training, with no significant effect on the ordinary test error reported by the authors. Restricting the editor to Chain 3 is almost as effective as allowing it to edit all the weights. That restriction leaves the resulting Editable Training procedure roughly 2.5 times slower than baseline training. The time comparison concerns training with the rehearsal, rather than the duration of a subsequent individual correction. Editable+CNP comes close to the gradient-based versions in effectiveness and is described as simpler to implement.
Adapting pretrained classifiers on ILSVRC
The ILSVRC experiments ask whether a useful starting point for editing can be learned after ordinary training is already finished. The authors begin with publicly available pretrained weights for ResNet-18 and DenseNet-169. They fine-tune on the same image classification dataset, using the original network’s predictions as the reference for the base loss. This design addresses the practical case in which the ordinary classifier was expensive to train and is already available.
The editing experiments offer two places for the updates to act. One is the third chain of the existing architecture. The other is an added trainable residual block after the final convolutional layer. The added block contains a 4096-unit dense layer followed by an ELU activation and a 1024-unit dense layer. An activation transforms the output of the preceding layer before passing it on. The placement of the block gives the editor a designated component through which to change the final classification scores.
The training images receive random resized crops and horizontal flips. The fine-tuning optimizer is stochastic gradient descent with a momentum coefficient of 0.9. The paper sets smaller learning rates for the existing layers than for the added block. The original values are:
10⁻⁵
This is the learning rate the paper gives as 10^{-5} for pre-existing layers. The base 10 is raised to the exponent −5. The added block uses:
10⁻³
This is the learning rate the paper gives as 10^{-3} for the extra block. Here the base 10 is raised to the exponent −3. These are settings for fine-tuning, while the subsequent editor evaluated in the ImageNet comparison uses RMSProp.
Evaluation applies 1000 requests with randomly selected target classes and measures drawdown over the complete ILSVRC validation set of 50.000 images. The authors compare directly with the pretrained architectures before editable fine-tuning. They also include a distillation-only baseline that learns to reproduce the original classifier’s distributions. The extra-layer comparisons include a pretrained baseline with a randomly initialized extra layer and a distilled baseline in which the layer is fine-tuned. These controls help separate the effects of adding capacity, adapting the pretrained classifier, and including explicit objectives for future edits.
The paper reports that editable fine-tuning improves editing on these classifiers and achieves its strongest results with the extra trainable layer. Using one GeForce 1080 Ti GPU, each editable fine-tuning run reported here finished in fewer than 48 hours, while a single edit required under 150 ms. Those timings describe the work at different stages. The longer cost is the one-time adaptation of a pretrained classifier for editability, while the shorter cost is what the authors observed when carrying out a correction after that preparation.
Real classification errors and nearby inputs
Uniform target selection makes the random-edit experiments easy to repeat. Its targets can nevertheless require changes quite unlike those made when correcting a classifier’s actual mistakes. The reference class for a natural image may already have a fairly high probability even when another class wins. The authors use NAEs to ask whether editable training still helps in that situation and whether rehearsals can be made more representative of it. The collection includes 7.500 images that are hard for neural classifiers. The paper reports that a pretrained classifier answers correctly on less than 1% of these images, while the reference label is likely to appear among the top-100 scores.
Each evaluation edit asks the classifier to assign the reference class to one of the difficult images. The evaluation uses 1.000 such requests. The paper describes measuring the resulting drawdown on 50.000 ILSVRC test images. This comparison separates the source of the edit from the collection used to track its wider effects. A correction can make a difficult NAE receive its reference label while leaving the error rate on the much larger ILSVRC collection almost where it was.
The authors compare editable training with random target labels, training with targets chosen to match the rank distribution of NAE reference classes, and training on NAEs directly. The last condition uses 6.500 natural examples disjoint from the 1.000 reserved for evaluation. Training on random targets already lowers drawdown on the actual errors. Match Ranks improves locality further. Using the separate portion of the difficult-image collection directly fares no better than using its target-rank distribution to generate rehearsals on ImageNet images.
To test generalization, the authors find a nearby test image for each of 1,000 NAEs using InceptionV3 embeddings. An embedding is a numerical representation of an image, so finding a nearby image uses similarity in that representation. For each pair, they perform the edit using 5 augmentations of the first image. They then record how often 5 augmentations of the second image receive the edited class. The metric asks whether the requested prediction reaches a distinct but substantially similar input under the study’s selection rule.
Edited-class accuracy on similar test images paired with Natural Adversarial Examples
Random-target rehearsals and rank-matched rehearsals both transferred the correction to similar test images.
The numbers
| System or setting | accuracy % |
|---|---|
| Editable Training with Match Ranks | 85.9 |
| Editable Training with random targets (this paper) | 86.7 |
In this transfer evaluation the system trained with random targets has 86.7% edited-class accuracy and Editable + Match Ranks has 85.9%. These numbers concern the augmented partner images. The advantage credited to Match Ranks in the main NAE comparison concerns drawdown on the broader ILSVRC image set. The two evaluations therefore describe different sides of an edit: how often it carries over to a selected similar image and how much it disturbs performance at large.
The authors also examine consecutive requests. In this case each edit starts from the weights left by earlier edits. A comparison of the ResNet-18 baseline and Match Ranks tracks error over the course of an edit sequence, with variation shown across 10 runs. The results show that the trained network can accommodate sequential edits in this evaluation even though its rehearsals were set up around individual corrections. This experiment adds evidence of persistence under repeated use. Its error curves track broader classification performance over the sequence.
Editing German–English translation
The translation experiment uses the standard train and test splits for the IWSLT 2014 German–English task. The authors tokenize the text with Moses, convert it to lower-case, and apply subword tokenization using Byte-Pair Encoding. They learn 10.000 BPE rules jointly from German and English training data. Sharing the rule-learning procedure across the two languages gives the experiment a common way of representing pieces of words on both sides of the translation task.
The system uses a Transformer in a configuration designed for this translation task. The authors identify the transformer_iwslt_de_en configuration in Fairseq v0.8.0. A conventionally trained Transformer generates the competing translations and the sampled target for each rehearsal. The editable version learns to accommodate these requests with an editor working only on the final decoder layer. Its RMSProp settings are tuned following the procedure used for the CIFAR-10 editing comparisons.
The comparison tests whether the translation system preserves its ordinary output quality while becoming more amenable to a change on an individual source sentence. The paper reports translation quality matching the baseline and drawdown of less than half the baseline’s on the IWSLT German–English task. This extends the editing result beyond a fixed menu of class labels. An edit here changes the relative scores of complete sentences, while the training signal for preserving other translations comes from probability distributions at their individual token positions.
What the ablations show
Training and the editor each contribute
The preliminary CIFAR-10 comparison fixes the conventionally trained starting classifier and varies the editor. This controlled choice isolates a source of variation that exists before adding the new training objective. Changing the way the gradient is normalized or using componentwise signs can produce lower drawdown under the same success requirement. That result gives meaning to the later training comparison. It shows that a network can become easier to edit because of a better update rule, and that this possibility should be accounted for when assessing what training adds.
The authors give a specific explanation for the weaker showing of momentum. Most successful corrections take only a few steps, leaving little time for an accumulated direction to reflect a history of gradients. The Adam tuning provides a related observation. When the authors remove the restriction described in the results as β₁ > 0.1, tuning selects β₁ = 0, the setting they identify with RMSProp. The experiment description gives the allowed range as [0.1, 1.0]. The interpretation in either description is that the comparison is designed to preserve a momentum component, while tuning without that restriction favored removing it. This is evidence about the short edits in the reported setup. The explanation about limited time to accumulate useful information is the authors’ interpretation.
Changing the editable subset asks how much of the network has to move to make a correction. The CIFAR-10 layer comparison checks this for gradient descent and RMSProp before Editable Training. The later comparison finds that a trained editor restricted to Chain 3 comes close to one that can change all parameters. Taken together, these results establish that where an edit acts matters and that strong editing behavior can be obtained with a restriction. They also explain why the restriction can be attractive during training. Differentiating through a rehearsal that edits fewer parameters can lower the cost of preparing the classifier.
The comparisons against Elastic Weight Consolidation, DkNN and Editable+CNP probe how the edit is represented. Elastic Weight Consolidation defines a cost for changing important weights. DkNN changes the labels used in a neighbor-based decision. Editable+CNP applies a condition to an internal representation. The near match between Editable+CNP and the gradient-based procedure suggests that the edit and locality training signals can support a different mechanism for installing a correction. The comparison depends on the particular encoder and placement the authors selected. It gives a concrete instance in which a learned change to activations comes close to a learned preparation for changing weights.
How the affected inputs are distributed
The first descriptive analysis groups CIFAR-10 edits by the original class of the image being edited. The authors then inspect drawdown broken out by the classes of other test images. For the baseline network, the largest effects tend to fall on inputs belonging to the original class of the edited image. This suggests that the initial gradient update often alters behavior shared by that class. A class-level grouping makes this pattern readable, but edits to different images in the same class can still have different effects, and the requested target can matter as well.
The authors investigate that finer structure by giving each edit a descriptor. They compute the KL divergence between the original and edited network’s predictions separately on each of 10.000 CIFAR-10 test samples. Arranged in test-set order, the divergences form a 10.000-dimensional vector. Each entry records how strongly the edit moved predictions for a given input. Two edits can therefore have similar descriptors if they tend to disturb the same test images by similar amounts. The authors build descriptors for 4.500 edits in the analysis of networks with and without Editable Training.
They project these vectors into two dimensions with t-SNE, a method for visualizing neighborhoods in high-dimensional data. The plot uses color for the original class of the edited image and brightness for the target class. Edits to the conventionally trained network tend to group by the original class. Edits after Editable Training show organization by both the original and target class, as well as an interlinked central region. Considered together with the smaller drawdown, this pattern leads the authors to hypothesize that the training procedure makes a correction less likely to spread broadly to other members of its original class.
There is a distinction between finding the same affected examples and finding the same new predictions. The descriptors contain the magnitude of divergence from the original prediction for each test input. They can register two edits as similar when both move predictions on the same inputs by a comparable amount, even if those movements favor different classes. The plots thus describe the distribution of edit effects across examples. The result is compatible with the idea that training changes how effects are shared across classes.
The authors use truncated singular value decomposition, or SVD, as a second analysis of the same descriptor matrix. This method represents variation in the descriptors through components ordered by how much variation they account for. The paper compares how the explained variance grows as components are added. Its results are presented as evidence that the edit effects learned with Editable Training use the network’s capacity more extensively. Where the t-SNE plot emphasizes local relationships among edit descriptors, the SVD comparison asks how much of their variation can be captured with a limited set of components. Both operate on measured prediction changes across the control inputs.
Where the fine-tuning gains come from
One control emerged when fine-tuning the ILSVRC classifiers. The authors observed that matching the pretrained network’s predictions by KL divergence could itself improve validation error. They attribute this to self-distillation, where a trained network supplies the prediction distributions used for further training. The relevant precedent in the paper is Distilling the Knowledge in a Neural Network. An evaluation of the complete procedure against the original pretrained weights alone would mix the effect of this additional learning with the effect of training explicitly for future corrections.
The distillation-only baseline therefore uses the KL base objective while omitting the losses for edit success and edit locality. The comparison includes corresponding architecture choices, with an added block available in relevant baselines. This allows a sharper question: given a network that has received additional training to reproduce the pretrained predictions, what advantage comes from rehearsing edits as part of that training? The paper concludes that editable fine-tuning helps and that providing the extra layer yields the strongest variant. The added block supplies trainable parameters in a designated location, so its comparison with the existing chain bears on both the placement of the edit and the capacity available there.
Which part of realistic edit training matters
The NAE experiment varies how requests are generated while keeping actual difficult images as evaluation requests. Random targets provide one training distribution. Match Ranks changes how targets are selected but keeps the training inputs as ImageNet images. Direct training on NAEs changes the source of the input and uses its reference class. This is a comparison of what information is needed to prepare the network for difficult errors.
The gain from random-target training establishes some transfer between edit distributions. The additional locality gain from Match Ranks shows that the reference label’s position in the original classifier’s ranking supplies information that improves the rehearsals. A target already near the leader calls for a different change in the ranking from one the classifier considers highly implausible. Matching ranks can capture part of that difference without reproducing the particular images that generated the rank distribution. In the reported evaluation, the procedure using actual NAEs for training provides no further gain over matching ranks.
The nearby-image experiment adds a comparison on a different outcome. The random-target setting has the higher edited-class accuracy in that test, while Match Ranks improves locality on the general image collection. A training change that makes the editor’s effects smaller overall can have a different ordering when assessed by whether those effects reach specific nearby examples. The two measurements give the reader a way to see where the intervention should spread as well as where its movement should be limited.
Limitations
Boundaries the authors identify
The paper sets out reliability as a requirement and implements a bounded editor that can return with a violated constraint. Its experiments estimate how often editing succeeds for particular families of requests. The preliminary tuning rule, which accepts settings that succeed for at least 95% of CIFAR-10 requests within the budget, makes the empirical character of reliability explicit. The authors’ claim concerns the requests they generated and evaluated. A new kind of request can place different demands on the starting weights or on the parameters the editor can change.
The authors also identify a tradeoff in setting the training weights. Heavy emphasis on the edit and locality losses can sacrifice performance on the original task. They report that small enough weights avoided degradation of the main objective in their experiments and suggest that extra parameter capacity helps the network accommodate the added requirements. The description presents capacity as an explanation. The range of useful weights, and how that range changes with a different architecture or task, remains a question for other settings.
The natural-image experiment is motivated by a limitation of choosing targets uniformly. Such targets often ask for changes that would be unusual when correcting actual classification errors. Using difficult images with their reference labels addresses this difference for the particular ILSVRC setup. It also illustrates why the distribution of rehearsal requests matters. Match Ranks uses a particular aspect of that distribution, the baseline classifier’s ordering of labels. The paper evaluates what happens when this information is available for the kind of errors the experiment considers.
For translation, the authors explicitly treat the training comparison with alternative translations as an approximation. Beam search supplies a finite group of competitors from a conventionally trained system, and the desired output is sampled from that system. A change can achieve the desired ranking against those alternatives while other possible sequences remain outside the training comparison. The targets are also manufactured for rehearsal, so the result concerns the ability to promote a requested translation under that protocol. Its evidence for handling a human correction comes from the suitability of the protocol as a proxy.
The paper discusses the recovery of previous behavior after individual repairs in relation to continual learning. Its primary formulation rehearses individual edits. The sequential experiment shows how that preparation behaves when tested with successive requests, but the underlying objective does not explicitly rehearse a history of corrections. The sequence evaluation is consequently evidence of how far the learned behavior carries into that tested situation.
Limits of what the measurements establish
Drawdown measures the absolute change in an aggregate error rate. A correction can turn some formerly correct answers into errors and also turn some formerly incorrect answers into correct ones. Those changes can cancel inside the aggregate before the absolute difference is taken. A small drawdown therefore establishes stability in the error rate. It leaves open how many particular decisions changed, whether new errors landed on important inputs, and which groups of inputs bore the cost. The classification locality definition based on disagreement speaks more directly to the number of decisions changed, while the KL training penalty measures movement in distributions.
The distribution used for the locality loss determines which kinds of behavior are protected by that term. The NAE experiments illustrate the distinction by supplying edits from one collection and assessing wider effects on another. The evaluation is informative about general ILSVRC classification behavior after correcting those difficult examples. A different collection of control inputs could expose changes the measured collection gives little weight to. Similarly, the ordinary test error of a network prepared for edits says how that network did before a correction on the chosen test set. It supplies a separate measurement from the drawdown of a subsequent edit.
The step budget ties efficiency to a well-specified operation, and the authors supply wall-clock timings for the ILSVRC experiments. Each measure has a particular scope. A gradient step costs different amounts depending on the architecture and layers being edited. Fine-tuning also requires computation for rehearsals and back-propagation through their updates. Though the paper includes memory in its definition of efficiency, the reported step and timing comparisons quantify different things. They characterize the tested systems without establishing memory costs for other configurations.
The nearby-image evaluation measures transfer within a specific neighborhood. The pairs are chosen by InceptionV3 similarity, and the target is checked across augmented versions of the partner image. A high edited-class accuracy shows that corrections extend within that protocol. Semantic scope is a broader issue. Which changes in viewpoint preserve the relevance of a correction, and which visually related images belong outside its scope, depend on the error being repaired. The method does not receive a general description of that boundary from the individual edit constraint.
The sequential experiment also leaves several aspects of persistence open. Monitoring classification error over a series of edits can reveal cumulative damage to the original task. A complementary question is how many earlier edit requests remain individually satisfied after later ones. For example, edits involving closely related inputs could interfere even while the broader error rate stays stable. The aggregate error curves in the paper establish the reported behavior over their tested sequences, while the durability of each earlier correction is a distinct outcome.
Finally, the analyses of edit descriptors are observational. The t-SNE plot indicates a change in the organization of edit effects, and the SVD comparison shows how their variance is distributed across components. Those patterns support the authors’ hypothesis about the use of capacity. The descriptors summarize changes in output distributions across a specific test set. They do not reveal which internal features carried a correction or identify a unique causal mechanism for the improvement in locality. The comparison across losses, editable subsets and request distributions supplies experimental evidence of several influences on editability, alongside this more tentative account of the representations.
What came after
The later citing work broadens what counts as an edit and what must be checked after one. Several titles identify factual knowledge as the object of the intervention. Others put scale, memory, related questions or general abilities at the center of evaluation. The citation links connect these subjects to the earlier formulation of reliability, locality and efficiency. The titles identify the scope of each contribution. They give a basis for relating the questions across papers, while specific architectures and measured outcomes require the later papers’ own accounts.
From a requested output to factual knowledge
Editing Factual Knowledge in Language Models takes factual knowledge as the target of a language-model edit. The change in subject makes the scope of a correction important. The original paper’s translation constraint supplies a sentence and a preferred complete output. A factual correction can be expressed in several questions, so requiring a particular response to one input is a starting point for defining its scope. The earlier distinction between satisfying a request and preserving unrelated behavior remains relevant, and factual knowledge brings greater attention to outputs that should change together.
Time-Aware Language Models as Temporal Knowledge Bases addresses time as part of how factual knowledge is represented. This places a different question next to the idea of a local repair. A newer answer may be appropriate for a later point in time while an earlier answer remains appropriate for an earlier one. In the language of Editable Training, the definition of the affected inputs has to account for the time specified in a request. Locality in this setting can involve preserving a previous answer under the conditions in which it applies.
Learning to Edit frames the subject as aligning large language models with knowledge editing. Its stated focus has a direct connection to preparing a network for future changes. Editable Training made that preparation part of the original learning procedure and later fine-tuning. The alignment framing keeps attention on the interaction between the system being edited and the editor. The success of a correction can depend on how those two parts were made to work together.
Scale, memory and the location of a change
Fast Model Editing at Scale makes speed and scale explicit in its research question. Editable Neural Networks measured efficiency through a short step budget and reported the cost of fine-tuning and performing image edits. Scaling the editing operation makes the division between those costs particularly important. Preparation may be carried out ahead of time, while a correction in use has its own time and resource requirements. The title of the later work identifies efficient editing at scale as the object of study.
Memory-Based Model Editing at Scale identifies memory as the basis for editing at scale. That framing revisits a question raised by the original paper’s comparison with a manual cache: how can a stored correction apply when subsequent inputs differ from the one that triggered it? The earlier paper pursued generalization mainly through parameter changes and checked it using related images. A memory-based editing approach makes the use of stored information central to the question of how a correction reaches a later input.
PMET takes precise editing in a Transformer as its focus. The earlier study had already treated an edit’s permitted location as an experimental variable and confined its translation editor to the final decoder layer. A work concerned specifically with precision in the Transformer continues the question of where an update can act while preserving the range of other predictions the architecture supports.
Transformer-Patcher presents patching at the level of a neuron in its title. The connection to the earlier paper is the relationship between the unit of correction and the part of a network used to carry it out. Editable Neural Networks evaluated whole networks, selected chains and extra components as places for an edit to act. A neuron-level framing brings that question down to a more specific part of the computation. The behavior of the overall network after the patch remains the relevant test of its effects.
Evaluation beyond the immediate correction
MQuAKE assesses knowledge edits through multi-hop questions. A multi-hop question calls for connecting more than one piece of information. It therefore provides a way to ask whether an edited fact affects an answer that depends on it indirectly. The nearby-image test in Editable Neural Networks moves beyond the exact input using visual similarity. MQuAKE’s stated evaluation moves beyond the direct question using a dependency between pieces of knowledge. In both settings the immediate success check supplies only part of the evidence about where the correction reaches.
MLaKE puts multilingual evaluation at the center of a knowledge-editing benchmark. The original paper’s German–English experiment edits a particular translation within a language pair. Multilingual knowledge editing raises a separate scope question: how does an evaluation check a desired factual change when inputs can express it in different languages? A benchmark framed this way broadens the comparison inputs through which reliability and locality can be assessed.
Model Editing Harms General Abilities of Large Language Models focuses on effects on general abilities and presents regularization as a response. This concern extends the earlier paper’s treatment of locality. Measuring changes in predictions on ordinary task examples gives one view of what survives an edit. Examining general abilities broadens the range of behavior that may matter after a correction. The connection to Editable Training is that both work on preserving behavior alongside a successful change, with the later title drawing attention to abilities beyond an individual editing task.
Editing the Moving World takes editing into video language systems. The original image experiments could define a request around a single image and a class. A video setting raises the question of how an edit’s scope should relate to inputs whose content changes over time. It is another instance of the underlying problem identified by Editable Neural Networks: the intended change and the behavior that should be preserved have to be specified for the task before the effects of an edit can be judged.
Cite
Cite as Anton Sinitsin, Vsevolod Plokhotnyuk, Dmitriy Pyrkin, Sergei Popov and Artem Babenko. 2020. Editable Neural Networks. arXiv:2004.00345.
@misc{sinitsin2020editable,
title = {{Editable Neural Networks}},
author = {Anton Sinitsin, Vsevolod Plokhotnyuk, Dmitriy Pyrkin, Sergei Popov and Artem Babenko},
year = {2020},
doi = {10.48550/arxiv.2004.00345},
eprint = {2004.00345},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2004.00345}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/sinitsin-2020-editable-neural-networks/
References
- Marcin Andrychowicz, Misha Denil, Sergio Gomez Colmenarejo, Matthew W. Hoffman, David Pfau, Tom Schaul, and Nando de Freitas. Learning to learn by gradient descent by gradient descent. ArXiv, abs/1606.04474, 2016. OpenAlex ↗ · Scholar ↗
- Jeremy Bernstein, Yu-Xiang Wang, Kamyar Azizzadenesheli, and Animashree Anandkumar. Signsgd: Compressed optimisation for non-convex problems. In Jennifer G. Dy and Andreas Krause (eds.), ICML, volume 80 of Proceedings of Machine Learning Research, pp. 559–568. PMLR, 2018. URL http://dblp.uni-trier.de/db/conf/icml/icml2018.html#BernsteinWAA18. OpenAlex ↗ · Scholar ↗
- Mauro Cettolo, Jan Niehues, Sebastian Stüker, Luisa Bentivogli, and Marcello Federico. Report on the 11 th iwslt evaluation campaign , iwslt 2014. 2015. OpenAlex ↗ · Scholar ↗
- Djork-Arné Clevert, Thomas Unterthiner, and Sepp Hochreiter. Fast and accurate deep network learning by exponential linear units (elus). CoRR, abs/1511.07289, 2015. our card
- J. Schmidhuber D. C. Ciresan, U. Meier. First superhuman visual pattern recognition. IJCNN, 2011. OpenAlex ↗ · Scholar ↗
- J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. In CVPR09, 2009. OpenAlex ↗ · Scholar ↗
- John C. Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. J. Mach. Learn. Res., 12:0 2121–2159, 2010. OpenAlex ↗ · Scholar ↗
- Javid Ebrahimi, Anyi Rao, Daniel Lowd, and Dejing Dou. Hotflip: White-box adversarial examples for text classification. In ACL, 2017. our card
- Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In ICML, 2017. our card
- Tommaso Furlanello, Zachary Chase Lipton, Michael Tschannen, Laurent Itti, and Anima Anandkumar. Born-again neural networks. In ICML, 2018. OpenAlex ↗ · Scholar ↗
- Marta Garnelo, Dan Rosenbaum, Chris J. Maddison, Tiago Ramalho, David Saxton, Murray Shanahan, Yee Whye Teh, Danilo Jimenez Rezende, and S. M. Ali Eslami. Conditional neural processes. ArXiv, abs/1807.01613, 2018. OpenAlex ↗ · Scholar ↗
- Ian Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In International Conference on Learning Representations, 2015. URL http://arxiv.org/abs/1412.6572. our card
- Hany Hassan, Anthony Aue, Chang Chen, Vishal Chowdhary, Jonathan R. Clark, Christian Federmann, Xuedong Huang, Marcin Junczys-Dowmunt, William Lewis, Mu Li, Shujie Liu, T. M. Liu, Renqian Luo, Arul Menezes, Tao Qin, Frank Seide, Xu Tan, Fei Tian, Lijun Wu, Shuangzhi Wu, Yingce Xia, Dongdong Zhang, Zhirui Zhang, and Ming Zhou. Achieving human parity on automatic chinese to english news translation. ArXiv, abs/1803.05567, 2018. our card
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778, 2015. our card
- Dan Hendrycks, Kevin Keliang Zhao, Steven Basart, Jacob Steinhardt, and Dawn Xiaodong Song. Natural adversarial examples. ArXiv, abs/1907.07174, 2019. OpenAlex ↗ · Scholar ↗
- Alex Hern. Facebook translates “good morning” into “attack them”, leading to arrest. The Guardian, 2018. OpenAlex ↗ · Scholar ↗
- Geoffrey E. Hinton, Oriol Vinyals, and Jeffrey Dean. Distilling the knowledge in a neural network. ArXiv, abs/1503.02531, 2015. our card
- Rein Houthooft, Yuhua Chen, Phillip Isola, Bradly C. Stadie, Filip Wolski, Jonathan Ho, and Pieter Abbeel. Evolved policy gradients. ArXiv, abs/1802.04821, 2018. OpenAlex ↗ · Scholar ↗
- Gao Huang, Zhuang Liu, Laurens van der Maaten, and Kilian Q. Weinberger. Densely connected convolutional networks. 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2261–2269, 2016. OpenAlex ↗ · Scholar ↗
- Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. CoRR, abs/1412.6980, 2014. our card
- James Kirkpatrick, Razvan Pascanu, Neil C. Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A. Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, Demis Hassabis, Claudia Clopath, Dharshan Kumaran, and Raia Hadsell. Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences of the United States of America, 114 13:0 3521–3526, 2016. our card
- Philipp Koehn, Hieu Hoang, Alexandra Birch, Chris Callison-Burch, Marcello Federico, Nicola Bertoldi, Brooke Cowan, Wade Shen, Christine Moran, Richard Zens, Chris Dyer, Ondřej Bojar, Alexandra Constantin, and Evan Herbst. Moses: Open source toolkit for statistical machine translation. In Proceedings of the 45th Annual Meeting of the Association for Computational Linguistics Companion Volume Proceedings of the Demo and Poster Sessions, pp. 177–180, Prague, Czech Republic, June 2007. Association for Computational Linguistics. URL https://www.aclweb.org/anthology/P07-2045. OpenAlex ↗ · Scholar ↗
- Alex Krizhevsky, Vinod Nair, and Geoffrey Hinton. Cifar-10 (canadian institute for advanced research). URL http://www.cs.toronto.edu/~kriz/cifar.html. OpenAlex ↗ · Scholar ↗
- Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 25, pp. 1097–1105. Curran Associates, Inc., 2012. URL http://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks.pdf. our card
- Min Lin, Jie Fu, and Yoshua Bengio. Conditional computation for continual learning. ArXiv, abs/1906.06635, 2019. OpenAlex ↗ · Scholar ↗
- Alex Nichol, Joshua Achiam, and John Schulman. On first-order meta-learning algorithms. ArXiv, abs/1803.02999, 2018. OpenAlex ↗ · Scholar ↗
- Myle Ott, Sergey Edunov, Alexei Baevski, Angela Fan, Sam Gross, Nathan Ng, David Grangier, and Michael Auli. fairseq: A fast, extensible toolkit for sequence modeling. In NAACL-HLT, 2019. our card
- Nicolas Papernot and Patrick D. McDaniel. Deep k-nearest neighbors: Towards confident, interpretable and robust deep learning. ArXiv, abs/1803.04765, 2018. OpenAlex ↗ · Scholar ↗
- Roger Ratcliff. Connectionist models of recognition memory: constraints imposed by learning and forgetting functions. Psychological review, 970 (2):0 285, 1990. OpenAlex ↗ · Scholar ↗
- Anthony V. Robins. Catastrophic forgetting, rehearsal and pseudorehearsal. Connect. Sci., 7:0 123–146, 1995. OpenAlex ↗ · Scholar ↗
- David Silver, Aja Huang, Chris J. Maddison, Arthur Guez, Laurent Sifre, George van den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Vedavyas Panneershelvam, Marc Lanctot, Sander Dieleman, Dominik Grewe, John Nham, Nal Kalchbrenner, Ilya Sutskever, Timothy P. Lillicrap, Madeleine Leach, Koray Kavukcuoglu, Thore Graepel, and Demis Hassabis. Mastering the game of go with deep neural networks and tree search. Nature, 529:0 484–489, 2016. OpenAlex ↗ · Scholar ↗
- Leslie N. Smith and Nicholay Topin. Super-convergence: Very fast training of residual networks using large learning rates. ArXiv, abs/1708.07120, 2017. OpenAlex ↗ · Scholar ↗
- Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian J. Goodfellow, and Rob Fergus. Intriguing properties of neural networks. CoRR, abs/1312.6199, 2013. our card
- Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2818–2826, 2015. OpenAlex ↗ · Scholar ↗
- T. Tieleman and G. Hinton. Lecture 6.5—RmsProp: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural Networks for Machine Learning, 2012. OpenAlex ↗ · Scholar ↗
- Laurens van der Maaten and Geoffrey E. Hinton. Visualizing data using t-sne. 2008. OpenAlex ↗ · Scholar ↗
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), Advances in Neural Information Processing Systems 30, pp. 5998–6008. Curran Associates, Inc., 2017. URL http://papers.nips.cc/paper/7181-attention-is-all-you-need.pdf. our card
- Eric Wallace, Feng Shi, Nikhil Kandpal, Matt Gardner, and Sameer Singh. Universal adversarial triggers for attacking and analyzing nlp. 2019. our card
- Xiaoyong Yuan, Pan He, Qile Zhu, and Xiaolin Li. Adversarial examples: Attacks and defenses for deep learning. IEEE Transactions on Neural Networks and Learning Systems, 30:0 2805–2824, 2017. OpenAlex ↗ · Scholar ↗
- Matthew D. Zeiler. Adadelta: An adaptive learning rate method. ArXiv, abs/1212.5701, 2012. our card