Nvidia’s NeMo Guardrails Make Generative AI Applications More Secure

Applications of AI


Nvidia’s new NeMo Guardrails package for Large Language Models (LLM) helps developers prevent LLM risks such as harmful or offensive content and access to sensitive data. This innovation is of great importance to developers as it provides multiple functions to control the behavior of these models, thereby ensuring a more secure deployment of the models. Specifically, NeMo Guardrails mitigate the risk of LLMs generating harmful or objectionable content, providing an essential layer of protection in an increasingly AI-driven environment.

NeMo Guardrails helps developers mitigate the risks associated with LLMs by providing a number of features to control LLM behavior. This package is built on Colang, a modeling language and runtime developed by Nvidia for conversational AI. “If you have a customer service chatbot designed to talk about your product, you don’t want him answering questions about your competitors,” said Jonathan Cohen, Nvidia’s vice president of applied research. I’m here. “I want to monitor the conversation, and if it does, I’ll change the conversation back to my preferred topic.”

NeMo Guardrail currently supports three broad categories: Topics, Safety and Security. Topic guardrails ensure that conversations stay focused on specific topics. Safety guardrails ensure that interactions with LLM do not result in misinformation, adverse reactions, or inappropriate content. We also enforce policies to provide appropriate responses and prevent AI systems from being hacked. Security guardrails prevent LLM from executing malicious code or calling external applications in a security-threatening manner.

Guardrails provides a sandbox environment that allows developers to freely experiment with AI models without compromising production systems, reducing the risk of generating harmful or offensive content. Additionally, a risk dashboard is provided to consistently track and scrutinize the use of AI models, helping developers identify and mitigate potential risks before they lead to serious problems. In addition, we provide a set of clear policies and guidelines designed to guide the use of AI within your organization.

While NeMo-Guardrails is generally well received, some have expressed caution about its limitations. There are certain limitations and restrictions that developers should be aware of when using this LLM package of his. According to Karl Freund of Cambrian-AI Research, “Guardrails can be circumvented or breached by malicious attackers, exploiting weaknesses in the system to generate harmful or misleading information.” There is a possibility,” he wrote. Jailbreaks, hallucinations, and other issues are also still active research areas, and current systems do not implement full protection.

Other tools exist to ensure safety when working with large language models. For example, the Language Model Query Language (LMQL) is designed to create natural language prompts and is built on Python. Microsoft’s Guidance Framework can also be used to address the issue of LLMs not guaranteeing their output to follow a specific data format.

Nvidia advises that guardrails work best as a second line of defense, suggesting companies developing and deploying chatbots still need to train their models on a set of safeguards with multiple layers. doing.





Source link

Leave a Reply

Your email address will not be published. Required fields are marked *