Research on Technical Condition of Concrete Bridges Based on FastText+CNN
Abstract
1. Introduction
2. FastText+CNN Model Principles and Implementation
2.1. Basic Principles of FastText
2.1.1. N-Gram Language Model
2.1.2. Hierarchical Softmax
2.2. CNN Role in Feature Extraction
2.3. FastText+CNN Model Architecture
3. Bridge Technical-Condition Data Construction and Experimental Design
3.1. Dataset Preparation
3.2. Comparative Models and Experimental Protocol
4. Results and Discussion
4.1. Analysis of Three Model Training Results
4.2. Validation Results with Real-Bridge Data
4.3. Empirical Analysis of the Stability of the Evaluation Method
4.4. Discussion
5. Conclusions
- (1)
- Using the analytic hierarchy process to construct bridge condition calculation codes generated balanced training datasets containing Class 1–5 bridges. This effectively resolves the insufficient generalization capability of machine-learning models caused by scarce Class 3–4 bridge data in practical engineering, providing reliable data support for infrastructure assessment under small-sample conditions.
- (2)
- The proposed FastText+CNN hybrid model transforms bridge-scaling matrices into text-like sequences through n-gram feature reconstruction, achieving deep feature extraction via single-layer convolutional networks [37]. This design significantly enhances latent defect pattern recognition while preserving FastText’s semantic advantages, achieving 92. 4% test accuracy—outperforming traditional Random Forest and CNN models.
- (3)
- Compared with traditional manual evaluation methods, the FastText+CNN model eliminates subjective biases caused by human experience variations and identifies latent defect combination patterns undetectable by manual inspection.
- (4)
- Engineering Practice Effectiveness: In validation tests using data from 30 actual bridges in Shanxi Province, the model achieved an accuracy rate of 92.3%, representing improvements of 7.2% and 3.1% over Random Forest and CNN models, respectively. This research establishes a novel ‘feature semanticization + lightweight deep learning’ evaluation framework, providing a technically innovative and practically viable solution for whole-life-cycle bridge maintenance.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Appendix A
Appendix A.1. Overview of the Basic Situation of Yanshigou Bridge

Appendix A.2. Bridge Diseases
Appendix A.2.1. Bridge Deck, Guardrail, and Sidewalk Diseases

Appendix A.2.2. Telescopic Device

Appendix A.2.3. Bridge Road Connection Part
Appendix A.2.4. Diseases of Superstructure


Appendix A.2.5. Diseases of Substructure

Appendix A.2.6. Diseases of Subsidiary Structural



