← News
Tech for Good Tech for Good Frontiers

A regression model that can answer before it finishes training

A regression model that can answer before it finishes training
6 Functions Benchmark functions
3 To 8 Dimensions Test dimensions
Noiseless, Denser Data Accuracy edge
More Than 95% uncertainty coverage
1,000 To 10,000 Times Faster first prediction speed

A robot exploring a damaged building may need to choose its next move before a model has time to retrain. Diona is designed for that moment: after new samples arrive, it can produce a prediction through a small local optimisation rather than waiting for a global training run. In the paper’s benchmark, its first prediction came three to four orders of magnitude sooner than a Gaussian process, and two to three orders sooner than a neural network. That speed does not make Diona universally better. Its advantage matters when data changes often and only a relatively small number of predictions are needed before the next update.

That is a particular, consequential problem. A model can be accurate on average and still be awkward in a setting where new measurements should immediately change what a machine does next. A search robot, a sensor network, or an engineer steering an expensive simulation may care not only about what the model predicts, but how quickly it can respond—and how uncertain it is about the answer.

Diona, short for Direct Inference on Admissible Sets, takes a different route to a prediction. It does not first train a single global model to represent the whole unknown function. Instead it asks: given the samples near this query point, and given a stated limit on how sharply the function’s curvature can change, what values and slopes are still mathematically compatible with what we know? The resulting range is an uncertainty bound, not just a confidence-sounding decoration around a point estimate.

The Science

Many prediction methods compress the observed data into a chosen representation. A Gaussian process uses a kernel to describe how nearby points relate; a neural network learns parameters in a selected architecture. Those approaches can be powerful, but changing the data may call for a new training or update step. Diona instead reconstructs the local possibilities at the point where a prediction is requested. Its ancestors include set-membership estimation and “kinky inference,” approaches that bound possible functions rather than assuming one particular functional form.

The starting point is modest: the method assumes access to function values at sampled locations, not to the function’s derivatives. It also assumes that the function’s Hessian—the matrix of second derivatives, which describes local curvature—does not change too abruptly. More precisely, the Hessian is assumed to be Lipschitz-continuous: as you move through the input space, curvature can change, but no faster than a known constant allows. The constant is called the Hessian Lipschitz constant. It is a powerful assumption, and a practical complication: in many real applications, it will not be known in advance.

Imagine a query point surrounded by nearby measurements. A Taylor expansion relates the unknown value at the query to the observed values and to latent gradients and Hessians at the samples. A Taylor expansion is a local approximation: value plus slope plus curvature, with a remainder term that grows according to how far away the sample is and how quickly curvature can vary. Diona turns those relationships into linear inequalities in the unknown values and derivatives. The expressions involve curved-function approximations, but the unknowns enter linearly, so the admissible possibilities can be found with linear programming.

The result is a set of triples: each triple contains a candidate function value, gradient, and Hessian at the query. The algorithm projects that set onto the quantity of interest, then finds its lower and upper bounds. Diona reports the midpoint as its point estimate and the width of the interval as uncertainty. It can do the same for derivatives. In plain terms, the method does not merely ask “What is the best guess?” It asks “What is the full range of answers consistent with the samples and the smoothness assumption?”

Figure 1: 1-dimensional visualisation of Hessian Lipschitz-based Diona uncertainty 
bounds from noiseless samples, with u(x)=sin(2x)+0.3x2, in comparison with 
a value Lipschitz-based NSM bounds.
Figure 1: 1-dimensional visualisation of Hessian Lipschitz-based Diona uncertainty bounds from noiseless samples, with u(x)=sin(2x)+0.3x2, in comparison with a value Lipschitz-based NSM bounds. Source: Lorenzo Sabug, Eric Kerrigan

The paper’s one-dimensional illustration makes the difference from a simpler bound intuitive. A Lipschitz bound on values says, roughly, that a function cannot rise or fall faster than a specified rate. Such a bound expands linearly as one moves away from a known sample. Diona’s curvature-aware bounds use more structure: if curvature itself cannot change too quickly, neighbouring samples jointly constrain not just the height of a curve but its local bend. The illustrated example uses a sine wave plus a quadratic term and compares Diona’s bounds with nonlinear set-membership bounds based on value-level Lipschitz continuity.

That extra structure has a mathematical payoff. In the noiseless case, the worst-case uncertainty in the value shrinks in proportion to the cube of the neighbourhood radius; uncertainty in the gradient shrinks with its square, and uncertainty in the Hessian shrinks linearly. If the neighbourhood radius is halved, the value bound tightens eightfold. That is a statement about the theoretical bound under the paper’s assumptions, not a guarantee that every real-world prediction becomes eight times more accurate when samples are added.

What They Found

The theory gives two central guarantees. First, when the smoothness and noise bounds are valid, the true value and derivatives fall inside the admissible set for any finite sample set. This is called finite-sample coverage: the interval is designed to contain the truth, not merely to behave well on average. Second, with noiseless measurements and samples becoming dense throughout the region, the admissible set contracts to the true value and derivatives at an interior query point.

The word “valid” matters. Coverage depends on a correct upper bound for how fast the Hessian can change and a correct bound on measurement noise. If those constants are underestimated, the formal containment guarantee no longer applies. The authors propose estimating the constants from data when they are not known, but explicitly note that this practical workaround voids the formal guarantee. A method can be useful beyond its theorem; it should not claim the theorem still applies unchanged.

The empirical test covers six nonlinear benchmark functions with between three and eight dimensions. On noiseless data, Diona was more accurate than a Gaussian process, particularly on the denser data sets. Its bounds contained the true value at more than 95% of query points in four of the six functions, a coverage result the authors describe as similar to the GP. The abstract does not give the exact coverage percentages for each function, so the result is best read as evidence of strong coverage on most—but not all—of the tested functions, rather than a universal 95% guarantee.

Where reported coverage exceeded 95%

Among six nonlinear benchmark functions, the paper reports true-value coverage above 95% at query points for four. The remaining two are shown as functions not reported to meet that threshold; this does not imply zero coverage.

Where reported coverage exceeded 95%
LabelValue
Reported above 95%4 functions
Other benchmark functions2 functions

That distinction is important for anyone using uncertainty to guide exploration. A robot might choose its next measurement where uncertainty is high; a system that reports bounds that are too narrow could send it confidently in the wrong direction. Diona’s interval is grounded in explicit smoothness and noise assumptions, which makes the assumptions visible and testable. But the benchmark also shows that reported coverage was not above the stated threshold in every function. The benchmark is an encouraging test, not proof that a bound will be calibrated in every domain.

Diona’s point estimates also have a condition attached. In noisy cases, its accuracy advantage over the Gaussian process disappeared, although the authors report that it remained competitive with other methods. That makes sense in light of the method’s reliance on local consistency: noise can obscure the curvature patterns that nearby samples are meant to reveal. The method includes a finite noise bound, but having a bound does not erase the information lost to noisy measurements.

The speed result is the headline, but it needs its denominator. Diona does not spend a long time training and then answer a large batch of queries cheaply. It solves a local problem for each query, on demand. In the reported comparisons, the time to a first prediction after a data update was three to four orders of magnitude shorter than the GP’s training time, and two to three orders shorter than the neural network’s. The neural network was more accurate in the benchmark, but did not provide uncertainty quantification.

Figure 4: Results: median per-query times vs training times
(a) Ishigami, (b) Park, (c) Friedman, (d) Hartmann, (e) Piston, (f) Rosenbrock. 
Diona (with zero training times) is placed to the left for comparative visualisation.
Figure 4: Results: median per-query times vs training times (a) Ishigami, (b) Park, (c) Friedman, (d) Hartmann, (e) Piston, (f) Rosenbrock. Diona (with zero training times) is placed to the left for comparative visualisation. Source: Lorenzo Sabug, Eric Kerrigan

The paper describes the trade-off as especially attractive when data sets evolve and only a few predictions are required between updates. If a system needs thousands or millions of predictions from an unchanged data set, the cost of Diona’s repeated local solves may matter more than its quick first response. Conversely, if every new measurement changes the next decision, waiting for a full retraining cycle can be the costly choice. The authors’ timing figure compares median per-query times with training times across the six named benchmark functions; the abstract reports relative orders of magnitude rather than exact durations.

Diona’s first-prediction latency advantage

Orders of magnitude by which Diona's time to a first prediction after a dataset update was shorter than comparison training time, as reported in the paper abstract. Bars show the stated lower and upper ends of each range, not absolute durations.

Diona’s first-prediction latency advantage
LabelValue
Compared with Gaussian process3 orders of magnitude
Compared with neural network2 orders of magnitude

The method also tries to make its local data informative enough to estimate both slope and curvature. It selects neighbouring samples whose geometry supports a well-conditioned fit, described as a “poised” set. In practice, finding an optimally small such set is combinatorial, so the implementation uses a greedy selection procedure. It also uses multiple passes to add redundancy, partly because a thin neighbourhood can fit a quadratic too neatly and make the estimated curvature-change constant look close to zero.

How uncertainty tightens as samples get closer

Theoretical noiseless radius scaling translated into the effect of halving the neighbourhood radius: value uncertainty scales with radius cubed, gradient uncertainty with radius squared, and Hessian uncertainty linearly.

How uncertainty tightens as samples get closer
LabelValue
Function value8 fold tighter
Gradient4 fold tighter
Hessian2 fold tighter

Why This Changes Things

Diona shifts the design question from “Which model should be trained?” toward “What can the nearby observations rule out?” That is more than a computational shortcut. When a model guides the next experiment or action, uncertainty is part of the decision itself. A prediction interval can tell an exploration system where a new measurement is valuable; an estimate that arrives immediately can let the system respond to a newly discovered obstacle, plume, or anomaly without waiting for a global fitting loop.

The paper’s strongest idea is that local curvature can make bounds contract faster than value-only smoothness bounds. For a fixed neighbourhood, samples constrain more than the possible height of the function. They also constrain how slopes and curvature could fit together. In the ideal noiseless theory, this produces cubic shrinkage of the value uncertainty with neighbourhood radius, rather than the linear growth-and-shrinkage associated with first-order Lipschitz reasoning. The exact benefit depends on the geometry and density of samples, captured by the poisedness condition: a cluster of points all lying in nearly the same direction may not reveal a multidimensional function’s curvature well.

This has potential in fields where sample acquisition is expensive or risky: robotic exploration, emergency response, sensor networks, and costly engineering simulations are examples named by the authors. In these settings, a model is not merely a report generator. Its uncertainty and update latency can influence where to measure next or what action to take. A tool that returns a defensible local range quickly could support a more responsive loop between sensing and decision-making.

But Diona is not a drop-in replacement for every predictive model. Its guarantee relies on smoothness that must be plausible for the system being modelled. Sharp discontinuities, abrupt regime shifts, or badly misspecified noise limits can break that story. There is also a tension in the derivative bounds: with noise, making the neighbourhood arbitrarily small does not always help. The paper’s theoretical diameter bounds show noise-related terms that grow as the radius shrinks for gradients and Hessians, so there is a scale at which localizing further can make derivative estimates worse.

How uncertainty tightens as samples get closer

Theoretical noiseless radius scaling translated into the effect of halving the neighbourhood radius: value uncertainty scales with radius cubed, gradient uncertainty with radius squared, and Hessian uncertainty linearly.

How uncertainty tightens as samples get closer
LabelValue
Function value8 fold tighter
Gradient4 fold tighter
Hessian2 fold tighter

That is why the comparison with neural networks and Gaussian processes is not a simple race. The neural network’s greater accuracy in the reported benchmark makes it a plausible choice when prediction quality dominates and a training cycle is acceptable. A GP offers uncertainty quantification with a different modelling framework. Diona’s niche is a particular combination: fast first response after updates, local inference, and bounds derived from stated regularity assumptions. Whether that niche matters depends on how often data change, how many queries follow each update, and how trustworthy the assumptions are.

What’s Next

The next step is testing Diona where the assumptions meet messy systems rather than benchmark functions. How well can practitioners estimate a Hessian Lipschitz constant from sparse, noisy measurements? How conservative must that estimate be to protect coverage without making intervals so wide that they no longer guide action? And how does the greedy neighbour-selection method behave when samples are unevenly distributed or the input dimension rises beyond the three-to-eight-dimensional benchmark?

Those are practical questions, not footnotes. The theoretical containment result is conditional on known valid bounds. Estimating those bounds from the same data used for prediction is useful, but it changes the status of the guarantee. The benchmark’s coverage result—above 95% at query points in four functions—suggests that the approach can work well in tested settings, while also leaving room to understand the two functions where that threshold was not reported as achieved.

The timing trade-off also calls for system-level trials. A local solve that is excellent for the first few decisions after an update may lose its advantage if a control system asks for a very large batch of predictions before the next update. Tests in active exploration could measure the quantity that matters most: not only prediction error or milliseconds per query, but whether faster, bounded predictions lead to better sampling choices or safer and more efficient actions.

Diona’s contribution is not that training is obsolete. It is that training is not the only way to turn data into a useful prediction. By treating nearby measurements as constraints on a family of possible local functions, the method offers a way to be quick without pretending uncertainty has disappeared. If future work can make its smoothness assumptions practical and its bounds reliable in noisy, changing environments, Diona could help close a familiar gap between learning from new information and acting on it.