Safe and Responsible Large Language Model : Can We Balance Bias Reduction and Language Understanding in Large Language Models?
Raza, Shaina, Bamgbose, Oluwanifemi, Ghuge, Shardul, Tavakol, Fatemeh, Reji, Deepak John, Bashir, Syed Raza
–arXiv.org Artificial Intelligence
Large Language Models (LLMs) have significantly advanced various NLP tasks. However, these models often risk generating unsafe text that perpetuates biases. Current approaches to produce unbiased outputs from LLMs can reduce biases but at the expense of knowledge retention. In this research, we address the question of whether producing safe (unbiased) outputs through LLMs can retain knowledge and language understanding. In response, we developed the Safety and Responsible Large Language Model (\textbf{SR}$_{\text{LLM}}$), an LLM that has been instruction fine-tuned on top of already safe LLMs (e.g., Llama2 or related) to diminish biases in generated text. To achieve our goals, we compiled a specialized dataset designed to train our model in identifying and correcting biased text. We conduct experiments, both on this custom data and out-of-distribution test sets, to show the bias reduction and knowledge retention. The results confirm that \textbf{SR}$_{\text{LLM}}$ outperforms traditional fine-tuning and prompting methods in both reducing biases and preserving the integrity of language knowledge. The significance of our findings lies in demonstrating that instruction fine-tuning can provide a more robust solution for bias reduction in LLMs. We have made our code and data available at \href{https://github.com/shainarazavi/Safe-Responsible-LLM}{Safe-LLM}.
arXiv.org Artificial Intelligence
Jul-1-2024
- Country:
- North America
- United States > California
- Santa Clara County > Palo Alto (0.04)
- Canada > Ontario
- Toronto (0.04)
- United States > California
- Europe > Ireland
- Munster > County Limerick
- Limerick (0.04)
- Leinster > County Dublin
- Dublin (0.04)
- Munster > County Limerick
- Asia
- Singapore (0.04)
- Indonesia > Bali (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- North America
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Energy (1.00)
- Law (0.67)
- Government (0.67)
- Media > News (0.46)
- Health & Medicine > Therapeutic Area
- Psychiatry/Psychology (0.67)
- Technology: