Where LLMs Store Facts
- 67Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
67 questions
- 1If a language model correctly predicts basketball after the prompt “Michael Jordan plays the sport of_____,” this suggests that the model contains knowledge linking a person to a sport.
Hint
Think of the sport associated with Michael Jordan.
Answer
basketball
- 2Although a complete mechanistic explanation remains unsolved, research suggests that factual knowledge in transformer networks is stored primarily in the_____.
Hint
These are also abbreviated as MLPs and form one of the two major kinds of transformer blocks.
Answer
multi-layer perceptrons
- 3The toy factual example used to illustrate how an MLP might store knowledge is that_____plays basketball.
Hint
The example combines a first name, a last name, and a sport.
Answer
Michael Jordan
- 4In a transformer, attention allows vectors associated with different tokens to_____between one another.
Hint
Attention incorporates information from other positions in the sequence.
Answer
pass information
- 5The two major operations repeatedly applied to token vectors in a transformer are attention and_____.
Hint
The second operation is abbreviated MLPs.
Answer
multilayer perceptrons
- 6Before processing by a transformer, text is broken into smaller units called_____.
Hint
These units are typically words or pieces of words.
Answer
tokens
- 7Each token in the input is associated with a high-dimensional_____consisting of a long list of numbers.
Hint
This numerical representation is often called an embedding.
Answer
vector
- 8After many transformer operations, each vector should contain enough contextual and learned information to help predict the_____token.
Hint
The model is trained to predict what comes after the input text.
Answer
next
- 9The normalization operation in the transformer flow occurs between the attention and_____operations.
Hint
It is the other major block besides attention.
Answer
multilayer perceptrons
- 10The majority of a transformer's parameters live inside the_____blocks.
Hint
These blocks are the multilayer perceptron components.
Answer
MLP
- 11In a high-dimensional embedding space, different_____can encode different kinds of meaning.
Hint
The example involving gender uses a particular orientation in vector space.
Answer
directions
- 12Subtracting the embedding of “man” from “woman” produces a direction that can encode_____information.
Hint
The direction distinguishes masculine and feminine concepts.
Answer
gender
- 13Adding the woman-minus-man direction to the embedding of “uncle” places the result close to the corresponding_____noun.
Hint
The transformation changes a masculine relation to its counterpart.
Answer
feminine
- 14A vector flowing through a transformer acquires meaning from both the surrounding_____and the model's learned knowledge.
Hint
This includes the other words in the input.
Answer
context
- 15Because a vector must help predict what comes next, it ultimately needs to encode much more than the meaning of a single_____.
Hint
Tokens may represent complete words or word fragments.
Answer
word
- 16In the toy example, one direction represents the first name_____, another represents the last name Jordan, and a third represents basketball.
Hint
This is the first name in the example fact.
Answer
Michael
- 17The directions for Michael and Jordan in the toy example are assumed to be nearly_____to one another.
Hint
Their dot product is intended not to interfere with one another.
Answer
perpendicular
- 18If a vector's dot product with the Michael direction is one, the toy model interprets it as encoding a person whose first name is_____.
Hint
The dot product measures alignment with the first-name direction.
Answer
Michael
- 19In the toy model, a dot product of zero or a negative value with a feature direction means that the vector does not meaningfully_____with that direction.
Hint
Dot products measure directional similarity.
Answer
align
- 20Because “Michael Jordan” spans two tokens, an earlier_____block must pass information to the second token's vector.
Hint
This operation allows vectors at different positions to exchange information.
Answer
attention
- 21The computation inside an MLP is essentially two matrix multiplications with a simple_____function between them.
Hint
This function prevents the overall computation from remaining purely linear.
Answer
non-linear
- 22Each individual vector entering an MLP is processed independently, and the resulting vector is added to the_____vector.
Hint
This is the vector that flowed into the block.
Answer
original
- 23The same MLP operations are applied to every token vector in the sequence in_____.
Hint
The vectors do not wait for one another during this step.
Answer
parallel
- 24During the MLP step, the vectors associated with different tokens do not_____to one another.
Hint
Unlike attention, this operation treats each vector separately.
Answer
talk
- 25The first matrix multiplication in an MLP maps the input vector into a_____dimensional space.
Hint
The up projection has more rows than the size of the embedding space.
Answer
higher
- 26The rows of the first MLP matrix can be interpreted as vectors that take_____products with the input embedding.
Hint
Each row asks a question about alignment with the input vector.
Answer
dot
- 27If a row of the up projection matrix equals the sum of the Michael and Jordan directions, its dot product with an embedding of the full name produces a value of_____in the toy example.
Hint
Each of the two name directions contributes one.
Answer
two
- 28The rows of the up projection matrix can be viewed as asking different_____about features of the vector being processed.
Hint
Each row probes for a different property or direction.
Answer
questions
- 29The vector of learned parameters added after the first matrix multiplication is called the_____.
Hint
It shifts the intermediate values before the activation function.
Answer
bias
- 30For the Michael Jordan detector in the toy example, a bias of negative one makes the relevant intermediate value positive only when both name features are present, functioning like an_____gate.
Hint
This logic gate activates only when all required inputs are present.
Answer
AND
- 31In GPT-3, the up projection matrix has just under_____rows.
Hint
The content describes this as approximately the number of questions or neurons.
Answer
50,000
- 32For GPT-3, the number of rows in the up projection matrix is exactly_____times the number of embedding dimensions.
Hint
This is a design choice intended to be hardware-friendly.
Answer
four
- 33The shorthand used for the up projection matrix is_____.
Hint
The letter W is paired with the word indicating expansion into a higher-dimensional space.
Answer
W up
- 34The activation function that maps negative values to zero while leaving positive values unchanged is the_____.
Hint
It is commonly abbreviated ReLU.
Answer
rectified linear unit
- 35The ReLU is useful in the toy example because it converts the Michael Jordan detector into a clean positive-or-zero signal resembling an_____gate.
Hint
The output is positive only when both name features are present.
Answer
AND
- 36A smoother alternative to ReLU that models often use is called the_____.
Hint
Its name begins with “Gaussian” and ends with the same two letters as ReLU.
Answer
GELU
- 37In transformer terminology, the values produced after the first linear operation and activation are called_____.
Hint
These are the dots often shown in a neural-network layer diagram.
Answer
neurons
- 38A neuron is considered active when its value is_____.
Hint
The ReLU preserves values on this side of zero.
Answer
positive
- 39A neuron is considered inactive when its value is_____.
Hint
ReLU maps negative values to this value as well.
Answer
zero
- 40The second large matrix multiplication in an MLP uses the_____projection matrix to return to the embedding dimension.
Hint
This projection reverses the expansion performed by the up projection.
Answer
down
- 41When interpreting the down projection by columns, each column represents a_____in the original embedding space.
Hint
The columns have the same dimension as the embedding vectors.
Answer
direction
- 42In the toy example, the first column of the down projection matrix is learned to represent the_____direction.
Hint
This is the feature associated with the Michael Jordan detector.
Answer
basketball
- 43If the basketball-associated neuron is inactive and has value zero, its corresponding column contributes_____to the final result.
Hint
The column is multiplied by the neuron's value.
Answer
nothing
- 44The bias in the down projection is added to the output_____of the neuron values.
Hint
It is added every time, whether neurons activate or not.
Answer
regardless
- 45After the down projection, the MLP result is added to the vector that originally flowed into the block, producing the final_____result.
Hint
This addition preserves and updates the input representation.
Answer
residual
- 46Using GPT-3's approximate dimensions, the up projection matrix contains about_____parameters.
Hint
This comes from multiplying just under 50,000 rows by 12,288 embedding dimensions.
Answer
604 million
- 47The down projection matrix has the same number of parameters as the up projection matrix, but with a_____shape.
Hint
Its dimensions are reversed while the number of entries remains unchanged.
Answer
transposed
- 48Together, the up and down projection matrices in one GPT-3 MLP contain approximately_____parameters.
Hint
This is twice the approximately 604 million parameters in one projection matrix.
Answer
1.2 billion
- 49GPT-3 contains_____distinct MLPs through which the sequence of embedding vectors flows.
Hint
The content describes this as the number of repeated MLP blocks.
Answer
96
- 50Across all of GPT-3's MLP blocks, the total number of parameters is approximately_____.
Hint
Multiply roughly 1.2 billion parameters per block by 96 blocks.
Answer
116 billion
- 51The MLP parameters make up approximately_____of the total parameters in GPT-3.
Hint
They represent more than half and close to 67 percent of the network.
Answer
two thirds
- 52The grand total of parameters in the GPT-3 configuration discussed is approximately_____.
Hint
This includes attention, embedding, unembedding, and MLP parameters.
Answer
175 billion
- 53The hypothesis that features can be represented using nearly perpendicular directions is known as_____.
Hint
It describes multiple features being represented through combinations of neurons.
Answer
superposition
- 54In an n-dimensional space, the maximum number of mutually perpendicular vectors is_____.
Hint
The number equals the space's number of dimensions.
Answer
n
- 55Superposition increases representational capacity by allowing feature directions to be nearly perpendicular rather than exactly_____.
Hint
A small amount of interference or noise is tolerated.
Answer
perpendicular
- 56The example creates 10,000 random vectors in a space with_____dimensions.
Hint
The number of vectors is 100 times the number of dimensions.
Answer
100
- 57Even before optimization, random high-dimensional vectors tend to have angles close to_____degrees.
Hint
This angle represents approximate orthogonality.
Answer
90
- 58The optimization process in the vector demonstration repeatedly nudges the vectors to become more_____to one another.
Hint
It tries to reduce overlap between their directions.
Answer
perpendicular
- 59According to the Johnson-Lindenstrauss lemma, the number of nearly perpendicular vectors that can fit in a space grows_____with the number of dimensions.
Hint
The growth is much faster than a simple linear increase.
Answer
exponentially
- 60Superposition may help explain both why language models are difficult to_____and why they scale well.
Hint
Researchers try to determine what internal representations mean.
Answer
interpret
- 61If individual features are stored in superposition, a feature may appear not as one neuron activating but as a specific_____of neurons.
Hint
The feature is distributed across multiple units.
Answer
combination
- 62A tool used by interpretability researchers to extract features that are superimposed across neurons is a sparse_____.
Hint
It is a type of model used to recover underlying representations.
Answer
autoencoder
- 63Superposition is relevant not only to the embedding space but also to the vector of_____in the middle of an MLP.
Hint
This is the high-dimensional intermediate activation vector.
Answer
neurons
- 64Because of superposition, a GPT-3 MLP might probe for many more features than the approximately_____neurons suggested by its width.
Hint
This is the approximate number of rows in the up projection matrix.
Answer
50,000
- 65The short answer for how a language model is trained is_____.
Hint
This is the gradient-based learning method discussed earlier.
Answer
backpropagation
- 66Fine-tuning a model using human preferences is described as reinforcement learning with human_____.
Hint
The missing word refers to responses or evaluations provided by people.
Answer
feedback
- 67The observation that model performance changes predictably with model size is studied through_____laws.
Hint
These laws relate performance to quantities such as model size and data.
Answer
scaling

Ask anything
We've read this whole study set, so questions about it get the best answers.