[Paper Review] Word Embeddings for the Construction Domain
This paper introduces a custom word embedding model trained on an 11M-word construction-specific corpus, demonstrating that domain-adapted embeddings outperform general-purpose Google News vectors in injury report classification tasks. Without hyperparameter tuning, the local embeddings achieve competitive or superior performance, and keyword-based compression enables an 8x speed-up with only a 10% drop in F1-score.
We introduce word vectors for the construction domain. Our vectors were obtained by running word2vec on an 11M-word corpus that we created from scratch by leveraging freely-accessible online sources of construction-related text. We first explore the embedding space and show that our vectors capture meaningful construction-specific concepts. We then evaluate the performance of our vectors against that of ones trained on a 100B-word corpus (Google News) within the framework of an injury report classification task. Without any parameter tuning, our embeddings give competitive results, and outperform the Google News vectors in many cases. Using a keyword-based compression of the reports also leads to a significant speed-up with only a limited loss in performance. We release our corpus and the data set we created for the classification task as publicly available, in the hope that they will be used by future studies for benchmarking and building on our work.
Motivation & Objective
- To develop and release a large, publicly available corpus of construction-specific text (11M words) for NLP research in the construction domain.
- To evaluate whether domain-specific word embeddings improve performance on construction NLP tasks compared to general-purpose embeddings.
- To introduce a novel, publicly shared dataset of 5,845 injury reports with 11 labeled variables for benchmarking classification and keyword extraction.
- To assess the trade-off between computational efficiency and classification accuracy using keyword-based compression of injury reports.
- To demonstrate the feasibility and advantages of using word embeddings in construction text mining, particularly for safety risk modeling and injury prediction.
Proposed method
- Constructed a 11M-word construction corpus from freely accessible online sources, including construction manuals, safety reports, and technical documents.
- Trained word2vec skip-gram model on the custom corpus using default hyperparameters to generate dense, low-dimensional word vectors (m=300).
- Evaluated embeddings using a 4-fold cross-validation setup on a novel injury report classification dataset with 11 dependent variables.
- Compared performance of custom embeddings against Google News word vectors and a bag-of-words baseline using F1-score and computation time.
- Applied keyword-based compression by selecting the 30% most highly ranked words per report using CoreRank, reducing input size and accelerating inference.
- Measured performance degradation and speed-up relative to full-text input across all classification tasks.
Experimental results
Research questions
- RQ1Can word embeddings trained on a domain-specific construction corpus capture meaningful semantic and syntactic relationships relevant to construction text?
- RQ2How do custom construction embeddings compare to general-purpose embeddings (e.g., Google News) in classifying injury reports across multiple injury-related categories?
- RQ3To what extent does keyword-based compression of injury reports reduce computational cost while preserving classification performance?
- RQ4Is there a performance advantage in using local, domain-specific embeddings over global, pre-trained embeddings in specialized construction NLP tasks?
- RQ5Can the combination of domain-specific embeddings and compressed input representations enable faster, scalable injury report classification with acceptable accuracy loss?
Key findings
- The custom 11M-word construction corpus successfully generated word embeddings that encode domain-specific concepts such as construction trades, safety terms, and equipment.
- Without any hyperparameter tuning, the custom embeddings outperformed Google News word vectors in 5 out of 11 injury classification tasks, including significant margins in 'safety violations' and 'equipment' categories.
- Keyword-based compression reduced average computation time from 9.7K to 1.1K seconds (8x speed-up) on an 8-core machine during 4-fold cross-validation.
- The performance drop due to compression was limited to approximately 10% in overall F1-score, measured across all observations.
- The Google News embeddings performed remarkably well overall, but the custom embeddings surpassed them in half of the classification tasks, indicating domain-specific knowledge is beneficial.
- Fine-tuning or pre-training on the construction corpus could further improve performance, and the current results suggest that local embeddings are advantageous in small, specialized domains.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.