What does guardrail mean?

In artificial intelligence & machine learning, guardrail means a rule or check placed around a model to stop harmful, off-topic or unsafe inputs and outputs, for example a filter that blocks personal data in answers.

ˈɡɑːrdreɪlnounCommon term

Artificial Intelligence & Machine Learning vocabulary · Bias, Safety and Responsible AI

In Turkish: güvenlik bariyeri, koruma mekanizması

Also used in: Software Engineering

How it is used

Usually plural: teams add, test and tune guardrails on both the input and the output side. Guardrails can be simple rules, classifier models or a second LLM that checks the first. The word comes from the metal barriers along roads.

Example sentences

  1. The guardrails block any answer that contains a credit card number.

  2. After launch we retuned the guardrails, because they were also blocking normal medical questions.

Common collocations

  • add guardrails
  • safety guardrails
  • input and output guardrails
  • guardrail model

More terms: Bias, Safety and Responsible AI

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: