Nilotpal Chakraborty

What a result is entitled to claim

Five times now, a number that was perfectly computable has turned out to mean nothing. You can take an L2 error on it and get a real figure. The figure answers no question anybody has.

5computable numbers that turned out to mean nothing
22×how far one metric moved on a modelling choice, while erosion moved 2%
2.7×difference in the dust an experiment would be fed, from one unstated convention
211,000parcels, which moved the ratio the wrong way

A residual tells you an iteration stopped moving, not that it stopped at the right answer. An accuracy score tells you a classifier agrees with the majority class, not that it is useful. In both cases the easy number is not the deciding one. Working out which quantity a comparison can be scored on has to happen before the comparison, not after somebody disputes it.

This started as a one-off and turned into the thing I am most often useful for. The five below come from different codes and different physical quantities, and two of them were in work that was not mine.

Five quantities that could not carry the claim

1. Counting rows instead of events. A solver logs one row per particle-wall contact per timestep, so a particle grazing along a surface writes a row every step it stays in contact. One surface showed 5,866 impact rows and about 130 distinct spots. Any count built on rows is a function of the timestep. The rate is not.

2. A metric set by an arbitrary cutoff rather than by physics. Comparing two particle-wall models across nine stations, the mass arriving at the wall agreed to within 1% and two independent erosion correlations agreed to the same, while the particle count disagreed by about half. The count is dominated by the smallest fragments, and where you stop tracking them is a modelling choice. Move that cutoff from one micron to four and the count moves by a factor of 22 while erosion moves under 2%. I assumed for a while that this was a sampling problem. Raising the parcel count from 6,300 to 211,000 moved the ratio the wrong way.

One modelling choice, two very different sensitivities Moving the smallest-fragment tracking cutoff from one micron to four microns multiplies the reported particle count by 22, while erosion moves by a factor of 1.004. Bars are drawn to scale from a multiplier of zero. cutoff moved from 1 to 4 microns particle count ×22 erosion ×1.004 no change ×5 ×10 ×15 ×20 factor by which the quantity moves
The count is dominated by the smallest fragments, and where you stop tracking them is a modelling choice rather than a physical quantity. So the reference is not self-consistent in it: at a 2 µm cutoff, 75% of the reported number rate comes from the 1.3% of mass below 3.5 µm. I assumed for a while that the residual disagreement was sampling noise. Raising the parcel count from 6,300 to 211,000 moved the ratio monotonically the wrong way.

3. The same symbol meaning two different things. A team question list asked how impact patterns vary below a Stokes number of 10. In this flow the Stokes drag assumption breaks down, and the corrected and uncorrected definitions differ by a factor of 2 to 12. So "below 10" meant particles under 13 microns or under 35 microns depending on which was meant, a 2.7-fold difference in the dust an experiment would have to be fed. Nobody had said which. Applying the correction is post-processing and costs nothing; noticing that it mattered was the work.

4. One of my own scripts printing something it was not entitled to print. A force-decomposition tool reported an implied slip velocity and an implied Reynolds number by inverting Stokes drag from the measured residual. Where the real drag is stronger than Stokes by a known factor, both outputs overshoot by that factor. It printed 1444 m/s and Re 5465 where the physical values are about 170 m/s and Re 650. The fix went in the documentation rather than the code: a line saying do not quote these two numbers.

5. A value censored by its own definition. Comparing a reduced-order model against tracked data, one case had the footprint running off the back of the blade. The extracted position is a percentile of a quantity defined only on the blade, so it pins near 1.0 by construction. The number exists and is computable. It is not a measurement, and including it would have flattered both models being compared.

The pattern in all five: the quantity that was easiest to compute was the one least connected to the physics. Two were in somebody else’s work, one was in a published convention, and one was in my own output.

The same discipline where the ground truth is available

Two small machine-learning projects where the same reasoning is checkable end to end, because the labels are known.

The model that wins on F1 is not the one to deploy

SMS spam detection: 5,572 messages, 13.4% spam. Classical TF–IDF baselines against a fine-tuned DistilBERT, same split, same protocol.

ModelPrecisionRecallF1Accuracy
TF–IDF + logistic regression1.000.830.910.98
TF–IDF + naive Bayes0.980.850.910.98
Logistic regression, threshold tuned0.970.890.930.98
DistilBERT0.980.970.970.99

Every model scores 0.98–0.99 accuracy while recall ranges from 0.83 to 0.97, which is the first thing worth noticing: at 13% positives, accuracy separates nothing. A model that predicts "not spam" every time scores 0.866.

DistilBERT wins on recall and F1, and the margin is real, 0.83 to 0.97 is about 21 more spam messages caught out of 149. But translated into messages on the test set:

Spam caught (of 149)Legitimate messages misfiled (of 966)
Logistic regression1240
DistilBERT~145~3

Logistic regression is at precision 1.00, it never touches a real message. DistilBERT catches 21 more spam messages and introduces an error class the baseline does not have at all.

Those two mistakes are not worth the same. A spam message in the inbox is deleted in a second. A real message silently moved to a spam folder can be missed entirely: a verification code, an appointment, a person. If the cost ratio is anything like ten to one, the baseline's error profile is the better one despite losing on every headline metric.

F1 weights precision and recall equally. That is an assumption about the application, and here it is the wrong one. The metric has to come from the cost of each mistake before the model comparison means anything.

Model ranking depends on the operating point

Customer churn on the IBM Telco dataset, ~27% churn. Logistic regression, a decision tree and a random forest through one preprocessing pipeline, with the transformer fitted inside cross-validation so the test split does not leak into the fit.

ModelROC AUCF1 (churn)
Logistic regression0.840.61
Decision tree0.830.61
Random forest0.840.55

At the default threshold, logistic regression wins. Similar ROC AUC across all three says they rank churn risk about equally well, so the difference is where each puts its decision boundary, a threshold question rather than a model question. Lowering the threshold from 0.5 to 0.3:

At threshold 0.3PrecisionRecallF1
Logistic regression0.410.93lower than at 0.5
Random forest0.520.780.63

The ranking flips. The random forest looked worse at the default threshold and is better at the operating point a business would actually choose.

Model selection and threshold selection are one decision, not two. Evaluating at 0.5 alone would have picked the wrong model, and 0.5 is a default, not a choice anyone made.

The error analysis is the part I would carry into a surrogate. The random forest's mistakes are not scattered: they concentrate in month-to-month contracts, at moderate-to-high tenure rather than among new customers, at an above-average monthly charge. That is a coherent segment whose churn driver is not in the dataset. More model capacity will not fix it; more features would. Knowing which of those two you are looking at is the whole game.

What this has to do with solvers

A manufactured solution lets you measure a solver's error instead of inferring it from a residual, and that is why my Poisson study uses one: the observed order of accuracy comes out at 2.06 against a formal 2, which is checkable rather than asserted. Held-out conditions and conservation checks do the same job for a surrogate.

The failure mode I care about is the quiet one. A solver that diverges has told you something. A solver that converges to a plausible wrong answer has not, and neither has a surrogate that interpolates beautifully inside its training envelope and is confidently wrong outside it. Both need an external reference and someone willing to go looking.

The code