Groking in Neural Networks
- 30Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
30 questions
- 1Grokking is the phenomenon where_____emerges much after the training accuracy has plateaued.
Hint
This term refers to the model's ability to perform well on unseen data.
Answer
generalization
- 2In adversarial grokking, the test accuracy under_____noise improves after prolonged training, even without adversarial training.
Hint
Think about the type of noise specifically designed to fool a neural network.
Answer
adversarial
- 3The spline theory states that a neural network with piecewise linear nonlinearities partitions the input space into convex_____regions.
Hint
These regions are high-dimensional convex shapes defined by the network's activation patterns.
Answer
polytopal
- 4Each region defined by a spline neural network corresponds to a unique set of_____patterns of the hidden units.
Hint
These patterns determine which piecewise linear region a point falls into.
Answer
activation
- 5A neural network with ReLU activations is a continuous_____spline.
Hint
It consists of linear segments joined continuously.
Answer
piecewise affine
- 6The local complexity measure estimates the_____of regions near a given input point.
Hint
Think about how many pieces of the spline are close to the point.
Answer
number
- 7During training, the local complexity measure_____before adversarial grokking occurs, indicating region migration.
Hint
This change happens around the time when train accuracy plateaus.
Answer
decreases
- 8Weight decay regularization_____the emergence of adversarial grokking because it biases toward smooth solutions.
Hint
This regularizer encourages small weights and smooth functions.
Answer
delays
- 9Batch normalization tends to_____regions near training points, making it harder to reach the grokking phase.
Hint
This technique normalizes activations, which affects the geometry of the partition.
Answer
concentrate
- 10An adversarial attack uses_____information to find a small perturbation that changes the network's prediction.
Hint
This is the direction in which the output changes most rapidly.
Answer
gradient
- 11After long training, partition regions_____from around data points to concentrate near decision boundaries.
Hint
They move away from training samples.
Answer
migrate
- 12In the absence of adversarial training, adversarial robustness emerges naturally due to the implicit bias of_____training.
Hint
The optimization procedure itself drives this behavior.
Answer
gradient descent
- 13When learning by reconstruction using mean squared error, the gradient is dominated by_____frequency components of the image.
Hint
These components have the largest amplitude in natural images.
Answer
low
- 14Reconstruction methods produce features that are_____for perception tasks compared to contrastive learning.
Hint
They do not align well with the information needed for classification.
Answer
less informative
- 15In denoising autoencoders, careful choice of_____can help rebalance learning towards high-frequency features.
Hint
The type and amount of noise added to the input.
Answer
noise distribution
- 16Contrastive self-supervised learning compares representations of_____of the same image in embedding space.
Hint
These are created through data augmentation.
Answer
different views
- 17The spline features for LLMs are extracted from each_____block within a transformer layer.
Hint
This is the feed-forward part of the transformer.
Answer
MLP
- 18The seven spline features per MLP block can be used to train a_____classifier for toxicity detection.
Hint
This simple classifier works well on these low-dimensional features.
Answer
linear
- 19The intrinsic dimension of a prompt in the attention space is related to the_____of the attention matrix.
Hint
This measures how many tokens attend to each other.
Answer
sparsity
- 20RLHF jailbreaking can be achieved by increasing the_____of the prompt, which moves it into a high-dimensional region not controlled during training.
Hint
Adding extra tokens, especially with related concepts, expands the input space.
Answer
context length
- 21To jailbreak RLHF, adding_____tokens with related concepts is more effective than random tokens.
Hint
These are coherent sentences related to the toxic prompt.
Answer
natural language
- 22The spline theory applies to any architecture that interleaves_____and nonlinearities.
Hint
These are linear operations like dense layers or convolutions.
Answer
affine mappings
- 23During the first stage of training, the network allocates many regions_____training points, corresponding to memorization.
Hint
The regions are concentrated around the data samples.
Answer
near
- 24Double descent in the context of grokking refers to the test accuracy first decreasing, then increasing again as_____increases.
Hint
This is not about model size but about duration of training.
Answer
training time
- 25The partition regions of a neural network trained with zero biases are constrained to be_____.
Hint
They emanate from the origin.
Answer
cones
- 26The spline view allows one to derive differentiable regularizers based on the_____from a point to the nearest region boundary.
Hint
This quantity can be computed efficiently for large networks.
Answer
distance
- 27For toxicity detection, spline features achieve_____AUC scores compared to existing specialized models.
Hint
They outperform the most downloaded Hugging Face model.
Answer
higher
- 28The intrinsic dimension of a prompt can be manipulated to create prompts that are_____to RLHF generalization.
Hint
They fall in regions not covered by training.
Answer
out-of-distribution
- 29Kolmogorov-Arnold Networks (KANs) are an example of an architecture that hard-codes_____activation functions.
Hint
These are piecewise polynomial functions.
Answer
spline
- 30The local complexity measure can serve as a proxy for early stopping, even without computing_____.
Hint
This metric reflects the network's geometric stage.
Answer
test accuracy

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