Improving AI Applications
With a New Calculus Operator
Contents
- Derivative Sign
- The Idea
- Numerical Stability
- How Does it Work
- Why Does it Work
- Where Does it Work
- Defining the Instantaneous Trend of Change
- The Derivative, the Detachment and Monotonicity
- Single Variable Semi-discrete Calculus
- Calculating Instantaneous Trends in Practice
- Multivariable Semi-discrete Calculus
- Application in Stochastic Processes
- Summary
- References
What if you could improve the performance of your AI algorithms? Describe natural phenomena better? And enhance classical math theorems? Perhaps with a new Calculus operator, on top of the derivative and the integral?
Here we present a new and simple operator in basic Calculus. It renders prominent deep learning frameworks and various AI applications more numerically robust. It is further advantageous in continuous domains, where it classifies trends accurately regardless of functions’ differentiability or continuity.
I used to teach my Advanced Calculus students to infer a function’s momentary trend from its gradient sign. Years later, in our AI research, my team encounters this notion often. Upon analyzing custom loss functions numerically, we treat momentary trends concisely and efficiently:
Derivative Sign
Applications
The instantaneous trend of change, embodied by the derivative sign, has been increasingly used in AI applications. Those range from optimization to computer vision and neural networks. Let’s mention some prominent examples. The “Fast Gradient Sign” method ([10], [14]) leverages the sign of the loss function’s gradient for adversarial examples generation. Further, optimization techniques that leverage the trend of change for robust and rapid convergence, such as Rprop, are recommended for some scenarios of deep learning ([3], [6]) and active learning ([4], [15], [26]). Prominent meta-learning frameworks such as [2], [42] leverage the gradient sign to tackle the exploding gradient problem. Memory efficient algorithms such as Quantized Stochastic Gradient Descent ([1]) and Quantized Neural Networks ([12]) quantize the gradient (where calculating its sign is a special case), and TernGrad ([39]) uses the gradient sign directly for more efficient gradient propagation. Other applications, either to explicit numeric analysis or to theorem proving, include Statistical ML ([21], [28], [32]), Neural Networks ([5], [8], [19], [20], [22], [25], [24], [29], [40]), Reinforcement Learning ([13], [16], [34]), Explainable AI ([9]), and Computer Vision ([4], [7], [11], [17], [18], [23], [27], [30], [33], [35], [41]). You’ll find a more comprehensive survey here. On top of numerical applications, researchers traditionally apply the derivative sign (or that of higher-order derivatives) to monotony classification tasks in continuous domains.
Points for Improvement
Numerical Robustness
Suppose we implement one of the algorithms above and approximate the derivative sign numerically with a difference quotient:
We do this to debug gradient code, or because a custom loss function shaped by domain considerations isn’t differentiable. The division by the small number is redundant, since the sign of the quotient is the sign of its numerator:
Two more problems of sign-based numerics come from asking a rate question when only a direction is needed. The first is the -clamp. When a computed gradient blows up near a degenerate input, a common reflex is to floor the vanishing denominator at a small . Suppose the true sensitivity grows like , with , as the distance to the degenerate input shrinks. Once is small enough, the clamped value stops growing and stays at a height of order . The clamp has traded a growing power law for a flat ceiling, and the factor by which the clamp underestimates the truth grows without bound as . The sign of the increment never needed that denominator.
The second problem is ties. At a kink such as or at the derivative doesn’t exist, so every automatic differentiation library returns a conventional value there, and the literature on nonsmooth automatic differentiation documents that equivalent programs can return different values at the same tie. The one-sided signs of the increment need no convention. For at they report a decrease toward from the left and an increase away from it to the right, whichever program computes them.
Analytical Robustness
Next, consider the derivative sign’s analytical role in classifying monotony. At critical points, where the derivative vanishes or doesn’t exist, it often says nothing about the trend, although the function may be clearly trending. As a simple example, consider the family
together with . The following diagrams show some of these right-derivatives at for different values of . For every (at the tangent coincides with the graph), the right-derivative at is either or infinite. Yet for every the values just to the right of lie strictly above : each of these functions rises as it leaves to the right. The instantaneous rate of change often misses the instantaneous trend at critical points. Engineers work around this by computing higher-order derivatives, or by evaluating the function or its derivatives near the critical point. More involved differentiation methods exist as well.




