SearcharxivSearch

arXiv subjects

Cuong Do

Publications and source records attributed to Cuong Do.

18 recordsLinked to original sources

Marginal Matching Does Not License Factorized Sampling: Auditing Conditional Style Leakage in Factorized Generative Models

Factorized generative models commonly regularize a latent style variable z_s by matching its marginal distribution to a fixed Gaussian prior and interpret this as evidence that the style representation is independent of class information. We show that this interpretation is incorrect. Matching only the marginal distribution places no constraint on the class-conditional distributions, allowing the latent style to remain highly predictive of the label despite appearing perfectly Gaussian in aggregate. We derive an exact decomposition showing that this mismatch is one of four conditions required for factorized sampling, and demonstrate that eliminating it is necessary but not sufficient to obtain the intended factorization. Empirically, our case-study model and four representative latent baselines achieve near-zero global MMD while still allowing a linear probe to recover class labels with 74%--100% accuracy (10% chance level). Our model reaches 99.15% clustering accuracy, whereas externally evaluated class-conditional generation succeeds only 16% of the time. This leakage remains under six independent perturbations involving model capacity, curriculum, prior geometry, and supervision across two datasets. Four mitigation strategies reduce probe accuracy to 21%--46%, although they leave within-class dependence largely unchanged. A post-hoc conditional prior improves externally evaluated class generation to 0.97 on MNIST without retraining but reaches only 0.41 on CIFAR-10, while an empirical style bank achieves 0.88 on CIFAR-10. These results demonstrate that no divergence computed solely on the marginal distribution of the style latent can certify independence from class labels, and that reporting marginal statistics alone does not verify the property commonly claimed in factorized generative models.

cs.LG

ECG-LDC: A Hardware-Efficient Low-Dimensional Computing Framework for ECG Arrhythmia Classification

Continuous cardiac monitoring in wearable devices demands classifiers that are simultaneously accurate, energy-efficient, and deployable on resource-constrained hardware. While deep neural network approaches have demonstrated high classification accuracy for electrocardiogram (ECG) arrhythmia detection, their substantial parameter counts and reliance on multiply-accumulate-intensive operations make them impractical for low-cost edge platforms. In this work, we propose ECG-LDC, a hardware-software co-design framework that adapts Low-Dimensional Computing (LDC) for real-time ECG arrhythmia classification. ECG-LDC employs a dual-encoder architecture with dedicated value and feature codebooks to independently encode morphological waveform features and RR-interval temporal features, enabling effective capture of both intra-beat and inter-beat cardiac dynamics. The framework encompasses data preprocessing, model training, and a hardware accelerator architecture prototyped on the Pynq-Z2 platform. Implemented using binary representations and XOR/XNOR-based operations, ECG-LDC achieves $97.18\%$ accuracy with a memory footprint of only $3.86\ \text{kB}$. ECG-LDC sacrifices approximately $1.8\%$ accuracy versus SOTA TinyML classifiers but achieves $11$~$ 570\times$ reduction in memory usage; among FPGA-based five-class arrhythmia classifiers, it delivers the highest accuracy with up to $2.4\times$ fewer LUTs and zero DSP block utilization, affirming its suitability for real-time arrhythmia detection on resource-constrained wearable platforms.

eess.SP

A Distributionally Robust Reinforcement Learning Framework for Constrained Urban EV Dispatch

We study city-scale control of electric-vehicle (EV) ride-hailing fleets where dispatch, repositioning, and charging decisions must respect charger and feeder limits under uncertain, spatially correlated demand and travel times. We formulate the problem as a hex-grid semi-Markov decision process (semi-MDP) with mixed actions -- discrete actions for serving, repositioning, and charging, together with continuous charging power -- and variable action durations. To guarantee physical feasibility during both training and deployment, the policy learns over high-level intentions produced by a masked, temperature-annealed actor. These intentions are projected at every decision step through a time-limited rolling mixed-integer linear program (MILP) that strictly enforces state-of-charge, port, and feeder constraints. To mitigate distributional shifts, we optimize a Soft Actor-Critic (SAC) agent against a Wasserstein-1 ambiguity set with a graph-aligned Mahalanobis ground metric that captures spatial correlations. The robust backup uses the Kantorovich-Rubinstein dual, a projected subgradient inner loop, and a primal-dual risk-budget update. Our architecture combines a two-layer Graph Convolutional Network (GCN) encoder, twin critics, and a value network that drives the adversary. Experiments on a large-scale EV fleet simulator built from NYC taxi data show that PD-RSAC achieves the highest net profit, reaching \$1.22M, compared with \$0.58M-\$0.70M for strong heuristic, single-agent RL, and multi-agent RL baselines, including Greedy, SAC, MAPPO, and MADDPG, while maintaining zero feeder-limit violations.

