minicons: Enabling Flexible Behavioral and Representational Analyses of Transformer Language Models
Not on the map. Why?
Abstract (arXiv)
We present minicons, an open source library that provides a standard API for researchers interested in conducting behavioral and representational analyses of transformer-based language models (LMs). Specifically, minicons enables researchers to apply analysis methods at two levels: (1) at the prediction level -- by providing functions to efficiently extract word/sentence level probabilities; and (2) at the representational level -- by also facilitating efficient extraction of word/phrase level vectors from one or more layers. In this paper, we describe the library and apply it to two motivating case studies: One focusing on the learning dynamics of the BERT architecture on relative grammatical judgments, and the other on benchmarking 23 different LMs on zero-shot abductive reasoning. minicons is available at https://github.com/kanishkamisra/minicons
Key facts. Cited by 58 papers in the map (data through 7 Oct 2026). Builds on 36 of its 62 references that are in the map. First posted on arXiv 24 Mar 2022.
Builds on
36 of 62 references.
References · 36
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2018Neural Network Acceptability Judgmentscited by 952
- 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 703
- 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 553
24 more
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
- 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 350
- 2019What BERT is not: Lessons from a new suite of psycholinguistic diagnostics for language modelscited by 317
- 2019Abductive Commonsense Reasoningcited by 300
- 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 256
- 2018Targeted Syntactic Evaluation of Language Modelscited by 239
- 2018A Simple Method for Commonsense Reasoningcited by 223
- 2020Unsupervised Commonsense Question Answering with Self-Talkcited by 161
- 2019Neural Language Models as Psycholinguistic Subjects: Representations of Syntactic Statecited by 137
- 2020When Do You Need Billions of Words of Pretraining Data?cited by 104
- 2021The MultiBERTs: BERT Reproductions for Robustness Analysiscited by 89
- 2019ZuCo 2.0: A Dataset of Physiological Recordings During Natural Reading and Annotationcited by 65
- 2020Cross-Linguistic Syntactic Evaluation of Word Prediction Modelscited by 54
- 2020Human Sentence Processing: Recurrence or Attention?cited by 51
- 2020Exploring BERT's Sensitivity to Lexical Cues using Tests from Semantic Primingcited by 41
- 2021Refining Targeted Syntactic Evaluation of Language Modelscited by 41
- 2019Language Modelling Makes Sense: Propagating Representations through WordNet for Full-Coverage Word Sense Disambiguationcited by 40
- 2020jiant: A Software Toolkit for Research on General-Purpose Text Understanding Modelscited by 39
- 2019Blackbox meets blackbox: Representational Similarity and Stability Analysis of Neural Language Models and Brainscited by 37
- 2021Do language models learn typicality judgments from text?cited by 32
- 2019Analyzing and Interpreting Neural Networks for NLP: A Report on the First BlackboxNLP Workshopcited by 22
- 2020Contextualized Word Embeddings Encode Aspects of Human-Like Word Sense Knowledgecited by 18
- 2020diagNNose: A Library for Neural Activation Analysiscited by 7
- 2021Towards Zero-shot Commonsense Reasoning with Self-supervised Refinement of Language Modelscited by 4
Built on by
Citing papers per year: 2022: 4; 2023: 2; 2024: 19; 2025: 22; 2026: 11.
58 papers.
Sort:
By area:
- 2023Language Model Behavior: A Comprehensive Surveycited by 92
- 2025Findings of the BabyLM Challenge: Sample-Efficient Pretraining on Developmentally Plausible Corporacited by 86
- 2024Language Models Learn Rare Phenomena from Less Rare Phenomena: The Case of the Missing AANNscited by 65
- 2024Auxiliary task demands mask the capabilities of smaller language modelscited by 54
- 2024Findings of the Second BabyLM Challenge: Sample-Efficient Pretraining on Developmentally Plausible Corporacited by 48
- 2025Language Models Fail to Introspect About Their Knowledge of Languagecited by 28
- 2023A Better Way to Do Masked Language Model Scoringcited by 27
- 2022Language model acceptability judgements are not always robust to contextcited by 22
- 2024Teaching Models to Balance Resisting and Accepting Persuasioncited by 19
- 2025Both Direct and Indirect Evidence Contribute to Dative Alternation Preferences in Language Modelscited by 18
- 2022The Curious Case of Absolute Position Embeddingscited by 17
- 2024Robust Pronoun Fidelity with English LLMs: Are they Reasoning, Repeating, or Just Biased?cited by 17
38 more
- 2022COMPS: Conceptual Minimal Pair Sentences for testing Robust Property Knowledge and its Inheritance in Pre-trained Language Modelscited by 15
- 2024A Psycholinguistic Evaluation of Language Models' Sensitivity to Argument Rolescited by 14
- 2024Large Language Models are Capable of Offering Cognitive Reappraisal, if Guidedcited by 13
- 2024BEAR: A Unified Framework for Evaluating Relational Knowledge in Causal and Masked Language Modelscited by 11
- 2024Scope Ambiguities in Large Language Modelscited by 11
- 2025Are BabyLMs Deaf to Gricean Maxims? A Pragmatic Evaluation of Sample-efficient Language Modelscited by 11
- 2024Controlled Evaluation of Syntactic Knowledge in Multilingual Language Modelscited by 10
- 2024Characterizing the Role of Similarity in the Property Inferences of Language Modelscited by 9
- 2025Child-Directed Language Does Not Consistently Boost Syntax Learning in Language Modelscited by 9
- 2025TurBLiMP: A Turkish Benchmark of Linguistic Minimal Pairscited by 9
- 2024A systematic framework for generating novel experimental hypotheses from language modelscited by 8
- 2024Large Language Model Recall Uncertainty is Modulated by the Fan Effectcited by 7
- 2025Different types of syntactic agreement recruit the same units within large language modelscited by 7
- 2025Alignment Drift in CEFR-prompted LLMs for Interactive Spanish Tutoringcited by 6
- 2025Vision-and-Language Training Helps Deploy Taxonomic Knowledge but Does Not Fundamentally Alter Itcited by 6
- 2025HPLT 3.0: Very Large-Scale Multilingual Resources for LLMs and MT. Mono- and Bi-lingual Data, Multilingual Evaluation, and Pre-Trained Modelscited by 6
- 2024Superlatives in Context: Modeling the Implicit Semantics of Superlativescited by 5
- 2024ProGRes: Prompted Generative Rescoring on ASR n-Bestcited by 5
- 2025Unpacking Let Alone: Human-Scale Models Generalize to a Rare Construction in Form but not Meaningcited by 4
- 2024Experimental Contexts Can Facilitate Robust Semantic Property Inference in Language Models, but Inconsistentlycited by 3
- 2024The Base-Rate Effect on LLM Benchmark Performance: Disambiguating Test-Taking Strategies from Benchmark Performancecited by 3
- 2025Is It JUST Semantics? A Case Study of Discourse Particle Understanding in LLMscited by 3
- 2022"No, they did not": Dialogue response dynamics in pre-trained language modelscited by 1
- 2024Models Can and Should Embrace the Communicative Nature of Human-Generated Mathcited by 1
- 2025Language Models Largely Exhibit Human-like Constituent Ordering Preferencescited by 1
- 2025All-in-one: Understanding and Generation in Multimodal Reasoning with the MAIA Benchmarkcited by 1
- 2025semantic-features: A User-Friendly Tool for Studying Contextual Word Embeddings in Interpretable Semantic Spacescited by 1
- 2025WUGNECTIVES: Novel Entity Inferences of Language Models from Discourse Connectivescited by 1
- 2025Hey, wait a minute: on at-issue sensitivity in Language Modelscited by 1
- 2025Dark & Stormy: Modeling Humor in Sentences from the Bulwer-Lytton Fiction Contestcited by 1
- 2025On the Interplay between Positional Encodings, Morphological Complexity, and Word Order Flexibilitycited by 1
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Modelscited by 1
- 2026A Unified Assessment of the Poverty of the Stimulus Argument for Neural Language Modelscited by 1
- 2026Perturbation: A simple and efficient adversarial tracer for representation learning in language modelscited by 1
- 2026GlossoGen: Emergent Language in Complex Multi-Agent LLM Interactionscited by 1
- 2024Code-switching in text and speech challenges information-theoretic speaker designcited by 0
- 2025SPACER: A Parallel Dataset of Speech Production And Comprehension of Error Repairscited by 0
- 2025Investigating Syntactic Biases in Multilingual Transformers with RC Attachment Ambiguities in Italian and Englishcited by 0
50 most cited of 58 All 58 (JSON)
- 2026GlossoGen: Emergent Language in Complex Multi-Agent LLM Interactions1 Sep 2026
- 2026(V)LMs generalize beyond surface co-occurrence: Evidence from cross-modal number agreement31 Aug 2026
- 2026Causal Interventions Reveal Typologically Organized Syntactic Mechanisms in Multilingual Language Models28 Aug 2026
- 2026Is Child-Directed Language Optimized for Word Learning? A Computational Study of Verb Meaning Acquisition12 May 2026
- 2026Causal Drawbridges: Characterizing Gradient Blocking of Syntactic Islands in Transformer LMs15 Apr 2026
- 2026Perturbation: A simple and efficient adversarial tracer for representation learning in language models25 Mar 2026
- 2026Revisiting Real-Time Digging-In Effects: No Evidence from NP/Z Garden-Paths24 Mar 2026
- 2026A Unified Assessment of the Poverty of the Stimulus Argument for Neural Language Models10 Feb 2026
- 2026Which course? Discourse! Teaching Discourse and Generation in the Era of LLMs2 Feb 2026
- 2026Bears, all bears, and some bears. Language Constraints on Language Models' Inductive Inferences14 Jan 2026
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Models9 Jan 2026
- 2025Different types of syntactic agreement recruit the same units within large language models3 Dec 2025
38 more
- 2025On the Interplay between Positional Encodings, Morphological Complexity, and Word Order Flexibility11 Nov 2025
- 2025HPLT 3.0: Very Large-Scale Multilingual Resources for LLMs and MT. Mono- and Bi-lingual Data, Multilingual Evaluation, and Pre-Trained Models2 Nov 2025
- 2025Dark & Stormy: Modeling Humor in Sentences from the Bulwer-Lytton Fiction Contest28 Oct 2025
- 2025Hey, wait a minute: on at-issue sensitivity in Language Models14 Oct 2025
- 2025WUGNECTIVES: Novel Entity Inferences of Language Models from Discourse Connectives10 Oct 2025
- 2025Are BabyLMs Deaf to Gricean Maxims? A Pragmatic Evaluation of Sample-efficient Language Models6 Oct 2025
- 2025Quantifier Scope Interpretation in Language Learners and LLMs13 Sep 2025
- 2025Vision-and-Language Training Helps Deploy Taxonomic Knowledge but Does Not Fundamentally Alter It17 Jul 2025
- 2025TurBLiMP: A Turkish Benchmark of Linguistic Minimal Pairs16 Jun 2025
- 2025semantic-features: A User-Friendly Tool for Studying Contextual Word Embeddings in Interpretable Semantic Spaces6 Jun 2025
- 2025Is It JUST Semantics? A Case Study of Discourse Particle Understanding in LLMs5 Jun 2025
- 2025Unpacking Let Alone: Human-Scale Models Generalize to a Rare Construction in Form but not Meaning4 Jun 2025
- 2025Child-Directed Language Does Not Consistently Boost Syntax Learning in Language Models29 May 2025
- 2025Alignment Drift in CEFR-prompted LLMs for Interactive Spanish Tutoring13 May 2025
- 2025Investigating Syntactic Biases in Multilingual Transformers with RC Attachment Ambiguities in Italian and English14 Apr 2025
- 2025Findings of the BabyLM Challenge: Sample-Efficient Pretraining on Developmentally Plausible Corpora10 Apr 2025
- 2025Both Direct and Indirect Evidence Contribute to Dative Alternation Preferences in Language Models26 Mar 2025
- 2025SPACER: A Parallel Dataset of Speech Production And Comprehension of Error Repairs20 Mar 2025
- 2025Language Models Fail to Introspect About Their Knowledge of Language10 Mar 2025
- 2025All-in-one: Understanding and Generation in Multimodal Reasoning with the MAIA Benchmark24 Feb 2025
- 2025Language Models Largely Exhibit Human-like Constituent Ordering Preferences8 Feb 2025
- 2024Findings of the Second BabyLM Challenge: Sample-Efficient Pretraining on Developmentally Plausible Corpora6 Dec 2024
- 2024Controlled Evaluation of Syntactic Knowledge in Multilingual Language Models12 Nov 2024
- 2024Characterizing the Role of Similarity in the Property Inferences of Language Models29 Oct 2024
- 2024A Psycholinguistic Evaluation of Language Models' Sensitivity to Argument Roles21 Oct 2024
- 2024Teaching Models to Balance Resisting and Accepting Persuasion18 Oct 2024
- 2024Models Can and Should Embrace the Communicative Nature of Human-Generated Math25 Sep 2024
- 2024ProGRes: Prompted Generative Rescoring on ASR n-Best30 Aug 2024
- 2024A systematic framework for generating novel experimental hypotheses from language models9 Aug 2024
- 2024Code-switching in text and speech challenges information-theoretic speaker design8 Aug 2024
- 2024Large Language Model Recall Uncertainty is Modulated by the Fan Effect8 Jul 2024
- 2024The Base-Rate Effect on LLM Benchmark Performance: Disambiguating Test-Taking Strategies from Benchmark Performance17 Jun 2024
- 2024Superlatives in Context: Modeling the Implicit Semantics of Superlatives31 May 2024
- 2024Scope Ambiguities in Large Language Models5 Apr 2024
- 2024BEAR: A Unified Framework for Evaluating Relational Knowledge in Causal and Masked Language Models5 Apr 2024
- 2024Robust Pronoun Fidelity with English LLMs: Are they Reasoning, Repeating, or Just Biased?4 Apr 2024
- 2024Auxiliary task demands mask the capabilities of smaller language models3 Apr 2024
- 2024Large Language Models are Capable of Offering Cognitive Reappraisal, if Guided1 Apr 2024
50 newest of 58 All 58 (JSON)
- 2023Language Model Behavior: A Comprehensive Surveycited by 92
- 2025Findings of the BabyLM Challenge: Sample-Efficient Pretraining on Developmentally Plausible Corporacited by 86
- 2024Language Models Learn Rare Phenomena from Less Rare Phenomena: The Case of the Missing AANNscited by 65
- 2024Auxiliary task demands mask the capabilities of smaller language modelscited by 54
- 2024Findings of the Second BabyLM Challenge: Sample-Efficient Pretraining on Developmentally Plausible Corporacited by 48
- 2025Language Models Fail to Introspect About Their Knowledge of Languagecited by 28
- 2023A Better Way to Do Masked Language Model Scoringcited by 27
- 2022Language model acceptability judgements are not always robust to contextcited by 22
- 2024Teaching Models to Balance Resisting and Accepting Persuasioncited by 19
- 2025Both Direct and Indirect Evidence Contribute to Dative Alternation Preferences in Language Modelscited by 18
- 2022The Curious Case of Absolute Position Embeddingscited by 17
- 2022COMPS: Conceptual Minimal Pair Sentences for testing Robust Property Knowledge and its Inheritance in Pre-trained Language Modelscited by 15
12 most cited of 55 All 55 (JSON)
- 2026(V)LMs generalize beyond surface co-occurrence: Evidence from cross-modal number agreement31 Aug 2026
- 2026Causal Interventions Reveal Typologically Organized Syntactic Mechanisms in Multilingual Language Models28 Aug 2026
- 2026Is Child-Directed Language Optimized for Word Learning? A Computational Study of Verb Meaning Acquisition12 May 2026
- 2026Causal Drawbridges: Characterizing Gradient Blocking of Syntactic Islands in Transformer LMs15 Apr 2026
- 2026Perturbation: A simple and efficient adversarial tracer for representation learning in language models25 Mar 2026
- 2026Revisiting Real-Time Digging-In Effects: No Evidence from NP/Z Garden-Paths24 Mar 2026
- 2026A Unified Assessment of the Poverty of the Stimulus Argument for Neural Language Models10 Feb 2026
- 2026Which course? Discourse! Teaching Discourse and Generation in the Era of LLMs2 Feb 2026
- 2026Bears, all bears, and some bears. Language Constraints on Language Models' Inductive Inferences14 Jan 2026
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Models9 Jan 2026
- 2025Different types of syntactic agreement recruit the same units within large language models3 Dec 2025
- 2025On the Interplay between Positional Encodings, Morphological Complexity, and Word Order Flexibility11 Nov 2025
12 newest of 55 All 55 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Transformer-Based Language Models Across Domain Verticals: Architectures, Applications and Critical Assessment
- 2023Jump to Conclusions: Short-Cutting Transformers With Linear Transformations
- 2025Speed Always Wins: A Survey on Efficient Architectures for Large Language Models
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Space
- 2024Does Representation Matter? Exploring Intermediate Layers in Large Language Models
- 2025SR-LLM: Rethinking the Structured Representation in Large Language Model
- 2025Modeling Language as a Sequence of Thoughts
- 2024Separating Tongue from Thought: Activation Patching Reveals Language-Agnostic Concept Representations in Transformers