scispace - formally typeset
Search or ask a question

Showing papers on "Discretization published in 2017"


Journal ArticleDOI
TL;DR: In this article, a design methodology based on a combination of isogeometric analysis (IGA), level set and point wise density mapping techniques is presented for topology optimization of piezoelectric/flexolectric materials.

279 citations


Journal ArticleDOI
TL;DR: This paper develops a first and second order time-stepping scheme based on the “Invariant Energy Quadratization” (IEQ) method, and proves that all proposed schemes are unconditionally energy stable.

253 citations


Journal ArticleDOI
TL;DR: This work develops data-driven algorithms for general linear equations using Gaussian process priors tailored to the corresponding integro-differential operators that circumvents the tyranny of numerical discretization as well as the consistency and stability issues of time-integration, and is scalable to high-dimensions.

224 citations


Journal ArticleDOI
TL;DR: A generalized network extraction workflow is developed for parameterizing three-dimensional (3D) images of porous media and it is shown that the network extraction preserves macroscopic properties, the permeability and formation factor, and the statistics of the micro-CT images.
Abstract: A generalized network extraction workflow is developed for parameterizing three-dimensional (3D) images of porous media. The aim of this workflow is to reduce the uncertainties in conventional network modeling predictions introduced due to the oversimplification of complex pore geometries encountered in natural porous media. The generalized network serves as a coarse discretization of the surface generated from a medial-axis transformation of the 3D image. This discretization divides the void space into individual pores and then subdivides each pore into sub-elements called half-throat connections. Each half-throat connection is further segmented into corners by analyzing the medial axis curves of its axial plane. The parameters approximating each corner---corner angle, volume, and conductivity---are extracted at different discretization levels, corresponding to different wetting layer thickness and local capillary pressures during multiphase flow simulations. Conductivities are calculated using direct single-phase flow simulation so that the network can reproduce the single-phase flow permeability of the underlying image exactly. We first validate the algorithm by using it to discretize synthetic angular pore geometries and show that the network model reproduces the corner angles accurately. We then extract network models from micro-CT images of porous rocks and show that the network extraction preserves macroscopic properties, the permeability and formation factor, and the statistics of the micro-CT images.

210 citations


Journal ArticleDOI
TL;DR: In this article, the authors proposed a semi-discrete scheme for phase field dendritic crystal growth, which is derived from the variation of a free energy functional, consisting of a temperature dependent bulk potential and a conformational entropy with a gradient-dependent anisotropic coefficient.
Abstract: Summary We present two accurate and efficient numerical schemes for a phase field dendritic crystal growth model, which is derived from the variation of a free-energy functional, consisting of a temperature dependent bulk potential and a conformational entropy with a gradient-dependent anisotropic coefficient. We introduce a novel Invariant Energy Quadratization approach to transform the free-energy functional into a quadratic form by introducing new variables to substitute the nonlinear transformations. Based on the reformulated equivalent governing system, we develop a first and a second order semi-discretized scheme in time for the system, in which all nonlinear terms are treated semi-explicitly. The resulting semi-discretized equations consist of a linear elliptic equation system at each time step, where the coefficient matrix operator is positive definite and thus, the semi-discrete system can be solved efficiently. We further prove that the proposed schemes are unconditionally energy stable. Convergence test together with 2D and 3D numerical simulations for dendritic crystal growth are presented after the semi-discrete schemes are fully discretized in space using the finite difference method to demonstrate the stability and the accuracy of the proposed schemes. Copyright © 2016 John Wiley & Sons, Ltd.

164 citations


Journal ArticleDOI
TL;DR: A numerical assessment of the Virtual Element Method for the discretization of a diffusion–reaction model problem, for higher “polynomial” order k and three space dimensions is developed.
Abstract: We develop a numerical assessment of the Virtual Element Method for the discretization of a diffusion–reaction model problem, for higher “polynomial” order k and three space dimensions. Although the main focus of the present study is to illustrate some h -convergence tests for different orders k , we also hint on other interesting aspects such as structured polyhedral Voronoi meshing, robustness in the presence of irregular grids, sensibility to the stabilization parameter and convergence with respect to the order k .

144 citations


