Revealing the Technology Development of Natural Language Processing: A Scientific Entity-Centric Perspective
Dataset and source code for paper "Revealing the Technology Development of Natural Language Processing: A Scientific Entity-Centric Perspective".
This study analyzes the technology development of the NLP field from a scientific entity perspective. Our work includes the followig aspects:
- We utilize pre-trained language models to identify technology-related entities. Additionally, we have developed a semi-supervised data augmentation technique to increase the number of training samples and improve the model's robustness. This approach has been demonstrated to enhance entity recognition accuracy, achieving an F1 score of 87.00 for the final model.
- We have developed a semi-automated approach to normalize entities extracted from papers, then randomly sample entity pairs for human judgment on whether they refer to the same entity, achieving a precision of 91.30.
- Considering that researchers often combine different methods to address a research problem, we measure the impact of technology-related entities by constructing co-occurrence networks of them and computing their z-scores.
- After completing the above preparation work, we analyze the annual changes in the number of entities, the situation of high-impact new entities, and the variations in the popularity degree and speed of top entities.
- We count the number of new entities in NLP from 2001 to 2022, as depicted in Figure 1. We calculate the average number of new entities by dividing the total number of new entities each year by the number of papers published in that year. We depicte this information in the form of a bar graph on Figure 1, with the values aligned with the scale on the right y-axis.
- Since 2018, there has been a significant increase in the number of new entities, and each subsequent year has seen a much larger number of new entities than before 2018. Large-scale pre-trained models were introduced into the field of NLP around 2018, and their performance surpassed that of previous models.
- One factor that cannot be ignored in the growth of new entities is the significant increase in the number of NLP academic papers published in 2018 and beyond. However, upon examining the average number of new entities, it has been found to be higher since 2018 than before. So, we can to some extent control the impact of the growth in the papers number and confirm that pre-trained language models have injected new vitality into the technological innovation of the NLP field.
- We plotted Figure 2 to examine the z-score evolution of the top 10 entities with the highest impact after their introduction into the NLP domain. It reveals that pre-trained language models, exemplified by BERT and Transformer, have become mainstream in recent years. Unlike the impact evolution patterns of the other eight method entities, the impact of Wikipedia dataset and BLEU metric has continued to rise in the long term.
- We accumulate the z-scores of the top 100 high-impact new entities in different periods. As shown in Figure 3, in recent years, the popularity of high-impact new technologies has far surpassed that of the past.
- The average time for new entities to reach a z-score>2.5 for different periods is presented in Figure 4. We can observe that the time required for top new entities to attain high impact is decreasing over time. The popularity speed of high-impact new entities is accelerating.
technology_development Root directory ├── Code Source code folder │ ├── entity-normalization.ipynb Source code for entity normalization │ ├── ner-base.py Source code for baseline models │ ├── ner-cascade.py Source code for the SciBERT+BiLSTM(cascade) model │ └── z-score_calculation.ipynb Source code for calculating impact of entities ├── Dataset Dataset folder │ ├── mapping-list.txt "abbreviation-full name" mapping dictionary for entities │ ├── mdmt.parquet Our annotated dataset │ ├── paper-ents.parquet Extracted entities of papers │ ├── pid2conf.txt Dictionary of paper_id to its conference │ ├── remove-words.txt Words with little semantic contribution │ ├── scierc.parquet Open dataset SciERC │ ├── tdm.parquet Open dataset TDM │ └── top-ents.csv Full list of high-impact entities └── README.md
This study encompasses three datasets: our self-annotated dataset and two open datasets, namely SciERC and TDM.
-
./Dataset/mdmt.parquetParquet format. Our self-annotated dataset. As further research is required, we make available a portion of the data which includes 500 training samples, 100 validation samples, 100 test samples, and 2493 samples of data augmentation.This dataset comprises three fields, namely 'word', 'label', and 'type'. The field 'type' is used to differentiate the trainset, validset, and testset. The entities we annotated consist of four types: method, dataset, metric, and tool.'word': ['According', 'to', 'Chen', 'et', 'al', '.', '(', '2016', ')', ',', 'Bilinear', 'outperforms', 'multi-layer', 'forward', 'neural', 'networks', 'in', 'relevance', 'measurement', '.']'label': ['O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'O', 'S-Method', 'O', 'B-Method', 'I-Method', 'I-Method', 'E-Method', 'O', 'O', 'O', 'O']'type': 'train' -
./Dataset/scierc.parquetThe open dataset SciERC, consists of six entity types, namely, Task, Method, Metric, Material, Other-ScientificTerm, and Generic. In total, it contains 2687 sentences. We additionally generated 1861 sentences using semi-supervised data augmentation techniques based on the training set. -
./Dataset/tdm.parquetThe open dataset TDM, defining three types of entities: Task, Dataset, and Metric. In total, it contains 2010 sentences. We additionally generated 1371 sentences using semi-supervised data augmentation techniques based on the training set.
-
Technology-related entity recognition
python ./Code/ner-cascade.pyExecute this command to run our best model: SciBERT+BiLSTM(cascade).python ./Code/ner-base.pyExecute this command to run baseline models. Please utilize various pre-trained models by configuring the parameters in theConfigclass.
-
Entity normalization
./Code/entity-normalization.ipynbExecute the program step by step in a Jupyter Notebook. Normalizing entities based on edit distance similarity and hierarchical clustering. The relevant resources can be found in theDatasetfolder.- A total of 534,500 entities were extracted, and the number of entities after normalization was 268,392. Subsequently, we filtered out entities with an annual frequency of less than 5, and ultimately obtained 37,624 valid technology-related entities. Each valid entity corresponds to a cluster in the clustering result. To verify the effectiveness of entity normalization, we randomly selected 1000 pairs of entities from these entity clusters and manually judged whether they belonged to the same entity. The precision metric, calculated based on the human reviews and the normalization results, was 91.30.
-
z-score calculation
./Code/z-score_calculation.ipynbExecute the program step by step in a Jupyter Notebook. After completing entity normalization, the co-occurrence networks are constructed based on papers for each year, and the z-scores of entities are calculated to measure their impact.The relevant resources can be found in theDatasetfolder.
- Evaluation of models on our annotated dataset
| Model | P | R | F1 |
|---|---|---|---|
| BERT | 83.64 | 85.92 | 84.77 |
| BERT+CRF | 84.10 | 84.45 | 84.28 |
| RoBERTa | 85.84 | 81.51 | 83.62 |
| RoBERTa+CRF | 83.86 | 82.98 | 83.42 |
| T5 | 84.41 | 85.29 | 84.85 |
| T5+ CRF | 85.08 | 85.08 | 85.08 |
| SciBERT | 85.95 | 86.13 | 86.04 |
| SciBERT+CRF | 83.53 | 87.39 | 85.42 |
| SciBERT+BiLSTM (cascade) | 86.22 | 86.76 | 86.49 |
| SciBERT+BiLSTM (cascade)+data_aug | 86.82 | 87.18 | 87.00 |
- Evaluation on SciERC and TDM dataset
| Dataset | Authors | Model | P | R | F1 |
| SciERC | Luan et al. (2018) | SCIIE | 67.2 | 61.5 | 64.2 |
| Zhong and Chen (2021) | PURE | 68.9 | |||
| Eberts and Ulges (2021) | SpERT | 70.87 | 69.79 | 70.33 | |
| Zaratiana et al. (2022) | Hierarchical Transformer | 67.99 | 74.11 | 70.91 | |
| Our | SciBERT+BiLSTM (cascade)+data_aug | 66.95 | 71.49 | 69.14 | |
| TDM | Hou et al. (2021) | SCIIE | 67.17 | 58.27 | 62.4 |
| Zaratiana et al. (2022) | Hierarchical Transformer | 65.56 | 70.21 | 67.81 | |
| Our | SciBERT+BiLSTM (cascade)+data_aug | 68.84 | 70.73 | 69.77 |
Entities with z-scores exceeding 2.5 are defined as high-impact technology-related entities. Since 2001, 179 high-impac new entities have emerged in the NLP field, and their complete list can be found in the file ./Dataset/top-ents.csv.
- The top 5 entities for each type are as follows:
| Type | Entity | z-score | Type | Entity | z-score |
| Method | BERT | 43.3138 | Metric | BLEU | 15.9303 |
| Transformer | 34.6696 | Cross-Entropy | 13.1292 | ||
| LSTM | 28.8231 | ROUGE | 7.8905 | ||
| Attention Mechanism | 26.2604 | Fluency | 6.9009 | ||
| Adam | 20.3561 | Standard Deviation | 6.1762 | ||
| Dataset | Wikipedia | 17.4187 | Tool | PyTorch | 6.1565 |
| MNLI | 6.7163 | MOSES | 5.3327 | ||
| SQuAD | 5.783 | GIZA++ | 5.2089 | ||
| 5.3056 | TensorFlow | 3.563 | |||
| SST-2 | 5.2605 | Stanford Parser | 3.2967 |
System environment is set up according to the following configuration:
- pytorch 2.0.1
- transformers 4.28.1
- pandas 2.0.0
- pytorch-crf 0.7.2
- tqdm 4.65.0
- loguru 0.7.0
- fasttext 0.9.2
- flashtext 2.7
- nltk 3.8.1
- thefuzz 0.19.0
- numpy 1.24.1
Please cite the following paper if you use this code and dataset in your work.
Heng Zhang, Chengzhi Zhang*, Yuzhuo Wang. Revealing the Technology Development of Natural Language Processing: A Scientific Entity-Centric Perspective. Information Processing and Management, 2024, 61(1): 103574. [doi] [Dataset & Source Code]



