HUNG RUEI-JAN

Prof. HUNG RUEI-JAN

orcid

Research Focus & Metrics

Academic Career Length

1Year (2026-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
18 February 2026 in Electronics
Verified
Journal Article
Open access
PDF file
HRHUNG RUEI-JAN
HUNG RUEI-JAN
City-scale forecasting is essential for both electric-vehicle (EV) charging operations (e.g., peak management and resource allocation) and urban mobility management (e.g., road-network flow monitoring and incident response). Spatio-temporal graph neural networks (STGNNs) are a natural candidate for these problems, yet their performance often critically depends on the choice of a predefined graph prior and the availability/quality of exogenous signals. Importantly, we do not intentionally construct a poor graph; rather, we treat any predefined adjacency as a testable hypothesis and verify its alignment with the forecasting target via no-graph ablations and lightweight diagnostics (Δcorr, ED). In this work, we present a unified experimental pipeline based on a spatio-temporal graph convolutional network (STGCN) backbone and conduct systematic ablations on (i) whether and how a predefined static graph is used and (ii) how feature sets influence multi-step forecasting accuracy. We evaluate on two city-scale hourly datasets with heterogeneous node counts (UrbanEV: 275 nodes; CHARGED-AMS_remove_zero: 1388 nodes) and a 24 h input/6 h output setting. Across datasets, we find that a static graph can be beneficial only when it matches the true dependency structure; otherwise, it may degrade accuracy substantially. On UrbanEV, removing the graph component improves overall MAE from 116.21 ± 5.43 to 66.53 ± 1.71 (S = 5 seeds, 0–4), outperforming a persistence baseline (MAE 94.16). Feature ablations further analyze how occupancy and price signals affect UrbanEV accuracy (e.g., MAE 87.32 with all features under the evaluated feature setting). On CHARGED, the volume-only setting performs best among tested feature combinations (MAE 0.127), closely tracking a persistence baseline (MAE 0.139), while additional covariates may introduce noise under static modeling. We provide detailed multi-horizon results and discuss practical implications for when graph priors help or hurt in real deployments.

10 May 2026 in Sensors
Verified
Journal Article
Open access
PDF file
HRHUNG RUEI-JAN
HUNG RUEI-JAN
The rapid growth of the Internet of Things (IoT) has introduced significant cybersecurity challenges due to the heterogeneity, scale, and limited protection capability of connected devices. Although machine learning has been widely adopted for IoT intrusion detection, many existing studies still rely primarily on closed-world evaluation settings, unequal baseline comparison budgets, fixed decision thresholds, and limited integration of explainability into model assessment. To address these issues, this paper proposes an explainable XGBoost-based framework for IoT attack detection with unseen attack family evaluation using the large-scale CICIoT2023 dataset. In the proposed framework, IoT traffic is formulated as a binary classification task that distinguishes benign from malicious flows. The study integrates two complementary evaluation protocols: (1) closed-world stratified 10-fold cross-validation for in-distribution performance assessment and (2) unseen attack family evaluation, in which one malicious family is excluded from training and used only for testing under a zero-day-like but single-dataset condition. A fair-budget experimental design is adopted to compare seven representative models under the same training budget, including default XGBoost, optimized XGBoost, Random Forest, LightGBM, CatBoost, Logistic Regression, and a simple multilayer perceptron. To improve reproducibility and operational validity, the revised framework further reports the sampling strategy, split-overlap audit, XGBoost hyperparameter search protocol, repeated unseen-family evaluation, validation-based threshold calibration under fixed-FAR constraints, cost-sensitive threshold analysis, and XGBoost-native SHapley Additive exPlanations (SHAP) compatible feature contribution analysis. The closed-world results show that tree-based ensemble methods clearly outperform the linear and shallow neural baselines. Random Forest achieves the highest closed-world macro-F1 of 0.9713, followed by LightGBM with 0.9602 and optimized XGBoost with 0.9566. In the fair-budget unseen-family setting under the default threshold, Random Forest again obtains the highest mean macro-F1 of 0.8433 and the lowest false negative rate (FNR) of 0.0712, but it also produces a substantially higher false alarm rate (FAR = 0.0536). By contrast, optimized XGBoost provides a lower-FAR default operating point, achieving a mean macro-F1 of 0.8194, Matthews correlation coefficient (MCC) of 0.7067, FAR of 0.0086, and FNR of 0.2996. Repeated unseen-family experiments over five random seeds confirm the same trade-off: Random Forest provides stronger recall-oriented detection, whereas optimized XGBoost provides a lower-FAR default operating point. After validation-based threshold calibration at an approximate FAR target of 0.01, Random Forest achieves the strongest calibrated recall-oriented performance, with macro-F1 of 0.8754, MCC of 0.7757, FNR of 0.2000, and attack recall of 0.8000. Optimized XGBoost remains competitive at the same FAR target, with macro-F1 of 0.8323, MCC of 0.7193, FNR of 0.2760, and attack recall of 0.7240. The explainability analysis indicates that the optimized XGBoost detector relies mainly on TCP control-flag, temporal, and packet-statistical features, with rst_count, IAT, urg_count, Tot size, Number, Header_Length, and Magnitude among the most influential variables. Local contribution tables for representative true-positive, false-positive, false-negative, and true-negative cases further improve the readability of the explanation results and confirm that native pred_contribs reconstructs the model margin with negligible numerical error. Overall, the results show that the most appropriate model depends on the deployment objective: Random Forest is preferable when minimizing missed attacks under a calibrated FAR constraint is prioritized, whereas optimized XGBoost remains a strong primary model for an explainable low-FAR XGBoost-based framework that emphasizes scalability, operational conservativeness, and native contribution-based interpretation.

16 October 2026 in Electronics
Verified
Journal Article
Open access
PDF file
chun_te Leechun_te Lee
chun_te Lee
HRHUNG RUEI-JAN
HUNG RUEI-JAN
MLMing-Chun Lui
Ming-Chun Lui
YHYu-Chiang Hu
Yu-Chiang Hu
CHChe-Jen Hsieh
Che-Jen Hsieh
BCBonnie Hm Chen
Bonnie Hm Chen
Conventional street-lighting systems commonly operate on fixed schedules and remain at full power throughout the night, resulting in unnecessary energy consumption. Although sensor-activated streetlights can adjust their output in response to pedestrians or vehicles, most operate as independent luminaires and therefore do not illuminate the road ahead in advance. This study proposes a segment-synchronous smart street-lighting control system in which streetlights are divided into multiple segments and all luminaires within a segment operate synchronously. When no pedestrian or vehicle is detected, the streetlights remain in dim-light mode. Once a road user is detected, Wi-Fi communication switches the entire segment synchronously to strong-light mode; after the road user leaves and the hold interval expires, the luminaires return to dim-light mode. The system integrates Internet of Things (IoT) technology with a cloud platform for parameter configuration and remote monitoring. For a nominal 100 W streetlight, the model-based energy-saving rate reaches 90% under no-traffic conditions and is approximately 81.00% under the deterministic 12-trigger/h case and 81.44% under a homogeneous Poisson vehicle-arrival model with a mean rate of 12 vehicles/h. In the four-luminaire laboratory prototype, the measured synchronization latency was 120 ms and 199 of 200 trigger tests achieved segment-wide synchronization. These analytical and prototype-scale results support the feasibility of the segment-synchronous concept for low-traffic-road applications; larger multi-segment field validation remains necessary.