TL;DR
This paper introduces "diagrammatic structuralism," a novel approach to analyze the diverse ways neural network (NN) systems are depicted in academic papers. By applying this framework to a corpus of diagrams, the authors reveal a surprising lack of standardization and identify distinct clusters of diagrammatic styles, offering a foundation for more communicative and reproducible visual representations in the field.
What Problem Does This Paper Address?
The paper tackles a significant challenge in the field of neural networks (NNs): the lack of a consistent and standardized way to visually represent NN architectures. This inconsistency leads to difficulties in understanding, comparing, and reproducing NN models and systems. While other engineering disciplines have well-established diagramming conventions, NN diagrams in academic publications are often a heterogeneous mix of arbitrary elements, leading to issues with interpretability, correctness, and dialogue. The authors argue that this lack of standardization hinders effective communication, as diagrams often present incomplete information or fail to clearly articulate the core novelty of a paper.
Methods
The authors propose and apply a novel approach called "diagrammatic structuralism," inspired by structural linguistics. This method involves a corpus-based analysis of NN diagrams from academic conference proceedings. They partition semiotics (the study of signs) into four categories: semantics (meaning), syntactics (relations between signs), pragmatics (relation between signs and users), and empirics (statistical analysis of sign usage).
Their methodology involves:
- Corpus Collection: Sampling papers from leading NLP conferences.
- Diagram Extraction: Manually extracting diagrams from these papers.
- Feature Identification: Categorizing diagrams based on "Content" (what is represented) and "Diagrammatic" features (how it's represented visually and relationally). This is inspired by Jakobson's "axis of selection" and "axis of combination."
- Quantitative Analysis: Using k-means clustering on a high-dimensional space (69 dimensions) created by these features to identify distinct clusters of diagram types.
Datasets
The paper does not introduce a new benchmark dataset. Instead, it uses a corpus of diagrams extracted from papers published in leading Natural Language Processing (NLP) conferences. Specifically, they sampled papers from COLING (2016, 2018), EMNLP (2016, 2017), NAACL (2016, 2018), and NIPS (2016, 2017). From 114 sampled papers, they manually extracted 40 diagrams for detailed analysis.
Key Insights and Ideas
- Heterogeneity is the Norm: Despite the common goal of representing NN systems, there's a striking lack of standardization in diagrammatic notations. This suggests that conventions are utilized over strict physical resemblance, making diagrams function more like symbols than pure icons.
- Focus on System, Not Transformation: The analyzed diagrams primarily focus on describing the NN system itself (layers, dimensionality, input/output) rather than the data transformations or operations occurring within it.
- Communication Gaps: The authors suggest that authors might be skewed in what they consider relevant, leading to diagrams that miss crucial context or novelty. This is exemplified by the frequent use of captions that are longer than a single sentence, implying difficulty in conveying information solely through the diagram.
- Potential for Categorization: The quantitative analysis, particularly the k-means clustering, reveals distinct clusters of NN diagram types, suggesting that while diverse, these diagrams can be meaningfully categorized. This offers a path towards understanding and potentially improving diagrammatic practices.
- Diagrams as Indices: The paper posits that NN diagrams might function more as "Peician indices" for a scholarly contribution rather than direct representations of system function or data manipulation, introducing ambiguity in identifying the diagram's true object.
Key Results
- Content Focus: In 82.5% of papers, NN diagrams were used to communicate the function of the NN, not its context, the whole system, or a specific component.
- Arrow Usage: Directional arrows were prevalent (92.5%), with dotted arrows used by 42.5%, likely for conveying functional composition.
- Caption Length: 60% of diagrams had captions over one sentence long, suggesting authors struggle to convey all necessary information visually.
- Common Elements: Ellipses (60%) were used for "incomplete sets of objects," and labels on neural layers (47.5%) were common.
- Lack of Formal Languages: None of the analyzed diagrams used formal diagrammatic languages like UML, SysML, or OML.
- Identified Diagram Classes: Through clustering and manual adjustment, the authors identified four potential NN diagram classes: Visual, Mathematical, Lightweight, and Unorthodox. They manually classified 8 Visual, 4 Mathematical, 12 Lightweight, and 16 Unorthodox diagrams.
Limitations and Future Work
- Single Annotator: The study relied on a single NN practitioner for assessment, and the authors acknowledge that having multiple annotators would be an improvement.
- Sample Size and Venue Sensitivity: Bibliometrics like citation counts were not included due to the small sample size and sensitivity to publication venue.
- Omitted Features: Despite efforts to be comprehensive, several features (e.g., color relationships, presence of keys, ambiguous syntactics) were inadvertently omitted during the feature selection process, partly due to the heterogeneity of representations.
- Future Work: The authors suggest that their classification can help structure future research. They aim to encourage increased attention on scholarly diagramming practices to help authors better fulfill their communicative intent. Further analysis could explore the impact of these different diagram types on reader comprehension and the development of more standardized visual languages for NNs.
Summary updated