Carolin M. Schuster
2024
From Language to Pixels: Task Recognition and Task Learning in LLMs
Janek Falkenstein
|
Carolin M. Schuster
|
Alexander H. Berger
|
Georg Groh
Proceedings of the 2nd GenBench Workshop on Generalisation (Benchmarking) in NLP
LLMs can perform unseen tasks by learning from a few in-context examples. How in-context learning works is still uncertain. We investigate the mechanisms of in-context learning on a challenging non-language task. The task requires the LLM to generate pixel matrices representing images of basic shapes. We introduce a framework to analyze if this task is solved by recognizing similar formats from the training data (task recognition) or by understanding the instructions and learning the skill de novo during inference (task learning). Our experiments demonstrate that LLMs generate meaningful pixel matrices with task recognition and fail to learn such tasks when encountering unfamiliar formats. Our findings offer insights into LLMs’ learning mechanisms and their generalization ability to guide future research on their seemingly human-like behavior.
2022
From BERT‘s Point of View: Revealing the Prevailing Contextual Differences
Carolin M. Schuster
|
Simon Hegelich
Findings of the Association for Computational Linguistics: ACL 2022
Though successfully applied in research and industry large pretrained language models of the BERT family are not yet fully understood. While much research in the field of BERTology has tested whether specific knowledge can be extracted from layer activations, we invert the popular probing design to analyze the prevailing differences and clusters in BERT’s high dimensional space. By extracting coarse features from masked token representations and predicting them by probing models with access to only partial information we can apprehend the variation from ‘BERT’s point of view’. By applying our new methodology to different datasets we show how much the differences can be described by syntax but further how they are to a great extent shaped by the most simple positional information.
Search