Building Guardrails for Large Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Dong, Yi, Mu, Ronghui, Jin, Gaojie, Qi, Yi, Hu, Jinwei, Zhao, Xingyu, Meng, Jie, Ruan, Wenjie, Huang, Xiaowei
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916264416378880
author Dong, Yi
Mu, Ronghui
Jin, Gaojie
Qi, Yi
Hu, Jinwei
Zhao, Xingyu
Meng, Jie
Ruan, Wenjie
Huang, Xiaowei
author_facet Dong, Yi
Mu, Ronghui
Jin, Gaojie
Qi, Yi
Hu, Jinwei
Zhao, Xingyu
Meng, Jie
Ruan, Wenjie
Huang, Xiaowei
contents As Large Language Models (LLMs) become more integrated into our daily lives, it is crucial to identify and mitigate their risks, especially when the risks can have profound impacts on human users and societies. Guardrails, which filter the inputs or outputs of LLMs, have emerged as a core safeguarding technology. This position paper takes a deep look at current open-source solutions (Llama Guard, Nvidia NeMo, Guardrails AI), and discusses the challenges and the road towards building more complete solutions. Drawing on robust evidence from previous research, we advocate for a systematic approach to construct guardrails for LLMs, based on comprehensive consideration of diverse contexts across various LLMs applications. We propose employing socio-technical methods through collaboration with a multi-disciplinary team to pinpoint precise technical requirements, exploring advanced neural-symbolic implementations to embrace the complexity of the requirements, and developing verification and testing to ensure the utmost quality of the final product.
format Preprint
id arxiv_https___arxiv_org_abs_2402_01822
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Building Guardrails for Large Language Models
Dong, Yi
Mu, Ronghui
Jin, Gaojie
Qi, Yi
Hu, Jinwei
Zhao, Xingyu
Meng, Jie
Ruan, Wenjie
Huang, Xiaowei
Computation and Language
Artificial Intelligence
As Large Language Models (LLMs) become more integrated into our daily lives, it is crucial to identify and mitigate their risks, especially when the risks can have profound impacts on human users and societies. Guardrails, which filter the inputs or outputs of LLMs, have emerged as a core safeguarding technology. This position paper takes a deep look at current open-source solutions (Llama Guard, Nvidia NeMo, Guardrails AI), and discusses the challenges and the road towards building more complete solutions. Drawing on robust evidence from previous research, we advocate for a systematic approach to construct guardrails for LLMs, based on comprehensive consideration of diverse contexts across various LLMs applications. We propose employing socio-technical methods through collaboration with a multi-disciplinary team to pinpoint precise technical requirements, exploring advanced neural-symbolic implementations to embrace the complexity of the requirements, and developing verification and testing to ensure the utmost quality of the final product.
title Building Guardrails for Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2402.01822