Book
14 Jun 2017
TL;DR: In this article, a multi-domain approach for numerical treatment of material discontinuity was proposed for numerical evaluation of function cos(x) using QR algorithm Codes DQ and its spatial discretization of the wave equation Stability analysis Coordinate-based localized DQ Spline-based Localized DQ method.
Abstract: Approximation and Differential Quadrature Approximation and best approximation Interpolating bases Differential quadrature (DQ) Direct DQ method Block marching in time with DQ discretization Implementation of boundary conditions Conclusions Complex Differential Quadrature Method DQ in the complex plane Complex DQ method for potential problems Complex DQ method for plane linear elastic problems Conformal mapping-aided complex DQ Conclusions Triangular Differential Quadrature Method Triangular DQ method in standard triangle Triangular DQ method in curvilinear triangle Geometric transformation Governing equations of Reissner-Mindlin plates on Pasternak foundation Conclusions Multiple Scale Differential Quadrature Method Multi-scale DQ method for potential problems Solutions of potential problems Successive over-relaxation (SOR)-based multi-scale DQ method Asymptotic multi-scale DQ method DQ solution to multi-scale poroelastic problems Conclusions Variable Order Differential Quadrature Method Direct DQ discretization and dynamic numerical instability Variable order approach Improvement of temporal integration Conclusions Multi-Domain Differential Quadrature Method Linear plane elastic problems with material discontinuity A multi-domain approach for numerical treatment of material discontinuity Multi-domain DQ method for irregular domain Multi-domain DQ formulation of plane elastic problems Conclusions Localized Differential Quadrature Method DQ and its spatial discretization of the wave equation Stability analysis Coordinate-based localized DQ Spline-based localized DQ method Conclusions Mathematical Compendium Gauss elimination SOR method One-dimensional band storage Runge-Kutta method (constant time step) Complex analysis QR algorithm Codes DQ for numerical evaluation of function cos(x) Complex DQ for harmonic problem Localized DQ method References Index

140 citations


Journal ArticleDOI
TL;DR: In this article, the authors developed scalable methods for fitting penalized regression spline based generalized additive models with of the order of 104 coefficients to up to 108 data, with efficient scalable method for computing required crossproducts directly from the discrete representation.
Abstract: We develop scalable methods for fitting penalized regression spline based generalized additive models with of the order of 104 coefficients to up to 108 data. Computational feasibility rests on: (i) a new iteration scheme for estimation of model coefficients and smoothing parameters, avoiding poorly scaling matrix operations; (ii) parallelization of the iteration’s pivoted block Cholesky and basic matrix operations; (iii) the marginal discretization of model covariates to reduce memory footprint, with efficient scalable methods for computing required crossproducts directly from the discrete representation. Marginal discretization enables much finer discretization than joint discretization would permit. We were motivated by the need to model four decades worth of daily particulate data from the U.K. Black Smoke and Sulphur Dioxide Monitoring Network. Although reduced in size recently, over 2000 stations have at some time been part of the network, resulting in some 10 million measurements. Modeling ...

138 citations


Proceedings ArticleDOI
15 Sep 2017
TL;DR: A search-based planning method to compute dynamically feasible trajectories for a quadrotor flying in an obstacle-cluttered environment that does not assume a hovering initial condition and is suitable for fast online re-planning while the robot is moving.
Abstract: In this work, we propose a search-based planning method to compute dynamically feasible trajectories for a quadrotor flying in an obstacle-cluttered environment. Our approach searches for smooth, minimum-time trajectories by exploring the map using a set of short-duration motion primitives. The primitives are generated by solving an optimal control problem and induce a finite lattice discretization on the state space which can be explored using a graph-search algorithm. The proposed approach is able to generate resolution-complete (i.e., optimal in the discretized space), safe, dynamically feasibility trajectories efficiently by exploiting the explicit solution of a Linear Quadratic Minimum Time problem. It does not assume a hovering initial condition and, hence, is suitable for fast online re-planning while the robot is moving. Quadrotor navigation with online re-planning is demonstrated using the proposed approach in simulation and physical experiments and comparisons with trajectory generation based on state-of-art quadratic programming are presented.

137 citations


Journal ArticleDOI
TL;DR: In this paper, the authors consider the stability of the problem in nonstandard or weighted Hilbert spaces and employ the operator preconditioning approach to derive preconditions that are robust with respect to both the variations of the parameters and the mesh refinement.
Abstract: Biot's consolidation model in poroelasticity has a number of applications in science, medicine, and engineering. The model depends on various parameters, and in practical applications these parameters range over several orders of magnitude. A current challenge is to design discretization techniques and solution algorithms that are well-behaved with respect to these variations. The purpose of this paper is to study finite element discretizations of this model and construct block diagonal preconditioners for the discrete Biot systems. The approach taken here is to consider the stability of the problem in nonstandard or weighted Hilbert spaces and employ the operator preconditioning approach. We derive preconditioners that are robust with respect to both the variations of the parameters and the mesh refinement. The parameters of interest are small time-step sizes, large bulk and shear moduli, and small hydraulic conductivity.

