Pretraining
Pretraining is the fundamental training phase of an AI model in which it learns on a very large, general data basis. A language model learns to continue texts and thus acquires general language patterns, world knowledge and relationships up to a certain data cutoff.
Pretraining is often followed by further steps such as fine-tuning or RLHF, which align the model with tasks and desired behavior. Company knowledge usually comes not via pretraining but via context or knowledge bases.
Why this matters for you
Pretraining determines what an AI model can fundamentally do and knows, and also what it does not know. Whoever understands this can assess why models have gaps on current topics or your own products and why context, sources and review remain indispensable in everyday work.
Context
In pretraining, a language model learns from very large amounts of text, for example publicly accessible websites, books, specialist texts and code. The task is usually simple: predict the next word in each case. Billions of such predictions give rise to language understanding, world knowledge and general abilities. This step requires enormous computing power and costs nine-figure sums for large models.
Pretraining is followed by further phases, for example post-training with examples of good answers and with human ratings. Only this turns a text completer into a helpful assistant. A model's knowledge ends with the data cutoff of pretraining. Newer information only comes in via web search or documents provided.
Pretraining, fine-tuning or context: what is the difference?
The difference lies in when and how knowledge gets into an AI system. This is important for marketing teams because it determines where you can bring in your company knowledge.
- Pretraining: the model learns once and with great effort from large amounts of general data. It does not know events after the data cutoff.
- Fine-tuning: a pretrained model is adapted to specific tasks or a style using selected examples. This is much smaller but requires good training data and maintenance.
- Alignment: methods such as RLHF train desired behavior, for example helpful and safe answers.
- Context: information is provided with each request, for example via context profiles, knowledge bases or retrieved documents. The method in which suitable documents are retrieved automatically is called retrieval-augmented generation, RAG for short.
For company knowledge, context is usually the fastest and most easily updatable route.
How does the training of a language model work?
Large language models are usually trained in several phases:
- Pretraining: the model learns language and world knowledge from very large, general amounts of text.
- Instruction tuning: it learns from examples to follow instructions and answer questions.
- Alignment with human feedback: ratings by people or sets of rules improve helpfulness and safety.
- Tests and safety checks: the model is checked for weaknesses and risks.
- Application: companies supplement the finished model with their own context, prompts or fine-tuning.
A language model first learns general language patterns before it is adapted to specific tasks.
Typical mistakes
- Considering model knowledge to be current: knowledge ends with the data cutoff of pretraining.
- Planning your own pretraining: for companies this is almost never economical; context and RAG are usually enough.
- Not checking data use: clarify contractually whether your inputs may be used for future training.
Frequently asked questions
How long does the pretraining of a language model take?
Pretraining large language models usually takes weeks to months and runs in parallel on a very large number of specialized chips. Costs and energy consumption are correspondingly high. That is why only a few providers carry out pretraining for large models. Companies use ready-made pretrained models and adapt them via context or fine-tuning.
Is your own pretraining worthwhile for companies?
For marketing teams, practically never. Your own pretraining requires huge amounts of data, a lot of computing power and specialized experts. For company knowledge, brand style and product data, context, knowledge bases and, if necessary, fine-tuning are much cheaper and faster to update. Pretraining remains the business of model providers and large research institutions.
What does the data cutoff mean in pretraining?
The data cutoff, also called knowledge cutoff, is the point in time up to which data flowed into pretraining. The model does not know events after that unless they are provided as context via a web search or documents. For current topics, prices or legal changes, you should therefore never rely solely on the model's knowledge.
Do your prompts flow into the pretraining of future models?
That depends on the provider and your contract. With many offerings for business customers, inputs are not used for training by default; with free or private accounts, this may be different. Check terms of use and settings before entering confidential content, and clarify use with data protection and IT.
What does pretraining mean in AI?
Pretraining is the first and largest training phase of an AI model. In it, the model learns language, relationships and world knowledge from very large, general amounts of data. It is then further adapted for specific tasks, for example to follow instructions.
