CounterMoral: Editing Morals in Language Models
Organizations: Department of Computer Science Carleton University
Abstract
Recent advancements in language model technology have significantly enhanced the ability to edit factual information. Yet, the modification of moral judgments, a crucial aspect of aligning models with human values, has garnered less attention. In this work, we introduce CounterMoral, a benchmark dataset crafted to assess how well current model editing techniques modify moral judgments across diverse ethical frameworks. We apply various editing techniques to multiple language models and evaluate their performance. Our findings contribute to the evaluation of language models designed to be ethical.
Figures & tables
| Framework / Metric | FT | LoRA | ROME | SERAC | IKE |
|---|---|---|---|---|---|
| CARE ETHICS | |||||
| Reliability | |||||
| Action Paraphrase | |||||
| Relation Paraphrase | |||||
| Neighbourhood Score | |||||
| DEONTOLOGY | |||||
| Framework / Metric | FT | LoRA | ROME | SERAC | IKE |
|---|---|---|---|---|---|
| CARE ETHICS | |||||
| Reliability | |||||
| Action Paraphrase | |||||
| Relation Paraphrase | |||||
| Neighbourhood Score | |||||
| DEONTOLOGY | |||||
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Framework | Metric | GPT2-XL | Llama-2-7b |
|---|---|---|---|
| Deontology | Reliability | ||
| Action Paraphrase | |||
| Relation Paraphrase | |||
| Neighbourhood Score | |||
| Care Ethics | Reliability | ||
| Action Paraphrase |
| Framework | Metric | Broad Actions | Specific Actions |
|---|---|---|---|
| Care Ethics | Reliability | ||
| Action Paraphrase | |||
| Relation Paraphrase | |||
| Neighbourhood Score | |||
| Deontology | Reliability | ||
| Action Paraphrase |
Language Model Editing
Language model editing changes a model’s knowledge or behavior, or revises its outputs, while aiming to preserve unrelated capabilities.
See all 77 papers