Architectures of Meaning, A Systematic Corpus Analysis of NLP Systems

Oskar Wysocki, Malina Florea, Donal Landers, André FreitasarXiv 2021

Abstract

The rapid evolution of Natural Language Processing (NLP) makes tracking architectural trends challenging. This study introduces a data-driven framework using statistical corpus analysis and network graphs to analyze thousands of NLP papers. By treating scientific literature as a dataset, we map the transition from traditional machine learning to deep learning and transformers, revealing how architectural "motifs" evolve and persist over time.

Introduction

The last decade has seen a "Cambrian explosion" in NLP architectures. With thousands of papers published annually, researchers struggle to identify which patterns—such as specific classifiers, layers, or feature extraction methods—are becoming standard. Traditional literature reviews are no longer scalable. This research addresses the gap by applying NLP techniques to the NLP literature itself, systematically mining and mapping the evolution of system architectures.

Methodology

The authors developed an automated pipeline to extract and analyze architectural components:

  1. Saturation-based Lexicon Construction: Starting with a seed list of terms, a Naive-Bayes classifier was iteratively trained on a paper corpus to identify new terms until reaching a plateau. This resulted in 151 canonical components (e.g., grouping "cnn" and "convnet" under "CNN").
  2. Statistical Corpus Analysis: Relative frequencies of these components were tracked over time. Linear regression was employed to identify rising or fading trends, adjusting for the overall growth in publication volume.
  3. Collocation Mining: Significant component pairings (e.g., CNN + pooling) were identified using the $G^2$ likelihood ratio test, while the Apriori algorithm uncovered larger architectural motifs of 3 to 8 components.
  4. Network Visualization: Force-directed network graphs were used to visualize these collocations, where nodes represent components and edges signify significant co-occurrences.

Datasets

The study utilized two primary corpora:

  • SemEval Corpus: 1,341 system description papers (2012–2019) from the SemEval competition. These papers describe applied systems, making them ideal for tracking practical architectural trends.
  • ACL Corpus: 2,265 papers from ACL proceedings (2010–2019), used to train the component extractor and build the initial lexicon.

Results and Discussion

The automated extraction achieved a recall of 0.884 and precision of 0.670 against a manually annotated gold standard. Trend analysis quantified the massive shift toward deep learning.

Relative frequency of architectural components over time, showing the rise of deep learning (e.g., LSTM, Word Embeddings) and the decline of traditional methods.

As shown in the figure above, components like 'LSTM', 'Word Embeddings', and 'softmax' exhibited the highest positive growth slopes ($r^2 > 0.9$). Conversely, traditional linguistic preprocessing steps like 'lemmatization' and 'disambiguation' saw significant drops in relative frequency over the studied period.

The Evolution of Complexity

A key insight is that architectures are cumulative rather than purely replacement-based. Older techniques are often absorbed into newer pipelines. Furthermore, the complexity of these systems is increasing.

Box plot showing the steady increase in the number of distinct architectural components found per paper from 2012 to 2019.

The average number of distinct components mentioned per paper has risen steadily, indicating that modern NLP systems are becoming more intricate ensembles. While the deep learning pivot of 2015-2016 is evident in network graphs, traditional components like SVMs have maintained a relatively constant presence, often integrated into hybrid neural pipelines rather than being discarded.

Conclusion and Future Work

This framework provides a scalable method for tracking the "DNA" of NLP systems. While the increasing component count per paper might be partially influenced by the granularity of deep learning terminology, the trend toward higher complexity is clear. Future work will involve applying this framework to broader AI corpora and refining the analysis of component variability.

Summary updated

BibTeX
@misc{wysocki2021architectures,
  author = {Oskar Wysocki and Malina Florea and Donal Landers and André Freitas},
  title = {{Architectures of Meaning, A Systematic Corpus Analysis of NLP Systems}},
  year = {2021},
  eprint = {2107.08124},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.08124},
}
Figure