Browsing by Subject "Evolutionary Algorithm"
Now showing 1 - 2 of 2
- Results Per Page
- Sort Options
Item Design Approaches for Lightweight Machine Learning Models(2023-03) Chang, YangyangIn this era of data explosion, the diversity and complexity of data are gradually increasing. The corresponding data processing models become massive and complicated. Especially for dealing with high-dimensional data, large-size inputs, and low latency, modern machine learning methods (e.g., deep neural networks) require advanced hardware solutions (e.g., High Power Graphic Processing Units, Tensor Process Units). To run the models efficiently on embedded platforms, designs of lightweight machine learning are important to ensure small computation and memory requirements. This thesis shows six innovative designs of lightweight machine learning models. Specifically, the introduced designs include the quantized vision transformer, optimized binarized neural networks (BNNs), and lightweight convolutional neural networks (CNNs). For high- dimensional multitasking continuous and discrete optimizations, the innovative lightweight designs contain the modified multifactorial and cross-target evolutionary algorithms (EAs). For data compression, this thesis proposes a hybrid compressor for medical electrocardiogram (ECG) data on an embedded system. In future work, the overall lightweight design framework can be integrated by the proposed structures to include full-system compression, optimization, and quantization. Quantization using a small number of bits shows promise for reducing latency and memory usage in DNNs. However, most quantization methods cannot readily handle complicated functions such as exponential and square root, and prior approaches involve complex processes that must interact with floating-point calculations during the quantization pass. The proposed quantized vision transformer in this thesis provides a robust method for the full integer quantization of the vision transformer without requiring any intermediate floating-point computations. The quantization techniques can be applied in various hardware or software implementations, including processor/memory architectures and FPGAs. BNNs have shown promise in low-power embedded systems, but these are typically designed starting from existing architectures that are based on floating-point number representations. It is also hard to meet the classification requirements because the weights and activations are limited to ±1. This thesis applies the efficient genetic algorithm (GA) to optimize a fully connected binarized architecture to increase the BNN performance without changing its basic operators. The simulation results demonstrate the effectiveness of the proposed method to improve the performance of BNNs. Novel design frameworks for lightweight CNNs are proposed for embedded system applications on image classification tasks. Scalable lightweight architectures for CNNs are first proposed. The population-based metaheuristic approaches of the genetic algorithm (GA), cuckoo search (CS), multifactorial evolutionary algorithm (MFEA), and a proposed hybrid evolutionary approach are then used to optimize the proposed CNN architectures. The proposed optimization process uses no assumptions (e.g., weight-sharing) or approximations (e.g., surrogate function). Two encoding methods are proposed related to the most critical computational parts of CNNs, and the metaheuristic approaches are compared for small population sizes. The results from these various metaheuristic approaches are evaluated using the metrics of computation time and classification accuracy. The final architecture obtained, which has a favorable tradeoff between the amount of computation and accuracy, is indicated. On a set of large-dimensional, multitasking, continuous optimization problems, multifactorial optimization has become one of the most promising paradigms for evolutionary multitasking within the field of computational intelligence. This thesis presents an in-depth analysis of this approach by considering several variations of the standard MFEA. By using a simpler structure together with some enhanced operators, two new MFEAs are proposed. In the approach presented, redundant hyperparameters are removed and the operators are simplified. Compared with the traditional MFEA, the proposed two MFEAs produce better results and are suitable for an embedded system implementation. To handle both non-convex continuous and NP-hard discrete optimization problems, this thesis proposes the class algorithm, a new type of evolutionary algorithm. The methodology is inspired by the concepts of division of labor and specialization. Individuals form subpopulations of different classes, and each class has its own characteristics. The entire population evolves through influences among individuals within and between the different subpopulations. The performance of the class algorithm surpasses other evolutionary algorithms for many test functions of single-objective continuous optimization benchmark problems. Compared with mature application software, the class algorithm also shows a competent ability to solve large-scale discrete optimization problems. The computation time is only 0.48 or 0.36 of published GA results when the class algorithm run in series or parallel, respectively, and the class algorithm is very suitable for use either in embedded systems or on a traditional hardware platform. In summary, compared with traditional EAs, the class algorithm not only has better performance but also has a smaller runtime. Cardiovascular diseases are the number one cause of death worldwide. Monitoring patients with heart disease can be done by analyzing the electrocardiogram. However, the large amount of data poses a burden for a system that is implemented as an embedded system with limited memory and computation capabilities. Traditionally, lossless compression methods have been favored to reduce the memory requirements due to the critical nature of the application. However, if the reconstruction of a lossy signal does not significantly affect the diagnosis capability, then those methods may become attractive due to their larger compression ratios. This thesis proposes a hybrid lossy/lossless compression system with good signal fidelity and compression ratio characteristics. The performance is evaluated after decompression using deep neural networks (DNNs) that have been shown to have good classification capabilities. For the CODE (Clinical Outcomes in Digital Electrocardiology) dataset, the proposed hybrid compressor can achieve an average compression ratio of 5.18 with a mean squared error of 0.20, and DNN-based diagnoses of the decompressed waveforms have, on average, only 0.8 additional erroneous diagnoses out of a total of 402 cases compared to using the original ECG data. For the PTB-XL dataset, the hybrid compressor can achieve a high average compression ratio of 4.91 with a mean squared error of 0.01. In addition, the decompressed ECGs have only a 2.46% lower macro averaged area under the receiver operating characteristic curve (AUC) score than when using the original ECGs.Item Multi-domain multi-objective optimization of mechanisms: a general method with two case studies(2013-10) Sullivan, Thomas AdamWhile the design of mechanisms is a well-studied field, current optimization techniques generally focus on the kinematics and dynamics and relegate other aspects of the analysis to separate stages of the overall design process, resulting in a loss of optimality when the entire multi-domain system is considered. This thesis presents a general method by which a mechanism optimization problem may be efficiently formulated and solved, considering multiple competing design objectives across multiple analysis domains. Two case studies illustrate the practical application of this general method. The first is the kinematic-structural optimization of a hydraulic rescue spreader ("jaws of life"). The second is the kinematic-dynamic-thermodynamic optimization of a novel six-bar linkage for an internal combustion engine. A variety of powerful general-purpose multi-objective algorithms are available from the literature. In particular, genetic algorithms are well-suited to multi-objective problems, and the NSGA-II algorithm from this category is employed here. Three strategies are presented to formulate multi-domain mechanism optimizations in a way that can be solved efficiently by a multi-objective genetic algorithm and is free of explicit constraint functions even for complex problems. First, it is shown that the use of non-traditional design variables, such as angles and adaptive interpolations, can result in smaller design spaces to be searched and can guarantee that all optima lie within the selected range of a given design variable. It is also shown that traditional precision-position synthesis techniques can in some cases be employed in a preliminary analysis to reduce the dimension of the design space. Finally, a nested optimization structure is proposed in which kinematic design variables and objectives are optimized in an outer loop, with the non-kinematic problem being optimized in an inner loop at every outer loop iteration, improving the efficiency and stability of the optimization process. These techniques were applied to the hydraulic rescue spreader problem in order to design a six-bar mechanism that could exert a 10,000 pound force through a pair of jaws over a 24 inch spreading distance while maintaining performance-critical kinematic behavior and remaining light and compact enough to be a handheld tool. The structural stresses in each part of the linkage were modeled, using a combination of analytical methods and finite element analysis. The final optimization result was superior to a similar commercially available model with respect to all four kinematic and structural objectives. Having successfully optimized a low-speed mechanism with a structural motivation, the method was also applied to a high-speed mechanism with a thermodynamic motivation. A Stephenson-III six-bar linkage was developed in order to optimize the motion of the piston in an internal combustion engine and achieve a cylinder volume as a function of time most conducive to efficient combustion. A number of mechanical objectives relating to balancing and mechanism size were used in order to find a solution capable of practical implementation. A slight increase in thermal efficiency over a purely sinusoidal piston motion was obtained, along with satisfactory values of the mechanical objectives.