Remark
In the above example, if we accept derivatives in the extended sense, then recovers the trend. Infinite derivatives are often treated as undefined, though, so the answer depends on a convention. There are also functions whose derivative doesn’t exist even in the extended sense while the trend is plain. For example, take
at . Its difference quotient at is , which keeps oscillating between and , while always has the sign of . Discontinuities of several kinds can also have a clear trend (see below). We could define the trend of such functions through the signs of their Dini derivatives, at the price of working with upper and lower limits. That route only works in one direction: a positive lower right Dini derivative forces the values on the right above , but the flat function discussed below has a definite trend while all its Dini derivatives at vanish. We’d rather define the trend directly.
The trouble runs deeper than critical points. Saying that is increasing at can mean something about the rate , a comparison of nearby values with , or monotonicity on an interval around , and these can come apart. A function can satisfy the first two readings and fail the third, as we’ll see below, once the detachment is defined. So it would help to have a simple operator that is numerically more stable than the derivative sign, that answers the second question on its own terms, and that defines the trend whenever there is one, including at critical points such as discontinuities, cusps, extrema, and inflections.
The Idea
Whenever you scrutinize your car’s dashboard, you notice Calculus. The mileage is equivalent to the definite integral of the way you did so far, and the speedometer reflects the derivative of your way with respect to time. Both physical instruments merely approximate abstract notions.
The gear stick shows your travel direction. Usually, its mathematical counterpart is the derivative sign: if the car moves forward, in reverse, or stands still, then the derivative is positive, negative, or zero, respectively. However, calculating the derivative only to read its sign is occasionally superfluous. As Aristotle and Newton famously argued, nature does nothing in vain. Following their approach, we probably needn’t go through a rate calculation to define the instantaneous trend of change. If the trend of change is an important term in the analysis of processes, perhaps we ought to express it directly, instead of as a by-product of the derivative?
This occasional superfluousness of the derivative causes the issues we just saw in numeric and analytic trend classification. To tackle them, let’s attempt to simplify the derivative sign as follows:
Note the deliberately wrong transition in the second line. Swapping the limit and the sign is not allowed in general, because the sign function is discontinuous at zero. So the resulting operator, the limit of the sign of , doesn’t always agree with the derivative sign. In the third line, the multiplicativity of the sign function cancels the division. Both facts may work in our favor, given the issues we saw earlier with the derivative sign. Perhaps the limit of the sign of the change is worth studying in trend classification tasks?
This way of defining a trend parallels the definition of the derivative. There, the slope of a secant turns into a tangent as the two points approach each other. Here, we take the direction of change across a small interval next to the point and let the limit process turn it into the momentary trend. Feel free to gain intuition by hovering over the following diagram:
Applying the limit directly to Δy would vanish at continuity points. In the difference quotient, we quantize Δy by Δx, via a fraction, prior to applying the limit process. In the difference sign, we quantize Δy by a predefined scale (the sign function) prior to applying the limit process.
Numerical Stability
The numerical approximation of the (right-) derivative sign and that of the one-sided limit
both come down to the sign of a finite difference, , for some small value of . The derivative sign gets there through a redundant division by . This roundtrip costs an extra logarithmic- or linearithmic-time division (depending on the precision) and might overflow, since is small. So I find it useful to think of trend approximations as approximations of the limit above, instead of the derivative sign. This makes the trend calculation itself noticeably faster than the numerical derivative sign; in a full algorithm the saving is diluted by its other operations, so how much remains depends on the algorithm.
Similar considerations lead us to apply quantization directly to when we’re after a general quantization of the derivative and not only its sign. That is, instead of quantizing the derivative, we calculate , where is a custom quantization function. Unlike the trend operator, this quantization doesn’t preserve the derivative’s value once the division is skipped. It is good enough in algorithms such as gradient descent, though. If the algorithm multiplies the gradient by a constant anyway (the learning rate, for example), we may skip the division by in each iteration and fold it into that pre-calculated constant.
We can roughly estimate the share of computation time spared by looking at the computations other than the trend operator itself. For example, suppose we spare a single division in each iteration of gradient descent, and the function is defined numerically on a finite discrete set of points. Then avoiding the division matters, because it is the most time-consuming operation in each iteration. If the optimized function is computationally involved, for example one that includes logical operators, then sparing a division still helps, but less.
Another numerical advantage over the derivative sign concerns the case where the first derivative vanishes. As the Taylor expansion of the trend operator shows below (Claim 14), it equals, up to a sign coefficient, the sign of the first derivative that doesn’t vanish. So for the trend, only the sign of the leading nonzero derivative matters, not its size.
The exploding gradient issue also hinders the derivative sign, and the trend operator mitigates it: the sign of the increment stays bounded however fast the rate grows. Other numerical issues of the derivative carry over to the derivative sign and are often avoided with the trend operator.
Why the Sign of the Increment Is the Right Primitive
Three properties make the sign of the increment a better building block for sign-based numerics than the sign of a rate.
First, it is an order notion. If is strictly increasing, then has the sign of , so replacing a loss by , by a rank, or by any other strictly increasing transform leaves every trend unchanged. The derivative has no such invariance. Its magnitude depends on the scale, and even its sign can disappear: with and , the composite has derivative at while , and both functions rise through .
Second, it reads only comparisons of values. It is available for losses that are piecewise constant, defined at discrete points only, or not differentiable at all.
Third, when a direction alone isn’t enough, the sign pairs naturally with a rate of vanishing. If as , with , the pair says which way the function leaves and how fast. In tropical geometry the same pair is called the signed valuation (Allamigeon, Gaubert and Skomra, 2020); the trend operator defined below is its first coordinate, taken on one side. The exponent is what the slope of against estimates over a range of small steps, and an -clamp flattens exactly that slope. For the functions met in practice (more precisely, functions definable in an o-minimal structure, a class that contains every semialgebraic function and every function built from polynomials, and ), the sign of the increment always settles as , so the operator is always defined.
Given this operator’s practical merit in discrete domains, let’s proceed with theoretical aspects in continuous ones.
How Does it Work
Let’s check how coherently this operator defines a local trend, compared with the derivative. Recall the family of monomials from the introductory section, where we tried to define the local trend by the sign of the derivative. We add another degree of freedom and let . To gain intuition, let’s compare the right limit of with the right-derivative for hand-picked cases. Let , capturing a discontinuity, constancy, a cusp, linearity, an extremum, and an inflection, respectively. We allow opposite values of to cover all types of trends. Feel free to tweak the following radio buttons and observe the limit process in action for both operators:
In all those cases, the right limit of matches the way we think about the trend: it always equals , except in the constant case, where it is zero, as expected. It’s possible to show this directly with limit calculus; see some examples below. We also concluded in the introductory section that the derivative sign captures these momentary trends only for . This operator does better at critical points.
Why Does it Work
A more rigorous justification comes from noticing that the definition of a strict local extremum and the definition of this operator say the same thing. Unlike its counterpart in basic calculus, the following claim gives a condition that is both necessary and sufficient:
Theorem 1. Analog to Fermat’s Stationary Point Theorem. Let be a function and let Then is a strict local extremum of if and only if the two-sided limit
exists and differs from zero. The limit is at a strict local maximum and at a strict local minimum. No continuity or differentiability is assumed.
The avid calculus reader will notice that this theorem follows immediately from the Cauchy definition of a limit. The proof rests on an observation used throughout this page: since the sign function takes only three values, a limit of signs exists exactly when the sign is eventually constant.
Proof
Write , a function with values in . Suppose as . By the Cauchy definition with , there is a such that
The values are at distance at least from each other, so the only value within of is itself, and for . Conversely, if whenever , then there for every , and the limit is .
Now take . The condition reads
which says exactly that is a strict local maximum. In the same way, says exactly that is a strict local minimum. A limit equal to would make constant near , and then is not a strict extremum.
The classical first derivative test controls the sign of on whole intervals on both sides of , and so it also certifies that falls monotonically into and rises monotonically out of it. Theorem 1 compares nearby values only with . It detects the strict extremum with no regularity at all, and says nothing about how two nearby points on the same side compare with each other. A good test case is with , the building block of smooth bump functions. Every derivative of vanishes at , so no derivative test of any order decides anything there. Yet for every , and Theorem 1 declares a strict minimum at once.
Feel free to scrutinize the relation between the Semi-discrete and the continuous versions of Fermat’s theorem in the following animation:
Where Does it Work
Next, let’s check in which scenarios this operator is well defined. We’ll pick functions with different characteristics around . For each such function, we ask which of the following properties hold at : continuity, differentiability, and the existence of the operator at stake, that is, the existence of a local trend from both sides. Scrutinize the following animation to gain intuition with some basic examples:
We would also like to find out which of those properties hold across an entire interval (for example, ). To that end, we add two interval properties: Lebesgue and Riemann integrability. The following widget explores those properties with slightly more involved examples than the animation above. Switch between the granularity levels, hover over the regions, and click the functions in the table to confirm which conditions hold in each case:
Relation between functions’ pointwise analytical properties
Relation between functions’ analytical properties in closed intervals
| Function |
|---|
| , where is Thomae’s function |
| , where is Riemann’s function ([43]) |
| Function |
|---|
| (Dirichlet) |
Remark
We may extend the discussion to properties that hold almost everywhere in an interval, instead of throughout it. This is beyond this article’s scope, but as a taste consider
where is the Cantor-Vitali function (extended by to the left of and by to the right of ), and runs over all the intervals in with rational endpoints. One can show that this function is strictly increasing, so it has a trend everywhere, while its derivative vanishes almost everywhere. Here the instantaneous trend agrees with the function’s monotone behavior on the interval, and the vanishing derivative doesn’t. Further, by the Baire category theorem, all continuous functions except a meager set are nowhere differentiable, so a notion of trend that doesn’t rely on differentiability enlarges the set of functions whose monotony can be analyzed concisely. Finally, consider on . In that domain is discontinuous everywhere, but it is detachable from the left almost everywhere.
Defining the Instantaneous Trend of Change
Let’s summarize our discussion thus far. The momentary trend, a basic analytical concept, has been embodied by the derivative sign for engineering purposes. It drives core numeric algorithms across AI, optimization and other computerized applications. More often than not, it doesn’t capture the momentary trend of change at critical points. The one-sided limit of , in contrast, is more numerically robust in terms of finite differences, and it defines trends wherever they exist, including at critical points. Given these merits, it deserves a definition of its own. Since it “detaches” functions, turning them into step functions with discontinuities at extrema, let’s define the one-sided detachments of a function as follows:
We say that is right- or left-detachable at if the corresponding one-sided limit exists, and detachable if both exist. For convenience, from now on denotes either one of the one-sided detachments ( or ), without assuming that they agree.
The coefficient keeps the detachment consistent with the derivative sign, so both one-sided values are read from left to right. Substituting in the left limit gives
so says the values just right of exceed , and says the values just left of are below it. The pair is when rises through , at a strict local minimum, and at a strict local maximum. For at it is , whatever value a library assigns to the derivative there.
The proof of Theorem 1 showed that a limit of signs exists exactly when the sign is eventually constant. So means that for all sufficiently small ; means that for all such ; and means that is constant on some interval . That last case is an actual plateau, a much stronger statement than a small change or a vanishing derivative. Geometrically, for the right detachment to equal , the value must bound the values of on a right neighborhood of strictly from below. The derivative sign assumes an ascending tangent instead. The detachment forms no quotient and measures no magnitude.
The detachment is a partial operator, and it should stay partial. Take with . Then , but the sign of keeps changing as from either side, so is differentiable at and detachable from neither side. The sign doesn’t even need to change: with has a non-strict minimum at , and alternates between and positive values, so again no detachment exists. Assigning the value in such cases would mistake oscillation for a plateau. On tame ground the problem disappears. When is definable in an o-minimal structure, the three sets of with , with equality, and with each break into finitely many points and intervals. They cover every , so one of them includes a whole interval , and the function is detachable everywhere. Feel free to scrutinize the logical steps that led from the derivative sign to the definition of the detachment in the following animation (created with Manim):
The Derivative, the Detachment and Monotonicity
With the detachment at hand, the questions hidden in "increasing at a point" can be kept apart:
- Rate: what is the sign, and the size, of ?
- Trend: what are and , that is, do the values just left and right of lie below, at, or above ?
- Monotonicity near : is monotone on some interval that contains ?
The first question divides by the step, the second only compares values with the value at the point, and the third compares all pairs of nearby points.
A Positive Derivative With No Monotone Neighborhood
Let and for . The three questions get three different answers at .
The rate is positive. The difference quotient at the origin is
so .
The trend is upward on both sides. For we have , so , and since is odd, . Hence .
Yet is monotone on no interval around . Away from the origin,
and along the sequences and , both tending to , we get and . Monotonicity on an interval would force to keep one weak sign wherever it exists there: for an increasing function, for a decreasing one. But in every neighborhood of , takes the value at some and at some , so no interval around qualifies. On a plot, is squeezed between the parabolas , which hug the line and looks like that line on any small window, which makes the example easy to underestimate. The full report at the origin reads:
All three statements are true, and none follows from the others. The example is classical (it appears in Gelbaum and Olmsted’s Counterexamples in Analysis), and so is the comparison with itself: Burkill’s A First Course in Mathematical Analysis calls a function strictly increasing at exactly when it rises through in this sense.
Nine Local Pictures
At a detachable point, the pair takes one of nine values:
| falls through | falls in, then flat | strict local min | |
| flat, then falls | constant near | flat, then rises | |
| strict local max | rises in, then flat | rises through |
"Rises through " is a comparison with only, with no claim about an interval: there is a such that
The central example above rises through in exactly this sense and is monotone on no neighborhood of .
The derivative’s value can’t tell these nine pictures apart. Each of them already occurs at a differentiable point with zero derivative: given , set , and for set and . The difference quotient is on the right and on the left, and both vanish as , so , while and . Standard examples at are with , with , with , and the zero function with , while has no detachment at all.
The value at the point matters, and jumps show how. For let be the step function that equals for , at , and for . Its pair of detachments at is for , for , and for . All three functions are nondecreasing, so monotonicity can’t tell them apart, while the detachments record where sits between the two one-sided levels.
How the Three Answers Relate
Away from a zero derivative, the trend is the sign of the rate: if a one-sided derivative exists, is finite and differs from zero, the corresponding detachment exists and equals its sign (part 1 of Theorem 10 below). The detachment earns its keep where the derivative is zero, infinite, missing, or answering a different question. The flat function is the extreme case: its difference quotient at is , so every one-sided rate there, Dini derivatives included, is zero, and still .
Monotonicity on an interval implies the trend, and not conversely. If is strictly increasing near , both detachments equal (Lemma 9 below). If is merely nondecreasing, each detachment exists and lies in . Look at the right side. If throughout some interval , the detachment is . Otherwise there are points with as small as we like and . Given any small , choose such an ; monotonicity gives , so the detachment is . The left side is symmetric. The central example shows that the converse fails: the detachments compare each side with the value at the point only and never compare two points on the same side.
That also locates the missing hypothesis in a familiar shortcut, the idea that makes increase near . The usual way out is a continuous derivative: if is continuous at and , then on some interval around , and the mean value theorem gives strict increase on that interval. Without such control of the sign of across an interval, the single value can’t control the nearby derivatives, and the central example shows what happens then.
Finally, the trend and monotonicity are both order notions, and the rate is not. For any strictly increasing ,
because has the sign of ; a strictly decreasing flips both detachments. Monotonicity on an interval is preserved in the same way. The derivative is not, as the example in the Numerical Stability section showed. This is why the detachment still answers at vertical tangents, at jumps and at extrema where every derivative vanishes. The rate breaks down at those points, while the comparison of values does not.
Single Variable Semi-discrete Calculus
Equipped with a definition of the instantaneous trend of change, we may formulate analogs of calculus theorems with the following trade-off. These results report the function’s trend instead of its rate. In return, they hold for a broad set of detachable functions, differentiable or not. They are also outlined in [31].
Two conventions keep the statements short. On the right we write , and on the left , always with a small . In both cases the definition says that equals the corresponding one-sided detachment for every small enough . Since a limit of signs exists exactly when the sign is eventually constant, every proof below has the same shape: find a one-sided neighborhood on which the relevant signs are frozen, and read off the sign of the increment there. One elementary fact does most of the work. If two numbers and don’t have opposite signs, then
Simple Algebraic Properties
Claim 2. Constant Multiple Rule. If is detachable at , and is a constant, then is also detachable there and
Proof
The sign function is multiplicative, so for every :
Claim 3. Sum and Difference Rules. Let and be detachable at . If there, then
and if there, then
In words, the sum rule holds unless the two trends point in opposite directions, and the difference rule holds unless they point in the same direction.
Proof
For every small enough , and . If , these two signs aren’t opposite, so
for all those , and the limit of a constant is that constant. The difference rule is the sum rule applied to and , whose detachment is by Claim 2.
Claim 4. If , and are detachable at , and the one-sided detachments of and aren’t both zero there, then the following holds at :
Proof
Checking the nine sign combinations shows that for real numbers , not both zero,
Take and . Since the detachments of and aren’t both zero, and aren’t both zero for small , and the identity holds for each such . Every factor is eventually constant, so it survives the one-sided limit.
Remark
Don’t worry about the sum rule failing for functions whose detachments are additive inverses. We’ll handle those cases for smooth functions later on, with Taylor expansions.
Product and Quotient Rules
Let’s begin with a simple example. If and at a point , then the product’s detachment is as well. One might be tempted to guess that the product rule is simply . However, shift downwards so that , and keep continuous. Near the product is now a small positive increment of times a negative number, so , although the detachments of and haven’t changed. The product’s detachment depends on the signs of and at the point, too.
In Semi-discrete Calculus we aren’t restricted to continuous functions, though. What if is discontinuous? As long as keeps its sign near the point, the product’s detachment stays . But if vanishes near , or turns positive there, then can be or . So we need some control over the signs of and near the point. I suggest an intuitive one: sign-continuity.
We say that is sign-continuous (s.c.) at if is continuous there, and sign-discontinuous (s.d.) at if every partial limit of at differs from . In the second case, for close enough to , the sign of never equals that of . A function that is either sign-continuous or sign-discontinuous is sign-consistent. We restrict ourselves in the following discussion to sign-consistent functions.
Sometimes the value and the detachment settle the question by themselves. Take right detachments. If , then is constant on a right neighborhood. If , then moves away from zero, and keeps its sign. In both cases is sign-continuous from the right, and we call it inherently sign-continuous (i.s.c.). If and , then on both sides, and is inherently sign-discontinuous (i.s.d.). The remaining case, , says only that moves toward zero, so whether it crosses zero must be assumed separately. On the left the roles flip: moves away from zero when .
You’ll find here a simulation that enumerates the combinations of , , the signs of and , and their sign-continuity, and computes the product’s and quotient’s detachments numerically. Its results are available in two Google sheets, here.
Recall that the product rule for derivatives reads . The rules below follow a similar formula in part of the cases and a different intuitive formula in others. They hold for detachable functions that need not be continuous. In both rules, is short for the sign of the product , and the detachments are right detachments (see the remark after the proofs for the left side).
Claim 5. Product Rule. Let and be detachable and sign-consistent at . If one of the following holds there:
- , where or is s.c., or
- , where or is s.d.
Then is detachable there, and:
Proof
Let with a small , and write and . The product’s increment splits in two ways:
For small , and . Three cases cover the claim.
- and one function is s.c. Say is s.c., so for small . In the first splitting, the two terms have the signs and . Their product is the sign of , which isn’t negative, so the terms aren’t of opposite signs, and the sign of their sum is . If is the s.c. function, the second splitting gives the same result.
- and neither function is s.c. Then , where , and likewise for . So .
- and one function is s.d. One of the products and is positive and the other negative. Say . Then is i.s.c., so the s.d. function is , and . Near , has the sign while is zero or has the sign . So is zero or has the sign opposite to , and . Since and , this is .
Claim 6. Quotient Rule. Let and be detachable and sign-consistent at , where near . If one of the following holds there:
- , where or is s.c., or
- , where only one of is s.c.
Then is detachable there, and:
Proof
With the notation of the previous proof, the quotient’s increment can be written in two ways:
Since doesn’t vanish, sign-consistency leaves two options for it. Either is s.c., and the denominator is positive near ; or is s.d., so has the sign , the denominator is negative, and .
- is s.c. and . In the first numerator the terms have the signs and , whose product is the sign of . They aren’t opposite, so the quotient’s detachment is , the first formula.
- and exactly one function is s.c. Use the second numerator. If is s.c. and is s.d., then and is zero or of sign . The terms have the signs and (or zero), whose product is positive, and the denominator is positive. If is s.c. and is s.d., the terms have the signs and , and the denominator is negative. Either way the quotient’s detachment is , the second formula.
- is s.d. and . By the hypothesis, is s.c. or . If is s.c. and , the second numerator’s terms have the signs and , which aren’t opposite, and the negative denominator gives the second formula again. If is s.c. and , then forces : keeps its sign while flips, so the quotient jumps to the opposite sign, and its increment has the sign . Finally, if is not s.c., the first numerator is , of sign , and the negative denominator turns it into , the third formula. (If is s.c., vanishes near , and all three formulas give .)
A direct check shows that these three cases are exactly the three branches of the statement.
Remark
- In the quotient rule, if are both continuous then, because , is s.c. If is also s.c., the first formula holds by its second sub-condition. Otherwise, by continuity, , and the first formula holds by its third sub-condition. So the first formula holds for every pair of continuous functions that satisfies the statement. In the product rule, the first formula doesn’t cover all continuous functions. For example, take at . Both are s.d., so the product’s right detachment follows the second formula, .
- Left detachments. Claims 5 and 6 are stated for right detachments. For the left side, reflect: with we have , and applying the claims to the reflected functions gives the left versions. The formulas built from don’t change, since both detachments flip sign inside them. The bare product flips once, so the last branch becomes , and "inherently sign-continuous" means or . For at this gives the left detachment for , as it should: falls into its minimum.
- There are many ways to bound the signs of other than sign-continuity. For example, we could bound the signs of explicitly on a given neighborhood of . A product rule built on such bounds holds in more cases than Claims 5 and 6. For consistency with Differential Calculus, I preferred to introduce the intuitive trait of sign-continuity here. It corresponds to the traditional requirements of continuity and differentiability, and the first-time reader may feel more comfortable with it.
- We define sign-discontinuity as above so that it bounds the function’s sign near the point. The mere lack of sign-continuity doesn’t impose such a bound.
Mean Value Theorems
We already introduced an analog to Fermat’s stationary point theorem in a previous section. Let’s formulate analogs of other basic results.
Claim 7. Analog to Rolle’s theorem. Let be continuous in and detachable in such that Then there exists a point where:
Proof
By Weierstrass’s theorem, attains a maximum and a minimum on . If , is constant, and every point of has both detachments zero. Otherwise, since , one of the values is attained at some . Say it is the maximum; the minimum is symmetric. Then for all small of both signs, so and . If neither is zero, they are and , and their sum is zero. If , then is constant on some interval , and any point inside it has . The case is the same on the left.
Theorem 8. Analog to Lagrange’s Mean Value Theorem. Let be continuous in and detachable in , with Then for each strictly between and there are points with
Proof
Without loss of generality . By the intermediate value theorem, the level set isn’t empty, and it is closed because is continuous. It contains neither nor . Let . On , is continuous, never zero, and positive at , so it is positive throughout. Hence for every , and . In the same way, has on , and .
As a corollary, "what goes up must come down", in an exact form. Suppose, in the setting of Theorem 8, that the level set is finite. Between two consecutive points of it, keeps a constant sign. At each point of the level set, is the sign of on the gap to the right of , and is minus the sign on the gap to its left. Summing over the level set, the terms telescope:
Both sides of each point are needed here. A point where touches the level from below and turns back contributes from the left and from the right, so it cancels out, as it should.
Feel free to interact with this illustration of Theorem 8 and its relation to other mean value theorems. For each value of in , we highlight at least one point whose detachment equals the function’s general trend in the interval.
Fundamental Theorem
We say that is continuously detachable on an interval if both its one-sided detachments exist at every point and are continuous there. Since they take values in , that means they are constant on the interval.
Lemma 9. A function is strictly monotonic in an open interval if and only if is continuously detachable there with . If is strictly monotonic in a closed interval with end points , then also
Proof
First direction. If is strictly increasing, then for every that keeps us in the interval, so both one-sided detachments equal everywhere, including the right detachment at and the left one at for a closed interval. The decreasing case is symmetric.
Second direction. Assume throughout the open interval, and let be two of its points. Let be the supremum of the points such that for every . The right detachment at makes this set non-empty, so . The left detachment at gives for slightly to the left of , and those satisfy , so as well. If , the right detachment at would extend the property beyond , contradicting the choice of . Hence and .
Remark
Both one-sided detachments are needed in Lemma 9. The function that equals for and for has right detachment at every point, yet it drops at , where its left detachment is . For a continuous function, the right detachments alone are enough. Suppose is continuous on and on . The maximum of on is attained, but not at any point , since puts larger values just right of . So is the only maximizer and . The same argument applies to every subinterval , so whenever , and is strictly increasing. The case is symmetric, with the minimum in place of the maximum.
On an interval where is continuously detachable the two one-sided detachments also agree at every point. Both are constant there. If they differed with neither equal to , every point would be a strict local extremum, and a function has only countably many of those. If exactly one of them were , would be constant on one side of every point, and that contradicts the nonzero value on the other side at nearby points. So is well defined on such an interval, which is how Claim 12 and Theorem 15 use it.
While the detachment is clearly not invertible, it is directly related to the derivative and the integral. The following theorem states those connections, and can be thought of as the fundamental theorem of Semi-discrete Calculus.
Theorem 10. A Semi-discrete Extension to the Fundamental Theorem of Calculus. The following relations between the detachment and the fundamental concepts of Calculus hold.
-
Let the one-sided derivative exist, finite or infinite, and differ from zero. Then is detachable from that side, and
In particular, gives .
-
Let be integrable in a closed interval , let , and let . Assume that is s.c. at Then is detachable at , and
-
Let be a continuous, piecewise monotone function with , and let be an antiderivative of in . Then:
Proof
-
Write the sign of the one-sided derivative as follows:
The second transition is where the hypothesis enters: a difference quotient that tends to a nonzero number, or to , eventually has that number’s sign. The sign function is continuous away from , so the limit and the sign may be swapped. The third transition uses .
-
Since is continuous at , has the constant sign on some interval . If that sign is , vanishes there, is constant, and . Otherwise the integral of over any interval of positive length inside has the sign of , and so do both increments
for . Hence . Continuity of the sign from one side is enough for the corresponding one-sided statement.
-
Since is continuous and piecewise monotone, its zero set is a finite union of points and closed intervals, and is detachable at each zero. Where , part 1 gives , and on an interval where vanishes, is constant and . So is a step function. Let
where are the points where it changes value, and let be its value on . Summation by parts gives
By continuity and . Each is a zero of , so is the sign of just to the right of , namely , and is minus the sign of just to its left, namely . Hence
At every other zero of the bracket vanishes, so the sum may run over the whole zero set, as in the statement.
Composite and Inverse Functions Rules
Claim 11. Chain Rule. If is continuous and detachable at , and is detachable at , then is detachable at , and the following holds there:
Here is taken on the side from which approaches : for the right detachment of , use the right detachment of if and its left detachment if ; for the left detachment of it is the other way around. When the two one-sided detachments of at agree, as they do wherever passes through in one direction, the side doesn’t matter.
Proof
Take the right side; the left side is analogous. If , then is constant on a right neighborhood of , so is , and both sides of the formula vanish. If , then satisfies for small , and by continuity. So eventually has the sign . If , then and , so eventually has the sign , which is .
For example, has the detachments at , and has . The rule takes the left detachment of and gives for the right detachment of , which is correct.
Claim 12. Inverse Function Rule. Let be continuous on a neighborhood of . Then is continuously detachable on a neighborhood of with , if and only if is invertible on a neighborhood of . In that case is continuously detachable on a neighborhood of and:
On a neighborhood where is continuously detachable, the two one-sided detachments agree at every point (remark after Lemma 9), so is well defined there.
Proof
First direction. Since the detachments are constant and nonzero near , Lemma 9 makes strictly monotonic on a neighborhood of , hence invertible there. Second direction. A continuous function that is one-to-one on an interval is strictly monotonic there, so Lemma 9 applies again. In both cases, assume without loss of generality that is strictly increasing on an interval around . By continuity, is an interval with in its interior, and is strictly increasing on it, since . By Lemma 9, there.
Claim 13. Functional Power Rule. Given a base function , an exponent function , and a point in their definition domain, assume that the following conditions hold there:
-
The power function is well-defined; in particular near .
-
and are both detachable, and and are sign-consistent.
-
Either:
- , where or is s.c., or and , or:
- , where or is s.d.
Then the function is detachable there and:
As in Claim 5, the detachments are right detachments; on the left the second branch becomes .
Proof
The claim follows from these transitions:
The second transition holds because the exponential function is strictly increasing, and a strictly increasing outer function leaves detachments unchanged. The third is the product rule (Claim 5) applied to and . The fourth uses , which also makes s.c. or s.d. exactly when is, and , since the logarithm is strictly increasing. The last transition is Claim 5 again, applied to and , together with : subtracting a constant doesn’t change increments.
A simulation of the functional power rule is available here. This rule is another example of the detachment’s computational economy relative to the derivative sign. The power rule for derivatives produces a formula with logarithms and a division. The rule above looks more involved on paper because of its conditions, but it only compares signs, and depending on the setting it may be cheaper to compute.
Limits and Trends Evaluation Tools
The following statement expresses the trend through rates. It can be thought of as an interim step towards the familiar Calculus claims about classifying stationary points.
Claim 14. Corollary from Taylor Series. Let be times differentiable at , where is the order of the first derivative that doesn’t vanish there:
Then is detachable at , and
Proof
Taylor’s theorem with the Peano remainder gives
The remainder is eventually smaller in absolute value than the leading term, so for small the increment has the sign . For , , and the coefficient in the definition of the detachment adds one more factor of .
The hypothesis that some derivative doesn’t vanish can’t be dropped. The flat function (with value at ) is infinitely differentiable with all derivatives zero at the origin, so Claim 14 says nothing there, while its detachments are .
Remark
Claims 3, 5 and 6 (the sum and difference, product and quotient rules) impose varied conditions. When and are smooth enough, Claim 14 applied to the sum or product itself gives the answer without those conditions:
-
For the sum,
where is the smallest with at . An analogous statement holds for the difference .
-
For the product, is times the sign of , where, by Leibniz’s rule,
and is the smallest for which this sum doesn’t vanish at . All the middle terms of the sum matter: for at only the middle term of survives, and it gives , the minimum of . An analogous statement holds for the quotient .
For example, consider the functions and at . Claim 3 says nothing about , since . The first statement above, with , gives
Theorem 15. Analog to L’Hôpital Rule. Let be a pair of functions and a point in their definition domain. Assume that on one side of both functions are continuously detachable on some one-sided neighborhood, so that and exist. If and tend, as , to the same limit , then:
The one-sided detachments of each function agree at every point of such a neighborhood (remark after Lemma 9), so and are well defined there.
Proof
We prove a slightly more general claim. Let satisfy the same assumptions, with for all . Then
where if and if . The theorem is the case , where .
It suffices to prove the case and multiply. Write and focus on the right side. Suppose on some . By Lemma 9, is strictly increasing there, so as , decreases to its infimum over . If , that infimum is , so there and . If , the infimum is , and . If , is constant there, which forces when (and is impossible when ), so both sides vanish. The case is symmetric. On the left, tends to its supremum instead, which flips both signs; hence the factor .
Remark
-
Without the conditions of Claims 3 and 5, the sum and product of detachable functions aren’t even guaranteed to be detachable. For example, consider the pair of functions, right-detachable at :
Here rises from and drops from , but their sum and product oscillate and aren’t detachable at zero. Counterexamples exist even if we assume differentiability on top of detachability.
-
Dropping the continuity assumption on in Claim 11 may result in a non-detachable . For example, take and, at ,
Then is detachable at and is detachable at , but oscillates around near .
Calculating Instantaneous Trends in Practice
Let’s calculate detachments directly from the definition, or with Claim 14. In the following examples, the functions are continuous but not differentiable, discontinuous, or differentiable. As a side note, we’ll also examine a case where the trend doesn’t exist.
Let , which isn’t differentiable at zero. Since is a strictly increasing function of , we can drop the root and the absolute value inside the sign:
At zero the pair of one-sided detachments is , a strict minimum. At other points the detachment agrees with the derivative’s sign, as Theorem 10 predicts. The Weierstrass function, which is nowhere differentiable, can be shown by similar means to be detachable at infinitely many points.
Next, let (not to be confused with the sign inside the definition of the detachment), which is discontinuous at . Its trends follow from the definition at once:
The jump at is an upward passage, with the pair . The detachment records the direction of the jump and says nothing about its size, or about continuity.
Finally, let’s calculate trends with Claim 14, for functions differentiable enough times. These are the explicit calculations that Taylor-based theorems on classifying critical points usually leave implicit. For instance, consider . Its derivative vanishes at and . There and give:
So rises through , an inflection point, has a minimum at , where the pair is , and a maximum at , where it is .
A few quick ones to try. Find the pair for , for , and for the floor function , and name the local picture in each case.
Answers
For the pair is , a strict maximum without a derivative. For it is : the derivative at is zero, yet the function rises through . For , the value lies above the values just to the left and equals the values just to the right, so the pair is : the function rises into , then stays flat.
Remark
For completeness, let’s show that the trend doesn’t exist at for the function
Take the two sequences and , both tending to zero. Along them the sine is constant, and respectively, so the sign of the change is along the first and along the second. By Heine’s definition of the limit, isn’t detachable at . Indeed, this function has no instantaneous trend at .
Multivariable Semi-discrete Calculus
The detachment helps generalize a familiar integration algorithm, which originated in computer vision, to general continuous domains.
The Integral Image algorithm calculates sums over rectangles in images efficiently. It was introduced in 2001, in a prominent AI article ([36]). To integrate a function over a rectangle in the plane, it pre-calculates the antiderivative, and then, in real time, adds up its values at the rectangle’s corners with alternating signs. It can be thought of as an extension of the Fundamental Theorem of Calculus to the plane. The following theorem generalized it further in 2007 ([38]). In our preliminary discussion we introduced works that apply the instantaneous trend of change explicitly, either numerically or analytically. In the following theorem the detachment is used only implicitly.
Theorem 16. (Wang et al.) Let be a generalized rectangular domain (polyomino), and let admit an antiderivative Then:
where is the set of corners of , and takes values in and is determined by the type of corner that belongs to.
The derivative sign doesn’t reflect trends at cusp points such as corners, so it doesn’t classify corner types concisely. The detachment operator, in contrast, classifies corners, and thus defines the parameter coherently, independently of the curve’s parameterization. That’s a multidimensional version of our discussion above of how the two operators relate. Feel free to interact with the following widget to gain intuition regarding Theorem 16. The textboxes toggle the antiderivative at the annotated point, which is reflected in the highlighted domain. Watch the inclusion-exclusion principle in action as the domains finally aggregate to the domain bounded by the vertices. While this theorem is defined over continuous domains, it is limited to generalized rectangular ones. Let’s attempt to alleviate this limitation.
Interactive · A discrete Green's theorem
- counted +1, +2
- counted −1, −2
- Darker means counted more times
∬D f dx dy = F(J) − 2F(K) + F(L) − F(M) + F(N) − F(O) + F(P) + F(Q) − F(R)
- Σ α F over the chosen corners
- 0.0000
- ∬ of f, weighted by the shading
- 0.0000
- ∬D f
- 11.2627
Choose corners. Each one adds or removes the quadrant below and to its left.
Computed live for f(x, y) = 1.2 + 0.8 sin(0.9x + 0.4) cos(0.7y − 0.3), with F(x, y) = ∫0x∫0y f. The shading integral uses quadrature, not F.
We use the detachment to define an integration method that extends Theorem 16 to non-rectangular domains by combining it with the mean value theorem, as follows. Given a simple closed detachable curve , let be the region bounded by the curve. Let be a rectangular domain circumscribed by . Let be the sub-curves of between consecutive points where it touches . Let be the sub-domain bounded between and , let be its boundary, and let be the intersection of with the vertices of . By the mean value theorem in two dimensions, for each there is a point such that
where is the area of .
Our semi-discrete integration method accumulates a linear combination of the function and its antiderivative along the sub-domains , as follows:
Theorem 17. Let be a closed, bounded, and connected domain whose edge is detachable. Let be a continuous function that admits an antiderivative there. Then:
where is the vector of the antiderivative’s values at the vertices of the sub-domain , and is the vector obtained by applying a function to the detachments of the curve at those vertices. As above, is the area of and is its matching point from the mean value theorem for integrals. The function is constructed within the integration method (see [31]). The formula holds for any detachable division of the curve. We don’t assume that the curve’s parameterization is differentiable, only that the function is continuous in the union of the , so that the mean value theorem holds. Feel free to gain intuition from the following widget. Initially, the domain is rectangular: . Moving the vertices exposes the yellow sub-domains , whose areas are . The integral over is calculated by aggregating the antiderivative’s values at the vertices of each (the highlighted points in this diagram). The antiderivative values enter the sum with coefficients that are determined by the curve’s detachments at each vertex (the function ).
Interactive · Extended discrete Green's theorem
- positive tendency
- negative
- zero
- not calculated
- one side only (coefficient ½)
- sub-domain Di
(S)∮ F = −F(L′) + F(M′) − F(N) + F(N′) − F(O) + F(O′) + Σ ∬Di f
- Corner terms Σ α F
- 20.8756
- Sub-domains Σ ∬Di f
- 0.0000
- Sum
- 20.8756
- ∬ D f (Green, independent)
- 20.8756
All eight subcurves: corner terms + sub-domains = ∬ over D, to machine precision.
Computed live for f(x, y) = 1.2 + 0.8 sin(0.9x + 0.4) cos(0.7y − 0.3). Drag L′, M′, N′, O′ along their dotted lines, or use the sliders.
Application in Stochastic Processes
Modern Physics is abundant with phenomena described by functions that are continuous everywhere and differentiable nowhere. A prominent example is fluctuations, random invisible movements of objects in their seemingly steady state. These are studied in Thermodynamics and Quantum Mechanics, to mention a few fields. Another prominent example is Brownian motion, whose statistical model, the Wiener process, resembles fluctuations.
Several characterizations of this process have been suggested, and we’ll specify one of them. Its value adheres to the following:
- .
- has independent increments: for every , the future increments , , are independent of the past values , .
- has Gaussian increments: is normally distributed with mean and variance .
- has continuous paths: is continuous in .
This characterization of the Wiener process results in the following qualitative properties, which hold almost surely, as stated here:
- For every , the function takes both (strictly) positive and (strictly) negative values on .
- The function is continuous everywhere but differentiable nowhere.
- Points of local maximum of the function are a dense countable set.
- The function has no points of local increase, that is, no satisfies the following for some in : first, for all in , and, second, for all in . (Local increase is a weaker condition than being increasing on .) The same holds for local decrease.
Note how we can restate these properties in terms of the detachment operator:
“The function is continuous everywhere but detachable only at its dense countable local optima.”
Here "detachable" means from both sides, and the restatement follows from the nine local pictures. A path of Brownian motion is constant on no interval, which rules out every picture with a in it. It has no points of local increase or decrease, which rules out and . Only the strict minimum and the strict maximum remain, and the local extrema of a Brownian path are strict, so it is detachable at each of them. The minima, like the maxima, form a dense countable set.
This description is more concise than the former. It also asserts that a property (detachability) holds on a dense subset (the local optima), instead of asserting that differentiability fails everywhere.
On top of its theoretical rigor, the numerical detachment also ran noticeably faster than the numerical derivative in our experiments on detecting fluctuations.
Summary
This was a short Semi-discrete Calculus tour where we presented the main definitions and results. The detachment answers a question the derivative answers only indirectly: on each side of a point, are the nearby values above, at, or below the value at the point? Where the derivative is nonzero, the two agree. Where it vanishes, blows up, or doesn’t exist, the detachment still gives an answer, and the rules above let us compute it. Hope you’ve learned and enjoyed it. Good luck with your Calculus adventures and stay safe!
References
[1] Dan Alistarh, Demjan Grubic, Jerry Li, Ryota Tomioka, and Milan Vojnovic. Qsgd: Communication-ecient sgd via gradient quantization and encoding. In Advances in Neural Information Processing Systems, pages 1709-1720, 2017.
[2] Marcin Andrychowicz, Misha Denil, Sergio Gomez, Matthew W Hoffman, David Pfau, Tom Schaul, Brendan Shillingford, and Nando De Freitas. Learning to learn by gradient descent by gradient descent. In Advances in neural information processing systems, pages 3981-3989, 2016.
[3] Sven Behnke. Hierarchical neural networks for image interpretation, volume 2766. Springer, 2003.
[4] Jeffrey Byrne. Nested motion descriptors. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 502-510, 2015.
[5] Zhixiang Chen, Xin Yuan, Jiwen Lu, Qi Tian, and Jie Zhou. Deep hashing via discrepancy minimization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 6838-6847, 2018.
[6] Kai Fan. Unifying the stochastic spectral descent for restricted boltzmann machines with bernoulli or gaussian inputs. arXiv preprint arXiv:1703.09766, 2017.
[7] Mathias Gallardo, Daniel Pizarro, Adrien Bartoli, and Toby Collins. Shape-from-template in flatland. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2847-2854, 2015.
[8] Yaroslav Ganin and Victor Lempitsky. Unsupervised domain adaptation by backpropagation. In International conference on machine learning, pages 1180-1189, 2015.
[9] Amirata Ghorbani, Abubakar Abid, and James Zou. Interpretation of neural networks is fragile. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 3681-3688, 2019.
[10] Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014.
[11] Zhe Hu, Sunghyun Cho, Jue Wang, and Ming-Hsuan Yang. Deblurring low-light images with light streaks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3382-3389, 2014.
[12] Itay Hubara, Matthieu Courbariaux, Daniel Soudry, Ran El-Yaniv, and Yoshua Bengio. Quantized neural networks: Training neural networks with low precision weights and activations. The Journal of Machine Learning Research, 18(1):6869-6898, 2017.
[13] Xiangyu Kong, Bo Xin, Yizhou Wang, and Gang Hua. Collaborative deep reinforcement learning for joint object search. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1695-1704, 2017.
[14] Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial examples in the physical world. arXiv preprint arXiv:1607.02533, 2016.
[15] Jean Lafond, Hoi-To Wai, and Eric Moulines. On the online frankwolfe algorithms for convex and non-convex optimizations. arXiv preprint arXiv:1510.01171, 2015.
[16] Debang Li, Huikai Wu, Junge Zhang, and Kaiqi Huang. A2-rl: Aesthetics aware reinforcement learning for image cropping. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 8193-8201, 2018.
[17] Wei Li and Xiaogang Wang. Locally aligned feature transforms across views. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3594-3601, 2013.
[18] Li Liu, Ling Shao, Fumin Shen, and Mengyang Yu. Discretely coding semantic rank orders for supervised image hashing. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1425-1434, 2017.
[19] Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. Deepfool: a simple and accurate method to fool deep neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2574-2582, 2016.
[20] Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, Jonathan Uesato, and Pascal Frossard. Robustness via curvature regularization, and vice versa. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 9078-9086, 2019.
[21] Ali Mousavi, Arian Maleki, Richard G Baraniuk, et al. Consistent parameter estimation for lasso and approximate message passing. The Annals of Statistics, 46(1):119-148, 2018.
[22] Vidhya Navalpakkam and Laurent Itti. Optimal cue selection strategy. In Advances in neural information processing systems, pages 987-994, 2006.
[23] Jinshan Pan, Zhouchen Lin, Zhixun Su, and Ming-Hsuan Yang. Robust kernel estimation with outliers handling for image deblurring. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2800-2808, 2016.
[24] Nicolas Papernot, Patrick McDaniel, Ananthram Swami, and Richard Harang. Crafting adversarial input sequences for recurrent neural networks. In MILCOM 2016-2016 IEEE Military Communications Conference, pages 49-54. IEEE, 2016.
[25] Ben Poole, Subhaneil Lahiri, Maithra Raghu, Jascha Sohl-Dickstein, and Surya Ganguli. Exponential expressivity in deep neural networks through transient chaos. In Advances in neural information processing systems, pages 3360-3368, 2016.
[26] Aaditya Ramdas and Aarti Singh. Algorithmic connections between active learning and stochastic convex optimization. In International Conference on Algorithmic Learning Theory, pages 339-353. Springer, 2013.
[27] Miriam Redi, Neil O’Hare, Rossano Schifanella, Michele Trevisiol, and Alejandro Jaimes. 6 seconds of sound and vision: Creativity in micro-videos. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4272-4279, 2014.
[28] Jaakko Riihimäki and Aki Vehtari. Gaussian processes with monotonicity information. In Proceedings of the thirteenth international conference on artificial intelligence and statistics, pages 645-652, 2010.
[29] Swami Sankaranarayanan, Arpit Jain, Rama Chellappa, and Ser Nam Lim. Regularizing deep networks using efficient layerwise adversarial training. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018.
[30] Hee Seok Lee and Kuoung Mu Lee. Simultaneous super-resolution of depth and images using a single camera. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 281-288, 2013.
[31] Amir Shachar. Applying semi-discrete operators to calculus. arXiv preprint arXiv:1012.5751, 2010.
[32] Eero Siivola, Aki Vehtari, Jarno Vanhatalo, Javier González, and Michael Riis Andersen. Correcting boundary over-exploration deficiencies in bayesian optimization with virtual derivative sign observations. In 2018 IEEE 28th International Workshop on Machine Learning for Signal Processing (MLSP), pages 1-6. IEEE, 2018.
[33] Michel Silva, Washington Ramos, Joao Ferreira, Felipe Chamone, Mario Campos, and Erickson R Nascimento. A weighted sparse sampling and smoothing frame transition approach for semantic fast-forward first-person videos. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2383-2392, 2018.
[34] Yansong Tang, Yi Tian, Jiwen Lu, Peiyang Li, and Jie Zhou. Deep progressive reinforcement learning for skeleton-based action recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5323-5332, 2018.
[35] Roberto Tron and Kostas Daniilidis. On the quotient representation for the essential manifold. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1574-1581, 2014.
[36] Paul Viola and Michael Jones. Rapid object detection using a boosted cascade of simple features. In Proceedings of the 2001 IEEE computer society conference on computer vision and pattern recognition. CVPR 2001, volume 1, pages II. IEEE, 2001.
[37] Haohan Wang and Bhiksha Raj. On the origin of deep learning. arXiv preprint arXiv:1702.07800, 2017.
[38] Xiaogang Wang, Gianfranco Doretto, Thomas Sebastian, Jens Rittscher, and Peter Tu. Shape and appearance context modeling. In 2007 ieee 11th international conference on computer vision, pages 18. Ieee, 2007.
[39] Wei Wen, Cong Xu, Feng Yan, Chunpeng Wu, Yandan Wang, Yiran Chen, and Hai Li. Terngrad: Ternary gradients to reduce communication in distributed deep learning. In Advances in neural information processing systems, pages 1509-1519, 2017.
[40] Shaodan Zhai, Tian Xia, Ming Tan, and Shaojun Wang. Direct 0-1 loss minimization and margin maximization with boosting. In Advances in Neural Information Processing Systems, pages 872-880, 2013.
[41] Yu Zhu, Yanning Zhang, Boyan Bonev, and Alan L Yuille. Modeling deformable gradient compositions for single-image super-resolution. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5417-5425, 2015.
[42] Sachin Ravi and Hugo Larochelle. Optimization as a model for few-shot learning. 2016.
[43] Bernhard Riemann. Uber die Darstellbarkeit einer Function durch eine trigonometrische Reihe, Gott. Abh. (1854/1868); also in: Gesammelte Mathematische Werke, Springer-Verlag, Berlin 1990, 259–296.