應用物件偵測與機器學習於高精度交通量與噪音之預測模型
High Temporal Resolution Models for Traffic Volume and Noise Prediction Using Object Detection and Machine Learning
摘要
背景: 交通噪音是都市環境中嚴重的公共衛生威脅。傳統噪音預測模型多依賴大時間尺度(如日或小時),無法觀察微觀的瞬間高分貝衝擊。同時欲精確預測噪音數值,大範圍且高密度混合的車流監測為重要之資訊車流動態特徵,但因傳統車流量技術設備價格高昂,所以本土上缺乏高時間解析度且融合車流量數據之噪音預測模型。
目標: 本研究旨在建構一套低成本、5分鐘的高時間解析度交通噪音蒐集與預測系統,評估多種機器學習與深度學習模型之效能,並導入集成學習(Ensemble Learning)與可解釋性人工智慧技術,以精確捕捉並解析微觀交通特徵對環境噪音的動態影響。
方法: 本研究資料蒐集自2025年4月16日至2025年5月28日,於新北市林口區與桃園市龜山區佈建68個低成本微型感測器(EcoDecibel)與微型密錄器,蒐集日間交通與噪音影像。並運用 YOLO物件偵測技術進行影像辨識,分別計數四類車種(汽車、機車、卡車、公車)的5分鐘動態流量。研究設計分成三階段執行:首先評估8種演算法(ARIMA、SVR、RF、XGB、RNN、LSTM、GRU、1D-CNN)在純時間特徵的表現;接著用相同的演算法加入交通特徵比較前後差異,使用四種集成學習策略(簡單平均、殘差提升、混合法、層疊法)進行二次優化,最後利用 SHAP 演算法量化解析模型特徵貢獻度。
結果: 實驗結果顯示,加入四類車種動態流量後,所有模型的預測精度皆顯著提升,R2 普遍從 0.43–0.70提高至 0.78–0.88 區間,並有效修正了純時間模型在午後產生的系統性低估現象。在單一預測模型中,隨機森林 (RF) 表現最佳(R2 = 0.886; RMSE = 2.303 dBA);在集成學習中,則以殘差提升法 (Boosting) 的表現最優(R2 = 0.886;MAE = 1.597 dBA)。最後SHAP分析證實,時間特徵以及機車、汽車的流量是驅動微觀噪音波動的最核心因子,其影響力高於靜態的道路類型。
結論:本研究結合低成本感測器與物件辨識技術,突破傳統連續監測站的空間限制。且動態微觀車種流量的導入能大幅提升噪音預測精度,同時樹狀集成模型在處理高頻、非線性噪音數據時展現出最佳的精準度與成本效益。
目標: 本研究旨在建構一套低成本、5分鐘的高時間解析度交通噪音蒐集與預測系統,評估多種機器學習與深度學習模型之效能,並導入集成學習(Ensemble Learning)與可解釋性人工智慧技術,以精確捕捉並解析微觀交通特徵對環境噪音的動態影響。
方法: 本研究資料蒐集自2025年4月16日至2025年5月28日,於新北市林口區與桃園市龜山區佈建68個低成本微型感測器(EcoDecibel)與微型密錄器,蒐集日間交通與噪音影像。並運用 YOLO物件偵測技術進行影像辨識,分別計數四類車種(汽車、機車、卡車、公車)的5分鐘動態流量。研究設計分成三階段執行:首先評估8種演算法(ARIMA、SVR、RF、XGB、RNN、LSTM、GRU、1D-CNN)在純時間特徵的表現;接著用相同的演算法加入交通特徵比較前後差異,使用四種集成學習策略(簡單平均、殘差提升、混合法、層疊法)進行二次優化,最後利用 SHAP 演算法量化解析模型特徵貢獻度。
結果: 實驗結果顯示,加入四類車種動態流量後,所有模型的預測精度皆顯著提升,R2 普遍從 0.43–0.70提高至 0.78–0.88 區間,並有效修正了純時間模型在午後產生的系統性低估現象。在單一預測模型中,隨機森林 (RF) 表現最佳(R2 = 0.886; RMSE = 2.303 dBA);在集成學習中,則以殘差提升法 (Boosting) 的表現最優(R2 = 0.886;MAE = 1.597 dBA)。最後SHAP分析證實,時間特徵以及機車、汽車的流量是驅動微觀噪音波動的最核心因子,其影響力高於靜態的道路類型。
結論:本研究結合低成本感測器與物件辨識技術,突破傳統連續監測站的空間限制。且動態微觀車種流量的導入能大幅提升噪音預測精度,同時樹狀集成模型在處理高頻、非線性噪音數據時展現出最佳的精準度與成本效益。
Background: Traffic noise poses a severe public health threat in urban environments. Traditional noise prediction models mostly rely on large time scales (e.g., daily or hourly) and fail to capture micro-level, instantaneous high-decibel impacts. Moreover, they require expensive measurement equipment and lack the ability to capture the dynamic characteristics of the widespread, high-density mixed traffic flow unique to Taiwan.
Objective: This study aims to construct a cost-effective, as well as high-temporal-resolution (5-minute scale) traffic noise collection and prediction system. It evaluates the performance of various machine learning and deep learning models. By incorporating ensemble learning and explainable artificial intelligence (XAI) techniques, this study is anticipated to accurately capture the dynamic impact of traffic features on environmental noise at the micro level.
Methods: In 2025, from April 16 to May 28, a total of 68 low-cost noise sensors (i.e., EcoDecibel) and portable cameras were deployed in Linkou District (New Taipei City) and Guishan District (Taoyuan City) to collect daytime noise and traffic information. YOLO, an object-detection algorithm, was utilized to calculate various traffic volumes (cars, motorcycles, trucks, and buses) based on a 5-minute interval. I first evaluated model performance that purely included the time stamp as the predictor using 8 algorithms (ARIMA, SVR, RF, XGB, RNN, LSTM, GRU, 1D-CNN). Traffic volume features were further incorporated into the algorithms to assess improvements in model prediction, followed by implementing 4 ensemble learning strategies (Simple Average, Boosting, Blending, and Stacking) for secondary optimization. Lastly, the SHAP values were calculated to identify the major factors contributing to noise levels.
Results: Results showed that after incorporating the dynamic traffic volumes, the prediction accuracy of 8 algorithms improved significantly, with R2 generally increasing from 0.43–0.70 to the 0.78–0.88 range. In the meantime, the underestimation bias of the afternoon noise level was significantly corrected. Random Forest (RF) model (R2 = 0.886, RMSE = 2.303 dBA) outperformed other algorithms; As for the ensemble learning methods, Boosting demonstrated optimal performance (R2 = 0.886, MAE = 1.597 dBA). Finally, SHAP analysis confirmed that the timestamp feature and traffic volumes (i.e., motorcycles and cars) were the dominant driving factors for noise variation, exerting a greater influence than static road types.
Conclusion: By combining low-cost sensors with computer vision recognition technology, this study breaks through the existing limitation of traditional approaches. The incorporation of dynamic and micro-level traffic information significantly enhances noise prediction. Furthermore, tree-based ensemble models demonstrate the optimized model precision and cost-effectiveness when handling with noise data with high variation and unpredictability.
Objective: This study aims to construct a cost-effective, as well as high-temporal-resolution (5-minute scale) traffic noise collection and prediction system. It evaluates the performance of various machine learning and deep learning models. By incorporating ensemble learning and explainable artificial intelligence (XAI) techniques, this study is anticipated to accurately capture the dynamic impact of traffic features on environmental noise at the micro level.
Methods: In 2025, from April 16 to May 28, a total of 68 low-cost noise sensors (i.e., EcoDecibel) and portable cameras were deployed in Linkou District (New Taipei City) and Guishan District (Taoyuan City) to collect daytime noise and traffic information. YOLO, an object-detection algorithm, was utilized to calculate various traffic volumes (cars, motorcycles, trucks, and buses) based on a 5-minute interval. I first evaluated model performance that purely included the time stamp as the predictor using 8 algorithms (ARIMA, SVR, RF, XGB, RNN, LSTM, GRU, 1D-CNN). Traffic volume features were further incorporated into the algorithms to assess improvements in model prediction, followed by implementing 4 ensemble learning strategies (Simple Average, Boosting, Blending, and Stacking) for secondary optimization. Lastly, the SHAP values were calculated to identify the major factors contributing to noise levels.
Results: Results showed that after incorporating the dynamic traffic volumes, the prediction accuracy of 8 algorithms improved significantly, with R2 generally increasing from 0.43–0.70 to the 0.78–0.88 range. In the meantime, the underestimation bias of the afternoon noise level was significantly corrected. Random Forest (RF) model (R2 = 0.886, RMSE = 2.303 dBA) outperformed other algorithms; As for the ensemble learning methods, Boosting demonstrated optimal performance (R2 = 0.886, MAE = 1.597 dBA). Finally, SHAP analysis confirmed that the timestamp feature and traffic volumes (i.e., motorcycles and cars) were the dominant driving factors for noise variation, exerting a greater influence than static road types.
Conclusion: By combining low-cost sensors with computer vision recognition technology, this study breaks through the existing limitation of traditional approaches. The incorporation of dynamic and micro-level traffic information significantly enhances noise prediction. Furthermore, tree-based ensemble models demonstrate the optimized model precision and cost-effectiveness when handling with noise data with high variation and unpredictability.