Ablation Studies: How I Proved Geometry Is Not Just Another Feature

The result I did not want: curvature and torsion only beat the engineered features once the descriptor stopped leaking the price level.

Language versions [EN] [中文]
Cite

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 1/L1/L. 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 LL term), the margin collapsed.

Removed blockAUC drop95% interval
Geometric (κ,τ)(\kappa, \tau)0.0410.028 - 0.055
Order-flow imbalance0.0330.019 - 0.047
Microprice deviation0.0210.011 - 0.032
Lagged returns0.0140.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.

Related reading

Video//1 min read

Walking a Frenet Frame Along a Reconstructed Order-Flow Curve

Screen walkthrough of the descriptor pipeline: arc-length resampling, the frame fit, and what changes when liquidity state turns.

Cite this entry

Copy the block you need.

BibTeX
@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}
}
RIS
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  - 
APA
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