Source-linked AI summary
Revision Transformers: Instructing Language Models to Change their Values
Felix Friedrich, Wolfgang Stammer, Patrick Schramowski, Kristian Kersting
TL;DR
Moral values vary among people and over time, while correcting model behavior through retraining is costly. RiT adds an interactive revision engine to pretrained language models; the authors report that it corrects behavior and aligns models with user values through iterative feedback.
Problem
Moral values vary interpersonally and over time, while retraining models to correct behavior is costly and may not meet diverse value demands.
Source: §1 · p. 1Method
RiT extends a pretrained language model with a non-parametric revision engine that retrieves external context and lets users provide corrective feedback.
Source: §1 · p. 1Results
RiT helps correct model behavior and align it with user values, with iterative user interaction incorporating corrections and achieving high value alignment.
Source: §6 · p. 7Takeaways & Limitations
RiT is an enhancement to pretrained LLMs rather than a replacement, while some values may require organized parameter updates instead of external revision.
Source: §5 · p. 6User interaction takes effort, and a high retrieval threshold increases interaction demand, creating a trade-off between model performance and human labor.
Source: §5 · p. 6
Abstract
from arXiv · showhide
Current transformer language models (LM) are large-scale models with billions of parameters. They have been shown to provide high performances on a variety of tasks but are also prone to shortcut learning and bias. Addressing such incorrect model behavior via parameter adjustments is very costly. This is particularly problematic for updating dynamic concepts, such as moral values, which vary culturally or interpersonally. In this work, we question the current common practice of storing all information in the model parameters and propose the Revision Transformer (RiT) to facilitate easy model updating. The specific combination of a large-scale pre-trained LM that inherently but also diffusely encodes world knowledge with a clear-structured revision engine makes it possible to update the model's knowledge with little effort and the help of user interaction. We exemplify RiT on a moral dataset and simulate user feedback demonstrating strong performance in model revision even with small data. This way, users can easily design a model regarding their preferences, paving the way for more transparent AI models.
1 Introduction
Large-scale pretraining can leave models biased and difficult for end users to correct, while moral values vary across people and over time. RiT adds an interactive, non-parametric revision engine so users can update model behavior with feedback.
- Uncurated large-scale pretraining can lead models to reflect unwanted societal biases.Source: §1 · p. 1
- End users often lack the resources to filter training data or retrain models, and existing approaches do not readily handle subjective, data-scarce moral knowledge.Source: §1 · p. 1
- Moral values vary interpersonally and over time, so dataset-based fine-tuning may not satisfy diverse demands and values may need regular updating.Source: §1 · p. 1
- RiT extends a parametric transformer with a non-parametric revision engine that stores user-provided corrective knowledge in an external corpus.Source: §1 · p. 1
- Earlier retrieval work combined parametric LLMs with factual corpora, whereas this work targets non-factual knowledge and data-sparse settings.Source: §1 · p. 2
- The authors report strong model-revision performance with small data and further improvement from iterative user feedback.Source: §1 · p. 2
2 Related work
Prior revision approaches either update model parameters or add retrieved context, while RiT centers interactive, non-parametric revision for sparse and subjective settings. Its design combines retrieval with user control over the revision information.
- Parameter fine-tuning and training from scratch can revise model knowledge, but retraining is costly and parameter-efficient alternatives still require data and hyperparameter search.Source: §2 · p. 2
- Neuron-based knowledge editing [26] and related methods are described as limited to factual knowledge already seen during training.Source: §2 · p. 2
- Retrieval-augmented approaches add context to influence inference, but RiT avoids end-to-end retrieval training and targets sparse non-factual revision rather than large factual corpora.Source: §2 · p. 2
- Prior moral in-context work assumes indefinite memory and context length, while rule-extraction approaches lack human-in-the-loop personalization.Source: §2 · p. 2
- Interactive revision research includes explanation-based user revision and iterative fine-tuning, whereas RiT revises information in its external engine through user interaction.Source: §2 · pp. 2–3
- RiT resembles case-based reasoning by using similar cases to guide output, with users revising those cases in sparse, subjective settings.Source: §2 · p. 3
3 Method
RiT retrieves relevant entries from an external revision corpus and prepends them to a query before a base LLM generates an answer. Users can add or revise corpus information when context is missing or predictions are misaligned.
- The revision engine embeds the query and corpus entries, retrieves entries above a similarity threshold, and prepends the selected context to the query without parameter training.Source: §3 · p. 3
- The threshold t sets a minimum similarity for retrieval, while c controls how many of the most similar neighboring contexts are selected as the prefix.Source: §3 · p. 3
- For classification, RiT maps generated text to a predetermined class because its sequence-to-sequence output space is the vocabulary across generated tokens.Source: §3 · p. 3
- When no relevant context is found, RiT signals uncertainty and requests feedback; users can also revise the corpus after an incorrect prediction.Source: §3 · pp. 3–4
- A first iteration using 7.5% of the training set already revises the model, and another iteration on non-contextualized examples improves performance further.Source: Table 1 · p. 4
4 Experiments
Experiments on the Commonsense Norm Bank compare a fixed T0 model with a revision engine, using simulated user feedback to test model revision and alignment with user values.
4 Experiments
- Experiments use T0 and the CNB agreement section, simulate user feedback from training and validation data, and evaluate generation with NLG and polarity metrics.The test set is reserved for evaluation; the metrics include BLEU, ROUGE, METEOR, sentence-embedding cosine similarity, and binary polarity accuracy.Source: §4 · p. 4, §4.1 · p. 4
4.1 Aligning Moral Norms via RiT
- RiT improves accuracy by more than 20% over the baseline and more than doubles several NLG scores without parameter training.The baseline is T0; the revision engine is filled with training data.Source: §4.1 · p. 4
- Both Bloom-based RiT variants beat their respective baselines, while RiTT0 and RiTBloom3b outperform Bloom176b despite having fewer parameters.The table caption identifies Table 2 as an evaluation of NLG scores on the CNB test set across models.Source: §4.1 · pp. 4–5, Table 2 · p. 5
- A revision engine with 29,825 examples—7.5% of the full dataset—performs on par with RiT using all training data.Examples were selected by whether they helped classify the validation set correctly.Source: §4.1 · p. 5
- Raising the similarity threshold reduces the number of contextualized examples and eventually brings RiT performance toward the baseline, trading context relevance against coverage.Overall performance combines contextualized examples with no-context examples that retain baseline performance.Source: §4.1 · p. 5, Figure 3 · p. 6
- RiT performance increases on test examples with increasingly similar retrieved context, indicating that relevant context generally benefits performance.Figure 3 examines subsets with context similarity of at least 0.8, 0.85, 0.9, or 0.95.Source: §4.1 · p. 5, Figure 3 · p. 6
- After about 5,000 of 40,000 test examples lack context, simulated user feedback adds 3,000 examples and raises RiT accuracy from 86% to 91%.The experiment uses uncertainty about missing context to prompt another interactive iteration and update the revision engine.Source: §4.1 · pp. 5–6
5 Discussion
RiT treats external revision as an enhancement to, not a replacement for, pretrained models, with some values reserved for parametric updates. The discussion also considers relevance filtering, user effort, accessibility, and failure modes.
5 Discussion
- RiT should complement pretrained models with external revision, while values that should not be overwritten may require parametric updates.The pretrained model provides a lower-bound baseline; the authors propose considering both external and internal revision modules.Source: §5 · p. 6
- RiT makes revision engines replaceable, but without an API, end users still need skills to access LLMs.The authors connect editable engines with accessibility and describe retrieved context and transformer attention weights as transparency aids.Source: §5 · p. 6
- Malicious users could submit highly relevant but polarity-inverted revisions, so detection mechanisms for malicious interaction remain necessary.The authors characterize such mechanisms as an active research area requiring consideration.Source: §5 · p. 6
- A 63% baseline means revision requests are needed only for misclassified cases, though higher thresholds increase user effort and performance depends on that trade-off.The authors describe RiT as especially powerful when only a few revisions are needed.Source: §5 · p. 6
- Interpersonal variation in moral values limits how fully one dataset's fine-tuning can satisfy a population's diverse demands.The discussion frames individual revision as useful where only a few changes are needed.Source: §5 · p. 6
- Table 3 compares outcomes across context relevance: relevant entries revise the model, while the model can identify relevance even without a threshold for less-direct context.That filtering offers some robustness, but ignoring context in the wrong situation can leave unwanted biased output.Source: Table 3 · p. 7, §5 · p. 7
- When relevant context is selected but the answer remains incorrect, the LLM itself needs revision; missing corpus entries and retrieval errors call for different fixes.The discussion associates missing context with user interaction, retrieval failures with improving retrieval, and generation failures with parameter updates.Source: §5 · p. 7
- A correct justification can still receive the wrong declarative answer label on negative questions, exposing a semantic gap in NLG evaluation.The authors therefore combine n-gram, task-specific polarity-accuracy, and semantic-focused scores, while cautioning that individual score values merit care.Source: §5 · p. 7
6 Conclusion
RiT adds a revision engine to transformer LLMs, and the authors report that iterative user corrections can align model behavior with user values with little effort. They identify cultural- and language-specific revision as future evaluation directions.
6 Conclusion
- RiTs iteratively incorporate user corrections with little effort and help align model behavior with user values.The authors report that the framework helps correct model behavior.Source: §6 · p. 7
- RiT extends transformer models with a revision engine as an alternative to storing all information in model parameters.Source: §6 · p. 7
- Future work could evaluate separate revision engines for cultural subgroups and assess revision across different languages.The authors also describe a possible hub for users to customize or collaboratively design revision engines.Source: §6 · p. 7
Related papers
This paper cites
- Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer2019
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks2020
- Parameter-Efficient Transfer Learning for NLP2019
- Multitask Prompted Training Enables Zero-Shot Task Generalization2021
- Language Models as Knowledge Bases?2019
- Right for the Right Reasons: Training Differentiable Models by Constraining their Explanations2017