about this course
Machines have had some ability to understand and generate text for several decades.
More recently, neural approaches have revolutionized the field.
The most striking and impressive models are large Transformer-based models
trained on large amounts of text.
But if "Attention is All You Need,"
then maybe we don't need those large language models at all.
If "Language Models are Few-Shot Learners,"
then maybe small language models can learn from a few examples too.
Maybe we can develop a small language model that better understands our language
if we "pay attention" to the language.
Training a model to examine the links between words in a sequence and
directly model those relationships trains the model to understand human language.
Super-sizing a model super-sizes the cost. It does not super-size the understanding.
Larger models tend to perform better than smaller models, but
performance gains diminish as model size increases.
At large sizes, language models can become superficially fluent
without truly understanding human language. Such
"Stochastic Parrots"
simply repeat long sequences that they learned from the training data.
More recent reasoning models partially overcome the "stochastic parrots" critique
by exploring several solution paths and evaluating them against formal rules,
code execution environments or math verifiers before responding to a prompt.
Unlike their predecessors, which are (effectively) trained to ask:
"what word most likely comes next in this sequence?",
reasoning models trained with reinforcement learning ask:
"which path successfully solves this logical puzzle?"
However, reasoning models are only a partial response to the "stochastic parrots" critique.
Because they're trained to generate a coherent "chain of thought," they can generate
a fluent-looking logic that's based on a fundamentally flawed premise.
what you will learn
This course will compare the performance of Transformer-based models to previous approaches.
And it will pay particular attention to how those performance gains were achieved.
Did the researchers develop a better model? Or did they train a larger model?
For example, the fluency and translation quality of neural translation models
far surpasses that of phrase-based statistical models.
And in low-resource cases too.
But what's important is how those performance gains were achieved.
Instead of translating words or phrases, the neural approach attempts to understand context.
Neural models translate better than phrase-based models because they attempt to
create a sentence in the target language with the same meaning as the source language sentence.
In that spirit, this course will explore neural approaches to natural language processing.
Comparing them, it will ask how we can develop models that better understand our language.