This work is devoted to the investigation of an actual scientific and applied problem in the identification of exit points for early-exit DNNs based on the analysis of neural chains, which is one of the complex tasks related to the scientific and applied problems of DNN optimization, including, in particular, those based on the existing early-exit concept. The obtained computational complexity of the developed method is not limited by the latter itself, but instead, it mainly depends on the chosen algorithm for analyzing the occurrences of particular substrings (i.e., trimmed neural chains) into a defined list of strings (i.e., full neural chains). For example, in the framework of the conducted research, the Python operator “in” has been used (for this purpose), which uses an in-built optimized algorithm based on the combination of the Boyer–Moore and Horspool algorithms with a linear scalability, and computational complexity that approaches the arithmetic product of the total number of strings (i.e., full neural chains) in the array by the average length of the string in the same array. The performed practical approbation of the developed method gave positive results in decreasing the overall time for obtaining the final result of the considered DNN, as well as significantly decreasing the following timing parameters of the considered DNN: the minimal time to obtain the final result (reduced by more than 5 times); the average time to obtain the final result (reduced by ~1.4 times); and the total time spent processing all 22,500 modeling cases in total (reduced by ~1.39 times). In terms of the main positive aspects and advantages of the developed method, we could highlight its maximal versatility (in terms of the studied DNNs, their architectural and/or structural features, application areas, and input data representation, as well as further software implementation of the proposed method), together with its maximal simplicity of representation and understanding, which ensures the possibility of working with this method even for novice and inexperienced researchers and users who have only basic knowledge of DNNs. In addition, the main results and conclusions of the conducted research are given, and the prospects for further research are considered.
ПУКАЧ et al. (Wed,) studied this question.