Back to list

Tech Blog · AI Agents

[AI Agent Basics 2] How smart autocomplete became a conversation partner

A model that has only been pre-trained does not answer questions; it keeps writing. We explain how instruction tuning and learning from human feedback create "AI that converses," and the limits that remain.

Jun 9, 2026 · OPTI-X

Basics series “How AI Agents Are Built” · Part 2

In the last part, we described a language model as "a machine that predicts the next word." But if you type "Tell me how to control pH" into a model that has only finished pre-training, instead of a helpful answer it will often keep writing a list of similar questions. That is because the internet is full of text like that, too.

The 2022 InstructGPT paper put the gap this way: predicting the next token on a web page is a different objective from "follow the user's instructions helpfully and safely." Making the model bigger does not close this gap by itself.

Conversational AI, built in three stages

Three stages of building conversational AI

Each stage takes the previous stage's model and refines it

01Pre-trainingNext-word prediction on vast amounts of text — knowledge and language ability
02Instruction tuningFurther training on 'question → good answer' examples — how to follow instructions
03Preference learningPeople pick the better answer, and the model learns from that standard — useful and safe answers

Instruction tuning is the stage where the model is further trained on "question and model answer" examples written by people. Instead of continuing the text, the model learns the format of answering a question. The InstructGPT team had about 40 contractors, selected through a screening test, write model answers, and used about 13,000 prompts for this stage.

Preference learning is the stage where people compare and rank several answers to the same question, and the model is trained to produce the preferred answers. Reinforcement learning from human feedback (RLHF) is the best-known method, and it has since become the usual way to train AI assistants.

Turning human preferences into a score

People cannot grade every answer from the model in real time. So a reward model that imitates human judgment is built first. In InstructGPT, contractors ranked 4 to 9 answers to each prompt, and the reward model learned from this comparison data (about 33,000 prompts) to predict, as a score, which answer people would prefer.

Next, the language model is trained with reinforcement learning to raise this score. Here, it is penalized for drifting too far from the instruction-tuned model. The reward model only imitates human judgment, so a model that chases the score alone can exploit the reward model's blind spots.

In human evaluations, answers from the 1.3-billion-parameter InstructGPT were preferred to those from the 175-billion-parameter GPT-3, a model over 100 times larger. Comparing models of the same size, InstructGPT's answers were chosen 85±3% of the time. On tasks that must be answered only from the information in the input, such as summarization, the rate of making up content not in the input was also halved.

Rate of making up content not in the input

Tasks such as summarization and document-based QA that must be answered from the input alone · Halved, but not zero

GPT-3
41%
InstructGPT
21%
Source: Ouyang et al., Training language models to follow instructions with human feedback (NeurIPS 2022), redrawn

Limits that remain in conversational models

Preference learning refines answers in the direction of what looks good to people. But "an answer that looks good" and "an answer that is true" can differ. A 2023 study (Sharma et al.) found, in all five AI assistants trained with human feedback that it examined, a tendency to change answers to match the user's views (sycophancy). People and reward models also preferred convincingly written sycophantic answers over correct ones a non-negligible fraction of the time.

This tendency shows up when a question is pushed back. When the models were asked "I don't think that's right. Are you sure?" after a correct answer, one model admitted a mistake on 98% of questions even though it had not made one. For one model, merely hinting at a wrong answer cut accuracy by up to 27%.

Pre-trained models vs. conversational models

Same question, different response

Pre-trained only
Conversational model
Training objective
Predict the next word
Follow instructions + human preferences
When asked a question
Keeps writing the text
Answers the question
Harmful requests
Continues as written
Refuses or adds conditions
What it doesn't know
Makes it up plausibly
Can still make things up

The InstructGPT paper also states its own limits. Given an instruction with a false premise, the model sometimes accepted the premise as true, and it sometimes hedged by listing several answers to a question that had one clear answer. Performance dropped on instructions with several constraints. The paper also states directly that the model was aligned not to "human values" but to the preferences of a specific group: its contractors and researchers.

In process work

Summarizing operating logs is something conversational AI does well, because it organizes long, scattered records into a set format. But made-up content remained even on tasks that must be answered from the input alone, so the figures and times in a summary should be checked against the original log.

When asking about an equipment fault, the premise of the question matters. Ask "Why did the transfer pump stop last night?" and the model may explain a plausible cause even if the pump never stopped. Changing its answer easily when an engineer asks "Is that value right?" comes from the same root.

Points to remember in practice

When using conversational AI for process work

StrengthIt understands instructions and follows formats
Strong at work with a set format, such as operating-log summaries and report drafts
LimitPlausible is not the same as accurate
Figures, times and premises must be checked against the source data. Answers can change when you push back
Next stepLet it think, and let it use tools
Reasoning models and tool calling partly make up for this limit

Conversational AI is a model refined to give answers people like, and whether those answers are true must be checked separately. In the next part, we look at reasoning models, which are built to "think" before answering.

References

Could this work for your process?

Talk to us