This paper presents a cyber-physical management of smart buildings based on smart-gateway network with distributed and real-time energy data collection and analytics. We consider a building with multiple rooms supplied with one main electricity grid and one additional solar energy grid. Based on smart-gateway network, energy signatures of rooms are first extracted with consideration of uncertainty and further classified as different types of agents. Then, a multiagent minority-game (MG)-based demand-response management is introduced to reduce peak demand on the main electricity grid and also to fairly allocate solar energy on the additional grid. Experiment results show that compared to the traditional static and centralized energy-management system (EMS), and the recent multiagent EMS using price-demand competition, the proposed uncertainty-aware MG-EMS can achieve up to 50× and 145× utilization rate improvements, respectively, regarding to the fairness of solar energy resource allocation. More importantly, the peak load from the main electricity grid is reduced by 38.50% in summer and 15.83% in winter based on benchmarked energy data of building. Lastly, an average 23% uncertainty can be reduced with an according 37% balanced energy allocation improved comparing to the MG-EMS without consideration of uncertainty.
3 October 2018 in IEEE Transactions on Neural Networks and Learning Systems
An efficient deep learning requires a memory-efficient construction of a neural network. This paper introduces a layerwise tensorized formulation of a multilayer neural network, called LTNN, such that the weight matrix can be significantly compressed during training. By reshaping the multilayer neural network weight matrix into a high-dimensional tensor with a low-rank approximation, significant network compression can be achieved with maintained accuracy. An according layerwise training is developed by a modified alternating least-squares method with backward propagation for fine-tuning only. LTNN can provide the state-of-the-art results on various benchmarks with significant compression. For MNIST benchmark, LTNN shows $64 x$ compression rate without accuracy drop. For Imagenet12 benchmark, our proposed LTNN achieves $35.84 x$ compression of the neural network with around 2% accuracy drop. We have also shown $1.615 x$ faster on inference speed than the existing works due to the smaller tensor core ranks.
Large Language Models (LLMs) have greatly advanced the natural language processing paradigm. However, the high computational load and huge model sizes pose a grand challenge for deployment on edge devices. To this end, we propose APTQ (Attention-aware Post-Training Mixed-Precision Quantization) for LLMs, which considers not only the second-order information of each layer's weights, but also, for the first time, the nonlinear effect of attention outputs on the entire model. We leverage the Hessian trace as a sensitivity metric for mixed-precision quantization, ensuring an informed precision reduction that retains model performance. Experiments show APTQ surpasses previous quantization methods, achieving an average of 4 bit width a 5.22 perplexity nearly equivalent to full precision in the C4 dataset. In addition, APTQ attains state-of-the-art zero-shot accuracy of 68.24% and 70.48% at an average bitwidth of 3.8 in LLaMa-7B and LLaMa-13B, respectively, demonstrating its effectiveness to produce high-quality quantized LLMs.
It is challenging to process real-time data analysis and prediction for a smart grid in a building with consideration of both occupant profile and energy profile. This paper proposed a distributed and networked machine learning platform on smart gateways based smart grid. It can analyze occupants motion, provide short-term energy forecasting and allocate renewable energy resource. Firstly, occupant profile is captured by real-time indoor positioning system with Wi-Fi data analysis; and the energy profile is extracted by real-time meter system with electricity load data analysis. Then, the 24-hour occupant profile and energy profile are fused with prediction using an online distributed machine learning with real-time data update. Based on the forecasted occupant motion profile and energy consumption profile, solar energy source is allocated on the additional electricity power-grid in order to reduce peak demand on the main electricity power-grid. The whole management flow can be operated on the distributed smart gateway network with limited computation resource but with a supported general machine-learning engine. Experiment results on real-life datasets have shown that the accuracy of the proposed energy prediction can be 14.83% improvement comparing to SVM method. Moreover, the peak load from main electricity power-grid is reduced by 15.20% with 51.94% energy cost saving.
In this paper, an I/O management with Q-Learning based Transmitter Swing Adjustment and Receiver Compensation is developed for an energy-efficient 2.5D memory-logic integration. Instead of transmitting signal with fixed large voltage swing, a Q-learning algorithm and receiver signal compensation mechanism are deployed to adaptively adjust the I/O output-voltage swing, so as to leverage the trade-off between the power reduction and bit error rate (BER). Simulation results show that the proposed adaptive 2.5D I/Os (in 65nm CMOS) can achieve about 13mW I/O power, 4GHz bandwidth and 3.25pJ/bit energy efficiency for one channel under 10−⁶ BER. With the use of Q-learning and further receiver compensation, we can achieve 12.95% and 15.61% communication power reduction and 14% energy efficiency improvement compared to the use of constant output-voltage swing based I/O communication.