---
title: "Right for the Right Reasons — paper by Ross et al. (2017)"
description: "How explanation constraints steer neural networks away from misleading features, what the experiments establish, and where the method…"
canonical: "https://research.elamur.ai/free/en/papers/ross-2017-right-right-reasons-training-differentiable/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/ross-2017-right-right-reasons-training-differentiable/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2017](https://md.research.elamur.ai/free/en/papers/2017/) / Right for the Right Reasons: Training Differentiable Models by Constraining their Explanations

# Right for the Right Reasons: Training Differentiable Models by Constraining their Explanations

Paper · 2017 · Andrew Slavin Ross, Michael C. Hughes and Finale Doshi‐Velez

**Authors:** Andrew Slavin Ross, Michael C. Hughes and [Finale Doshi‐Velez](https://md.research.elamur.ai/free/en/authors/finale-doshi-velez/) · **Year:** 2017 · **Venue:** International Joint Conference on Artificial Intelligence · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**496** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2595017202) · [International Joint Conference on Artificial Intelligence](https://openalex.org/S4306419999) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1703.03717)
- [DOI 10.24963/ijcai.2017/371](https://doi.org/10.24963/ijcai.2017/371)
- [arXiv 1703.03717](https://arxiv.org/abs/1703.03717)
- [OpenAlex](https://openalex.org/W2595017202)

Citations: OpenAlex, 2026-10-14.

## Deep dive: Right for the Right Reasons: Training Differentiable Models by Constraining their Explanations

How explanation constraints steer neural networks away from misleading features, what the experiments establish, and where the method falls short. · about 36 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

A classifier can predict the correct label while depending on evidence that will fail outside its training data. A handwritten digit might be recognized through a colored patch in the image corner rather than through its shape. A document classifier might exploit incidental vocabulary rather than the distinction its users care about. Ordinary accuracy can conceal these dependencies when training and evaluation data contain the same misleading associations. This paper asks whether explanations can do more than expose that problem: can they become part of training, so that a network learns to rely on better evidence?

The authors develop an approach to [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/) based on input gradients. A gradient describes how a prediction would change in response to a small change in an input feature. Large gradient magnitudes identify features to which the prediction is locally sensitive. The authors use these derivatives both to explain predictions and to discourage unwanted dependencies. An expert can mark features that should be irrelevant for a particular example, and training then penalizes sensitivity in those locations. The classifier still learns from the labels, but it also receives guidance about which routes to those labels are inappropriate.

The experiments show that this intervention can redirect learned decision rules. In a synthetic image task, ordinary training repeatedly chooses a rule based on corner pixels, although another rule predicts the labels equally well. Explanation penalties can make the network switch to the alternative. In deliberately confounded image and tabular datasets, the penalties recover performance lost when a misleading training association disappears at test time. The explanation method also broadly agrees with LIME, a perturbation-based approach, while requiring much less computation. The comparison is not uniformly about producing a more readable picture: gradients sometimes reveal local sensitivity more faithfully, whereas LIME can better convey the visual salience of larger image regions.

The paper also proposes a way to search for alternatives without expert annotations. After training a classifier, the procedure identifies its strongest input sensitivities and discourages a subsequent classifier from using them. Repeating this process produces several classifiers with different explanations. On the confounded datasets, some alternatives generalize better without being told where the confound lies. This is a search procedure rather than an automatic test of correctness: an expert may still need to decide which explanation is appropriate. The larger contribution is to make an explanation something training can act on, while keeping clear that local derivatives do not provide a complete account of reasoning, salience, or behavior under every possible change.

### Ideas worth borrowing

Treat explanations as training signals. An explanation becomes more useful when a discovered problem can change the next training run. Here, the same derivative that exposes an unwanted dependency also supplies a penalty against that dependency. This closes a practical gap between inspection and correction. The reusable idea is to choose an explanatory representation that can participate in optimization, instead of treating explanation as a separate report produced after training. It applies wherever a system has several ways to achieve the training objective and some of those ways are known to be unreliable. The important condition is that the explanation actually measures the behavior being constrained; an attractive visualization alone would not justify the intervention.

Specify what must not matter. It can be easier for an expert to identify irrelevant evidence than to describe the entire correct decision rule. The paper exploits that asymmetry by shrinking sensitivity in marked locations. It does not require the expert to prescribe the desired gradient everywhere else. This is useful when domain knowledge is partial: a reviewer may know that an image patch is an artifact without knowing how every legitimate pixel should contribute. The same principle can guide other forms of supervision. Negative constraints can eliminate a bad solution while leaving the learner freedom to discover a useful alternative. They are especially valuable when a complete positive rationale would be expensive or ambiguous.

Make relevance depend on the example. A feature need not be globally useful or globally irrelevant. Its role may change with the surrounding input and with the region of the decision boundary. The annotation matrix therefore marks unwanted sensitivity separately for individual examples. This avoids turning a local criticism into a universal ban. The idea transfers to any setting in which a shared feature has different meanings in different contexts. A language system, for example, could need to distinguish an incidental occurrence of a word from an occurrence that contributes to the actual task. The paper does not solve that language problem, but its annotation design provides a way to express the distinction.

Preserve uncertain evidence and penalize its use softly. Human judgments about relevance can be incomplete or imprecise. Removing every marked feature would make those judgments absolute and could discard useful information. A penalty instead creates a preference whose strength can be adjusted against predictive fit. That design is reusable when annotations deserve influence without being treated as infallible. It also makes failures easier to interpret: a classifier may retain some sensitivity because the constraint conflicts with the available evidence, because its weight is too small, or because the marked region is not entirely irrelevant. Those possibilities remain visible instead of being hidden by deleting the input.

Search for competing explanations. Repeatedly obtaining similar accuracy from random restarts does not establish that a dataset supports only one useful rule. The paper deliberately pushes later classifiers away from features emphasized earlier. This turns explanation into a tool for exploring ambiguity. The resulting collection can reveal alternative solutions that ordinary optimization seldom reaches. Such a search is useful when expert knowledge is unavailable at the beginning, or when reviewers need concrete alternatives before they can articulate what is wrong. Its value lies in presenting different dependencies for comparison. The number of alternatives found is an informal sign of redundancy, not a proof that every possible rule has been discovered.

Check whether validation preserves the same mistake. A validation set drawn under the same confounding conditions can reward the very dependency that will fail in deployment. The authors therefore recommend considering the relative sizes of the prediction and explanation losses when choosing the penalty strength. The broader lesson concerns [evaluation and benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/): a familiar split does not automatically test the property an intervention is meant to improve. If the objective is to avoid a particular dependency, evaluation needs to examine that dependency or a relevant change in conditions. High accuracy under an unchanged association cannot settle whether the classifier has learned a transferable rule.

### How Mova uses it

For Mova, the small transparent language system written in Rust, the strongest connection is the separation between a correct output and acceptable supporting evidence. A language decision can look right on an example while depending on an incidental cue. This paper gives a concrete way to ask a further question: would the decision remain appropriate if the irrelevant part of the input changed? That question fits a transparent system because the evidence behind a decision should be available for inspection. It does not, on its own, establish that Mova already uses gradient penalties or the paper’s alternative-explanation procedure.

A possible application would begin with an explicit inventory of the features used by a particular language component. If that component is differentiable, input gradients could identify the features to which its output is locally sensitive. A reviewer could then mark features that should not influence particular examples. Training could combine the ordinary task objective with a penalty on those marked sensitivities. The connection is exact only under that condition: the paper’s mechanism needs a differentiable relationship between inputs, outputs, and trainable parameters. Writing a system in Rust neither supplies nor prevents that relationship.

For a component built from explicit rules or discrete operations, the transferable idea would be the review loop rather than the derivative formula. Mova could retain an example, the evidence used in reaching its decision, and a judgment that some evidence was inappropriate. A subsequent revision could then be evaluated against both the expected answer and the recorded objection. This would follow the paper’s distinction between prediction quality and reason quality, but it would be a different implementation. It should not be described as reproducing the paper’s gradient-based method.

The example-specific annotation design is particularly relevant to language. A reviewer may object to a feature in one context without wanting it removed everywhere. Mova could represent that objection alongside the example rather than maintaining only a global list of prohibited cues. The important design choice would be to make the scope of the objection explicit. Is a surface form irrelevant only in this sentence, throughout a particular task, or under a particular interpretation? The paper directly supports the narrow, example-dependent form of that idea. Broader linguistic judgments would require their own definitions and evaluation.

The alternative-explanation procedure suggests another possible use: produce competing analyses that reach the same answer through different evidence, then compare their behavior on carefully chosen examples. In a differentiable component, this could follow the paper’s repeated gradient penalties. In an explicit language component, it would require a separate way to vary the evidence or rules being used. In either case, disagreement would help identify examples worth reviewing. Agreement on the output would remain insufficient if the supporting dependencies were questionable.

These are prospective applications, not reported Mova capabilities. The paper evaluates neural classifiers on synthetic images, text, composite tabular data, and altered digit images. It does not evaluate a transparent Rust language system. Its useful contribution to Mova is therefore a precise design principle: preserve a connection between the answer, the evidence that influenced it, and a mechanism for correcting an unwanted dependency. Any claim that this improves Mova would need measurements from Mova itself.

### The problem and its context

#### Accuracy can hide the wrong dependency

Supervised [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/) ordinarily starts from examples paired with desired outputs. A classifier is rewarded for predicting those outputs correctly. That reward does not identify which features it ought to use. If several features correlate with the label, different decision rules can fit the same observations. Some rules may reflect the intended task, while others reflect an accident of collection, treatment, formatting, or presentation.

The paper’s motivating medical example makes this distinction concrete. It describes earlier work on predicting readmission risk among patients hospitalized for pneumonia. The learned relationship between asthma and readmission appeared reassuring, even though asthma indicated greater medical danger. The explanation was that patients with asthma had received more intensive care. Their observed outcomes reflected both their condition and the response to it. A classifier could therefore learn an association that fit the recorded outcomes while becoming unsafe if used to guide future care.

The problem is not merely that an algorithm made an isolated error. The training labels did not uniquely determine the interpretation a practitioner needed. Even careful tuning could prefer a dependency that remained predictive throughout the available data. Additional knowledge about the domain was needed to recognize why that dependency should not govern the intended decision.

The authors distinguish accuracy from being correct for acceptable reasons. Accuracy concerns the labels predicted on evaluated examples. Acceptable reasons additionally concern the learned dependencies: whether they agree with relevant expert knowledge and transfer when circumstances change. These properties can coincide, but neither follows automatically from the other. A classifier can be accurate under a misleading association, and an explanation can reveal that association without yet offering a way to remove it.

#### Why ordinary regularization is insufficient

The paper places its proposal alongside established ways to restrict learning. Parameter penalties can discourage large weights or encourage sparse solutions. Architectural choices can encode desired invariances, such as using convolutional structure when spatial transformations should preserve the decision. These techniques narrow the possible solutions and can improve generalization.

Their limitation here is specificity. A preference for smaller parameters does not necessarily distinguish a medically inappropriate association from a useful one. An architecture designed around spatial structure does not automatically reject a corner patch that predicts a digit during training. The unwanted rule may be easy to express within the architecture and inexpensive under the ordinary regularizer.

Explanation constraints address a different source of information. They say that certain input changes should not strongly affect particular predictions. This is closer to a statement about behavior than to a statement about parameter size. It allows the practitioner to intervene on a dependency identified through inspection, while retaining the same general predictive architecture.

That distinction also explains why the paper does not present explanation penalties as a replacement for ordinary regularization. Its objective contains both. The usual parameter term still limits the trainable weights, while the new term expresses a more targeted preference about sensitivity to inputs.

#### Explanations before explanation constraints

The authors describe a growing interest in local explanations: accounts of how a prediction changes when the input changes nearby. One prominent example is [LIME](https://md.research.elamur.ai/free/en/papers/ribeiro-2016-why-should-i-trust-explaining/). It perturbs an example, evaluates the original classifier on the perturbed inputs, and fits a simpler local approximation. The resulting feature weights can help a person see which parts of the input support or oppose a prediction.

This approach is attractive because it can work without access to the classifier’s internal derivatives. Its cost is that each explanation requires a collection of additional evaluations and a fitting procedure. That may be reasonable when a person inspects selected predictions. It becomes harder to afford when explanations are needed across a training dataset during repeated optimization updates.

The paper also discusses rationale-based approaches. [Using Annotator Rationales](https://md.research.elamur.ai/free/en/papers/zaidan-2007-annotator-rationales-improve-machine-learning/) represents earlier work on incorporating human indications of relevant text. [Rationalizing Neural Predictions](https://md.research.elamur.ai/free/en/papers/lei-2016-rationalizing-neural-predictions/) belongs to the domain-specific approaches the authors consider in their discussion of textual explanations. The paper’s distinction is that earlier systems were restricted to particular settings or did not provide the same complete cycle from generating an explanation to constraining it.

The authors do not claim to invent input gradients. They situate them among existing methods for inspecting neural behavior, including work on image saliency and language visualization. [Deep Inside Convolutional Networks](https://md.research.elamur.ai/free/en/papers/simonyan-2013-deep-inside-convolutional-networks-visualising/) and [Visualizing and Understanding Neural Models in NLP](https://md.research.elamur.ai/free/en/papers/li-2016-visualizing-understanding-neural-models-nlp/) are part of that background. Their proposal changes the role of the derivative: it becomes a quantity that can be penalized selectively during learning.

Earlier double-backpropagation work had already shown that broadly penalizing input-gradient magnitude could improve generalization. The new step is to connect such penalties to explanations, mark particular sensitivities as undesirable, and use the same machinery to search for alternative rules. This is a targeted use of a familiar mathematical operation.

#### Faithfulness and readability are separate

An explanation must tell a reader something reliable about the system, but it must also be understandable enough to use. These demands need not favor the same representation. A derivative is tightly connected to local behavior, yet an individual pixel or an abstract vector coordinate may have little meaning to a reviewer.

The authors recognize this tension. They cite [Towards a Rigorous Science of Interpretable Machine Learning](https://md.research.elamur.ai/free/en/papers/doshi-velez-2017-towards-rigorous-science-interpretable-machine/) in discussing the difficulty of evaluating interpretability. Their experiments therefore examine agreement with another explanation technique, behavior under known confounds, and the effect of acting on explanations. None of these alone establishes that every gradient display is easy for people to understand.

The paper’s central opportunity comes from accepting a narrower explanatory target. A local derivative need not tell the whole story of a prediction to be useful. If it reliably identifies sensitivity that should be suppressed, it can support a concrete correction. The method is built around that operational role.

### The method, step by step

#### Start with a differentiable predictor

The approach assumes a classifier whose outputs can be differentiated with respect to its inputs and trainable parameters. Each input is represented by a feature vector, and the output gives a probability for each class. The training data are written as:

```
X ∈ ℝᴺˣᴰ
```

Here, X is the input matrix, N is the number of observations, and D is the number of features per observation. A row of X represents an individual example. Depending on the dataset, its coordinates describe image channels, document features, or measurements from a tabular dataset.

The classifier’s outputs are written as:

```
ŷ = f(X | θ) ∈ ℝᴺˣᴷ
```

The function f is the differentiable classifier. The symbol θ denotes its trainable parameters, ŷ contains its predicted probabilities, and K is the number of classes. Each row of ŷ contains the probabilities assigned to an example’s possible labels. The training labels y use the same arrangement, with the correct class indicated through a one-hot representation.

This notation separates the objects that will play different roles in training. The labels specify the desired answers. The parameters determine the current predictor. The inputs provide both the evidence used for classification and the coordinates with respect to which explanations will be calculated.

Training with explanation constraints The steps in order.

#### Explain a prediction through its input gradient

The explanatory object is an input derivative. In the paper’s notation:

```
f_X(Xₙ | θ) = ∇_X ŷₙ
```

The index n identifies an example. The expression f_X denotes differentiation with respect to the input coordinates, and ∇ denotes a gradient. The output vector for the example is ŷₙ. When examining a particular output probability, the corresponding gradient assigns a sensitivity to each input coordinate.

A large magnitude means that a small change in that coordinate has a comparatively large local effect on the output being examined. The sign indicates the direction of that effect. In a text feature representation, a positive derivative for a class probability means that increasing the feature would locally increase that probability. In an image, the coordinates refer to pixel-channel values rather than whole semantic objects.

The paper connects these gradients to local decision geometry. They describe the direction of change in the classifier’s output and provide a linear account of nearby behavior. For the simple examples illustrated by the authors, the gradients point across the decision boundary. They can therefore expose whether the classifier is responding to corner colors, digit strokes, or other features.

The word “local” matters. A gradient concerns small changes around the input at which it is calculated. It does not directly describe the effect of replacing a whole sentence, removing an entire object, or making a large jump to another input. Those may cross regions with different behavior.

The authors also distinguish gradients of probabilities from gradients of log probabilities. Probability gradients can become very small when a prediction lies far from a boundary. Log-probability gradients give more consistent signals across decision regions in their illustrations. The training penalty uses log probabilities, while many visualizations use derivatives of the probabilities themselves.

#### Record which sensitivities are unwanted

The expert feedback is a binary annotation matrix:

```
A ∈ {0, 1}ᴺˣᴰ
```

A has the same example-by-feature arrangement as X. An entry Aₙd is marked when feature d should not affect the prediction for instance n. An unmarked entry does not assert that the feature must be important. It simply leaves that location outside this particular penalty.

This is supervision about relevance rather than another class label. In Decoy MNIST, a mask can identify the artificial swatch. In Iris-Cancer, it can identify the Iris-derived coordinates. In the synthetic color task, it can mark the corners to discourage the rule ordinary training prefers.

The authors choose to suppress unwanted gradients rather than force gradients to be large in desired locations. They give two reasons. A relevant feature can legitimately have a small derivative when the classifier is already confident and far from a boundary. Also, the appropriate magnitude of a useful gradient is not known in advance. A requirement that irrelevant sensitivity should be small is easier to state than a complete numerical target for relevant sensitivity.

The mask can vary across examples. This is important because nonlinear decision rules may use a feature in one context and ignore it in another. A single global feature list would lose that distinction. The matrix also permits partial annotation: examples without feedback can remain unmarked while the annotated examples contribute explanation supervision.

#### Add the explanation penalty to the learning objective

The complete objective combines classification fit, explanation constraints, and parameter regularization:

```
L(θ, X, y, A) = ∑ₙ₌₁ᴺ ∑ₖ₌₁ᴷ −yₙₖ log(ŷₙₖ) + λ₁ ∑ₙ₌₁ᴺ ∑d₌₁ᴰ (Aₙd ∂[∑ₖ₌₁ᴷ log(ŷₙₖ)]/∂xₙd)² + λ₂ ∑ᵢ θᵢ²
```

L is the quantity minimized during training. The first term is cross-entropy: yₙₖ indicates the correct class, and ŷₙₖ is the probability assigned to class k for observation n. This term rewards accurate predictions.

The middle term is the explanation penalty. The coordinate xₙd is feature d of observation n. The derivative measures how the sum of class log probabilities changes with that coordinate. Multiplication by Aₙd selects the locations marked as irrelevant. Squaring makes both positive and negative unwanted sensitivities costly. The coefficient λ₁ controls the strength of this pressure.

The final term is ordinary squared-parameter regularization. The index i ranges over trainable parameters, θᵢ is an individual parameter, and λ₂ controls the penalty on their magnitudes. The explanation term therefore supplements an existing regularizer rather than replacing it.

Summing the log probabilities across classes makes the penalty concern the output distribution rather than only the currently predicted class. The authors report slightly steadier behavior from this choice. Penalizing the predicted class’s log probability gave comparable results, but switching predicted classes near a boundary may introduce instability. They did not investigate separate constraints on particular class probabilities.

There are informative extremes. If A is entirely unmarked, the explanation term vanishes. If every entry is marked, the objective discourages input sensitivity everywhere, resembling the broad gradient regularization discussed in earlier work. Intermediate masks express selective objections to the classifier’s current or anticipated dependencies.

The constraint remains soft. The marked feature is still present, and the classifier can retain sensitivity if the competing terms favor it strongly enough. This accommodates imperfect annotations and avoids assuming that every marked coordinate can safely be deleted. It also means that marking a feature is not a formal guarantee of complete independence from it.

#### Optimize a derivative-dependent objective

Because the objective is differentiable with respect to θ, gradient-based optimization can minimize it. The explanation term introduces derivatives with respect to inputs inside the training loss. Optimizing that term then requires differentiating its effect on the trainable parameters. The paper implements this process using Autograd and trains with [Adam](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/).

Across the reported experiments, the architecture is a multilayer perceptron with hidden-layer sizes of 50 and 30, ReLU activations, and a softmax output. The parameter penalty uses λ₂ = 0.0001. Adam uses a batch size of 256. The authors generally set λ₁ = 1000, chosen so that prediction loss and explanation loss have similar scales.

This balance is substantive. If the explanation penalty is too weak, a misleading feature may remain attractive. If it overwhelms the prediction loss, the network can reduce sensitivity without preserving useful classification. The appendix reports that excessive pressure can leave performance at chance.

The recommended tuning rule is therefore to bring the explanation and cross-entropy terms into roughly comparable ranges. Exact equality is unnecessary in the reported analysis. This recommendation responds to a particular difficulty: ordinary validation accuracy may favor a confound if that confound persists in validation.

#### Find another explanation without a supplied mask

When no expert mask is available, the method creates masks from earlier classifiers. It begins with an unconstrained explanation objective:

```
A₀ = 0
```

A₀ is the initial mask. Its entries are unmarked, so the first classifier receives no selective explanation penalty.

The initial parameters are learned by minimizing the objective:

```
θ₀ = argmin_θ L(θ, X, y, A₀)
```

The symbol argmin denotes the parameter choice sought by optimization. The subscript on θ₀ identifies the initial trained classifier, not a different kind of parameter.

The procedure then identifies large gradient components:

```
A₁ = M_c[f_X | θ₀]
```

M_c is a masking operation. It compares each component’s gradient magnitude with the largest component magnitude and marks those whose relative magnitude reaches the cutoff c. The notation f_X | θ₀ abbreviates input gradients calculated across X using the learned parameters θ₀.

The next classifier is trained against that mask:

```
θ₁ = argmin_θ L(θ, X, y, A₁)
```

Now the optimization is discouraged from relying on the locations emphasized by the earlier explanation. The aim is to retain accurate predictions while finding another dependency that supports them.

Later masks accumulate earlier marked locations:

```
A₂ = M_c[f_X | θ₁] ∪ A₁
```

The union symbol ∪ means that features marked by either mask remain marked. The procedure consequently discourages reusing sensitivities found in previous iterations rather than merely alternating between them.

Training then continues with the accumulated mask:

```
θ₂ = argmin_θ L(θ, X, y, A₂)
```

The same pattern can be repeated. The authors frequently use c = 0.67, which tended to retain 2-5% of gradient components. This is a relative-magnitude threshold, not a general instruction to retain that fraction of coordinates.

The procedure stops being informative when accuracy deteriorates, explanations cease to change, or substantial additional penalty strength is needed to produce a change. Those outcomes suggest that readily available alternatives have been exhausted under the procedure. They do not establish an exhaustive search over all decision rules. The collection is intended for expert inspection, and disagreement among its members can help prioritize examples for review.

### Experiments and results

#### What the experiments test

The evaluation addresses several connected questions. Do input gradients reveal dependencies also identified by an established explanation method? Can a supplied mask redirect the learned rule? Does that redirection help when a training association becomes unreliable at test time? Can the alternative-explanation procedure find useful rules without being told which features are misleading?

The authors use a synthetic color task and variants of image, text, and tabular datasets. Keeping the same general network architecture across these settings helps isolate the explanation mechanism from specialized architectural choices. The principal predictive metric is accuracy. Explanation comparisons are primarily qualitative: the authors examine feature identities, signs, relative magnitudes, and whether the highlighted features agree with known properties of the constructed tasks.

The paper names an official experimental code repository, rrr. Its implementation uses Autograd for differentiation. The runtime discussion compares input-gradient explanations with different LIME interfaces appropriate to the input type. Those measurements were made on a laptop, and the gradient implementation was not optimized for speed. The stated purpose is to show computational scale rather than establish a hardware-independent benchmark.

#### The synthetic color task exposes alternative rules

The Toy Color dataset contains RGB images with dimensions 5 × 5 × 3 and uses four possible colors. Its labels are constructed so that separate visual rules agree on the training task. One rule concerns whether the corner pixels share a color. The other concerns whether the top-middle pixels differ from one another. Class 1 satisfies both conditions, whereas class 2 satisfies neither.

This arrangement makes the ambiguity observable. A successful classifier can use either rule, so accuracy alone does not reveal which one it learned. The remaining image positions do not carry the intended distinction. An explanation that consistently emphasizes those unrelated positions would therefore be suspect.

For ordinary training, LIME and input gradients both point to the corner-based rule. The authors report that this preference persists across random restarts. They then mark corner coordinates in A and train with explanation regularization. The network shifts towards the top-middle rule. The experiment demonstrates a behavioral change, not simply a different display of the same predictor.

The transition depends on annotation coverage and penalty strength. The authors describe a requirement on the order of 10³ annotated examples, corresponding to 5% of the dataset, under the initial arrangement. Ensuring that annotated examples were always included in Adam minibatches enabled consistent switching with 50 annotated examples, or 0.2% of the dataset. These are results for this constructed task and this training procedure.

The alternative-explanation search also discovers the available rules without a hand-supplied mask. Once the useful alternatives have been discouraged, the explanations become noisy and accuracy collapses. The authors caution that the strong penalty used at that point complicates the interpretation of chance-level performance. The clearer result is the initial discovery of an alternative that ordinary restarts did not readily expose.

#### Text explanations on 20 Newsgroups

The text experiment uses the alt.atheism and soc.religion.christian categories from 20 Newsgroups. Documents are represented through [TF-IDF](https://md.research.elamur.ai/free/en/concepts/tf-idf/) with 5000 components. With no explanation constraints, the network reaches 94% accuracy.

The comparison with LIME shows substantial agreement about influential words. Some associations are easy to understand from the task, including religious vocabulary supporting the Christianity label. Others look incidental or require interpretation. Both explanation methods expose these associations rather than automatically deciding whether they are acceptable.

Gradient explanations are less sparse than LIME’s displays. They can also identify vocabulary features absent from the current document: such a derivative indicates that adding the feature could affect the prediction. This is useful counterfactual information, although it differs from highlighting the words a reader currently sees.

For long documents, the authors report that LIME can miss features identified by gradients. They connect this to the selected explanation size and the finite number of perturbation samples. Increasing those samples could improve coverage but would add classifier evaluations. Gradients avoid the same sampling procedure and provide a deterministic local derivative for the evaluated input.

The alternative-explanation experiments change which words are emphasized across iterations. Training accuracy generally remains high, while test accuracy is unstable. This supports the claim that the text data permit different predictive dependencies. It does not show that repeated explanation penalties consistently improve this text task.

#### Iris-Cancer separates useful prediction from a manufactured dependency

Iris-Cancer combines examples from the Iris and Breast Cancer Wisconsin datasets. The construction uses Iris classes 1 and 2 and the first 50 examples from each cancer class. The resulting input matrix has 100 rows and 34 features, with a binary label.

The network reaches 92% average test accuracy over 350 random train-test splits using the paper’s stated 2/3–1/3 division. When the Iris-derived features are removed from the test input, average accuracy falls to 81%, with greater variability. The experiment is designed to make a dependency visible: the classifier benefits from the composite association and suffers when part of that association is unavailable.

The explanation comparison is especially informative here. Input gradients identify sensitivity to the Iris coordinates. LIME instead highlights a feature from the cancer data and fails to expose the dependence the authors already know matters from the removal test. Varying LIME’s perturbation strategy does not resolve the reported discrepancy.

The authors interpret this as a difficult case for LIME’s perturbation mechanism on continuous tabular inputs. That is a claim about this setting, not a demonstration that gradients always dominate perturbation-based explanations. The important evidence is the agreement between the gradient diagnosis and the observed performance loss when the diagnosed features are removed.

When the explanation penalty marks the Iris coordinates, test accuracy becomes almost unchanged by their removal. The reported result is therefore robustness to the particular missing-feature intervention. The alternative-explanation search also finds later classifiers with weaker Iris sensitivity and improved performance on the altered test condition, without receiving a mask that identifies those coordinates in advance.

#### Decoy MNIST makes a shortcut fail at test time

On ordinary MNIST, the network obtains 98% training accuracy and 96% test accuracy. Decoy MNIST modifies digit images by adding gray swatches with dimensions 4 × 4 in randomly selected corners. Their training shades depend on the digit label.

```
swatch shade = 255 − 25y
```

The symbol y is the digit label. The expression specifies the shade assigned to the artificial patch during training. At test time, patch shades are randomized, so the association between shade and digit no longer provides the same information.

The modified data produce 99.6% training accuracy but only 55% test accuracy. The training result shows why the shortcut is attractive: the added cue makes fitting the observed labels easier. The test result shows its cost when that cue changes.

Standard and decoy digit data, training accuracy The label-linked corner patch makes training accuracy look stronger.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Standard MNIST | 98 |
| Decoy MNIST (this paper) | 99.6 |

Standard and decoy digit data, test accuracy Randomizing the patch shade exposes poor transfer from the decoy training condition.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Decoy MNIST | 55 |
| Standard MNIST (this paper) | 96 |

Both LIME and gradients identify the patch as influential in an illustrated error where the classifier predicts 3 for an image labeled 7. Their displays differ in emphasis. Gradients offer fine-grained information about how modifying or extending strokes would change a probability. LIME’s larger image segments better convey that the visible digit itself forms a salient region.

Training with swatch coordinates marked as irrelevant restores test performance to the ordinary-MNIST baseline described by the authors. The alternative-explanation method also recovers baseline performance after an iteration without a hand-supplied swatch mask. These results are strong evidence for the constructed confound: avoiding the artificial patch makes the classifier more reliable when patch shade is randomized.

The outcome is not monotonic across every later iteration. Very large penalties lead to unstable behavior, and some late explanations return to swatch dependence. The experiment therefore demonstrates successful correction under suitable settings, alongside a clear warning that repeated explanation search does not automatically produce steadily better classifiers.

### What the ablations show

#### A useful rule can be reachable but rarely selected

The synthetic color experiment provides the cleanest controlled comparison. Both visual rules support accurate classification, but unconstrained training repeatedly selects the corners. Penalizing the corners makes the same general architecture learn from the top-middle region instead.

This separates representational capacity from optimization preference. The alternative rule was available to the network; it was not the solution ordinary training tended to choose. Explanation constraints change that preference by making a previously attractive dependency costly.

This matters for interpreting unsuccessful random restarts. Repeating the same training objective can repeatedly find the same kind of solution. The paper’s procedure alters the objective using evidence about the current solution. The resulting diversity is more directly targeted than simply hoping another initialization will reveal a different rule.

The experiment also keeps the meaning of “better” conditional. In the synthetic task, either rule predicts the labels. The point is controllability and discovery of alternatives. Whether one rule should be preferred in an application still depends on knowledge beyond their shared accuracy in the original data.

#### Annotation coverage interacts with training exposure

The color-task analysis varies both the explanation penalty and how many examples receive annotations. Increasing either can help move the classifier away from the corner rule. The figure descriptions also report a broad intermediate region where the learned sensitivities mix the available rules.

That intermediate behavior is important. Explanation regularization does not act like a switch that immediately removes one rule and installs another. It changes the optimization tradeoff, and hybrid solutions can be favorable while the constraint remains partial or moderate.

The minibatch comparison adds a practical explanation for annotation efficiency. A small annotated subset may have little influence if ordinary sampling exposes it infrequently. Ensuring its presence during optimization increases the opportunity for the explanation signal to shape learning. The result with 50 annotated examples should therefore be understood together with that altered exposure pattern.

This is not evidence that the same annotation count would suffice on arbitrary tasks. The synthetic images have known, localized rules, and the masks directly identify relevant positions. The transferable result is that the effect of partial explanation supervision depends on how training presents it, not just on its nominal size.

#### The loss balance explains both success and collapse

The cross-validation appendix studies the strength of λ₁. Its central comparison is between the scale of the ordinary prediction loss and the scale of the explanation term. The highest-performing region occurs when neither dominates overwhelmingly.

At low explanation pressure, the classifier can continue exploiting the confound because doing so improves prediction fit cheaply. At excessive pressure, reducing sensitivity becomes more important than preserving accurate classification. The authors observe chance-level behavior in that regime.

This analysis supports a heuristic rather than a universal selection law. The reported experiments suggest that comparable loss magnitudes provide a useful operating range. They do not prove that this balance identifies the best setting under every feature scaling, architecture, or annotation scheme.

The motivation for the heuristic is unusually relevant to confounding. If a validation set repeats the misleading association, maximizing its accuracy may reward the unwanted dependency. Loss balancing incorporates the supplied explanation knowledge even when the ordinary validation score cannot reveal its value.

#### Positive and negative spatial guidance do not help equally

The reduced-data experiment compares several annotation masks on Toy Colors. A mask favoring the corner rule penalizes every pixel outside the corners. With that guidance, the network reaches 95% accuracy with fewer than 100 examples. Without explanation constraints, the authors report needing nearly 10,000 examples for that accuracy level.

Other masks also improve the relationship between training size and accuracy. These include discouraging the top-middle region and discouraging every region except the top-middle. But directly penalizing the corners initially hurts performance until the training size passes a threshold.

The contrast shows that an explanation constraint can make learning easier or harder depending on the alternative it leaves available. Removing an easy route is useful only if the learner can acquire another suitable route from the remaining evidence.

The authors offer a task-specific explanation. The corner condition can be realized in 4 ways, whereas the top-middle distinction has 24 possibilities. They suggest that the latter may require more data to learn from positional supervision alone. This is an interpretation of the controlled task, not a general account of the sample complexity of explanations.

#### Automatic alternative search reveals redundancy and its limits

The iterative experiments test whether suppressing earlier sensitivities can uncover another accurate classifier. On Toy Colors, the procedure exposes the known alternatives and then loses useful explanatory structure. That behavior is consistent with the task’s deliberately limited set of predictive rules.

The real-world variants behave differently. Iris-Cancer and Decoy MNIST retain useful accuracy while the highlighted dependencies change. The figure caption reports overcoming confounds after 1-2 iterations across those settings. On the text dataset, the emphasized words also change, but test performance varies.

These comparisons support the authors’ view that the datasets contain redundant predictive information. Different feature dependencies can support similar training success. They also show why diversity should not be mistaken for improvement: changed explanations need to be examined alongside changed-condition accuracy.

The return of swatch sensitivity in later Decoy MNIST iterations is especially revealing. The accumulated masks and soft penalties do not establish a permanent exclusion of a semantic shortcut. Optimization can redistribute sensitivity, and strong penalties can distort the tradeoff. The procedure is most convincingly understood as a way to generate candidates for review.

#### Explanation agreement is evidence, not a universal ranking

Comparing gradients with LIME across several input types helps identify where the methods converge and where their explanatory objects differ. The synthetic images provide known relevant regions. The composite tabular data provide a removal test. The decoy images provide a known artificial cue.

These are more informative than judging a display only by whether it looks plausible. In Iris-Cancer, a visually simple explanation misses a dependency exposed by the test intervention. In Decoy MNIST, a coarse explanation can better express the salience of the whole digit even when fine-grained gradients better describe local modifications.

The paper therefore offers controlled comparisons of usefulness, faithfulness, granularity, and computational cost. It does not reduce explanation quality to a single quantitative score. Its evidence favors gradients for the specific task of scalable, differentiable constraints while leaving room for other explanatory views.

### Limitations

#### Author-stated: local sensitivity is not complete salience

The authors explicitly describe input gradients as local linear explanations. They say how an output changes near the current input. They do not directly explain the effect of every meaningful transformation a person might consider.

A particularly important failure mode is a small derivative far from the decision boundary. A feature may have been essential to reaching a confident prediction even though a tiny change in it has almost no immediate effect. A display based only on derivative magnitude can therefore understate what a person would call salient.

The paper situates this issue alongside alternative attribution methods, including [Learning Important Features Through Propagating Activation Differences](https://md.research.elamur.ai/free/en/papers/shrikumar-2017-learning-important-features-through-propagating/). It does not experimentally settle all differences among those approaches. Its argument is narrower: local derivatives are directly suited to constraining local sensitivity.

That distinction limits the phrase “right reasons.” The penalty governs a particular mathematical account of dependence. Success under that account is useful, but it should not be inflated into a complete description of the internal process that produced the answer.

#### Author-stated: feature meaning can make annotation difficult

The authors acknowledge that input coordinates may not be understandable to users. Individual pixels can be awkward to annotate, and coordinates in a distributed word representation may not correspond to recognizable linguistic properties.

This creates a practical dependency between representation and supervision. A mask is easy to specify when the unwanted feature occupies an obvious image patch or a known group of table columns. It becomes harder when the undesired property is distributed across many coordinates or depends on a semantic interpretation.

The method does not remove the need to translate expert knowledge into the input representation. It gives that knowledge a mathematically convenient form after the translation has been made. Whether experts can supply useful masks efficiently remains application dependent.

The soft penalty partly accommodates imprecision, but it cannot rescue a fundamentally unsuitable definition of relevance. If a mask repeatedly marks legitimate evidence or fails to cover the actual confound, the optimization objective will express the wrong preference.

#### Author-stated: annotation-free search needs judgment and tuning

The alternative-explanation procedure is intended to expose candidates an expert can inspect. The authors do not claim it automatically knows which candidate has the best reasons. Different explanations can all be questionable, or each may work appropriately only in some regions.

The experiments also show sensitivity to penalty strength. Excessive λ₁ can produce erratic behavior or destroy useful prediction. Later Decoy MNIST iterations can return to the artificial patch. The synthetic task requires a sufficiently strong penalty before the final collapse, which complicates using that collapse as a clean count of available rules.

The suggested stopping conditions are consequently practical indicators. Explanations that no longer change, or accuracy that falls, may suggest diminishing returns. They do not certify that no undiscovered good solution exists.

Human involvement remains central when the objective is correctness of reasons rather than mere diversity. The paper proposes interactive guidance and expert selection as promising directions, not as completed evaluations of a review workflow.

#### Careful-reader limit: the confounds are unusually accessible

The strongest generalization results use confounds deliberately introduced by the experimenters. In Decoy MNIST, the misleading feature is an artificial corner patch. In Iris-Cancer, it is a known group of appended measurements. These constructions make the diagnosis and intervention unusually clear.

That clarity is a strength for establishing mechanism. The authors know which dependency should fail and can test whether discouraging it helps. But it leaves open how reliably practitioners would identify a subtle confound in ordinary data.

A real unwanted association may overlap with legitimate evidence, vary across subgroups, or have no simple spatial or coordinate mask. The paper’s results do not measure those cases. They establish that explanation constraints can correct known or discoverable dependencies in the studied settings.

The same caution applies to changing conditions. Randomizing a patch and removing a feature group are specific interventions. Robustness to them does not establish robustness to every difference between training and deployment.

#### Careful-reader limit: architecture and evaluation scope remain narrow

The reported experiments use the same small multilayer-perceptron architecture across tasks. That is useful for demonstrating cross-domain applicability of the mechanism. It is not an evaluation across a broad family of architectures or optimization systems.

The text task uses fixed TF-IDF features. It therefore does not establish performance for every form of [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/), nor does it show that the same explanations would remain readable in a representation whose coordinates lack direct word-level meaning.

The explanation evidence is mostly qualitative. Agreement with LIME, known task structure, and feature-removal behavior provides support, but the paper does not report a comprehensive human study establishing that reviewers consistently understand or use the explanations correctly.

Runtime claims also require their stated context. Different datasets use different LIME variants, and the measurements come from a laptop implementation. The comparison supports a substantial computational advantage in the reported setup, not a precise performance guarantee for every implementation.

#### Careful-reader limit: local penalties do not certify global independence

The explanation term is evaluated on the available examples and applied softly. A small gradient at those points does not prove that a marked feature has no effect under larger changes or elsewhere in the input space.

This matters when a practitioner wants a guarantee rather than a preference. The objective can discourage a dependency while leaving residual effects, interactions, or behavior in unexamined regions. The paper does not present a formal certificate that a prohibited source of information has been eliminated.

Similarly, balancing loss magnitudes is not a substitute for testing the intended property. It provides an optimization heuristic when validation is confounded. A careful application would still need evidence that the resulting behavior matches the relevant domain requirement.

#### Future applications are proposals, not demonstrated outcomes

The conclusion connects explanation constraints to adversarial robustness and to [bias, fairness, and safety](https://md.research.elamur.ai/free/en/topics/bias-fairness-safety/). It also suggests weighted annotations, alternative penalty norms, and constraints specifying whether a feature should support or oppose a particular class.

These proposals follow naturally from the objective, but the experiments do not establish their benefits. In particular, suppressing selected input sensitivities is not presented as a complete solution to fairness, accountability, or safety.

The paper’s demonstrated contribution is more specific and more useful when stated that way: explanations based on derivatives can guide training toward different dependencies, and those dependencies can generalize better under the controlled changes studied.

### What came after

The later citation record connects this paper to several strands of explanation research. The listed works establish that the paper was cited and identify the subjects those later papers address. They do not specify the citing passages, methods, or results. The connections below therefore distinguish shared questions from demonstrated adoption of the gradient-penalty method.

#### Broader accounts of explainability

[Explainable Artificial Intelligence: Concepts, Taxonomies, Opportunities and Challenges](https://md.research.elamur.ai/free/en/papers/arrieta-2019-explainable-artificial-intelligence-xai-concepts/) places explainability within a broad conceptual agenda. For understanding the connection, the important contribution of the earlier paper is its treatment of explanations as an intervention point. An explanation can be evaluated not only as something presented to a person, but also as information that changes training. The citation connects the work to that broader explainability literature; it does not establish that the later account endorses every claim made for input gradients.

[A Survey of the State of Explainable AI for Natural Language Processing](https://md.research.elamur.ai/free/en/papers/danilevsky-2020-survey-state-explainable-ai-natural/) brings the discussion into language applications. The original paper already includes a text classifier and compares derivative-based word sensitivities with LIME. Its distinctive question is whether explanatory feedback can modify the predictor. That makes it relevant to a survey of language explanations, while the citation alone does not tell us how the survey classifies or evaluates the method.

These broader connections are helpful because the paper spans several notions that are easy to merge: readable evidence, faithful local behavior, expert knowledge, and generalization. Its experiments connect those notions in particular settings, but they do not make them interchangeable.

#### Attention and the meaning of an explanation

[Attention is not Explanation](https://md.research.elamur.ai/free/en/papers/jain-2019-attention-is-not-explanation/), [Attention is not not Explanation](https://md.research.elamur.ai/free/en/papers/wiegreffe-2019-attention-is-not-not-explanation/), and [Is Attention Interpretable?](https://md.research.elamur.ai/free/en/papers/serrano-2019-is-attention-interpretable/) all cite the paper. Their titles locate them in a later discussion about attention and explanation.

The earlier work supplies a useful question for that discussion: what behavioral claim does an explanatory quantity support? For input gradients, the claim is explicitly local sensitivity. A large derivative has a defined relationship to a small input change. The explanation penalty then acts on that same quantity.

That connection should not be mistaken for evidence that the attention papers use the same training objective. Nor does the original paper settle whether attention is interpretable. Its method concerns derivatives of classifier outputs, and its experiments compare those derivatives primarily with perturbation-based explanations.

The shared issue is the need to identify what an explanation represents before treating it as evidence about a decision. A visible weight, a selected word, and a derivative can each invite interpretation, but the appropriate interpretation depends on how the quantity relates to behavior. The original paper makes that relationship central to its correction mechanism.

#### Explanations as additional supervision

[Distilling Step-by-Step!](https://md.research.elamur.ai/free/en/papers/hsieh-2023-distilling-step-step-outperforming-larger/) is another listed citing work. Its title links distillation with reduced training requirements and smaller systems. The citation places it near a question the earlier paper directly investigates: can information about reasons contribute something beyond answer labels?

The Toy Color appendix provides the relevant earlier evidence. A suitable explanation mask can reduce the data needed to reach a specified accuracy, while an unsuitable constraint can make learning harder. That result supports the general motivation for richer supervision without establishing that all forms of explanatory information work alike.

The available citation information does not identify whether the later distillation method uses gradient masks, local derivatives, or a different representation of reasons. The defensible connection is the broader training question, not an asserted identity of mechanism.

[QED: A Framework and Dataset for Explanations in Question Answering](https://md.research.elamur.ai/free/en/papers/lamm-2021-qed-framework-dataset-explanations-question/) extends the citation trail into [question answering](https://md.research.elamur.ai/free/en/topics/question-answering/). Its title identifies a framework and dataset organized around explanations. The original paper’s contribution to the shared problem is the distinction between evaluating an answer and evaluating the evidence that supports it.

The two settings should remain separate. The earlier experiments do not evaluate question answering, and their masks specify unwanted local sensitivity rather than a complete answer explanation. The citation shows relevance across that boundary; it does not supply a reported transfer result.

#### Shortcuts, alignment, and safety

[Controlling Implicit Shortcut Reliance in L2 Spoken English Auto-markers](https://md.research.elamur.ai/free/en/papers/gao-2026-controlling-implicit-shortcut-reliance-l2/) is closely related in its stated subject to the original paper’s concern with misleading predictive cues. The earlier decoy experiments make shortcut reliance observable by changing the association between an artificial feature and the label.

The later title points to a different application involving spoken English assessment. The citation information does not state which shortcut controls it uses or what it finds. It would therefore be premature to describe it as a direct implementation of the gradient objective. The clear connection is the attempt to distinguish successful prediction from an acceptable basis for prediction.

[Foundational Challenges in Assuring Alignment and Safety of Large Language Models](https://md.research.elamur.ai/free/en/papers/anwar-2024-foundational-challenges-assuring-alignment-safety/) places the paper in a broader safety discussion. The original conclusion already proposes investigating explanation constraints for safety-related goals. Its experiments support the underlying warning that observed success can hide a fragile dependency.

They do not establish a general alignment method. The later citation is best understood as evidence that this warning and the associated training approach remained relevant to broader questions. The lasting idea is concrete: when several rules fit the answers, inspecting and constraining the supporting dependencies can reveal options that accuracy alone leaves indistinguishable.

## Cite

Cite as Andrew Slavin Ross, Michael C. Hughes and Finale Doshi‐Velez. 2017. Right for the Right Reasons: Training Differentiable Models by Constraining their Explanations. International Joint Conference on Artificial Intelligence.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.24963/ijcai.2017/371](https://doi.org/10.24963/ijcai.2017/371) · [arXiv 1703.03717](https://arxiv.org/abs/1703.03717)

```bibtex
@inproceedings{ross2017right,
  title = {{Right for the Right Reasons: Training Differentiable Models by Constraining their Explanations}},
  author = {Andrew Slavin Ross, Michael C. Hughes and Finale Doshi‐Velez},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/371},
  eprint = {1703.03717},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.24963/ijcai.2017/371}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
