WorksComputer Science
Curvature Mismatch and Local Errors in Galaxy Property Estimation
Abstract
Linear probes are widely used to evaluate learned representations and infer physical quantities from unlabelled data. The probe's predictions are from an affine function in ambient space restricted to the underlying representation, and consequently, even a representation that has complete information needed to predict a target can produce systematic probe errors when that information is encoded in a form inaccessible to the linear probe. Here we share that some of this probing error is due to the innate geometry of the manifold. Linear probes, when evaluated on a curved manifold, generally have a nonzero intrinsic Hessian (what we colloquially call "probe-facing curvature") given by , the manifold's second fundamental form dotted with the probe's normal component. We fit linear probes to galaxy embeddings from five pretrained encoders and intervene on this curvature term to evaluate its contribution to the probe performance. We find that keeping this inherited curvature improves the local fit where it matches the label's curvature. Removing the curvature component of the probe where it does not match the label curvature also provides improvements, and correcting it in every neighbourhood raises held-out local by 0.006 to 0.010 on galaxies, gaining more where the two curvatures disagree. We isolated these gains to be from the underlying geometry and not an automatic guarantee from least squares training.
Introduction
Linear probes evaluate learned representations by measuring how accurately targets can be recovered from frozen embeddings [1]. Local reliability matters in physical science, where probes infer quantities without direct measurements. For galaxy images, linear probes predict catalogue quantities such as magnitude, redshift and stellar mass [2], but aggregate scores alone do not characterize local prediction errors or explain their geometric origin [3]. We show that the inherited curvature from the evaluated representation can impact the performance of the linear probe and captures a local source of prediction error.
We contribute (i) an implementation and synthetic validation of decoder-based second-fundamental-form estimation for local probe analysis; (ii) the application of probe-facing curvature $\operatorname{Hess}_{\mathcal{M}}(w \cdot x) = to a fitted probe, with a residual expansion identifying its second-order approximation error; (iii) evidence from 86,471 galaxies and five encoders that embedding curvature can positively impact the probe performance in “lucky” geometry-alignment scenarios and hinder it when misalignment occurs; and (iv) a bend correction that lets the probe’s weight follow the manifold’s bending in each neighbourhood, raising held-out local more where that bending is misaligned with the label. Code, records and notebooks are at https://github.com/alutterb/galaxy-curvature.
Pointwise curvature from a decoder
Data. 86,471 galaxies from the AstroPT galaxy set [2] with catalogue labels (-band magnitude, photometric redshift, smooth fraction, stellar mass), embedded by a supervised ImageNet-21k ViT-B/16 (“ViT-B” below) and by four further encoders (Appendix § 8); embeddings from the Platonic Universe release [4]. We unit-normalize embeddings (data on ; for ViT-B).
Instrument. Let be the decoder of a plain auto-encoder (three hidden layers of width 250, SiLU), fit on 80% of rows; we evaluate curvature on held-out rows. We compute , metric , normal projector and second fundamental form , all by automatic differentiation [cf. 5, 6] at points where has full column rank . We differentiate the projected decoder , whose image lies on the unit sphere, so that splits exactly into the sphere’s universal radial part and an in-sphere shape part (Eq. (2)).
Validation. On a synthetic in-sphere surface at with closed-form (Appendix § 8), the decoder’s estimate matches the true in-sphere trace of in direction (cosine 0.999), magnitude (ratio 1.00) and rank across points (0.94); the full tensor has median cosine 0.96 (Appendix § 8).
Setup and notation
We assume the manifold hypothesis [7], that the embeddings lie near a smooth low-dimensional manifold.
Notation. Symbols used in the rest of the paper:
Manifold. is a smooth -dimensional manifold () with anchor , orthonormal tangent frame and normal coordinates (the chart), so [8], where is the normal-valued second fundamental form. On the sphere , with in-sphere shape part and trace . Numerically , ( in the orthonormal frame) and .
Probe. with ridge penalty ( pre-regularized; tuned); (tangent, normal) and , with and .
Curvatures. for a smooth target ; , the probe’s curvature (Eq. (1)), which splits as (Eq. (2)) into the shape term , set by how bends inside the sphere, and the sphere term , which every probe on the sphere carries and which depends only on the prediction; the mismatch ; , the part of left for to reproduce: with fixed, ; and the gain , positive when the probe’s bending lowers the curvature part of local error.
Inner product. and for symmetric 2-tensors, the metric’s version of the Frobenius inner product.
Patch and intervention. On a patch , is the mean of and the slope mismatch. scales by and refits ; over the neighbours, is the centred , the centred residual at , and .
Linear probe on a curved manifold
With this setup, we know three things. First, although the probe is affine in the ambient space, its restriction to is generally nonlinear in intrinsic coordinates:
where is the probe-facing curvature, a classical identity [9, 10]. Second, on the unit sphere it splits into an in-sphere shape term and a radial term:
Thus, the probe inherits intrinsic curvature from the geometry of the representation.
Third, on a patch of scale , for sufficiently smooth embedding and target functions with controlled higher derivatives (Appendix § 8),
The Hessian mismatch therefore determines the quadratic residual’s contribution to centred local error under this model. Relative to the zero-Hessian baseline , the probe reduces the quadratic contribution to local error if and only if . Hence must bend toward the target’s curvature, that is, lie closer to than does. With fixed, the corresponding condition for is . § 5 tests this relationship. Since the quadratic contribution scales as , our empirical analysis controls for variation in local neighbourhood scale.
We study the curvature term because it is the only one that sees the full tensor : is a first-derivative mismatch, and the bending reaches only through the trace of .
Experiments
We fit a five-fold out-of-fold ridge probe [1] at the pre-registered from embedding to label, score local inside each of 512 anchors’ 2,048-neighbourhoods, and compute each curvature quantity’s rank-partial Spearman against local with Freedman–Lane -values [11], controlling for log patch radius, local label variance and count and, stronger, log radius at five scales. We also report the tuned (Appendix § 8). We use percentage ranges (x%–y%) to indicate the smallest and largest values observed across pairings of encoders and labels.
Probe curvature mismatch with label curvature. Across anchors a larger mismatch goes with lower local for magnitude and redshift, but most of this is noise in the estimate of ; once it is removed only redshift keeps the association, and only at $\alpha=100 (Appendix B).
Keeping, removing or correcting the probe’s bending. We then ask what the probe’s bending does for its local fit. Holding the manifold and fixed, we score each anchor’s 2,048 neighbours with (§ 3). So keeps the the probe inherits from the manifold and removes it.
Because is refit, the local error is a parabola in : , minimised at , and beats (i.e. an intervention) exactly when . Across encoders and labels, beats at 79–99% of anchors; with the tuned probe, that range increases to 93–100%.
We then ask if an intervention on curvature improves where misalignment occurs between the manifold and the label curvature. Since we cannot directly compare II and , we compare with to remove the sphere part and then calculate the cosine similarity between and . At the tuned , an intervention improves over more often when there is misalignment compared to alignment. Among the top fifth misaligned regions of the manifold, intervention improves probe error on average 5.81% of the time compared to 2.03% of the time in the top fifth aligned areas. (See Appendix § 10 for full range of values).
The tuned probe can still gain from a weight that changes from one neighbourhood to the next. In each neighbourhood we fit a bend correction on half of the neighbours, a small ridge fit that moves the tuned probe’s weight along the decoder’s 136 bending directions (from ; Appendix § 11) with the slope held fixed, and score it on the other half. Held-out local rises by 0.0059 to 0.0095 on ViT-B. Under half of that gain is curvature, and that part is larger where the probe’s bend is less aligned with the label’s curvature (rank-partial Spearman −0.17 to −0.28 for three of four labels).
To separate the geometry from least squares (Figure 1), we keep the fitted weight and change only the bending it reads, rescaled to the same amplitude . With the fit identical, least squares has no reason to prefer one bending over another. First, we take from a distant anchor whose neighbourhood shares no galaxy with this one: the anchor’s own bending beats it at 82–99% of anchors. Second, we keep the anchor’s own form but rotate its tangent directions, so the sheet bends by the same amounts along the wrong directions: it then helps at 17–34% of anchors (3–9% at ), no more often than a random normal direction. So the gain depends on how the manifold bends at the anchor and along which directions, not only on the fitted weight.
Figure 1. The curvature the decoder measures at each galaxy is the curvature the fitted probe uses. With the probe’s weight fixed, we score each anchor’s 2,048 neighbours with its tangent and radial readout plus , for four quadratics of equal size. is the scale with the lowest squared error over those neighbours (the highest local ), and keeping fits better than removing it exactly when (vertical dotted line). Own bending, , peaks at : the label-free decoder gives the bend at the size the probe uses. A distant anchor’s peaks near : the curvature is local. The own form with its tangent frame rotated (same principal curvatures) peaks at 0: its directions matter. Grey: a random normal direction, for reference. Tuned probe, five encoders at , four labels.
Application to physical sciences. The curvature locates weak spots in a catalogue by neighbourhood. For catalogue work we suggest three rules. First, tune the ridge penalty. Areas where the manifold bending mismatches the label curvature requires the probe weight to compensate for the difference, and an overly aggressive penalty can prevent this correction. Second, remove the noise floor before reading a label’s local curvature. Third, read accuracy by neighbourhood, not only globally. Grouping anchors by their neighbours’ average -band magnitude, the third with the dimmest galaxies has local up to 0.22 lower than the brightest third, for three of the four labels, and most of that drop is the labels’ own noise, a larger share of their local variance there by 0.11 to 0.19 (Appendix B). So low accuracy on faint galaxies mostly reflects the catalogue, not the probe: it calls for better labels or wider error bars there.
Discussion
A linear probe on a curved embedding inherits a bend from the manifold, and we have shown that this curvature can help the probe’s performance when it aligns with the estimated label curvature and hinder it otherwise. We have also shown that when a probe is trained globally, the manifold fixes the probe’s bend in each local neighbourhood, and when the label’s curvature differs from that bend, it contributes to the probe’s local error.
These findings lead to three particular use cases: ensure the ridge penalty is tuned, as a strong penalty shrinks the probe’s bend most and keeps it from matching the label’s curvature; read accuracy by neighbourhood rather than globally, since the probe fits neighbourhoods of dim galaxies worst; and where a decoder is available, refine the probe’s estimates locally with the bend correction.
Limitations. We study one galaxy sample, four targets and five encoders. About half of the estimated is noise floor (Appendix B), and per-anchor residual curvature cannot rank single objects (split-half ). The intervention changes a local surrogate, not the encoder. Mismatch and alignment were defined after the pre-registered mean-curvature analysis and the intervention is exploratory; the permutation -values (* in the tables) and the intervention’s shares of anchors treat overlapping anchors as independent.
Acknowledgements
We would like to thank Stella Biderman and EleutherAI for their compute and infrastructure support.
association results on ViT-B and across encoders
Neighbourhoods and the label Hessian. We draw the 512 anchors from the rows the decoder never saw; each anchor’s neighbours are its nearest among all 86,471 galaxies by Euclidean distance between unit-normalized embeddings, that is, by cosine similarity. We estimate at each anchor by fitting a least-squares quadratic to the neighbours’ labels in the tangent-projected coordinates , whose Christoffel symbols vanish at the anchor, so the quadratic coefficient estimates the covariant Hessian in the small-neighbourhood limit.
Validation on a known surface. At the in-sphere surface ( inverse stereographic , four Gaussian bumps, a rotation) has closed-form curvature. The decoder’s in-sphere trace of II gives rank 0.94 against the true , direction cosine 0.999 and magnitude ratio 1.00. With six labels of known Hessian on the same surface (, ), the median tensor cosine of the decoder’s with the truth is 0.963–0.965 without noise and 0.67–0.84 with isotropic off-surface noise whose size is a quarter of the median patch radius. Mean curvature, the scalar usually reported, keeps only the trace of II and fails accordingly, since its association with readout accuracy changes sign with the sampling on the known surface and with the latent dimension on galaxies.
Penalties and encoders. Table 1 and Table 2 give the probe at the pre-registered and at the tuned , chosen per encoder and label by nested five-fold cross-validation (one-standard-error rule) before any geometry was computed at it; is 0.1 or 0.32 in every cell. Table 1 holds the ViT-B analysis at and repeats it with four further encoders from the Platonic Universe release: DINOv3 ViT-B/16, CLIP ViT-B, ConvNeXt-B and ViT-L (widths 768, 512, 1,024 and 1,024; all unit-normalized), each with a decoder of the same architecture and training protocol (seed 0). For magnitude and redshift the mismatch is negatively associated with local in all five encoders at both penalties; most of this association is the label-Hessian noise floor (Appendix B).
| label | quantity | ViT-B 100 | ViT-B | DINOv3 100 | DINOv3 | CLIP-B 100 | CLIP-B | ConvNeXt-B 100 | ConvNeXt-B | ViT-L 100 | ViT-L | † count 100 | † count |
| mag_r | mismatch | −0.30† | −0.24 | −0.58† | −0.58† | −0.29 | −0.34† | −0.33 | −0.16 | −0.45† | −0.49† | 3/0 | 3/0 |
| alignment | +0.35 | +0.34 | +0.53 | +0.54 | +0.32 | +0.53 | +0.21 | +0.31 | +0.13 | +0.33 | |||
| sphere | −0.26 | −0.23 | −0.31 | −0.31 | −0.40 | −0.26 | −0.24 | −0.34 | −0.08* | +0.17 | |||
| photo_z | mismatch | −0.39† | −0.45† | −0.60† | −0.62† | −0.42† | −0.41† | −0.46† | −0.34 | −0.44† | −0.49† | 5/0 | 4/0 |
| alignment | +0.26 | +0.25 | +0.33 | +0.39 | +0.06* | +0.09 | +0.22 | +0.50 | +0.14 | +0.41 | |||
| sphere | −0.33 | +0.04* | −0.21 | +0.01* | −0.29 | +0.21 | +0.46 | +0.03* | −0.44 | +0.12 | |||
| smooth_fraction | mismatch | −0.09* | −0.13 | −0.29 | −0.38† | −0.24 | −0.34 | −0.19 | −0.11 | +0.01* | −0.20 | 0/0 | 1/0 |
| alignment | +0.19 | +0.27 | −0.02* | −0.22 | +0.24 | +0.27 | +0.04* | +0.26 | +0.14 | −0.38 | |||
| sphere | −0.13 | −0.10 | −0.06* | −0.22 | +0.05* | −0.24 | −0.15 | −0.19 | −0.11 | −0.03* | |||
| stellar_mass | mismatch | +0.00* | +0.03* | +0.04* | −0.09 | −0.12 | −0.03* | −0.03* | −0.12 | −0.02* | −0.19 | 0/0 | 0/0 |
| alignment | +0.01* | +0.12 | −0.05* | +0.07* | −0.01* | −0.06* | +0.07* | +0.33 | −0.03* | +0.14 | |||
| sphere | −0.35 | −0.01* | −0.26 | −0.11 | −0.38 | +0.06* | −0.40 | +0.02* | −0.38 | −0.04* |
Table 1. Across encoders, , 512 anchors: rank-partial Spearman correlation with local under the multi-scale density control, of the mismatch , the alignment and the size of the sphere term. Each column pair gives the probe at the pre-registered , then at the tuned . * Not significant at 0.05. † For the mismatch, the 95% percentile interval of a cluster bootstrap excludes zero (the anchors cut into 32 blocks by average-linkage clustering on neighbourhood overlap, 2,000 resamples). The last pair counts the encoders whose mismatch partial is negative (−), and positive (+), with †. Before any mismatch was computed we fixed the bar for a claim at three negatives of five.
| label | quantity | ViT-B 100 | ViT-B | DINOv3 100 | DINOv3 | CLIP-B 100 | CLIP-B | ConvNeXt-B 100 | ConvNeXt-B | ViT-L 100 | ViT-L | count |
| mag_r | +0.06* | +0.16† | −0.05* | +0.02* | −0.07* | +0.14 | −0.08* | +0.14 | −0.08* | +0.01* | 0/0 1/1 | |
| +0.09 | +0.17† | −0.06* | +0.02* | −0.05* | +0.13† | −0.00* | +0.15† | −0.08* | +0.01* | 0/0 0/3 | ||
| split cos | +0.35 | +0.35 | +0.31 | +0.29 | +0.30 | |||||||
| photo_z | −0.22 | −0.24 | −0.35† | −0.36† | −0.20† | −0.16 | −0.29† | −0.12 | −0.09 | −0.02* | 3/0 1/0 | |
| −0.22† | −0.26† | −0.27† | −0.27† | −0.14 | −0.13 | −0.27† | −0.12 | −0.06* | +0.02* | 3/0 2/0 | ||
| split cos | +0.32 | +0.24 | +0.25 | +0.30 | +0.24 | |||||||
| smooth_fraction | +0.14 | +0.22 | −0.16 | −0.13 | −0.11 | −0.05* | −0.14 | +0.06* | +0.26 | +0.36 | 0/0 0/0 | |
| +0.11 | +0.20 | −0.13 | −0.09* | −0.06* | −0.02* | −0.13 | +0.04* | +0.21 | +0.28 | 0/0 0/0 | ||
| split cos | +0.33 | +0.31 | +0.28 | +0.32 | +0.30 | |||||||
| stellar_mass | +0.13 | +0.25† | −0.00* | −0.03* | −0.05* | +0.09 | +0.03* | +0.08* | +0.05* | +0.02* | 0/0 0/1 | |
| +0.14† | +0.22† | +0.04* | +0.01* | −0.02* | +0.11† | −0.01* | +0.08* | +0.08* | +0.04* | 0/1 0/2 | ||
| split cos | +0.31 | +0.22 | +0.19 | +0.29 | +0.21 |
Table 2. Association with local once the noise floor is removed, , 512 anchors, multi-scale density control: rank-partial Spearman of the label-Hessian norm less its HC2 floor, , and of the cross-fit product of the two half-patch fits. Split cos is the median cosine between and ; it does not depend on the probe. Column pairs, marks, counts and the bar as in Table 1.
Weak ridge. The plain associations do not need an underfitting probe: at (ViT-B; global up from 0.51 to 0.66) magnitude and redshift keep sign and significance (mismatch −0.25 to −0.50, alignment +0.26 to +0.47), and the tuned agrees (Table 1).
Derivation of Eq. (3). In the orthonormal frame ( at ) write the residual along as . The quadratic coefficient is because normal coordinates have vanishing Christoffel symbols at and (Eq. (1)); the controlled higher derivatives give . Exactly, . For the linear and quadratic parts are uncorrelated (odd moments vanish), and . The covariance of the linear part with the cubic part of is , and every other term is , which gives Eq. (3).
Appendix B: the label-Hessian noise floor (additional analyses)
Since is the Hessian of the residual , some association with local accuracy is expected by construction (Eq. (3)), but much of it is fitting noise. The probe’s barely enters it: over the 40 encoder, label and penalty cells at , the partials of and of the label-Hessian norm differ by a median 0.016 and correlate at 0.988.
The floor. The label Hessian is a least-squares quadratic on noisy labels. Conditional on the neighbours, let the label noise have mean zero and diagonal covariance , and let be the local quadratic design, with quadratic block , the Gram matrix of on quadratic coefficients and the noise-free Hessian. The fitted quadratic coefficients are , so but
( for homoscedastic noise). For fixed given the neighbours, carries the same term and has none, so the gain is floor-free. The upward bias of a squared estimate and its removal by products across independent halves are standard [12, 13]. We estimate the floor from the single fit’s residuals with the HC2 sandwich estimator of MacKinnon and White [1985], or cancel it with the cross-fit product of fits on two random halves of the patch. The same noise lowers local accuracy. With the projector onto the columns of , and the patch variance of , any probe quadratic in the chart on the patch has , with equality iff it equals the label’s local quadratic fit, since with the two parts orthogonal. Noisier labels thus raise and and lower before any geometry enters.
On galaxies. The cross-fit product puts the floor at 45–66% of (the median over anchors of ; median 0.51 over the 20 encoder-label cells), and the HC2 correction agrees with it (median ratio 0.95–1.04). is negatively associated with local , interval excluding zero, in 40 of 40 cells, and the bound holds at 98–100% of anchors at , where the probe is locally quadratic to within 1–4% of its error (not at ). With the floor removed (Table 2), magnitude keeps its association in no encoder, and redshift keeps it in three of five at and in at most two at . The cross-fit mismatch reads the same way: magnitude zero of five at both probes, redshift four of five at and two at . These nulls are the floor cancelling, not a loss of power, since the half-patch norm’s partial measure is more negative than the full patch’s in 38 of 40 cells. Both estimators count what the chart quadratic does not fit as floor.
Splitting the probe’s local error exactly, , with the last term split by the constant, linear and quadratic blocks of , gives at median shares of 0.69–0.79 for the label’s residual after its local quadratic, 0.01–0.04 for the probe’s off-quadratic part, −0.14 to −0.04 for their cross term, and 0.01–0.05, 0.09–0.22 and 0.10–0.15 for the constant, linear and quadratic parts of the mismatch; the last is an upper bound, because the fitted label quadratic carries noise. Floor-free, captures a median 0.11 () and 0.28 () of the corrected ; we call this ratio, , the capture. It cannot reach 1 here, because it sets the decoder’s against a Hessian fitted from data.
The linear floor on ViT-B. On ViT-B at we split the held-out error of each probe into what refitting an affine readout removes, what a flexible residual readout (near-OLS plus a kernel ridge fitted to its residual) removes beyond it, and the rest. Refitting removes 0.303–0.323 of the error of the probe and −0.000 to +0.001 of the error of a probe tuned by leave-one-out cross-validation ( or 0.001 by label, not the nested of Appendix A). The flexible readout removes a further 0.124–0.179 of the tuned probe’s error, an estimate of the linear floor, not a bound. A pre-registered test asked whether the probe’s curvature predicts where that floor is largest: over a rank model on local label variance, log patch radius, count and density, the whitened of the best affine readout adds [−0.032, +0.011] for magnitude (no added value) and −0.002 [−0.078, +0.025] for redshift (inconclusive); the intervals run from the 1.25th to the 98.75th percentile of a 32-block bootstrap.
Misalignment, held out. On ViT-B we measure on one half of each neighbourhood the cosine between and , with the noise floor of removed, and ask on the other half whether wins. Among the fifth of anchors with the lowest cosine, removal wins more often than among the fifth with the highest: by +0.066 at (interval −0.001 to +0.122) and +0.038 at (+0.010 to +0.070), pooled over labels; for magnitude by +0.070 and +0.100 (at , the only label whose interval excludes zero). A random bend of the same size shows no such contrast (−0.025 and −0.005).
Neighbourhood types. For each ViT-B anchor we average the catalogue’s magnitude, redshift and smooth fraction over its neighbours and compare the top and bottom thirds of anchors, post hoc. The neighbourhoods are mixed, so the thirds differ little: the cuts sit at 18.16 and 18.37 in magnitude, 0.180 and 0.206 in redshift, and 0.724 and 0.786 in smooth fraction. The probe captures more of magnitude’s curvature in fainter neighbourhoods (+0.104 at ), more of magnitude’s, smooth fraction’s and stellar mass’s in smoother ones (+0.067 to +0.098 at ), and less of redshift’s at high redshift (−0.036 at , −0.057 at ). Fainter and higher-redshift neighbourhoods are also noisier, and with 24 comparisons per quantity one or two intervals could exclude zero by chance. The probe fits faint neighbourhoods worst. In the faintest third its local is lower than in the brightest third by 0.13 for magnitude, 0.14 for redshift and 0.22 for smooth fraction at , and by 0.07, 0.10 and 0.22 at (every interval excludes zero except magnitude’s at $\alpha=100, which does not follow (+0.04 and +0.00)). The labels are noisier there relative to their spread: the residual share , read in the 16 leading principal components of each neighbour cloud, without the decoder, is higher by 0.19, 0.11 and 0.18, and by the bound that alone lowers local at $\alpha=100. The bending strength , the norm of the in-sphere second fundamental form at the anchor, needs no label. It does not change with the neighbourhood’s magnitude or redshift (rank correlation −0.03 and −0.06 across anchors) and is larger in smoother neighbourhoods (+0.30, interval +0.05 to +0.51).
removing the bend where the curvatures disagree
Section 5 compares how often removing the bend wins in the fifth of anchors where and are least aligned against the fifth where they are most aligned. On ViT-B at we rank anchors by that cosine on one half of each neighbourhood, as in Appendix B, and score the other half. Removal wins at an anchor when gives the lower squared error there, and its gain is . Table 3 gives, for each fifth, the number of anchors where removal wins and how much it gains. Removal wins more often in the misaligned fifth for three of the four labels, but its gains are small: a median of 0.5 to 1.6 points of (6.9 for redshift, from two anchors). This analysis is post hoc.
| label | aligned fifth: removal wins | aligned fifth: gain | misaligned fifth: removal wins | misaligned fifth: gain |
| mag_r | 1 of 100 | +3.2 | 11 of 100 | +1.6 (12.4) |
| photo_z | 0 of 99 | – | 2 of 99 | +6.9 (13.6) |
| smooth_fraction | 4 of 99 | +0.8 (1.3) | 3 of 99 | +1.3 (1.4) |
| stellar_mass | 3 of 97 | +0.9 (1.6) | 7 of 97 | +0.5 (0.7) |
Table 3. ViT-B, tuned probe (), 512 anchors; post hoc. Fifths of anchors by the cosine of and on half A of each neighbourhood: aligned (highest cosine) and misaligned (lowest). Removal wins: anchors where fits the held-out half B better than . gain: median of over those anchors, in points of local , with the largest in parentheses where there are two or more wins.
the bend correction on molecular embeddings (additional analyses)
A question we had after viewing the results on galaxy data was if the approach generalizes to other mediums. We repeated the bend correction of § 5 on QM9 [15]: 130,744 molecules embedded by MoLFormer-XL [16], with four quantum-chemistry labels (the HOMO–LUMO gap, the dipole moment , the isotropic polarisability and the heat capacity ). The setup matches ViT-B: a seed-0 decoder at , 512 anchors with 2,048 neighbours each, and the probe at its tuned penalty. In each neighbourhood we refit the probe’s curvature on one half of the neighbours and score it on the other half. Table 4 sets the two datasets side by side.
| QM9, MoLFormer-XL | galaxies, ViT-B | |
| curved share of a neighbourhood’s held-out variance | 0.12–0.15 | 0.06–0.08 |
| curvature the tuned probe leaves unread (read low) | 0.025–0.080 | 0.006–0.016 |
| gain of a free quadratic in the chart | 0.023–0.041 | 0.0015–0.0039 |
| gain of the bend correction | 0.044–0.049 | 0.0059–0.0095 |
Table 4. The bend correction of § 5 on two datasets, tuned probe, , 512 anchors. Shares and gains are in held-out local ; each range runs over the four labels.
The bend correction. At a quadratic shape in the chart has 136 independent components, and the decoder’s at the anchor sends each to a direction in the embedding. We take its 136 singular directions : moving the probe’s weight along bends the probe in the th shape, and a neighbour’s coordinate along it is . On one half of the neighbours we fit a ridge correction to the tuned probe’s residual on these 136 coordinates, after removing the part of them that is constant or linear in the chart, so the correction changes the probe’s curvature and not its slope. Its penalty is chosen by leave-one-out on that half, with no correction as one choice, and we score the corrected probe on the other half. The corrected probe stays linear in the embedding, with a weight that changes from one neighbourhood to the next.
The bend correction removes 18 to 22% of the tuned probe’s local error for the gap, the polarisability and , and 8% for , whose probe fits least well (local 0.35, against 0.74 to 0.80 for the others). The tuned probe reads about the same share of each label’s curvature on both datasets: 0.40 to 0.69 here, 0.58 to 0.64 on ViT-B. This share is the regression coefficient of the probe’s fitted chart Hessian on the label’s, both fitted from the data on two halves of each neighbourhood, multiplied across the halves and pooled over anchors. So it does not carry the decoder-to-data gap of the ratio in Appendix B. The molecular labels have about twice as much curvature to read, and the part the probe misses is three to five times larger, and a refit on half a neighbourhood recovers more of it (0.56 to 0.99 of the unread curvature here, against 0.26 to 0.33 on ViT-B). Our estimator reads these unread amounts low on both datasets. For each label’s own linear fit, which the probe reproduces, it reports −0.11 to −0.15 of the curvature unread here and −0.21 to −0.26 on ViT-B, where the truth is near 0. So the unread row of Table 4 and the ratios built on it are rough. The gains are differences between two fits and do not carry this bias.
Two limits apply. The bend correction ran on one encoder and one decoder. And here the decoder misses some structure. Held out, a free quadratic in the chart explains 0.19 to 0.36 of each normal coordinate, while the decoder’s own bending explains 0.005 to 0.16; on ViT-B the decoder explained more than the free quadratic. So part of the molecular gain may come from how the decoder fits at , above the encoder’s estimated intrinsic dimension of 11. The bend correction’s gain is also about half curvature (0.020 to 0.029) and half structure off the chart (0.019 to 0.026), and its curved part reaches 0.70 to 0.88 of what the free quadratic recovers, where on ViT-B it matched it. On ViT-B the curved part is 0.0022 to 0.0039 of the 0.0059 to 0.0095, and the rest is structure off the chart.
References
- [1]Guillaume Alain and Yoshua Bengio. Understanding intermediate layers using linear classifier probes, 2016. arXiv:1610.01644.arxiv.org/abs/1610.01644
- [2]Michael J. Smith, Ryan J. Roberts, Eirini Angeloudi, and Marc Huertas-Company. AstroPT: Scaling large observation models for astronomy. arXiv preprint, 2024. doi: 10.48550/arXiv.2405.14930. URL https://arxiv.org/abs/2405.14930.
- [3]Sabri Eyuboglu, Maya Varma, Khaled Saab, Jean-Benoit Delbrouck, Christopher Lee-Messer, Jared Dunnmon, James Zou, and Christopher Ré. Domino: Discovering systematic errors with cross-modal embeddings. In ICLR, 2022.arxiv.org/abs/2203.14960
- [4]UniverseTBD, Trinidad Borrell, Steven Dillmann, Kshitij Duraphe, Furkan Eris, Kartheik Iyer, Ashod Khederlarian, Aman Kumar, Giovanni Marraffini, Michael J. Smith, Shashwat Sourav, Rocco Di Tella, and John F. Wu. The platonic universe: Do foundation models see the same sky? In NeurIPS 2025 Workshop on Machine Learning and the Physical Sciences, 2025. URL https://arxiv.org/abs/2509.19453.
- [5]Yonghyeon Lee and Frank C. Park. On explicit curvature regularization in deep generative models. In Proceedings of the 2nd Annual Workshop on Topology, Algebra, and Geometry in Machine Learning (TAG-ML), volume 221 of Proceedings of Machine Learning Research, pages 505–518. PMLR, 2023.arxiv.org/abs/2309.10237
- [6]Francisco Acosta, Sophia Sanborn, Khanh Dao Duc, Manu Madhav, and Nina Miolane. Quantifying extrinsic curvature in neural manifolds. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 610–619, 2023. doi: 10.1109/CVPRW59228.2023.000068.arxiv.org/abs/2212.10414
- [7]Charles Fefferman, Sanjoy Mitter, and Hariharan Narayanan. Testing the manifold hypothesis. Journal of the American Mathematical Society, 29(4):983–1049, 2016. doi: 10.1090/jams/852.DOI
- [8]John M. Lee. Introduction to Riemannian Manifolds, volume 176 of Graduate Texts in Mathematics. Springer, 2nd edition, 2018. doi: 10.1007/978-3-319-91755-9.DOI
- [9]John Milnor. Morse Theory, volume 51 of Annals of Mathematics Studies. Princeton University Press, Princeton, 1963. doi: 10.1515/9781400881802. Based on lecture notes by M. Spivak and R. Wells.
- [10]Shing-Shen Chern and Richard K. Lashof. On the total curvature of immersed manifolds. American Journal of Mathematics, 79(2):306–318, 1957. doi: 10.2307/2372684.
- [11]David Freedman and David Lane. A nonstochastic interpretation of reported significance levels. Journal of Business & Economic Statistics, 1(4):292–298, 1983. doi: 10.1080/07350015.1983.10509354.DOI
- [12]Peter Hall and J. S. Marron. Estimation of integrated squared density derivatives. Statistics & Probability Letters, 6(2):109–115, 1987. doi: 10.1016/0167-7152(87)90083-6.DOI
- [13]Alexander Walther, Hamed Nili, Naveed Ejaz, Arjen Alink, Nikolaus Kriegeskorte, and Jörn Diedrichsen. Reliability of dissimilarity measures for multi-voxel pattern analysis. NeuroImage, 137:188–200, 2016. doi: 10.1016/j.neuroimage.2015.12.012.DOI
- [15]Raghunathan Ramakrishnan, Pavlo O. Dral, Matthias Rupp, and O. Anatole von Lilienfeld. Quantum chemistry structures and properties of 134 kilo molecules. Scientific Data, 1:140022, 2014. doi: 10.1038/sdata.2014.22.
- [16]Jerret Ross, Brian Belgodere, Viiiil Chenthamarakshan, Inkıt Padhi, Youssef Mroueh, and Pavel Das. Large-scale chemical language representations capture molecular structure and properties. Nature Machine Intelligence, 4(12):1256–1264, 2022. doi: 10.1038/s42256-022-00580-7.