128 citations


Journal ArticleDOI
TL;DR: The purpose of this analysis is to introduce the reproducing kernel Hilbert space method for treating classes of time-fractional partial differential equations subject to Neumann boundary conditions with parameters derivative arising in fluid-mechanics, chemical reactions, elasticity, anomalous diffusion, and population growth models.
Abstract: Latterly, many problems arising in different fields of science and engineering can be reduced, by applying some appropriate discretization, to a series of time-fractional partial differential equations. Unlike the normal case derivative, the differential order in such equations is with a fractional order, which will lead to new challenges for numerical simulation. The purpose of this analysis is to introduce the reproducing kernel Hilbert space method for treating classes of time-fractional partial differential equations subject to Neumann boundary conditions with parameters derivative arising in fluid-mechanics, chemical reactions, elasticity, anomalous diffusion, and population growth models. The method provides appropriate representation of the solutions in convergent series formula with accurately computable components. Numerical experiments with different order derivatives degree are performed to support the theoretical analyses which are acquired by interrupting the n-term of the exact solutions. Finally, the obtained outcomes showed that the proposed method is competitive in terms of the quality of the solutions found and is very valid for solving such time-fractional Neumann problems.

Journal ArticleDOI
TL;DR: A novel, linear, second order semi-discrete scheme in time to solve the governing system of equations in the hydrodynamic Q -tensor model, developed following the novel ‘ energy quadratization ’ strategy so that it is linear and unconditionally energy stable at the semi- Discrete level.

Journal ArticleDOI
TL;DR: In this article, a new numerical scheme for accurately and efficiently modeling large-scale transient overland flows over complex terrains is presented, which is first validated against analytical and experimental test cases and then applied to simulate a hypothetic rainfall event in the 42 km2Haltwhistle Burn, UK.
Abstract: Numerical models solving the full 2-D shallow water equations (SWEs) have been increasingly used to simulate overland flows and better understand the transient flow dynamics of flash floods in a catchment. However, there still exist key challenges that have not yet been resolved for the development of fully dynamic overland flow models, related to (1) the difficulty of maintaining numerical stability and accuracy in the limit of disappearing water depth and (2) inaccurate estimation of velocities and discharges on slopes as a result of strong nonlinearity of friction terms. This paper aims to tackle these key research challenges and present a new numerical scheme for accurately and efficiently modeling large-scale transient overland flows over complex terrains. The proposed scheme features a novel surface reconstruction method (SRM) to correctly compute slope source terms and maintain numerical stability at small water depth, and a new implicit discretization method to handle the highly nonlinear friction terms. The resulting shallow water overland flow model is first validated against analytical and experimental test cases and then applied to simulate a hypothetic rainfall event in the 42 km2Haltwhistle Burn, UK.

Journal ArticleDOI
TL;DR: An iterative refinement algorithm using partially time-expanded networks that solves continuous-time service network design problems and demonstrates that the algorithm not only solves problems but also obtains an optimal solution at each point in time.
Abstract: Consolidation carriers transport shipments that are small relative to trailer capacity. To be cost effective, the carrier must consolidate shipments, which requires coordinating their paths in both space and time; i.e., the carrier must solve a service network design problem. Most service network design models rely on discretization of time—i.e., instead of determining the exact time at which a dispatch should occur, the model determines a time interval during which a dispatch should occur. While the use of time discretization is widespread in service network design models, a fundamental question related to its use has never been answered: Is it possible to produce an optimal continuous-time solution without explicitly modeling each point in time? We answer this question in the affirmative. We develop an iterative refinement algorithm using partially time-expanded networks that solves continuous-time service network design problems. An extensive computational study demonstrates that the algorithm not only...

