Link Search Menu Expand Document
AI Alliance Banner

Edit this page on GitHub

Glossary of Terms

Let’s define the common terms we use. Some of the terms defined here are industry standards, while others are not standard, but they are useful for our purposes.

Table of contents
  1. Glossary of Terms
    1. AI System
    2. Alignment
    3. Annotation
    4. Benchmark
    5. Dataset
    6. Explainability
    7. Evaluation Framework
    8. Evaluator
    9. Hallucination
    10. Model
    11. OODA Loop
    12. Prompt Engineering
    13. Retrieval-Augmented Generation
    14. Token

AI System

Umbrella term for an application or system with AI components, including datasets, models, safety detection and mitigation components, external services, databases for runtime queries, and other application logic that together provide functionality.

Alignment

A general term for how well an AI System’s outputs (e.g., replies to queries) and behaviors correspond to end-user and service provider objectives, including the quality and utility of results, as well as safety requirements. Quality implies factual correctness and utility implies the results are fit for purpose, e.g., a Q&A system should answer user questions concisely and directly, a Python code-generation system should output valid, bug-free, and secure Python code. EleutherAI defines alignment this way, “Ensuring that an artificial intelligence system behaves in a manner that is consistent with human values and goals.” See also the Alignment Forum.

Annotation

External data that complements a Dataset, such as labels that classify individual items.

Benchmark

A methodology or function used for offline evaluation of a model or system for a particular purpose and to interpret the results. It consists of:

  • A set of tests with metrics
  • A summarization of the results

Dataset

A collection of data items used for training, evaluation, etc. Usually, a given dataset has a schema (which may be “this is unstructured text”) and some metadata about provenance, licenses for use, transformations and filters applied, etc.

Explainability

Can humans understand why the system behaves the way that it does in a particular scenario?

Evaluation Framework

An umbrella term for the software tools, runtime services, benchmark systems, etc. used to run different Evaluators to measure AI Systems.

Evaluator

A classifier model or similar tool that can quantify an AI System’s inputs and outputs to detect the presence of risky content, such as hate speech, hallucinations, etc. For our purposes, an evaluator is API compatible for execution within an Evaluation Framework. In general, an evaluator could be targeted towards non-safety needs, such as measuring other aspects of Alignment, model latency and throughput, carbon footprint, etc. Also, a given evaluator could be used at many points in the total AI life cycle, e.g., for a benchmark and an inference-time test.

Hallucination

When a model generates text that seems plausible, but is not factually accurate. Lying is not the right term, because there is no malice intended by the model, which only knows how to generate Tokens; sequences that are plausible, i.e., probabilistically likely.

Model

The software package that has been trained on data for purposes like text generation and classification, including APIs required to deploy and query the model.

OODA Loop

A method of action, where you constantly perform the loop - Observe, Orient, Decide, Act. Originally developed for combat operations, it has been applied in other areas, such as industrial applications, project assessment, etc.

See the References for more information.

Prompt Engineering

Techniques for structuring a natural language query to an AI System (or Model directly) so that you maximize the value of the returned result. The techniques that are most effective will usually depend on components of the system, especially the Model, and often have to be learned experimentally.

See the References for more information.

Retrieval-Augmented Generation

RAG is the first popular design pattern for generative AI-based applications. Based on a user query, datastores are queried for information that is relevant to the query. Relevance is based on a special encoding of the data and a comparison metric that facilitates finding content “similar” to the query. Some portion of the most relevant retrieved content is added as context with the user query to form the final query sent to the model. RAG improves alignment, especially when data is retrieved that is newer than the data used for the last training or tuning run for the underlying models.

See the References for more information.

Token

For language models, the training texts and query prompts are split into tokens, usually whole words or fractions according to a vocabulary of tens of thousands of tokens that can include common single characters, several characters, and “control” tokens (like “end of input”). The rule of thumb is a corpus will have roughly 1.5 times the number of tokens as it will have words.

Next, we explore ai system design concepts as expressed by various expert organizations.