References
- Ministry of Transport of the People’s Republic of China. 2022 Statistical Report on the Development of the Transport Industry. China Transportation News, 16 June 2023; p. 002. [Google Scholar] [CrossRef]
- Bao, Y.Q.; Li, H. Artificial Intelligence for Civil Engineering. China Civ. Eng. J. 2020, 53, 25–31. [Google Scholar] [CrossRef]
- Jing, Q.; Zheng, S.C.; Liang, P.; Wang, J.F. Technologies and Engineering Practices of Intelligent Operation and Maintenance of Hong Kong-Zhuhai-Macao Bridge. China J. Highway. Transp. 2023, 36, 143–156. [Google Scholar] [CrossRef]
- Zhao, R.; Tian, Z.; Song, Y. Research on safety risk intelligent assessment model of in-service small and medium-span bridges based on BWM+BP neural network. World Bridge 2025, 5, 97–104. Available online: http://kns.cnki.net/kcms/detail/42.1681.U.20250609.0916.022.html (accessed on 30 September 2025).
- JTG/T H21-2011; Technical Condition Assessment Standard for Highway Bridges. Ministry of Transport of the People’s Republic of China: Beijing, China, 2011.
- Zhang, J.Q.; Liu, Y.; Shen, Q.; Bi, S.S.; Wen, J.J. Analysis on Bridge Technical Condition Evaluation Methods of USA, Japan and UK. J. Highway. Transp. Res. Dev. 2022, 39, 75–83. [Google Scholar]
- Zong, J.; Wu, Z.; Wang, J.; Liang, S.; Zhang, Y.; Wang, S. Research on culvert joint types and joint treatment measures. Sci. Technol. Innov. Appl. 2025, 15, 133–137+141. [Google Scholar] [CrossRef]
- Liu, J.; Ding, J.; Song, R.R.; He, S.L. Performance Assessment for the Existing Bridge Based on Design Performance Status. J. Shihezi Univ. (Nat. Sci. Ed.) 2021, 39, 307–312. [Google Scholar] [CrossRef]
- Liu, H.G.; Feng, L. Research on Bridge Technical Condition Evaluation Based on Time Series Data and Grey Theory. Technol. Highway. Transp. 2021, 37, 108–114. [Google Scholar] [CrossRef]
- Lu, X.; Wei, K.; Tang, X.; Hu, Z. Functional recovery model and resilience assessment of bridge after earthquake considering component repair sequence. China J. Highw. Transp. 2025, 38, 49–60. Available online: http://kns.cnki.net/kcms/detail/61.1313.U.20250421.1532.002.html (accessed on 22 April 2025).
- Guo, X.; Xu, K.; Shi, X.; Sun, E. Safety evaluation of bridge state based on set-valued statistics-gray fuzzy theory. Ind. Saf. Environ. Prot. 2020, 46, 31–35. [Google Scholar]
- Potenza, F.; Rinaldi, C.; Ottaviano, E.; Gattulli, V. A robotics and computer-aided procedure for defect evaluation in bridge inspection. J. Civ. Struct. Health Monit. 2020, 10, 471–484. [Google Scholar] [CrossRef]
- Garbowski, T.; Cornaggia, A.; Zaborowicz, M.; Sowa, S. Computer-Aided Structural Diagnosis of Bridges Using Combinations of Static and Dynamic Tests: A Preliminary Investigation. Materials 2023, 16, 7512. [Google Scholar] [CrossRef]
- Di Prisco, M.; Scola, M.; Zani, G. On site assessment of Azzone Visconti bridge in Lecco: Limits and reliability of current techniques. Constr. Build. Mater. 2019, 209, 269–282. [Google Scholar] [CrossRef]
- Zhang, Y.; Huang, Y.Y.; Ren, C.F.; He, T.; Ma, X.; Liang, P. Multi-stage degradation model of bridge technical condition based on inspection and evaluation big data. Highway 2018, 63, 87–91. [Google Scholar]
- Qiao, P.; Liang, Z.Q.; Xu, K.; Zhong, C.; Qin, F. Evaluation of Technical Condition of Medium and Small-Span Bridge Based on Machine Learning. J. Chang’an Univ. (Nat. Sci. Ed.) 2021, 41, 39–52. [Google Scholar] [CrossRef]
- Wang, L.; Chen, R.; Dai, L.; Tu, Y. Multi-objective Maintenance Optimization Strategy for Bridge Networks Oriented to Low-carbon. China J. Highw. Transp. 2024, 37, 188–200. [Google Scholar] [CrossRef]
- Gao, Z.; Gao, L. Bridge resistance degradation model and reliability prediction based on inverse Gaussian process and Bayesian update. Hunan Transp. Sci. Technol. 2025, 51, 183–187. Available online: http://kns.cnki.net/kcms/detail/43.1193.U.20250617.1120.002.html (accessed on 30 September 2025).
- Zhong, Z.; Tang, C. A Framework for Intelligent Management and Maintenance of Bridges Based on Big Data. J. Civ. Eng. 2025, 58, 69–79. [Google Scholar] [CrossRef]
- Crognale, M.; De Iuliis, M.; Rinaldi, C.; Gattulli, V. Damage detection with image processing: A comparative study. Earthq. Eng. Eng. Vib. 2023, 22, 333–345. [Google Scholar] [CrossRef]
- Zhu, Z.; Ye, K.; Yu, X.; Lin, Z.; Xu, G.; Guo, Z.; Lu, S.; Nie, B.; Chen, H. State-Based Technical Condition Assessment and Prediction of Concrete Box Girder Bridges. Buildings 2024, 14, 543. [Google Scholar] [CrossRef]
- Haq, M.A. CNN Based Automated Weed Detection System Using UAV Imagery. Comput. Syst. Sci. Eng. 2022, 42, 837–849. [Google Scholar] [CrossRef]
- Bhatt, D.; Patel, C.; Talsania, H.; Patel, J.; Vaghela, R.; Pandya, S.; Modi, K.; Ghayvat, H. CNN Variants for Computer Vision: History, Architecture, Application, Challenges and Future Scope. Electronics 2021, 10, 2470. [Google Scholar] [CrossRef]
- Raza, A.; Uddin, J.; Almuhaimeed, A.; Akbar, S.; Zou, Q.; Ahmad, A. Aips-sntcn: Predicting anti-inflammatory peptides using fasttext and transformer encoder-based hybrid word embedding with self-normalized temporal convolutional networks. J. Chem. Inf. Model. 2023, 63, 6537–6554. [Google Scholar] [CrossRef]
- Hashmi, E.; Yayilgan, S.Y.; Yamin, M.M.; Ali, S.; Abomhara, M. Advancing Fake News Detection: Hybrid Deep Learning with FastText and Explainable AI. IEEE Access 2024, 12, 44462–44480. [Google Scholar] [CrossRef]
- Choi, J.K.; Lee, S.W. Improving FastText with Inverse Document Frequency of Subwords. Pattern Recognit. Lett. 2020, 133, 165–172. [Google Scholar] [CrossRef]
- Kralicek, J.; Matas, J. Fast Text vs. Non-Text Classification of Images. In Computer Vision–ACCV 2020 Workshops; Springer: Cham, Switzerland, 2021; pp. 20–35. [Google Scholar] [CrossRef]
- Noor, N.S.; Hammood, D.A.; Al-Naji, A.; Chahl, J.A. A Fast Text-to-Image Encryption-Decryption Algorithm for Secure Network Communication. Computers 2022, 11, 39. [Google Scholar] [CrossRef]
- Cheng, Y.; Xia, Q.Y. An analysis of the general technical condition of bridges during their service life Rating. Highway 2010, 220–223. [Google Scholar]
- dos Santos, A.P.; da Silva Junior, A.X.; Nery, L.M.; Gomes, G.; Toniolo, B.P.; da-Cunha-e-Silva, D.C.; Lourenço, R.W. Random Forest Algorithm Applied to Model Soil Textural Classification in a River Basin. Environ. Monit. Assess. 2025, 197, 13786. [Google Scholar] [CrossRef]
- Xu, Q.; Yang, F.; Hu, S.; He, X.; Hong, Y. Tree Height-Diameter Model of Natural Coniferous and Broad-Leaved Mixed Forests Based on Random Forest Method and Nonlinear Mixed-Effects Method in Jilin Province. Forests 2024, 15, 1922. [Google Scholar] [CrossRef]
- Huang, R.; Ding, J.; Ren, Z.; Li, Y.; Lai, X.; Chen, J.; You, H. Research on the Segmentation of Individual Trees and the Extraction of Structural Parameters in Eucalyptus Plantations Based on a TEMA Mask R-CNN Model. Remote Sens. 2025, in press. [Google Scholar] [CrossRef]
- Jing, H.; Tian, S.; Tian, G.; Yan, Y.; Wei, X. Early Prediction of Battery Lifetime for Lithium-Ion Batteries Based on a Hybrid Clustered CNN Model. Energy 2025, 319, 134992. [Google Scholar] [CrossRef]
- Mestry, S.; Singh, H.; Chauhan, R.; Bisht, V.; Tiwari, K. Automation in Social Networking Comments with the Help of Robust fastText and CNN. In Proceedings of the 2020 1st International Conference on Innovations in Information and Communication Technology (ICIICT), Chennai, India, 25–26 April 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 1–4. [Google Scholar] [CrossRef]
- Wang, J.; Wu, X.; Chen, S.; Qin, H.; Zhang, Y. Technical condition assessment of concrete girder bridges based on AHP-TFN. J. Chang. Polytech. 2023, 40, 9–13+68. [Google Scholar] [CrossRef]
- Khasanah, I.N. Sentiment Classification Using fastText Embedding and Deep Learning Model. Procedia Comput. Sci. 2021, 189, 343–350. [Google Scholar] [CrossRef]
- Haffar, N.; Zrigui, M. A Synergistic Bidirectional LSTM and N-gram Multi-channel CNN Approach Based on BERT and FastText for Arabic Event Identification. ACM Trans. Asian Low-Resour. Lang. Inf. Process. 2023, 22, 27. [Google Scholar] [CrossRef]