Journal ArticleDOI
TL;DR: Data-Driven simulation constitutes a potential change of paradigm in SBES by using a data-driven inverse approach in order to generate the whole constitutive manifold from few complex experimental tests, as discussed in the present work.
Abstract: The use of constitutive equations calibrated from data has been implemented into standard numerical solvers for successfully addressing a variety problems encountered in simulation-based engineering sciences (SBES). However, the complexity remains constantly increasing due to the need of increasingly detailed models as well as the use of engineered materials. Data-Driven simulation constitutes a potential change of paradigm in SBES. Standard simulation in computational mechanics is based on the use of two very different types of equations. The first one, of axiomatic character, is related to balance laws (momentum, mass, energy, $$\ldots $$ ), whereas the second one consists of models that scientists have extracted from collected, either natural or synthetic, data. Data-driven (or data-intensive) simulation consists of directly linking experimental data to computers in order to perform numerical simulations. These simulations will employ laws, universally recognized as epistemic, while minimizing the need of explicit, often phenomenological, models. The main drawback of such an approach is the large amount of required data, some of them inaccessible from the nowadays testing facilities. Such difficulty can be circumvented in many cases, and in any case alleviated, by considering complex tests, collecting as many data as possible and then using a data-driven inverse approach in order to generate the whole constitutive manifold from few complex experimental tests, as discussed in the present work.

Journal ArticleDOI
TL;DR: In this paper, the authors employ the Koopman operator theory and the ideas from dynamic mode decomposition to extend the variational approach conformation dynamics/molecular kinetics (VAC) and its special case the time-lagged independent component analysis (TICA) to non-equilibrium data.
Abstract: Markov state models (MSMs) and master equation models are popular approaches to approximate molecular kinetics, equilibria, metastable states, and reaction coordinates in terms of a state space discretization usually obtained by clustering. Recently, a powerful generalization of MSMs has been introduced, the variational approach conformation dynamics/molecular kinetics (VAC) and its special case the time-lagged independent component analysis (TICA), which allow us to approximate slow collective variables and molecular kinetics by linear combinations of smooth basis functions or order parameters. While it is known how to estimate MSMs from trajectories whose starting points are not sampled from an equilibrium ensemble, this has not yet been the case for TICA and the VAC. Previous estimates from short trajectories have been strongly biased and thus not variationally optimal. Here, we employ the Koopman operator theory and the ideas from dynamic mode decomposition to extend the VAC and TICA to non-equilibrium data. The main insight is that the VAC and TICA provide a coefficient matrix that we call Koopman model, as it approximates the underlying dynamical (Koopman) operator in conjunction with the basis set used. This Koopman model can be used to compute a stationary vector to reweight the data to equilibrium. From such a Koopman-reweighted sample, equilibrium expectation values and variationally optimal reversible Koopman models can be constructed even with short simulations. The Koopman model can be used to propagate densities, and its eigenvalue decomposition provides estimates of relaxation time scales and slow collective variables for dimension reduction. Koopman models are generalizations of Markov state models, TICA, and the linear VAC and allow molecular kinetics to be described without a cluster discretization.

Journal ArticleDOI
TL;DR: A variant of the widely used Fixed Stress Splitting method applied to heterogeneous media, modeled by a three-field formulation of the linearized Biot’s equations is proposed and analyzed.

Journal ArticleDOI
TL;DR: In this article, numerical methods for solving the fractional-in-space Allen-Cahn equation with small perturbation parameters and strong nonlinearity were considered, and the numerical solutions satisfy discrete maximum principle under reasonable time step constraint.
Abstract: We consider numerical methods for solving the fractional-in-space Allen–Cahn equation which contains small perturbation parameters and strong nonlinearity. A standard fully discretized scheme for this equation is considered, namely, using the conventional second-order Crank–Nicolson scheme in time and the second-order central difference approach in space. For the resulting nonlinear scheme, we propose a nonlinear iteration algorithm, whose unique solvability and convergence can be proved. The nonlinear iteration can avoid inverting a dense matrix with only $$\mathcal {O}(N\log N)$$ computation complexity. One major contribution of this work is to show that the numerical solutions satisfy discrete maximum principle under reasonable time step constraint. Based on the maximum stability, the nonlinear energy stability for the fully discrete scheme is established, and the corresponding error estimates are investigated. Numerical experiments are performed to verify the theoretical results.