cs.AI

ByteRover: Agent-Native Memory Through LLM-Curated Hierarchical Context

Memory-Augmented Generation (MAG) extends large language models with external memory to support long-context reasoning, but existing approaches universally treat memory as an external service that agents call into, delegating storage to separate pipelines of chunking, embedding, and graph extraction. This architectural separation means the system that stores knowledge does not understand it, leading to semantic drift between what the agent intended to remember and what the pipeline actually captured, loss of coordination context across agents, and fragile recovery after failures. In this paper, we propose ByteRover, an agent-native memory architecture that inverts the memory pipeline: the same LLM that reasons about a task also curates, structures, and retrieves knowledge. ByteRover represents knowledge in a hierarchical Context Tree, a file-based knowledge graph organized as Domain, Topic, Subtopic, and Entry, where each entry carries explicit relations, provenance, and an Adaptive Knowledge Lifecycle (AKL) with importance scoring, maturity tiers, and recency decay. Retrieval uses a 5-tier progressive strategy that resolves most queries at sub-100 ms latency without LLM calls, escalating to agentic reasoning only for novel questions. Experiments on LoCoMo and LongMemEval demonstrate that ByteRover achieves state-of-the-art accuracy on LoCoMo and competitive results on LongMemEval while requiring zero external infrastructure, no vector database, no graph database, no embedding service, with all knowledge stored as human-readable markdown files on the local filesystem.

cs.AI

A Cost-Optimization Model for EV Charging Stations Utilizing Solar Energy and Variable Pricing

This paper presents a cost optimization framework for electric vehicle (EV) charging stations that leverages on-site photovoltaic (PV) generation and explicitly accounts for electricity price uncertainty through a Bertsimas--Sim robust formulation. The model is formulated as a linear program that satisfies vehicle energy demands, respects charging and grid capacity constraints, and minimizes procurement cost. Evaluations on real charging data from the Caltech ACN dataset show average savings of about 12\% compared to a first-come--first-served baseline, with peak monthly reductions up to 19.2\%. A lightweight sensitivity analysis indicates that a modest $\sim$5\% increase in nominal cost can reduce worst-case exposure by 14\%. Computational tests confirm real-time feasibility, with instances of up to 50 concurrent EVs solved in under 5 seconds on a standard laptop. The proposed method provides a practical, grid-friendly, and scalable solution for future EV charging operations.

eess.SY

Exploring the Practicality of Federated Learning: A Survey Towards the Communication Perspective

Federated Learning (FL) is a promising paradigm that offers significant advancements in privacy-preserving, decentralized machine learning by enabling collaborative training of models across distributed devices without centralizing data. However, the practical deployment of FL systems faces a significant bottleneck: the communication overhead caused by frequently exchanging large model updates between numerous devices and a central server. This communication inefficiency can hinder training speed, model performance, and the overall feasibility of real-world FL applications. In this survey, we investigate various strategies and advancements made in communication-efficient FL, highlighting their impact and potential to overcome the communication challenges inherent in FL systems. Specifically, we define measures for communication efficiency, analyze sources of communication inefficiency in FL systems, and provide a taxonomy and comprehensive review of state-of-the-art communication-efficient FL methods. Additionally, we discuss promising future research directions for enhancing the communication efficiency of FL systems. By addressing the communication bottleneck, FL can be effectively applied and enable scalable and practical deployment across diverse applications that require privacy-preserving, decentralized machine learning, such as IoT, healthcare, or finance.

cs.LG

Efficiently Assemble Normalization Layers and Regularization for Federated Domain Generalization

Domain shift is a formidable issue in Machine Learning that causes a model to suffer from performance degradation when tested on unseen domains. Federated Domain Generalization (FedDG) attempts to train a global model using collaborative clients in a privacy-preserving manner that can generalize well to unseen clients possibly with domain shift. However, most existing FedDG methods either cause additional privacy risks of data leakage or induce significant costs in client communication and computation, which are major concerns in the Federated Learning paradigm. To circumvent these challenges, here we introduce a novel architectural method for FedDG, namely gPerXAN, which relies on a normalization scheme working with a guiding regularizer. In particular, we carefully design Personalized eXplicitly Assembled Normalization to enforce client models selectively filtering domain-specific features that are biased towards local data while retaining discrimination of those features. Then, we incorporate a simple yet effective regularizer to guide these models in directly capturing domain-invariant representations that the global model's classifier can leverage. Extensive experimental results on two benchmark datasets, i.e., PACS and Office-Home, and a real-world medical dataset, Camelyon17, indicate that our proposed method outperforms other existing methods in addressing this particular problem.

cs.CV

Detecting COVID-19 from digitized ECG printouts using 1D convolutional neural networks

The COVID-19 pandemic has exposed the vulnerability of healthcare services worldwide, raising the need to develop novel tools to provide rapid and cost-effective screening and diagnosis. Clinical reports indicated that COVID-19 infection may cause cardiac injury, and electrocardiograms (ECG) may serve as a diagnostic biomarker for COVID-19. This study aims to utilize ECG signals to detect COVID-19 automatically. We propose a novel method to extract ECG signals from ECG paper records, which are then fed into a one-dimensional convolution neural network (1D-CNN) to learn and diagnose the disease. To evaluate the quality of digitized signals, R peaks in the paper-based ECG images are labeled. Afterward, RR intervals calculated from each image are compared to RR intervals of the corresponding digitized signal. Experiments on the COVID-19 ECG images dataset demonstrate that the proposed digitization method is able to capture correctly the original signals, with a mean absolute error of 28.11 ms. Our proposed 1D-CNN model, which is trained on the digitized ECG signals, allows identifying individuals with COVID-19 and other subjects accurately, with classification accuracies of 98.42%, 95.63%, and 98.50% for classifying COVID-19 vs. Normal, COVID-19 vs. Abnormal Heartbeats, and COVID-19 vs. other classes, respectively. Furthermore, the proposed method also achieves a high-level of performance for the multi-classification task. Our findings indicate that a deep learning system trained on digitized ECG signals can serve as a potential tool for diagnosing COVID-19.

eess.IV

A novel deep learning-based approach for sleep apnea detection using single-lead ECG signals

Sleep apnea (SA) is a type of sleep disorder characterized by snoring and chronic sleeplessness, which can lead to serious conditions such as high blood pressure, heart failure, and cardiomyopathy (enlargement of the muscle tissue of the heart). The electrocardiogram (ECG) plays a critical role in identifying SA since it might reveal abnormal cardiac activity. Recent research on ECG-based SA detection has focused on feature engineering techniques that extract specific characteristics from multiple-lead ECG signals and use them as classification model inputs. In this study, a novel method of feature extraction based on the detection of S peaks is proposed to enhance the detection of adjacent SA segments using a single-lead ECG. In particular, ECG features collected from a single lead (V2) are used to identify SA episodes. On the extracted features, a CNN model is trained to detect SA. Experimental results demonstrate that the proposed method detects SA from single-lead ECG data is more accurate than existing state-of-the-art methods, with 91.13% classification accuracy, 92.58% sensitivity, and 88.75% specificity. Moreover, the further usage of features associated with the S peaks enhances the classification accuracy by 0.85%. Our findings indicate that the proposed machine learning system has the potential to be an effective method for detecting SA episodes.

cs.CV

Excitation of coupled phononic frequency combs via two-mode parametric three-wave mixing

This paper builds on the recent demonstration of three-wave mixing based phononic frequency comb. Here, in this process, an intrinsic coupling between the drive and resonant frequency leads to a frequency comb of spacing corresponding to the separation between drive and resonant frequency. Now, in this paper, we experimentally demonstrate the possibility to further excite multiple frequency combs with the same external drive through its coupling with other identical devices. In addition, we also experimentally identify interesting features associated with such a frequency comb generation process.

physics.app-ph

Towards N-mode parametric electromechanical resonances

The ubiquity of parametric resonance is continually evident in the repeated experimental observations of this phenomenon in multiple physical systems. The elementary case of 2 mode parametric resonance of order 1 involves the excitation of a spectral tone of a parametrically driven mode at a sub-harmonic frequency of the higher directly driven mode. Historically, such examples of parametric resonance have been predominantly researched in a system of micro- and nanoelectromechanical resonators. Here, in this paper, we break this convention by showcasing a collection of experimental signatures in support of the concept of "N-mode parametric resonance" using a number of elementary microelectromechanical devices. Specifically, we present observations of 2, 3, (2+3) and (3+3) mode parametric resonances demonstrating co-existence of different regimes within the same device. In addition, we also present observations of intrinsic "Four-Wave Mixing" of parametric excitations. This paper presents contributions towards the existence proof for such multimode parametric resonances which can also be exploited for engineering benefit within the field of "micro and nanoelectromechanical resonators". The experimental results further point towards the possibility of the ultimate observation of N-mode parametric resonance in such physical system.

physics.class-ph

Frequency transitions in phononic four-wave mixing

This work builds upon the recent demonstration of a phononic four-wave mixing (FWM) pathway mediated by parametric resonance. In such a process, drive tones f_d1 and f_d2 associated with a specific phonon mode interact such that one of the drive tones also parametrically excites a second mode at a sub-harmonic frequency and such interactions result in a frequency comb f_d1/2 +/- n(f_d1-f_d2 ). However, the specific behaviour associated with the case where both drive tones can independently excite the sub-harmonic phonon mode has not been studied or previously described. While it may be possible to expect the merger of two frequency combs f_d1/2 +/- n(f_d1-f_d2 ) and f_d2/2 +/- n(f_d1-f_d2 ), this paper indicates that only one of these mechanisms is selected and also shows an interesting transition linked to this process. Such frequency transitions from f_d1/2 +/- n(f_d1-f_d2 ) to f_d2/2 +/- n(f_d1-f_d2 ) holds potential promise for computing applications.

nlin.PS

Excitation of multiple 2-mode parametric resonances by a single driven mode

We demonstrate autoparametric excitation of two distinct sub-harmonic mechanical modes by the same driven mechanical mode corresponding to different drive frequencies within its resonance dispersion band. This experimental observation is used to motivate a more general physical picture wherein multiple mechanical modes could be excited by the same driven primary mode within the same device as long as the frequency spacing between the sub-harmonic modes is less than half the dispersion bandwidth of the driven primary mode. The excitation of both modes is seen to be threshold-dependent and a parametric back-action is observed impacting on the response of the driven primary mode. Motivated by this experimental observation, modified dynamical equations specifying 2-mode auto-parametric excitation for such systems are presented.

nlin.PS

Anomaly in coupled parametric resonance

We present experimental observations of an anomaly in the coupled response of auto-parametrically excited microelectromechanical beams. When one of the two coupled beams is driven at elevated amplitudes, the excitation of dominant and recessive modes is observed in the driven and non-driven beams respectively. This anomalous nature of auto-parametric excitation has been unexplored by both theory and experiments and falls outside the scope of the conventional description of parametric resonance.

nlin.PS

Discrete intrinsic localized modes in a microelectromechanical resonator

Intrinsic Localized Modes (ILMs) or Discrete Breathers (DBs) are produced through a non-linear vibration localization phenomenon. While Anderson localization is due to lattice defects, the nonlinearity of lattices provides the basis for ILM excitation. Over the past two decades, these ILMs have been realized in a wide range of physical systems including photonic crystals, nonlinear atomic lattices, anti-ferromagnets, coupled Josephson junction arrays and coupled cantilevers. This paper brings out the feasibility of exciting ILMs in a standalone mechanical resonator. Through piezoelectric driving and optical visualization, various intriguing features of ILMs have been recorded. The ILMs in our system are observed as spectral bushes and their frequencies are much lower than that of the drive frequency. The excitation of ILMs is mediated through large amplitude instability following autoparametric excitation of a sub-harmonic mode. The spatial prevalence of discrete ILM excitations is at antinodes of the sub-harmonic mode. Further, the ILMs have been observed to be time-variant and various events including attraction-repulsion (or splitting-merging) of ILMs and hopping occur during the time evolution of ILMs.

nlin.PS

Phononic four-wave mixing

We present the first experimental observations of phononic four-wave mixing (FWM) in a piezoelectrically actuated free-free beam microstructure. The FWM response is facilitated by the intrinsic coupling between a driven mode and an auto-parametrically excited sub-harmonic mode. Motivated by the experimental results, a dynamical model for FWM has been specified.

cond-mat.mes-hall

Phononic High Harmonic Generation

This paper reports experimental evidence for phononic low-order to high-order harmonic conversion leading to high harmonic generation. Phononic high harmonic generation is mediated by a threshold dependent instability of a driven phonon mode. Once the threshold for instability is met, a cascade of harmonic generation processes is triggered. Firstly, the up-conversion of first harmonic phonons into second harmonic phonons is established. Subsequently, the down-conversion of second harmonic phonons into first harmonic phonons and conversion of first and second harmonic phonons into third harmonic phonons occur. On the similar lines, an eventual conversion of third harmonic phonons to high orders is also observed to commence. This physical pathway for phononic low-order to high-order harmonic conversion may find general relevance to other physical systems.

physics.class-ph

Hyperfine phononic frequency comb

Optical frequency combs [1-8] have resulted in significant advances in optical frequency metrology and found wide application to precise physical measurements [1-4, 9] and molecular fingerprinting [8]. A direct analogue of frequency combs in the phononic or acoustic domain has not been reported to date. In this letter, we report the first clear experimental evidence for a phononic frequency comb. In contrast to the Kerr nonlinearity [10] in optical frequency comb formation, the phononic frequency comb is generated through the intrinsic coupling of a driven phonon mode with an auto-parametrically excited sub-harmonic mode [16]. Through systematic experiments at different drive frequencies and amplitudes, we portray the well-connected process of phononic frequency comb formation and define attributes to control the features [17-18] associated with comb formation in such a system. Further, the interplay between these nonlinear resonances and the well-known Duffing phenomenon [12-14] is also observed. The presented pathway for phononic frequency comb formation finds general relevance to other nonlinear systems in both classical and quantum domains.

nlin.PS