PrintedImprimé le·aylart.github.io/learn·
CC BY-NC 4.0
From neural networks to large language modelsDes réseaux de neurones aux grands modèles de langue
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
Neurons and layersNeurones et couches
The systems behind much of today’s language technology, including almost all
machine translation systems and chatbots with which you will interact, are
neural networks. The name suggests something brain-like, and the inspiration
is real, but loose: there are some similarities between artificial neural
networks and natural neural networks like our brain, but this does not go
beyond the very basics.
Figure 1. The standard picture of a neural network. Each circle is a unit, each line a weighted connection. Data enters on the left as numbers and comes out on the right as an answer.
The units are organized in layers. An input layer takes in the raw data as
numbers; one or more hidden layers transform it, step by step; an output
layer produces the answer, for example one value per possible category. When
there are many hidden layers, the network is called deep, which is all that
the “deep” in deep learning means (LeCun et al., 2015).
Figure 2. The same input and the same output, once with one hidden layer and once with four. Only the number of hidden layers changes.
Depth is what lets a network build complex patterns out of simple ones. Early
layers pick up simple regularities in the raw input; later layers combine
those into larger ones. In image recognition, the classic illustration, first
edges, then shapes, then faces. For text the same principle applies, with one
catch: a network’s input layer takes numbers, so using one for language
requires a way to encode language as
numbers (see also the Language as numbers module) (voir aussi le module Le langage en nombres).
Figure 3. A schematic, not real network output: simple motifs in the early layers, combinations of them in the middle, closed shapes deeper in.
Les systèmes derrière une bonne partie des technologies langagières
d’aujourd’hui, dont la quasi-totalité des systèmes de traduction automatique et
des agents conversationnels avec lesquels vous interagirez, sont des réseaux de
neurones. Le nom évoque quelque chose de cérébral, et l’inspiration est réelle,
mais lâche : il existe certaines ressemblances entre les réseaux de neurones
artificiels et les réseaux de neurones naturels comme notre cerveau, mais cela
ne va pas au-delà des bases.
Figure 1. L'image habituelle d'un réseau de neurones. Chaque cercle est une unité, chaque trait une connexion pondérée. Les données entrent à gauche sous forme de nombres et la réponse sort à droite.
Les unités sont organisées en couches. Une couche d’entrée reçoit les données
brutes sous forme de nombres ; une ou plusieurs couches cachées les
transforment, étape par étape ; une couche de sortie produit la réponse, par
exemple une valeur par catégorie possible. Quand il y a beaucoup de couches
cachées, on dit que le réseau est profond, et c’est tout ce que veut dire le
« profond » d’apprentissage profond (LeCun et al., 2015).
Figure 2. Les mêmes entrées et les mêmes sorties, une fois avec une couche cachée et une fois avec quatre. Seul le nombre de couches cachées change.
C’est la profondeur qui permet à un réseau de construire des motifs complexes à
partir de motifs simples. Les premières couches relèvent des régularités
simples dans l’entrée brute ; les couches suivantes les combinent en motifs
plus grands. En reconnaissance d’images, l’illustration classique, d’abord des
contours, puis des formes, puis des visages. Pour le texte, le même principe
s’applique, avec une réserve : la couche d’entrée d’un réseau reçoit des
nombres, donc utiliser un réseau pour la langue demande une façon d’encoder la
langue en nombres (see also the Language as numbers module) (voir aussi le module Le langage en nombres).
Figure 3. Un schéma, et non la sortie réelle d'un réseau : des motifs simples dans les premières couches, leurs combinaisons au milieu, des formes fermées plus loin.
Suppose we want a network that tells diamonds, squares and circles
apart.Shapes are a toy task, chosen
for its simplicity and easy visualization. A real network
chooses among far more classes, and its input is rarely anything as tidy as a
drawn shape. The loop is the same either way, which is what lets the example
be this small. That already fixes the shape of its output layer:
one unit per category, one for square, one for circle, one for diamond.
Their scores are turned into percentages that add up to 100, so the three
answers compete, and raising one lowers the others.
A network answers in probabilities from the start. Untrained, they are
essentially random. Given a picture of a diamond and asked what shape it is,
the answer might be something like: square 40%, circle 35%, diamond 25%. Early
in training they can be confidently wrong instead: square 80%, circle 10%,
diamond 10%. The network is then told the right answer, and the
predict-compare-adjust loop of supervised
learning reappears in its neural form (see also the From rules to machine learning chapter, in the Foundations of AI & NLP module) (voir aussi le chapitre Des règles à l'apprentissage automatique, dans le module Fondements de l'IA et du TAL):
the error flows backward through the network, and the connections that pushed
toward square are weakened, the ones that pushed toward diamond
strengthened.
Figure 4. The training loop. The network predicts, the prediction is compared with the label, and the connections are adjusted. Repeated over enough examples, the predictions sharpen.
The decisive difference from a feature-based model is what the network learns
from. A feature-based model needed a human to decide that suffixes and
capitalization matter. A neural network takes raw data (e.g., pixels of
an image, or numerical representations of words), and finds its own
regularities in it, including ones no human would have thought to specify. The
features are learned, and feature engineering disappears. The human work does
not disappear with it: choosing and encoding features used to be most of the
effort of building a system, and the effort now goes into collecting the data,
defining the task and designing the network.
Rosenblatt, F. (1958). The perceptron: A probabilistic model for information storage and organization in the brain. Psychological Review, 65(6), 386-408. https://doi.org/10.1037/h0042519
Un exemple jouet
Supposons que nous voulions un réseau qui distingue les losanges, les carrés et
les cercles.Les formes sont une tâche jouet, choisie pour sa
simplicité et sa facilité de visualisation. Un vrai réseau choisit parmi
beaucoup plus de catégories, et son entrée est rarement aussi nette qu’une forme
dessinée. La boucle est la même dans les deux cas, et c’est ce qui permet à
l’exemple d’être aussi petit. Cela fixe déjà la forme de sa couche de
sortie : une unité par catégorie, une pour carré, une pour cercle, une pour
losange. Leurs scores sont transformés en pourcentages dont la somme fait 100,
si bien que les trois réponses sont en concurrence : en faire monter une fait
descendre les autres.
Un réseau répond en probabilités dès le départ. Sans entraînement, elles sont
essentiellement aléatoires. Si on lui montre l’image d’un losange en lui demandant de
quelle forme il s’agit, la réponse pourrait ressembler à ceci : carré 40 %,
cercle 35 %, losange 25 %. Tôt dans l’entraînement, elles peuvent au
contraire être fausses avec assurance : carré 80 %, cercle 10 %, losange
10 %. On donne ensuite la bonne réponse au réseau, et la boucle prédire,
comparer, ajuster de l’apprentissage supervisé reparaît sous sa forme
neuronale (see also the From rules to machine learning chapter, in the Foundations of AI & NLP module) (voir aussi le chapitre Des règles à l'apprentissage automatique, dans le module Fondements de l'IA et du TAL) : l’erreur remonte à
travers le réseau, les connexions qui poussaient vers carré sont affaiblies,
celles qui poussaient vers losange renforcées.
Figure 4. La boucle d'entraînement. Le réseau prédit, la prédiction est comparée à l'étiquette, et les connexions sont ajustées. Répétée sur assez d'exemples, la boucle affine les prédictions.
La différence avec un modèle fondé sur des attributs
La différence décisive avec un modèle fondé sur des attributs tient à ce à
partir de quoi le réseau apprend. Un tel modèle demandait à une personne de
décider que les suffixes et les majuscules comptent. Un réseau de neurones prend
des données brutes (p. ex. les pixels d’une image, ou des représentations
numériques de mots) et y trouve ses propres régularités, y compris celles que
personne n’aurait pensé à préciser. Les attributs sont appris, et l’ingénierie
des attributs disparaît. Le travail humain ne disparaît pas pour autant : choisir et
encoder les attributs constituait l’essentiel de l’effort de construction d’un
système, et l’effort va désormais à la collecte des données, à la définition de
la tâche et à la conception du réseau.
Rosenblatt, F. (1958). The perceptron: A probabilistic model for information storage and organization in the brain. Psychological Review, 65(6), 386-408. https://doi.org/10.1037/h0042519
Statistical systems are a sort of middle ground: their rules are learnt from
data rather than written by hand, but stay more or less
readable (see also the Four paradigms page, in the Foundations of AI & NLP module) (voir aussi la page Quatre paradigmes, dans le module Fondements de l'IA et du TAL). How readable depends on
the algorithm: a decision tree, a series of questions that leads to an answer,
can be printed and followed, while the weights other algorithms learn cannot
be read that way.
Figure 5. The same verdict reached three ways: rules written by hand, rules learnt from data, and weights learnt from data.
People call neural networks black boxes for this reason, and it
is a property of the approach rather than a defect to be patched later. The
power of the method comes from letting the system find regularities
too numerous and too diffuse for anyone to write down; a representation
humans could read would be a representation humans could have written.
Four consequences follow for anyone who works with these systems:
Behaviour is discovered by testing, not by inspection. The only way to
know how a system handles legal text, or Québécois French, is to try it on
legal text and Québécois French, which is why evaluation is a professional
skill in its own right (see also the Evaluating language technology module) (voir aussi le module L'évaluation des technologies langagières).
Confidence is not self-knowledge. A network reports probabilities, and
they measure how its training data looked, never how much it
“knows” (see also the Reliability of LLM output module) (voir aussi le module Fiabilité des résultats des GML).
Rudin, C. (2019). Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nature Machine Intelligence, 1(5), 206-215. https://doi.org/10.1038/s42256-019-0048-x
Les systèmes statistiques sont une sorte de moyen terme : leurs règles sont
apprises à partir de données plutôt qu’écrites à la main, mais restent plus ou
moins lisibles (see also the Four paradigms page, in the Foundations of AI & NLP module) (voir aussi la page Quatre paradigmes, dans le module Fondements de l'IA et du TAL). Le degré de
lisibilité dépend de l’algorithme : un arbre de décision, une suite de questions qui
mène à une réponse, peut être imprimé et suivi, alors que les poids appris par
d’autres algorithmes ne se lisent pas ainsi.
Figure 5. Le même verdict atteint de trois façons : des règles écrites à la main, des règles apprises des données, et des poids appris des données.
C’est pour cette raison qu’on appelle les réseaux de neurones des boîtes noires,
et c’est une propriété de l’approche plutôt qu’un défaut à corriger plus tard.
La puissance de la méthode vient de ce qu’on laisse le système trouver des
régularités trop nombreuses et trop diffuses pour que quiconque les écrive ;
une représentation lisible par des humains serait une représentation que des
humains auraient pu écrire.
Quatre conséquences en découlent pour qui travaille avec ces systèmes :
Le comportement se découvre en testant, pas en inspectant. La seule façon
de savoir comment un système traite un texte juridique, ou du français
québécois, est de l’essayer sur un texte juridique et sur du français
québécois, et c’est pourquoi l’évaluation est une compétence professionnelle à
part entière (see also the Evaluating language technology module) (voir aussi le module L'évaluation des technologies langagières).
L’assurance n’est pas de la connaissance de soi. Un réseau donne des
probabilités, et elles mesurent à quoi ressemblaient ses données
d’entraînement, jamais ce qu’il « sait » (see also the Reliability of LLM output module) (voir aussi le module Fiabilité des résultats des GML).
Rudin, C. (2019). Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nature Machine Intelligence, 1(5), 206-215. https://doi.org/10.1038/s42256-019-0048-x
Figure 6. Three systems, each built for its task, and one model that is given each task in a prompt.
Decreasing human influence
Each shift took one thing out of the developer’s hands, as the table below
sets out, and the last took the largest: the task itself, which passes to the
person using the model.
Shift
No longer specified by the developer
Still specified by people
Rules to machine learning
the patterns
the task and the features, by the developer, before training
A far simpler interface, so far less specialized users. A prompt is
ordinary text rather than a program, so the person who describes the job
is often the person who used to be a user of someone else’s system. The
line between building a system and using one has moved.
An even larger appetite for data and computation, in place of explicit
knowledge. Each earlier shift already traded knowledge written by people
for data; this one trades the task description itself for more text and
more computation.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Un seul modèle, de nombreuses tâches
Chaque système des trois premiers paradigmes était construit pour une tâche :
un filtre antipourriel trie les courriels, un étiqueteur attribue à chaque mot
sa classe grammaticale, et le système suivant oblige à repartir de zéro, avec
de nouvelles règles, de nouveaux attributs ou de nouvelles données
étiquetées. Un grand modèle de langue est un
réseau de neuronesneural network (NN)réseau de neurones (RNA)machine learningapprentissage automatiqueA machine-learning model composed of interconnected layers of small computational units.Modèle d'apprentissage automatique composé de couches interconnectées de petites unités de calcul. du type que décrit ce
chapitre, entraîné à partir d’exemples comme dans les deuxième et troisième
paradigmes, à ceci près que les exemples sont du texte brut et que la tâche
consiste à prédire le mot suivant (Jurafsky & Martin, 2026). Rien dans cet
entraînement ne nomme une tâche, et une fois entraîné, le même modèle
traduit, résume, dresse la liste des termes d’un texte ou en étiquette les
mots, quand la demande lui est rédigée dans une requête (Brown et al., 2020).
La Figure 6figure 6 compare les deux façons de faire.
Figure 6. Trois systèmes, chacun construit pour sa tâche, et un seul modèle qui reçoit chaque tâche dans une requête.
Une influence humaine qui diminue
Chaque changement a retiré une chose des mains du développeur, comme le
montre le tableau ci-dessous, et le dernier a retiré la plus importante : la
tâche elle-même, qui passe à la personne qui se sert du modèle.
Changement
N’est plus spécifié par le développeur
Reste spécifié par des personnes
Des règles à l’apprentissage automatique
les régularités
la tâche et les attributs, par le développeur, avant l’entraînement
De l’apprentissage automatique à l’apprentissage profond
la tâche et ses données, par le développeur, avant l’entraînement
De l’apprentissage profond aux grands modèles de langue
la tâche
la tâche, par la personne qui se sert du modèle, dans une requête
Les trois changements, et la part du travail que le développeur ne spécifie plus après chacun.
Un grand modèle de langue relève, techniquement, de l’apprentissage profond.
Quatre choses en font pourtant un paradigme à part entière, plutôt qu’une
étape à l’intérieur du troisième :
Une interface bien plus simple, donc des utilisateurs bien moins
spécialisés. Une requête est du texte ordinaire et non un programme, si
bien que la personne qui décrit la tâche est souvent celle qui, auparavant,
se servait du système de quelqu’un d’autre. La frontière entre construire
un système et s’en servir s’est déplacée.
Un appétit encore plus grand pour les données et le calcul, au lieu de
connaissances explicites. Chaque changement précédent troquait déjà des
connaissances écrites par des personnes contre des données ; celui-ci
troque la description même de la tâche contre davantage de texte et de
calcul.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
From words to numbersDes mots aux nombres
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
A number for each wordUn nombre par mot
If words have to become numbers, the obvious first move is a list: a
dictionary with its entries numbered.
Every word now has a number, and the conversion is trivial in both
directions. But, as Figure 1figure 1 shows,
there are three specific issues, where such numbers miss some essential part
of what would make them useful.
Figure 1. Three issues with one number per word: the arithmetic means nothing, near-synonyms land far apart, and the numbers claim an order the words do not have.
Arithmetic on these numbers is meaningless. One plus two is three, so an
angelic (1) ape (2) makes an apple (3)? Any calculation a system
performs on the codes manipulates alphabetical position, which has nothing
to do with what the words mean.
The numbers place related words no closer than unrelated ones. Ardour (4)
and zeal (99,998) are near-synonyms sitting about 99,000 apart, farther
from each other than either is from apple. A translation system needs
exactly the opposite: words with similar meanings should have similar
representations.
A single number per word smuggles in an ordering. 99,999 is bigger than 2,
but zebra is not more of anything than ape. A model fed these codes
risks attaching meaning to the size of the number, where the only thing
behind it is alphabetical order.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Si les mots doivent devenir des nombres, le premier réflexe est d’en faire une
liste : un dictionnaire dont les entrées sont numérotées.
Chaque mot a maintenant un nombre, et la conversion se fait sans effort dans
les deux sens. Mais, comme le montre la Figure 1figure 1,
trois problèmes précis apparaissent, où de tels nombres passent à côté de ce
qui les rendrait utiles.
Figure 1. Trois problèmes d'un nombre par mot : l'arithmétique n'a aucun sens, des quasi-synonymes se retrouvent très éloignés, et les nombres imposent un ordre que les mots n'ont pas.
L’arithmétique sur ces nombres n’a aucun sens. Un plus deux font trois : un
ananas (1) et un ange (2) donneraient donc un animal (3) ? Tout calcul
effectué sur ces codes manipule une position alphabétique, qui n’a rien à
voir avec le sens des mots.
Les nombres ne rapprochent pas les mots apparentés plus que les mots sans
rapport. Ardeur (4) et zèle (99 999) sont des quasi-synonymes séparés par
environ 99 000, plus loin l’un de l’autre que chacun ne l’est d’animal. Un
système de traduction a besoin exactement de l’inverse : des mots de sens
proches devraient avoir des représentations proches.
Un seul nombre par mot introduit un ordre en douce. 99 998 est plus grand que
1, mais un zèbre n’a rien de plus qu’un ananas. Un modèle nourri de ces
codes risque de prêter un sens à la taille du nombre, alors que la seule chose
derrière elle est l’ordre alphabétique.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
VectorsLes vecteurs
The word vector sounds more technical than what it names.
The list [2, 3] can be read as directions on a map: two steps along the
horizontal axis, three along the vertical, and a point is marked. A vector with three
numbers marks a point in three-dimensional space, and nothing stops a vector
from having three hundred numbers; the space can no longer be drawn or
imagined, but the mathematics works the same way.
Figure 2. A vector read as coordinates: the list [2, 3] marks one point in a two-dimensional space.
Points, unlike bare code numbers, have geometry. Two points can be close
together or far apart; a cluster of points forms a group; a direction in the
space can be followed. If each word is placed at a point, then closeness in
the space becomes available to represent closeness in meaning, which a single
number per word had no way to express.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Le mot vecteur a l’air plus technique que ce qu’il désigne.
[2, 3] se lit comme des indications sur une carte : deux pas le long de l’axe
horizontal, trois le long de l’axe vertical, et un point est marqué. Un vecteur
de trois nombres marque un point dans un espace à trois dimensions, et rien
n’empêche un vecteur d’avoir trois cents nombres ; l’espace ne peut alors plus
être dessiné ni imaginé, mais les mathématiques fonctionnent de la même façon.
Figure 2. Un vecteur lu comme des coordonnées : la liste [2, 3] marque un point dans un espace à deux dimensions.
Les points, contrairement à de simples numéros de code, ont une géométrie. Deux
points peuvent être proches ou éloignés ; un ensemble de points forme un
groupe ; une direction peut être suivie dans l’espace. Si chaque mot est placé
en un point, la proximité dans l’espace devient disponible pour représenter la
proximité de sens, ce qu’un seul nombre par mot n’avait aucun moyen d’exprimer.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
One-hot vectorsLes vecteurs 1 parmi n
The first vector representation of words that the field actually used works
like a row of switches with one of them on. Each word in a 100,000-word
vocabulary gets its own position, and is represented as a vector of 100,000
numbers: zeros everywhere, except a single 1 at that word’s position.
The false ordering is gone. No word’s vector is larger than another’s;
zebra is no longer “more” than ape. In the geometry of the space, each
word now owns its own axis, and every pair of words stands at exactly the
same distance, like the corners of a perfectly symmetric figure.
Figure 3. Each word owns an axis, so no word is larger than another and every pair stands at the same distance. Almost the whole vector is zeros.
Exactly the same distance is also the new problem. Ardour is now precisely
as different from zeal as from zebra: the representation contains no
similarity information at all, for anyone. It identifies words the way a
locker number identifies a student, saying nothing about them.
There is a practical objection too. These vectors are enormous, and almost
all of their content is zeros: 100,000 numbers per word, of which one is
informative.
The numbered list crammed every word onto one axis and invented differences;
the one-hot vector gives every word its own axis and erases all resemblance.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
La première représentation vectorielle des mots que le domaine ait réellement
utilisée fonctionne comme une rangée d’interrupteurs dont un seul est allumé.
Chaque mot d’un vocabulaire de 100 000 mots reçoit sa propre position et est
représenté par un vecteur de 100 000 nombres : des zéros partout, sauf un seul
1 à la position de ce mot.
L’ordre trompeur a disparu. Le vecteur d’un mot n’est jamais plus grand que
celui d’un autre ; zèbre n’est plus « plus » qu’ananas. Dans la géométrie de
l’espace, chaque mot possède désormais son propre axe, et chaque paire de mots
se tient exactement à la même distance, comme les sommets d’une figure
parfaitement symétrique.
Figure 3. Chaque mot possède son axe, donc aucun mot n'est plus grand qu'un autre et chaque paire se tient à la même distance. Presque tout le vecteur est fait de zéros.
Cette distance identique est aussi le nouveau problème. Ardeur est maintenant
exactement aussi différent de zèle que de zèbre : la représentation ne
contient aucune information de similarité, pour personne. Elle identifie les
mots comme un numéro de casier identifie un étudiant, sans rien dire de lui.
Il y a aussi une objection pratique. Ces vecteurs sont énormes et leur contenu
est presque entièrement fait de zéros : 100 000 nombres par mot, dont un seul
est informatif.
La liste numérotée entassait tous les mots sur un seul axe et inventait des
différences ; le vecteur 1 parmi n donne à chaque mot son propre axe et efface
toute ressemblance.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Word embeddingsPlongements lexicaux
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
All words equally differentTous les mots à égale distance
Numbers that say how words relate. So far cat is exactly as far from
dog as it is from democracy.
A representation that stays manageable and still says something.
Giving every word its own slot takes tens of thousands of numbers to say one
thing, and all but one of them are zero.
A representation that can change with the sentence.Bank does not mean
the same thing in every sentence it appears in, and one fixed set of numbers
per word cannot follow that.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Ce que les deux chapitres précédents ont établi
L’idée
Ce qu’elle apporte
Ce qu’elle coûte
Un nombre par mot, par ordre alphabétique
Un identifiant
Un ordre et une arithmétique qui ne veulent rien dire
Des coordonnées dans un espace, donc des distances
Rien encore : l’espace reste à construire
Un vecteur 1 parmi n
Une identité sans faux ordre
Toutes les paires à égale distance ; 99 999 zéros par mot
Ce qui manque encore
Des nombres qui disent comment les mots se rapportent. Jusqu’ici, chat
est exactement aussi loin de chien que de démocratie.
Une représentation qui reste maniable et qui dit quelque chose. Donner à
chaque mot sa propre case demande des dizaines de milliers de nombres pour
dire une seule chose, et tous sauf un valent zéro.
Une représentation qui peut changer avec la phrase.Livres ne veut pas
dire la même chose dans toutes les phrases où le mot apparaît, et un seul jeu
de nombres fixe par mot ne peut pas suivre.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Dimensions with meaningDes dimensions qui veulent dire quelque chose
Words as coordinates
Suppose you want to place words in a two-dimensional space. You give the
horizontal axis one meaning and the vertical axis another, then put each word
where it belongs relative to those two meanings. Every word ends up with
coordinates, which is to say a vectorvectorvecteurmachine learningapprentissage automatiqueAn ordered list of numbers.Liste ordonnée de nombres.: here a list of
two numbers, one per axis. Those numbers do more than locate the word. They say
how it stands on each of the two meanings, and how far it is from every other
word in the same space.
Speed and capacity
Figure 1. Two hand-picked dimensions, passenger capacity and speed. Every vehicle gets a vector, and groups form that nobody drew.
The idea is worked out for means of transport in
Figure 1figure 1.
The horizontal axis is passenger capacity and the vertical axis is speed, and
most people would agree on roughly where each vehicle goes. A skateboard scores
low on both: it does not travel fast and it carries one person. A rocket has
maximal speed and more moderate capacity, giving it the vector [0.4, 1.0]. Where
a one-hot vector only identified a word, that pair of numbers says something
about the thing named, and it fixes how far the rocket stands from every other
vehicle in the space.
Placing words this way also makes groups form on their own. Personal transport
gathers on the left, public transport on the right, and the rocket sits apart,
which is where it belongs. Nobody drew those groups; they follow from the
coordinates.
Where the apple goes
So far this looks like a promising way to turn words into lists of numbers that
mean something. Then: where would you put an apple in this space? The
question makes no sense, because speed and capacity say nothing about an apple.
Figure 2. The same two axes, and an apple that neither of them measures.
Two things follow. A space that fits a whole vocabulary needs many more than
two dimensions, since it has to suit everything from skateboard to ardour.
And once there are hundreds of dimensions and tens of thousands of words,
neither the axes nor the positions can be chosen by a person.
Which leaves the question: how can numbers like these be found automatically,
for every word in a vocabulary?
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Les mots comme coordonnées
Supposons que vous vouliez placer des mots dans un espace à deux dimensions.
Vous donnez un sens à l’axe horizontal et un autre à l’axe vertical, puis vous
posez chaque mot là où il se situe par rapport à ces deux sens. Chaque mot se
retrouve avec des coordonnées, c’est-à-dire un vecteurvectorvecteurmachine learningapprentissage automatiqueAn ordered list of numbers.Liste ordonnée de nombres. :
ici une liste de deux nombres, un par axe. Ces nombres font plus que localiser
le mot. Ils disent comment il se situe sur chacun des deux sens, et à quelle
distance il se trouve de tous les autres mots du même espace.
La vitesse et le nombre de passagers
Figure 1. Deux dimensions choisies à la main, le nombre de passagers et la vitesse. Chaque véhicule reçoit un vecteur, et des groupes se forment que personne n'a dessinés.
L’idée est développée pour des moyens de transport dans la
Figure 1figure 1.
L’axe horizontal est le nombre de passagers et l’axe vertical la vitesse, et la
plupart des gens s’entendraient sur la place approximative de chaque véhicule.
La planche est basse sur les deux : elle ne va pas vite et elle transporte une
personne. La fusée a une vitesse maximale et une capacité plus modeste, ce qui
lui donne le vecteur [0,4 ; 1,0]. Là où un vecteur 1 parmi n ne faisait
qu’identifier un mot, cette paire de nombres dit quelque chose de la chose
nommée, et elle fixe la distance entre la fusée et tous les autres véhicules de
l’espace.
Placer les mots de cette façon fait aussi apparaître des groupes d’eux-mêmes.
Le transport individuel se rassemble à gauche, le transport collectif à droite,
et la fusée reste à part, là où elle a sa place. Personne n’a dessiné ces
groupes ; ils découlent des coordonnées.
Où placer la pomme
Jusqu’ici, voilà une manière prometteuse de transformer des mots en listes de
nombres qui veulent dire quelque chose. Puis : où placeriez-vous une pomme dans
cet espace ? La question n’a aucun sens, parce que la vitesse et le nombre de
passagers ne disent rien d’une pomme.
Figure 2. Les deux mêmes axes, et une pomme que ni l'un ni l'autre ne mesure.
Deux conséquences. Un espace qui accueille un vocabulaire entier a besoin de
bien plus de deux dimensions, puisqu’il doit convenir à tout, de planche à
ardeur. Et dès qu’il y a des centaines de dimensions et des dizaines de
milliers de mots, ni les axes ni les positions ne peuvent être choisis par une
personne.
Reste la question : comment trouver automatiquement de tels nombres, pour
chaque mot d’un vocabulaire ?
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
The company a word keepsLa compagnie que tient un mot
Five blanks
Suppose you are given five fragments of text, each with one word missing:
have a ___ as pet
pet the ___ of the
and the ___ purrs loudly
walk your ___ on a leash
does the ___ love music
Which words could fill the blank? Cat goes into the first three without any
trouble; the leash makes you hesitate. Dog goes into the pet, the petting and
the leash, and fails at the purring. The last fragment takes any of them, which
is why it tells you so little. So the two words share most of their contexts,
and the ones they do not share are exactly the ones you would expect: a cat
purrs, a dog is walked.
Now try snake. It fits have a ___ as pet, and after that it gets harder: a
snake does not purr, and a snake on a leash is a very big stretch. Snake
shares one or two contexts with cat and dog and not the rest. A word like
democracy fits none of the five.
Not only whether a word can fill a blank counts, but how often it does.
Cat turns up before purrs far more often than after walk your, and a
system that counts contexts in a large collection of text sees that difference
directly.
Figure 3. Similar words fill similar blanks, and how often they do is the part that counts. Cat and dog share most of their contexts; snake shares far fewer.
What the blanks show
Words with related meanings turn up in similar contexts, and the more two
words’ contexts overlap, the closer their meanings tend to be. Linguists
formulated this in the 1950s, Joos, Harris and Firth among them (Jurafsky &
Martin, 2026), and Firth put it in one sentence: “You shall know a word by the
company it keeps” (Firth, 1957).
Why this suits a machine
The idea is useful for a machine because of what it does not require:
No definitions. Nobody has to say what cat means.
No labels. Nobody has to mark examples by hand.
No hand-picked axes. Nobody chooses the dimensions of the space, or where
each word goes on them.
It does require text, in quantity. Contexts are observable: any large
collection of text shows directly which words surround which. So a system can
build a workable stand-in for meaning just by reading enough text.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Cinq trous
Supposons qu’on vous donne cinq fragments de texte, chacun avec un mot
manquant :
adopter un ___
caresser le ___ du
et le ___ ronronne fort
promener son ___ en laisse
le ___ aime-t-il la musique
Quels mots pourraient remplir le trou ? Chat entre sans peine dans les trois
premiers ; la laisse fait hésiter. Chien entre dans l’adoption, la caresse et
la laisse, et échoue sur le ronronnement. Le dernier fragment accepte n’importe
lequel des trois, et c’est pourquoi il vous apprend si peu. Les deux mots
partagent donc la plupart de leurs contextes, et ceux qu’ils ne partagent pas
sont exactement ceux qu’on attendrait : un chat ronronne, on promène un chien.
Essayez maintenant serpent. Il va avec adopter un ___, et ensuite, cela se
complique : un serpent ne ronronne pas, et un serpent en laisse, c’est
vraiment tiré par les cheveux. Serpent partage un ou deux contextes avec
chat et chien, et pas le reste. Un mot comme démocratie ne remplit
aucun des cinq.
Il ne suffit pas qu’un mot puisse remplir un trou : la fréquence à laquelle
il le fait compte aussi. Chat précède ronronne bien plus souvent
qu’il ne suit promener son, et un système qui compte les contextes dans un
grand ensemble de textes voit cette différence directement.
Figure 3. Des mots semblables remplissent des trous semblables, et la fréquence est la part qui compte. Chat et chien partagent la plupart de leurs contextes ; serpent en partage bien moins.
Ce que montrent les trous
Les mots dont le sens est apparenté apparaissent dans des contextes semblables,
et plus les contextes de deux mots se recoupent, plus leurs sens ont tendance à
être proches. Des linguistes l’ont formulé dans les années 1950, Joos, Harris
et Firth parmi eux (Jurafsky et Martin, 2026), et Firth l’a résumé en une
phrase : « You shall know a word by the company it keeps » (Firth, 1957).
Pourquoi cela convient à une machine
L’idée est utile à une machine par ce qu’elle n’exige pas :
Aucune définition. Personne n’a à dire ce que chat veut dire.
Aucune annotation. Personne n’a à marquer des exemples à la main.
Aucun axe choisi à la main. Personne ne choisit les dimensions de
l’espace, ni la place de chaque mot sur celles-ci.
Il faut en revanche du texte, en quantité. Les contextes sont observables :
n’importe quel grand ensemble de textes montre directement quels mots
entourent quels autres. Un système peut donc se construire un substitut
utilisable du sens simplement en lisant assez de texte.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Embeddings learned from textDes plongements appris à partir de textes
Every property of these vectors contrasts with the one-hot representation:
Short instead of vocabulary-sized. Typically 100 to 300 dimensions rather
than one per word.
Dense instead of sparse. Every position has a value other than zero,
where a one-hot vector is almost all zeros.
Distance means something.Cat and dog end up close, snake farther,
democracy elsewhere entirely, because their contexts imposed it
during training.
Figure 4. The same word in the two representations. The learned vector is short and dense, and no single one of its values can be read on its own.
No readable axes
The example with our means of transport showed axes that were interpretable:
speed and capacity. The learned dimensions are not. They do not correspond to
any nameable property, and looking at one value tells you nothing. In this
representation a word’s meaning is the whole pattern of all its values
together, and only comparisons between whole vectors are meaningful.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Mikolov, T., Chen, K., Corrado, G., & Dean, J. (2013a). Efficient Estimation of Word Representations in Vector Space. arXiv preprint arXiv:1301.3781 (ICLR 2013 Workshop Track). https://arxiv.org/abs/1301.3781
Pennington, J., Socher, R., & Manning, C. (2014). GloVe: Global Vectors for Word Representation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP). https://doi.org/10.3115/v1/D14-1162
Court, dense, et des distances qui veulent dire quelque chose
Chaque propriété de ces vecteurs contraste avec la représentation 1 parmi n :
Court plutôt que long comme le vocabulaire. Typiquement de 100 à 300
dimensions, plutôt qu’une par mot.
Dense plutôt que creux. Chaque position contient une valeur non nulle,
là où un vecteur 1 parmi n est presque entièrement fait de zéros.
La distance veut dire quelque chose.Chat et chien se retrouvent
proches, serpent plus loin, démocratie tout à fait ailleurs, parce que
leurs contextes l’ont imposé pendant l’entraînement.
Figure 4. Le même mot dans les deux représentations. Le vecteur appris est court et dense, et aucune de ses valeurs ne se lit isolément.
Des axes illisibles
L’exemple des moyens de transport montrait des axes interprétables : la vitesse
et le nombre de passagers. Les dimensions apprises ne le sont pas. Elles ne
correspondent à aucune propriété nommable, et regarder une seule valeur ne dit
rien. Dans cette représentation, le sens d’un mot est le motif complet de
toutes ses valeurs prises ensemble, et seules les comparaisons entre vecteurs
entiers ont un sens.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Mikolov, T., Chen, K., Corrado, G., & Dean, J. (2013a). Efficient Estimation of Word Representations in Vector Space. arXiv preprint arXiv:1301.3781 (ICLR 2013 Workshop Track). https://arxiv.org/abs/1301.3781
Pennington, J., Socher, R., & Manning, C. (2014). GloVe: Global Vectors for Word Representation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP). https://doi.org/10.3115/v1/D14-1162
Arithmetic with meaningsDe l'arithmétique avec des sens
When you take the vector for king, subtract the vector for man and add the
vector for woman, the point you land on is nearest the word queen (Mikolov
et al., 2013b). Nothing in the training aimed at this. It falls out of the geometry:
the displacement from man to king encodes something like royalty, and
applying that same displacement to woman arrives near queen.
Click the drawing, or a line below, to build it up stage by stage.Cliquez sur le dessin, ou sur une ligne ci-dessous, pour le construire étape par étape.
Figure 5. Subtracting man from king leaves the crown, and adding woman to the crown arrives at queen.
One direction among many
The royalty direction is one of many. Mikolov et al. (2013b) tested the pattern
systematically on grammatical relations, a thousand questions each for
comparatives (good is to better as rough is to rougher), plurals (year
is to years) and verb tense (see is to saw as return is to returned),
and found it there too. Encyclopedic relations behave the
same way, a country and its capital among them (Jurafsky & Martin, 2026). The
axes are still unreadable. The meaning is in the directions between whole
vectors, and those can be looked for after the fact.
Figure 6. A grammatical relation and an encyclopedic one, each a direction that every pair shares.
Carnegie Mellon’s browser demo does exactly that. The three screenshots below
were taken from it on 9 September 2026, and the demo can change. They are dense, and
a click opens each one larger.
Figure 7. The space projected onto two directions named by words: intelligence and empathy. The axes were chosen after training, not built into it. Figure 8. Three analogies on the demo's word2vec vectors. Canada is to moose as UK is to deer, Montreal is to cold as Miami is to hot, Quebec is to French as Flanders is to Flemish. Each analogy is typed in words above and as vector arithmetic below, and the two forms return the same word.
The same arithmetic on stereotypes
The arithmetic works on stereotypes too. In embeddings trained on Google News
articles, man is to computer programmer as woman is to homemaker, and
occupation words divide along a gender direction the same way king and
queen divide along a royalty one (Bolukbasi et al., 2016).
Figure 9. The same demo, on the same word2vec vectors. Man is to king as woman is to queen, the textbook analogy. Then man is to strong as woman is to weak, and man is to handsome as woman is to beautiful.
No programmer decided to put woman further from doctor and closer to
nurse. The bias comes from the text: the vectors record how the words are
used across millions of sentences, and people wrote those sentences. The method
is working as designed. The consequences reach everything built on embeddings
since (see also the Bias chapter, in the Reliability of LLM output module) (voir aussi le chapitre Biais, dans le module Fiabilité des résultats des GML).
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Mikolov, T., Yih, W., & Zweig, G. (2013b). Linguistic Regularities in Continuous Space Word Representations. Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. https://aclanthology.org/N13-1090/
Quand on prend le vecteur de roi, qu’on en soustrait le vecteur de homme
et qu’on y ajoute le vecteur de femme, le point où l’on arrive a pour plus
proche voisin le mot reine (Mikolov et al., 2013b). Rien dans l’entraînement ne visait ce
résultat. Il découle de la géométrie : le déplacement de homme vers roi
encode quelque chose comme la royauté, et appliquer ce même déplacement à
femme arrive près de reine.
Click the drawing, or a line below, to build it up stage by stage.Cliquez sur le dessin, ou sur une ligne ci-dessous, pour le construire étape par étape.
Figure 5. Soustraire homme de roi laisse la couronne, et ajouter femme à la couronne arrive à reine.
Une direction parmi bien d’autres
La direction de la royauté est l’une parmi bien d’autres. Mikolov et al.
(2013b) ont testé ce motif de façon systématique sur des relations
grammaticales, mille questions chacune pour les comparatifs (good est à
better ce que rough est à rougher), les pluriels (year est à years)
et le temps des verbes (see est à saw ce que return est à returned), et
il s’est confirmé. Les relations encyclopédiques se comportent
de la même manière, dont celle d’un pays et de sa capitale (Jurafsky et Martin,
2026). Les axes restent illisibles. Le sens est dans les directions entre
vecteurs entiers, et celles-ci peuvent se chercher après coup.
Figure 6. Une relation grammaticale et une relation encyclopédique, chacune une direction que toutes les paires partagent.
La démonstration en ligne de Carnegie Mellon fait exactement cela. Les trois
captures ci-dessous en viennent, prises le 9 septembre 2026, et la démonstration peut
changer. Elles sont denses ; un clic ouvre chacune en plus grand.
Figure 7. L'espace projeté sur deux directions nommées par des mots : l'intelligence et l'empathie. Les axes ont été choisis après l'entraînement, ils n'y étaient pas intégrés. Figure 8. Trois analogies sur les vecteurs word2vec de la démonstration. Canada est à moose ce que UK est à deer, Montreal est à cold ce que Miami est à hot, Quebec est à French ce que Flanders est à Flemish. Chaque analogie est saisie en mots au-dessus et en arithmétique vectorielle au-dessous, et les deux formes renvoient le même mot.
La même arithmétique sur les stéréotypes
L’arithmétique fonctionne aussi sur les stéréotypes. Dans des plongements
entraînés sur des articles de Google News, man est à computer programmer ce
que woman est à homemaker, et les noms de métiers se répartissent selon une
direction de genre exactement comme roi et reine se répartissent selon une
direction de royauté (Bolukbasi et al., 2016).
Figure 9. La même démonstration, sur les mêmes vecteurs word2vec. Man est à king ce que woman est à queen, l'analogie des manuels. Puis man est à strong ce que woman est à weak, et man est à handsome ce que woman est à beautiful.
Aucun programmeur n’a décidé d’éloigner woman de doctor et de la rapprocher
de nurse. Le biais vient des textes : les vecteurs enregistrent la manière
dont les mots sont employés à travers des millions de phrases, et ce sont des
personnes qui ont écrit ces phrases. La méthode fonctionne comme prévu. Les
conséquences touchent tout ce qui a été construit sur des plongements
depuis (see also the Bias chapter, in the Reliability of LLM output module) (voir aussi le chapitre Biais, dans le module Fiabilité des résultats des GML).
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Mikolov, T., Yih, W., & Zweig, G. (2013b). Linguistic Regularities in Continuous Space Word Representations. Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. https://aclanthology.org/N13-1090/
The limits of static vectorsLes limites des vecteurs statiques
Three limitations
Figure 10. One form carrying two senses, and one set of words in two orders. A fixed vector per word can tell neither pair apart.
New words get nothing
An embedding model has one vector for each word that occurred in its training text, so a word
coined last year, a rare technical term or a typo has no vector and no
representation at all. Morphologically rich languages make this worse, since
their productive compounds and inflections produce forms no training corpus
contains. Modern systems dissolve the problem by working with pieces of words
instead (see also the Tokenization chapter, in the Language as numbers module) (voir aussi le chapitre Jetonisation, dans le module Le langage en nombres).
One vector averages every sense
Bank is a financial institution in I deposited money at the bank and a
strip of riverside in we picnicked on the river bank. A single vector for
bank has to serve both sentences, so it lands somewhere between finance and
geography, a compromise that is wrong everywhere. It is not even a fair
compromise: the vector is an average over occurrences, so it sits nearest
whichever sense is commonest in the training text, and the rarer sense is
served worst. Translation feels this early, since choosing between rive and
banque is exactly a decision about which sense is active.
Order is invisible
The dog follows Jean and Jean follows the dog contain the same words and do
not describe the same walk, so any representation built by combining fixed
word vectors struggles to tell them apart. Meaning depends on arrangement, and
per-word vectors have nowhere to put arrangement.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Trois limites
Figure 10. Une forme pour deux sens, et un même ensemble de mots dans deux ordres. Un vecteur fixe par mot ne distingue ni l'une ni l'autre paire.
Les mots nouveaux n’obtiennent rien
Un modèle de plongements a un vecteur pour chaque mot rencontré à
l’entraînement : un mot forgé l’an dernier, un terme technique rare ou une
coquille n’a donc aucun vecteur et aucune représentation. Les langues à
morphologie riche aggravent la situation, puisque leurs composés et leurs
flexions productives produisent des formes qu’aucune base d’apprentissage ne
contient. Les systèmes modernes dissolvent le problème en travaillant sur des
morceaux de mots (see also the Tokenization chapter, in the Language as numbers module) (voir aussi le chapitre Jetonisation, dans le module Le langage en nombres).
Un seul vecteur fait la moyenne de tous les sens
Livres désigne une monnaie dans j’ai changé mille livres et des ouvrages
dans j’ai emprunté trois livres. Un vecteur unique pour livres doit servir
aux deux phrases : il atterrit donc quelque part entre la finance et la
lecture, un compromis qui a tort partout. Ce n’est même pas un compromis
équitable : le vecteur est une moyenne sur les occurrences, il se place donc au
plus près du sens le plus fréquent dans les textes d’entraînement, et c’est le
sens le plus rare qui est le plus mal servi. La traduction s’en aperçoit tôt,
puisque choisir entre pounds et books est exactement une décision sur le
sens actif.
L’ordre est invisible
Jean suit le chien et le chien suit Jean contiennent les mêmes mots et ne
décrivent pas la même promenade ; toute représentation construite en combinant
des vecteurs de mots fixes a donc du mal à les distinguer. Le sens dépend de
l’agencement, et des vecteurs par mot n’ont nulle part où mettre l’agencement.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Contextual embeddingsPlongements contextuels
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
One word, many vectorsUn mot, plusieurs vecteurs
Three sentences, one word
Take three sentences with bank in them:
I deposited money at the bank.
We picnicked on the river bank.
The plane will bank left.
You would translate the word three different ways: banque, rive, virer.
A fixed embedding gives all three the same vector.
Figure 1. One vector per occurrence: the three senses land in three places, and the point where the fixed vector sat is left empty.
A vector per occurrence
A contextual embedding sides with the translator. Instead of storing one
finished vector per word, the model computes a vector for each occurrence, at
the moment of use, from the whole sentence around it:
the bank beside deposited and money comes out near the vocabulary of
finance;
the one beside river and picnicked, near geography;
the one after will, in verb territory.
Same word, three vectors, each shaped by its company. Models that work this
way arrived in the late 2010s, and ELMo was the landmark (Peters et al., 2018).
Nobody lists the senses of bank or writes a rule to pick one. The senses
simply stop being merged, because there is no single vector left for them to
be merged into.
One consequence is easy to miss. A word no longer has “its vector”, the kind
you could print in a table. It has a vector in each sentence, so the question
“what does the model think bank means?” only has answers of the form “here,
in this sentence”. Word meaning in isolation, the thing a dictionary records,
has quietly left the system.
Figure 2. On the left, one row per word, a table you can look up. On the right, no table: each occurrence of bank is given a vector in its own sentence, and the two are not the same.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Mikolov, T., Chen, K., Corrado, G., & Dean, J. (2013a). Efficient Estimation of Word Representations in Vector Space. arXiv preprint arXiv:1301.3781 (ICLR 2013 Workshop Track). https://arxiv.org/abs/1301.3781
Peters, M. E., Neumann, M., Iyyer, M., Gardner, M., Clark, C., Lee, K., et al. (2018). Deep Contextualized Word Representations. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers). https://doi.org/10.18653/v1/N18-1202
Trois phrases, un seul mot
Prenons trois phrases contenant bank :
I deposited money at the bank.
We picnicked on the river bank.
The plane will bank left.
Vous traduiriez le mot de trois façons différentes : banque, rive, virer.
Un plongement fixe donne le même vecteur aux trois.
Figure 1. Un vecteur par occurrence : les trois sens atterrissent en trois endroits, et le point où se trouvait le vecteur fixe reste vide.
Un vecteur par occurrence
Un plongement contextuel donne raison à la traductrice ou au traducteur. Au
lieu de conserver un vecteur tout fait par mot, le modèle calcule un vecteur pour
chaque occurrence, au moment de l’usage, à partir de toute la phrase qui
l’entoure :
le bank voisin de deposited et de money ressort près du vocabulaire de
la finance ;
celui qui voisine avec river et picnicked, près de la géographie ;
celui qui suit will, du côté des verbes.
Même mot, trois vecteurs, chacun façonné par sa compagnie. Les modèles qui
fonctionnent ainsi arrivent à la fin des années 2010, et ELMo en est le jalon
(Peters et al., 2018).
Personne ne dresse la liste des sens de bank ni n’écrit de règle pour en
choisir un. Les sens cessent simplement d’être fusionnés, parce qu’il ne reste
aucun vecteur unique dans lequel les fusionner.
Une conséquence passe facilement inaperçue. Un mot n’a plus « son vecteur »,
celui qu’on pourrait imprimer dans un tableau. Il a un vecteur dans chaque
phrase, si bien que la question « que pense le modèle du sens de bank ? »
n’admet que des réponses de la forme « ici, dans cette phrase ». Le sens d’un
mot hors contexte, ce que consigne un dictionnaire, a discrètement quitté le
système.
Figure 2. À gauche, une rangée par mot, un tableau consultable. À droite, aucun tableau : chaque occurrence de bank reçoit un vecteur dans sa propre phrase, et les deux ne sont pas les mêmes.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Mikolov, T., Chen, K., Corrado, G., & Dean, J. (2013a). Efficient Estimation of Word Representations in Vector Space. arXiv preprint arXiv:1301.3781 (ICLR 2013 Workshop Track). https://arxiv.org/abs/1301.3781
Peters, M. E., Neumann, M., Iyyer, M., Gardner, M., Clark, C., Lee, K., et al. (2018). Deep Contextualized Word Representations. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers). https://doi.org/10.18653/v1/N18-1202
Reading in both directionsLire dans les deux sens
Before or after
Where does the word that settles the ambiguity sit? Sometimes before the
ambiguous word: in fishing from the bank is prohibited, fishing has settled
the sense by the time bank arrives. Sometimes after it: in the bank issued
new regulations, the deciding word only comes once bank has been read.
Figure 3. The word that settles an ambiguity comes before it in one sentence and after it in the other. A model reading strictly left to right has only half of that context.
Reading both ways
ELMo already used both sides, but shallowly: one model read the sentence left
to right, a second read it right to left, and their outputs were joined at the
end, so the two directions were never combined during training (Devlin et al., 2019).
BERT is the model that put the two together.ELMo and BERT set a
fashion, and the acronyms that followed were bent to land on Sesame Street
characters: ERNIE, Grover, Big Bird.
Figure 4. Every token of the sentence, on both sides of the gap, feeds the position where the word is missing, and the model restores it from all of them.
BERT reported new best results on eleven language-processing tasks, and this
methodology became the standard: pretrain one model on raw text, then fine-tune
it for each task. For translation, where the
whole source text is there before any output is produced, reading it in both
directions is the natural design.
What it costs
Two things.
Computation. A fresh vector per occurrence, from the whole sentence, costs
far more than looking up a stored one, so these models need serious hardware.
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers). https://doi.org/10.18653/v1/N19-1423
Peters, M. E., Neumann, M., Iyyer, M., Gardner, M., Clark, C., Lee, K., et al. (2018). Deep Contextualized Word Representations. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers). https://doi.org/10.18653/v1/N18-1202
Avant ou après
Où se trouve le mot qui lève l’ambiguïté ? Parfois avant le mot ambigu : dans
fishing from the bank is prohibited, fishing a déjà fixé le sens quand
bank arrive. Parfois après lui : dans the bank issued new regulations, le
mot décisif ne vient qu’une fois bank lu.
Figure 3. Le mot qui lève une ambiguïté vient avant elle dans une phrase et après elle dans l'autre. Un modèle qui lit strictement de gauche à droite n'a que la moitié de ce contexte.
Lire dans les deux sens
ELMo utilisait déjà les deux côtés, mais superficiellement : un modèle lisait
la phrase de gauche à droite, un second la lisait de droite à gauche, et leurs
sorties étaient réunies à la fin, si bien que les deux sens ne se rencontraient
jamais pendant l’entraînement (Devlin et al., 2019).
BERT est le modèle qui a réuni les deux.ELMo et BERT ont lancé une
mode, et les acronymes qui ont suivi ont été tordus pour tomber sur des
personnages de Sesame Street : ERNIE, Grover, Big Bird.
BERT a établi de nouveaux records sur onze tâches de traitement
de la langue, et cette méthodologie est devenue la norme : préentraîner un
modèle sur du texte brut, puis l’affiner pour chaque tâche. En traduction, où
tout le texte de départ est là avant qu’aucune sortie ne soit produite, le lire
dans les deux sens est la conception naturelle.
Ce que cela coûte
Deux choses.
Le calcul. Un vecteur neuf par occurrence, à partir de toute la phrase,
coûte bien plus cher que d’en consulter un déjà rangé : ces modèles exigent
donc du matériel sérieux.
Le domaine a jugé que la précision valait les deux.
Sources
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers). https://doi.org/10.18653/v1/N19-1423
Peters, M. E., Neumann, M., Iyyer, M., Gardner, M., Clark, C., Lee, K., et al. (2018). Deep Contextualized Word Representations. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers). https://doi.org/10.18653/v1/N18-1202
Using a pretrained modelUtiliser un modèle préentraîné
Its embeddings can be taken as they are and fed into a model of your own, which
is how ELMo was used. Or the whole model can be kept and fine-tuned: a small
output layer is added and trained on labelled examples for one task, so that
what the model learned about language carries over to it (Devlin et al.,
2019) (see also the Fine-tuning chapter, in the LLM lifecycle module) (voir aussi le chapitre Affinage, dans le module Cycle de vie des GML). Sentiment analysis,
named-entity recognition and question answering were all built that way, and
the task-specific training is small beside the pretraining.
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers). https://doi.org/10.18653/v1/N19-1423
Peters, M. E., Neumann, M., Iyyer, M., Gardner, M., Clark, C., Lee, K., et al. (2018). Deep Contextualized Word Representations. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers). https://doi.org/10.18653/v1/N18-1202
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers). https://doi.org/10.18653/v1/N19-1423
Peters, M. E., Neumann, M., Iyyer, M., Gardner, M., Clark, C., Lee, K., et al. (2018). Deep Contextualized Word Representations. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers). https://doi.org/10.18653/v1/N18-1202
TokenizationJetonisation
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
What are tokens?Qu'est-ce qu'un jeton ?
Text cut into tokens
Explanations of language models often say word: a vector for each word, the
next word predicted. That is a simplification.
Click the drawing, or a line below, to build it up stage by stage.Cliquez sur le dessin, ou sur une ligne ci-dessous, pour le construire étape par étape.
Figure 1. The same sentence read three ways. The token split and IDs are the real output of OpenAI's o200k_base tokenizer (checked 29 August 2026).
Cutting a text into tokens is called tokenization.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Un texte découpé en jetons
Les explications des modèles de langue disent souvent mot : un vecteur par
mot, la prédiction du mot suivant. C’est une simplification.
Click the drawing, or a line below, to build it up stage by stage.Cliquez sur le dessin, ou sur une ligne ci-dessous, pour le construire étape par étape.
Figure 1. La même phrase lue de trois façons. Le découpage en jetons et les identifiants sont la sortie réelle du segmenteur o200k_base d'OpenAI (vérifiée le 29 août 2026).
Découper un texte en jetons s’appelle la jetonisation.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Click the drawing, or a line below, to build it up stage by stage.Cliquez sur le dessin, ou sur une ligne ci-dessous, pour le construire étape par étape.
Figure 2. From your sentence to the vectors the model works on. The split shown is real o200k_base output (tiktokenizer.vercel.app, checked 29 August 2026).
Spaces belong to the word that follows
The spaces are inside the tokens. In this tokenizer a space belongs to the word
that follows it, which is why two of the boxes carry one and the first does
not. The same word is therefore a different token at the start of a line and in
the middle of a sentence, and a text already cut on its spaces is counted
differently.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Click the drawing, or a line below, to build it up stage by stage.Cliquez sur le dessin, ou sur une ligne ci-dessous, pour le construire étape par étape.
Figure 2. De votre phrase aux vecteurs sur lesquels le modèle travaille. Le découpage montré est la sortie réelle d'o200k_base (tiktokenizer.vercel.app, vérifiée le 29 août 2026).
Les espaces appartiennent au mot qui suit
Les espaces sont à l’intérieur des jetons. Dans ce segmenteur, une espace
appartient au mot qui la suit, ce qui explique que deux des cases en portent
une et que la première n’en porte pas. Un même mot est donc un jeton différent
au début d’une ligne et au milieu d’une phrase, et un texte déjà découpé sur
ses espaces se compte autrement.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Why not simply use words or characters?Pourquoi ne pas simplement prendre les mots ou les caractères ?
Vocabulary
Every model has a fixed list of tokens, chosen before training starts and never
added to afterwards. Every text it will ever read or write has to be expressed
using the tokens in that list, and whatever is not in the list cannot be
represented at all.
The list can be very long or very short, and each of the two obvious answers
causes problems.
Figure 3. The two obvious answers, and what is wrong with each. Image generated withImage générée avec Gemini.
One number per word?
Each token would then be a unit that means something. But a list of words runs
into three walls at once.
Rare entries stay poorly learned. A word seen a handful of times in
training gets a vector built from those few occurrences, which is not enough
to place it usefully. Enlarging the list adds entries of exactly that kind.
Every entry costs. The model keeps one row of numbers per entry, and at
every step it scores every entry in the list to decide what comes next. A
longer list means more memory and more computing, for entries that are
mostly rare.
Click the drawing, or a line below, to build it up stage by stage.Cliquez sur le dessin, ou sur une ligne ci-dessous, pour le construire étape par étape.
Figure 4. A vocabulary of whole words: a vector is learned for each word the text contained, and none for the word it never contained.
One number per character?
The list would be tiny, a few hundred entries at most, and nothing would ever
be missing: any text at all can be spelled out, in any language, typos
included. The cost is at the other end. A single character tells you almost
nothing, t on its own means nothing, and a page of text becomes a very
long run of them, as the character row of
Figure 1figure 1 shows.
The model would have to rebuild every word from scratch, every time one occurred.
Pieces in between
New words are mostly made of familiar pieces, and that is the way out. You can
read antibacterial without having seen it before, because anti-, bacteri
and -al are old acquaintances. A vocabulary of pieces, some of them whole
words and some fragments, keeps the common words whole and can still spell out
anything at all, down to single characters in the worst case.
Figure 5. The same phrase represented with four different types of vocabulary, rated for the size of the list, the risk of a word falling outside it, and how much a single token tells you.
Brysbaert, M., Stevens, M., Mandera, P., & Keuleers, E. (2016). How Many Words Do We Know? Practical Estimates of Vocabulary Size Dependent on Word Definition, the Degree of Language Input and the Participant's Age. Frontiers in Psychology, 7, 1116. https://doi.org/10.3389/fpsyg.2016.01116
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Le vocabulaire
Chaque modèle a une liste fixe de jetons, choisie avant le début de
l’entraînement et jamais complétée ensuite. Tout texte qu’il lira ou écrira
doit s’exprimer avec les jetons de cette liste, et ce qui n’y figure pas ne
peut pas être représenté du tout.
Cette liste peut être très longue ou très courte, et chacune des deux réponses
évidentes pose des problèmes.
Figure 3. Les deux réponses évidentes, étiquetées en anglais, et ce qui ne va pas avec chacune. Image generated withImage générée avec Gemini.
Un numéro par mot ?
Chaque jeton serait alors une unité qui veut dire quelque chose. Mais une liste
de mots se heurte à trois murs à la fois.
Les entrées rares restent mal apprises. Un mot vu une poignée de fois à
l’entraînement reçoit un vecteur construit sur ces quelques occurrences, ce
qui ne suffit pas à le placer utilement. Agrandir la liste ajoute des entrées
exactement de ce genre.
Chaque entrée coûte. Le modèle garde une rangée de nombres par entrée,
et à chaque étape il attribue un score à chaque entrée de la liste pour
décider de la suite. Une liste plus longue veut dire plus de mémoire et plus
de calcul, pour des entrées le plus souvent rares.
Click the drawing, or a line below, to build it up stage by stage.Cliquez sur le dessin, ou sur une ligne ci-dessous, pour le construire étape par étape.
Figure 4. Un vocabulaire de mots entiers : un vecteur est appris pour chaque mot que le texte contenait, et aucun pour le mot qu'il n'a jamais contenu.
Un numéro par caractère ?
La liste serait minuscule, quelques centaines d’entrées au plus, et rien ne
manquerait jamais : n’importe quel texte peut s’épeler, dans n’importe quelle
langue, coquilles comprises. Le coût est à l’autre bout. Un caractère isolé ne
dit presque rien, t tout seul ne veut rien dire, et une page de texte devient
une très longue suite de caractères, comme le montre la rangée des caractères
de la
Figure 1figure 1. Le
modèle devrait reconstruire chaque mot depuis le début, chaque fois qu’il en
rencontre un.
Des morceaux entre les deux
Les mots nouveaux sont surtout faits de morceaux familiers, et c’est là que se trouve
l’issue. Vous pouvez lire antibactérien sans l’avoir jamais vu, parce que
anti-, bactér et -ien sont de vieilles connaissances. Un vocabulaire de
morceaux, dont certains sont des mots entiers et d’autres des fragments, garde
les mots courants entiers et peut malgré tout épeler n’importe quoi, jusqu’aux caractères
isolés dans le pire des cas.
Figure 5. La même expression représentée avec quatre types de vocabulaire différents, évalués selon la taille de la liste, le risque qu'un mot en sorte, et ce que dit un seul jeton.
Brysbaert, M., Stevens, M., Mandera, P., & Keuleers, E. (2016). How Many Words Do We Know? Practical Estimates of Vocabulary Size Dependent on Word Definition, the Degree of Language Input and the Participant's Age. Frontiers in Psychology, 7, 1116. https://doi.org/10.3389/fpsyg.2016.01116
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Split the whole corpus into single characters. These are the first
tokens.
Count every pair of adjacent tokens, and merge the most frequent pair
into one new token, everywhere it occurs.
Repeat step 2 until the vocabulary reaches the size you chose.
Learned once, applied forever
Frequent words quickly get their own token (the is one of the first) and
rarer ones stay in a few pieces. Length counts as well as frequency: every
merge joins two neighbours, so a long word needs many of them before it is
whole again, and a short word of the same frequency gets there sooner.
Frequent endings and stems, -ing, -tion, get a token too, because they
recur across thousands of words.
The counting happens once and produces a list of merges. That
list is then applied unchanged to every text the model ever reads, including
yours.
Figure 6. Byte-pair encoding runs twice over in two different senses: once as learning, on a corpus, and then as a lookup applied unchanged to everything the model reads.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Sennrich, R., Haddow, B., & Birch, A. (2016). Neural Machine Translation of Rare Words with Subword Units. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). https://doi.org/10.18653/v1/P16-1162
Découper tout le corpus en caractères isolés. Ce sont les premiers jetons.
Compter chaque paire de jetons voisins, et fusionner la paire la plus
fréquente en un nouveau jeton, partout où elle apparaît.
Répéter l’étape 2 jusqu’à ce que le vocabulaire atteigne la taille choisie.
Appris une fois, appliqué pour toujours
Les mots fréquents obtiennent vite leur propre jeton (le est l’un des
premiers) et les plus rares restent en quelques morceaux. La longueur compte
aussi, en plus de la fréquence : chaque fusion joint deux voisins, un long mot a donc
besoin de nombreuses fusions avant d’être entier de nouveau, et un mot court de
même fréquence y arrive plus tôt. Les terminaisons et les radicaux fréquents,
-ion, -ment, obtiennent aussi un jeton, parce qu’ils reviennent dans des
milliers de mots.
Le comptage n’a lieu qu’une fois et produit une liste de fusions. Cette liste
est ensuite appliquée sans changement à tous les textes que le modèle lira, y
compris les vôtres.
Figure 6. L'encodage par paires d'octets tourne deux fois en deux sens différents : une fois comme apprentissage, sur un corpus, puis comme consultation appliquée sans changement à tout ce que le modèle lit.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Sennrich, R., Haddow, B., & Birch, A. (2016). Neural Machine Translation of Rare Words with Subword Units. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). https://doi.org/10.18653/v1/P16-1162
BPE by handL'encodage par paires d'octets à la main
Counting pairs, one merge at a time
Here the whole training corpus is three words: representation, retention,
repression. They are enough to see what kind of vocabulary comes out.
Start by splitting everything into characters, nine distinct ones in all:
r e p r e s e n t a t i o nr e t e n t i o nr e p r e s s i o n
Count adjacent pairs. The pair r e occurs five times (twice in
representation, once in retention, twice in repression), more than any
other, so it becomes the first new token:
re p re s e n t a t i o nre t e n t i o nre p re s s i o n
Recounting and merging seven more times, io then ion, then the three
merges that build repres and the two that make ent, leaves a corpus in
which no pair occurs more than once:
repres ent a t ionre t ent ionrepres s ion
Click the drawing, or a line below, to build it up stage by stage.Cliquez sur le dessin, ou sur une ligne ci-dessous, pour le construire étape par étape.
Figure 7. Every merge is chosen by one number, the count of the pair. No step consults a dictionary or a morphological analysis.
Morphemes by accident
Seven tokens (repres, ent, a, t, ion, re, s) now cover all three
words. Counting pairs and nothing else found two real English morphemes: ion, the
suffix of all three words, and re, the prefix they share. The other pieces
only look like parts of words. repres joins that prefix to the first letters
of two different roots, present and press, and ent has the form of the
suffix of different but is not a suffix in these words. The result is
repres·ent·a·t·ion, which no linguist would propose as a morphological
analysis of representation.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Sennrich, R., Haddow, B., & Birch, A. (2016). Neural Machine Translation of Rare Words with Subword Units. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). https://doi.org/10.18653/v1/P16-1162
Compter les paires, une fusion à la fois
Ici, tout le corpus d’entraînement tient en trois mots : representation,
retention, repression. Ils suffisent à voir quel genre de vocabulaire en sort.
On commence par tout découper en caractères, neuf caractères distincts en
tout :
r e p r e s e n t a t i o nr e t e n t i o nr e p r e s s i o n
On compte les paires voisines. La paire r e apparaît cinq fois (deux fois
dans representation, une fois dans retention, deux fois dans
repression), plus que toute autre ; elle devient donc le premier nouveau
jeton :
re p re s e n t a t i o nre t e n t i o nre p re s s i o n
En recomptant et en fusionnant sept fois de plus, io puis ion, puis les
trois fusions qui construisent repres et les deux qui font ent, on obtient
un corpus où aucune paire n’apparaît plus d’une fois :
repres ent a t ionre t ent ionrepres s ion
Click the drawing, or a line below, to build it up stage by stage.Cliquez sur le dessin, ou sur une ligne ci-dessous, pour le construire étape par étape.
Figure 7. Chaque fusion est choisie par un seul nombre, le compte de la paire. Aucune étape ne consulte de dictionnaire ni d'analyse morphologique.
Des morphèmes par accident
Sept jetons (repres, ent, a, t, ion, re, s) couvrent maintenant
les trois mots. Compter les paires et rien d’autre a trouvé deux vrais morphèmes
de l’anglais : ion, le suffixe des trois mots, et re, le préfixe qu’ils ont
en commun. Les autres morceaux ressemblent seulement à des parties de mots.
repres joint ce préfixe aux premières lettres de deux racines différentes,
present et press, et ent a la forme du suffixe de different sans être
un suffixe dans ces mots. Le résultat est repres·ent·a·t·ion, qu’aucune
linguiste ne proposerait comme analyse morphologique de representation.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Sennrich, R., Haddow, B., & Birch, A. (2016). Neural Machine Translation of Rare Words with Subword Units. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). https://doi.org/10.18653/v1/P16-1162
Try and compare tokenizersEssayer et comparer des segmenteurs
Paste and look
Any text pasted into a tokenizer comes back split, token by token.
The two screenshots below were taken on 8 September 2026 with GPT-4o selected, and
cropped to the panels that matter. Both the interface and the splits change, so
what you see today may not match them.
Figure 8. One paste, five languages, 180 tokens on GPT-4o. English runs almost word by word; the further down the list, the more the colours cut inside words. Figure 9. The same five paragraphs as the model receives them. The colours above are for you; this is the input.
Expected results
Common English words are one token each, because they were frequent
enough to be merged into a single token.
Rare words and typos shatter.Tokenization itself comes out in two or
three pieces, and htis in more.
Other languages cost more tokens for the same sentence, and the further
a language is from the training text, the more it costs.
One vocabulary per model
The vocabulary behind the splitting is a design decision, and it has grown.
GPT-2 worked with 50,257 tokens (Radford et al., 2019); the tokenizers OpenAI
has released since, in its open
tiktoken library, reach roughly 200,000.
Much of that growth went to non-English text: a recent tokenizer keeps whole
many French and Dutch words that an older one cut into fragments. The differences between
languages shrink without disappearing, and they can be
measured (see also the Consequences of tokenization chapter, in the Language as numbers module) (voir aussi le chapitre Conséquences de la jetonisation, dans le module Le langage en nombres).
Tiktokenizer offers a choice of models, and the most recent OpenAI one it
lists is GPT-4o. That is the tool lagging rather than anything withheld:
tiktoken maps GPT-5 to the same vocabulary as GPT-4o, so the split above is
the current one. Other companies are less open about this than OpenAI.
Anthropic publishes no tokenizer for Claude, only an
endpoint
that reports how many tokens a text costs, so for those models the count can
be checked and the cuts cannot be seen.
Sennrich, R., Haddow, B., & Birch, A. (2016). Neural Machine Translation of Rare Words with Subword Units. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). https://doi.org/10.18653/v1/P16-1162
Coller un texte et regarder
N’importe quel texte collé dans un segmenteur en ressort découpé, jeton par
jeton.
Les deux captures ci-dessous ont été prises le 8 septembre 2026 avec GPT-4o
sélectionné, et rognées sur les panneaux qui comptent. L’interface comme les
découpages changent : ce que vous verrez aujourd’hui peut ne pas y
correspondre.
Figure 8. Un seul collage, cinq langues, 180 jetons sur GPT-4o. L'anglais avance presque mot à mot ; plus on descend dans la liste, plus les couleurs coupent à l'intérieur des mots. Figure 9. Les mêmes cinq paragraphes tels que le modèle les reçoit. Les couleurs au-dessus sont pour vous ; ceci est l'entrée.
Résultats attendus
Les mots anglais courants font un jeton chacun, parce qu’ils étaient
assez fréquents pour être fusionnés en un seul jeton.
Les mots rares et les coquilles éclatent.Tokenization lui-même ressort
en deux ou trois morceaux, et htis en davantage.
Les autres langues coûtent plus de jetons pour la même phrase, et plus
une langue est éloignée des textes d’entraînement, plus elle coûte cher.
Un vocabulaire par modèle
Le vocabulaire derrière le découpage est une décision de conception, et il a
grandi. GPT-2 travaillait avec 50 257 jetons (Radford et al., 2019) ; les
segmenteurs qu’OpenAI a publiés depuis, dans sa bibliothèque ouverte
tiktoken, atteignent environ 200 000.
Une bonne part de cette croissance est allée aux textes non anglais : un
segmenteur récent garde entiers de nombreux mots français et néerlandais qu’un
ancien fragmentait. Les écarts entre les langues se réduisent sans disparaître,
et ils se
mesurent (see also the Consequences of tokenization chapter, in the Language as numbers module) (voir aussi le chapitre Conséquences de la jetonisation, dans le module Le langage en nombres).
Tiktokenizer propose un choix de modèles, et le plus récent d’OpenAI qu’il
énumère est GPT-4o. C’est l’outil qui est en retard, non quelque chose qu’on
retiendrait : tiktoken associe GPT-5 au même vocabulaire que GPT-4o, si bien
que le découpage ci-dessus est celui d’aujourd’hui. D’autres entreprises sont
moins ouvertes qu’OpenAI là-dessus. Anthropic ne publie aucun segmenteur pour
Claude, seulement un
point d’accès
qui indique combien de jetons coûte un texte : pour ces modèles, le compte se
vérifie et les coupes ne se voient pas.
Sennrich, R., Haddow, B., & Birch, A. (2016). Neural Machine Translation of Rare Words with Subword Units. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). https://doi.org/10.18653/v1/P16-1162
Consequences of tokenizationConséquences de la jetonisation
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
The token gap between languagesL'écart de jetons entre les langues
Figure 1. One paste, five languages, at Tiktokenizer with GPT-4o's tokenizer on 8 September 2026. The English line runs almost word by word; the further down the list, the more the colours cut inside words.
The sentences in the capture were written with two uncommon words each, so
the gap they show is at the wide end. A longer text gives a smaller one, and
the vocabulary makes a difference too.
As the results in the table show, English always remains considerably
cheaper. Each new vocabulary has narrowed the gap, but none has closed it: under the 2024
vocabulary French still costs 37% more tokens than English for the same
content, and Shan eight times more. Petrov et al. (2023) also found the gap
in tokenizers that were deliberately trained to be multilingual, so it is
not a quirk of one company’s vocabulary. Nor is the narrowing guaranteed to
continue: OpenAI has not said which vocabulary GPT-6 uses, so as of
11 September 2026 nothing can be measured for it, and a new vocabulary can also
cost more, as Anthropic’s own
documentation
says of the tokenizer introduced with Claude Opus 4.7, which produces about
30% more tokens than its predecessor on the same text.
The word column shows that part of
the French gap is French itself, which takes more words than English to say
the same thing; the rest is the tokenizer cutting those words into more
pieces. German comes out with slightly fewer words than English because of
how the language is built: where English writes a compound as two or three
words, German writes one, and each of those long words is then cut into
several tokens. Chinese and Shan have no word count at all, because both are
written without spaces between words, so the concept of a “word” is too
different there to be
comparable (see also the Tokenization (including an example of the rule-based approach) chapter, in the Classical NLP module) (voir aussi le chapitre La segmentation en unités lexicales (y compris un exemple d'approche à base de règles), dans le module TAL classique).
Consequences of less efficient tokenization
Petrov et al. (2023) name three consequences, each with a direct impact for
users:
A fourth consequence is not in their list, but has since also been proven:
Quality. A token that is a whole word, or a meaningful piece of one,
gives the model a better unit to build its representations on than a
fragment cut by frequency, so a language whose words are broken into
fragments is harder to learn from. Training the same model with
tokenizers that compress text more or less shows the correlation: the
more compact the tokenization, the better the model performs afterwards,
most clearly on generation tasks (Goldman et al., 2024). The same is true
across languages. Ali et al. (2024) trained the same LLM on English,
German, French, Italian and Spanish twice, once with an English-centric
tokenizer and once with a tokenizer built for all five languages. With
the English-centric tokenizer, the model performed markedly worse in the
four other languages, and its training cost up to 68% more, because
every non-English text was longer.
Ali, M., Fromm, M., Thellmann, K., Rutmann, R., Lübbering, M., et al. (2024). Tokenizer Choice For LLM Training: Negligible or Crucial?. Findings of the Association for Computational Linguistics: NAACL 2024, 3907–3924. https://aclanthology.org/2024.findings-naacl.247/
Goldman, O., Caciularu, A., Eyal, M., Cao, K., Szpektor, I., & Tsarfaty, R. (2024). Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performance. Findings of the Association for Computational Linguistics: ACL 2024, 2274–2286. https://aclanthology.org/2024.findings-acl.134/
NLLB Team, Costa-jussà, M. R., Cross, J., Çelebi, O., Elbayad, M., et al. (2024). Scaling neural machine translation to 200 languages. Nature, 630, 841–846. https://doi.org/10.1038/s41586-024-07335-x
Figure 1. Un seul collage, cinq langues, à Tiktokenizer avec le segmenteur de GPT-4o, le 8 septembre 2026. La ligne anglaise avance presque mot par mot ; plus on descend dans la liste, plus les couleurs coupent à l'intérieur des mots.
Les phrases de la capture ont été écrites avec deux mots peu courants chacune,
de sorte que l’écart qu’elles montrent est dans le haut de la fourchette. Un
texte plus long en donne un plus petit, et le vocabulaire fait aussi une
différence.
Comme le montrent les résultats du tableau, l’anglais reste toujours nettement
moins cher. Chaque nouveau vocabulaire a réduit l’écart, mais aucun ne l’a
comblé : sous le vocabulaire de 2024, le français coûte encore 37 % de jetons
de plus que l’anglais pour le même contenu, et le shan huit fois plus. Petrov
et al. (2023) ont aussi trouvé l’écart dans des segmenteurs entraînés
délibérément pour être multilingues ; ce n’est donc pas une particularité du
vocabulaire d’une seule entreprise. Rien ne garantit non plus que le
rétrécissement continue : OpenAI n’a pas dit quel vocabulaire GPT-6 utilise,
si bien qu’au 11 septembre 2026 rien ne peut être mesuré pour lui, et un nouveau
vocabulaire peut aussi coûter plus cher, comme la
documentation
d’Anthropic le dit du segmenteur introduit avec Claude Opus 4.7, qui produit
environ 30 % de jetons de plus que son prédécesseur sur le même texte.
La colonne des mots montre qu’une partie de l’écart du français tient au
français lui-même, qui prend plus de mots que l’anglais pour dire la même
chose ; le reste vient du segmenteur, qui découpe ces mots en plus de
morceaux. L’allemand ressort avec un peu moins de mots que l’anglais à cause
de la façon dont la langue est construite : là où l’anglais écrit un mot
composé en deux ou trois mots, l’allemand en écrit un seul, et chacun de ces
longs mots est ensuite découpé en plusieurs jetons. Le chinois et le shan
n’ont pas de compte de mots du tout, parce que les deux s’écrivent sans espaces
entre les mots, de sorte que la notion de « mot » y est trop différente pour
être comparable (see also the Tokenization (including an example of the rule-based approach) chapter, in the Classical NLP module) (voir aussi le chapitre La segmentation en unités lexicales (y compris un exemple d'approche à base de règles), dans le module TAL classique).
Conséquences d’une jetonisation moins efficace
Petrov et al. (2023) nomment trois conséquences, chacune avec un effet direct
pour les utilisateurs :
Une quatrième conséquence ne figure pas dans leur liste, mais a depuis été
démontrée elle aussi :
La qualité. Un jeton qui est un mot entier, ou un morceau de mot porteur
de sens, donne au modèle une meilleure unité sur laquelle construire ses
représentations qu’un fragment découpé selon la fréquence ; une langue dont
les mots sont brisés en fragments est donc plus difficile à apprendre.
Entraîner le même modèle avec des segmenteurs qui compriment plus ou moins
le texte montre la corrélation : plus la jetonisation est compacte, mieux le
modèle se comporte ensuite, le plus nettement sur les tâches de génération
(Goldman et al., 2024). La même chose vaut d’une langue à l’autre. Ali et
al. (2024) ont entraîné le même GML sur l’anglais, l’allemand, le français,
l’italien et l’espagnol deux fois, une fois avec un segmenteur centré sur
l’anglais et une fois avec un segmenteur construit pour les cinq langues.
Avec le segmenteur centré sur l’anglais, le modèle s’est montré nettement
moins bon dans les quatre autres langues, et son entraînement a coûté
jusqu’à 68 % de plus, parce que chaque texte non anglais était plus long.
Ali, M., Fromm, M., Thellmann, K., Rutmann, R., Lübbering, M., et al. (2024). Tokenizer Choice For LLM Training: Negligible or Crucial?. Findings of the Association for Computational Linguistics: NAACL 2024, 3907–3924. https://aclanthology.org/2024.findings-naacl.247/
Goldman, O., Caciularu, A., Eyal, M., Cao, K., Szpektor, I., & Tsarfaty, R. (2024). Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model Performance. Findings of the Association for Computational Linguistics: ACL 2024, 2274–2286. https://aclanthology.org/2024.findings-acl.134/
NLLB Team, Costa-jussà, M. R., Cross, J., Çelebi, O., Elbayad, M., et al. (2024). Scaling neural machine translation to 200 languages. Nature, 630, 841–846. https://doi.org/10.1038/s41586-024-07335-x
The ratio depends on the type of text, so this one sample cannot be
generalized too much, but the overall pattern is clear.
Sources
NLLB Team, Costa-jussà, M. R., Cross, J., Çelebi, O., Elbayad, M., et al. (2024). Scaling neural machine translation to 200 languages. Nature, 630, 841–846. https://doi.org/10.1038/s41586-024-07335-x
Le ratio dépend du type de texte, si bien que cet échantillon unique ne peut
pas être trop généralisé, mais la tendance d’ensemble est claire.
Sources
NLLB Team, Costa-jussà, M. R., Cross, J., Çelebi, O., Elbayad, M., et al. (2024). Scaling neural machine translation to 200 languages. Nature, 630, 841–846. https://doi.org/10.1038/s41586-024-07335-x
LLMs as next-word predictorsLes GML, prédicteurs du mot suivant
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
Predicting the next wordPrédire le mot suivant
Autocomplete
Type Good into a message on your phone. Your keyboard will suggest the next
words it predicts to be most likely: morning, night, luck.
Add one letter, Good m, and the list narrows to morning. Nothing in the
keyboard understands what you are writing. It is answering a single question:
given the words already typed, which word is likely to come next?
Click Figure 1figure 1 to test the quality of the autocomplete on
my phone.
Figure 1. My own phone, 21 November 2023. One tap of the middle suggestion per stage.
The same question with more behind it
Compare the results from the autocomplete in Figure 1figure 1 with
what we have come to expect from large language models (LLMs) like ChatGPT,
Claude, Gemini, etc.
To understand the difference in quality, consider these important differences:
LLMs are far bigger. The keyboard’s model is around a million adjustable
numbers, small enough to sit on the phone in your hand. LLMs have billions of
them, and they run on hardware you never see.
LLMs learned from far more text, written by other people. Your keyboard
learned from a modest word list and from your own past messages. LLMs are
trained on a very large and varied collection of text. Their vocabulary, their
phrasing and their factual associations all come from there.
LLMs read far more of what you already typed. Where the keyboard uses the
last word or two, they take thousands of tokens of preceding text into
account, so a pronoun twenty sentences back can still affect what they predict
now.
Figure 2. Translation, summary and code come out of the same prediction, asked in different contexts.
Sources
Hard, A., Rao, K., Mathews, R., Ramaswamy, S., Beaufays, F., Augenstein, S., Eichner, H., Kiddon, C., & Ramage, D. (2018). Federated Learning for Mobile Keyboard Prediction. arXiv:1811.03604. https://arxiv.org/abs/1811.03604
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
La saisie automatique
Tapez Good dans un message sur votre téléphone. Votre clavier vous proposera
les mots qu’il juge les plus probables ensuite : morning, night, luck.
Ajoutez une lettre, Good m, et la liste se réduit à morning. Rien dans le
clavier ne comprend ce que vous écrivez. Il répond à une seule question :
étant donné les mots déjà tapés, quel mot a le plus de chances de suivre ?
Cliquez sur Figure 1figure 1 pour tester la qualité
de la saisie automatique sur mon téléphone.
Figure 1. Mon propre téléphone, 21 novembre 2023. Une touche sur la suggestion du milieu par étape.
La même question, avec bien plus derrière
Comparez les résultats de la saisie automatique de
Figure 1figure 1 avec ce que nous avons pris
l’habitude d’attendre des grands modèles de langue (GML) comme ChatGPT, Claude,
Gemini, etc.
Pour comprendre la différence de qualité, voici les différences importantes :
Les GML sont bien plus gros. Le modèle du clavier compte environ un
million de nombres ajustables, assez peu pour tenir dans le téléphone que vous
avez en main. Les GML en ont des milliards, et ils tournent sur du matériel
que vous ne voyez jamais.
Les GML ont appris sur bien plus de texte, écrit par d’autres. Votre
clavier a appris à partir d’une liste de mots modeste et de vos propres
messages. Les GML sont entraînés sur une collection de textes très vaste et
très variée. Leur vocabulaire, leurs tournures et leurs associations
factuelles viennent tous de là.
Les GML lisent bien plus de ce que vous avez déjà tapé. Là où le clavier
se sert du dernier mot ou des deux derniers, ils prennent en compte des
milliers de jetons de texte précédent, si bien qu’un pronom vingt phrases plus
haut peut encore influer sur ce qu’ils prédisent maintenant.
Figure 2. La traduction, le résumé et le code sortent de la même prédiction, posée dans des contextes différents.
Sources
Hard, A., Rao, K., Mathews, R., Ramaswamy, S., Beaufays, F., Augenstein, S., Eichner, H., Kiddon, C., & Ramage, D. (2018). Federated Learning for Mobile Keyboard Prediction. arXiv:1811.03604. https://arxiv.org/abs/1811.03604
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
What makes a model largeCe qui rend un modèle grand
Billions of parameters. Every association the model has picked up, between
words, between a country and its capital, between a question and the shape of
an answer, is stored across those numbers and nowhere else.
GPT is short for Generative Pre-trained Transformer, and each of the three
letters names a property of the model. Radford et al. (2018) introduced the
model the name comes from, describing the method as generative pre-training of a
transformer-based language model; the acronym itself came
into use later.
Figure 3. Each letter of GPT names a property of the model.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Voita, E., Sennrich, R., & Titov, I. (2019). When a good translation is wrong in context: Context-aware machine translation improves on deixis, ellipsis, and lexical cohesion. Proceedings of the 57th Annual Meeting of the ACL, 1198–1212. https://aclanthology.org/P19-1116/
Des milliards de paramètres. Chaque association que le modèle a captée,
entre des mots, entre un pays et sa capitale, entre une question et la forme
d’une réponse, est stockée à travers ces nombres et nulle part ailleurs.
GPT est l’abréviation de Generative Pre-trained Transformer, et chacune des
trois lettres nomme une propriété du modèle. Radford et al. (2018) ont
présenté le modèle dont vient le nom, en décrivant la méthode comme un
préentraînement génératif d’un modèle de langue fondé sur un transformeur ; l’acronyme lui-même s’est répandu plus tard.
Figure 3. Chaque lettre de GPT nomme une propriété du modèle.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Voita, E., Sennrich, R., & Titov, I. (2019). When a good translation is wrong in context: Context-aware machine translation improves on deixis, ellipsis, and lexical cohesion. Proceedings of the 57th Annual Meeting of the ACL, 1198–1212. https://aclanthology.org/P19-1116/
Why prediction needs knowledgePourquoi la prédiction exige des connaissances
Finishing one sentence
Take an unfinished sentence: The bank was closed because…
Before anything sensible can follow, one thing has to be settled: which bank
this is. The financial sense and the riverside sense lead to entirely different
continuations, and the sentence so far does not say which is meant. This is the
ambiguity a single fixed vector per word could not
resolve (see also the Contextual embeddings chapter, in the Language as numbers module) (voir aussi le chapitre Plongements contextuels, dans le module Le langage en nombres).
Settle it on the financial sense, and the continuation still depends on
knowing how businesses work: a bank closes for a public holiday, for
renovations, at the end of the working day, or permanently because it failed.
And even once you have settled the ambiguity and know enough about the world to
suggest a plausible reason, the continuation still has to be grammatical.
The bank was closed because holiday gives the right reason but is not a
sentence.
The knowledge behind one prediction
Predicting well across many different texts means having picked up several
kinds of regularity at once:
grammar, syntax and the conventions of a style;
facts about the world, and the relations between the things named in it;
patterns of reasoning, such as cause and effect or the order events happen in;
how people actually use language, including implication and politeness.
None of this is taught separately. Guessing the next word needs all of it, so it
all comes out of practising the guess.
Too much text to remember
The amount of text involved rules out the simplest explanation, that the model
has the training text stored somewhere. Hoffmann et al. (2022) trained a model
of 70 billion parameters on 1.4 trillion tokens. At
roughly four characters a token, keeping that text would take between five
and six terabytes, more than most laptops can store. The model that came out of it is 70
billion numbers at two bytes each, about 140 gigabytes, which fits on one laptop
with room left over.
Figure 4. The room the training text would take, and the room the model takes, drawn at the ratio between them.
The text itself does not survive that reduction. To predict Paris after the
capital of France is, a model does not need that sentence stored; it needs the
association between France and Paris, which takes far less room and also works in
sentences it has never seen. Karpathy (2023) calls the result a lossy
compression of the training text.
It is a metaphor rather than a technical account, and it makes the right point:
the output stays recognizably derived from text that was never
kept (see also the Pretraining chapter, in the LLM lifecycle module) (voir aussi le chapitre Préentraînement, dans le module Cycle de vie des GML).
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Prenez une phrase inachevée : The bank was closed because…
Avant que quoi que ce soit de sensé puisse suivre, une chose doit être réglée :
de quelle bank il s’agit. Le sens financier et le sens de la rive mènent à des
suites entièrement différentes, et la phrase telle quelle ne dit pas lequel est
visé. C’est l’ambiguïté qu’un vecteur unique et fixe par mot ne pouvait pas
lever (see also the Contextual embeddings chapter, in the Language as numbers module) (voir aussi le chapitre Plongements contextuels, dans le module Le langage en nombres).
Réglez-la sur le sens financier, et la suite dépend encore de ce que l’on sait
du fonctionnement des entreprises : une banque ferme pour un jour férié, pour
des rénovations, à la fin de la journée de travail, ou définitivement parce
qu’elle a fait faillite.
Et même une fois l’ambiguïté réglée et le monde assez bien connu pour proposer
une raison plausible, la suite doit encore être grammaticale.
The bank was closed because holiday donne la bonne raison, mais n’est pas une
phrase.
Les connaissances derrière une prédiction
Bien prédire à travers des textes très divers suppose d’avoir capté plusieurs
sortes de régularités à la fois :
la grammaire, la syntaxe et les conventions d’un style ;
des faits sur le monde, et les relations entre les choses qu’on y nomme ;
des schémas de raisonnement, comme la cause et l’effet ou l’ordre dans lequel
les événements se produisent ;
la façon dont les gens emploient réellement la langue, sous-entendus et
politesse compris.
Rien de tout cela n’est enseigné à part. Prédire le mot suivant exige tout cela,
si bien que tout cela sort de l’exercice répété de la prédiction.
Trop de texte pour s’en souvenir
La quantité de texte en jeu écarte l’explication la plus simple, celle où le
modèle aurait le texte d’entraînement stocké quelque part. Hoffmann et al.
(2022) ont entraîné un modèle de 70 milliards de paramètres sur 1 400
milliards de jetons. À environ quatre caractères par
jeton, conserver ce texte prendrait entre cinq et six téraoctets, plus que ne
contiennent la plupart des ordinateurs portables. Le modèle qui en est sorti,
c’est 70 milliards de nombres à deux octets chacun, environ 140 gigaoctets, qui
tiennent sur un seul portable avec de la place en trop.
Figure 4. La place que prendrait le texte d'entraînement, et la place que prend le modèle, dessinées au rapport qui les sépare.
Le texte lui-même ne survit pas à cette réduction. Pour prédire Paris après
the capital of France is, un modèle n’a pas besoin d’avoir cette phrase en
mémoire : il a besoin de l’association entre la France et Paris, qui prend
bien moins de place et vaut aussi dans des phrases qu’il n’a jamais vues.
Karpathy (2023) appelle le résultat une compression avec perte du texte
d’entraînement.
C’est une métaphore plutôt qu’un compte rendu technique, et elle vise
juste : la sortie reste visiblement dérivée d’un texte qui n’a jamais été
conservé (see also the Pretraining chapter, in the LLM lifecycle module) (voir aussi le chapitre Préentraînement, dans le module Cycle de vie des GML).
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Each token becomes a vector, and those vectors pass through the network’s layers.
The model produces a score for every token in its vocabulary, turned into a probability.
One token is picked, appended to the text, and the process starts again from step 1.
Figure 5. Each turn of the loop produces one token, and the next turn reads it along with everything before it.
Every token gets a probability
The third step is the one that gets misread. Asked to continue My favourite
colour is, the model does not decide on blue. It produces a number for every
single token it knows, tens of thousands of them, and those numbers add up to
one.
Figure 6. Every token in the vocabulary gets a probability, including the ones that make no sense here. The percentages are illustrative.
Most of them are absurd here and get probabilities near zero, but they are all
scored. Choosing one of them is a separate step, taken after the computation,
and the highest number does not always
win (see also the LLMs are non-deterministic page, in the LLM lifecycle module) (voir aussi la page Les GML ne sont pas déterministes, dans le module Cycle de vie des GML).
The Transformer Explainer site shows this step on a small model. In
Figure 7figure 7, the text My favorite day of the week is was continued
with Sunday, which had a probability of 5.73%, although when had 72.28%.
The screenshot was taken on 24 November 2026, and the site may have changed since.
Figure 7. Transformer Explainer, 24 November 2026: the candidate next tokens on the right, with the chosen one in colour. With the settings shown, only the five most likely tokens are kept.
The probabilities belong to the exact text the model was given. Figure 8figure 8
shows eight versions of one sentence on the same site. A capital letter, a
spelling, a colon or one added word changes the probabilities, because each
version is a different sequence of tokens.Not every candidate is the
name of a language. The model continues a text and does not answer a question:
after is, the word the is a likely continuation (my favourite language is
the one…), and after a colon, a line break is.
Click the drawing, or a line below, to build it up stage by stage.Cliquez sur le dessin, ou sur une ligne ci-dessous, pour le construire étape par étape.
Figure 8. Eight versions of one sentence and the five most likely next tokens for each: GPT-2 small on Transformer Explainer, 24 November 2026, at temperature 0.8. In bold, what differs from the first line. Percentages are rounded.
One pass per token
From the outside a model looks as though it reads your question once and writes
the answer. Each token in that answer is a separate pass, and every pass reads
the prompt together with everything the model has already added.
Figure 9. Above, generation as it looks from outside. Below, one pass of the model for every token produced.
An answer of five hundred tokens is five hundred of those passes. Two
consequences to consider:
The output appears steadily rather than all at once, because each token
has to wait for the one before it.
The model has no draft. Each token is fixed before the next is
computed, so the beginning of a sentence cannot be revised once the ending
turns out not to work.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Les quatre étapes de la génération
Votre requête passe par les quatre mêmes étapes à chaque fois.
Chaque jeton devient un vecteur, et ces vecteurs traversent les couches du réseau.
Le modèle produit une note pour chaque jeton de son vocabulaire, convertie en probabilité.
Un jeton est choisi, ajouté au texte, et tout reprend à l’étape 1.
Figure 5. Chaque tour de la boucle produit un jeton, et le tour suivant le lit avec tout ce qui le précède.
Chaque jeton reçoit une probabilité
La troisième étape est celle que l’on interprète mal. Quand on lui demande de
continuer My favourite colour is, le modèle ne décide pas blue. Il produit
un nombre pour chacun des jetons qu’il connaît, des dizaines de milliers, et ces
nombres font 1 au total.
Figure 6. Chaque jeton du vocabulaire reçoit une probabilité, y compris ceux qui n'ont aucun sens ici. Les pourcentages sont donnés à titre indicatif.
La plupart sont absurdes ici et reçoivent des probabilités proches de zéro, mais
ils sont tous notés. En choisir un est une étape distincte, qui a lieu après le
calcul, et le nombre le plus élevé ne l’emporte pas
toujours (see also the LLMs are non-deterministic page, in the LLM lifecycle module) (voir aussi la page Les GML ne sont pas déterministes, dans le module Cycle de vie des GML).
Le site Transformer Explainer montre cette étape sur un petit modèle. Dans la
Figure 7figure 7, le texte My favorite day of the week is a été prolongé
par Sunday, dont la probabilité était de 5,73 %, alors que celle de when
était de 72,28 %. La capture a été prise le 24 novembre 2026, et le site peut avoir
changé depuis.
Figure 7. Transformer Explainer, le 24 novembre 2026 : à droite, les jetons candidats, et en couleur celui qui a été choisi. Avec les réglages affichés, seuls les cinq jetons les plus probables sont conservés. Capture en anglais.
Les probabilités valent pour le texte exact que le modèle a reçu. La
Figure 8figure 8 montre huit versions d’une même phrase sur le même
site. Une majuscule, une graphie, un deux-points ou un mot ajouté changent les
probabilités, parce que chaque version est une suite de jetons
différente.Tous les candidats ne sont pas des noms de langues. Le
modèle prolonge un texte, il ne répond pas à une question : après is, le mot
the est une suite probable (my favourite language is the one…), et après un
deux-points, un saut de ligne l’est aussi.
Click the drawing, or a line below, to build it up stage by stage.Cliquez sur le dessin, ou sur une ligne ci-dessous, pour le construire étape par étape.
Figure 8. Huit versions d'une même phrase et, pour chacune, les cinq jetons suivants les plus probables : GPT-2 small sur Transformer Explainer, le 24 novembre 2026, à une température de 0,8. En gras, ce qui diffère de la première ligne. Les pourcentages sont arrondis.
Un passage par jeton
Vu de l’extérieur, un modèle a l’air de lire votre question une fois et d’écrire
la réponse. Chaque jeton de cette réponse est un passage distinct, et chaque
passage lit la requête en même temps que tout ce que le modèle a déjà ajouté.
Figure 9. En haut, la génération telle qu'elle paraît de l'extérieur. En bas, un passage du modèle pour chaque jeton produit.
Une réponse de cinq cents jetons, ce sont cinq cents de ces passages. Deux
conséquences à retenir :
La sortie arrive progressivement plutôt que d’un seul coup, parce que
chaque jeton doit attendre celui qui le précède.
Le modèle n’a pas de brouillon. Chaque jeton est fixé avant le calcul du
suivant, si bien que le début d’une phrase ne peut plus être révisé quand la
fin se révèle ne pas fonctionner.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Training dataLes données d'entraînement
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
Which languages, and how unevenlyQuelles langues, et dans quelles proportions
The share of English in a corpus
Few developers publish the languages of their training text. Takase and Honda
(2026) estimated the shares for four open models from the text each model
generates when it is given nothing to continue, and set them beside Llama 2,
whose shares its developer published
(Figure 6figure 6).Each model generated 100,000 sequences of
1,000 tokens, and a language identifier classified them. Applied to Llama 2, the
method ranks the languages much as the published figures do. The models tested
are small versions of each family, of 3 to 8 billion parameters.
Figure 6. The languages of the pretraining text of five open models, and of a sample of the web, after Takase and Honda (2026). The shares are estimates, except for Llama 2.
English makes up 73 to 92% of the text of the five models, and French 0.2 to
1.6%.
The web is less lopsided: in the sample, 43% of the pages are in English and
5% in French.
For closed models such as GPT, Claude and Gemini, no such figures are
published.
There are many attempts at broadening language coverage, either in multilingual
models that include more data in other languages, or in models dedicated to a
single other language than English. Qwen3, released in 2025, was trained on text
in 119 languages and dialects, against 29 for the model it replaced (Yang et
al., 2025b).
The models are more English than the web because of decisions, for instance:
which crawls to include;
which quality filters to apply, since a filter trained on English rates other
languages badly;
whether to spend effort on languages that would each add little volume.
Joshi et al. (2020) documented how uneven the resources are across the world’s
languages, with a small number well provided for and the great majority having
almost nothing available at all.
Consequences for translation
A general claim about what “an LLM” can do is not portable across languages. A
model that drafts fluent English may be
noticeably weaker in your other working language, and weaker again in a variety
of that language: Quebec French rather than metropolitan French, a regional
term, a domain where the local usage differs.
Figure 7. Each level is part of the one above it. The reported figures stop above the level a translator works at. Ranges from Takase and Honda (2026).
How large the gap is depends on the language and on the model. On 11,829
questions translated from English into 28 other languages, the five strongest
models tested scored between 4 points lower and 2 points higher in French than
in English, while a smaller model, Phi-4, scored 10 points lower. In Wolof, the
best score was 59%, against 81% in English (Xuan et al., 2025).Models
of 2025, among them GPT-4.1, o4-mini and DeepSeek-R1. The questions test
knowledge and reasoning, not the quality of the language a model writes. They
were translated by a large language model, and professional translators checked
a sample in 15 languages, French among them.
Volume is not the only factor. Models trained on many languages do better in a
well-resourced language than models trained on that language alone, and they
align best between English and the languages closest to it, which puts French in
a comparatively good position on both counts. The benefit has a limit the field
calls the curse of multilinguality: at a fixed model size, supporting more
languages costs each of them (Xu et al., 2025).
This is a reason to test rather than assume. A model’s fluency is not evidence
about its accuracy, and it is least reliable in exactly the places where you
would be checking hardest anyway.
Joshi, P., Santy, S., Budhiraja, A., Bali, K., & Choudhury, M. (2020). The State and Fate of Linguistic Diversity and Inclusion in the NLP World. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. https://aclanthology.org/2020.acl-main.560/
Takase, S., & Honda, U. (2026). Toward LLMs Beyond English-Centric Development. Proceedings of the 15th International Joint Conference on Natural Language Processing and the 5th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics (Volume 2: Short Papers), 830–840. https://aclanthology.org/2026.aacl-short.53/
Xu, Y., Hu, L., Zhao, J., Qiu, Z., Xu, K., Ye, Y., & Gu, H. (2025). A survey on multilingual large language models: corpora, alignment, and bias. Frontiers of Computer Science, 19(11), 1911362. https://doi.org/10.1007/s11704-024-40579-4
Xuan, W., Yang, R., Qi, H., Zeng, Q., Xiao, Y., Feng, A., et al. (2025). MMLU-ProX: A Multilingual Benchmark for Advanced Large Language Model Evaluation. Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, 1513–1532. https://aclanthology.org/2025.emnlp-main.79/
Yang, A., Li, A., Yang, B., et al. (Qwen Team) (2025b). Qwen3 Technical Report. arXiv:2505.09388 (preprint). https://arxiv.org/abs/2505.09388
La part de l’anglais dans un corpus
Peu de développeurs publient les langues de leurs textes d’entraînement. Takase
et Honda (2026) ont estimé ces parts pour quatre modèles à poids ouverts, à
partir du texte que chaque modèle génère quand on ne lui donne rien à
prolonger, et les ont placées à côté de celles de Llama 2, que son développeur
a publiées
(Figure 6figure 6).Chaque modèle a généré 100 000 séquences de
1 000 jetons, classées par un outil d’identification de la langue. Appliquée à
Llama 2, la méthode classe les langues à peu près comme les chiffres publiés.
Les modèles testés sont de petites versions de chaque famille, de 3 à 8
milliards de paramètres.
Figure 6. Les langues du texte de préentraînement de cinq modèles à poids ouverts, et d'un échantillon du Web, d'après Takase et Honda (2026). Les parts sont des estimations, sauf pour Llama 2.
L’anglais représente de 73 à 92 % du texte des cinq modèles, et le français
de 0,2 à 1,6 %.
Le Web est moins déséquilibré : dans l’échantillon, 43 % des pages sont en
anglais et 5 % en français.
Pour les modèles fermés comme GPT, Claude et Gemini, aucun chiffre de ce genre
n’est publié.
Les tentatives d’élargir la couverture linguistique sont nombreuses, soit dans
des modèles multilingues qui intègrent davantage de données dans d’autres langues,
soit dans des modèles consacrés à une seule autre langue que l’anglais. Qwen3,
paru en 2025, a été entraîné sur du texte dans 119 langues et dialectes, contre
29 pour le modèle qu’il remplace (Yang et al., 2025b).
Les modèles sont plus anglais que le Web en raison de décisions, par exemple :
quelles explorations inclure ;
quels filtres de qualité appliquer, puisqu’un filtre entraîné sur de l’anglais
note mal les autres langues ;
s’il vaut la peine de consacrer des efforts à des langues qui n’ajouteraient
chacune que peu de volume.
Joshi et al. (2020) ont documenté à quel point les ressources sont inégales
entre les langues du monde, un petit nombre étant bien pourvues et la grande
majorité n’ayant presque rien de disponible.
Conséquences pour la traduction
Une affirmation générale sur ce que « un GML » sait faire ne se transporte pas
d’une langue à l’autre. Un modèle qui rédige un anglais fluide peut être
nettement plus faible dans votre autre langue de travail, et plus faible encore
dans une variété de cette langue : le français québécois plutôt que le français
hexagonal, un terme régional, un domaine où l’usage local diffère.
Figure 7. Chaque niveau fait partie de celui du dessus. Les chiffres publiés s'arrêtent au-dessus du niveau où travaille un traducteur. Fourchettes tirées de Takase et Honda (2026).
L’ampleur de l’écart dépend de la langue et du modèle. Sur 11 829 questions
traduites de l’anglais vers 28 autres langues, les cinq modèles les plus forts
ont obtenu en français entre 4 points de moins et 2 points de plus qu’en
anglais, alors qu’un modèle plus petit, Phi-4, a obtenu 10 points de moins. En
wolof, le meilleur score était de 59 %, contre 81 % en anglais (Xuan et al.,
2025).Modèles de 2025, dont GPT-4.1, o4-mini et DeepSeek-R1. Les
questions portent sur des connaissances et du raisonnement, non sur la qualité
de la langue qu’un modèle écrit. Elles ont été traduites par un grand modèle de
langue, et des traducteurs professionnels ont vérifié un échantillon dans 15
langues, dont le français.
Le volume n’est pas le seul facteur. Les modèles entraînés sur de nombreuses
langues font mieux dans une langue bien pourvue que les modèles entraînés sur
cette seule langue, et ils alignent le mieux l’anglais et les langues qui en sont
les plus proches, ce qui place le français en assez bonne position sur les deux
plans. L’avantage a une limite que le domaine appelle la malédiction du
multilinguisme : à taille de modèle fixe, prendre en charge plus de langues
coûte à chacune d’elles (Xu et al., 2025).
C’est une raison de tester plutôt que de présumer. La fluidité d’un modèle ne
renseigne pas sur son exactitude, et elle est la moins fiable précisément là où
vous vérifieriez le plus attentivement de toute façon.
Joshi, P., Santy, S., Budhiraja, A., Bali, K., & Choudhury, M. (2020). The State and Fate of Linguistic Diversity and Inclusion in the NLP World. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. https://aclanthology.org/2020.acl-main.560/
Takase, S., & Honda, U. (2026). Toward LLMs Beyond English-Centric Development. Proceedings of the 15th International Joint Conference on Natural Language Processing and the 5th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics (Volume 2: Short Papers), 830–840. https://aclanthology.org/2026.aacl-short.53/
Xu, Y., Hu, L., Zhao, J., Qiu, Z., Xu, K., Ye, Y., & Gu, H. (2025). A survey on multilingual large language models: corpora, alignment, and bias. Frontiers of Computer Science, 19(11), 1911362. https://doi.org/10.1007/s11704-024-40579-4
Xuan, W., Yang, R., Qi, H., Zeng, Q., Xiao, Y., Feng, A., et al. (2025). MMLU-ProX: A Multilingual Benchmark for Advanced Large Language Model Evaluation. Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, 1513–1532. https://aclanthology.org/2025.emnlp-main.79/
Yang, A., Li, A., Yang, B., et al. (Qwen Team) (2025b). Qwen3 Technical Report. arXiv:2505.09388 (preprint). https://arxiv.org/abs/2505.09388
PretrainingPréentraînement
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
What a base model doesCe que fait un modèle de base
Asking a base model a question
When you have a base model complete What is the capital of France? it may
generate Paris, or it may continue the text in different ways, e.g. what is
the capital of Germany?
The model is doing what it was trained for: continue the given text in a
plausible way. And there are certainly online sources where that question is
followed by more questions instead of an answer. To get the model to behave as a
helpful assistant, more training is
needed (see also the Fine-tuning chapter, in the LLM lifecycle module) (voir aussi le chapitre Affinage, dans le module Cycle de vie des GML).
Figure 3. The same sentence, given to a base model and to a fine-tuned one (Yang et al., 2025b). The interfaces already say what each is for: a box that continues text, and a window you talk to. Captured in 2025; these interfaces change.
A base model will drift between registers within one response for the same
reason, continuing a news report, then drifting into something resembling a
forum reply, then into what looks like code, because nothing has told it where a
response ends or which voice to keep.
The knowledge is there and hard to reach
The model has read about French geography many times, and the association is in
its parameters. The difficulty is getting at it reliably: you would have to
write a prompt that makes the answer the most likely continuation, for instance
by starting the text yourself.
The capital of France is
That is a real technique. But since it is not as intuitive, base models are
rarely offered to the public. Most open families publish only an
instruction-following version and only some offer the base model checkpoint as
well: Meta released Llama 3 as both a pretrained and a post-trained version of
the same model (Grattafiori et al., 2024). The models behind ChatGPT and Claude
are not released at all.
Sources
Grattafiori, A., Dubey, A., Jauhri, A., Pandey, A., Kadian, A., et al. (2024). The Llama 3 Herd of Models. arXiv:2407.21783 (preprint). https://arxiv.org/abs/2407.21783
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Yang, A., Li, A., Yang, B., et al. (Qwen Team) (2025b). Qwen3 Technical Report. arXiv:2505.09388 (preprint). https://arxiv.org/abs/2505.09388
Poser une question à un modèle de base
Quand vous faites compléter What is the capital of France? à un modèle de
base, il peut générer Paris, ou prolonger le texte autrement, par exemple
what is the capital of Germany?
Le modèle fait ce pour quoi il a été entraîné : prolonger le texte donné de
façon plausible. Et il existe certainement des sources en ligne où cette question
est suivie d’autres questions plutôt que d’une réponse. Pour que le modèle se
comporte en assistant utile, il faut un entraînement
supplémentaire (see also the Fine-tuning chapter, in the LLM lifecycle module) (voir aussi le chapitre Affinage, dans le module Cycle de vie des GML).
Figure 3. La même phrase, donnée à un modèle de base et à un modèle affiné (Yang et al., 2025b). Les interfaces disent déjà à quoi sert chacun : une boîte qui prolonge du texte, et une fenêtre à laquelle on parle. Captures de 2025, en anglais ; ces interfaces changent.
Un modèle de base passe aussi d’un registre à l’autre au sein d’une même
réponse, pour la même raison : il prolonge un article de presse, puis glisse
vers quelque chose qui ressemble à une réponse de forum, puis vers ce qui
ressemble à du code, parce que rien ne lui a dit où finit une réponse ni quelle
voix garder.
Les connaissances sont là, mais difficiles à atteindre
Le modèle a lu bien des textes sur la géographie de la France, et l’association
est dans ses paramètres. La difficulté est de l’atteindre de façon fiable : il
faudrait écrire une requête qui fasse de la réponse la suite la plus probable,
par exemple en commençant vous-même le texte.
The capital of France is
C’est une vraie technique. Mais comme elle est moins intuitive, les modèles de
base sont rarement offerts au public. La plupart des familles ouvertes ne
publient qu’une version qui suit les instructions, et seules certaines offrent
aussi le point de contrôle du modèle de base : Meta a publié Llama 3 à la fois
en version préentraînée et en version postentraînée du même modèle (Grattafiori
et al., 2024). Les modèles derrière ChatGPT et Claude ne sont pas publiés du
tout.
Sources
Grattafiori, A., Dubey, A., Jauhri, A., Pandey, A., Kadian, A., et al. (2024). The Llama 3 Herd of Models. arXiv:2407.21783 (preprint). https://arxiv.org/abs/2407.21783
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Yang, A., Li, A., Yang, B., et al. (Qwen Team) (2025b). Qwen3 Technical Report. arXiv:2505.09388 (preprint). https://arxiv.org/abs/2505.09388
What machine translation isQu'est-ce que la traduction automatique
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
What a translation system has to doCe qu'un système de traduction doit faire
A memory and a translation system
When you open a segment in a CAT tool and see a pre-filled suggestion for a
translation, that translation has either been retrieved from a translation
memory or been generated by a machine translation system
(Figure 1figure 1).
Figure 1. The same sentence sent to a translation memory and to a machine translation system.
If translation were replacing each word with its equivalent, a bilingual
dictionary would be a translation system. Figure 2figure 2 shows two of the ways that fails.
Figure 2. Word for word, an English sentence into French, and the same sentence in English and in Japanese. The Japanese example is from Jurafsky and Martin (2026).
Eight kinds of difference between languages and cultures defeat the
dictionary.
Difference
Example
Consequence for a system
Word order
English He wrote a letter to a friend; Japanese tomodachi ni tegami-o kaita, word for word friend to letter wrote
the words have to be moved, and sometimes the whole sentence rebuilt
One word, several words
English bass is Spanish lubina (the fish) or bajo (the instrument); German has Wand (inside) and Mauer (outside) for wall
a sense has to be chosen from the context
What is left unsaid
Spanish Mostró su hallazgo a un descifrador ambulante has no subject; English needs He showed his find to a wandering decoder
a word the target grammar requires has to be supplied, and one it does without dropped
A different construction
English I am hungry, with an adjective; French j’ai faim, with a noun. English I like coffee; Spanish me gusta el café, where the coffee is the subject and pleases me
the same idea has to be rebuilt with the part of speech and the construction the target language uses
A word with no equivalent
Dutch gezellig, for a warm, convivial atmosphere; Mandarin xiào, for which English makes do with filial piety (Jurafsky & Martin, 2026)
a phrase, a near-equivalent or a loan has to stand in for the missing word
Figurative language and idioms
English it’s raining cats and dogs; French il pleut des cordes
the literal wording has to give way to the image the target language uses
Cultural knowledge
a Quebec text mentions le cégep; an English one mentions Grade 11 or Thanksgiving, which falls in October in Canada and in November in the United States
an explanation or an equivalent has to be added for readers who do not share the reference
Text-type conventions
an English manual says Press the button (imperative), a French one Appuyer sur le bouton (infinitive); a Japanese novel repeats a word where an English one would vary it
the text has to be reshaped to the conventions of its genre in the target culture, beyond the sentence
Eight differences between languages and cultures that defeat word-for-word replacement. The first three rows follow Jurafsky and Martin (2026); the others are mine, with one example borrowed from them.
The one word, several words difference is drawn in Figure 3figure 3.
Figure 3. English leg, foot and paw against their French translations. Example from Jurafsky and Martin (2026).
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Une mémoire et un système de traduction
Quand vous ouvrez un segment dans un outil de TAO et que vous y trouvez une
proposition de traduction déjà remplie, cette traduction a été soit retrouvée
dans une mémoire de traduction, soit générée par un système de traduction
automatique
(Figure 1figure 1).
Figure 1. La même phrase envoyée à une mémoire de traduction et à un système de traduction automatique.
Si traduire consistait à remplacer chaque mot par son équivalent, un
dictionnaire bilingue serait un système de traduction. La Figure 2figure 2 montre deux des façons dont cela échoue.
Figure 2. Mot à mot, une phrase anglaise vers le français, et la même phrase en anglais et en japonais. L'exemple japonais vient de Jurafsky et Martin (2026).
Huit types de différences entre langues et entre cultures mettent le
dictionnaire en échec.
Différence
Exemple
Conséquence pour un système
L’ordre des mots
anglais He wrote a letter to a friend ; japonais tomodachi ni tegami-o kaita, mot à mot ami à lettre a écrit
il faut déplacer les mots, et parfois reconstruire toute la phrase
Un mot, plusieurs mots
l’anglais bass se dit en espagnol lubina (le poisson) ou bajo (l’instrument) ; l’allemand a Wand (à l’intérieur) et Mauer (à l’extérieur) pour mur
il faut choisir un sens d’après le contexte
Ce qui reste implicite
l’espagnol Mostró su hallazgo a un descifrador ambulante n’a pas de sujet ; l’anglais exige He showed his find to a wandering decoder
il faut ajouter un mot que la grammaire cible exige, et retirer celui dont elle se passe
Une autre construction
l’anglais I am hungry, avec un adjectif ; le français j’ai faim, avec un nom. L’anglais I like coffee ; l’espagnol me gusta el café, où le café est le sujet et me plaît
la même idée doit être reconstruite avec la partie du discours et la construction qu’emploie la langue cible
Un mot sans équivalent
le néerlandais gezellig, pour une atmosphère chaleureuse et conviviale ; le mandarin xiào, que l’anglais rend tant bien que mal par filial piety (Jurafsky & Martin, 2026)
une périphrase, un quasi-équivalent ou un emprunt doit remplacer le mot manquant
Le langage figuré et les expressions idiomatiques
l’anglais it’s raining cats and dogs ; le français il pleut des cordes
la formulation littérale doit céder la place à l’image qu’emploie la langue cible
Les connaissances culturelles
un texte québécois mentionne le cégep ; un texte anglais mentionne Grade 11 ou Thanksgiving, qui tombe en octobre au Canada et en novembre aux États-Unis
il faut ajouter une explication ou un équivalent pour les lecteurs qui ne partagent pas la référence
Les conventions du type de texte
un manuel anglais dit Press the button (impératif), un manuel français Appuyer sur le bouton (infinitif) ; un roman japonais répète un mot là où un roman anglais le varierait
le texte doit être remodelé selon les conventions de son genre dans la culture cible, au-delà de la phrase
Huit différences entre langues et entre cultures qui mettent en échec le remplacement mot à mot. Les trois premières lignes suivent Jurafsky et Martin (2026) ; les autres sont de moi, avec un exemple qui leur est emprunté.
La différence « un mot, plusieurs mots » est dessinée à la Figure 3figure 3.
Figure 3. Les mots anglais leg, foot et paw et leurs traductions françaises. Exemple tiré de Jurafsky et Martin (2026).
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Figure 4. The four generations of machine translation. The dates mark when each approach arrived.
The dates of the four generations
The dates come from Jurafsky and Martin (2026), except the last; the detail of 1954 and 1966 from Hutchins (2003, 2004).
Late 1940s. Machine translation is proposed, soon after the first
computers.
1954. The first public demonstration of a prototype, the
Georgetown-IBM experiment, is widely reported: about sixty Russian
sentences are translated into English with a vocabulary of 250 words and
six rules. Russian was chosen for political reasons: with the Cold War
under way, the United States wanted above all to read what was being
written in the Soviet Union (Hutchins, 2004).
1966. The ALPAC report, commissioned by the agencies funding the
research in the United States, finds high-quality translation out of reach
and leads to a sharp cut in that funding for about twenty years
(Hutchins, 2003).ALPAC is the Automatic Language Processing Advisory Committee, set up in 1964 and chaired by John R. Pierce of Bell Telephone Laboratories; its only concern was the US government’s need to read Russian documents. The report itself is Language and Machines (National Research Council, 1966, doi:10.17226/9547); it concluded that “there is no immediate or predictable prospect of useful machine translation” and recommended machine aids for translators and better evaluation instead (Hutchins, 2003).
Some systems are built anyway, among them Météo, which translates Canadian
weather forecasts from English into French from the 1970s, and Systran.
Around 1990. Statistical methods arrive, made possible by large
bilingual corpora such as the Hansard, the proceedings of the Canadian
Parliament in both languages.
2023. WMT, the Conference on Machine Translation, includes large
language models among the systems of its yearly comparison for the first
time (Kocmi et al., 2023) (see also the WMT shared task chapter, in the Machine translation module) (voir aussi le chapitre La tâche partagée WMT, dans le module Traduction automatique).
Older generations survive where the translated text a neural system needs
does not exist: a narrow domain, or a language pair with little of it.
Sources
Hutchins, J. (2003). ALPAC: The (In)Famous Report. In S. Nirenburg, H. L. Somers & Y. A. Wilks (Eds.), Readings in Machine Translation (pp. 131–136). The MIT Press. https://doi.org/10.7551/mitpress/5779.003.0014
Hutchins, W. J. (2004). The Georgetown-IBM experiment demonstrated in January 1954. Proceedings of the 6th Conference of the Association for Machine Translation in the Americas: Technical Papers, 102–114. https://aclanthology.org/2004.amta-papers.12/
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Kocmi, T., Avramidis, E., Bawden, R., Bojar, O., Dvorkovich, A., Federmann, C., et al. (2023). Findings of the 2023 Conference on Machine Translation (WMT23): LLMs Are Here but Not Quite There Yet. Proceedings of the Eighth Conference on Machine Translation (WMT 2023), Singapore, 1–42. https://doi.org/10.18653/v1/2023.wmt-1.1
Figure 4. Les quatre générations de la traduction automatique. Les dates marquent l'arrivée de chaque approche.
Les dates des quatre générations
Les dates viennent de Jurafsky et Martin (2026), sauf la dernière ; le détail de 1954 et de 1966 vient de Hutchins (2003, 2004).
Fin des années 1940. La traduction automatique est proposée, peu après
les premiers ordinateurs.
1954. La première démonstration publique d’un prototype, l’expérience
Georgetown-IBM, est largement rapportée : une soixantaine de phrases russes
sont traduites en anglais avec un vocabulaire de 250 mots et six règles. Le
russe a été choisi pour des raisons politiques : en pleine guerre froide,
les États-Unis voulaient avant tout lire ce qui s’écrivait en Union
soviétique (Hutchins, 2004).
1966. Le rapport ALPAC, commandé par les organismes qui finançaient la
recherche aux États-Unis, conclut qu’une traduction de haute qualité est
hors de portée et entraîne une forte réduction de ce financement pendant
une vingtaine d’années
(Hutchins, 2003).ALPAC est l’Automatic Language Processing Advisory Committee, créé en 1964 et présidé par John R. Pierce, des Bell Telephone Laboratories ; sa seule préoccupation était le besoin du gouvernement américain de lire des documents russes. Le rapport lui-même est Language and Machines (National Research Council, 1966, doi:10.17226/9547) ; il concluait que « there is no immediate or predictable prospect of useful machine translation » [ma traduction : « il n’y a aucune perspective immédiate ou prévisible de traduction automatique utile »] et recommandait plutôt des aides informatiques pour les traducteurs et une meilleure évaluation (Hutchins, 2003).
Quelques systèmes sont tout de même construits, dont Météo, qui traduit les
bulletins météorologiques canadiens de l’anglais vers le français à partir
des années 1970, et Systran.
Vers 1990. Les méthodes statistiques arrivent, rendues possibles par de
grands corpus bilingues comme le Hansard, les débats du Parlement canadien
dans les deux langues.
2023. WMT, la Conference on Machine Translation, inclut pour la première
fois des grands modèles de langue parmi les systèmes de sa comparaison
annuelle (Kocmi et al., 2023) (see also the WMT shared task chapter, in the Machine translation module) (voir aussi le chapitre La tâche partagée WMT, dans le module Traduction automatique).
Les générations plus anciennes survivent là où les textes traduits qu’exige
un système neuronal n’existent pas : un domaine étroit, ou une paire de
langues qui en compte peu.
Sources
Hutchins, J. (2003). ALPAC: The (In)Famous Report. In S. Nirenburg, H. L. Somers & Y. A. Wilks (Eds.), Readings in Machine Translation (pp. 131–136). The MIT Press. https://doi.org/10.7551/mitpress/5779.003.0014
Hutchins, W. J. (2004). The Georgetown-IBM experiment demonstrated in January 1954. Proceedings of the 6th Conference of the Association for Machine Translation in the Americas: Technical Papers, 102–114. https://aclanthology.org/2004.amta-papers.12/
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Kocmi, T., Avramidis, E., Bawden, R., Bojar, O., Dvorkovich, A., Federmann, C., et al. (2023). Findings of the 2023 Conference on Machine Translation (WMT23): LLMs Are Here but Not Quite There Yet. Proceedings of the Eighth Conference on Machine Translation (WMT 2023), Singapore, 1–42. https://doi.org/10.18653/v1/2023.wmt-1.1
Machine translation in a translator's workLa traduction automatique dans le travail du traducteur
CAT tool, translation service or chatbot
Machine translation is requested from three kinds of place.
In a CAT tool. The tool divides the document into segments because its
translation memory works segment by segment, and the machine translation
connection sends those same segments, one at a time, so the system is given
one sentence with nothing before or after it. This is mainly how
professional translators work (see also the Wordfast: tags and machine translation chapter, in the CAT tools module) (voir aussi le chapitre Wordfast : balises et traduction automatique, dans le module Outils de TAO).
On a translation service, a website or an app, anyone pastes a sentence,
a paragraph or an entire file.
In a chatbot, the whole text goes in with an instruction.
The generation of the system decides how much of the surrounding text it
uses. Statistical and neural systems translate one sentence at a time
whatever they are given: a document pasted into a service
of that generation is cut into sentences, and each is translated in isolation,
as it would be in a CAT tool (see also the Strengths and limits of neural translation page, in the Machine translation module) (voir aussi la page Forces et limites de la traduction neuronale, dans le module Traduction automatique).
A large language model can take the whole text as its unit, so the
surrounding sentences are in view, and the errors change with it. Figure 5figure 5 shows the two extremes.
Figure 5. The same document translated segment by segment in a CAT tool and all at once in a chatbot.
a gender, a pronoun or a sense that the next sentence would have settled
a sentence or a paragraph dropped on the way; a passage smoothed into saying something slightly different
The two extremes compared: the input each gives the system and the errors each produces.
The pair of sentences below shows the first kind of error. A system that is
given only the first sentence has no way to settle the engineer’s gender,
which French needs in order to write ingénieur or ingénieure; the second
sentence settles it.
I spoke to the engineer this morning. She will send the drawings on Friday.
Läubli et al. (2018) found that raters comparing whole documents preferred
the human translation more clearly than raters comparing isolated sentences:
some errors of a fluent system only show once the surrounding sentences are
in view.
Post-editing
A person who corrects the draft a system produced is post-editing it.
For some uses the raw output is good enough: a text read once for its gist,
or a site where the reader is told that the translation was generated. In
the many cases where a wrong sentence has a cost, the output is a draft
whatever produced it, a neural system or a chatbot, and it has to be checked
against the source, because a fluent sentence does not show where it is
wrong (see also the Checking the answer page, in the Using LLMs module) (voir aussi la page Vérifier la réponse, dans le module Utiliser les GML).
A draft often contains errors such as these: a term rendered by its most
common equivalent rather than the client’s, a calque of the source idiom, a
number or a name silently changed, a pronoun resolved the wrong way.
Unless you run a local translation system, any machine translation system
you use means that the texts you send for translation leave your computer and
go to the provider’s servers. The provider’s terms, the plan and your
settings decide what happens to them there (see also the Training, retention and privacy settings page, in the Using LLMs module) (voir aussi la page Entraînement, conservation et paramètres de confidentialité, dans le module Utiliser les GML).
Decide where the text goes before a client’s confidential document is pasted
anywhere.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Läubli, S., Sennrich, R., & Volk, M. (2018). Has machine translation achieved human parity? A case for document-level evaluation. Proceedings of EMNLP 2018, 4791–4796. https://aclanthology.org/D18-1512/
Moslem, Y., Haque, R., Kelleher, J. D., & Way, A. (2023). Adaptive Machine Translation with Large Language Models. Proceedings of the 24th Annual Conference of the European Association for Machine Translation (EAMT 2023), 227–237. https://aclanthology.org/2023.eamt-1.22/
Outil de TAO, service de traduction ou agent conversationnel
La traduction automatique est demandée depuis trois sortes d’endroits.
Dans un outil de TAO. L’outil découpe le document en segments parce que
sa mémoire de traduction fonctionne segment par segment, et la connexion de
traduction automatique envoie ces mêmes segments, un à la fois : le système
reçoit donc une phrase, sans rien avant ni après. C’est surtout ainsi
que travaillent les traducteurs professionnels (see also the Wordfast: tags and machine translation chapter, in the CAT tools module) (voir aussi le chapitre Wordfast : balises et traduction automatique, dans le module Outils de TAO).
Sur un service de traduction, un site web ou une application, n’importe
qui colle une phrase, un paragraphe ou un fichier entier.
Dans un agent conversationnel, le texte entier entre avec une consigne.
La génération du système décide de la part du texte environnant qu’il
utilise. Les systèmes statistiques et neuronaux traduisent une phrase à la
fois, quoi qu’on leur donne : un document collé dans un service de cette
génération est découpé en phrases, et chacune est traduite isolément, comme
elle le serait dans un outil de TAO (see also the Strengths and limits of neural translation page, in the Machine translation module) (voir aussi la page Forces et limites de la traduction neuronale, dans le module Traduction automatique).
Un grand modèle de langue peut prendre le texte entier pour unité ; les
phrases voisines sont alors en vue, et les erreurs changent avec elles. La Figure 5figure 5 montre les deux extrêmes.
Figure 5. Le même document traduit segment par segment dans un outil de TAO et d'un seul coup dans un agent conversationnel.
un genre, un pronom ou un sens que la phrase suivante aurait tranché
une phrase ou un paragraphe perdu en route ; un passage lissé jusqu’à dire quelque chose de légèrement différent
Les deux extrêmes comparés : ce que chacun donne au système et les erreurs que chacun produit.
La paire de phrases ci-dessous montre le premier type d’erreur. Un système
qui ne reçoit que la première phrase n’a aucun moyen de trancher le genre de
la personne, que le français doit pourtant marquer pour écrire ingénieur ou
ingénieure ; la deuxième phrase le tranche.
I spoke to the engineer this morning. She will send the drawings on Friday.
Läubli et al. (2018) ont constaté que les évaluateurs qui comparaient des
documents entiers préféraient la traduction humaine plus nettement que ceux
qui comparaient des phrases isolées : certaines erreurs d’un système fluide
n’apparaissent que lorsque les phrases voisines sont en vue.
La postédition
Une personne qui corrige le brouillon produit par un système fait de la postédition.
Pour certains usages, le résultat brut suffit : un texte lu une fois pour en
saisir l’essentiel, ou un site où le lecteur est averti que la traduction a
été générée. Dans les nombreux cas où une phrase erronée a un coût, le
résultat est un brouillon, quel que soit le système qui l’a produit,
système neuronal ou agent conversationnel, et il doit être vérifié par
rapport à la source, parce qu’une phrase fluide ne montre pas où elle est
fausse (see also the Checking the answer page, in the Using LLMs module) (voir aussi la page Vérifier la réponse, dans le module Utiliser les GML).
Un brouillon contient souvent des erreurs comme celles-ci : un terme rendu par son équivalent le plus courant plutôt que par
celui du client, un calque de l’expression idiomatique de la source, un
nombre ou un nom changé sans avertissement, un pronom résolu dans le mauvais
sens.
À moins d’utiliser un système de traduction local, tout système de traduction
automatique que vous employez implique que les textes que vous envoyez à
traduire quittent votre ordinateur pour les serveurs du fournisseur. Les
conditions du fournisseur, le forfait et vos réglages décident de ce qu’il en
advient (see also the Training, retention and privacy settings page, in the Using LLMs module) (voir aussi la page Entraînement, conservation et paramètres de confidentialité, dans le module Utiliser les GML).
Décidez où le texte va avant de coller le document confidentiel d’un client
où que ce soit.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Läubli, S., Sennrich, R., & Volk, M. (2018). Has machine translation achieved human parity? A case for document-level evaluation. Proceedings of EMNLP 2018, 4791–4796. https://aclanthology.org/D18-1512/
Moslem, Y., Haque, R., Kelleher, J. D., & Way, A. (2023). Adaptive Machine Translation with Large Language Models. Proceedings of the 24th Annual Conference of the European Association for Machine Translation (EAMT 2023), 227–237. https://aclanthology.org/2023.eamt-1.22/
HallucinationsLes fabulations de l'IA
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
Where hallucinations come fromD'où viennent les fabulations
Glue on pizza, and citations that do not exist
Hallucinations are probably the most well-known issue with LLMs. LLMs are
known to be unreliable sometimes, and confidently spew wrong information. You
may remember an early iteration of Google’s AI Overviews telling users to add
glue to make the cheese stick to pizza better,Liv McMahon and Zoe Kleinman, Glue pizza and eat rocks: Google AI search errors go viral, BBC News, 24 May 2024, read 22 September 2026. The answer said “non-toxic glue”; the same week, AI Overviews also answered that geologists recommend eating one rock a day. Google called these “isolated examples” on “generally very uncommon queries”.
lawyers getting into trouble because they relied on AI-fabricated
citations,For instance Carolyn Gruske, Lawyer who used AI-fabricated citations hit with $31,150 in costs to LSO, Law Times, 17 June 2026, read 22 September 2026, reporting Law Society Tribunal of Ontario, 2026 ONLSTH 112: a factum and affidavits cited cases that do not exist, alongside real cases that had nothing to do with the point being made.
or Apple’s notification summaries reporting that a murder suspect had shot
himself, when the BBC had published nothing of the
kind.Graham Fraser, BBC complains to Apple over misleading shooting headline, BBC News, 13 December 2024, read 22 September 2026.
The three fail for different reasons.
The glue answer is an example of LLMs referencing unreliable sources. The AI Overviews answers of that week appeared to come from Reddit comments and from the satirical site The Onion, so the input was intentionally wrong, in a way humans would normally pick up on (see also the Garbage in, garbage out chapter, in the Reliability of LLM output module) (voir aussi le chapitre Médiocre en entrée, médiocre en sortie, dans le module Fiabilité des résultats des GML), and it was summarized into an answer like any other source.
The Apple summary is an example of LLMs misrepresenting sources. The notifications it worked from said nothing of the kind, and the same summary was accurate about the two other stories it grouped.
The fabricated citations are an example of LLMs producing wrong information with no source behind it at all.
Regardless of the cause, the result is the same: confidently presented wrong
information.
Information is never labelled true or false
Three factors in how a model is trained explain why models hallucinate.
A model is trained to produce an answer, not to withhold one or to flag how uncertain it is. Answering “I do not know” has to be trained in separately (Zhang et al., 2024b).
A well-attested fact and a detail that was rarely written down go through the
same steps, and both come out as a fluent sentence
(Figure 1figure 1).
Figure 1. A well-attested fact and a rarely recorded detail, produced the same way. The probabilities are illustrative.
Within a formal definition of the problem, Xu et al. (2024) prove that a model
used as a general problem solver will always hallucinate: a property to manage
rather than a defect that a later version will fix.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Xu, Z., Jain, S., & Kankanhalli, M. (2024). Hallucination is Inevitable: An Innate Limitation of Large Language Models. arXiv:2401.11817 (preprint). https://arxiv.org/abs/2401.11817
Zhang, H., Diao, S., Lin, Y., Fung, Y. R., Lian, Q., Wang, X., Chen, Y., Ji, H., & Zhang, T. (2024b). R-Tuning: Instructing Large Language Models to Say `I Don't Know'. Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), 7113–7139. https://doi.org/10.18653/v1/2024.naacl-long.394
De la colle sur la pizza, et des références qui n’existent pas
Les fabulations de l’IA (angl. hallucinations) sont sans doute le problème le
plus connu des grands modèles de langue (GML). Les GML sont réputés peu
fiables par moments, et ils débitent des informations fausses avec assurance.
Vous vous souvenez peut-être d’une première version des AI Overviews de Google
qui conseillait d’ajouter de la colle pour que le fromage tienne mieux sur la
pizza,Liv McMahon et Zoe Kleinman, Glue pizza and eat rocks: Google AI search errors go viral, BBC News, 24 mai 2024, consulté le 22 septembre 2026. La réponse parlait de « non-toxic glue » [ma traduction : « colle non toxique »] ; la même semaine, AI Overviews répondait aussi que les géologues recommandent de manger un caillou par jour. Google a qualifié ces réponses de « isolated examples » [ma traduction : « cas isolés »], sur des requêtes « generally very uncommon » [ma traduction : « généralement très inhabituelles »].
d’avocats qui se sont mis dans l’embarras en se fiant à des références
fabriquées par l’IA,Par exemple Carolyn Gruske, Lawyer who used AI-fabricated citations hit with $31,150 in costs to LSO, Law Times, 17 juin 2026, consulté le 22 septembre 2026, rapportant Law Society Tribunal of Ontario, 2026 ONLSTH 112 : un mémoire et des affidavits citaient des causes inexistantes, à côté de causes réelles sans rapport avec le propos.
ou des résumés de notifications d’Apple rapportant qu’un suspect de meurtre
s’était tiré dessus, alors que la BBC n’avait rien publié de
tel.Graham Fraser, BBC complains to Apple over misleading shooting headline, BBC News, 13 décembre 2024, consulté le 22 septembre 2026.
Les trois échouent pour des raisons différentes.
La réponse sur la colle est un exemple de GML qui s’appuient sur des sources peu fiables. Les réponses des AI Overviews de cette semaine-là semblaient provenir de commentaires Reddit et du site satirique The Onion : l’entrée était fausse à dessein, d’une façon que des humains repèrent normalement (see also the Garbage in, garbage out chapter, in the Reliability of LLM output module) (voir aussi le chapitre Médiocre en entrée, médiocre en sortie, dans le module Fiabilité des résultats des GML), et elle a été résumée en une réponse comme n’importe quelle autre source.
Le résumé d’Apple est un exemple de GML qui déforment leurs sources. Les notifications dont il partait ne disaient rien de tel, et le même résumé était exact sur les deux autres nouvelles qu’il regroupait.
Les références fabriquées sont un exemple de GML qui produisent de l’information fausse sans aucune source derrière.
Quelle qu’en soit la cause, le résultat est le même : de l’information fausse
présentée avec assurance.
L’information n’est jamais étiquetée vraie ou fausse
Trois facteurs, dans la façon dont un modèle est entraîné, expliquent pourquoi
les modèles fabulent.
Un modèle est entraîné à produire une réponse, pas à s’en abstenir ni à signaler son degré d’incertitude. Répondre « je ne sais pas » doit faire l’objet d’un entraînement distinct (Zhang et al., 2024b).
Un fait bien attesté et un détail rarement écrit passent par les mêmes étapes,
et les deux ressortent sous la forme d’une phrase fluide
(Figure 1figure 1).
Figure 1. Un fait bien attesté et un détail rarement consigné, produits de la même façon. Les probabilités sont illustratives.
Dans le cadre d’une définition formelle du problème, Xu et al. (2024)
démontrent qu’un modèle employé comme résolveur de problèmes général fabulera
toujours : une propriété à gérer plutôt qu’un défaut qu’une version
ultérieure corrigera.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Xu, Z., Jain, S., & Kankanhalli, M. (2024). Hallucination is Inevitable: An Innate Limitation of Large Language Models. arXiv:2401.11817 (preprint). https://arxiv.org/abs/2401.11817
Zhang, H., Diao, S., Lin, Y., Fung, Y. R., Lian, Q., Wang, X., Chen, Y., Ji, H., & Zhang, T. (2024b). R-Tuning: Instructing Large Language Models to Say `I Don't Know'. Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), 7113–7139. https://doi.org/10.18653/v1/2024.naacl-long.394
Two kinds of hallucinationsDeux types de fabulations
Maynez et al. (2020) separated two kinds of hallucination in summarization,
and the difference decides how you catch one in any output checked against a
source you supplied.
The two call for different checks
(Figure 2figure 2). For an intrinsic one, everything
needed is in front of you: the summary says the lease permits something the
lease forbids, and reading both catches it. For an extrinsic one, the output
is internally consistent and the error is a fact about the world, so catching it
means knowing the subject or looking it up.
Figure 2. An intrinsic and an extrinsic hallucination in a summary of the same lease.
Sources
Maynez, J., Narayan, S., Bohnet, B., & McDonald, R. (2020). On Faithfulness and Factuality in Abstractive Summarization. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. https://doi.org/10.18653/v1/2020.acl-main.173
Maynez et al. (2020) ont distingué deux types de fabulations en résumé
automatique, et la différence détermine comment vous pouvez en repérer une
dans toute sortie vérifiable contre une source que vous avez fournie.
Les deux appellent des vérifications différentes
(Figure 2figure 2). Pour une
fabulation intrinsèque, tout ce qu’il faut est devant vous : le résumé dit
que le bail permet ce que le bail interdit, et lire les deux suffit à la
repérer. Pour une fabulation extrinsèque, la sortie est cohérente avec
elle-même et l’erreur porte sur un fait du monde : la repérer suppose de
connaître le sujet ou d’aller le vérifier.
Figure 2. Une fabulation intrinsèque et une fabulation extrinsèque dans le résumé d'un même bail.
Sources
Maynez, J., Narayan, S., Bohnet, B., & McDonald, R. (2020). On Faithfulness and Factuality in Abstractive Summarization. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. https://doi.org/10.18653/v1/2020.acl-main.173
Why detecting hallucinations is hardPourquoi les fabulations sont difficiles à détecter
Reading does not tell you which parts are true
Asked for a quick biography of me, a chatbot opened with a warning that it
might hallucinate details, then wrote five confident, well-organized
paragraphs
(Figure 3figure 3).
The field is right. The doctorate is right, down to its subject, and the
corpus it credits me with is one I did build. The university it puts me at is
wrong: I have not worked at Ghent since 2022. Nothing in the manner of that
one sentence separates it from the ones around it.
Figure 3. A confident biography with one clear error in it. Claude 3.5 Sonnet, 16 January 2025. The field, the doctorate and the corpus are right; the university is not.
Being well known is not the same as being well covered in the training text.
Gurky is far more famous than I am, but his fame is in video rather than in
writing, and a model is trained on text. In January 2025, asked in
French for a short biography of Gurky, a Québécois YouTuber, a chatbot had the
general picture right, a francophone YouTuber, and every specific wrong. It
gave him a real name, a nationality, a birth year and a start on YouTube, all
four wrong, as was the kind of videos it said he makes
(Figure 4figure 4).A 2023 profile in the Québec press gives his first name as Jules, and the date of his first video as 6 May 2012, when he was 13: Adam Bourbonnière, 7 choses à savoir sur Gurky, youtubeur de l’année, Le Sac de chips, 10 February 2023, read 17 September 2026.
Figure 4. A short biography of a little-documented subject. ChatGPT (GPT-4o), January 2025. The general picture is right; the name, the nationality, the birth year, the start on YouTube and the kind of videos are all wrong.
Such errors are hard to see. They are plausible enough that nothing jars, the
correct details around them vouch for them, and apart from the rare general
hedge, as in the first example, no uncertainty is expressed about any
particular claim.
Careful reading checks a text against itself, so it tests coherence. It does
not test factuality, which is a question about the world rather than about the
text.
A text can be perfectly coherent and still correspond to nothing, so an error
of this kind passes a careful reading every time.
The 90% problem
Hallucinations are becoming less common in LLMs.Fabricated references, for instance, fell sharply from GPT-3.5 to GPT-4 (Walters & Wilder, 2023). A measured rate is always for one task, and rates have not fallen evenly on all of them. While this is on the whole a
good thing, it also makes the remaining ones trickier. Think of it as the
90% (or even 99%) problem: if the vast majority of the information presented
to you is correct, and all of it is presented equally confidently and all of
it seems plausible, the remaining errors are very hard to detect. And the more
often you see good output, the “lazier” you can become with fact-checking,
because on average the output is, or looks, pretty
good (see also the Cognitive offloading page, in the LLMs and their users module) (voir aussi la page Délestage cognitif, dans le module Les GML et leurs utilisateurs).
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Walters, W. H., & Wilder, E. I. (2023). Fabrication and errors in the bibliographic citations generated by ChatGPT. Scientific Reports, 13, 14045. https://doi.org/10.1038/s41598-023-41032-5
La lecture ne dit pas quelles parties sont vraies
À qui lui demandait en anglais une courte biographie de moi, un agent
conversationnel a commencé par avertir qu’il risquait de fabuler certains
détails, puis a écrit cinq paragraphes assurés et bien organisés
(Figure 3figure 3).
Le domaine est exact. Le doctorat est exact, jusqu’à son sujet, et le corpus
qu’il m’attribue est bien un corpus que j’ai construit. L’université où il me
place est fausse : je ne travaille plus à Gand depuis 2022. Rien, dans la
manière de cette phrase-là, ne la distingue de celles qui l’entourent.
Figure 3. Une biographie assurée qui contient une erreur nette. Claude 3.5 Sonnet, 16 janvier 2025. Le domaine, le doctorat et le corpus sont exacts ; l'université ne l'est pas.
Être connu n’est pas la même chose qu’être bien représenté dans le texte
d’entraînement. Gurky est bien plus célèbre que moi, mais sa notoriété passe
par la vidéo plutôt que par l’écrit, et un modèle est entraîné sur du texte.
En janvier 2025, à qui lui demandait en français une courte biographie de
Gurky, un youtubeur québécois, un agent conversationnel a vu juste sur le
tableau d’ensemble, un youtubeur francophone, et faux sur chaque détail. Il
lui a donné un nom civil, une nationalité, une année de naissance et un début
sur YouTube, les quatre faux, tout comme le genre de vidéos qu’il lui prêtait
(Figure 4figure 4).Un portrait paru dans la presse québécoise en 2023 donne Jules comme prénom, et le 6 mai 2012 comme date de sa première vidéo, alors qu’il avait 13 ans : Adam Bourbonnière, 7 choses à savoir sur Gurky, youtubeur de l’année, Le Sac de chips, 10 février 2023, consulté le 17 septembre 2026.
Figure 4. Une courte biographie d'un sujet peu documenté. ChatGPT (GPT-4o), janvier 2025. Le tableau d'ensemble est exact ; le nom, la nationalité, l'année de naissance, le début sur YouTube et le genre de vidéos sont tous faux.
De telles erreurs sont difficiles à voir. Elles sont assez plausibles pour que
rien ne détonne, les détails exacts qui les entourent leur servent de caution,
et à part la rare réserve générale, comme dans le premier exemple, aucune
incertitude n’est exprimée sur une affirmation en particulier.
Une lecture attentive confronte un texte à lui-même : elle vérifie donc sa
cohérence. Elle ne vérifie pas sa factualité, qui est une question sur le
monde plutôt que sur le texte.
Un texte peut être parfaitement cohérent et ne correspondre à rien, si bien
qu’une erreur de ce genre passe une lecture attentive à tout coup.
Le problème des 90 %
Les fabulations se raréfient dans les GML.Les références fabriquées, par exemple, ont nettement reculé de GPT-3.5 à GPT-4 (Walters et Wilder, 2023). Un taux mesuré vaut toujours pour une tâche, et les taux n’ont pas baissé également partout.
Si c’est dans l’ensemble une bonne chose, cela rend aussi les fabulations
restantes plus retorses. Voyez cela comme le problème des 90 % (voire des
99 %) : si la grande majorité de l’information qui vous est présentée est
exacte, qu’elle est présentée partout avec la même assurance et qu’elle
paraît partout plausible, les erreurs restantes sont très difficiles à
détecter. Et plus vous voyez de bonnes sorties, plus vous pouvez devenir
« paresseux » dans la vérification des faits, parce qu’en moyenne la
sortie est bonne, ou en a l’air (see also the Cognitive offloading page, in the LLMs and their users module) (voir aussi la page Délestage cognitif, dans le module Les GML et leurs utilisateurs).
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Walters, W. H., & Wilder, E. I. (2023). Fabrication and errors in the bibliographic citations generated by ChatGPT. Scientific Reports, 13, 14045. https://doi.org/10.1038/s41598-023-41032-5
Mitigating hallucinationsAtténuer les fabulations
What the developers do
Three approaches are in use, but none of them removes the problem.
The answer can come from a retrieved page rather than from the parameters
The page itself can be wrong, and a link shows where a claim came from rather than that it is true
Both studies used models of 2023. Zhang et al. (2024b) tested refusal training
on OpenLLaMA-3B and LLaMA 7B and 13B. Chen et al. (2024) tested retrieval on
ChatGPT and several open 6B and 7B models, which did worst at declining when
the retrieved documents did not contain the answer, at combining information
from several documents, and at detecting false information in
them.
The numbers date faster than the failures do. Each of these is a mitigation
rather than a guarantee, and the September 2026 runs below show one of the
same failures on current models: an answer based on a source that is wrong.
The biography of Gurky earlier in this chapter came from a model of 2025
answering from its parameters alone. Put to two chatbots in September 2026,
the same question sent both of them to the web without being asked, and
searching changed what went wrong rather than removing it.
The first searched and then used a celebrity birthday site, which gave it
a full name and a birth date; the name is wrong
(Figure 5figure 5).
Figure 5. A wrong name with a source attached. Gemini 3.6 Flash with web search, 17 September 2026.
The second found the Québec press instead and gave his first name correctly
(Figure 6figure 6),
although a second run of the same question took the wrong name from the same
birthday site.
Figure 6. The first name the Québec press gives, with that source linked. GPT-5.6 Sol at light effort, 17 September 2026.
Asked in that conversation for his date of birth, it returned both sources,
stated that the two conflict, and called the date unverified
(Figure 7figure 7).
Figure 7. The same conversation, asked for his date of birth: the answer calls the date unverified and the birthday site unreliable. GPT-5.6 Sol at light effort, 17 September 2026.
The three differ in which sources they found and in whether they said how far
to trust them. A cited source can also be the wrong source altogether: asked
to identify the news article a quoted excerpt came from, eight search tools
gave an incorrect answer more than 60% of the time, often naming a plausible
article that was not the one quoted (Jaźwińska & Chandrasekar,
2025).A report from a journalism school’s research centre rather than a peer-reviewed study: 1,600 tests over eight AI search tools.
So a link tells you what to check next rather than that the claim is
true.
Hallucination rates are also tracked publicly. On the best known
leaderboardVectara, Hallucination Leaderboard, last updated 11 May 2026 and read 17 September 2026: rates from 1.8% upward, with GPT-5.4 at 7.0% against 3.1% for its smallest version.
no model reaches zero, and the largest models are not always the
lowest (see also the Reading a leaderboard page, in the Using LLMs module) (voir aussi la page Lire un classement, dans le module Utiliser les GML).
What you can do
Supplying the source
When the work you give a model is work on a text you already have, for
instance translating it, summarizing it, rewriting it for a different reader
or checking it against a list of terms, put that text in the context.
Asking a model to be more careful changes little: no part of it is responsible
for care, and truth is not a variable in the process. Rereading an output for
consistency does not help either, because the process produces consistency.
The checks that work compare a claim with something outside the
output (see also the Checking the answer page, in the Using LLMs module) (voir aussi la page Vérifier la réponse, dans le module Utiliser les GML).
Which details deserve suspicion
The risk is not spread evenly. Fabrication concentrates in specific, checkable
details that were rare in the training text, for instance dates, numbers,
names, page references, citations, quotations, legal provisions, and anything
recent.
General explanation of a well-covered topic is far safer. On a subject written
about many times over, an explanation is usually sound, and that is a large
part of what these tools are useful for. Usually is not always, and such an
explanation can be wrong about something central rather than about a detail,
but it is a different order of risk from a fabricated citation.
So the checking follows the risk rather than covering everything. If you are
going to verify three things in an output, verify the three most specific
ones.
Fabricated references have been measured directly. Walters and Wilder (2023)
checked every reference in short literature reviews written by two models of
2023: more than half of what GPT-3.5 produced did not exist, and just under a
fifth of GPT-4’s. Of the references that did exist, between a quarter and
almost half had at least one substantive error, most often in the volume,
issue or page numbers or in the date.
Sources
Chen, J., Lin, H., Han, X., & Sun, L. (2024). Benchmarking Large Language Models in Retrieval-Augmented Generation. Proceedings of the AAAI Conference on Artificial Intelligence, 38(16), 17754–17762. https://doi.org/10.1609/aaai.v38i16.29728
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Walters, W. H., & Wilder, E. I. (2023). Fabrication and errors in the bibliographic citations generated by ChatGPT. Scientific Reports, 13, 14045. https://doi.org/10.1038/s41598-023-41032-5
Xu, Z., Jain, S., & Kankanhalli, M. (2024). Hallucination is Inevitable: An Innate Limitation of Large Language Models. arXiv:2401.11817 (preprint). https://arxiv.org/abs/2401.11817
Zhang, H., Diao, S., Lin, Y., Fung, Y. R., Lian, Q., Wang, X., Chen, Y., Ji, H., & Zhang, T. (2024b). R-Tuning: Instructing Large Language Models to Say `I Don't Know'. Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), 7113–7139. https://doi.org/10.18653/v1/2024.naacl-long.394
Ce que font les concepteurs
Trois approches sont en usage, mais aucune ne supprime le problème.
La réponse peut venir d’une page récupérée plutôt que des paramètres
La page elle-même peut être fausse, et un lien montre d’où vient une affirmation plutôt que sa véracité
Les deux études portaient sur des modèles de 2023. Zhang et al. (2024b) ont
testé l’entraînement au refus sur OpenLLaMA-3B et LLaMA 7B et 13B. Chen et
coll. (2024) ont testé la récupération sur ChatGPT et sur plusieurs modèles
ouverts de 6 et 7 milliards de paramètres, qui ont le plus échoué à refuser
quand les documents récupérés ne contenaient pas la réponse, à combiner
l’information de plusieurs documents et à détecter l’information fausse qui
s’y trouvait.
Les chiffres vieillissent plus vite que les échecs. Chacune de ces approches
est une atténuation plutôt qu’une garantie, et les essais de septembre 2026
ci-dessous montrent l’un des mêmes échecs sur des modèles actuels : une
réponse appuyée sur une source fausse.
La biographie de Gurky présentée plus tôt dans ce chapitre venait d’un modèle
de 2025 qui répondait à partir de ses seuls paramètres. Posée à deux agents
conversationnels en septembre 2026, la même question les a tous deux envoyés
sur le Web sans qu’on le leur demande, et la recherche a changé la nature de
l’erreur plutôt que de la supprimer.
Le premier a cherché, puis s’en est remis à un site de célébrités et
d’anniversaires, qui lui a fourni un nom complet et une date de naissance ;
le nom est faux
(Figure 5figure 5).
Figure 5. Un nom faux, avec une source attachée. Gemini 3.6 Flash avec recherche Web, 17 septembre 2026.
Le second a trouvé la presse québécoise et a donné son prénom correctement
(Figure 6figure 6),
même si un second essai de la même question a repris le nom faux au même site
d’anniversaires.
Figure 6. Le prénom que donne la presse québécoise, avec cette source en lien. GPT-5.6 Sol à effort léger, 17 septembre 2026.
Interrogé dans cette conversation sur sa date de naissance, il a rendu les
deux sources, signalé qu’elles se contredisent et qualifié la date de non
vérifiée
(Figure 7figure 7).
Figure 7. La même conversation, interrogée sur la date de naissance : la réponse qualifie la date de non vérifiée et le site d'anniversaires de peu fiable. GPT-5.6 Sol à effort léger, 17 septembre 2026.
Les trois diffèrent par les sources qu’ils ont trouvées et par ce qu’ils ont
dit du crédit à leur accorder. Une source citée peut aussi être la mauvaise
source : à qui leur demandait d’identifier l’article de presse d’où venait
un extrait cité, huit outils de recherche ont donné une réponse erronée plus
de 60 % du temps, en nommant souvent un article plausible qui n’était pas
celui d’où venait la citation (Jaźwińska et Chandrasekar,
2025).Un rapport du centre de recherche d’une école de journalisme, et non une étude évaluée par les pairs : 1 600 essais sur huit outils de recherche par IA.
Un lien vous dit donc quoi vérifier ensuite plutôt que la vérité de
l’affirmation.
Les taux de fabulation font aussi l’objet d’un suivi public. Sur le classement
le plus connuVectara, Hallucination Leaderboard, dernière mise à jour le 11 mai 2026, consulté le 17 septembre 2026 : des taux à partir de 1,8 %, avec GPT-5.4 à 7,0 % contre 3,1 % pour sa plus petite version.
aucun modèle n’atteint zéro, et les plus grands modèles ne sont pas toujours
les plus bas (see also the Reading a leaderboard page, in the Using LLMs module) (voir aussi la page Lire un classement, dans le module Utiliser les GML).
Ce que vous pouvez faire
Fournir la source
Quand le travail que vous confiez à un modèle porte sur un texte que vous avez
déjà, par exemple le traduire, le résumer, le réécrire pour un autre lectorat
ou le confronter à une liste de termes, mettez ce texte dans le contexte.
Demander à un modèle d’être plus prudent ne change pas grand-chose : aucune
partie de lui n’est chargée de la prudence, et la vérité n’est pas une
variable du processus. Relire une sortie pour en vérifier la cohérence ne sert
pas davantage, puisque le processus produit de la cohérence. Les
vérifications qui fonctionnent comparent une affirmation à quelque chose
d’extérieur à la
sortie (see also the Checking the answer page, in the Using LLMs module) (voir aussi la page Vérifier la réponse, dans le module Utiliser les GML).
Quels détails méritent la méfiance
Le risque n’est pas réparti également. La fabrication se concentre sur les
détails précis et vérifiables qui étaient rares dans le texte d’entraînement,
par exemple les dates, les nombres, les noms, les renvois de pages, les
références, les citations, les dispositions légales et tout ce qui est récent.
L’explication générale d’un sujet bien couvert est nettement plus sûre. Sur un
sujet sur lequel on a écrit bien des fois, une explication est en général
solide, et c’est pour une bonne part ce à quoi ces outils servent. En général
ne veut pas dire toujours, et une telle explication peut se tromper sur
quelque chose de central plutôt que sur un détail, mais ce n’est pas le même
ordre de risque qu’une référence fabriquée.
La vérification suit donc le risque plutôt que de tout couvrir. Si vous devez
vérifier trois choses dans une sortie, vérifiez les trois plus précises.
Les références fabriquées ont été mesurées directement. Walters et Wilder
(2023) ont vérifié chaque référence dans de courtes revues de littérature
écrites par deux modèles de 2023 : plus de la moitié de ce que GPT-3.5 a
produit n’existait pas, contre un peu moins d’un cinquième pour GPT-4. Parmi
les références qui existaient bel et bien, entre un quart et près de la moitié
comportaient au moins une erreur de fond, le plus souvent dans le volume, le
numéro, les pages ou la date.
Sources
Chen, J., Lin, H., Han, X., & Sun, L. (2024). Benchmarking Large Language Models in Retrieval-Augmented Generation. Proceedings of the AAAI Conference on Artificial Intelligence, 38(16), 17754–17762. https://doi.org/10.1609/aaai.v38i16.29728
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Walters, W. H., & Wilder, E. I. (2023). Fabrication and errors in the bibliographic citations generated by ChatGPT. Scientific Reports, 13, 14045. https://doi.org/10.1038/s41598-023-41032-5
Xu, Z., Jain, S., & Kankanhalli, M. (2024). Hallucination is Inevitable: An Innate Limitation of Large Language Models. arXiv:2401.11817 (preprint). https://arxiv.org/abs/2401.11817
Zhang, H., Diao, S., Lin, Y., Fung, Y. R., Lian, Q., Wang, X., Chen, Y., Ji, H., & Zhang, T. (2024b). R-Tuning: Instructing Large Language Models to Say `I Don't Know'. Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), 7113–7139. https://doi.org/10.18653/v1/2024.naacl-long.394
Garbage in, garbage outMédiocre en entrée, médiocre en sortie
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
Garbage in, garbage outMédiocre en entrée, médiocre en sortie
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
The impact of GIGOL'impact du GIGO
While the GIGO principle is not the only cause of the many issues associated
with LLMs and AI in general, it is a significant factor in many of the biggest
ones, so you will see it referred to in many of the chapters and pages of
the modules on critical issues. For instance:
Le principe du GIGO n’est pas la seule cause des nombreux problèmes associés
aux GML et à l’IA en général, mais il entre pour une part importante dans
plusieurs des plus grands, si bien que vous le verrez évoqué dans beaucoup
de chapitres et de pages des modules sur les enjeux critiques. Par exemple :
Effondrement du modèle. Ce que les modèles produisent est publié puis
récolté par l’exploration suivante, de sorte que la sortie d’une génération
devient l’entrée de la
suivante.
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
Fine-tuning: from generator to assistantL'affinage : du générateur à l'assistant
For InstructGPT, Ouyang et al. (2022) fine-tuned GPT-3 in two stages, first on
examples and then with a reward learned from rankings. People comparing outputs preferred those of a
1.3-billion-parameter model fine-tuned this way to those of the original GPT-3
at 175 billion, more than a hundred times larger. On the kind of requests
users sent to the model, a small amount of behaviour data counted for more than
a hundredfold difference in size.
Gekhman, Z., Yona, G., Aharoni, R., Eyal, M., Feder, A., Reichart, R., & Herzig, J. (2024). Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations?. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, 7765–7784. https://aclanthology.org/2024.emnlp-main.444/
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Zhou, C., Liu, P., Xu, P., Iyer, S., Sun, J., Mao, Y., et al. (2023). LIMA: Less Is More for Alignment. Advances in Neural Information Processing Systems 36 (NeurIPS 2023). https://openreview.net/forum?id=KBMOKmX2he
Pour InstructGPT, Ouyang et al. (2022) ont affiné GPT-3 en deux étapes,
d’abord sur des exemples, puis avec une récompense apprise à partir de
classements. Des personnes comparant les
sorties ont préféré celles d’un modèle de 1,3 milliard de paramètres affiné de
cette façon à celles du GPT-3 d’origine, à 175 milliards, plus de cent fois plus
gros. Sur le genre de requêtes que les utilisateurs
envoyaient au modèle, une petite quantité de données de comportement a pesé plus
lourd qu’un écart de taille d’un facteur cent.
Gekhman, Z., Yona, G., Aharoni, R., Eyal, M., Feder, A., Reichart, R., & Herzig, J. (2024). Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations?. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, 7765–7784. https://aclanthology.org/2024.emnlp-main.444/
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Zhou, C., Liu, P., Xu, P., Iyer, S., Sun, J., Mao, Y., et al. (2023). LIMA: Less Is More for Alignment. Advances in Neural Information Processing Systems 36 (NeurIPS 2023). https://openreview.net/forum?id=KBMOKmX2he
The four stages from pretraining to assistantLes quatre étapes du préentraînement à l'assistant
From pretraining to deployment
Figure 1. From pretraining to the assistant you type into.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Response: Photosynthesis is how plants make their own food using sunlight.
Think of leaves as tiny factories that take in sunlight, water and air…
Training on enough of these teaches a pattern that pretraining rarely presented
so consistently:
an instruction is followed by a response to it. Thus, the text completion system becomes a question answering system.
The term instruction tuning was introduced by Wei et al. (2022), who fine-tuned a pretrained model on
more than 60 datasets phrased as instructions and found that it could then follow
instructions for tasks it had not seen.
Small data, chosen carefully
Figure 3. Where the two kinds of training data come from, and what each is judged on.
Pretraining text was written by people too, but not for this purpose, and it is
filtered in bulk. Instruction-tuning examples are chosen or written for the
behaviour wanted. For InstructGPT, that meant about 13 000 prompts
with answers written by hired labellers (Ouyang et al., 2022). Later sets also
reuse questions and answers from community sites (Zhou et al., 2023) and
instructions and answers generated by a model, then filtered (Wang et al., 2023).
Quality counts for more than quantity here: a thousand carefully chosen examples
can be enough: doubling their number did not improve the answers, and filtering
them for quality did (Zhou et al., 2023). The authors take this as a sign that
the model learns a manner rather than a subject.
Where the examples are written for the purpose, the work is often paid: Ouyang et al.
(2022) recruited and screened about 40 labellers for it.
Not quite the helpful assistant chatbot yet
After this stage the model answers questions and can keep up a
conversation. Its finer judgement goes only as far as its examples showed it: how long an
answer should be, when to say it is unsure, when a request should be declined. Those
qualities are easy to recognize in a response and hard to specify in advance.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Wang, Y., Kordi, Y., Mishra, S., Liu, A., Smith, N. A., Khashabi, D., & Hajishirzi, H. (2023). Self-Instruct: Aligning Language Models with Self-Generated Instructions. Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 13484–13508. https://aclanthology.org/2023.acl-long.754/
Wei, J., Bosma, M., Zhao, V. Y., Guu, K., Yu, A. W., Lester, B., Du, N., Dai, A. M., & Le, Q. V. (2022). Finetuned Language Models Are Zero-Shot Learners. International Conference on Learning Representations (ICLR 2022). https://openreview.net/forum?id=gEZrGCozdqR
Zhou, C., Liu, P., Xu, P., Iyer, S., Sun, J., Mao, Y., et al. (2023). LIMA: Less Is More for Alignment. Advances in Neural Information Processing Systems 36 (NeurIPS 2023). https://openreview.net/forum?id=KBMOKmX2he
Montrer au modèle à quoi ressemble une bonne réponse
Requête : Explique la photosynthèse à un enfant de 10 ans.
Réponse : La photosynthèse, c’est la façon dont les plantes fabriquent
leur propre nourriture avec la lumière du soleil. Imagine les feuilles comme
de petites usines qui captent la lumière, l’eau et l’air…
S’entraîner sur assez de ces paires enseigne une régularité que le
préentraînement présentait rarement de façon aussi constante : une instruction est suivie d’une réponse.
Le système qui complète du texte devient ainsi un système qui répond aux questions.
Le terme anglais instruction tuning a été introduit par Wei et al. (2022), qui ont affiné un modèle préentraîné sur
plus de 60 jeux de données formulés comme des instructions et constaté qu’il pouvait
ensuite suivre des instructions pour des tâches qu’il n’avait pas vues.
Peu de données, choisies avec soin
Figure 3. D'où viennent les deux sortes de données d'entraînement, et sur quoi chacune est jugée.
Le texte du préentraînement a lui aussi été écrit par des personnes, mais pas
dans ce but, et il est filtré en bloc. Les exemples de l’affinage par
instructions sont choisis ou rédigés selon le comportement recherché. Pour
InstructGPT, il s’agissait d’environ 13 000 requêtes accompagnées de
réponses rédigées par des étiqueteurs recrutés à cette fin (Ouyang et al.,
2022). Les ensembles plus récents reprennent aussi des questions et des réponses
de sites communautaires (Zhou et al., 2023) et des instructions et des réponses
générées par un modèle, puis filtrées (Wang et al., 2023).
Ici, la qualité compte plus que la quantité : un millier d’exemples
soigneusement choisis peut suffire. En doubler le nombre n’a pas amélioré les
réponses, alors que les filtrer selon leur qualité les a améliorées (Zhou et al., 2023). Les
auteurs y voient le signe que le modèle apprend une manière plutôt qu’un sujet.
Là où les exemples sont rédigés exprès, le travail est souvent rémunéré : Ouyang et
coll. (2022) ont recruté et sélectionné une quarantaine d’étiqueteurs pour cette
tâche.
Pas encore tout à fait l’agent conversationnel serviable
Après cette étape, le modèle répond aux questions et peut soutenir une
conversation. Son jugement plus fin ne va pas plus loin que ce que ses exemples lui ont
montré : quelle longueur donner à une réponse, quand dire qu’il n’est pas sûr, quand une demande devrait être
refusée. Ces qualités sont faciles à reconnaître dans une réponse et difficiles
à préciser d’avance.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Wang, Y., Kordi, Y., Mishra, S., Liu, A., Smith, N. A., Khashabi, D., & Hajishirzi, H. (2023). Self-Instruct: Aligning Language Models with Self-Generated Instructions. Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 13484–13508. https://aclanthology.org/2023.acl-long.754/
Wei, J., Bosma, M., Zhao, V. Y., Guu, K., Yu, A. W., Lester, B., Du, N., Dai, A. M., & Le, Q. V. (2022). Finetuned Language Models Are Zero-Shot Learners. International Conference on Learning Representations (ICLR 2022). https://openreview.net/forum?id=gEZrGCozdqR
Zhou, C., Liu, P., Xu, P., Iyer, S., Sun, J., Mao, Y., et al. (2023). LIMA: Less Is More for Alignment. Advances in Neural Information Processing Systems 36 (NeurIPS 2023). https://openreview.net/forum?id=KBMOKmX2he
Preference tuning: learning from rankingsLe réglage des préférences : apprendre à partir de classements
Ranking instead of writing
Some things about a good answer are easy to judge and hard to state. Asked
whether this response or that one is better, an annotator can answer quickly;
asked to write down the rule they applied, they would find it far harder.
Preference tuning uses that asymmetry. Rather than asking people to produce
the ideal answer, it asks them to put several of the model’s own answers in
order. The rankings are not perfectly consistent: the labellers of Ouyang et al.
(2022) agreed with each other on about 73% of comparisons. Each ranking is then
split into pairs: four answers in order give six pairs, each made of a better and
a worse answer.
Figure 4. It is often much easier to put concrete options in order, from best to worst, than to write the best possible answer yourself.
The two best-known methods are reinforcement learning from human feedback (RLHF)
and direct preference optimization (DPO) (Jurafsky & Martin, 2026).
Figure 5. ChatGPT asking whether a response was better or worse (screenshot, 10 September 2026). Figure 6. Gemini showing two answers to one request and asking which is more helpful (screenshot, 1 October 2026).
RLHF: a reward model stands in for the people
Figure 7. Post-training an LLM: instruction tuning, then RLHF.
The comparisons do not have to come from people: in a method its authors call
Constitutional AI, a model compares answers for harmfulness against a written list of principles,
and those comparisons, with human ones for helpfulness, train the reward model
(Bai et al., 2022a).
Figure 8. The same ranked pairs, used in two ways.
Sources
Bai, Y., Kadavath, S., Kundu, S., Askell, A., Kernion, J., Jones, A., et al. (2022a). Constitutional AI: Harmlessness from AI Feedback. arXiv:2212.08073 (preprint). https://arxiv.org/abs/2212.08073
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Certaines choses, dans une bonne réponse, sont faciles à juger et difficiles à
énoncer. Si on lui demande si cette réponse-ci ou celle-là est meilleure, un
annotateur peut répondre vite ; si on lui demande d’écrire la règle qu’il a
appliquée, la tâche est bien plus difficile.
Le réglage des préférences exploite cette asymétrie. Plutôt que de demander aux
gens de produire la réponse idéale, il leur demande de mettre en ordre plusieurs
des réponses du modèle lui-même. Les classements ne sont pas parfaitement
cohérents : les étiqueteurs d’Ouyang et al. (2022) concordaient sur environ
73 % des comparaisons. Chaque classement est ensuite découpé en paires : quatre
réponses classées donnent six paires, chacune formée d’une meilleure et d’une
moins bonne réponse.
Figure 4. Il est souvent bien plus facile de classer des options concrètes, de la meilleure à la pire, que de rédiger soi-même la meilleure réponse possible.
Les deux méthodes les plus connues sont l’apprentissage par renforcement avec
rétroaction humaine (ARRH) et l’optimisation directe des préférences (DPO)
(Jurafsky et Martin, 2026).
Figure 5. ChatGPT demande si une réponse était meilleure ou moins bonne (capture d'écran, 10 septembre 2026). Figure 6. Gemini affiche deux réponses à une même requête et demande laquelle est la plus utile (capture d'écran, 1er octobre 2026).
L’ARRH : un modèle de récompense remplace les personnes
Figure 7. Le postentraînement d'un GML : l'affinage par instructions, puis l'ARRH.
Les comparaisons ne viennent pas forcément de personnes : dans une méthode que
ses auteurs appellent l’IA constitutionnelle, un modèle compare des réponses
sur leur caractère nuisible d’après une liste écrite de principes, et ces
comparaisons, avec des comparaisons humaines pour l’utilité, entraînent le
modèle de récompense (Bai et al., 2022a).
Figure 8. Les mêmes paires classées, utilisées de deux façons.
Sources
Bai, Y., Kadavath, S., Kundu, S., Askell, A., Kernion, J., Jones, A., et al. (2022a). Constitutional AI: Harmlessness from AI Feedback. arXiv:2212.08073 (preprint). https://arxiv.org/abs/2212.08073
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Reinforcement learning: AlphaGo and move 37L'apprentissage par renforcement : AlphaGo et le coup 37
Go as a challenge for AI
Games have long been test cases for AI, chess being the best
known (see also the What counts as AI? page, in the Foundations of AI & NLP module) (voir aussi la page Ce qu'on appelle « IA », dans le module Fondements de l'IA et du TAL), and Go had long
been seen as the most challenging of the classic games (Silver et al., 2016). It
offers far more possible moves at each turn than chess, about 250 against about
35, and its games run longer (Silver et al., 2016). No program can work through
every possible continuation of a game of Go and pick the best one: it cannot
brute-force its way to a good move.
Between 2015 and 2017, Google DeepMind nonetheless built systems that played Go
well, and tested them in well-publicized matches against human champions.
Figure 9. Headlines from January to March 2016, from the announcement of the Fan Hui result to the end of the Lee Sedol match (Knight, 2016; Akpan, 2016; Reuters, 2016; Russell, 2016).
Learning from humans, then from itself
AlphaGo, the Go program, was trained in two stages much like a language model’s.
It began by learning from about 30 million positions from games between strong
amateur players on an online Go server, predicting the move such a player would
make (Silver et al., 2016). Imitation tends to cap a program near the level of the players it copies
(Silver et al., 2017).
In March 2016 AlphaGo played Lee Sedol, one of the strongest players in the
world, and won four games of five (Metz, 2016).
Figure 10. The position after move 37 of the second game, 10 March 2016. AlphaGo, playing black, has just played at P10. It is the first move that is four steps away from the border.
Of the match’s two commentators, one called it a very strange move and the other
thought it was a mistake. It proved central to winning the game, and AlphaGo won
the match about a decade before experts had expected such a win (Metz, 2016).
Learning from the rules alone
A later system, AlphaZero, was given no human games at all. It started from
the rules of the game and its own play, and it ended up stronger still
(Silver et al., 2018).
Silver, D., Huang, A., Maddison, C. J., Guez, A., Sifre, L., van den Driessche, G., et al. (2016). Mastering the game of Go with deep neural networks and tree search. Nature, 529(7587), 484–489. https://doi.org/10.1038/nature16961
Silver, D., Hubert, T., Schrittwieser, J., Antonoglou, I., Lai, M., Guez, A., et al. (2018). A general reinforcement learning algorithm that masters chess, shogi, and Go through self-play. Science, 362(6419), 1140-1144. https://doi.org/10.1126/science.aar6404
Silver, D., Schrittwieser, J., Simonyan, K., Antonoglou, I., Huang, A., Guez, A., et al. (2017). Mastering the game of Go without human knowledge. Nature, 550(7676), 354–359. https://doi.org/10.1038/nature24270
Le go, un défi pour l’IA
Les jeux, dont les échecs sont l’exemple le plus connu, servent depuis longtemps
de terrain d’essai à l’IA (see also the What counts as AI? page, in the Foundations of AI & NLP module) (voir aussi la page Ce qu'on appelle « IA », dans le module Fondements de l'IA et du TAL),
et le go était vu depuis longtemps comme le plus difficile des jeux classiques
(Silver et al., 2016). Il offre bien plus de coups possibles à chaque tour que
les échecs, environ 250 contre environ 35, et ses parties sont plus longues
(Silver et al., 2016). Aucun programme ne peut examiner toutes les suites
possibles d’une partie de go pour choisir la meilleure : il ne peut pas trouver
un bon coup par la force brute.
Entre 2015 et 2017, Google DeepMind a néanmoins construit des systèmes qui
jouaient bien au go, et les a mis à l’épreuve lors de matchs très médiatisés
contre des champions humains.
Figure 9. Des titres de presse de janvier à mars 2016, de l'annonce du résultat contre Fan Hui à la fin du match contre Lee Sedol, reproduits en anglais (Knight, 2016 ; Akpan, 2016 ; Reuters, 2016 ; Russell, 2016).
Apprendre des humains, puis de soi-même
AlphaGo, le programme de go, a été entraîné en deux étapes, tout comme un modèle de langue.
Il a commencé par apprendre à partir d’environ 30 millions de positions tirées
de parties entre de forts joueurs amateurs sur un serveur de go en ligne, en
prédisant le coup qu’un tel joueur jouerait (Silver et al., 2016). L’imitation tend à plafonner un programme près du niveau des joueurs qu’il copie
(Silver et al., 2017).
En mars 2016, AlphaGo a affronté Lee Sedol, l’un des plus forts joueurs du
monde, et a gagné quatre parties sur cinq (Metz, 2016).
Figure 10. La position après le coup 37 de la deuxième partie, 10 mars 2016. AlphaGo, qui joue les noirs, vient de jouer en P10. C'est le premier coup joué à quatre intersections du bord.
Des deux commentateurs du match, l’un a trouvé le coup très étrange et l’autre
l’a pris pour une erreur. Le coup s’est révélé décisif pour gagner la partie, et
AlphaGo a remporté le match une dizaine d’années avant ce qu’attendaient les
experts (Metz, 2016).
Apprendre à partir des seules règles
Un système ultérieur, AlphaZero, n’a reçu aucune partie humaine. Il est parti
des règles du jeu et de son propre jeu, et il a fini plus fort encore (Silver et
coll., 2018).
Silver, D., Huang, A., Maddison, C. J., Guez, A., Sifre, L., van den Driessche, G., et al. (2016). Mastering the game of Go with deep neural networks and tree search. Nature, 529(7587), 484–489. https://doi.org/10.1038/nature16961
Silver, D., Hubert, T., Schrittwieser, J., Antonoglou, I., Lai, M., Guez, A., et al. (2018). A general reinforcement learning algorithm that masters chess, shogi, and Go through self-play. Science, 362(6419), 1140-1144. https://doi.org/10.1126/science.aar6404
Silver, D., Schrittwieser, J., Simonyan, K., Antonoglou, I., Huang, A., Guez, A., et al. (2017). Mastering the game of Go without human knowledge. Nature, 550(7676), 354–359. https://doi.org/10.1038/nature24270
RLVR: learning from answers that can be checkedL'ARV : apprendre à partir de réponses vérifiables
Figure 11. The two pipelines line up stage for stage and part company at what is being optimized.
At the end of every game of Go, the rules say who won. That result is exact, it
costs nothing to check, and a program can play millions of games against itself
to collect more of it.
This is a crucial difference. Having a result you can check automatically
means you can keep optimizing without people, and each check costs almost
nothing. Whereas
being reliant on subjective references that require human involvement to create
is a considerable limitation in terms of how much you can optimize and what you
should consider good performance (see also the Evaluating language technology module) (voir aussi le module L'évaluation des technologies langagières).
Figure 12. The kinds of fine-tuning this chapter names, and which of them make up post-training.
Sources
Guo, D., Yang, D., Zhang, H., Song, J., Zhang, R., Xu, R., et al. (2025). DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning. Nature, 645(8081), 633–638. https://doi.org/10.1038/s41586-025-09422-z
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Lambert, N., Morrison, J., Pyatkin, V., Huang, S., Ivison, H., Brahman, F., et al. (2025). Tulu 3: Pushing Frontiers in Open Language Model Post-Training. Conference on Language Modeling (COLM 2025). https://openreview.net/forum?id=i1uGbfHHpH
Figure 11. Les deux chaînes se correspondent étape pour étape et se séparent sur ce qu'elles optimisent.
À la fin de chaque partie de go, les règles disent qui a gagné. Ce résultat est
exact, il ne coûte rien à vérifier, et un programme peut jouer des millions de
parties contre lui-même pour en recueillir davantage.
C’est une différence cruciale. Disposer d’un résultat vérifiable automatiquement
permet de continuer à optimiser sans intervention humaine, et chaque
vérification ne coûte presque rien. Dépendre de références subjectives, dont la création exige une intervention
humaine, limite au contraire considérablement ce qu’on peut optimiser et ce
qu’on doit considérer comme une bonne performance (see also the Evaluating language technology module) (voir aussi le module L'évaluation des technologies langagières).
Figure 12. Les sortes d'affinage que nomme ce chapitre, et celles qui forment le postentraînement.
Sources
Guo, D., Yang, D., Zhang, H., Song, J., Zhang, R., Xu, R., et al. (2025). DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning. Nature, 645(8081), 633–638. https://doi.org/10.1038/s41586-025-09422-z
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Lambert, N., Morrison, J., Pyatkin, V., Huang, S., Ivison, H., Brahman, F., et al. (2025). Tulu 3: Pushing Frontiers in Open Language Model Post-Training. Conference on Language Modeling (COLM 2025). https://openreview.net/forum?id=i1uGbfHHpH
Before neural networks: rules and statisticsAvant les réseaux de neurones : règles et statistiques
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
Rule-based translationLa traduction à base de règles
Dictionaries and rules
The first generation of systems translated the way a beginner with a
dictionary and a grammar might. For the green witch arrived, an
English-to-French system of this kind works through a list:
look each word up in its bilingual dictionary: the → la, green →
vert, witch → sorcière, arrived → est arrivée;
apply the rule that a French adjective follows its noun: sorcière vert;
apply the rule that it agrees in gender and number: sorcière verte;
assemble the sentence: la sorcière verte est arrivée.
Jurafsky and Martin (2026) describe three designs, which differ in how much
of the source sentence is analyzed before anything is produced (Figure 1figure 1).
Figure 1. The Vauquois triangle, as given by Jurafsky and Martin (2026), who attribute it to Vauquois.
Design
Analysis before anything is written
Written for each language pair
Direct
nothing: the sentence is worked through word by word
a large bilingual dictionary whose every entry is a small program, translating one word and handling its reordering
Transfer
the grammatical structure of the source sentence
rules that turn a source structure into a target structure, then a generator, the part that writes the target sentence from that structure
Interlingua
the meaning, into a representation independent of both languages
in principle nothing specific to the pair: one analyzer per source language, one generator per target language
The three designs of rule-based translation.
Going up the triangle means more analysis on both sides and less knowledge
specific to the pair in the middle.
Strengths and limits
Strengths
Limits
Control. A wrong translation is traced to a rule or a dictionary entry, and corrected there.
Transparency. The path from the source to the output can be read, rule by rule.
Slow and expensive to build. In a direct or transfer system, each language pair and each direction needs its own dictionary and rules, written by linguists.
Hard to maintain. Rules interact, and a rule added for one case can break another.
The approach lost ground once enough translated text existed to learn from,
and it survives mainly for language pairs where that text does not exist.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Des dictionnaires et des règles
La première génération de systèmes traduisait comme le ferait un débutant
muni d’un dictionnaire et d’une grammaire. Pour the green witch arrived, un
système de ce type qui traduit de l’anglais vers le français suit une liste
d’étapes :
chercher chaque mot dans son dictionnaire bilingue : the → la,
green → vert, witch → sorcière, arrived → est arrivée ;
appliquer la règle selon laquelle l’adjectif français suit le nom :
sorcière vert ;
appliquer la règle d’accord en genre et en nombre : sorcière verte ;
assembler la phrase : la sorcière verte est arrivée.
Jurafsky et Martin (2026) décrivent trois architectures, qui diffèrent par la
part de la phrase source analysée avant que quoi que ce soit soit produit
(Figure 1figure 1).
Figure 1. Le triangle de Vauquois, tel que le présentent Jurafsky et Martin (2026), qui l'attribuent à Vauquois.
Architecture
Analyse avant toute écriture
Ce qu’il faut écrire pour chaque paire de langues
Directe
aucune : la phrase est traitée mot par mot
un grand dictionnaire bilingue dont chaque entrée est un petit programme, qui traduit un mot et gère son déplacement dans la phrase
Transfert
la structure grammaticale de la phrase source
des règles qui transforment une structure source en structure cible, puis un générateur, la partie qui écrit la phrase cible à partir de cette structure
Interlangue
le sens, dans une représentation indépendante des deux langues
en principe rien de propre à la paire : un analyseur par langue source, un générateur par langue cible
Les trois architectures de la traduction à base de règles.
Plus on monte dans le triangle, plus l’analyse est poussée des deux côtés, et
moins il faut de connaissances propres à la paire de langues au milieu.
Forces et limites
Forces
Limites
Contrôle. Une traduction erronée se ramène à une règle ou à une entrée du dictionnaire, et se corrige à cet endroit.
Transparence. Le chemin de la phrase source au résultat se lit règle par règle.
Long et coûteux à construire. Dans un système direct ou à transfert, chaque paire de langues et chaque direction exigent leurs propres dictionnaire et règles, écrits par des linguistes.
Difficile à maintenir. Les règles interagissent, et une règle ajoutée pour un cas peut en défaire un autre.
Forces et limites de la traduction à base de règles.
L’approche a perdu du terrain dès que les textes traduits ont été assez
nombreux pour qu’on puisse en apprendre, et elle survit surtout pour les
paires de langues où ces textes n’existent pas.
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
The parts of a statistical system are shown in Figure 2figure 2 (Jurafsky & Martin, 2026).
Figure 2. The three components of a statistical translation system. The phrase table and its probabilities are illustrative.
The translation model contains the bilingual knowledge: for each source
word or phrase, the target words or phrases paired with it in the corpus,
each with a probability. In the phrase-based systems that became
standard in the 2000s, this is a table of phrase pairs, the phrase table.
The decoder combines the two: it takes every phrase pair that matches
the source sentence and searches for the combination and order whose
probability is highest under both models together.
The reference textbook of this generation is Koehn (2010).
You can try the reasoning yourself on a menu in a language you do not read,
for example the four dishes in the table below. If you read Chinese, the
steps work the same way for a menu in any language you do not know.
On the menu
In English
虾仁炒饭
Shrimp fried rice
牛肉炒饭
Beef fried rice
牛肉面
Beef noodles
炒面
Fried noodles
Four dishes from a Chinese menu, with their English translations.
Two dishes are fried rice, and the only signs they have in common are
炒饭, so 炒饭 probably means fried rice.
Two dishes contain beef, and they have 牛肉 in common, so 牛肉 means
beef: two signs for one English word.
In 牛肉面, once 牛肉 is beef, the one sign left, 面, must be noodles.
In 炒面, once 面 is noodles, 炒 must be fried, which leaves 饭 in
炒饭 for rice.
In the first dish, 虾仁 is then the only candidate left for shrimp.
You have matched every sign to an English word without reading the menu,
only by comparing which signs and which English words occur together. Real
translations are less tidy: the same menu could translate 炒面 as chow
mein, and that dish would then tell you nothing about fried or noodles.
What the system does
A statistical system applies the same idea to millions of sentence pairs,
with counts in place of reasoning.
At the start, the system has no information about either language. Every word
of a source sentence is equally likely to translate every word of its
target sentence (Brown et al., 1993).
The system counts and recalculates, many times over. Words that keep
occurring in the same sentence pairs gain probability; once a word’s
translation is clear, the other words of the pair are left to share the
rest. The effect is close to the elimination you did on the menu. The
result is a word alignment: in each sentence pair, each word is paired
with its probable translation (Brown et al., 1993).
The system then collects phrase pairs, sequences of words that are
aligned only with each other, such as 炒面 and fried noodles (Koehn et
al., 2003).
The probability in the phrase table is a share. Of all the times a
source phrase was paired with something, it is the share of times it was
paired with this translation (Koehn et al., 2003). If 炒面 occurred
1 000 times, 700 times with fried noodles, 250 times with chow mein and
50 times with noodles, the three probabilities would be 0.70, 0.25 and
0.05 (illustrative numbers).
Whether the model produces text. In a statistical system the language
model does not produce any text of its own: the phrase table proposes the
candidates and the language model only scores them. An LLM produces the
text itself, one token at a time, by choosing among the tokens it gives a high
probability (see also the LLMs as next-word predictors chapter, in the LLM lifecycle module) (voir aussi le chapitre Les GML, prédicteurs du mot suivant, dans le module Cycle de vie des GML).
Dependence on the training data
The quality of a statistical system depends mainly on its training data:
the more translated words a system was trained on, the more reliable its
counts;
the closer the training data is to the text to translate, in domain and in
style, the better the output: a system trained on parliamentary proceedings
translates proceedings well and a product manual less well;
Brown, P. F., Della Pietra, S. A., Della Pietra, V. J., & Mercer, R. L. (1993). The Mathematics of Statistical Machine Translation: Parameter Estimation. Computational Linguistics, 19(2), 263–311. https://aclanthology.org/J93-2003/
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Koehn, P., Och, F. J., & Marcu, D. (2003). Statistical Phrase-Based Translation. Proceedings of the 2003 Human Language Technology Conference of the North American Chapter of the Association for Computational Linguistics, 127–133. https://aclanthology.org/N03-1017/
Tiedemann, J. (2012). Parallel Data, Tools and Interfaces in OPUS. Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12), Istanbul, 2214–2218. https://aclanthology.org/L12-1246/
Ziemski, M., Junczys-Dowmunt, M., & Pouliquen, B. (2016). The United Nations Parallel Corpus v1.0. Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC'16), Portorož, 3530–3534. https://aclanthology.org/L16-1561/
Modèle de traduction, modèle de langue et décodeur
La Figure 2figure 2 présente les composantes d’un système statistique (Jurafsky & Martin, 2026).
Figure 2. Les trois composantes d'un système de traduction statistique. La table de traduction et ses probabilités sont fictives.
Le modèle de traduction contient les connaissances bilingues : pour
chaque mot ou segment source, les mots ou segments cibles qui lui sont
appariés dans le corpus, chacun avec une probabilité. Dans les systèmes
fondés sur les segments, devenus la norme dans les années 2000, il s’agit
d’une table de paires de segments, la table de traduction (angl. phrase
table).
Le décodeur combine les deux : il prend toutes les paires de segments qui
correspondent à la phrase source et cherche la combinaison et l’ordre dont la
probabilité est la plus élevée selon les deux modèles réunis.
L’ouvrage de référence de cette génération est celui de Koehn (2010).
Vous pouvez essayer ce raisonnement vous-même sur un menu dans une langue que
vous ne lisez pas, par exemple les quatre plats du tableau ci-dessous. Si vous
lisez le chinois, les étapes fonctionnent de la même façon avec un menu dans
n’importe quelle langue que vous ne connaissez pas.
Sur le menu
En français
虾仁炒饭
Riz sauté aux crevettes
牛肉炒饭
Riz sauté au bœuf
牛肉面
Nouilles au bœuf
炒面
Nouilles sautées
Quatre plats d'un menu chinois, avec leur traduction française.
Deux plats sont du riz sauté, et les seuls signes qu’ils ont en commun
sont 炒饭 : 炒饭 veut donc probablement dire riz sauté.
Deux plats contiennent du bœuf, et ils ont 牛肉 en commun : 牛肉 veut donc
dire bœuf, deux signes pour un seul mot français.
Dans 牛肉面, une fois 牛肉 identifié comme bœuf, le seul signe qui reste,
面, doit vouloir dire nouilles.
Dans 炒面, une fois 面 identifié comme nouilles, 炒 doit vouloir dire
sautées, ce qui laisse 饭, dans 炒饭, pour riz.
Dans le premier plat, 虾仁 est alors le seul candidat qui reste pour
crevettes.
Vous avez associé chaque signe à un mot français sans lire le menu,
uniquement en comparant quels signes et quels mots français apparaissent
ensemble. Les traductions réelles sont moins nettes : le même menu pourrait
traduire 炒面 par chow mein, et ce plat ne vous apprendrait alors rien sur
sautées ni sur nouilles.
Ce que fait le système
Un système statistique applique la même idée à des millions de paires de
phrases, avec des comptages à la place du raisonnement.
Au départ, le système ne dispose d’aucune information sur l’une ou l’autre langue. Chaque mot d’une
phrase source a autant de chances de traduire n’importe quel mot de sa
phrase cible (Brown et al., 1993).
Le système compte et recalcule, un grand nombre de fois. Les mots qui
reviennent sans cesse dans les mêmes paires de phrases gagnent en
probabilité ; une fois la traduction d’un mot établie, les autres mots de la
paire se partagent le reste. L’effet est proche de l’élimination que vous
avez faite sur le menu. Le résultat est un alignement des mots : dans
chaque paire de phrases, chaque mot est apparié à sa traduction probable
(Brown et al., 1993).
Le système recueille ensuite des paires de segments, des suites de mots
qui ne sont alignées qu’entre elles, comme 炒面 et nouilles sautées (Koehn
et al., 2003).
La probabilité dans la table de traduction est une proportion. Sur
toutes les fois où un segment source a été apparié à quelque chose, c’est la
proportion des fois où il a été apparié à cette traduction (Koehn et al.,
2003). Si 炒面 apparaissait 1 000 fois, dont 700 fois avec nouilles
sautées, 250 fois avec chow mein et 50 fois avec nouilles, les trois
probabilités seraient 0,70, 0,25 et 0,05 (chiffres fictifs).
Le modèle de langue et les grands modèles de langue
Si le modèle produit du texte. Dans un système statistique, le modèle de
langue ne produit aucun texte de lui-même : la table de traduction propose
les candidats, et le modèle de langue se contente de les noter. Un GML
produit lui-même le texte, un jeton à la fois, en choisissant parmi les
jetons auxquels il attribue une forte probabilité (see also the LLMs as next-word predictors chapter, in the LLM lifecycle module) (voir aussi le chapitre Les GML, prédicteurs du mot suivant, dans le module Cycle de vie des GML).
La dépendance aux données d’entraînement
La qualité d’un système statistique dépend surtout de ses données
d’entraînement :
plus le système a été entraîné sur un grand nombre de mots traduits, plus
ses comptages sont fiables ;
plus les données d’entraînement sont proches du texte à traduire, par le
domaine et par le style, meilleur est le résultat : un système entraîné sur
des débats parlementaires traduit bien des débats et moins bien un manuel de
produit ;
Brown, P. F., Della Pietra, S. A., Della Pietra, V. J., & Mercer, R. L. (1993). The Mathematics of Statistical Machine Translation: Parameter Estimation. Computational Linguistics, 19(2), 263–311. https://aclanthology.org/J93-2003/
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Koehn, P., Och, F. J., & Marcu, D. (2003). Statistical Phrase-Based Translation. Proceedings of the 2003 Human Language Technology Conference of the North American Chapter of the Association for Computational Linguistics, 127–133. https://aclanthology.org/N03-1017/
Tiedemann, J. (2012). Parallel Data, Tools and Interfaces in OPUS. Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12), Istanbul, 2214–2218. https://aclanthology.org/L12-1246/
Ziemski, M., Junczys-Dowmunt, M., & Pouliquen, B. (2016). The United Nations Parallel Corpus v1.0. Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC'16), Portorož, 3530–3534. https://aclanthology.org/L16-1561/
Neural translation and large language modelsLa traduction neuronale et les grands modèles de langue
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
Large language models as translatorsLes grands modèles de langue comme traducteurs
a network built for translation only, trained on parallel corpora
systems such as NLLB; the online services, evaluated anonymously, do not say which kind they are
General large language model
a model built for many tasks, prompted to translate
Gemini 2.5 Pro, GPT-4.1, Claude 4
Specialized large language model
a large language model fine-tuned on translation data, sometimes with retrieved examples, a dictionary or a choice among several candidate translations
Three kinds of translation system, with examples from WMT 2025.
Most teams that took part in 2025 fine-tuned a large language model rather
than building an encoder-decoder from scratch (Kocmi et al., 2025).
Some everyday services moved the same way: DeepL describes its model as a
large language model specialized for translation, and Google Translate has
used Gemini for some languages since December
2025.DeepL Help Center, “About DeepL’s language model”, read 8 October 2026. Google, “Google Translate gets new Gemini AI translation models”, 12 December 2025, read 8 October 2026. Microsoft’s translation service still uses standard neural machine translation by default (Microsoft Learn, read 8 October 2026).
A translation service and a chatbot can now differ mainly in specialization:
one system built and tuned for translation alone, against a general model
that you prompt.
When I present machine translation systems, I want to show where they still
fail now that they have become good, and they often fail on specialized
terms. So I wrote a short message of my own, full of dressage vocabulary,
and I translate it again each time I update my examples. Over the years this
has become a timeline of one text through several generations of systems.
The first message is in Dutch, from when I worked mostly with Dutch-speaking
audiences; I added an English message, to translate into French, when I
started at a French-speaking university. I translated both myself as the
reference.
The timeline is anecdotal: one message in each direction, a few runs of each
system, judged by me. It still shows how the systems changed, and how
differently each one handles text of this kind. In 2023 all three services
were neural translation systems (see also the Neural translation page, in the Machine translation module) (voir aussi la page La traduction neuronale, dans le module Traduction automatique). DeepL and Google Translate have since added large
language models, as described above, so their later outputs, made with the
free versions, may or may not come from one.DeepL, “DeepL’s next-gen LLM”, last updated 16 July 2024, read 13 October 2026: Pro users “can switch between the next-gen LLM and ‘classic’ model”. Google, “Google Translate gets new Gemini AI translation models”, 12 December 2025, read 8 October 2026. eTranslation, the
European Commission’s service, was used without its AI enhancement option.
It is a good system, but it is trained on the translations of the EU
institutions, where dressage rarely comes up, so a message like this one is
far from the text it learned from (see also the Strengths and limits of neural translation page, in the Machine translation module) (voir aussi la page Forces et limites de la traduction neuronale, dans le module Traduction automatique).European Commission, “eTranslation”: “a neural machine translation tool trained on EU professional translation data”, read 13 October 2026.
Each term in the outputs is marked correct (correctcorrect),
acceptable or partly right (acceptable or partly rightacceptable ou en partie juste) or
wrong (wrongfaux).
Dutch into English
The Dutch message is Ik zal haar eerst aan de longe nemen om te leren
lichtrijden op het buitenbeen. Zorg dat ze een tok heeft en ik doe alvast
getten om. Heb jij nog een sjabrak? It contains aan de longe nemen (to
lunge; here, to give a riding lesson on a horse on the lunge), lichtrijden op het buitenbeen
(to post the trot on the correct diagonal), tok (a riding hat), getten
(protective boots for the horse’s legs) and sjabrak (a saddle pad).
System
Date
longe
lichtrijden
op het buitenbeen
tok
getten
sjabrak
Reference
lunge
post (the trot)
on the correct diagonal
riding hat
boots
saddle pad
Google Translate
2023
take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect)
ride light (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
tok (wrongfaux)
getten (wrongfaux)
shabrack (acceptable or partly rightacceptable ou en partie juste)
2025
lunging (correctcorrect)
ride lightly (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
riding helmet (correctcorrect)
saddle pads (wrongfaux)
saddle pad (correctcorrect)
2026‑10
lunge (correctcorrect)
rise (correctcorrect)
to the outside leg (acceptable or partly rightacceptable ou en partie juste)
helmet (correctcorrect)
brushing boots (correctcorrect)
saddle pad (correctcorrect)
DeepL
2023
take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect)
ride lightly (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
tok (wrongfaux)
getten (wrongfaux)
shawl (wrongfaux)
2025
take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect)
ride lightly (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
bridle (wrongfaux)
stirrups (wrongfaux)
saddlecloth (correctcorrect)
2026‑10
lunging (correctcorrect)
move lightly (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
halter (wrongfaux)
girth (wrongfaux)
saddle pad (correctcorrect)
eTranslation
2023
take her to (wrongfaux) the lung (wrongfaux)
ride light (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
tok (wrongfaux)
I’m going to get it (wrongfaux)
shabrak (acceptable or partly rightacceptable ou en partie juste)
2025
take her to (wrongfaux) the lungs (wrongfaux)
ride lightly (wrongfaux)
on the outer leg (acceptable or partly rightacceptable ou en partie juste)
tok (wrongfaux)
I’ll get the hell out of here (wrongfaux)
shabrak (acceptable or partly rightacceptable ou en partie juste)
2026‑10
take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect)
light riding (wrongfaux)
on the outer leg (acceptable or partly rightacceptable ou en partie juste)
tok (wrongfaux)
I’ll get bitten on (wrongfaux)
shabrak (acceptable or partly rightacceptable ou en partie juste)
ChatGPT
2023‑02
take her on (acceptable or partly rightacceptable ou en partie juste) a lunge line (correctcorrect)
ride light (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
martingale (wrongfaux)
getting ready (wrongfaux)
saddle pad (correctcorrect)
2023‑03
lunge (correctcorrect)
ride with (wrongfaux)
the correct diagonal (correctcorrect)on the outside leg (acceptable or partly rightacceptable ou en partie juste)
helmet (correctcorrect)
leg wraps (correctcorrect)
saddle pad (correctcorrect)
2023‑03 (GPT-4)
lunge (correctcorrect)
post (correctcorrect)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
cup (wrongfaux)
gaiters (wrongfaux)
saddle pad (correctcorrect)
2024‑03
take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect)
post (correctcorrect)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
jockstrap (wrongfaux)
gaiters (wrongfaux)
saddle pad (correctcorrect)
2024‑05
lunge (correctcorrect)
post (correctcorrect)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
helmet (correctcorrect)
protective boots (correctcorrect)
saddle pad (correctcorrect)
2025‑09
lunge (correctcorrect)
post (correctcorrect)
on the outside diagonal (correctcorrect)
helmet (correctcorrect)
boots (correctcorrect)
saddle pad (correctcorrect)
2026‑01
lunge (correctcorrect)
rising trot (correctcorrect)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
riding helmet (correctcorrect)
my gaiters (wrongfaux)
saddle pad (correctcorrect)
2026‑01, second run
lunge (correctcorrect)
rise (correctcorrect)
on the outside foreleg (acceptable or partly rightacceptable ou en partie juste)
riding hat (correctcorrect)
my half chaps (wrongfaux)
saddle pad (correctcorrect)
2026‑10
lunge line (correctcorrect)
post (correctcorrect)
on the outside diagonal (correctcorrect)
riding helmet (correctcorrect)
brushing boots (correctcorrect)
saddle pad (correctcorrect)
The terms of the Dutch message in each output.
The complete outputs
System
Date
Output
Source
Ik zal haar eerst aan de longe nemen om te leren lichtrijden op het buitenbeen. Zorg dat ze een tok heeft en ik doe alvast getten om. Heb jij nog een sjabrak?
Reference
I will start by teaching her on the lunge how to post (the trot) on the correct diagonal. Make sure she has a riding hat, and I will already put the boots on. Do you have another saddle pad?
Google Translate
2023
I will first take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect) to learn how to ride light (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a tok (wrongfaux) and I’ll put on getten (wrongfaux). Do you still have a shabrack (acceptable or partly rightacceptable ou en partie juste)?
2025
I’ll start by lunging (correctcorrect) her to learn how to ride lightly (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a riding helmet (correctcorrect), and I’ll put on the saddle pads (wrongfaux). Do you still have a saddle pad (correctcorrect)?
2026‑10
I’ll put her on the lunge (correctcorrect) first so she can learn to rise (correctcorrect)to the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a helmet (correctcorrect), and I’ll put on her brushing boots (correctcorrect). Do you have a saddle pad (correctcorrect)?
DeepL
2023
I will take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect) first to learn to ride lightly (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a tok (wrongfaux) and I’ll put on getten (wrongfaux) in advance. Do you still have a shawl (wrongfaux)?
2025
I will first take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect) to teach her to ride lightly (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a bridle (wrongfaux) and I will put on the stirrups (wrongfaux). Do you have a saddlecloth (correctcorrect)?
2026‑10
I’ll start by lunging (correctcorrect) her to teach her to move lightly (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a halter (wrongfaux) on, and I’ll go ahead and put the girth (wrongfaux) on. Do you have a saddle pad (correctcorrect)?
eTranslation
2023
I’ll take her to (wrongfaux) the lung (wrongfaux) first to learn how to ride light (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she’s got a tok (wrongfaux), and I’m going to get it (wrongfaux). Do you have another shabrak (acceptable or partly rightacceptable ou en partie juste)?
2025
I’ll take her to (wrongfaux) the lungs (wrongfaux) first to learn how to ride lightly (wrongfaux)on the outer leg (acceptable or partly rightacceptable ou en partie juste). Make sure she’s got a tok (wrongfaux), and I’ll get the hell out of here (wrongfaux). Do you have another shabrak (acceptable or partly rightacceptable ou en partie juste)?
2026‑10
I’ll take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect) first to learn light riding (wrongfaux)on the outer leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a tok (wrongfaux) and I’ll get bitten on (wrongfaux). Do you have another shabrak (acceptable or partly rightacceptable ou en partie juste)?
ChatGPT
2023‑02
I will first take her on (acceptable or partly rightacceptable ou en partie juste) a lunge line (correctcorrect) to teach her to ride light (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a martingale (wrongfaux) and I’ll start getting ready (wrongfaux). Do you have a saddle pad (correctcorrect)?
2023‑03
I will first lunge (correctcorrect) her to teach her how to ride with (wrongfaux)the correct diagonal (correctcorrect)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a helmet (correctcorrect) and I will put on leg wraps (correctcorrect). Do you have a saddle pad (correctcorrect)?
2023‑03 (GPT-4)
I will first lunge (correctcorrect) her to teach her to post (correctcorrect)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a cup (wrongfaux), and I will put on the gaiters (wrongfaux) already. Do you have an extra saddle pad (correctcorrect)?
2024‑03
I will first take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect) to learn to post (correctcorrect)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a jockstrap (wrongfaux), and I will already put on gaiters (wrongfaux). Do you have another saddle pad (correctcorrect)?
2024‑05
I will lunge (correctcorrect) her first to teach her to post (correctcorrect)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a helmet (correctcorrect), and I will put on the protective boots (correctcorrect). Do you still have a saddle pad (correctcorrect)?
2025‑09
I’ll lunge (correctcorrect) her first to teach her to post on the outside diagonal (correctcorrect). Make sure she’s got a helmet (correctcorrect), and I’ll go ahead and put on the boots (correctcorrect). Do you have a saddle pad (correctcorrect)?
2026‑01
I’ll put her on the lunge (correctcorrect) first so she can learn to ride rising trot (correctcorrect)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a riding helmet (correctcorrect) on, and I’ll put my gaiters (wrongfaux) on already. Do you still have a saddle pad (correctcorrect)?
2026‑01, second run
I’ll lunge (correctcorrect) her first so she can learn to rise (correctcorrect)on the outside foreleg (acceptable or partly rightacceptable ou en partie juste). Make sure she’s wearing her riding hat (correctcorrect), and I’ll put my half chaps (wrongfaux) on. Do you have a saddle pad (correctcorrect) as well?
2026‑10
I’ll put her on the lunge line (correctcorrect) first so she can learn to post on the outside diagonal (correctcorrect). Make sure she has a riding helmet (correctcorrect), and I’ll put the brushing boots (correctcorrect) on in the meantime. Do you have another saddle pad (correctcorrect)?
One Dutch message translated by three online translation services in 2023, 2025 and 2026-10, with their free versions, and by ChatGPT between 2023 and 2026, each time with the latest model offered by the basic paid subscription at the time and the prompt *translate into English:* followed by the message; the 2026-10 output with the medium effort setting, in a temporary chat.
Riding words that do not belong. Several outputs replaced a term with
riding vocabulary that has nothing to do with the message, as if any word
from the domain would do: a martingale (ChatGPT, 2023), a bridle and
stirrups (DeepL, 2025), a halter and a girth (DeepL, 2026).
Word for word, or not at all. In 2023 all three services left tok
and getten untranslated or turned them into something else
(eTranslation’s I’m going to get it). Every service output but Google
Translate’s of 2026 rendered lichtrijden as ride light, ride lightly,
move lightly or light riding.
The services moved apart. By 2026-10 Google Translate had almost
every term right, DeepL’s output had changed without improving, and
eTranslation had found only the lunge.
ChatGPT improved, but not steadily. In 2023-02 it produced a
martingale and getting ready; a month later it already had the helmet, the leg wraps
and the correct diagonal, while GPT-4, released that month, gave the rider a
cup. Most terms were right by 2024-05 and all of them by 2025-09. Neither
output of 2026-01 had the correct diagonal, and both turned getten into
something the speaker wears; in 2026-10 every term was right again. A
newer system can get a term wrong that an older one got right.
English into French
The English message is I’ll start her on the lunge line to learn to post
the trot on the correct diagonal. When you take her to him, make sure to
explain his cribbing and to clean his feathers and treat his frogs to avoid
thrush. How are your lead changes going? Are you doing flying changes yet?
It has a dressage term in every clause.
System
Date
lunge line
post the trot on the correct diagonal
cribbing
feathers
frogs
thrush
flying changes
Reference
à la longe
le trot enlevé sur le bon diagonal
fait un tic à l’appui
fanons
fourchettes
pourriture de la fourchette
changements de pied en l’air
Google Translate
2025
à la longe (correctcorrect)
placer le trot sur la bonne diagonale (wrongfaux)
s’accroupit (wrongfaux)
plumes (wrongfaux)
fourchettes (correctcorrect)
grives (wrongfaux)
changements de pied en vol (wrongfaux)
2026‑10
à la longe (correctcorrect)
trotter enlevé (correctcorrect)sur la bonne diagonale (wrongfaux)
tic d’appui (acceptable or partly rightacceptable ou en partie juste)
fanons (correctcorrect)
fourchettes (correctcorrect)
pourrissement (acceptable or partly rightacceptable ou en partie juste)
au galop (acceptable or partly rightacceptable ou en partie juste)
DeepL
2025
à la longe (correctcorrect)
prendre le trot dans la bonne diagonale (wrongfaux)
fait des crèches (wrongfaux)
plumes (wrongfaux)
grenouilles (wrongfaux)
muguet (wrongfaux)
changements en vol (wrongfaux)
2026‑10
à la longe (correctcorrect)
se lever au trot (acceptable or partly rightacceptable ou en partie juste)sur la bonne diagonale (wrongfaux)
problème de mordillage (wrongfaux)
crins (acceptable or partly rightacceptable ou en partie juste)
sabots (acceptable or partly rightacceptable ou en partie juste)
pourriture de la fourchette (correctcorrect)
changements au galop (acceptable or partly rightacceptable ou en partie juste)
eTranslation
2026‑10
ligne de fente (wrongfaux)
poser le trot sur la bonne diagonale (wrongfaux)
cribbing (wrongfaux)
plumes (wrongfaux)
grenouilles (wrongfaux)
muguet (wrongfaux)
changements de vol (wrongfaux)
ChatGPT
2025‑01 (GPT-4o)
sur la longe (acceptable or partly rightacceptable ou en partie juste)
trotter en levée (acceptable or partly rightacceptable ou en partie juste)sur la bonne diagonale (wrongfaux)
tic à l’appui (cribbing) (correctcorrect)
fanons (correctcorrect)
fourchettes (correctcorrect)
pourriture (correctcorrect)
changements de pied au vol (wrongfaux)
2026‑02 (GPT-5.2)
à la longe (correctcorrect)
trotter enlevé sur le bon diagonal (correctcorrect)
tic à l’appui (correctcorrect)
fanons (correctcorrect)
fourchettes (correctcorrect)
pourriture de fourchette (correctcorrect)
changements de pied (correctcorrect)au temps (wrongfaux) (en l’air (correctcorrect))
2026‑10
à la longe (correctcorrect)
trotter enlevé sur le bon diagonal (correctcorrect)
tique à l’appui (correctcorrect)
fanons (correctcorrect)
fourchettes (correctcorrect)
pourriture de la fourchette (correctcorrect)
changements de pied en l’air (correctcorrect)
The terms of the English message in each French output. *Lead changes* is left out: every output has *changements de pied*, except eTranslation's *changements de leads*.
The complete outputs
System
Date
Output
Source
I’ll start her on the lunge line to learn to post the trot on the correct diagonal. When you take her to him, make sure to explain his cribbing and to clean his feathers and treat his frogs to avoid thrush. How are your lead changes going? Are you doing flying changes yet?
Reference
Je vais commencer par la travailler à la longe pour qu’elle apprenne le trot enlevé sur le bon diagonal. Quand tu l’emmèneras vers lui, n’oublie pas de préciser qu’il fait un tic à l’appui et de bien nettoyer ses fanons, puis de traiter ses fourchettes afin d’éviter la pourriture de la fourchette. Comment avancent tes changements de pied ? Est-ce que tu fais déjà des changements de pied en l’air ?
Google Translate
2025
Je vais la démarrer à la longe (correctcorrect) pour lui apprendre à placer le trot sur la bonne diagonale (wrongfaux). Lorsque vous l’amènerez chez lui, assurez-vous de lui expliquer comment il s’accroupit (wrongfaux), de nettoyer ses plumes (wrongfaux) et de traiter ses fourchettes (correctcorrect) pour éviter les grives (wrongfaux). Comment se passent vos changements de pied (correctcorrect) ? Faites-vous déjà des changements de pied en vol (wrongfaux) ?
2026‑10
Je vais commencer à la travailler à la longe (correctcorrect) pour qu’elle apprenne à trotter enlevé (correctcorrect)sur la bonne diagonale (wrongfaux). Lorsque tu l’emmèneras vers lui, n’oublie pas d’expliquer son tic d’appui (acceptable or partly rightacceptable ou en partie juste), de nettoyer ses fanons (correctcorrect) et de soigner ses fourchettes (correctcorrect) pour éviter le pourrissement (acceptable or partly rightacceptable ou en partie juste). Comment se passent les changements de pied (correctcorrect) ? En faites-vous déjà au galop (acceptable or partly rightacceptable ou en partie juste) ?
DeepL
2025
Je la mettrai à la longe (correctcorrect) pour qu’elle apprenne à prendre le trot dans la bonne diagonale (wrongfaux). Lorsque vous l’emmènerez chez lui, n’oubliez pas de lui expliquer qu’il fait des crèches (wrongfaux), de nettoyer ses plumes (wrongfaux) et de traiter ses grenouilles (wrongfaux) pour éviter le muguet (wrongfaux). Comment se passent les changements de pied (correctcorrect) ? Faites-vous déjà des changements en vol (wrongfaux) ?
2026‑10
Je vais commencer par la travailler à la longe (correctcorrect) pour qu’elle apprenne à se lever au trot (acceptable or partly rightacceptable ou en partie juste)sur la bonne diagonale (wrongfaux). Quand tu l’emmèneras chez lui, n’oublie pas de lui expliquer son problème de mordillage (wrongfaux), de nettoyer ses crins (acceptable or partly rightacceptable ou en partie juste) et de soigner ses sabots (acceptable or partly rightacceptable ou en partie juste) pour éviter la pourriture de la fourchette (correctcorrect). Comment se passent tes changements de pied (correctcorrect) ? Tu fais déjà des changements au galop (acceptable or partly rightacceptable ou en partie juste) ?
eTranslation
2026‑10
Je la mettrai sur la ligne de fente (wrongfaux) pour apprendre à poser le trot sur la bonne diagonale (wrongfaux). Lorsque vous l’emmenez chez lui, assurez-vous d’expliquer son cribbing (wrongfaux) et de nettoyer ses plumes (wrongfaux) et de traiter ses grenouilles (wrongfaux) pour éviter le muguet (wrongfaux). Comment vont vos changements de leads (wrongfaux) ? Êtes-vous en train de faire des changements de vol (wrongfaux) encore ?
ChatGPT
2025‑01 (GPT-4o)
Je vais commencer par la mettre sur la longe (acceptable or partly rightacceptable ou en partie juste) pour qu’elle apprenne à trotter en levée (acceptable or partly rightacceptable ou en partie juste)sur la bonne diagonale (wrongfaux). Quand tu l’emmènes chez lui, assure-toi d’expliquer son tic à l’appui (cribbing) (correctcorrect) et de nettoyer ses fanons (correctcorrect) ainsi que de traiter ses fourchettes (correctcorrect) pour éviter la pourriture (correctcorrect). Comment se passent tes changements de pied (correctcorrect) ? Fais-tu déjà des changements de pied au vol (wrongfaux) ?
2026‑02 (GPT-5.2)
Je vais d’abord la mettre à la longe (correctcorrect) pour qu’elle apprenne à trotter enlevé sur le bon diagonal (correctcorrect). Quand tu l’emmèneras chez lui, assure-toi de lui expliquer qu’il tic à l’appui (correctcorrect) et de nettoyer ses fanons (correctcorrect), puis de soigner ses fourchettes (correctcorrect) pour éviter la pourriture de fourchette (correctcorrect). Comment vont tes changements de pied (correctcorrect) ? Tu fais déjà des changements de pied (correctcorrect)au temps (wrongfaux) (en l’air (correctcorrect)) ?
2026‑10
Je vais commencer par la faire travailler à la longe (correctcorrect) pour qu’elle apprenne à trotter enlevé sur le bon diagonal (correctcorrect). Quand tu l’emmèneras chez lui, assure-toi de bien lui expliquer qu’il tique à l’appui (correctcorrect), de nettoyer ses fanons (correctcorrect) et de traiter ses fourchettes (correctcorrect) pour éviter la pourriture de la fourchette (correctcorrect). Comment ça se passe, tes changements de pied (correctcorrect) ? Tu fais déjà des changements de pied en l’air (correctcorrect) ?
One English message translated into French by three online translation services in 2025 and 2026-10, with their free versions, and by ChatGPT in 2025 and 2026, with the prompt *translate into French:* followed by the message; the 2026-10 output with the medium effort setting, in a temporary chat.
In 2025 the services translated the words. Both rendered post the
trot word for word and flying changes as en vol. Google Translate
turned feathers into plumes and thrush into grives, the bird; DeepL
turned frogs into grenouilles, the animal, and thrush into muguet,
the yeast infection of the human mouth that English also calls thrush.
By 2026-10 the services had moved apart. Google Translate had most of
the riding terms, apart from la bonne diagonale, where riders say le bon
diagonal, and two forms close to the term without being it, tic d’appui
and pourrissement. DeepL found the lunge and the thrush, but turned
cribbing into mordillage, feathers into crins, horsehair in
general, and frogs into sabots, the whole hoof. eTranslation still
translated the words: a ligne de fente for the lunge line, plumes,
grenouilles and muguet, and cribbing left as it was.
ChatGPT had most of the riding terms without being told the domain.
In 2025-01, ChatGPT-4o already had tic à l’appui, fanons and
fourchettes, but not the trot or the flying changes. In 2026-02,
ChatGPT-5.2 had every term right except au temps, which names a different
flying change, and in 2026-10 every term was right (see also the Prompting an LLM for translation page, in the Machine translation module) (voir aussi la page Rédiger une requête de traduction pour un GML, dans le module Traduction automatique).
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Kocmi, T., Artemova, E., Avramidis, E., Bawden, R., Bojar, O., Dranch, K., et al. (2025). Findings of the WMT25 General Machine Translation Shared Task: Time to Stop Evaluating on Easy Test Sets. Proceedings of the Tenth Conference on Machine Translation (WMT 2025), Volume 2: Shared Task Papers, 355–413. https://doi.org/10.18653/v1/2025.wmt-1.22
Kocmi, T., Avramidis, E., Bawden, R., Bojar, O., Dvorkovich, A., Federmann, C., et al. (2024b). Findings of the WMT24 General Machine Translation Shared Task: The LLM Era Is Here but MT Is Not Solved Yet. Proceedings of the Ninth Conference on Machine Translation (WMT 2024), 1–46. https://doi.org/10.18653/v1/2024.wmt-1.1
un réseau conçu uniquement pour la traduction, entraîné sur des corpus parallèles
des systèmes comme NLLB ; les services en ligne, évalués de façon anonyme, ne disent pas de quel type ils sont
Grand modèle de langue général
un modèle conçu pour de nombreuses tâches, à qui la requête demande de traduire
Gemini 2.5 Pro, GPT-4.1, Claude 4
Grand modèle de langue spécialisé
un grand modèle de langue affiné sur des données de traduction, parfois avec des exemples retrouvés, un dictionnaire ou un choix parmi plusieurs traductions candidates
Trois types de systèmes de traduction, avec des exemples tirés de WMT 2025.
La plupart des équipes participantes de 2025 ont affiné un grand modèle de
langue plutôt que de construire entièrement un système encodeur-décodeur
(Kocmi et al., 2025).
Certains services courants ont pris la même direction : DeepL décrit son
modèle comme un grand modèle de langue spécialisé en traduction, et Google
Traduction utilise Gemini pour certaines langues depuis décembre
2025.Centre d’aide de DeepL, « About DeepL’s language model », consulté le 8 octobre 2026. Google, « Google Translate gets new Gemini AI translation models », 12 décembre 2025, consulté le 8 octobre 2026. Le service de traduction de Microsoft utilise encore par défaut une traduction automatique neuronale classique (Microsoft Learn, consulté le 8 octobre 2026).
Un service de traduction et un agent conversationnel peuvent donc désormais
différer surtout par leur spécialisation : un système conçu et réglé pour
la seule traduction, face à un modèle général à qui l’on adresse une
requête.
Quand je présente les systèmes de traduction automatique, je veux montrer où
ils échouent encore maintenant qu’ils sont devenus bons, et ils échouent
souvent sur les termes spécialisés. J’ai donc écrit un court message, rempli de
vocabulaire du dressage, que je fais traduire de nouveau chaque fois que je
mets mes exemples à jour. Au fil des ans, cela donne une chronologie d’un même
texte à travers plusieurs générations de systèmes. Le premier message est en
néerlandais, de l’époque où je travaillais surtout avec un public
néerlandophone ; j’ai ajouté un message en anglais, à traduire en français,
quand j’ai commencé à enseigner dans une université francophone. J’ai traduit
les deux moi-même pour obtenir les références.
Cette chronologie est anecdotique : un message dans chaque sens, quelques
essais de chaque système, jugés par moi. Elle montre tout de même comment les
systèmes ont évolué, et à quel point chacun traite différemment un texte de ce
genre. En 2023, les trois services étaient des systèmes de traduction
neuronale (see also the Neural translation page, in the Machine translation module) (voir aussi la page La traduction neuronale, dans le module Traduction automatique). DeepL et Google Traduction ont depuis ajouté des
grands modèles de langue, comme on l’a vu plus haut, si bien que leurs
résultats plus récents, obtenus avec les versions gratuites, viennent
peut-être d’un tel modèle, peut-être pas.DeepL, « DeepL’s next-gen LLM », dernière mise à jour le 16 juillet 2024, consulté le 13 octobre 2026 : les utilisateurs de la version Pro « can switch between the next-gen LLM and ‘classic’ model » [ma traduction : « peuvent passer du grand modèle de langue de nouvelle génération au modèle “classique” »]. Google, « Google Translate gets new Gemini AI translation models », 12 décembre 2025, consulté le 8 octobre 2026. eTranslation, le service de la
Commission européenne, a été utilisé sans son option d’amélioration par IA.
C’est un bon système, mais il est entraîné sur les traductions des
institutions de l’UE, où il est rarement question de dressage, si bien qu’un
message comme celui-ci est loin des textes dont il a
appris (see also the Strengths and limits of neural translation page, in the Machine translation module) (voir aussi la page Forces et limites de la traduction neuronale, dans le module Traduction automatique).Commission européenne, « eTranslation » : « a neural machine translation tool trained on EU professional translation data » [ma traduction : « un outil de traduction automatique neuronale entraîné sur des données de traduction professionnelle de l’UE »], consulté le 13 octobre 2026.
Chaque terme des résultats est marqué comme correct (correctcorrect),
acceptable ou en partie juste (acceptable or partly rightacceptable ou en partie juste) ou
faux (wrongfaux).
Du néerlandais vers l’anglais
Le message néerlandais est Ik zal haar eerst aan de longe nemen om te
leren lichtrijden op het buitenbeen. Zorg dat ze een tok heeft en ik doe
alvast getten om. Heb jij nog een sjabrak? Il contient aan de longe nemen
(travailler à la longe ; ici, donner une leçon à une cavalière sur un
cheval tenu à la longe),
lichtrijden op het buitenbeen (trotter enlevé sur le bon diagonal), tok
(une bombe d’équitation), getten (des guêtres, qui protègent les membres du
cheval) et sjabrak (un tapis de selle).
Système
Date
longe
lichtrijden
op het buitenbeen
tok
getten
sjabrak
Référence
lunge
post (the trot)
on the correct diagonal
riding hat
boots
saddle pad
Google Traduction
2023
take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect)
ride light (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
tok (wrongfaux)
getten (wrongfaux)
shabrack (acceptable or partly rightacceptable ou en partie juste)
2025
lunging (correctcorrect)
ride lightly (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
riding helmet (correctcorrect)
saddle pads (wrongfaux)
saddle pad (correctcorrect)
2026‑10
lunge (correctcorrect)
rise (correctcorrect)
to the outside leg (acceptable or partly rightacceptable ou en partie juste)
helmet (correctcorrect)
brushing boots (correctcorrect)
saddle pad (correctcorrect)
DeepL
2023
take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect)
ride lightly (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
tok (wrongfaux)
getten (wrongfaux)
shawl (wrongfaux)
2025
take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect)
ride lightly (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
bridle (wrongfaux)
stirrups (wrongfaux)
saddlecloth (correctcorrect)
2026‑10
lunging (correctcorrect)
move lightly (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
halter (wrongfaux)
girth (wrongfaux)
saddle pad (correctcorrect)
eTranslation
2023
take her to (wrongfaux) the lung (wrongfaux)
ride light (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
tok (wrongfaux)
I’m going to get it (wrongfaux)
shabrak (acceptable or partly rightacceptable ou en partie juste)
2025
take her to (wrongfaux) the lungs (wrongfaux)
ride lightly (wrongfaux)
on the outer leg (acceptable or partly rightacceptable ou en partie juste)
tok (wrongfaux)
I’ll get the hell out of here (wrongfaux)
shabrak (acceptable or partly rightacceptable ou en partie juste)
2026‑10
take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect)
light riding (wrongfaux)
on the outer leg (acceptable or partly rightacceptable ou en partie juste)
tok (wrongfaux)
I’ll get bitten on (wrongfaux)
shabrak (acceptable or partly rightacceptable ou en partie juste)
ChatGPT
2023‑02
take her on (acceptable or partly rightacceptable ou en partie juste) a lunge line (correctcorrect)
ride light (wrongfaux)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
martingale (wrongfaux)
getting ready (wrongfaux)
saddle pad (correctcorrect)
2023‑03
lunge (correctcorrect)
ride with (wrongfaux)
the correct diagonal (correctcorrect)on the outside leg (acceptable or partly rightacceptable ou en partie juste)
helmet (correctcorrect)
leg wraps (correctcorrect)
saddle pad (correctcorrect)
2023‑03 (GPT-4)
lunge (correctcorrect)
post (correctcorrect)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
cup (wrongfaux)
gaiters (wrongfaux)
saddle pad (correctcorrect)
2024‑03
take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect)
post (correctcorrect)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
jockstrap (wrongfaux)
gaiters (wrongfaux)
saddle pad (correctcorrect)
2024‑05
lunge (correctcorrect)
post (correctcorrect)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
helmet (correctcorrect)
protective boots (correctcorrect)
saddle pad (correctcorrect)
2025‑09
lunge (correctcorrect)
post (correctcorrect)
on the outside diagonal (correctcorrect)
helmet (correctcorrect)
boots (correctcorrect)
saddle pad (correctcorrect)
2026‑01
lunge (correctcorrect)
rising trot (correctcorrect)
on the outside leg (acceptable or partly rightacceptable ou en partie juste)
riding helmet (correctcorrect)
my gaiters (wrongfaux)
saddle pad (correctcorrect)
2026‑01, deuxième essai
lunge (correctcorrect)
rise (correctcorrect)
on the outside foreleg (acceptable or partly rightacceptable ou en partie juste)
riding hat (correctcorrect)
my half chaps (wrongfaux)
saddle pad (correctcorrect)
2026‑10
lunge line (correctcorrect)
post (correctcorrect)
on the outside diagonal (correctcorrect)
riding helmet (correctcorrect)
brushing boots (correctcorrect)
saddle pad (correctcorrect)
Les termes du message néerlandais dans chaque résultat.
Les résultats complets
Système
Date
Résultat
Source
Ik zal haar eerst aan de longe nemen om te leren lichtrijden op het buitenbeen. Zorg dat ze een tok heeft en ik doe alvast getten om. Heb jij nog een sjabrak?
Référence
I will start by teaching her on the lunge how to post (the trot) on the correct diagonal. Make sure she has a riding hat, and I will already put the boots on. Do you have another saddle pad?
Google Traduction
2023
I will first take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect) to learn how to ride light (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a tok (wrongfaux) and I’ll put on getten (wrongfaux). Do you still have a shabrack (acceptable or partly rightacceptable ou en partie juste)?
2025
I’ll start by lunging (correctcorrect) her to learn how to ride lightly (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a riding helmet (correctcorrect), and I’ll put on the saddle pads (wrongfaux). Do you still have a saddle pad (correctcorrect)?
2026‑10
I’ll put her on the lunge (correctcorrect) first so she can learn to rise (correctcorrect)to the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a helmet (correctcorrect), and I’ll put on her brushing boots (correctcorrect). Do you have a saddle pad (correctcorrect)?
DeepL
2023
I will take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect) first to learn to ride lightly (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a tok (wrongfaux) and I’ll put on getten (wrongfaux) in advance. Do you still have a shawl (wrongfaux)?
2025
I will first take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect) to teach her to ride lightly (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a bridle (wrongfaux) and I will put on the stirrups (wrongfaux). Do you have a saddlecloth (correctcorrect)?
2026‑10
I’ll start by lunging (correctcorrect) her to teach her to move lightly (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a halter (wrongfaux) on, and I’ll go ahead and put the girth (wrongfaux) on. Do you have a saddle pad (correctcorrect)?
eTranslation
2023
I’ll take her to (wrongfaux) the lung (wrongfaux) first to learn how to ride light (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she’s got a tok (wrongfaux), and I’m going to get it (wrongfaux). Do you have another shabrak (acceptable or partly rightacceptable ou en partie juste)?
2025
I’ll take her to (wrongfaux) the lungs (wrongfaux) first to learn how to ride lightly (wrongfaux)on the outer leg (acceptable or partly rightacceptable ou en partie juste). Make sure she’s got a tok (wrongfaux), and I’ll get the hell out of here (wrongfaux). Do you have another shabrak (acceptable or partly rightacceptable ou en partie juste)?
2026‑10
I’ll take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect) first to learn light riding (wrongfaux)on the outer leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a tok (wrongfaux) and I’ll get bitten on (wrongfaux). Do you have another shabrak (acceptable or partly rightacceptable ou en partie juste)?
ChatGPT
2023‑02
I will first take her on (acceptable or partly rightacceptable ou en partie juste) a lunge line (correctcorrect) to teach her to ride light (wrongfaux)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a martingale (wrongfaux) and I’ll start getting ready (wrongfaux). Do you have a saddle pad (correctcorrect)?
2023‑03
I will first lunge (correctcorrect) her to teach her how to ride with (wrongfaux)the correct diagonal (correctcorrect)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a helmet (correctcorrect) and I will put on leg wraps (correctcorrect). Do you have a saddle pad (correctcorrect)?
2023‑03 (GPT-4)
I will first lunge (correctcorrect) her to teach her to post (correctcorrect)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a cup (wrongfaux), and I will put on the gaiters (wrongfaux) already. Do you have an extra saddle pad (correctcorrect)?
2024‑03
I will first take her on (acceptable or partly rightacceptable ou en partie juste) the lunge (correctcorrect) to learn to post (correctcorrect)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a jockstrap (wrongfaux), and I will already put on gaiters (wrongfaux). Do you have another saddle pad (correctcorrect)?
2024‑05
I will lunge (correctcorrect) her first to teach her to post (correctcorrect)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a helmet (correctcorrect), and I will put on the protective boots (correctcorrect). Do you still have a saddle pad (correctcorrect)?
2025‑09
I’ll lunge (correctcorrect) her first to teach her to post on the outside diagonal (correctcorrect). Make sure she’s got a helmet (correctcorrect), and I’ll go ahead and put on the boots (correctcorrect). Do you have a saddle pad (correctcorrect)?
2026‑01
I’ll put her on the lunge (correctcorrect) first so she can learn to ride rising trot (correctcorrect)on the outside leg (acceptable or partly rightacceptable ou en partie juste). Make sure she has a riding helmet (correctcorrect) on, and I’ll put my gaiters (wrongfaux) on already. Do you still have a saddle pad (correctcorrect)?
2026‑01, deuxième essai
I’ll lunge (correctcorrect) her first so she can learn to rise (correctcorrect)on the outside foreleg (acceptable or partly rightacceptable ou en partie juste). Make sure she’s wearing her riding hat (correctcorrect), and I’ll put my half chaps (wrongfaux) on. Do you have a saddle pad (correctcorrect) as well?
2026‑10
I’ll put her on the lunge line (correctcorrect) first so she can learn to post on the outside diagonal (correctcorrect). Make sure she has a riding helmet (correctcorrect), and I’ll put the brushing boots (correctcorrect) on in the meantime. Do you have another saddle pad (correctcorrect)?
Un message néerlandais traduit par trois services de traduction en ligne en 2023, en 2025 et en 2026-10, avec leurs versions gratuites, et par ChatGPT entre 2023 et 2026, chaque fois avec le modèle le plus récent qu'offrait l'abonnement payant de base à ce moment-là et la requête *translate into English:* suivie du message ; le résultat de 2026-10 avec le réglage d'effort moyen, dans une conversation temporaire.
Des mots d’équitation hors de propos. Plusieurs résultats ont remplacé
un terme par du vocabulaire d’équitation sans rapport avec le message, comme
si n’importe quel mot du domaine faisait l’affaire : une martingale
(ChatGPT, 2023), une bride et des étriers (DeepL, 2025), un licol et une
sangle (DeepL, 2026).
Mot à mot, ou pas du tout. En 2023, les trois services ont laissé tok
et getten non traduits ou en ont fait autre chose (le I’m going to get
it d’eTranslation). Tous les résultats des services, sauf celui de Google
Traduction de 2026, ont rendu lichtrijden par ride light, ride
lightly, move lightly ou light riding.
Les services se sont éloignés les uns des autres. En 2026-10, Google
Traduction avait presque tous les termes justes, le résultat de DeepL avait
changé sans s’améliorer, et eTranslation n’avait trouvé que la longe.
ChatGPT a progressé, mais pas de façon régulière. En 2023-02, il a
produit une martingale et getting ready ; un mois plus tard, il avait déjà le
casque, les bandes et le bon diagonal, tandis que GPT-4, sorti le même
mois, équipait la cavalière d’une coquille (cup). La plupart des termes
étaient justes en 2024-05 et tous en 2025-09. Aucun des deux résultats de
2026-01 n’avait le bon diagonal, et tous deux faisaient de getten quelque
chose que porte la personne qui parle ; en 2026-10, tous les termes
étaient de nouveau justes. Un système plus récent peut se tromper sur un
terme qu’un système plus ancien traduisait correctement.
De l’anglais vers le français
Le message anglais est I’ll start her on the lunge line to learn to post
the trot on the correct diagonal. When you take her to him, make sure to
explain his cribbing and to clean his feathers and treat his frogs to avoid
thrush. How are your lead changes going? Are you doing flying changes yet?
Chaque proposition contient un terme d’équitation.
Système
Date
lunge line
post the trot on the correct diagonal
cribbing
feathers
frogs
thrush
flying changes
Référence
à la longe
le trot enlevé sur le bon diagonal
fait un tic à l’appui
fanons
fourchettes
pourriture de la fourchette
changements de pied en l’air
Google Traduction
2025
à la longe (correctcorrect)
placer le trot sur la bonne diagonale (wrongfaux)
s’accroupit (wrongfaux)
plumes (wrongfaux)
fourchettes (correctcorrect)
grives (wrongfaux)
changements de pied en vol (wrongfaux)
2026‑10
à la longe (correctcorrect)
trotter enlevé (correctcorrect)sur la bonne diagonale (wrongfaux)
tic d’appui (acceptable or partly rightacceptable ou en partie juste)
fanons (correctcorrect)
fourchettes (correctcorrect)
pourrissement (acceptable or partly rightacceptable ou en partie juste)
au galop (acceptable or partly rightacceptable ou en partie juste)
DeepL
2025
à la longe (correctcorrect)
prendre le trot dans la bonne diagonale (wrongfaux)
fait des crèches (wrongfaux)
plumes (wrongfaux)
grenouilles (wrongfaux)
muguet (wrongfaux)
changements en vol (wrongfaux)
2026‑10
à la longe (correctcorrect)
se lever au trot (acceptable or partly rightacceptable ou en partie juste)sur la bonne diagonale (wrongfaux)
problème de mordillage (wrongfaux)
crins (acceptable or partly rightacceptable ou en partie juste)
sabots (acceptable or partly rightacceptable ou en partie juste)
pourriture de la fourchette (correctcorrect)
changements au galop (acceptable or partly rightacceptable ou en partie juste)
eTranslation
2026‑10
ligne de fente (wrongfaux)
poser le trot sur la bonne diagonale (wrongfaux)
cribbing (wrongfaux)
plumes (wrongfaux)
grenouilles (wrongfaux)
muguet (wrongfaux)
changements de vol (wrongfaux)
ChatGPT
2025‑01 (GPT-4o)
sur la longe (acceptable or partly rightacceptable ou en partie juste)
trotter en levée (acceptable or partly rightacceptable ou en partie juste)sur la bonne diagonale (wrongfaux)
tic à l’appui (cribbing) (correctcorrect)
fanons (correctcorrect)
fourchettes (correctcorrect)
pourriture (correctcorrect)
changements de pied au vol (wrongfaux)
2026‑02 (GPT-5.2)
à la longe (correctcorrect)
trotter enlevé sur le bon diagonal (correctcorrect)
tic à l’appui (correctcorrect)
fanons (correctcorrect)
fourchettes (correctcorrect)
pourriture de fourchette (correctcorrect)
changements de pied (correctcorrect)au temps (wrongfaux) (en l’air (correctcorrect))
2026‑10
à la longe (correctcorrect)
trotter enlevé sur le bon diagonal (correctcorrect)
tique à l’appui (correctcorrect)
fanons (correctcorrect)
fourchettes (correctcorrect)
pourriture de la fourchette (correctcorrect)
changements de pied en l’air (correctcorrect)
Les termes du message anglais dans chaque résultat. *Lead changes* n'y figure pas : tous les résultats ont *changements de pied*, sauf les *changements de leads* d'eTranslation.
Les résultats complets
Système
Date
Résultat
Source
I’ll start her on the lunge line to learn to post the trot on the correct diagonal. When you take her to him, make sure to explain his cribbing and to clean his feathers and treat his frogs to avoid thrush. How are your lead changes going? Are you doing flying changes yet?
Référence
Je vais commencer par la travailler à la longe pour qu’elle apprenne le trot enlevé sur le bon diagonal. Quand tu l’emmèneras vers lui, n’oublie pas de préciser qu’il fait un tic à l’appui et de bien nettoyer ses fanons, puis de traiter ses fourchettes afin d’éviter la pourriture de la fourchette. Comment avancent tes changements de pied ? Est-ce que tu fais déjà des changements de pied en l’air ?
Google Traduction
2025
Je vais la démarrer à la longe (correctcorrect) pour lui apprendre à placer le trot sur la bonne diagonale (wrongfaux). Lorsque vous l’amènerez chez lui, assurez-vous de lui expliquer comment il s’accroupit (wrongfaux), de nettoyer ses plumes (wrongfaux) et de traiter ses fourchettes (correctcorrect) pour éviter les grives (wrongfaux). Comment se passent vos changements de pied (correctcorrect) ? Faites-vous déjà des changements de pied en vol (wrongfaux) ?
2026‑10
Je vais commencer à la travailler à la longe (correctcorrect) pour qu’elle apprenne à trotter enlevé (correctcorrect)sur la bonne diagonale (wrongfaux). Lorsque tu l’emmèneras vers lui, n’oublie pas d’expliquer son tic d’appui (acceptable or partly rightacceptable ou en partie juste), de nettoyer ses fanons (correctcorrect) et de soigner ses fourchettes (correctcorrect) pour éviter le pourrissement (acceptable or partly rightacceptable ou en partie juste). Comment se passent les changements de pied (correctcorrect) ? En faites-vous déjà au galop (acceptable or partly rightacceptable ou en partie juste) ?
DeepL
2025
Je la mettrai à la longe (correctcorrect) pour qu’elle apprenne à prendre le trot dans la bonne diagonale (wrongfaux). Lorsque vous l’emmènerez chez lui, n’oubliez pas de lui expliquer qu’il fait des crèches (wrongfaux), de nettoyer ses plumes (wrongfaux) et de traiter ses grenouilles (wrongfaux) pour éviter le muguet (wrongfaux). Comment se passent les changements de pied (correctcorrect) ? Faites-vous déjà des changements en vol (wrongfaux) ?
2026‑10
Je vais commencer par la travailler à la longe (correctcorrect) pour qu’elle apprenne à se lever au trot (acceptable or partly rightacceptable ou en partie juste)sur la bonne diagonale (wrongfaux). Quand tu l’emmèneras chez lui, n’oublie pas de lui expliquer son problème de mordillage (wrongfaux), de nettoyer ses crins (acceptable or partly rightacceptable ou en partie juste) et de soigner ses sabots (acceptable or partly rightacceptable ou en partie juste) pour éviter la pourriture de la fourchette (correctcorrect). Comment se passent tes changements de pied (correctcorrect) ? Tu fais déjà des changements au galop (acceptable or partly rightacceptable ou en partie juste) ?
eTranslation
2026‑10
Je la mettrai sur la ligne de fente (wrongfaux) pour apprendre à poser le trot sur la bonne diagonale (wrongfaux). Lorsque vous l’emmenez chez lui, assurez-vous d’expliquer son cribbing (wrongfaux) et de nettoyer ses plumes (wrongfaux) et de traiter ses grenouilles (wrongfaux) pour éviter le muguet (wrongfaux). Comment vont vos changements de leads (wrongfaux) ? Êtes-vous en train de faire des changements de vol (wrongfaux) encore ?
ChatGPT
2025‑01 (GPT-4o)
Je vais commencer par la mettre sur la longe (acceptable or partly rightacceptable ou en partie juste) pour qu’elle apprenne à trotter en levée (acceptable or partly rightacceptable ou en partie juste)sur la bonne diagonale (wrongfaux). Quand tu l’emmènes chez lui, assure-toi d’expliquer son tic à l’appui (cribbing) (correctcorrect) et de nettoyer ses fanons (correctcorrect) ainsi que de traiter ses fourchettes (correctcorrect) pour éviter la pourriture (correctcorrect). Comment se passent tes changements de pied (correctcorrect) ? Fais-tu déjà des changements de pied au vol (wrongfaux) ?
2026‑02 (GPT-5.2)
Je vais d’abord la mettre à la longe (correctcorrect) pour qu’elle apprenne à trotter enlevé sur le bon diagonal (correctcorrect). Quand tu l’emmèneras chez lui, assure-toi de lui expliquer qu’il tic à l’appui (correctcorrect) et de nettoyer ses fanons (correctcorrect), puis de soigner ses fourchettes (correctcorrect) pour éviter la pourriture de fourchette (correctcorrect). Comment vont tes changements de pied (correctcorrect) ? Tu fais déjà des changements de pied (correctcorrect)au temps (wrongfaux) (en l’air (correctcorrect)) ?
2026‑10
Je vais commencer par la faire travailler à la longe (correctcorrect) pour qu’elle apprenne à trotter enlevé sur le bon diagonal (correctcorrect). Quand tu l’emmèneras chez lui, assure-toi de bien lui expliquer qu’il tique à l’appui (correctcorrect), de nettoyer ses fanons (correctcorrect) et de traiter ses fourchettes (correctcorrect) pour éviter la pourriture de la fourchette (correctcorrect). Comment ça se passe, tes changements de pied (correctcorrect) ? Tu fais déjà des changements de pied en l’air (correctcorrect) ?
Un message anglais traduit en français par trois services de traduction en ligne en 2025 et en 2026-10, avec leurs versions gratuites, et par ChatGPT en 2025 et en 2026, avec la requête *translate into French:* suivie du message ; le résultat de 2026-10 avec le réglage d'effort moyen, dans une conversation temporaire.
En 2025, les services ont traduit les mots. Tous deux ont rendu post
the trot mot à mot et flying changes par en vol. Google Traduction a
rendu feathers par plumes et thrush par grives, l’oiseau ; DeepL a
rendu frogs par grenouilles, l’animal, et thrush par muguet, la
candidose de la bouche que l’anglais appelle aussi thrush.
En 2026-10, les services s’étaient éloignés les uns des autres. Google
Traduction avait la plupart des termes d’équitation, sauf la bonne
diagonale, là où les cavaliers disent le bon diagonal, et deux formes
proches du terme sans être le terme, tic d’appui et pourrissement. DeepL
trouvait la longe et la pourriture de la fourchette, mais rendait cribbing
par mordillage, feathers par crins, les poils du cheval en général, et
frogs par sabots, le pied entier. eTranslation traduisait toujours les
mots : une ligne de fente pour la longe, des plumes, des grenouilles
et le muguet, et cribbing laissé tel quel.
ChatGPT avait la plupart des termes d’équitation sans qu’on lui indique
le domaine. En 2025-01, ChatGPT-4o avait déjà tic à l’appui, fanons et
fourchettes, mais ni le trot ni les changements de pied en l’air. En
2026-02, ChatGPT-5.2 avait tous les termes justes sauf au temps, qui
désigne un autre changement de pied, et en 2026-10, tous les termes
étaient justes (see also the Prompting an LLM for translation page, in the Machine translation module) (voir aussi la page Rédiger une requête de traduction pour un GML, dans le module Traduction automatique).
Sources
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Kocmi, T., Artemova, E., Avramidis, E., Bawden, R., Bojar, O., Dranch, K., et al. (2025). Findings of the WMT25 General Machine Translation Shared Task: Time to Stop Evaluating on Easy Test Sets. Proceedings of the Tenth Conference on Machine Translation (WMT 2025), Volume 2: Shared Task Papers, 355–413. https://doi.org/10.18653/v1/2025.wmt-1.22
Kocmi, T., Avramidis, E., Bawden, R., Bojar, O., Dvorkovich, A., Federmann, C., et al. (2024b). Findings of the WMT24 General Machine Translation Shared Task: The LLM Era Is Here but MT Is Not Solved Yet. Proceedings of the Ninth Conference on Machine Translation (WMT 2024), 1–46. https://doi.org/10.18653/v1/2024.wmt-1.1
Figure 7. One example of the Last Translation Benchmark: three leading systems fail the verification rule on an easy-looking sentence (Zouhar et al., 2026, example 1).
The contributors. 260 contributors from 177 institutions, each submitting
sentences, images, audio or video that they knew to be hard, with a correct
translation of their own; every submission is reviewed by another
contributor. The first version, LTBv1, contains 3 456 examples in 109
languages (Zouhar et al., 2026).
The admission test. An example is accepted only if most of
the systems shown to the contributor fail it and the human translation
passes: the benchmark contains hard cases by construction, and says nothing
about the quality of a typical translation.
The scoring. Each example comes with one or more verification
rules describing the failure to look for (“the word for nurse must not be
feminine”). A model checks each translation against each rule, and a
translation passes only if it satisfies them all. The score of a system is
the share of examples it passes.
System
Examples passed
Human translations (the contributors’)
99.8%
Gemini 3.1 Pro
41.9%
GPT-5.6 Sol
31.8%
GPT-5.6 Luna
19.3%
Claude Sonnet 4.5
6.0%
NLLB 3.3B, an encoder-decoder system
2.0%
Google Translate
1.6%
Share of examples passed on the Last Translation Benchmark, LTBv1-eval, with Gemma 4 as the verifier (Zouhar et al., 2026, main table 2, selected rows).
Ordinary metrics did not flag the failures. On the same translations,
ordinary metrics and a large language model used as judge gave scores in
the range the authors label “good”, while the share of examples passed
stayed low. A judge given the rule detected the error; a judge asked only to
rate the translation usually did not (Zouhar et al., 2026) (see also the A large language model as judge page, in the Evaluating language technology module) (voir aussi la page Un grand modèle de langue comme juge, dans le module L'évaluation des technologies langagières).
Figure 8. Sources of translation difficulty, from the examples of the Last Translation Benchmark (Zouhar et al., 2026, table 6). Counts are examples; one example may have several labels.
Difficulty
Example
Result
Polysemy in a domain
English paper, meaning an article, into German
most models wrote Papier, the material, where Artikel or the loanword Paper was needed
Internet culture and slang
French mon pain for my crush, with a borrowed whippin
several models kept bread
A false friend
Hausa marka, heavy rain, which looks like English mark
one service wrote this monsoon is marked
Meta-reasoning
Italian Come si dice formaggio in inglese?
most models translated formaggio too, producing a question that answers itself
Four of the benchmark's examples, as the authors describe them (Zouhar et al., 2026).
Remedies. Two remedies are backtranslation, where a system trained for
the opposite direction turns monolingual target text into synthetic
parallel data, and multilingual models, which draw on a related language
that has more data (Jurafsky & Martin, 2026).
Data quality. In a manual audit of large parallel corpora, many
had fewer than half of their sentences of acceptable quality, for instance
repeated web text or wrong translations. This suggests that speakers of the
languages concerned were not involved enough in building them (Jurafsky &
Martin, 2026).
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Kocmi, T., Artemova, E., Avramidis, E., Bawden, R., Bojar, O., Dranch, K., et al. (2025). Findings of the WMT25 General Machine Translation Shared Task: Time to Stop Evaluating on Easy Test Sets. Proceedings of the Tenth Conference on Machine Translation (WMT 2025), Volume 2: Shared Task Papers, 355–413. https://doi.org/10.18653/v1/2025.wmt-1.22
Kocmi, T., Avramidis, E., Bawden, R., Bojar, O., Dvorkovich, A., Federmann, C., et al. (2024b). Findings of the WMT24 General Machine Translation Shared Task: The LLM Era Is Here but MT Is Not Solved Yet. Proceedings of the Ninth Conference on Machine Translation (WMT 2024), 1–46. https://doi.org/10.18653/v1/2024.wmt-1.1
Zouhar, V., Bafna, N., Choudhary, M., Züfle, M., Rajaee, S., Chen, P., et al. (2026). Last Translation Benchmark. Preprint, arXiv:2609.04173. http://arxiv.org/abs/2609.04173
Les faiblesses relevées à WMT
WMT, la comparaison annuelle des systèmes de traduction automatique tenue
lors de la conférence sur la traduction automatique (Conference on Machine
Translation), relève des faiblesses précises même chez les meilleurs systèmes
(Kocmi et al., 2024b, 2025) (see also the trend across editions page, in the Machine translation module) (voir aussi la page La tendance d'une édition à l'autre, dans le module Traduction automatique) :
l’entrée orale, le domaine le plus difficile deux années de suite, très
probablement parce que les systèmes traduisent une transcription
automatique et en héritent les erreurs ;
les langues peu dotées, où l’évaluation humaine de 2025 a montré des
faiblesses dans tous les modèles testés, en arabe égyptien et en maasaï ;
des phénomènes précis examinés par des séries de tests ciblées : les
entrées non standard, la syntaxe complexe, la terminologie d’un domaine, le
choix et l’accord du genre.
Par contraste, dans les domaines testés en 2024, les traductions de l’anglais
vers l’espagnol des meilleurs systèmes étaient proches des références
humaines.
Figure 7. Un exemple du Last Translation Benchmark : trois systèmes de pointe échouent à la règle de vérification sur une phrase d'apparence facile (Zouhar et al., 2026, exemple 1).
Les contributeurs. 260 contributeurs de 177 établissements ont chacun
soumis des phrases, des images, des fichiers audio ou des vidéos qu’ils
savaient difficiles, avec leur propre traduction correcte ; chaque
soumission est révisée par un autre contributeur. La première version,
LTBv1, contient 3 456 exemples dans 109 langues (Zouhar et al., 2026).
Le critère d’admission. Un exemple n’est accepté que si la plupart des
systèmes montrés au contributeur échouent et que la traduction humaine
réussit : le test ne contient que des cas difficiles par construction, et ne
dit rien de la qualité d’une traduction ordinaire.
La notation. Chaque exemple est accompagné d’une ou de plusieurs règles
de vérification qui décrivent l’échec à rechercher (« le mot pour nurse ne
doit pas être au féminin »). Un modèle vérifie chaque traduction au regard
de chaque règle, et une traduction ne réussit que si elle les respecte
toutes. Le score d’un système est la proportion d’exemples qu’il réussit.
Système
Exemples réussis
Traductions humaines (celles des contributeurs)
99,8 %
Gemini 3.1 Pro
41,9 %
GPT-5.6 Sol
31,8 %
GPT-5.6 Luna
19,3 %
Claude Sonnet 4.5
6,0 %
NLLB 3.3B, un système encodeur-décodeur
2,0 %
Google Traduction
1,6 %
Proportion d'exemples réussis au Last Translation Benchmark, LTBv1-eval, avec Gemma 4 comme vérificateur (Zouhar et al., 2026, tableau principal 2, lignes choisies).
Les mesures habituelles n’ont pas signalé les échecs. Sur les mêmes
traductions, les mesures habituelles et un grand modèle de langue employé
comme juge ont donné des scores dans la plage que les auteurs qualifient de
« bonne », alors que la proportion d’exemples réussis restait faible. Un
juge à qui l’on donnait la règle détectait l’erreur ; un juge à qui l’on
demandait seulement d’évaluer la traduction ne la détectait généralement
pas (Zouhar et al., 2026) (see also the A large language model as judge page, in the Evaluating language technology module) (voir aussi la page Un grand modèle de langue comme juge, dans le module L'évaluation des technologies langagières).
Figure 8. Les sources de difficulté de la traduction, d'après les exemples du Last Translation Benchmark (Zouhar et al., 2026, tableau 6). Les nombres comptent des exemples ; un exemple peut avoir plusieurs étiquettes.
Difficulté
Exemple
Résultat
Polysémie dans un domaine
l’anglais paper, au sens d’article, vers l’allemand
la plupart des modèles ont écrit Papier, la matière, là où il fallait Artikel ou l’emprunt Paper
Culture Internet et argot
le français mon pain au sens de my crush, avec l’emprunt whippin
plusieurs modèles ont gardé bread
Un faux ami
le haoussa marka, forte pluie, qui ressemble à l’anglais mark
un service a écrit this monsoon is marked
Métaraisonnement
l’italien Come si dice formaggio in inglese?
la plupart des modèles ont aussi traduit formaggio, ce qui donne une question qui contient sa réponse
Quatre exemples du test de performances, tels que les auteurs les décrivent (Zouhar et al., 2026).
Les solutions. Deux solutions sont la rétrotraduction, où un système
entraîné pour la direction inverse transforme des textes monolingues de la
langue cible en données parallèles synthétiques, et les modèles
multilingues, qui s’appuient sur une langue apparentée disposant de plus de
données (Jurafsky & Martin, 2026).
La qualité des données. Dans un audit manuel de grands corpus
parallèles, beaucoup comptaient moins de la moitié de phrases de qualité
acceptable, par exemple du texte Web répété ou des traductions erronées. Cela
laisse penser que les locuteurs des langues concernées n’ont pas été assez
associés à leur constitution (Jurafsky & Martin, 2026).
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Kocmi, T., Artemova, E., Avramidis, E., Bawden, R., Bojar, O., Dranch, K., et al. (2025). Findings of the WMT25 General Machine Translation Shared Task: Time to Stop Evaluating on Easy Test Sets. Proceedings of the Tenth Conference on Machine Translation (WMT 2025), Volume 2: Shared Task Papers, 355–413. https://doi.org/10.18653/v1/2025.wmt-1.22
Kocmi, T., Avramidis, E., Bawden, R., Bojar, O., Dvorkovich, A., Federmann, C., et al. (2024b). Findings of the WMT24 General Machine Translation Shared Task: The LLM Era Is Here but MT Is Not Solved Yet. Proceedings of the Ninth Conference on Machine Translation (WMT 2024), 1–46. https://doi.org/10.18653/v1/2024.wmt-1.1
Zouhar, V., Bafna, N., Choudhary, M., Züfle, M., Rajaee, S., Chen, P., et al. (2026). Last Translation Benchmark. Preprint, arXiv:2609.04173. http://arxiv.org/abs/2609.04173
PromptingFormulation de requêtes
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
Be specific and ask for enoughÊtre précis et en demander assez
Figure 3. A vague request and its generic answer. Gemini 2.5 Flash, 5 September 2025. Figure 4. The same subject with audience, length, scope and source stated. Gemini 2.5 Flash, 5 September 2025.
What
Example
the task
translate, summarize, list, compare, rewrite
the audience
the general public; a client’s engineers; a first-year student
the language variety
Canadian French rather than French; British rather than American spelling
the constraints
length, register, what to avoid, what to keep unchanged
the format
plain text, a table, one line per term, no commentary
the purpose
what the result will be used for, which settles many small decisions
What to state in a prompt, whenever it applies.
When you do not know yet what you want, a vague first prompt is not wasted:
the first attempt often shows you what you want, and you can correct from
there (see also the Correcting the model or starting over page, in the Using LLMs module) (voir aussi la page Corriger le modèle ou recommencer, dans le module Utiliser les GML). You can
also start the other way round: describe what you have in mind, however
vaguely, and ask the chatbot to question you until the task is clear. Its
questions often bring up what you had not thought of yet.
It also helps to say what you want rather than only what you do not want.
“Write in flowing paragraphs” gives the model something to aim for, where “no
bullet points” only names what to avoid. The prompting guides of both
Anthropic and OpenAI give this advice.Anthropic, Prompting best practices: “Tell Claude what to do instead of what not to do”; OpenAI Help Center, Best practices for prompt engineering with the OpenAI API: “Instead of just saying what not to do, say what to do instead”. Both read 21 September 2026.
Ask for enough
People often ask a model for “two or three examples”, as they would ask a
colleague, but a model writes fifty candidates in seconds, where a colleague
would need an afternoon.
Asking for many and then choosing is usually better than asking for a few and
accepting them.
The prompt in Figure 5figure 5
asks for a hundred title ideas for a textbook rather than one, as diverse as
possible, then for a review, a revision and a top five with an argument for
the best three. The answer is a shortlist of three finalists, each with its reasons
(Figure 6figure 6).
A hundred candidates do not guarantee that any of them is good, but they give
you far more to choose from than two or three.
Figure 5. The request for a hundred candidates, reviewed and narrowed. Claude Sonnet 4, 5 September 2025. Figure 6. The shortlist that came back. Claude Sonnet 4, 5 September 2025.
Avoid adding uncertain or untrue information
A question can start from an assumption that the model does not always question.
“What does clause 7 say about liability?” presumes that there is a clause 7 and
that it covers liability. Asking whether the document addresses liability, and
where, leaves room for the answer that it does
not (see also the Garbage in, garbage out page, in the Reliability of LLM output module) (voir aussi la page Médiocre en entrée, médiocre en sortie, dans le module Fiabilité des résultats des GML).
Models do not reliably catch this for you. Li et al. (2025a) tested 15 models on
problems built on a flawed premise: most flagged it only when they were told to
look for errors, and the models that reasoned best were not consistently the
ones that noticed.Among them GPT-4.1, o3-mini, o4-mini, DeepSeek-R1, Claude 3.7 Sonnet and Gemini 2.0 Flash Thinking. The problems were mathematical and logical, not questions about documents.
Sources
Li, J., Li, G., Chang, Y., & Wu, Y. (2025a). Don't Take the Premise for Granted: Evaluating the Premise Critique Ability of Large Language Models. Findings of the Association for Computational Linguistics: EMNLP 2025. https://aclanthology.org/2025.findings-emnlp.44/
Wang, G., Sun, Z., Ye, S., Gong, Z., Chen, Y., Zhao, Y., Liang, Q., & Hao, D. (2026a). Do Advanced Language Models Eliminate the Need for Prompt Engineering in Software Engineering?. ACM Transactions on Software Engineering and Methodology, 35(8), 1–33. https://dl.acm.org/doi/10.1145/3771933
Figure 3. Une demande vague et sa réponse générique. Gemini 2.5 Flash, 5 septembre 2025. Figure 4. Le même sujet, avec le public, la longueur, la portée et la source précisés. Gemini 2.5 Flash, 5 septembre 2025.
Quoi
Exemple
la tâche
traduire, résumer, énumérer, comparer, réécrire
le public
le grand public ; les ingénieurs d’un client ; un étudiant de première année
la variété de langue
le français canadien plutôt que le français ; l’orthographe britannique plutôt qu’américaine
les contraintes
la longueur, le registre, ce qu’il faut éviter, ce qu’il faut laisser tel quel
le format
du texte brut, un tableau, une ligne par terme, sans commentaire
l’objectif
l’usage qui sera fait du résultat, ce qui règle bien des petites décisions
Ce qu'il faut préciser dans une requête, chaque fois que cela s'applique.
Quand vous ne savez pas encore ce que vous voulez, une première requête vague
n’est pas perdue : la première tentative vous montre souvent ce que vous
voulez, et vous pouvez corriger à partir de
là (see also the Correcting the model or starting over page, in the Using LLMs module) (voir aussi la page Corriger le modèle ou recommencer, dans le module Utiliser les GML). Vous
pouvez aussi faire l’inverse : décrire ce que vous avez en tête, même
vaguement, et demander à l’agent conversationnel de vous poser des questions
jusqu’à ce que la tâche soit claire. Ses questions font souvent ressortir ce à
quoi vous n’aviez pas encore pensé.
Il est utile aussi de dire ce que vous voulez, et pas seulement ce que vous
ne voulez pas. « Rédige en paragraphes suivis » donne au modèle un but à
atteindre, alors que « pas de listes à puces » ne nomme que ce qu’il faut
éviter. Les guides de rédaction de requêtes d’Anthropic et d’OpenAI donnent
tous deux ce conseil.Anthropic, Prompting best practices : « Tell Claude what to do instead of what not to do » ; OpenAI Help Center, Best practices for prompt engineering with the OpenAI API : « Instead of just saying what not to do, say what to do instead ». Tous deux consultés le 21 septembre 2026.
En demander assez
On demande souvent à un modèle « deux ou trois exemples », comme on le ferait
à un collègue, mais un modèle écrit cinquante propositions en quelques
secondes, là où un collègue y passerait l’après-midi. En demander beaucoup puis
choisir vaut généralement mieux qu’en demander quelques-unes et les accepter.
La requête de Figure 5figure 5
demande cent idées de titres pour un manuel plutôt qu’un seul, aussi variées
que possible, puis une relecture, une révision et un palmarès de cinq, avec un
argumentaire pour les trois meilleurs. Il en revient une présélection de trois
finalistes, chacun avec ses raisons
(Figure 6figure 6).
Cent propositions ne garantissent pas qu’une seule soit bonne, mais elles
offrent beaucoup plus de choix que deux ou trois.
Figure 5. La demande de cent propositions, relues et réduites. Claude Sonnet 4, 5 septembre 2025. Figure 6. La présélection obtenue. Claude Sonnet 4, 5 septembre 2025.
Éviter d’ajouter des informations incertaines ou fausses
Une question peut contenir une présupposition que le modèle ne remet pas
toujours en cause. « Que dit l’article 7 sur la responsabilité ? » suppose
qu’il existe un article 7 et qu’il porte sur la responsabilité. Demander si le
document traite de la responsabilité, et où, laisse place à la réponse qu’il
n’en traite pas (see also the Garbage in, garbage out page, in the Reliability of LLM output module) (voir aussi la page Médiocre en entrée, médiocre en sortie, dans le module Fiabilité des résultats des GML).
Les modèles ne les repèrent pas de façon fiable. Li et al. (2025a) ont testé 15
modèles sur des problèmes reposant sur une présupposition erronée : la plupart
ne l’ont signalée que lorsqu’on leur demandait de chercher des erreurs, et les
modèles qui raisonnaient le mieux n’étaient pas toujours ceux qui la
remarquaient.Parmi eux GPT-4.1, o3-mini, o4-mini, DeepSeek-R1, Claude 3.7 Sonnet et Gemini 2.0 Flash Thinking. Les problèmes étaient mathématiques et logiques, et non des questions portant sur des documents.
Sources
Li, J., Li, G., Chang, Y., & Wu, Y. (2025a). Don't Take the Premise for Granted: Evaluating the Premise Critique Ability of Large Language Models. Findings of the Association for Computational Linguistics: EMNLP 2025. https://aclanthology.org/2025.findings-emnlp.44/
Wang, G., Sun, Z., Ye, S., Gong, Z., Chen, Y., Zhao, Y., Liang, Q., & Hao, D. (2026a). Do Advanced Language Models Eliminate the Need for Prompt Engineering in Software Engineering?. ACM Transactions on Software Engineering and Methodology, 35(8), 1–33. https://dl.acm.org/doi/10.1145/3771933
Structure the promptStructurer la requête
Structuring the prompt
Once a prompt runs beyond a few sentences, with instructions, background and
material to work on, the providers’ prompting guides recommend adding
structure.For instance Anthropic, Prompting best practices; OpenAI, Prompt engineering, which suggests “a combination of Markdown formatting and XML tags”; Google, Prompt design strategies: “Using tags or Markdown helps the model distinguish between instructions, context, and tasks.” All read 17 September 2026.
That can be as simple as a few headings and bullet points, formatting in
Markdown,Markdown is a light way of marking up plain text: a line starting with # is a heading, a line starting with - is an item in a list, and **bold** is set in bold. Chat apps use it to format their answers, which is why a model’s reply often arrives with headings and bullet points. or tags in the style of XML, where a label between angle brackets
opens a part and the same label with a slash closes
it (see also the Reading XML chapter, in the Exchange formats in translation module) (voir aussi le chapitre Lire du XML, dans le module Les formats d'échange en traduction):
<objective>Summarize the report below for the city council</objective><audience>Council members without a background in engineering</audience><instructions>One page at most; keep every figure the decision depends on; no recommendations of your own</instructions><report>…</report><output-format>Five short paragraphs, no headings</output-format>
The format of the answer is worth stating too. “One line per item,
tab-separated, no commentary” gets you something you can paste into a
spreadsheet, where a request without it tends to get a list wrapped in prose.
When the output is meant for other software, you can ask for it in a
structured language such as JSON or XML. A model writes such output one token
at a time, like any other text, so it can make errors in it, such as a missing
bracket or a missing field, and a single error can make the whole output
unreadable for the software. Anthropic and OpenAI therefore both offer a mode
in their APIs that forces the answer to follow a structure defined in advance. The
structure is then guaranteed, with a few exceptions: an answer cut off before
the end, for instance because it reached the maximum length, can be
incomplete, and a model that refuses the request for safety reasons may
answer outside the structure.Anthropic, Structured outputs: without them, the model “can generate malformed JSON responses”, with “parsing errors from invalid JSON syntax” among the problems “even with careful prompting”. OpenAI, Structured model outputs: the feature ensures responses “adhere to your supplied JSON Schema”. Anthropic’s page also notes that a response cut off at the maximum length “may be incomplete and fail schema validation”. OpenAI adds that “a refusal does not necessarily follow the schema you have supplied”, and that structured outputs “can still contain mistakes”. Both read 21 September 2026. And an answer with a perfect structure can
still contain wrong content.
Asking for a strict format has a cost of its own: on tasks that need
reasoning, models answered less accurately when they had to follow a strict
format (Tam et al., 2024).Measured on models of 2024: GPT-3.5 Turbo, Claude 3 Haiku, Gemini 1.5 Flash, Llama 3 8B and Gemma 2 9B. So ask for a strict format only when you
actually need it.
Sources
He, J., Rungta, M., Koleczek, D., Sekhon, A., Wang, F. X., & Hasan, S. (2024). Does Prompt Formatting Have Any Impact on LLM Performance?. Preprint, arXiv:2411.10541. https://arxiv.org/abs/2411.10541
Sclar, M., Choi, Y., Tsvetkov, Y., & Suhr, A. (2024). Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formatting. Proceedings of the Twelfth International Conference on Learning Representations (ICLR 2024). https://arxiv.org/abs/2310.11324
Tam, Z. R., Wu, C.-K., Tsai, Y.-L., Lin, C.-Y., Lee, H., & Chen, Y.-N. (2024). Let Me Speak Freely? A Study on the Impact of Format Restrictions on Performance of Large Language Models. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track, 1218–1236. https://doi.org/10.18653/v1/2024.emnlp-industry.91
Structurer la requête
Dès qu’une requête dépasse quelques phrases, avec des consignes, du contexte
et un document à traiter, les guides de rédaction des fournisseurs
recommandent de la structurer.Par exemple Anthropic, Prompting best practices ; OpenAI, Prompt engineering, qui suggère « a combination of Markdown formatting and XML tags » ; Google, Prompt design strategies : « Using tags or Markdown helps the model distinguish between instructions, context, and tasks. » Tous consultés le 17 septembre 2026.
Il peut suffire de quelques intertitres et listes à puces, mis en forme en
Markdown,Markdown est une façon légère de baliser du texte brut : une ligne qui commence par # est un intertitre, une ligne qui commence par - est un élément de liste, et **gras** s’affiche en gras. Les applications de clavardage s’en servent pour mettre en forme leurs réponses, ce qui explique qu’une réponse de modèle arrive souvent avec des intertitres et des listes à puces. ou de balises à la manière du XML, où une étiquette entre chevrons
ouvre une partie et la même étiquette précédée d’une barre oblique la
ferme (see also the Reading XML chapter, in the Exchange formats in translation module) (voir aussi le chapitre Lire du XML, dans le module Les formats d'échange en traduction) :
<objectif>Résume le rapport ci-dessous pour le conseil municipal</objectif><public>Des conseillers sans formation en ingénierie</public><consignes>Une page au plus ; garde tous les chiffres dont dépend la décision ; aucune recommandation de ton cru</consignes><rapport>…</rapport><format-de-sortie>Cinq courts paragraphes, sans intertitres</format-de-sortie>
La notation qui fonctionne le mieux dépend du modèle. Des études ont montré
que le même contenu présenté dans différents formats, ou avec de petites
modifications d’espacement et de ponctuation, pouvait changer les résultats,
et qu’aucun format ne l’emportait partout : pour certaines tâches, le texte
brut faisait même mieux que Markdown ou JSON (He et al., 2024 ; Sclar et al.,
2024).He et al. (2024) ont comparé le texte brut, Markdown, JSON et YAML sur GPT-3.5 et GPT-4, et GPT-4 variait moins ; Sclar et al. (2024) ont observé des écarts de plusieurs dizaines de points d’exactitudeaccuracyexactitudeevaluationévaluationThe share of all decisions of a system that are correct, true positives and true negatives together.Part de toutes les décisions d'un système qui sont correctes, vrais positifs et vrais négatifs ensemble. sur des modèles ouverts de 2023.
Un petit modèle montre le même effet sur un seul jeton : une majuscule ou un
deux-points change les probabilités du mot
suivant (see also the One token at a time page, in the LLM lifecycle module) (voir aussi la page Un jeton à la fois, dans le module Cycle de vie des GML).
Le guide du fournisseur pour le modèle que vous utilisez est le point de
départ, et un format qui fonctionne pour votre tâche sur votre modèle mérite
d’être conservé.
La sortie structurée
Le format de la réponse mérite lui aussi d’être précisé. « Une ligne par
élément, séparateur tabulation, sans commentaire » vous donne un résultat à
coller dans un tableur, alors qu’une demande sans cette précision donne
souvent une liste enveloppée de texte.
Quand la sortie est destinée à un autre logiciel, vous pouvez la demander dans
un langage structuré comme JSON ou XML. Un modèle écrit une telle sortie un
jeton à la fois, comme n’importe quel texte : il peut donc y faire des
erreurs, par exemple un crochet ou un champ manquant, et une seule erreur
peut rendre toute la sortie illisible pour le logiciel. Anthropic et OpenAI
proposent donc tous deux, dans leurs API, un mode qui oblige la réponse à
suivre une structure définie à l’avance. La structure est alors garantie, à
quelques exceptions près : une réponse interrompue avant la fin, par exemple
parce qu’elle a atteint la longueur maximale, peut être incomplète, et un
modèle qui refuse la demande pour des raisons de sécurité peut répondre en
dehors de la structure.Anthropic, Structured outputs : sans ce mode, le modèle « can generate malformed JSON responses », et les « parsing errors from invalid JSON syntax » figurent parmi les problèmes « even with careful prompting ». OpenAI, Structured model outputs : la fonctionnalité garantit que les réponses « adhere to your supplied JSON Schema ». La page d’Anthropic précise aussi qu’une réponse interrompue à la longueur maximale « may be incomplete and fail schema validation ». OpenAI ajoute que « a refusal does not necessarily follow the schema you have supplied », et que les sorties structurées « can still contain mistakes ». Tous deux consultés le 21 septembre 2026. Et une
réponse à la structure parfaite peut quand même avoir un contenu erroné.
Exiger un format strict a aussi un coût : sur les tâches qui demandent un
raisonnement, les modèles répondaient moins bien quand ils devaient suivre un
format strict (Tam et al., 2024).Mesuré sur des modèles de 2024 : GPT-3.5 Turbo, Claude 3 Haiku, Gemini 1.5 Flash, Llama 3 8B et Gemma 2 9B. N’exigez donc un
format strict que lorsque vous en avez vraiment besoin.
Sources
He, J., Rungta, M., Koleczek, D., Sekhon, A., Wang, F. X., & Hasan, S. (2024). Does Prompt Formatting Have Any Impact on LLM Performance?. Preprint, arXiv:2411.10541. https://arxiv.org/abs/2411.10541
Sclar, M., Choi, Y., Tsvetkov, Y., & Suhr, A. (2024). Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formatting. Proceedings of the Twelfth International Conference on Learning Representations (ICLR 2024). https://arxiv.org/abs/2310.11324
Tam, Z. R., Wu, C.-K., Tsai, Y.-L., Lin, C.-Y., Lee, H., & Chen, Y.-N. (2024). Let Me Speak Freely? A Study on the Impact of Format Restrictions on Performance of Large Language Models. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track, 1218–1236. https://doi.org/10.18653/v1/2024.emnlp-industry.91
Correcting the model or starting overCorriger le modèle ou recommencer
Correcting as you go
Refining an answer over several turns is the normal way to work. Two habits
help:
Be precise in your corrections: “cut the second paragraph and keep the
example” works better than “shorter”.
the answers get longer and less relevant with each turn;
the model apologizes and repeats the same error;
each correction introduces a new problem;
the exchange has become a negotiation about your earlier instructions.
Figure 9. Correcting on top of a misreading, and starting again with what you learned.
At that point, open a new conversation and write one clean prompt containing
what you have learned: the corrections you made, the example that finally
worked, the format you settled on
(Figure 9figure 9). It can feel wasteful,
but it is usually faster.
When a conversation has grown long
A long conversation fails in a different way. Instructions given at the
start tend to be followed less as the conversation goes on, a long context is
used unevenly, and once the context window fills, the chat app drops the
oldest turns, or compacts them into a summary written by the model
itself (see also the context window page, in the LLM lifecycle module) (voir aussi la page La fenêtre contextuelle, dans le module Cycle de vie des GML). Claude, for
instance, does this on its paid plans.Claude Help Center, How large is the context window on paid Claude plans?: “When your conversation approaches the context window limit, Claude summarizes earlier messages to make room for new content”, on paid plans with code execution enabled. Read 21 September 2026. In practice,
the model stops applying a decision made an hour ago. Three habits help:
Restate the essentials later in a long conversation, rather than
assuming the instruction at the top is still being followed.
Start a new conversation with a summary of the decisions taken: ask the
model for one, or write your own, and check it before you use it, since a
summary can lose a decision.
Do not fill the context with what you do not need: a pasted document
you have finished with, a long tangent, the ten versions before the
current one all compete with your instructions.
Sources
Laban, P., Hayashi, H., Zhou, Y., & Neville, J. (2026). LLMs Get Lost In Multi-Turn Conversation. The Fourteenth International Conference on Learning Representations (ICLR 2026). https://openreview.net/forum?id=VKGTGGcwl6
Zamfirescu-Pereira, J. D., Wong, R. Y., Hartmann, B., & Yang, Q. (2023). Why Johnny Can't Prompt: How Non-AI Experts Try (and Fail) to Design LLM Prompts. Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems (CHI '23), article 437, 1–21. https://doi.org/10.1145/3544548.3581388
Corriger au fur et à mesure
Affiner une réponse en plusieurs tours est la façon normale de travailler.
Deux habitudes aident :
Soyez précis dans vos corrections : « supprime le deuxième paragraphe
et garde l’exemple » fonctionne mieux que « plus court ».
Jugez un changement sur plus d’une réponse : une réponse meilleure après
un changement peut ne pas se reproduire à l’essai suivant, ce que les
personnes qui découvrent ces systèmes ont tendance à négliger
(Zamfirescu-Pereira et al.,
2023) (see also the LLMs are non-deterministic page, in the LLM lifecycle module) (voir aussi la page Les GML ne sont pas déterministes, dans le module Cycle de vie des GML).
les réponses s’allongent et perdent en pertinence à chaque tour ;
le modèle s’excuse et répète la même erreur ;
chaque correction introduit un nouveau problème ;
l’échange est devenu une négociation sur vos consignes précédentes.
Figure 9. Corriger par-dessus un malentendu, et recommencer avec ce que vous avez appris.
Arrivé à ce point, ouvrez une nouvelle conversation et écrivez une seule
requête nette qui reprend ce que vous avez appris : les corrections apportées,
l’exemple qui a fini par fonctionner, le format retenu
(Figure 9figure 9). Cela peut
sembler du gaspillage, mais c’est généralement plus rapide.
Quand une conversation s’est allongée
Une longue conversation échoue d’une autre façon. Les consignes données au
début ont tendance à être moins suivies à mesure que la conversation avance,
un long contexte est exploité inégalement, et une fois la fenêtre
contextuelle remplie, l’application de clavardage abandonne les tours les plus
anciens, ou les condense en un résumé rédigé par le modèle
lui-même (see also the context window page, in the LLM lifecycle module) (voir aussi la page La fenêtre contextuelle, dans le module Cycle de vie des GML). C’est par
exemple ce que fait Claude dans ses forfaits payants.Claude Help Center, How large is the context window on paid Claude plans? : « When your conversation approaches the context window limit, Claude summarizes earlier messages to make room for new content », dans les forfaits payants où l’exécution de code est activée. Consulté le 21 septembre 2026.
En pratique, le modèle cesse d’appliquer une décision prise une heure plus
tôt. Trois habitudes aident :
Répétez ce qui compte plus loin dans une longue conversation, plutôt que
de supposer que la consigne du début est toujours suivie.
Ouvrez une nouvelle conversation avec un résumé des décisions prises :
demandez-en un au modèle, ou rédigez le vôtre, et vérifiez-le avant de
l’utiliser, car un résumé peut perdre une décision.
N’encombrez pas le contexte de ce dont vous n’avez pas besoin : un
document collé dont vous avez fini de vous servir, une longue digression,
les dix versions précédant la version actuelle font tous concurrence à vos
consignes.
Sources
Laban, P., Hayashi, H., Zhou, Y., & Neville, J. (2026). LLMs Get Lost In Multi-Turn Conversation. The Fourteenth International Conference on Learning Representations (ICLR 2026). https://openreview.net/forum?id=VKGTGGcwl6
Zamfirescu-Pereira, J. D., Wong, R. Y., Hartmann, B., & Yang, Q. (2023). Why Johnny Can't Prompt: How Non-AI Experts Try (and Fail) to Design LLM Prompts. Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems (CHI '23), article 437, 1–21. https://doi.org/10.1145/3544548.3581388
Choosing a modelChoisir un modèle
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
Families, generations and tiersFamilles, générations et niveaux
the company: your opinion of it and of how it behaves.
Who leads the field
At the time of writing, two providers lead the field, Anthropic and OpenAI,
and no other provider offers models at quite the same level. On 17 September 2026, for
instance, the nine highest scores on the Artificial Analysis Intelligence Index
all went to Anthropic and OpenAI models
(Figure 1figure 1).
The index combines ten demanding tests that the company runs
itself.Artificial Analysis, Artificial Analysis Intelligence Index, version 4.3, read 17 September 2026: “a composite benchmark aggregating ten challenging evaluations”, covering mathematics, science, coding and reasoning, “conducted independently by Artificial Analysis”.
A ranking of this kind comes with two caveats:
It is a snapshot. It changes with every release, and the index page shows
the current one.
Figure 1. The Artificial Analysis Intelligence Index on 17 September 2026, one bar per model and effort setting.
Once you have selected a provider, there are further choices to make, and the
provider may make some of them for you. Figure 2figure 2
shows all four. The generation and the tier are discussed below, and effort has
a page of its own (see also the Execution “effort” page, in the Using LLMs module) (voir aussi la page L'« effort » d'exécution, dans le module Utiliser les GML).
Figure 2. The four choices behind a model menu.
Choice 2: generation (if more than one is offered)
A family is a succession of models rather than one model, and the succession is
not always tidy: OpenAI, for instance, released GPT-4.5 before GPT-4.1
(Figure 3figure 3).
Figure 3. Two families by release date, as announced by OpenAI and Anthropic (checked 24 September 2026).
Releases have also come ever closer together. Fourteen months passed between
Claude 3 Opus and Claude Opus 4; after that, Anthropic released seven more Opus
models in sixteen months, and OpenAI went from GPT-5.1 to GPT-5.6 in eight.
What you read about a model therefore goes out of date sooner than it used to.
Older generations usually stay available for a while, so the list you choose
from mixes generations with tiers.
Two things are relevant to keep in mind regarding these generations:
Anything you read about a named model is about one generation. A study
that tested GPT-4, or a colleague’s verdict on a model retired last year,
may describe something no longer running anywhere.
Tier names are often used across generations. The same word names a
different model each time, so a claim about Claude Opus or about Claude Sonnet
means something only with the generation attached. Write down the exact model
name and the date whenever you rely on a result.
Choice 3: tier
Inside one generation, providers often offer several models of different sizes,
for example:
In a model list, generations and tiers appear side by side
(Figure 4figure 4 and
Figure 5figure 5).
Whether you can pick the tier yourself depends on the product and on your plan,
which is set out beside the effort
settings (see also the Execution “effort” page, in the Using LLMs module) (voir aussi la page L'« effort » d'exécution, dans le module Utiliser les GML). This page
only describes the choices; which tier suits which task is a separate
question (see also the Which model for which task page, in the Using LLMs module) (voir aussi la page Quel modèle pour quelle tâche, dans le module Utiliser les GML).
Figure 4. Claude: the model list, with older models under More models. Figure 5. ChatGPT Work: three tiers of GPT-5.6 in one list with GPT-6 Astra and the older GPT-5.5.
Which of these choices changes the most
Most people choose the family once, keep whatever tier and effort they are given
and never look at the rest. Any of the four choices can change your results
considerably, and which one counts most depends on the task and on the models
available at the time.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Presque tous les fournisseurs proposent une seule famille : choisir la famille
revient donc à choisir le fournisseur. La performance des modèles n’est qu’un des
éléments de ce choix :
l’entreprise : ce que vous pensez d’elle et de sa conduite.
Qui domine le domaine
Au moment d’écrire ces lignes, deux fournisseurs dominent le domaine,
Anthropic et OpenAI, et aucun autre ne propose de modèles tout à fait du même
niveau. Le 17 septembre 2026, par exemple, les neuf meilleurs scores de l’Artificial
Analysis Intelligence Index revenaient tous à des modèles d’Anthropic et d’OpenAI
(Figure 1figure 1).
L’indice combine dix tests exigeants menés par l’entreprise
elle-même.Artificial Analysis, Artificial Analysis Intelligence Index, version 4.3, consulté le 17 septembre 2026 : « a composite benchmark aggregating ten challenging evaluations », qui porte sur les mathématiques, les sciences, la programmation et le raisonnement, avec des évaluations « conducted independently by Artificial Analysis ».
Un tel classement appelle deux réserves :
Il ne vaut qu’au moment où il est consulté. Il change à chaque nouvelle
version, et la page de l’indice présente le classement à jour.
Le sommet n’est pas toujours nécessaire. Pour bien des tâches, un modèle un
peu en retrait des meilleurs donne aussi de bons
résultats (see also the LLM leaderboards chapter, in the Using LLMs module) (voir aussi le chapitre Les classements de GML, dans le module Utiliser les GML).
Figure 1. L'Artificial Analysis Intelligence Index le 17 septembre 2026, une barre par modèle et par réglage d'effort. Le graphique est en anglais.
Une fois le fournisseur choisi, il reste d’autres choix à faire, et le fournisseur
peut en faire certains à votre place. La Figure 2figure 2
montre les quatre. La génération et le niveau sont présentés plus bas, et
l’effort a sa propre page (see also the Execution “effort” page, in the Using LLMs module) (voir aussi la page L'« effort » d'exécution, dans le module Utiliser les GML).
Figure 2. Les quatre choix derrière un menu de modèles.
Choix 2 : génération (si plusieurs sont proposées)
Une famille est une succession de modèles plutôt qu’un seul modèle, et cette
succession n’est pas toujours ordonnée : OpenAI, par exemple, a publié GPT-4.5
avant GPT-4.1 (Figure 3figure 3).
Figure 3. Deux familles selon leur date de parution, telle qu'annoncée par OpenAI et Anthropic (vérifiée le 24 septembre 2026).
Les nouvelles versions paraissent aussi de plus en plus rapprochées. Quatorze
mois ont séparé Claude 3 Opus de Claude Opus 4 ; Anthropic a ensuite publié sept
autres modèles Opus en seize mois, et OpenAI est passée de GPT-5.1 à GPT-5.6
en huit mois. Ce que vous lisez sur un modèle est donc dépassé plus vite
qu’auparavant.
Les anciennes générations restent généralement disponibles pendant un certain
temps, si bien que la liste proposée mélange générations et niveaux.
Deux choses sont à garder à l’esprit au sujet de ces générations :
Tout ce que vous lisez sur un modèle nommé porte sur une seule génération.
Une étude qui a testé GPT-4, ou l’avis d’un collègue sur un modèle retiré l’an
dernier, peut décrire quelque chose qui ne fonctionne plus nulle part.
Les noms de niveaux sont souvent repris d’une génération à l’autre. Le même
mot désigne chaque fois un modèle différent : une affirmation sur Claude Opus ou
sur Claude Sonnet n’a de sens que si la génération est précisée. Notez le nom
exact du modèle et la date dès qu’un résultat compte.
Choix 3 : niveau
Dans une même génération, les fournisseurs proposent souvent plusieurs modèles de
tailles différentes, par exemple :
Dans une liste de modèles, générations et niveaux apparaissent côte à côte
(Figure 4figure 4 et
Figure 5figure 5).
La possibilité de choisir vous-même le niveau dépend du produit et de votre
forfait, présentés avec les réglages
d’effort (see also the Execution “effort” page, in the Using LLMs module) (voir aussi la page L'« effort » d'exécution, dans le module Utiliser les GML). Cette page
décrit seulement les choix ; savoir quel niveau convient à quelle tâche est une
autre question (see also the Which model for which task page, in the Using LLMs module) (voir aussi la page Quel modèle pour quelle tâche, dans le module Utiliser les GML).
Figure 4. Claude : la liste des modèles, avec les anciens modèles sous « More models » (autres modèles). Figure 5. ChatGPT Work : trois niveaux de GPT-5.6 dans une même liste, avec GPT-6 Astra et l'ancien GPT-5.5.
Lequel de ces choix change le plus les résultats
La plupart des gens choisissent la famille une fois, gardent le niveau et l’effort
qu’on leur attribue et ne regardent jamais le reste. Pourtant, chacun des quatre
choix peut changer considérablement vos résultats, et celui qui compte le plus
dépend de la tâche et des modèles disponibles à ce moment-là.
Jurafsky, D., & Martin, J. H. (2026). Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. Online draft, 3rd edition. https://web.stanford.edu/~jurafsky/slp3/
Risks and safeguardsRisques et précautions
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
Checking the answerVérifier la réponse
What to check
Some of what a model gives you is a matter of taste: the wording of a draft,
the tone of an email, a list of possible titles
(Figure 1figure 1).
Your own taste and general knowledge are enough to judge it. Other parts are
a matter of fact, with an exact answer that takes specific knowledge to
check: a name, a figure, a reference, or a verdict such as whether a
translation says what the original says. A wrong fact reads exactly like a
right one, however plausible and confident the answer around
it (see also the Hallucinations chapter, in the Reliability of LLM output module) (voir aussi le chapitre Les fabulations de l'IA, dans le module Fiabilité des résultats des GML). So unless you already
know the answer, decide which facts you will check.
Figure 1. Output that is a matter of taste, and output that is a matter of fact.
What each check can and cannot do
Check
What it helps with
Its limits
Put a document with the information in the context
the answer is more likely to be right about what the document says
no guarantee: the model can still misquote the document, misread it, or read more into it than it says
Turn on web search and open the sources it cites
the answer is based on pages you can read
the same limits, and the pages themselves may be unreliable, so you also judge the sources
Ask the same model the same question again, in a new conversation
if the two answers differ, you know there is a problem
a model can easily be wrong the same way twice
Ask a second model
a mistake only one of the two makes shows up as a disagreement
both can make the same mistake, for instance a widely repeated misconception
Ask the model to check its answer
a second pass that may catch some errors
no guarantee: unless it can search, it has nothing new to consult, and it can be confidently wrong again
Ask for the case against, for instance “list what a demanding reviewer would object to”
Farquhar, S., Kossen, J., Kuhn, L., & Gal, Y. (2024). Detecting hallucinations in large language models using semantic entropy. Nature, 630(8017), 625–630. https://doi.org/10.1038/s41586-024-07421-0
Quoi vérifier
Une partie de ce qu’un modèle vous donne relève du goût : la formulation d’un
brouillon, le ton d’un courriel, une liste de titres possibles
(Figure 1figure 1).
Votre goût et vos connaissances générales suffisent à en juger. D’autres
éléments relèvent du fait, avec une réponse exacte qui demande des
connaissances précises : un nom, un chiffre, une référence, ou un verdict,
par exemple si une traduction dit bien ce que dit l’original. Un fait faux se
lit exactement comme un fait juste, aussi plausible et assurée que soit la
réponse qui l’entoure (see also the Hallucinations chapter, in the Reliability of LLM output module) (voir aussi le chapitre Les fabulations de l'IA, dans le module Fiabilité des résultats des GML). À
moins de déjà connaître la réponse, décidez donc quels faits vous allez
vérifier.
Figure 1. Ce qui relève du goût et ce qui relève du fait dans une réponse.
Ce que chaque vérification peut et ne peut pas faire
Vérification
Ce qu’elle apporte
Ses limites
Mettre dans le contexte un document contenant l’information
la réponse a plus de chances d’être juste sur ce que dit le document
aucune garantie : le modèle peut mal citer le document, le lire de travers ou lui faire dire plus qu’il ne dit
Activer la recherche web et ouvrir les sources citées
la réponse s’appuie sur des pages que vous pouvez lire
les mêmes limites, et les pages elles-mêmes peuvent être peu fiables : vous jugez aussi les sources
Reposer la même question au même modèle, dans une nouvelle conversation
si les deux réponses diffèrent, vous savez qu’il y a un problème
un modèle peut très bien se tromper deux fois de la même façon
Poser la question à un deuxième modèle
une erreur que l’un des deux seulement commet apparaît comme un désaccord
les deux peuvent commettre la même erreur, par exemple une idée fausse très répandue
Demander au modèle de vérifier sa réponse
un deuxième passage qui attrape parfois des erreurs
aucune garantie : sauf s’il peut chercher, il n’a rien de nouveau à consulter, et il peut se tromper de nouveau avec assurance
Demander ce qu’on pourrait objecter, par exemple « liste ce qu’un évaluateur exigeant reprocherait à ce texte »
Farquhar, S., Kossen, J., Kuhn, L., & Gal, Y. (2024). Detecting hallucinations in large language models using semantic entropy. Nature, 630(8017), 625–630. https://doi.org/10.1038/s41586-024-07421-0
BiasBiais
Written in English. The French version was automatically generated
and I have not revised it.
Rédigé en anglais. La version française a été
générée automatiquement et je ne l'ai pas révisée.
Cultural defaultsLes choix culturels par défaut
One question, four languages
Asked in 2025 for a comforting dish on a cold winter evening, chatbots from
several providers tended to answer with beef stew or chicken noodle soup in
English, boerenkool stamppot in
Dutch, pot-au-feu or onion soup in French and lentil soup in German
(Figure 9figure 9).
Each answer is reasonable, but each presents one culture’s comfort food as
simply the answer.
Figure 9. One question, four languages, four cuisines: typical answers from several chatbots in 2025.
Here the language of the question was enough to shift the answer. Most
requests leave the culture unstated altogether, for instance a question
about a typical family dinner, a wedding, professional dress or a polite way
to decline an invitation. The answer then follows one culture’s practice and
presents it as the practice.
Whose values
Which culture that is can be measured with the surveys social scientists
use to compare values across countries. Tao et al. (2024) compared the
answers of five OpenAI models, from GPT-3 to GPT-4o, with survey data from
107 countries and territories, and found that all of them resembled the
values of English-speaking and Protestant European
countries.Asked in English, in a study published in 2024. The GPT-3 model tested was text-davinci-002.
The pattern does not depend on where a model was built. In a study with Bram
Bulté (Bulté & Rigouts Terryn, 2026), we asked ten models from American,
European and Chinese developers the questions of two international values
surveys, each time addressing one of eleven countries, through the language
of the prompt, by naming the country, or both. Whichever country a prompt
addressed, the answers resembled those of people in four countries, Germany, the United
States, the Netherlands and Japan, far more than those of people in the other
seven, whichever way the promptpromptrequêtepromptingrequêtesInput given to a generative AI system to specify a task, provide context, or otherwise guide its output.Entrée fournie à un système d'IA générative pour préciser une tâche, donner du contexte ou orienter la sortie. was phrased
(Figure 10figure 10).Claude 3.5 Haiku and Sonnet, DeepSeek-V3, Gemini 1.5 Pro, GPT-3.5 Turbo, GPT-4, GPT-4o, Llama 3.1, Mistral Large and Qwen2.5, queried between November 2024 and April 2025.
Figure 10. How closely the models' answers to 23 World Values Survey questions match the answers of people surveyed in each country (Pearson correlation, 1 = perfect match). Each bar is averaged over the ten models and over all eleven countries the prompts addressed: the country on the axis is the one whose people are compared, not the one the prompt was about. Three ways of prompting. After Bulté and Rigouts Terryn (2026).
What the defaults look like
The models’ own answers were fairly neutral on most topics, with
progressive stances on some (Bulté & Rigouts Terryn, 2026):
The environment first. Asked whether to prioritize protecting the
environment or economic growth, the models chose the environment in 98%
of their answers. Depending on the country, 28 to 66% of people chose the
economy.
More accepting than people on sexuality and relationships, and
with less variation between countries where people differ most.
The second point shows most clearly on the question of how justifiable
homosexuality is, on a scale of 1 to 10
(Figure 11figure 11).
People’s averages range from 1.6 in Iran to 9.0 in the Netherlands. The
models’ answers for the same countries all fall between 6.4 and 10, on
average 4.1 points higher than people’s. Ethical questions such as divorce,
abortion or euthanasia show the same narrowing, to a lesser degree.
Figure 11. How justifiable is homosexuality? Average answers of people in each country and of models answering for that country, averaged over models and ways of prompting. After Bulté and Rigouts Terryn (2026), Table 13.
Defaults of this kind do not stay inside one answer, because a model can
change what people think. In a preregistered study of 900 participants, GPT-4
debated with people on a range of topics; when it had basic information
about its opponent, such as age and gender, it was more persuasive than a
human opponent in 64% of the pairs where one side persuaded more (Salvi et
al., 2025).
Stereotypes rather than surveys
Asked to answer as a person from a given country, a model can produce the
outside view of that country rather than what its people say. Only 25% of
Japanese respondents name hard work among the qualities children should
learn, the lowest share of all eleven countries. Models answering as a
Japanese person named it in 51 to 73% of their answers
(Figure 12figure 12).
Figure 12. Hard work as a quality to encourage in children, in Japan: people's answers and models' answers. After Bulté and Rigouts Terryn (2026).
Some answers went further. Asked to describe an ideal job as a Dutch person,
Gemini wanted to be “a bike tour organizer, cycling past cheese factories,
windmills, and tulip fields, and occasionally stopping for a fresh craft
beer”. Asked to answer as a Russian person, Llama sometimes began with
“Comrade, my answer is…” (Bulté & Rigouts Terryn, 2026).
Sources
Bulté, B., & Rigouts Terryn, A. (2026). LLMs and Cultural Values: The Impact of Prompt Language and Explicit Cultural Framing. Computational Linguistics, 52(2), 407–494. https://doi.org/10.1162/COLI.a.583
Salvi, F., Horta Ribeiro, M., Gallotti, R., & West, R. (2025). On the conversational persuasiveness of GPT-4. Nature Human Behaviour, 9(8), 1645–1653. https://doi.org/10.1038/s41562-025-02194-6
Tao, Y., Viberg, O., Baker, R. S., & Kizilcec, R. F. (2024). Cultural bias and cultural alignment of large language models. PNAS Nexus, 3(9), pgae346. https://doi.org/10.1093/pnasnexus/pgae346
Une question, quatre langues
Interrogés en 2025 sur un plat réconfortant pour une froide soirée d’hiver,
des agents conversationnels de plusieurs fournisseurs ont eu tendance à
proposer un ragoût de bœuf ou une soupe au poulet en anglais, du
boerenkool stamppot en néerlandais, un pot-au-feu ou une soupe à l’oignon
en français et une soupe aux lentilles en allemand
(Figure 9figure 9).
Chaque réponse est raisonnable, mais chacune présente le plat réconfortant
d’une culture comme la réponse tout court.
Figure 9. Une question, quatre langues, quatre cuisines : réponses typiques de plusieurs agents conversationnels en 2025.
Ici, la langue de la question suffisait à déplacer la réponse. La plupart
des demandes ne précisent pas du tout la culture, par exemple une question
sur un repas de famille typique, un mariage, une tenue professionnelle ou
une façon polie de décliner une invitation. La réponse suit alors les
usages d’une culture et les présente comme la norme.
Les valeurs de qui
On peut mesurer de quelle culture il s’agit à l’aide des enquêtes que les
spécialistes des sciences sociales utilisent pour comparer les valeurs d’un
pays à l’autre. Tao et al. (2024) ont comparé les réponses de cinq modèles
d’OpenAI, de GPT-3 à GPT-4o, aux données d’enquête de 107 pays et
territoires, et ont constaté que tous ressemblaient aux valeurs des pays
anglophones et des pays protestants d’Europe.Questions posées en anglais, dans une étude publiée en 2024. Le modèle GPT-3 testé était text-davinci-002.
La tendance ne dépend pas du lieu où un modèle a été construit. Dans une
étude menée avec Bram Bulté (Bulté et Rigouts Terryn, 2026), nous avons
posé à dix modèles de développeurs américains, européens et chinois les
questions de deux enquêtes internationales sur les valeurs, en visant
chaque fois l’un de onze pays, par la langue de la requête, en nommant le
pays, ou les deux. Quel que soit le pays visé, les réponses ressemblaient à
celles des habitants de quatre pays, l’Allemagne, les États-Unis, les
Pays-Bas et le Japon, bien plus qu’à celles des habitants des sept autres,
quelle que soit la formulation de la requêtepromptrequêtepromptingrequêtesInput given to a generative AI system to specify a task, provide context, or otherwise guide its output.Entrée fournie à un système d'IA générative pour préciser une tâche, donner du contexte ou orienter la sortie.
(Figure 10figure 10).Claude 3.5 Haiku et Sonnet, DeepSeek-V3, Gemini 1.5 Pro, GPT-3.5 Turbo, GPT-4, GPT-4o, Llama 3.1, Mistral Large et Qwen2.5, interrogés de novembre 2024 à avril 2025.
Figure 10. Degré de concordance entre les réponses des modèles à 23 questions de la World Values Survey et celles des personnes interrogées dans chaque pays (corrélation de Pearson, 1 = concordance parfaite). Chaque barre est une moyenne sur les dix modèles et sur les onze pays visés par les requêtes : le pays sur l'axe est celui dont les habitants servent de comparaison, et non celui sur lequel portait la requête. Trois façons de formuler la requête. D'après Bulté et Rigouts Terryn (2026).
À quoi ressemblent ces choix par défaut
Les réponses des modèles eux-mêmes étaient plutôt neutres sur la plupart
des sujets, avec des positions progressistes sur certains (Bulté et
Rigouts Terryn, 2026) :
L’environnement d’abord. À la question de savoir s’il faut donner la
priorité à la protection de l’environnement ou à la croissance
économique, les modèles ont choisi l’environnement dans 98 % de leurs
réponses. Selon le pays, 28 à 66 % des personnes interrogées ont choisi
l’économie.
Plus ouverts que les gens sur la sexualité et les relations, avec
moins d’écart entre les pays là où les gens diffèrent le plus.
Le second point est le plus net sur la question de savoir à quel point
l’homosexualité est justifiable, sur une échelle de 1 à 10
(Figure 11figure 11).
Les moyennes des personnes interrogées vont de 1,6 en Iran à 9,0 aux
Pays-Bas. Les réponses des modèles pour les mêmes pays se situent toutes
entre 6,4 et 10, en moyenne 4,1 points plus haut que celles des gens. Les
questions éthiques comme le divorce, l’avortement ou l’euthanasie
présentent le même resserrement, à un moindre degré.
Figure 11. L'homosexualité est-elle justifiable ? Réponses moyennes des personnes interrogées dans chaque pays et des modèles répondant pour ce pays, en moyenne sur les modèles et les façons de formuler la requête. D'après Bulté et Rigouts Terryn (2026), tableau 13.
Ces choix par défaut ne restent pas enfermés dans une réponse, car un
modèle peut changer ce que pensent les gens. Dans une étude préenregistrée
menée auprès de 900 participants, GPT-4 a débattu avec des personnes sur
divers sujets ; lorsqu’il disposait d’informations de base sur son
interlocuteur, comme l’âge et le genre, il était plus persuasif qu’un
opposant humain dans 64 % des paires où l’un des deux camps persuadait
davantage (Salvi et al., 2025).
Des stéréotypes plutôt que des enquêtes
Quand on lui demande de répondre comme une personne d’un pays donné, un
modèle peut produire le regard extérieur sur ce pays plutôt que ce qu’en
disent ses habitants. Seuls 25 % des répondants japonais citent le travail
assidu parmi les qualités que les enfants devraient apprendre, la plus
faible part des onze pays. Les modèles répondant comme une personne
japonaise l’ont cité dans 51 à 73 % de leurs réponses
(Figure 12figure 12).
Figure 12. Le travail assidu comme qualité à encourager chez les enfants, au Japon : réponses des personnes interrogées et réponses des modèles. D'après Bulté et Rigouts Terryn (2026).
Certaines réponses allaient plus loin. Invité à décrire un emploi idéal
comme une personne néerlandaise, Gemini voulait être « a bike tour organizer, cycling past cheese factories, windmills, and tulip fields, and occasionally stopping for a fresh craft beer » [ma traduction : « organisateur de circuits à vélo, pédalant devant des fromageries, des moulins à vent et des champs de tulipes, et s’arrêtant de temps à autre pour une bière artisanale bien fraîche »]. Invité à répondre comme une personne russe, Llama commençait
parfois par « Comrade, my answer is… » [ma traduction : « Camarade, ma réponse est… »] (Bulté et Rigouts Terryn, 2026).
Sources
Bulté, B., & Rigouts Terryn, A. (2026). LLMs and Cultural Values: The Impact of Prompt Language and Explicit Cultural Framing. Computational Linguistics, 52(2), 407–494. https://doi.org/10.1162/COLI.a.583
Salvi, F., Horta Ribeiro, M., Gallotti, R., & West, R. (2025). On the conversational persuasiveness of GPT-4. Nature Human Behaviour, 9(8), 1645–1653. https://doi.org/10.1038/s41562-025-02194-6
Tao, Y., Viberg, O., Baker, R. S., & Kizilcec, R. F. (2024). Cultural bias and cultural alignment of large language models. PNAS Nexus, 3(9), pgae346. https://doi.org/10.1093/pnasnexus/pgae346
Who decides what is rightQui décide de ce qui est juste
A target set by few people
Correcting a model for bias requires a target: a decision about which
answers are biased and which are
acceptable (see also the Correcting bias page, in the Reliability of LLM output module) (voir aussi la page Corriger les biais, dans le module Fiabilité des résultats des GML). That decision has no neutral version, and
the people who make it are few
(Figure 15figure 15).
Figure 15. Where a model's bias comes from, and where the target of its correction is set.
A target set this way reflects the decisions of the people who set it. Those
decisions need not match the values of the culture they come from, let alone
anyone else’s.
The most visible forms of bias have become harder to find: current chat
models pass explicit bias tests. The bias that remains lies in their defaults, and
defaults can be steered and checked:
Compare answers across groups. Asking the same question about two
groups, or with two names, shows differences that one answer on its own
hides.
Keep your own judgement for decisions about people. Scoring
résumés and choosing between candidates are tasks on which studies in
this chapter found bias.
Santurkar, S., Durmus, E., Ladhak, F., Lee, C., Liang, P., & Hashimoto, T. (2023). Whose Opinions Do Language Models Reflect?. Proceedings of the 40th International Conference on Machine Learning, PMLR 202, 29971–30004. https://proceedings.mlr.press/v202/santurkar23a.html
Tao, Y., Viberg, O., Baker, R. S., & Kizilcec, R. F. (2024). Cultural bias and cultural alignment of large language models. PNAS Nexus, 3(9), pgae346. https://doi.org/10.1093/pnasnexus/pgae346
Une cible fixée par peu de personnes
Corriger les biais d’un modèle suppose une cible : une décision sur les
réponses qui sont biaisées et celles qui sont
acceptables (see also the Correcting bias page, in the Reliability of LLM output module) (voir aussi la page Corriger les biais, dans le module Fiabilité des résultats des GML). Cette
décision n’a pas de version neutre, et les personnes qui la prennent sont
peu nombreuses
(Figure 15figure 15).
Figure 15. D'où viennent les biais d'un modèle, et où est fixée la cible de leur correction.
Une cible fixée de cette façon reflète les décisions des personnes qui la
fixent. Ces décisions ne correspondent pas forcément aux valeurs de la
culture dont elles viennent, encore moins à celles des autres.
Les formes les plus visibles de biais sont devenues plus difficiles à
trouver : les agents conversationnels actuels réussissent les tests de
biais explicites. Ce qui reste se trouve dans leurs choix par défaut, et ces
choix peuvent être orientés et vérifiés :
Comparez les réponses d’un groupe à l’autre. Poser la même question à
propos de deux groupes, ou avec deux prénoms, révèle des différences
qu’une réponse isolée masque.
Gardez votre propre jugement pour les décisions qui concernent des
personnes. Noter des CV et choisir entre des candidats font partie des
tâches sur lesquelles des études de ce chapitre ont trouvé des biais.
Santurkar, S., Durmus, E., Ladhak, F., Lee, C., Liang, P., & Hashimoto, T. (2023). Whose Opinions Do Language Models Reflect?. Proceedings of the 40th International Conference on Machine Learning, PMLR 202, 29971–30004. https://proceedings.mlr.press/v202/santurkar23a.html
Tao, Y., Viberg, O., Baker, R. S., & Kizilcec, R. F. (2024). Cultural bias and cultural alignment of large language models. PNAS Nexus, 3(9), pgae346. https://doi.org/10.1093/pnasnexus/pgae346
🔒 TRA2600 · Practical informationTRA2600 · Informations pratiquesis course material (TRA2600). Open it on the site to include it here.est réservé au cours (TRA2600). Ouvrez-le sur le site pour l'inclure ici.
L’examen final (35 %) a lieu le 16 décembre 2026, sur papier, sans notes ni
appareils. Il porte sur le bloc 3 (les bases du traitement automatique des
langues et l’extraction terminologique), le bloc 4 (les grands modèles de
langue, y compris la traduction automatique) et la conférence invitée. L’examen porte sur les pages obligatoires et sur le travail
fait en classe, pas sur les pages facultatives.
Les exemples et l’examen
Certaines de ces questions, ou des variantes, seront à l’examen ; d’autres
questions de l’examen ne figurent pas ici. Les exemples montrent le genre de
question et le niveau de détail attendu, pas la liste des sujets.
Bloc 3 · Bases du TAL et extraction terminologique
Mettez dans l’ordre chronologique les quatre façons de construire un
système de traitement des langues : apprentissage profond, systèmes à base
de règles, grands modèles de langue, apprentissage automatique. Pour
chacune, dites en une phrase ce que la personne qui construit le système
doit fournir elle-même.
Pourquoi ne peut-on pas découper un texte français en mots simplement en
coupant aux espaces et à la ponctuation ? Donnez deux cas qui posent
problème et expliquez chacun en une phrase.
Dans « il livre le colis » et « le livre est fermé », le mot livre n’a
pas la même catégorie grammaticale. Expliquez en deux ou trois phrases sur
quelles informations un étiqueteur statistique s’appuie pour choisir la
bonne catégorie.
Quelle est la différence entre la lemmatisation et la racinisation ?
Répondez en une phrase pour chacune, puis donnez un exemple de deux mots
qu’une racinisation confond alors qu’ils devraient rester distincts.
Qu’est-ce qu’on gagne, et qu’est-ce qu’on perd, en passant d’un système
à base de règles à un système d’apprentissage automatique ? Répondez en
deux phrases.
Un extracteur de termes fondé sur des patrons de catégories grammaticales
et un extracteur fondé sur des statistiques de fréquence ne se trompent pas
de la même façon. Pour chacun, nommez un type d’unité qu’il trouve à tort
et un type qu’il manque, en une phrase par cas.
Que mesure TermoStat lorsqu’il compare le texte analysé à un corpus de
référence ? Expliquez en deux phrases pourquoi cette comparaison aide à
trouver des termes, et dans quel cas elle échoue.
Deux personnes qui annotent les termes du même texte ne produisent pas la
même liste. Nommez deux raisons de ce désaccord qui ne sont pas des
erreurs, en une phrase chacune.
Calculez la précision et le rappel de cet extracteur par rapport à
l’étalon de référence, en correspondance exacte. Laissez les résultats en
fractions et montrez vos calculs.
Étalon de référence : apprentissage automatique ; réseau de neurones ;
étalon de référence ; précision ; rappel ; accord inter-annotateurs ;
extraction automatique de termes.
Candidats proposés : apprentissage automatique ; apprentissage ; réseau de
neurones ; précision ; accord inter-annotateurs ; extraction ; données ;
modèle de langue ; étalon de référence.
Que signifient « bruit » et « silence » dans l’évaluation d’une
extraction ? Pour chacun, dites s’il fait baisser la précision ou le
rappel.
Dans la question 9, le candidat apprentissage n’a pas été compté comme
correct, alors que l’étalon contient apprentissage automatique.
Expliquez en deux phrases ce qu’est une règle de correspondance et
pourquoi le choix de la règle change le score.
Pourquoi faut-il connaître l’accord entre les personnes qui ont établi
l’étalon de référence pour interpréter le score d’un outil ? Donnez deux
raisons, en une phrase chacune.
Deux outils obtiennent le même score F1 sur la même tâche. Expliquez en
deux phrases comment leurs erreurs peuvent pourtant être très
différentes, et pourquoi cela compte pour la personne qui s’en sert.
Quelle est une des premières étapes de n’importe quelle recherche
terminologique, et une des plus importantes ?
Quelle est la différence entre la recherche ponctuelle et la recherche
thématique ? Laquelle est effectuée par des traducteurs et des
terminologues, et laquelle surtout par des équipes de terminologues ?
Nommez trois façons d’évaluer une traduction vues en classe et dites
laquelle ne demande pas de traduction de référence.
Bloc 4 · Grands modèles de langue et traduction automatique
Que signifie « boîte noire » dans le contexte du traitement automatique
des langues ? Votre réponse, en deux ou trois phrases, nomme le type de
système concerné et le problème que cela pose.
Un même texte demande en général plus de jetons en français qu’en anglais.
Expliquez en deux phrases d’où vient cette différence, puis nommez deux
conséquences pour une personne qui traduit.
Nommez les quatre générations de systèmes de traduction automatique dans
l’ordre, et dites en une phrase pour chacune ce qui change par rapport à
la précédente.
Un outil de TAO envoie à la traduction automatique un segment à la fois ;
un grand modèle de langue peut recevoir le texte entier. Donnez un exemple
concret d’un phénomène mieux traité quand le système voit le texte entier,
et expliquez pourquoi en deux ou trois phrases.
Vous traduisez un même texte avec un service de traduction automatique,
avec une requête unique adressée à un agent conversationnel, puis dans une
conversation avec cet agent. Nommez une chose que la conversation permet et
que les deux autres façons ne permettent pas, et une limite que les trois
ont en commun.
Avant d’envoyer le document d’un client à un service de traduction
automatique en ligne, que devez-vous vérifier, et pourquoi ? Répondez en
deux phrases.
D’autres exemples s’ajouteront après les séances du 25 novembre 2026 et du
2 décembre 2026.