Journal ArticleDOI
TL;DR: A new method for obtaining random bijective S-boxes based on discrete chaotic map based on the composition of permutations which has finite space domain and there is no need for discretization of continuous values of chaotic map.
Abstract: A new method for obtaining random bijective S-boxes based on discrete chaotic map is presented. The proposed method uses a discrete chaotic map based on the composition of permutations. The obtained S-boxes have been tested on the number of criteria, such as bijection, nonlinearity, strict avalanche criterion, output bits independence criterion, equiprobable input/output XOR distribution and maximum expected linear probability. The results of performance test show that the S-box presented in this paper has good cryptographic properties. The advantage of the proposed method is the possibility to achieve large key space, which makes it suitable for generation of $$n\times n$$ S-boxes for larger values of n. Also, because this method uses discrete chaotic map based on the composition of permutations which has finite space domain, there is no need for discretization of continuous values of chaotic map, so the process of generation of S-boxes is not affected by approximations of any kind.

Journal ArticleDOI
TL;DR: In this article, a coupling scheme for the immersed boundary method is introduced to link the Lagrangian and Eulerian variables that facilitates independent spatial discretizations for the structure and background grid.
Abstract: The immersed boundary method is an approach to fluid-structure interaction that uses a Lagrangian description of the structural deformations, stresses, and forces along with an Eulerian description of the momentum, viscosity, and incompressibility of the fluid-structure system. The original immersed boundary methods described immersed elastic structures using systems of flexible fibers, and even now, most immersed boundary methods still require Lagrangian meshes that are finer than the Eulerian grid. This work introduces a coupling scheme for the immersed boundary method to link the Lagrangian and Eulerian variables that facilitates independent spatial discretizations for the structure and background grid. This approach uses a finite element discretization of the structure while retaining a finite difference scheme for the Eulerian variables. We apply this method to benchmark problems involving elastic, rigid, and actively contracting structures, including an idealized model of the left ventricle of the heart. Our tests include cases in which, for a fixed Eulerian grid spacing, coarser Lagrangian structural meshes yield discretization errors that are as much as several orders of magnitude smaller than errors obtained using finer structural meshes. The Lagrangian-Eulerian coupling approach developed in this work enables the effective use of these coarse structural meshes with the immersed boundary method. This work also contrasts two different weak forms of the equations, one of which is demonstrated to be more effective for the coarse structural discretizations facilitated by our coupling approach.

Journal ArticleDOI
TL;DR: A semi-discrete Poisson bracket is derived, which retains the defining properties of a bracket, anti-symmetry and the Jacobi identity, as well as conservation of its Casimir invariants, implying that the semi- discretization of the underlying Hamiltonian structure of the Vlasov–Maxwell system is still a Hamiltonian system.
Abstract: We present a novel framework for finite element particle-in-cell methods based on the discretization of the underlying Hamiltonian structure of the Vlasov–Maxwell system. We derive a semi-discrete Poisson bracket, which retains the defining properties of a bracket, anti-symmetry and the Jacobi identity, as well as conservation of its Casimir invariants, implying that the semi-discrete system is still a Hamiltonian system. In order to obtain a fully discrete Poisson integrator, the semi-discrete bracket is used in conjunction with Hamiltonian splitting methods for integration in time. Techniques from finite element exterior calculus ensure conservation of the divergence of the magnetic field and Gauss’ law as well as stability of the field solver. The resulting methods are gauge invariant, feature exact charge conservation and show excellent long-time energy and momentum behaviour. Due to the generality of our framework, these conservation properties are guaranteed independently of a particular choice of the finite element basis, as long as the corresponding finite element spaces satisfy certain compatibility conditions.

Journal ArticleDOI
TL;DR: An iterative method for memory reconstruction from dynamical correlation functions that ensures by construction that the target correlation functions of the original fine-grained systems are reproduced accurately by the coarse- grained system, regardless of time step and discretization effects is proposed.
Abstract: In recent years, it has become increasingly popular to construct coarse-grained models with non-Markovian dynamics to account for an incomplete separation of time scales One challenge of a systematic coarse-graining procedure is the extraction of the dynamical properties, namely, the memory kernel, from equilibrium all-atom simulations In this article, we propose an iterative method for memory reconstruction from dynamical correlation functions Compared to previously proposed noniterative techniques, it ensures by construction that the target correlation functions of the original fine-grained systems are reproduced accurately by the coarse-grained system, regardless of time step and discretization effects Furthermore, we also propose a new numerical integrator for generalized Langevin equations that is significantly more accurate than the more commonly used generalization of the velocity Verlet integrator We demonstrate the performance of the above-described methods using the example of backflow-indu

Journal ArticleDOI
TL;DR: In this paper, an optimized artificial fixed-stress iterative scheme for a space-time finite element approximation of the Biot system modeling fluid flow in deformable porous media is presented.

