"Oops, What Did I Just Say?": Testing and Fixing Unethical Advice from Large Language Models with a Suggest-Critique-Reflect Pipeline"Oops, Did I Just Say That?" Testing and Repairing Unethical Suggestions of Large Language Models with Suggest-Critique-Reflect Process
AI summary
The paper proposes a framework for testing and fixing unethical advice from large language models, comprising the ETHICSSUITE test suite, the Suggest-Critique-Reflect (SCR) automatic judgment pipeline, and the OTF scheme, which can fix in real time at moderate cost under black-box API settings. The authors used ETHICSSUITE to test 7 commonly used models including ChatGPT and GPT-4, finding a total of 109,824 instances of unethical advice; after applying OTF to Llama-13B and ChatGPT, effective fixes were generated for a considerable portion of the unethical advice.