scholarly journals MaxAFL: Maximizing Code Coverage with a Gradient-Based Optimization Technique

Electronics ◽  
2020 ◽  
Vol 10 (1) ◽  
pp. 11
Author(s):  
Youngjoon Kim ◽  
Jiwon Yoon

Evolutionary fuzzers generally work well with typical software programs because of their simple algorithm. However, there is a limitation that some paths with complex constraints cannot be tested even after long execution. Fuzzers based on concolic execution have emerged to address this issue. The concolic execution fuzzers also have limitations in scalability. Recently, the gradient-based fuzzers that use a gradient to mutate inputs have been introduced. Gradient-based fuzzers can be applied to real-world programs and achieve high code coverage. However, there is a problem that the existing gradient-based fuzzers require heavyweight analysis or sufficient learning time. In this paper, we propose a new type of gradient-based fuzzer, MaxAFL, to overcome the limitations of existing gradient-based fuzzers. Our approach constructs an objective function through fine-grained static analysis. After constructing a well-made objective function, we can apply the gradient-based optimization algorithm. We use a modified gradient-descent algorithm to minimize our objective function and propose some probabilistic techniques to escape local optimum. We introduce an adaptive objective function which aims to explore various paths in the program. We implemented MaxAFL based on the original AFL. MaxAFL achieved increase of code coverage per time compared with three other fuzzers in six open-source Linux binaries. We also measured cumulative code coverage per total execution, and MaxAFL outperformed the other fuzzers in this metric. Finally, MaxAFL can also find more bugs than the other fuzzers.

2019 ◽  
Vol 63 (5) ◽  
pp. 50401-1-50401-7 ◽  
Author(s):  
Jing Chen ◽  
Jie Liao ◽  
Huanqiang Zeng ◽  
Canhui Cai ◽  
Kai-Kuang Ma

Abstract For a robust three-dimensional video transmission through error prone channels, an efficient multiple description coding for multi-view video based on the correlation of spatial polyphase transformed subsequences (CSPT_MDC_MVC) is proposed in this article. The input multi-view video sequence is first separated into four subsequences by spatial polyphase transform and then grouped into two descriptions. With the correlation of macroblocks in corresponding subsequence positions, these subsequences should not be coded in completely the same way. In each description, one subsequence is directly coded by the Joint Multi-view Video Coding (JMVC) encoder and the other subsequence is classified into four sets. According to the classification, the indirectly coding subsequence selectively employed the prediction mode and the prediction vector of the counter directly coding subsequence, which reduces the bitrate consumption and the coding complexity of multiple description coding for multi-view video. On the decoder side, the gradient-based directional interpolation is employed to improve the side reconstructed quality. The effectiveness and robustness of the proposed algorithm is verified by experiments in the JMVC coding platform.


2021 ◽  
Vol 16 (2) ◽  
pp. 1-34
Author(s):  
Rediet Abebe ◽  
T.-H. HUBERT Chan ◽  
Jon Kleinberg ◽  
Zhibin Liang ◽  
David Parkes ◽  
...  

A long line of work in social psychology has studied variations in people’s susceptibility to persuasion—the extent to which they are willing to modify their opinions on a topic. This body of literature suggests an interesting perspective on theoretical models of opinion formation by interacting parties in a network: in addition to considering interventions that directly modify people’s intrinsic opinions, it is also natural to consider interventions that modify people’s susceptibility to persuasion. In this work, motivated by this fact, we propose an influence optimization problem. Specifically, we adopt a popular model for social opinion dynamics, where each agent has some fixed innate opinion, and a resistance that measures the importance it places on its innate opinion; agents influence one another’s opinions through an iterative process. Under certain conditions, this iterative process converges to some equilibrium opinion vector. For the unbudgeted variant of the problem, the goal is to modify the resistance of any number of agents (within some given range) such that the sum of the equilibrium opinions is minimized; for the budgeted variant, in addition the algorithm is given upfront a restriction on the number of agents whose resistance may be modified. We prove that the objective function is in general non-convex. Hence, formulating the problem as a convex program as in an early version of this work (Abebe et al., KDD’18) might have potential correctness issues. We instead analyze the structure of the objective function, and show that any local optimum is also a global optimum, which is somehow surprising as the objective function might not be convex. Furthermore, we combine the iterative process and the local search paradigm to design very efficient algorithms that can solve the unbudgeted variant of the problem optimally on large-scale graphs containing millions of nodes. Finally, we propose and evaluate experimentally a family of heuristics for the budgeted variant of the problem.


