mlsanityData to 7 Oct 2026

Intrinsic Self-correction for Enhanced Morality: An Analysis of Internal Mechanisms and the Superficial Hypothesis

arXiv 2407.15286 ↗First posted 21 Jul 2024cs.CLcited by 15

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) are capable of producing content that perpetuates stereotypes, discrimination, and toxicity. The recently proposed moral self-correction is a computationally efficient method for reducing harmful content in the responses of LLMs. However, the process of how injecting self-correction instructions can modify the behavior of LLMs remains under-explored. In this paper, we explore the effectiveness of moral self-correction by answering three research questions: (1) In what scenarios does moral self-correction work? (2) What are the internal mechanisms of LLMs, e.g., hidden states, that are influenced by moral self-correction instructions? (3) Is intrinsic moral self-correction actually superficial in terms of reduced immorality in hidden states? We argue that self-correction can help LLMs find a shortcut to more morally correct output, rather than truly reducing the immorality stored in hidden states. Through empirical investigation with tasks of language generation and multi-choice question answering, we conclude:(i) LLMs exhibit good performance across both tasks, and self-correction instructions are particularly beneficial when the correct answer is already top-ranked; (ii) The morality levels in intermediate hidden states are strong indicators as to whether one instruction would be more effective than another; (iii) Based on our analysis of intermediate hidden states and task case studies of self-correction behaviors, we are first to propose the hypothesis that intrinsic moral self-correction is in fact superficial.

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 40 of its 54 references that are in the map. First posted on arXiv 21 Jul 2024.

Builds on

40 of 54 references.

References · 40

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  4. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  5. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  6. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  7. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
  8. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  9. 2016Understanding intermediate layers using linear classifier probescited by 1,279
  10. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
  11. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
  12. 2023LIMA: Less Is More for Alignmentcited by 1,080
28 more
  1. 2022Mass-Editing Memory in a Transformercited by 976
  2. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
  3. 2023Teaching Large Language Models to Self-Debugcited by 963
  4. 2024SimPO: Simple Preference Optimization with a Reference-Free Rewardcited by 951
  5. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  6. 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
  7. 2021BBQ: A Hand-Built Bias Benchmark for Question Answeringcited by 683
  8. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
  9. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
  10. 2018Gender Bias in Coreference Resolutioncited by 438
  11. 2019Social Bias Frames: Reasoning about Social and Power Implications of Languagecited by 377
  12. 2021Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLPcited by 336
  13. 2022RARR: Researching and Revising What Language Models Say, Using Language Modelscited by 286
  14. 2023The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learningcited by 251
  15. 2023Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategiescited by 236
  16. 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 179
  17. 2021Large Pre-trained Language Models Contain Human-like Biases of What is Right and Wrong to Docited by 178
  18. 2023The Capacity for Moral Self-Correction in Large Language Modelscited by 171
  19. 2023Shepherd: A Critic for Language Model Generationcited by 96
  20. 2023GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problemscited by 88
  21. 2023How Do Transformers Learn In-Context Beyond Simple Functions? A Case Study on Learning with Representationscited by 72
  22. 2021Ethical-Advice Taker: Do Language Models Understand Natural Language Interventions?cited by 46
  23. 2024Break the Breakout: Reinventing LM Defense Against Jailbreak Attacks with Self-Refinementcited by 25
  24. 2024On the Intrinsic Self-Correction Capability of LLMs: Uncertainty and Latent Conceptcited by 16
  25. 2023On the Intersection of Self-Correction and Trust in Language Modelscited by 12
  26. 2024A Survey to Recent Progress Towards Understanding In-Context Learningcited by 12
  27. 2024Interpreting Context Look-ups in Transformers: Investigating Attention-MLP Interactionscited by 11
  28. 2024The Heuristic Core: Understanding Subnetwork Generalization in Pretrained Language Modelscited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 9; 2026: 3.

15 papers.

Sort:

By area: