SearcharxivSearch

arXiv subjects

Yanfeng Zhao

Publications and source records attributed to Yanfeng Zhao.

4 recordsLinked to original sources

Textro: A Prototyping Toolkit for Solderless and Chipless Smart Textile Interfaces

In this paper, we present Textro, a prototyping toolkit for designing, fabricating, and testing solderless and chipless smart textile interfaces. Unlike prior approaches that rely on rigid components or soldered connections, Textro enables users to build functional textile interfaces using only readily available materials and tools. The toolkit integrates three parts: (1) a web-based design environment for importing sewing patterns, defining sensing elements, and automatically generating optimized component and circuit designs based on empirical experiments; (2) a fabrication pipeline that generates fabrication files for embroidery and cutting machines, with embroidery optimized for one-stroke continuous stitching paths and components assembled through glue-based attachment methods via capacitive coupling; and (3) a reader device and software for wirelessly retrieving sensor data and visualizing real-time sensor signals. We demonstrate Textro through four application examples and conduct a user study with fashion experts, makers, and novices, highlighting its usability and potential for smart textile prototyping.

cs.HC

Mammal: Supporting Breastfeeding Monitoring Through Computational Garments with Inter-Body Sensing

Breastfeeding provides critical insight into infant feeding competence and physiological health, yet objective monitoring remains difficult due to the intimate and internal nature of feeding. We present Mammal, a caregiver-worn computational garment that unobtrusively monitors breastfeeding without attaching sensors to the infant. Mammal leverages inter-body signal transmission through natural mouth-to-breast contact to capture infant cardiac and feeding-related acoustic signals on the caregiver's body. Using novel algorithms to detect latch onset, infer infant electrocardiogram (ECG), and identify suck and swallow events from inter-body signals, Mammal estimates latch duration, in-feeding heart rate, suck-swallow-breathe (SSB) ratio, and milk intake. In a user study with 10 caregiver-infant dyads, Mammal achieves a mean absolute percentage error (MAPE) of 5.56% for latch duration, a mean absolute error (MAE) of 3.61 bpm for infant heart rate estimation, a mean absolute error of 0.12 for SSB ratio estimation, and a mean relative error of 15.76% for milk intake, with participants reporting high comfort and wearability.

cs.HC

Harnessing Routing Foresight for Micro-step-level MoE load balancing in RL Post-training

Mixture-of-Experts (MoE) and reinforcement learning (RL) post-training now dominate large language model (LLM) development, yet expert load imbalance remains a critical challenge. Existing load-balancing systems target pre-training by relying on historical step-level statistics. However, these methods fail under the unique workload dynamics of RL post-training: the step-level load is stable, but the tiny batch sizes processed during micro-steps cause severe, high-frequency load fluctuations. We introduce ForeMoE, a micro-step-level load balancing system for MoE RL post-training. Instead of relying on historical statistics, ForeMoE exploits the multi-stage RL pipeline (rollout, recompute, policy update) by using foreseeable routing information from the rollout stage to proactively guide load balancing in the remaining stages. To support frequent per-micro-step reconfiguration, ForeMoE employs a hierarchical planner that decomposes the NP-hard load balancing problem into tractable sub-components, alongside a transfer engine that leverages complementary hardware paths (CPU-assisted and GPU-direct) for overlapped expert transfer. Evaluations on 64 GPUs demonstrate that ForeMoE achieves up to a 1.45$\times$ speedup over state-of-the-art RL post-training systems.

cs.DC

StaleFlow: Staleness-Aware Data Management for Mitigating Data Skewness in Fully Disaggregated RL Post-Training

Reinforcement learning (RL) post-training has become pivotal for enhancing the capabilities of modern large models. A recent trend is to develop RL systems with a fully disaggregated architecture, which decouples the three RL phases (rollout, reward, and training) onto separate resources and executes them asynchronously. However, two critical data-level concerns arise: (1) asynchronous execution leads to data staleness in trajectories (the data generated by rollout) as the model parameters used in rollout may not be up to date, which impairs RL convergence; and (2) the length variation of trajectories introduces severe data skewness, leading to workload imbalance and degraded system performance. Existing systems fail to address these two concerns in a unified manner. Techniques that tightly control data staleness often constrain effective data skewness mitigation, while aggressive data skewness mitigation tends to exacerbate data staleness. As a result, systems are forced to trade off convergence for performance, or vice versa. To address this, we propose StaleFlow, an RL post-training system that jointly tackles data staleness and skewness. First, to control staleness, StaleFlow introduces a global consistency protocol that tracks the full lifecycle of each trajectory and constrains staleness. Second, to mitigate skewness, StaleFlow re-designs the RL system architecture by constructing data servers for trajectories and parameters to achieve flexible rollout coordination. Subsequently, we develop a suite of staleness-aware, throughput-oriented strategies to enhance system performance. Evaluations show that StaleFlow achieves up to 1.42-2.68$\times$ (1.18-1.91$\times$ on average) higher throughput than state-of-the-art systems, without compromising convergence. Our source code is available: https://github.com/psrl-project/psrl.

cs.DC