2021 ◽  
Vol 104 (2) ◽  
pp. 003685042110254
Author(s):  
Armaghan Mohsin ◽  
Yazan Alsmadi ◽  
Ali Arshad Uppal ◽  
Sardar Muhammad Gulfam

In this paper, a novel modified optimization algorithm is presented, which combines Nelder-Mead (NM) method with a gradient-based approach. The well-known Nelder Mead optimization technique is widely used but it suffers from convergence issues in higher dimensional complex problems. Unlike the NM, in this proposed technique we have focused on two issues of the NM approach, one is shape of the simplex which is reshaped at each iteration according to the objective function, so we used a fixed shape of the simplex and we regenerate the simplex at each iteration and the second issue is related to reflection and expansion steps of the NM technique in each iteration, NM used fixed value of [Formula: see text], that is, [Formula: see text]  = 1 for reflection and [Formula: see text]  = 2 for expansion and replace the worst point of the simplex with that new point in each iteration. In this way NM search the optimum point. In proposed algorithm the optimum value of the parameter [Formula: see text] is computed and then centroid of new simplex is originated at this optimum point and regenerate the simplex with this centroid in each iteration that optimum value of [Formula: see text] will ensure the fast convergence of the proposed technique. The proposed algorithm has been applied to the real time implementation of the transversal adaptive filter. The application used to demonstrate the performance of the proposed technique is a well-known convex optimization problem having quadratic cost function, and results show that the proposed technique shows fast convergence than the Nelder-Mead method for lower dimension problems and the proposed technique has also good convergence for higher dimensions, that is, for higher filter taps problem. The proposed technique has also been compared with stochastic techniques like LMS and NLMS (benchmark) techniques. The proposed technique shows good results against LMS. The comparison shows that the modified algorithm guarantees quite acceptable convergence with improved accuracy for higher dimensional identification problems.


2020 ◽  
Vol 29 (4) ◽  
pp. 1-35
Author(s):  
Aleksandr Pilgun ◽  
Olga Gadyatskaya ◽  
Yury Zhauniarovich ◽  
Stanislav Dashevskyi ◽  
Artsiom Kushniarou ◽  
...  

2021 ◽  
Vol 7 (1) ◽  
pp. 4
Author(s):  
Katsuya Hirota ◽  
Tomoko Ariga ◽  
Masahiro Hino ◽  
Go Ichikawa ◽  
Shinsuke Kawasaki ◽  
...  

A neutron detector using a fine-grained nuclear emulsion has a sub-micron spatial resolution and thus has potential to be applied as high-resolution neutron imaging. In this paper, we present two approaches to applying the emulsion detectors for neutron imaging. One is using a track analysis to derive the reaction points for high resolution. From an image obtained with a 9 μm pitch Gd grating with cold neutrons, periodic peak with a standard deviation of 1.3 μm was observed. The other is an approach without a track analysis for high-density irradiation. An internal structure of a crystal oscillator chip, with a scale of approximately 30 μm, was able to be observed after an image analysis.


2021 ◽  
Vol 8 (1) ◽  
Author(s):  
Yaoxin Li ◽  
Jing Liu ◽  
Guozheng Lin ◽  
Yueyuan Hou ◽  
Muyun Mou ◽  
...  

AbstractIn computer science, there exist a large number of optimization problems defined on graphs, that is to find a best node state configuration or a network structure, such that the designed objective function is optimized under some constraints. However, these problems are notorious for their hardness to solve, because most of them are NP-hard or NP-complete. Although traditional general methods such as simulated annealing (SA), genetic algorithms (GA), and so forth have been devised to these hard problems, their accuracy and time consumption are not satisfying in practice. In this work, we proposed a simple, fast, and general algorithm framework based on advanced automatic differentiation technique empowered by deep learning frameworks. By introducing Gumbel-softmax technique, we can optimize the objective function directly by gradient descent algorithm regardless of the discrete nature of variables. We also introduce evolution strategy to parallel version of our algorithm. We test our algorithm on four representative optimization problems on graph including modularity optimization from network science, Sherrington–Kirkpatrick (SK) model from statistical physics, maximum independent set (MIS) and minimum vertex cover (MVC) problem from combinatorial optimization on graph, and Influence Maximization problem from computational social science. High-quality solutions can be obtained with much less time-consuming compared to the traditional approaches.