Journal ArticleDOI
TL;DR: In this paper, the authors proposed a hybrid scheme for Brownian semistationary processes, which is based on discretizing the stochastic integral representation of the process in the time domain.
Abstract: We introduce a simulation scheme for Brownian semistationary processes, which is based on discretizing the stochastic integral representation of the process in the time domain. We assume that the kernel function of the process is regularly varying at zero. The novel feature of the scheme is to approximate the kernel function by a power function near zero and by a step function elsewhere. The resulting approximation of the process is a combination of Wiener integrals of the power function and a Riemann sum, which is why we call this method a hybrid scheme. Our main theoretical result describes the asymptotics of the mean square error of the hybrid scheme, and we observe that the scheme leads to a substantial improvement of accuracy compared to the ordinary forward Riemann-sum scheme, while having the same computational complexity. We exemplify the use of the hybrid scheme by two numerical experiments, where we examine the finite-sample properties of an estimator of the roughness parameter of a Brownian semistationary process and study Monte Carlo option pricing in the rough Bergomi model of Bayer et al. (Quant. Finance 16:887–904, 2016), respectively.

Journal ArticleDOI
TL;DR: A new arbitrary high order accurate semi-implicit spacetime discontinuous Galerkin (DG) method for the solution of the two and three dimensional compressible Euler and NavierStokes equations on staggered unstructured curved meshes is proposed and is able to deal with all Mach number flows.

Journal ArticleDOI
TL;DR: In this paper, a variational differential quadrature (VDQ) method is proposed to discretize the energy functional in the structural mechanics, which is based on the accurate and direct discretization of energy functional.

Journal ArticleDOI
TL;DR: In this paper, an arbitrary high-order accurate nodal discontinuous Galerkin spectral element approximation for the non-linear two-dimensional shallow water equations with non-constant, possibly discontinuous, bathymetry on unstructured, possibly curved, quadrilateral meshes was proposed.

Journal ArticleDOI
TL;DR: The schemes are based on the second order Crank–Nicolson method for time discretization, projection method for Navier–Stokes equations, as well as several implicit–explicit treatments for phase field equations.
Abstract: In this paper, we propose several second order in time, fully discrete, linear and nonlinear numerical schemes for solving the phase field model of two-phase incompressible flows, in the framework of finite element method. The schemes are based on the second order Crank---Nicolson method for time discretization, projection method for Navier---Stokes equations, as well as several implicit---explicit treatments for phase field equations. The energy stability and unique solvability of the proposed schemes are proved. Ample numerical experiments are performed to validate the accuracy and efficiency of the proposed schemes.

Journal ArticleDOI
TL;DR: This study presents an alternative way to perform large eddy simulation based on a targeted numerical dissipation introduced by the discretization of the viscous term, and it is shown that this regularisation technique is equivalent to the use of spectral vanishing viscosity.

Posted Content
TL;DR: It is found that when both the weights and activations become ternary values, the DNNs can be reduced to sparse binary networks, termed as gated XNOR networks (GXNOR-Nets), which promises the event-driven hardware design for efficient mobile intelligence.
Abstract: There is a pressing need to build an architecture that could subsume these networks under a unified framework that achieves both higher performance and less overhead. To this end, two fundamental issues are yet to be addressed. The first one is how to implement the back propagation when neuronal activations are discrete. The second one is how to remove the full-precision hidden weights in the training phase to break the bottlenecks of memory/computation consumption. To address the first issue, we present a multi-step neuronal activation discretization method and a derivative approximation technique that enable the implementing the back propagation algorithm on discrete DNNs. While for the second issue, we propose a discrete state transition (DST) methodology to constrain the weights in a discrete space without saving the hidden weights. Through this way, we build a unified framework that subsumes the binary or ternary networks as its special cases, and under which a heuristic algorithm is provided at the website this https URL. More particularly, we find that when both the weights and activations become ternary values, the DNNs can be reduced to sparse binary networks, termed as gated XNOR networks (GXNOR-Nets) since only the event of non-zero weight and non-zero activation enables the control gate to start the XNOR logic operations in the original binary networks. This promises the event-driven hardware design for efficient mobile intelligence. We achieve advanced performance compared with state-of-the-art algorithms. Furthermore, the computational sparsity and the number of states in the discrete space can be flexibly modified to make it suitable for various hardware platforms.