Searcharxiv⌕ Search

arXiv subjects

Karim Khamaisi

Publications and source records attributed to Karim Khamaisi.

5 recordsLinked to original sources

OpenCSI: Self-Calibration Layer for Heterogeneous Mesh Wireless Sensor Networks

WiFi CSI sensing models trained in one environment usually fail in another because standard per-session normalization bakes chip- and room-specific artifacts into feature space, requiring fresh calibration for every new room or radio. We propose OpenCSI, an abstraction layer that hides these artifacts by exposing each mesh link as a single dimensionless Z-score against its own quiet-period temporal standard deviation. The denominator is learned online from a short empty-room bootstrap and reported with a maturity tag, enabling downstream logic to detect drift and abstain when baselines become unreliable. We evaluate OpenCSI on binary occupancy across three distinct rooms and three ESP32 generations (S3, C3, C6, spanning 802.11n HT20 and 802.11ax HE20), including a same-room chip swap isolating hardware from geometry. A model trained on one deployment holds a single empty-versus-occupied decision threshold zero-shot across nearly all transfer cells, reaching binary F1 up to 0.99 where standard normalization drops to 0.87 or fails outright, with no target-domain data or retraining. The transfer is scoped to binary presence by construction, as distinguishing static from moving motion requires the absolute magnitude that temporal standard deviation removes. We release the source code and dataset to support reproducible cross-environment CSI research.

cs.ET↗

Less is More: The Dilution Effect in Multi-Link Wireless Sensing

Wireless sensing approaches promise to transform smart infrastructures into privacy-preserving motion detectors, yet commercial adoption remains limited. A common assumption may explain this gap: that denser sensor deployments yield better accuracy. We tested this assumption with a 12-day naturalistic study using a 9-node ESP32-C3 mesh (72 sensing links) in a residential environment. Our results show that a single well-placed link outperformed the full 72-link mesh (AUC 0.541 vs. 0.489, Cohen's $d$=0.86). Even a random link selection matched optimized selection ($p$=0.35). The benefit comes from avoiding multi-link fusion, not from choosing the right link. We attribute this to a "dilution effect": links whose Fresnel zones miss activity regions contribute noise that overwhelms signal from informative links. In our deployment, strategic link placement mattered 2.7$\times$ more than classifier choice. We release 312 hours of labeled CSI data, firmware, and analysis code to enable validation across diverse environments.

cs.NI↗

Distributed Pulse-Wave Simulator for DDoS Dataset Generation

Pulse-wave Distributed Denial-of-Service (DDoS) attacks generate short, synchronized bursts of traffic that circumvent pattern-based detection and quickly exhaust traditional defense systems. This transient and spatially distributed behavior makes analysis extremely challenging, as no public datasets capture how such attacks evolve across multiple network domains. Since each domain observes only a partial viewpoint of the attack, a correlated, multi-vantage view is essential for comprehensive analysis, early detection, and attribution. This paper presents DPWS, an open-source simulator for generating distributed pulse-wave DDoS datasets. DPWS models multi-AS topologies and produces synchronized packet captures at multiple autonomous systems, showing the distributed structure of coordinated bursts. It enables fine-grained control of traffic parameters through a lightweight YAML interface. DPWS reproduces pulse-wave dynamics across multiple vantage points, exhibits natural fingerprint variability at equal aggregate rates, and scales with MPI in ns-3, providing a reproducible basis for studying pulse-wave behaviour and benchmarking distributed DDoS defenses, while sharing practical insights on ns-3 scalability and synchronization gained during development.

cs.NI↗

Bridging Technical Capability and User Accessibility: Off-grid Civilian Emergency Communication

During large-scale crises disrupting cellular and Internet infrastructure, civilians lack reliable methods for communication, aid coordination, and access to trustworthy information. This paper presents a unified emergency communication system integrating a low-power, long-range network with a crisis-oriented smartphone application, enabling decentralized and off-grid civilian communication. Unlike previous solutions separating physical layer resilience from user layer usability, our design merges these aspects into a cohesive crisis-tailored framework. The system is evaluated in two dimensions: communication performance and application functionality. Field experiments in urban Zürich demonstrate that the 868 MHz band, using the LongFast configuration, achieves a communication range of up to 1.2 km with 92% Packet Delivery Ratio, validating network robustness under real-world infrastructure degraded conditions. In parallel, a purpose-built mobile application featuring peer-to-peer messaging, identity verification, and community moderation was evaluated through a requirements-based analysis.

cs.NI↗

From Noise to Knowledge: A Comparative Study of Acoustic Anomaly Detection Models in Pumped-storage Hydropower Plants

In the context of industrial factories and energy producers, unplanned outages are highly costly and difficult to service. However, existing acoustic-anomaly detection studies largely rely on generic industrial or synthetic datasets, with few focused on hydropower plants due to limited access. This paper presents a comparative analysis of acoustic-based anomaly detection methods, as a way to improve predictive maintenance in hydropower plants. We address key challenges in the acoustic preprocessing under highly noisy conditions before extracting time- and frequency-domain features. Then, we benchmark three machine learning models: LSTM AE, K-Means, and OC-SVM, which are tested on two real-world datasets from the Rodundwerk II pumped-storage plant in Austria, one with induced anomalies and one with real-world conditions. The One-Class SVM achieved the best trade-off of accuracy (ROC AUC 0.966-0.998) and minimal training time, while the LSTM autoencoder delivered strong detection (ROC AUC 0.889-0.997) at the expense of higher computational cost.

cs.LG↗