| Technical Condition Assessment Scale | Description of Bridge Technical Conditions |
|---|---|
| 1 type | New state, function in good condition or good function, materials have mild defects, pollution, etc. |
| 2 types | Medium defect or contamination |
| 3 types | The material has serious defects, and the function is reduced. Further deterioration will not be conducive to the main components and affect normal traffic. |
| 4 types | Materials have serious defects, loss of function should be reduced, seriously affect normal traffic or there is no original setting, and the survey needs to be supplemented. |
| Parameter | Optimized Scope |
|---|---|
| Number of decision trees | (103,000) |
| Maximum depth of decision tree | (10,100) |
| The minimum number of samples required for internal node splitting | (1100) |
| The minimum number of samples required for leaf nodes | (1100) |
| Candidate ways of feature selection | [‘sqrt’, ‘log2’], |
| Whether to enable self-sampling | [True, False] |
| The standard of segmentation features | [‘gini’, ‘entropy’] |
| Evaluation Index | Random Forest | CNN (Three Layers) | FastText+CNN |
|---|---|---|---|
| Training set accuracy | 89.2% | 95.1% | 97.8% |
| Accuracy of test set | 76.5% | 88.7% | 92.4% |
| Cross-entropy loss (training set ) | 0. 63 | 0.32 | 0.18 |
| Cross-entropy loss (test set ) | 1.07 | 0.55 | 0.36 |
| Over-fitting degree () | +0.44 | +0.23 | +0.18 |
| Average identification of 3–5 types of bridges | 0.53 | 0.74 | 0.85 |
| Model | Test Set Accuracy/% | Training Time/min | Peak Memory |
|---|---|---|---|
| FastText+CNN | 92.3 | 13 | 45 GB |
| Random Forest | 85.1 | 14 | 32 GB |
| CNN (three layers) | 89.2 | 12 | 18 GB |
| Floor System Diseases | |||
| A Bridge deck pavement: no obvious adverse disease | |||
| B Road and bridge connection part: no obvious bad disease | |||
| C Guardrails and sidewalks: no obvious adverse disease | |||
| D Expansion device: expansion joints have problems such as anchorage zone defects, transverse cracks, miscellaneous soil filling, and so on | |||
![]() | ![]() | ||
| Cracks and spalling areas of concrete in anchorage zone is less than 10%. | Expansion joint miscellaneous soil filling and cracks caused unevenness; the difference is less than 1 cm. | ||
| Upper structure disease | |||
| A Main beam: There are problems such as longitudinal cracks, peeling off angles, and empty holes. | |||
![]() Longitudinal crack width < 5 mm. | ![]() Flaking off angle, area < 0.5 m2. | ![]() Holes and holes. | |
| B Bridge deck: There are problems such as honeycomb surface, peeling-off angle, water seepage, and transverse cracks in wet joints. | |||
| C Diaphragm: There are problems such as peeling-off corners, empty holes, and mesh cracks. | |||
| D Bearing: There is a void phenomenon, and the right bearing has problems such as aging, deterioration, and cracking. | |||
| Substructure disease | |||
| A Pier or abutment: pier and cap are basically intact | |||
| B Pier foundation: The pier foundation has no obvious disease. | |||
| Subsidiary structural disease | |||
| A Drainage system: water pipe, water tank: flawed | |||
| B Wing wall, ear wall: no obvious disease | |||
| C Cone slope, slope protection: no obvious disease | |||
| D Other Auxiliary Facilities: no obvious adverse disease | |||
| Model | Advantage | Inferiority |
|---|---|---|
| Random Forest | (1) No feature standardization; (2) strong anti-overfitting ability; (3) high interpretability (feature importance ranking). | (1) It is difficult to capture the nonlinear relationship between features; (2) high-dimensional sparse data is inefficient; (3) cross-entropy loss cannot be directly optimized. |
| CNN (three layers) | (1) Automatic extraction of local features; (2) end-to-end training support; (3) gradient stability when optimizing cross-entropy loss. | (1) Input needs fixed dimensions; (2) hyper-parameter sensitivity (convolution kernel size, number of layers); (3) ability of feature combination modeling is limited. |
| FastText +CNN | (1) Explicit modeling feature combination (N-Gram embedding); (2) joint optimization of cross-entropy loss to improve minority class recognition; (3) adaptation to high-dimensional sparse input. | (1) High computational complexity (large number of embedded matrix parameters); (2) embedded layer needs to be pre-trained; (3) large computing resource consumption. |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Li, S.; Deng, Z.; Wang, J.; Wu, X.; Feng, Q. Research on Technical Condition of Concrete Bridges Based on FastText+CNN. Appl. Sci. 2025, 15, 12386. https://doi.org/10.3390/app152312386
Li S, Deng Z, Wang J, Wu X, Feng Q. Research on Technical Condition of Concrete Bridges Based on FastText+CNN. Applied Sciences. 2025; 15(23):12386. https://doi.org/10.3390/app152312386
Chicago/Turabian StyleLi, Shiwen, Zhihai Deng, Junguang Wang, Xiaoguang Wu, and Qingyuan Feng. 2025. "Research on Technical Condition of Concrete Bridges Based on FastText+CNN" Applied Sciences 15, no. 23: 12386. https://doi.org/10.3390/app152312386
APA StyleLi, S., Deng, Z., Wang, J., Wu, X., & Feng, Q. (2025). Research on Technical Condition of Concrete Bridges Based on FastText+CNN. Applied Sciences, 15(23), 12386. https://doi.org/10.3390/app152312386






