NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Correct Only When Confident: Gated Pile-Up Correction for High-Throughput Nanoindentation

Nanoindentation presses a sharp diamond tip into a material and records load against depth. Hardness and stiffness are computed from that curve, and both depend on the contact area between tip and sample, which is inferred from depth alone. When a soft metal flows up around the tip ("pile-up"), the true contact is larger than the inferred one, so hardness and modulus come out too high. The usual fixes sit at two extremes. One ignores the problem. The other images every indent with a profilometer or atomic force microscope and corrects them all. Imaging every indent is slow. Applying a cheap correction everywhere is also harmful, because many materials do not pile up, and correcting them pushes hardness too low. Text correction faced the same structure years ago. Most words in a sentence are already right, so a corrector that edits whenever its guess is marginally better damages good text. The fix there was a margin test: accept an edit only if it beats the original by a set amount.

We propose to carry that margin test into indentation analysis. For each indent, a cheap model reads only the load–depth curve and predicts how far the true contact area departs from the standard estimate, together with an uncertainty. The pipeline then makes one of three choices. It keeps the standard value when the predicted departure is not confidently larger than a margin. It applies the cheap correction when the departure is confidently large. It sends the indent to the profilometer when the model cannot tell. The margin is tuned to the downstream cost of errors, not to symmetric accuracy. The claim is that this gate matches all-indent profilometry on hardness accuracy and on alloy-search outcomes while imaging only a fraction of indents. We also claim it beats both "never correct" and "always correct" by a measurable margin.

Core Claim

In the Oliver–Pharr analysis, hardness is $H = P/A_c$ and reduced modulus scales as $E_r \propto S/\sqrt{A_c}$. Here $P$ is load, $S$ the unloading slope, and $A_c$ the contact area inferred from depth. As the summary of Tsui, Oliver and Pharr's work in Abstracts for March 1996 Journal of Materials Research notes, pile-up makes the true area larger than $A_c$. Both properties are therefore inflated. Let $r = A_{true}/A_c$. A predictor $f$ maps curve-derived features $x$ to a predictive distribution over $r$. Two features are especially useful. The ratio of residual to maximum depth is one. The other is the area-free combination $P/S^2 \propto H/E_r^2$, which follows directly from the two equations above. The decision rule is

$$\text{correct if } q_{\alpha}(r \mid x) - 1 > \Delta, \qquad \text{keep if } q_{1-\alpha}(r \mid x) - 1 < \Delta, \qquad \text{otherwise measure},$$

where $q_\alpha$ is the $\alpha$-quantile of the predicted ratio, $\Delta$ is the margin, and a mirrored rule handles sink-in ($r<1$).

This is the relative test of A Beam-Search Decoder for Grammatical Error Correction, in which an edit is accepted only if its score beats the original's by $\Delta$. The third option, sending uncertain cases to the gold-standard measurement, is added because indentation, unlike text, has an expensive oracle available on demand. The new element is not "apply ML to indentation." It is the claim that the default estimate should be protected, and correction treated as a hypothesis that must clear a cost-calibrated bar.

Why this intersection, and what prior work leaves open

Three lines of indentation work motivate the gap, because each applies its correction without a rule for when to apply it. Two-Shot Optimization of Compositionally Complex Refractory Alloys runs profilometry on every indent in the Ti-V-Nb-Mo-Hf-Ta-W system before Bayesian optimization. This is our gold standard, and it is also the cost we want to cut. An abnormal displacement change during holding period in nanoindentation tests on zirconia dental ceramic applies a linear depth correction $A+Bt$ to holding-period retraction in zirconia. The correction is switched on by a fixed loading-time rule ($t_L < 90$ s). Applied to ordinary creep, the same correction would distort valid data, which is exactly the over-correction failure. Calibration and data-analysis routines for nanoindentation with spherical tips makes tip radius and machine stiffness load-dependent and fits the zero point against a Hertzian model. That work supplies a clean, calibrated input to our pipeline, but it corrects every curve deterministically.

The text-correction work supplies the method and sets expectations. The Unreasonable Effectiveness of Transformer Language Models in Grammatical Error Correction and Language Model Based Grammatical Error Correction without Annotated Training Data accept an edit only if a pretrained scorer prefers it by a threshold. This shows that a margin over a weak scorer can compete with supervised systems when labels are scarce, which is also the situation in indentation. Grammatical Error Correction Using Feature Selection and Confidence Tuning shows that the best threshold depends on the asymmetry of the evaluation metric. We adopt that directly: $\Delta$ is tuned against a cost in which falsely high hardness is penalized more than falsely low hardness. The reason is that inflated hardness steers an alloy search toward fake high-performing compositions.

Bidirectional Transformer Reranker for Grammatical Error Correction acts as a constraint. Its gated reranker adds only 0.36 $F_{0.5}$ on CoNLL-2014 over T5-base, and it can never recover a correction missing from its candidate set. We take two lessons from it. First, gating is a precision tool with modest average gains. Second, the gate is only as good as the corrector it guards. That second lesson is why our design includes the measurement option, rather than trusting the cheap corrector alone.

