SearcharxivSearch

arXiv subjects

Wei-Chen Wang

Publications and source records attributed to Wei-Chen Wang.

13 recordsLinked to original sources

AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration

Large language models (LLMs) have transformed numerous AI applications. On-device LLM is becoming increasingly important: running LLMs locally on edge devices can reduce the cloud computing cost and protect users' privacy. However, the astronomical model size and the limited hardware resource pose significant deployment challenges. We propose Activation-aware Weight Quantization (AWQ), a hardware-friendly approach for LLM low-bit weight-only quantization. AWQ finds that not all weights in an LLM are equally important. Protecting only 1% salient weights can greatly reduce quantization error. To identify salient weight channels, we should refer to the activation distribution, not weights. To avoid the hardware-inefficient mix-precision quantization, we mathematically derive that scaling up the salient channels can reduce the quantization error. AWQ employs an equivalent transformation to scale the salient weight channels to protect them. The scale is determined by collecting the activation statistics offline. AWQ does not rely on any backpropagation or reconstruction, so it generalizes to different domains and modalities without overfitting the calibration set. AWQ outperforms existing work on various language modeling and domain-specific benchmarks (coding and math). Thanks to better generalization, it achieves excellent quantization performance for instruction-tuned LMs and, for the first time, multi-modal LMs. Alongside AWQ, we implement TinyChat, an efficient and flexible inference framework tailored for 4-bit on-device LLM/VLMs. With kernel fusion and platform-aware weight packing, TinyChat offers more than 3x speedup over the Huggingface FP16 implementation on both desktop and mobile GPUs. It also democratizes the deployment of the 70B Llama-2 model on mobile GPUs.

cs.CL

Flat-Band Generation in InAs/GaSb Quantum Wells through Vertically Engineered Heterostructures

Quantum materials constitute a novel category of substances wherein quantum effects and electron-electron (e-e) interactions give rise to unforeseen phenomena on a macroscopic scale. Of particular interest within the realm of quantum materials are flat bands, which promote heavy conduction electrons and enhance e-e correlation effects. While the engineering of such flat bands has been demonstrated in graphene and two-dimensional transition metal dichalcogenides moiré superlattices and in lithography defined semiconductor moiré superlattices, conventional tear-and-stack fabrication methods face challenges due to inevitable twist-angle disorder, strain, and relaxation effects, leading to issues with reproducibility and scalability. Here, we explore the creation and modification of flat bands through vertically engineered III-V semiconductor heterostructures, without the need for twisting. These artificial quantum materials offer a reproducible and scalable means for producing high-quality flat-band materials via molecular beam epitaxy growth. Our investigation includes magnetotransport and infrared magneto-spectroscopy studies of quad-layer InAs/GaSb quantum wells, accompanied by k*p band structure calculations, which illustrate the flattening of bands in vertically designed heterostructures.

cond-mat.mes-hall

EigenData: A Self-Evolving Multi-Agent Platform for Function-Calling Data Synthesis, Auditing, and Repair

Function-calling agents -- large language models that invoke tools and APIs -- require high-quality, domain-specific training data spanning executable environments, backing databases, and diverse multi-turn trajectories. We introduce EigenData, an integrated, self-evolving platform that automates the full data lifecycle through a multi-agent architecture. A top-level orchestrator, EigenCore, coordinates three specialized sub-systems: DatabaseAgent for realistic domain database construction, CodingAgent for verified executable environment generation with iterative test-debug loops, and DataAgent for multi-turn trajectory synthesis with self-evolving prompt optimization. Cross-component feedback ensures consistency across all artifacts. We apply EigenData to audit and repair the Berkeley Function-Calling Leaderboard (BFCL-V3), identifying systematic errors in function schemas, implementations, and reference trajectories, automatically correcting them through coordinated schema refinement, code-level bug fixes, and trajectory modification, and introducing an outcome-aware evaluation protocol that assesses task success via database-state correctness rather than turn-level trajectory matching. We demonstrate that the repaired benchmark, coupled with outcome-aware metrics, produces model rankings substantially better correlated with human judgments of functional correctness.

cs.SE

Human locomotor control timescales depend on the environmental context and sensory input modality

Everyday locomotion is a complex sensorimotor process that can unfold over multiple timescales, from long-term path planning to rapid, reactive adjustments. However, we lack an understanding of how factors such as environmental demands, or the available sensory information simultaneously influence these control timescales. To address this, we present a unified data-driven framework to quantify the control timescales by identifying how early we can predict future actions from past inputs. We apply this framework across tasks including walking and running, environmental contexts including treadmill, overground, and varied terrains, and sensory input modalities including gaze fixations and body states. We find that deep neural network architectures that effectively handle long-range dependencies, specifically Gated Recurrent Units and Transformers, outperform other architectures and widely used linear models when predicting future actions. Our framework reveals the factors that influence locomotor foot placement control timescales. Across environmental contexts, we discover that humans rely more on fast timescale control in more complex terrain. Across input modalities, we find a hierarchy of control timescales where gaze predicts foot placement before full-body states, which predict before center-of-mass states. Our model also identifies mid-swing as a critical phase when the swing foot's state predicts its future placement, with this timescale adapting across environments. Overall, this work offers data-driven insights into locomotor control in everyday settings, offering models that can be integrated with rehabilitation technologies and movement simulations to improve their applicability in everyday settings.

cs.LG

Origin of magic angles in twisted bilayer graphene: The magic ring

The unexpected discovery of superconductivity and strong electron correlation in twisted bilayer graphene (TBG), a system containing only sp electrons, is considered as one of the most intriguing developments in two-dimensional materials in recent years. The key feature is the emergent flat energy bands near the Fermi level, a favorable condition for novel many-body phases, at the so-called "magic angles". The physical origin of these interesting flat bands has been elusive to date, hindering the construction of an effective theory for the unconventional electron correlation. In this work, we have identified the importance of charge accumulation in the AA region of the moire supercell and the most critical role of the Fermi ring in AA-stacked bilayer graphene. We show that the magic angles can be predicted by the moire periodicity determined by the size of this Fermi ring. The resonant criterion in momentum space makes it possible to coherently combine states on the Fermi ring through scattering by the moire potential, leading to flat bands near the Fermi level. We thus establish the physical origin of the magic angles in TBG and identify the characteristics of one-particle states associated with the flat bands for further many-body investigations.

cond-mat.mes-hall

On-Device Training Under 256KB Memory

On-device training enables the model to adapt to new data collected from the sensors by fine-tuning a pre-trained model. Users can benefit from customized AI models without having to transfer the data to the cloud, protecting the privacy. However, the training memory consumption is prohibitive for IoT devices that have tiny memory resources. We propose an algorithm-system co-design framework to make on-device training possible with only 256KB of memory. On-device training faces two unique challenges: (1) the quantized graphs of neural networks are hard to optimize due to low bit-precision and the lack of normalization; (2) the limited hardware resource does not allow full back-propagation. To cope with the optimization difficulty, we propose Quantization-Aware Scaling to calibrate the gradient scales and stabilize 8-bit quantized training. To reduce the memory footprint, we propose Sparse Update to skip the gradient computation of less important layers and sub-tensors. The algorithm innovation is implemented by a lightweight training system, Tiny Training Engine, which prunes the backward computation graph to support sparse updates and offload the runtime auto-differentiation to compile time. Our framework is the first solution to enable tiny on-device training of convolutional neural networks under 256KB SRAM and 1MB Flash without auxiliary memory, using less than 1/1000 of the memory of PyTorch and TensorFlow while matching the accuracy on tinyML application VWW. Our study enables IoT devices not only to perform inference but also to continuously adapt to new data for on-device lifelong learning. A video demo can be found here: https://youtu.be/0pUFZYdoMY8.

cs.CV

Tiny Machine Learning: Progress and Futures

Tiny Machine Learning (TinyML) is a new frontier of machine learning. By squeezing deep learning models into billions of IoT devices and microcontrollers (MCUs), we expand the scope of AI applications and enable ubiquitous intelligence. However, TinyML is challenging due to hardware constraints: the tiny memory resource makes it difficult to hold deep learning models designed for cloud and mobile platforms. There is also limited compiler and inference engine support for bare-metal devices. Therefore, we need to co-design the algorithm and system stack to enable TinyML. In this review, we will first discuss the definition, challenges, and applications of TinyML. We then survey the recent progress in TinyML and deep learning on MCUs. Next, we will introduce MCUNet, showing how we can achieve ImageNet-scale AI applications on IoT devices with system-algorithm co-design. We will further extend the solution from inference to training and introduce tiny on-device training techniques. Finally, we present future directions in this area. Today's large model might be tomorrow's tiny model. The scope of TinyML should evolve and adapt over time.

cs.LG

PockEngine: Sparse and Efficient Fine-tuning in a Pocket

On-device learning and efficient fine-tuning enable continuous and privacy-preserving customization (e.g., locally fine-tuning large language models on personalized data). However, existing training frameworks are designed for cloud servers with powerful accelerators (e.g., GPUs, TPUs) and lack the optimizations for learning on the edge, which faces challenges of resource limitations and edge hardware diversity. We introduce PockEngine: a tiny, sparse and efficient engine to enable fine-tuning on various edge devices. PockEngine supports sparse backpropagation: it prunes the backward graph and sparsely updates the model with measured memory saving and latency reduction while maintaining the model quality. Secondly, PockEngine is compilation first: the entire training graph (including forward, backward and optimization steps) is derived at compile-time, which reduces the runtime overhead and brings opportunities for graph transformations. PockEngine also integrates a rich set of training graph optimizations, thus can further accelerate the training cost, including operator reordering and backend switching. PockEngine supports diverse applications, frontends and hardware backends: it flexibly compiles and tunes models defined in PyTorch/TensorFlow/Jax and deploys binaries to mobile CPU/GPU/DSPs. We evaluated PockEngine on both vision models and large language models. PockEngine achieves up to 15 $\times$ speedup over off-the-shelf TensorFlow (Raspberry Pi), 5.6 $\times$ memory saving back-propagation (Jetson AGX Orin). Remarkably, PockEngine enables fine-tuning LLaMav2-7B on NVIDIA Jetson AGX Orin at 550 tokens/s, 7.9$\times$ faster than the PyTorch.

cs.LG

Detecting Label Errors in Token Classification Data

Mislabeled examples are a common issue in real-world data, particularly for tasks like token classification where many labels must be chosen on a fine-grained basis. Here we consider the task of finding sentences that contain label errors in token classification datasets. We study 11 different straightforward methods that score tokens/sentences based on the predicted class probabilities output by a (any) token classification model (trained via any procedure). In precision-recall evaluations based on real-world label errors in entity recognition data from CoNLL-2003, we identify a simple and effective method that consistently detects those sentences containing label errors when applied with different token classification models.

cs.CL

Investigation of the Effect of Quantum Measurement on Parity-Time Symmetry

Symmetry, including the parity-time ($\mathcal{PT}$)-symmetry, is a striking topic, widely discussed and employed in many fields. It is well-known that quantum measurement can destroy or disturb quantum systems. However, can and how does quantum measurement destroy the symmetry of the measured system? To answer the pertinent question, we establish the correlation between the quantum measurement and Floquet $\mathcal{PT}$-symmetry and investigate for the first time how the measurement frequency and measurement strength affect the $\mathcal{PT}$-symmetry of the measured system using the $^{40}\mathrm{Ca}^{+}$ ion. It is already shown that the measurement at high frequencies would break the $\mathcal{PT}$ symmetry. Notably, even for an inadequately fast measurement frequency, if the measurement strength is sufficiently strong, the $\mathcal{PT}$ symmetry breaking can occur. The current work can enhance our knowledge of quantum measurement and symmetry and may inspire further research on the effect of quantum measurement on symmetry.

quant-ph

Observation of $\mathcal{PT}$-symmetric quantum coherence in a single ion system

Parity-time($\mathcal{PT}$)-symmetric systems, featuring real eigenvalues despite its non-Hermitian nature, have been widely utilized to achieve exotic functionalities in the classical realm, such as loss-induced transparency or lasing revival. By approaching the exceptional point (EP) or the coalescences of both eigenvalues and eigenstates, unconventional effects are also expected to emerge in pure quantum $\mathcal{PT}$ devices. Here, we report experimental evidences of spontaneous $\mathcal{PT}$ symmetry breaking in a single cold $^{40}\mathrm{Ca}^{+}$ ion, and more importantly, a counterintuitive effect of perfect quantum coherence occurring at the EP. Excellent agreement between experimental results and theoretical predictions is identified. In view of the versatile role of cold ions in building quantum memory or processor, our experiment provides a new platform to explore and utilize pure quantum EP effects, with diverse applications in quantum engineering of trapped ions.

quant-ph

Intrinsic basis-independent quantum coherence measure

Quantum coherence is a key resource in quantum information processing scenarios, and quantifying coherence is an important task for both quantum foundation and quantum technology. However, until now, all most of coherence measures are basis-dependent that does not accord with physical reality, since the physical properties of the physical system should not be changed with the different choice of coordinate systems. Here, we propose an \textit{intrinsic basis-independent quantum coherence measure} which satisfies all conditions for quantifying coherence. This measurement not only reveals physical essence of quantum coherence of the quantum state itself clearly, but also simplifies the measurement procedure by avoiding the optimization procedure of distance measure.

quant-ph

Protecting coherence in the non-Hermitian two-level system

We have constructed a non-Hermitian two-level system (a PT -symmetric system) in dissipative environments, and investigated the quantum coherence in the non-Hermitian two-level system. Our results show that, quantum coherence can be created by PT -symmetric systems, even if the initial state of the twolevel system is incoherent state. Even though two-level system is interacted with dissipative environments, the quantum coherence exhibits a long-lived revival, and can be protected. We find that the two-level system can obtain more coherence with the coupling strength Ω increases. And we should point out that the PT -symmetric system can be regarded as a good candidate system for creation of the long-lived quantum coherence in dissipative environments.

quant-ph