Every researcher has one experiment that refuses to give the result they wanted. Mine is the ablation on curvature and torsion. It took four rewrites before the comparison was honest, and the honest version is less flattering than the first three.
The claim under test
The claim was specific and falsifiable: geometric descriptors of a reconstructed order-flow trajectory carry information that a decent set of engineered features does not. If true, dropping the geometric block should cost more accuracy than dropping any single engineered block.
Version one, and why it was worthless
The first version compared a full model against a model with the geometric block removed, using the same train and test windows. The geometric model won by a comfortable margin and I nearly published it.
The problem was in the normalisation. The arc-length resampler centred each window on its own median price. Curvature and torsion are invariant to translation, so that should not matter. But the resampler also scaled each window to unit variance, and torsion is not scale invariant: it scales as . The descriptor was carrying window volatility, a feature already in the engineered block, wearing a geometric costume.
The leak test
The fix was procedural rather than mathematical. Before trusting any ablation, run each descriptor block through a leak test:
def leak_test(block, target, control):
"""Block must not beat `control` at predicting something it should not know."""
score_block = cv_auc(block, target)
score_control = cv_auc(control, target)
# If the block predicts the control's own summary, it is leaking.
assert score_block - score_control < 0.02, f"block leaks: {score_block:.3f} vs {score_control:.3f}"
Here target was realised volatility over the same window, and control was the engineered volatility feature. The geometric block scored 0.09 AUC above control, which is the leak, stated numerically.
What the honest comparison showed
After the resampler was replaced with a strictly translation and scale invariant one (resample by arc length, never standardise, feed raw curvature and torsion with an explicit term), the margin collapsed.
| Removed block | AUC drop | 95% interval |
|---|---|---|
| Geometric | 0.041 | 0.028 - 0.055 |
| Order-flow imbalance | 0.033 | 0.019 - 0.047 |
| Microprice deviation | 0.021 | 0.011 - 0.032 |
| Lagged returns | 0.014 | 0.006 - 0.023 |
Geometry still wins, but by 0.008 AUC over the next best block, not by the 0.06 I had in the flawed version. That is a real effect with a small effect size, and it is only visible once the descriptor stops encoding the thing it was supposed to be independent of.
The lesson I keep re-learning
Invariance claims are only as good as the pipeline that produces the inputs. Torsion is invariant to rotation and translation, and it is emphatically not invariant to the scale of the window it is measured on. Writing the invariance down as a symbol is not the same as enforcing it in code.
The next step is to take the same discipline to the market-state classifier, where I suspect a similar leak is hiding in the window-length normalisation.
Cite this entry
Copy the block you need.
@misc{huang2026ablationstudieshow,
author = {Mr Huang},
title = {Ablation Studies: How I Proved Geometry Is Not Just Another Feature},
year = {2026},
url = {https://selfevo.dev/en/research/logs/ablation-geometry-vs-feature},
note = {selfevo, research}
} TY - GEN
AU - Mr Huang
TI - Ablation Studies: How I Proved Geometry Is Not Just Another Feature
PY - 2026
UR - https://selfevo.dev/en/research/logs/ablation-geometry-vs-feature
PB - selfevo
ER - Mr Huang (2026). Ablation Studies: How I Proved Geometry Is Not Just Another Feature. selfevo. https://selfevo.dev/en/research/logs/ablation-geometry-vs-feature