2021 ◽  
Vol 13 (14) ◽  
pp. 7911
Author(s):  
Ibrahim Alsaidan ◽  
Mohamed A. M. Shaheen ◽  
Hany M. Hasanien ◽  
Muhannad Alaraj ◽  
Abrar S. Alnafisah

For the precise simulation performance, the accuracy of fuel cell modeling is important. Therefore, this paper presents a developed optimization method called Chaos Game Optimization Algorithm (CGO). The developed method provides the ability to accurately model the proton exchange membrane fuel cell (PEMFC). The accuracy of the model is tested by comparing the simulation results with the practical measurements of several standard PEMFCs such as Ballard Mark V, AVISTA SR-12.5 kW, and 6 kW of the Nedstack PS6 stacks. The complexity of the studied problem stems from the nonlinearity of the PEMFC polarization curve that leads to a nonlinear optimization problem, which must be solved to determine the seven PEMFC design variables. The objective function is formulated mathematically as the total error squared between the laboratory measured terminal voltage of PEMFC and the estimated terminal voltage yields from the simulation results using the developed model. The CGO is used to find the best way to fulfill the preset requirements of the objective function. The results of the simulation are tested under different temperature and pressure conditions. Moreover, the results of the proposed CGO simulations are compared with alternative optimization methods showing higher accuracy.


Author(s):  
Hezhen Hu ◽  
Wengang Zhou ◽  
Junfu Pu ◽  
Houqiang Li

Sign language recognition (SLR) is a challenging problem, involving complex manual features (i.e., hand gestures) and fine-grained non-manual features (NMFs) (i.e., facial expression, mouth shapes, etc .). Although manual features are dominant, non-manual features also play an important role in the expression of a sign word. Specifically, many sign words convey different meanings due to non-manual features, even though they share the same hand gestures. This ambiguity introduces great challenges in the recognition of sign words. To tackle the above issue, we propose a simple yet effective architecture called Global-Local Enhancement Network (GLE-Net), including two mutually promoted streams toward different crucial aspects of SLR. Of the two streams, one captures the global contextual relationship, while the other stream captures the discriminative fine-grained cues. Moreover, due to the lack of datasets explicitly focusing on this kind of feature, we introduce the first non-manual-feature-aware isolated Chinese sign language dataset (NMFs-CSL) with a total vocabulary size of 1,067 sign words in daily life. Extensive experiments on NMFs-CSL and SLR500 datasets demonstrate the effectiveness of our method.


2016 ◽  
Vol 24 (2) ◽  
pp. 12-25 ◽  
Author(s):  
Samo Drobne ◽  
Mitja Lakner

Abstract The use of different objective functions in hierarchical aggregation procedures is examined in this paper. Specifically, we analyse the use of the original Intramax objective function, the sum-of-flows objective function, the sum-of-proportions-to-intra-regional-flows objective function, Smart’s weighted interaction index, the first and second CURDS weighted interaction indices, and Tolbert and Killian’s interaction index. The results of the functional regionalisation have been evaluated by self-containment statistics, and they show that the use of the original Intramax procedure tends to delineate operationally the most persuasive and balanced regions that, regarding the intra-regional flows, homogeneously cover the analysed territory. The other objective functions give statistically better but operationally less suitable results. Functional regions modelled using the original Intramax procedure were compared to the regions at NUTS 2 and NUTS 3 levels, as well as to administrative units in Slovenia. We conclude that there are some promising directions for further research on functional regionalisation using hierarchical aggregation procedures.


1874 ◽  
Vol 1 (1) ◽  
pp. 1-2
Author(s):  
Edward Hull

This granite forms an isolated mass, rising into two eminences a few miles south of Louisburg, called Corvock Brack (1287 feet) and Knockaskeheen (1288 feet). It is a greyish granite—generally fine—grained—consisting of quartz, two felspars,—one orthoclase, the other triclinic, probably oligoclase—and dark green mica. In some places there are patches in which the felspar assumes the appearance of “graphic granite.” Numerous boulders of this granite are strewn over the district to the north-west, and on the south side of Knockaskeheen; the rock is traversed by regular joints ranging N. 10 W., along which it splits off into nearly vertical walls. The position of the granite is shown on Griffith's Geological Map of Ireland, and it is surrounded by schistose beds, generally metamorphosed, and probably of Lower Silurian age. The granite itself is of older date than the Upper Llandovery beds, which lie to the southward.


Sign in / Sign up

Export Citation Format

Share Document