Research Program

The work has three parts.

The first part is a paired dataset, since the file lists no public indentation benchmark. We will indent arrays on the reference materials used by Avadanii et al.: fused silica, sapphire and glassy carbon, where the standard estimate should be accurate. We will add pile-up-prone metals (tungsten and titanium, also from that study) and a set of refractory compositions from the BIRDSHOT alloy space of Paramore et al. Every indent will be imaged with profilometry to obtain $A_{true}$. Imaging everything is done only to create ground truth. At deployment, the gate decides what gets imaged.

The second part is the predictor and gate. The predictor is deliberately simple: a small gradient-boosted or Gaussian-process quantile model on curve features, calibrated by conformal prediction so that $q_\alpha$ has its stated coverage on held-out materials. The margin $\Delta$ and the quantile level $\alpha$ are tuned on development materials to minimize an asymmetric loss plus a per-image cost.

The third part is a second testbed that checks the idea is not specific to pile-up. It applies the same gate to the zirconia holding-period correction, deciding from the holding segment whether retraction or genuine creep dominates. The loading-time rule is replaced by a confidence test.

Baselines

The naive reference is uncorrected Oliver–Pharr analysis on every indent. It measures how much error pile-up actually causes on our materials. If the error is small, the whole problem is minor and we will report that.

The strongest existing method is all-indent profilometry correction as in Two-Shot Optimization of Compositionally Complex Refractory Alloys. It is run on the same indents, with the same instrument and the same area-extraction software. It defines the accuracy ceiling and the full imaging cost. That paper reports a 54% hypervolume increase between optimization rounds. There is no reported result found on Lacuna for per-indent hardness error after pile-up correction, or for any gated correction scheme, so the accuracy target comes from our own ground truth. Beating this baseline means matching its hardness error within the scatter of repeat indents, and matching its downstream alloy ranking, while imaging at most roughly a third of indents.

Two further baselines are always-apply-the-cheap-correction, which is the "argmax" analogue, and a fixed physical heuristic that corrects when the residual-to-maximum depth ratio exceeds a set cutoff. The heuristic is the natural analogue of Zhang et al.'s loading-time rule. Both use the same predictor and features as the gate, so the comparison isolates the decision rule.

Three ablations isolate the key ingredients. Setting $\Delta=0$ tests whether the margin matters. Removing the measure option tests the value of abstention. Tuning with a symmetric rather than asymmetric loss tests whether cost-aware thresholds matter. Finally, random imaging of the same fraction of indents, with the cheap correction applied everywhere else, gives an equal-budget control. All methods share one tuning split and one held-out-material test split.

Why not just…?

Why not just image every indent? Where throughput is not a constraint, one should. Paramore et al. do this, and it serves as our ceiling. The case for gating rests on the imaging fraction needed to reach ceiling accuracy. If our experiments show that reaching ceiling accuracy requires imaging most indents, the gate adds nothing, and we will say so.

Why not just use a fixed physical cutoff such as the depth-ratio rule? This is the most serious threat. A single well-chosen cutoff may capture most of the benefit. The proposal differs in two ways. It calibrates uncertainty across material classes, and it offers an abstain-and-measure option. The heuristic baseline is run with its cutoff tuned on the same split. If the heuristic matches the gate on held-out materials, the contribution shrinks to "tune the cutoff under asymmetric cost." That would still be a useful but smaller result, and we would report it that way.

Why not just train a supervised regressor to predict the corrected area and always use it? The gate is wrapped around exactly such a regressor, so the comparison is direct. The always-apply baseline shows the cost of trusting the regressor on materials that do not pile up. The text-correction evidence from Dahlmeier and Ng and from Alikaniotis and Raheja is that unconditional acceptance of a scorer's preference causes false edits. The equivalent here is artificially low hardness on sink-in materials, which is measurable against profilometry.

Decisive Checks

The first check is the accuracy–cost curve on held-out materials. Sweeping $\Delta$ and $\alpha$ gives hardness error against imaging fraction. The gate must dominate both the random-imaging control and the tuned heuristic over a meaningful range.

The second check is false-correction rate on fused silica and sapphire. There, correction should almost never fire, and always-correct should visibly underestimate hardness.

The third check is a downstream replay. We rerun the two-round alloy search of Paramore et al. offline using, in turn, uncorrected, always-corrected, gated and fully profiled hardness values. We then measure how often inflated values push false compositions onto the Pareto front, the set of alloys not beaten on every objective by another alloy.

The fourth check uses zirconia. The gated $A+Bt$ correction should reproduce the reported rate-independent hardness of 18.3 ± 0.5 GPa across loading times, without using the $t_L$ rule, while leaving creep-dominated holds uncorrected.