AI-Based Analysis of Trunk Tapping Sounds for Urban Tree Decay Screening: A Pilot Study on Liquidambar formosana in Taiwan

In tree risk assessment, visual tree assessment (VTA) commonly involves tapping the trunk or branches to detect abnormal sounds as a basis for further assessment. However, interpreting tapping sounds typically requires extensive professional experience and may be subject to subjective judgment. Therefore, research on the classification of tapping sounds may provide valuable supplementary information for assessing local decay in trees. Tapping sounds from a tree trunk can provide cues to the local internal condition, but their classification performance must be evaluated on trees not seen during training. This study examined 30 sweetgum (Liquidambar formosana) trees at a private nursery on the outskirts of Taipei, using mallet taps recorded with a smartphone, with reference labels established by directly sawing open the trunk cross-section after sampling. Each tap point was assigned to one of three original labels—healthy (L0), mildly decayed (L1), and decayed (L2); the binary classification merged L1 and L2 into an “affected” class for comparison with the healthy class (L0), covering all 966 recordings (449 healthy, 517 affected) without excluding any measurement position. The model comparison included a support vector machine, a random forest, and extreme gradient boosting using a 611-dimensional acoustic feature vector, together with a convolutional neural network (CNN) using log-mel spectrograms, with a deeper classification head and feature fusion serving as robustness checks; all per-fold epoch budgets and decision thresholds were chosen by nested cross-validation (tree-grouped inner validation within each outer training fold), and evaluation used five-fold cross-validation grouped by tree. The four main models performed comparably, with five-fold-averaged macro-F1 between 0.6288 and 0.6548 (highest for XGBoost, lowest for the CNN) and ROC-AUC up to about 0.73; no model was decisively superior, and the deep CNN did not outperform the conventional feature-based classifiers, while neither a deeper head nor feature fusion produced a stable improvement. The fold-to-fold variation of every model exceeded its seed-to-seed variation, and all models were lowest on the same fold, indicating cross-tree generalization as the primary source of variation. Although the pooled area under the curve on the 24 mixed-label trees was comparable to that on the full dataset, the median within-tree ROC-AUC (for the RF model) was only 0.511, close to chance, indicating that the pooled metric mainly reflects between-tree differences rather than within-tree discrimination of local decay; the approach therefore cannot reliably localize decay within an individual tree. An exploratory threshold analysis showed that, because the affected class is the majority and the default threshold is already near-optimal, threshold tuning offers limited benefit. Overall, the results provide preliminary support for the feasibility of using tree-trunk tapping sounds as auxiliary information for population-level decay screening; the approach cannot yet identify decayed locations within a single tree, and validation using additional independent trees and external sites is still needed.

Authors

Institutions

Publication Details

Journal
Forests
Published
2026-10-26
DOI
https://doi.org/10.3390/f17111281
Primary Topic
Music and Audio Processing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AI-Based Analysis of Trunk Tapping Sounds for Urban Tree Decay Screening: A Pilot Study on Liquidambar formosana in Taiwan

Jia‐Kun Chen, Po‐Hsiung Lin, Tzu-I Tseng, Hung-Kai Chen
Forests
Music and Audio Processing
article

AI-Based Analysis of Trunk Tapping Sounds for Urban Tree Decay Screening: A Pilot Study on Liquidambar formosana in Taiwan

Jia‐Kun Chen, Po‐Hsiung Lin, Tzu-I Tseng, Hung-Kai Chen
article en

Abstract

In tree risk assessment, visual tree assessment (VTA) commonly involves tapping the trunk or branches to detect abnormal sounds as a basis for further assessment. However, interpreting tapping sounds typically requires extensive professional experience and may be subject to subjective judgment. Therefore, research on the classification of tapping sounds may provide valuable supplementary information for assessing local decay in trees. Tapping sounds from a tree trunk can provide cues to the local internal condition, but their classification performance must be evaluated on trees not seen during training. This study examined 30 sweetgum (Liquidambar formosana) trees at a private nursery on the outskirts of Taipei, using mallet taps recorded with a smartphone, with reference labels established by directly sawing open the trunk cross-section after sampling. Each tap point was assigned to one of three original labels—healthy (L0), mildly decayed (L1), and decayed (L2); the binary classification merged L1 and L2 into an “affected” class for comparison with the healthy class (L0), covering all 966 recordings (449 healthy, 517 affected) without excluding any measurement position. The model comparison included a support vector machine, a random forest, and extreme gradient boosting using a 611-dimensional acoustic feature vector, together with a convolutional neural network (CNN) using log-mel spectrograms, with a deeper classification head and feature fusion serving as robustness checks; all per-fold epoch budgets and decision thresholds were chosen by nested cross-validation (tree-grouped inner validation within each outer training fold), and evaluation used five-fold cross-validation grouped by tree. The four main models performed comparably, with five-fold-averaged macro-F1 between 0.6288 and 0.6548 (highest for XGBoost, lowest for the CNN) and ROC-AUC up to about 0.73; no model was decisively superior, and the deep CNN did not outperform the conventional feature-based classifiers, while neither a deeper head nor feature fusion produced a stable improvement. The fold-to-fold variation of every model exceeded its seed-to-seed variation, and all models were lowest on the same fold, indicating cross-tree generalization as the primary source of variation. Although the pooled area under the curve on the 24 mixed-label trees was comparable to that on the full dataset, the median within-tree ROC-AUC (for the RF model) was only 0.511, close to chance, indicating that the pooled metric mainly reflects between-tree differences rather than within-tree discrimination of local decay; the approach therefore cannot reliably localize decay within an individual tree. An exploratory threshold analysis showed that, because the affected class is the majority and the default threshold is already near-optimal, threshold tuning offers limited benefit. Overall, the results provide preliminary support for the feasibility of using tree-trunk tapping sounds as auxiliary information for population-level decay screening; the approach cannot yet identify decayed locations within a single tree, and validation using additional independent trees and external sites is still needed.

ForestsVol. 17(11)
National Taiwan University (TW), National Taipei University of Nursing and Health Science (TW), National Center for High-Performance Computing (TW), National Institutes of Applied Research (TW), National Taipei University (TW)
Openalex Percentile: Top 13%
Music and Audio Processing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon