SearcharxivSearch

arXiv subjects

Muhammad Rehan

Publications and source records attributed to Muhammad Rehan.

3 recordsLinked to original sources

FORGE: Forward-Only Test-Time Adaptation for Integer-Only Vision Models on Microcontrollers

Vision models deployed on microcontrollers (MCUs) are quantized to integer-only arithmetic and run in inference-only runtimes that do not carry the machinery backpropagation needs: the standard tool for adapting a model to the distribution shift (sensor noise, blur, lighting) it meets in the field. Existing forward-only test-time adaptation (TTA) methods either run only on server- or edge-GPU-class models (not true microcontroller integer execution), or require the batch-normalization (BN) layers that integer deployment fuses away. We present a forward-only TTA method that operates on deployed, BN-folded, integer-only convolutional networks. The key observation is that fusing BN into the preceding convolution, a mandatory step for integer inference, destroys the statistics that normalization-based adaptation relies on. We restore adaptation by re-normalizing each folded convolution's per-channel output to its clean training statistics, using only forward-pass estimates. The method (i) recovers most of gradient-based TENT's accuracy gain (+20.9 vs. +24.9 points) and matches forward-only BN adaptation, while being the only method that runs on a folded integer-only model; (ii) needs to adapt only 3 of 21 layers (selected without seeing the test corruptions) to recover 93% of the benefit; (iii) survives single-sample streaming with a batch-size-scaled momentum; and (iv) generalizes across three datasets (up to 200 classes) and two architectures. We validate bit-exact int8 convolution execution and deploy on an ESP32-S3, where, measured with a Nordic PPK2 power profiler, the forward-only adaptation (a lightweight fp32 recalibration around the int8 convolutions) costs only 8.3 mJ (6.8% of inference energy) and 21.9 ms on the deployed SIMD-optimized model: forward-only adaptation is cheap on a real microcontroller.

cs.CV

Short Term Stress of Covid-19 On World Major Stock Indices

The main objective of this study is to check short term stress of COVID-19 on the American, European, Asian, and Pacific stock market indices, furthermore, the correlation between all the stock markets during the pandemic. Secondary data of 41 stock exchange from 32 countries have been collected from investing.com website from 1st July 2019 to 14th May 2020 for the stock market and the COVID-19 data has been collected according to the first cases reported in the country, stocks market are classified either developed or emerging economy, further divided according to the subcontinent i.e. America, Europe, and Pacific/Asia, the main focus in the data is the report of first COVID-19 cases. The study reveals that there is volatility in the all the 41 stock market (American, Europe, Asia, and Pacific) after reporting of the first case and volatility increase with the increase of COVID-19 cases, moreover, there is a significant negative relationship between the number of COVID-19 cases and 41 major stock indices of American, Europe, Asia and Pacific, European subcontinent market found more effected from the COVID-19 than another subcontinent, there is Clustering effect of COVID-19 on all the stock market except American's stock market due to smart capital investing.

q-fin.GN

Regional System Identification and Computer Based Switchable Control of a Nonlinear Hot Air Blower System

This paper describes the design and implementation of linear controllers with a switching condition for a nonlinear hot air blower system (HABS) process trainer PT326. The system is interfaced with a computer through a USB based data acquisition module and interfacing circuitry. A calibration equation is implemented through computer in order to convert the amplified output of the sensor to temperature. Overall plant is nonlinear; therefore, system identification is performed in three different regions depending upon the plant input. For these three regions, three linear controllers are designed with closed-loop system having small rise time, settling time and overshoot. Switching of controllers is based on regions defined by plant input. In order to avoid the effect of discontinuity, due to switching of linear controllers, parameters of all linear controllers are taken closer to each other. Finally, discretized controllers along with switching condition are implemented for the plant through computer and practical results are demonstrated.

eess.SY