arXiv Science⌕ Search

arXiv subjects

Juan Lanchares

Publications and source records attributed to Juan Lanchares.

5 recordsLinked to original sources

Multiplier-less Neural Network Inference for Low-Power Embedded LSTMs

Constrained-Hamming Quantization is a fixed-point quantization framework designed to reduce energy consumption in power-constrained edge devices, particularly for neural networks dominated by multiply-accumulate operations. Constrained-Hamming Quantization bounds the number of active bits within the fixed-point representation of neural network weights to a predefined maximum, while retaining the original word width and fixed-point scaling, preserving numerical granularity near zero and preventing small-magnitude coefficients from collapsing to zero. This active-bit bound enables a positional encoding strategy in which the locations of the active bits are stored explicitly. To exploit the resulting representation efficiently in hardware, this work introduces a dedicated arithmetic architecture that replaces conventional multipliers with a shift-and-add arithmetic structure, lowering switching activity and dynamic power dissipation. To facilitate deployment, we also introduce an automated RTL design flow that trains, quantizes, and maps Constrained-Hamming Quantization models directly onto FPGAs. While the methodology is applicable across diverse network architectures, the proposed approach is evaluated on embedded LSTM models through both hardware-level and system-level experiments, including comparisons against a conventional hardware implementation and a representative mobile edge device. Experimental results show that the proposed arithmetic architecture achieves a 25% energy reduction compared with the baseline hardware implementation, maintaining this efficiency advantage across varying model complexities while ensuring the quantization error satisfies the target requirements.

cs.AR↗

Real Time Evolvable Hardware for Optimal Reconfiguration of Cusp-Like Pulse Shapers

The design of a cusp-like digital pulse shaper for particle energy measurements requires the definition of four parameters whose values are defined based on the nature of the shaper input signal (timing, noise, ...) provided by a sensor. However, after high doses of radiation, sensors degenerate and their output signals do not meet the original characteristics, which may lead to erroneous measurements of the particle energies. We present in this paper an evolvable cusp-like digital shaper, which is able to auto-recalibrate the original hardware implementation into a new design that match the original specifications under the new sensor features.

cs.AR↗

A methodology to automatically optimize dynamic memory managers applying grammatical evolution

Modern consumer devices must execute multimedia applications that exhibit high resource utilization. In order to efficiently execute these applications, the dynamic memory subsystem needs to be optimized. This complex task can be tackled in two complementary ways: optimizing the application source code or designing custom dynamic memory management mechanisms. Currently, the first approach has been well established, and several automatic methodologies have been proposed. Regarding the second approach, software engineers often write custom dynamic memory managers from scratch, which is a difficult and error-prone work. This paper presents a novel way to automatically generate custom dynamic memory managers optimizing both performance and memory usage of the target application. The design space is pruned using grammatical evolution converging to the best dynamic memory manager implementation for the target application. Our methodology achieves important improvements (62.55\% and 30.62\% better on average in performance and memory usage, respectively) when its results are compared to five different general-purpose dynamic memory managers.

cs.AR↗

Optimizing L1 cache for embedded systems through grammatical evolution

Nowadays, embedded systems are provided with cache memories that are large enough to influence in both performance and energy consumption as never occurred before in this kind of systems. In addition, the cache memory system has been identified as a component that improves those metrics by adapting its configuration according to the memory access patterns of the applications being run. However, given that cache memories have many parameters which may be set to a high number of different values, designers face to a wide and time-consuming exploration space. In this paper we propose an optimization framework based on Grammatical Evolution (GE) which is able to efficiently find the best cache configurations for a given set of benchmark applications. This metaheuristic allows an important reduction of the optimization runtime obtaining good results in a low number of generations. Besides, this reduction is also increased due to the efficient storage of evaluated caches. Moreover, we selected GE because the plasticity of the grammar eases the creation of phenotypes that form the call to the cache simulator required for the evaluation of the different configurations. Experimental results for the Mediabench suite show that our proposal is able to find cache configurations that obtain an average improvement of $62\%$ versus a real world baseline configuration.

cs.NE↗

A Critical Review of the state-of-the-art on Deep Neural Networks for Blood Glucose Prediction in Patients with Diabetes

This article compares ten recently proposed neural networks and proposes two ensemble neural network-based models for blood glucose prediction. All of them are tested under the same dataset, preprocessing workflow, and tools using the OhioT1DM Dataset at three different prediction horizons: 30, 60, and 120 minutes. We compare their performance using the most common metrics in blood glucose prediction and rank the best-performing ones using three methods devised for the statistical comparison of the performance of multiple algorithms: scmamp, model confidence set, and superior predictive ability. Our analysis highlights those models with the highest probability of being the best predictors, estimates the increase in error of the models that perform more poorly with respect to the best ones, and provides a guide for their use in clinical practice.

q-bio.QM↗