Skip to main content
Reading viewAll insights →
BLOG11 min read

The Singularity You Cannot Factor: What a Mesh-Free Eikonal Solver Leaves at the Moho

The Singularity You Cannot Factor: What a Mesh-Free Eikonal Solver Leaves at the Moho
Tannistha Maitiby Tannistha MaitiHead of Engineering · 30 Nov 2026
Share

A physics-informed eikonal solver owes its accuracy to one trick: factoring out the point-source singularity, whose position is known. A teleseismic wave has no source in the local domain; it arrives as a plane wave. The singularity it does have is the kink at the Moho, and any smooth network must leave a residual of at least 10.6% there, whatever its capacity and whatever the ray parameter. That one cannot be factored out, because the Moho's depth is what a receiver function exists to measure.

Our method note on a physics-informed eikonal solver makes a sound case. Train a small network so that its traveltime field satisfies the eikonal equation at scattered points, and you get a solver with no mesh, a field you can query anywhere, and gradients with respect to position and velocity for free. The ingredient that makes it converge at all is the factored form: write the traveltime as a known homogeneous-medium traveltime times a smooth factor, and let the network learn only the factor. The published prior art the note cites shows this matching fast marching "to sub-percent error across smooth models".

The note applies the recipe to teleseismic arrivals beneath a station, for receiver-function imaging of the Moho. Two facts about that geometry change what the recipe buys. The singularity factoring removes is not there. The one that is there cannot be factored.

What factoring is for

EIKONAL RESIDUAL AT THE POINT SOURCEEverything here is modelled. Neither curve is a trained network.15.2 kmUNFACTORED, STILL 1% WRONG INSIDEsource, T = 0stationv = 6.0 km/sv = 7.60 km/s0255075100depth, kmmodelled section, 0 to 110 km0.1%1%10%100%0.1110100distance from the source, km1%: the sub-percent agreement the prior art reports15.2 kmdirect T: 100% at the sourcefactored T = T0 tau: 0.15%, flatModelled velocity model and rayv at the source depth: 7.54 km/semergent ray: 19.7° from vertical, first arrival at 15.4 s6 of 132 collocation points sit inside the amber regionWhat capacity buys, and what it does notpeak residual at the source: 100%, at every capacitythe 1% radius is 7.6x the resolution length, alwayscapacity narrows the failure, it never shrinks itdirect T, unfactoredfactored T = T0 tauisochronstransmitted rayray at both gradient endsModelled: v = 6.0 + 0.016 z km/s, source at 96 km with a 25° takeoff, and a 0.15% optimisation floor both forms share.
A modelled cross-section with a linear depth velocity gradient, a source at 96 km, and the transmitted ray that leaves it at 25 degrees from vertical. The circles are isochrons of the analytic traveltime field, which for a constant-gradient medium are exactly circles, and the ray is the arc normal to them. Beside the section, the eikonal residual of two representations of that same field is plotted against distance from the source. Drag network capacity and watch what it buys. The amber region on the section shrinks, collocation points inside it turn back to aqua, the amber curve slides left, and the peak does not move: a smooth network flattens the cone apex at the source, so v times the gradient of its traveltime goes to 0 where the eikonal demands 1, and that is a 100% residual at every capacity on the slider. The distance at which the unfactored form finally reaches 1% is a fixed 7.6 times whatever length the network can resolve, so capacity narrows the failure and never shrinks it. The factored curve is flat and under the 1% reference everywhere, including at the source, because the smooth factor tau is smooth there, which is the whole content of the factoring trick. The second slider is the article's own lever: steepen the depth gradient and the isochrons space out where velocity is high, the emergent ray steepens toward vertical incidence, and the factored residual rises a little, because tau is exactly 1 in a homogeneous medium and it is the gradient that gives it any curvature to approximate. Everything drawn is modelled, neither curve is the output of a trained network, and the only figure carried in from outside is the sub-percent agreement with fast marching that the prior art reports, drawn as the dashed 1% line.

That exhibit shows the problem the trick was invented to solve, and it is modelled rather than trained, which its plate says. Put a point source inside the domain and the traveltime near it is a cone. A smooth network cannot make a cone's apex; it rounds it off, and at the rounded apex the gradient goes to zero where the eikonal demands it be 1 over the velocity. That is a 100% residual. Give the network more capacity and the rounded region shrinks, but the peak does not move, because the failure has no length scale of its own. Capacity buys a smaller bad region and never a smaller error.

Factoring cures it completely, and it is worth being precise about why. The reference traveltime is the distance from the source divided by the source velocity. That expression knows where the source is. It carries the cone exactly, so what is left for the network is smooth. The trick works because the position of the singularity is known in advance and can be written into the reference.

A teleseismic wave has no source in the domain

A teleseismic source is thousands of kilometres from the station. At 30 degrees it is 3,336 km away along the surface, more than 30 times the width of a local crustal model. Across that model the incoming wavefront is, to very good approximation, a plane, and the methods the note cites for the downstream work treat it as one: the RAYSUM modelling code propagates plane waves through layered structure, and the receiver-function depth stack of Zhu and Kanamori is built on a ray parameter.

A plane wave rising through a layered crust has a traveltime that is the horizontal slowness times the horizontal position, plus the integral of the vertical slowness over depth. Nothing in that expression is singular. There is no apex to round off. The factored form's reason for existing is absent from the domain.

What the domain does have is interfaces. At each one the velocity jumps, the vertical slowness jumps with it, and the traveltime has a kink. In the IASP91 reference model the crust runs at 5.80 km/s to 20 km, 6.50 km/s to the Moho at 35 km, and 8.04 km/s beneath. The Moho kink is the largest non-smooth feature in the section, and it is the one a receiver function is built to find.

The floor at the Moho

NO SOURCE IN THE DOMAIN · ONE KINK AT THE DEPTH BEING MEASURED10.6%PEAK RESIDUAL AT THE MOHO · FLOOR 10.6%Capacity narrows the band to 3.0 km. It never lowers the peak below 10.6%.The floor is (v below - v above) / (v below + v above), for any smooth fit and any ray parameter. Conrad: 5.7%.IASP91 CRUST · PLANE WAVE FROM BELOW · 110 KM WIDE5.80 km/s6.50 km/s8.04 km/sMoho, 35 km: the depth a receiver function measures01020304050EIKONAL RESIDUAL ACROSS THE MOHO · KM FROM THE INTERFACE+10.6% floor-10.6%1%, the smooth-model levelcrustmantleAt the Moho the ray leaves the crust at 23.0 and enters it from the mantle at 28.8 degrees from vertical.Autodiff reports the network's own gradient exactly, and there it points at 25.9: exact for the network, not for the earth.isochron, exactrayresidual of the smooth fitfloor, any smooth fitIASP91 velocities. Ray-parameter range and transition shape illustrative. The floor is exact for every shape.

At a resolution of 1.00 km the residual exceeds 1% over 3.0 km around the Moho and peaks at 10.6%. No smooth fit can go below 10.6% there, because one gradient must serve 6.50 km/s above and 8.04 km/s below.

A teleseismic P wave rising through the IASP91 crust as a plane wave, and the residual a smooth network must leave at the Moho. Left: isochrons of the exact traveltime and the ray normal to them. Nothing in the section is singular; the traveltime has kinks only at the Conrad at 20 km and the Moho at 35 km, where the vertical slowness jumps. Right: the eikonal residual across the Moho for the most favourable smooth transition there is. A network's gradient is continuous, so at the interface one value of the gradient must serve both velocities, and the residual cannot be zero on both sides. The best any continuous approximation can do is (v_below - v_above) / (v_below + v_above), which for IASP91 is 10.6% at the Moho and 5.7% at the Conrad, whatever the network's capacity and whatever the ray parameter. Drag the resolution length: the band where the residual exceeds 1% narrows in proportion, 3.0 times the resolution for this shape, and the peak does not move. The factored eikonal removes a singularity by building its known position into the reference traveltime; the Moho's depth is what a receiver function measures. Velocities are IASP91's. The ray-parameter range and the transition's shape are illustrative; the floor is exact.

A network's gradient is continuous. So at the interface it takes a single value, and the length of the gradient there is one number that has to serve both the crust above and the mantle below. The eikonal residual is the velocity times that length, minus 1. With 6.50 km/s on one side and 8.04 on the other, the residual cannot be zero on both.

The best any continuous approximation can do is balance the two sides, and the arithmetic is short. The balanced gradient length is 2 over the sum of the two velocities, and the residual it leaves is the difference of the velocities over their sum. For the IASP91 Moho that is 1.54 over 14.54: 10.6%. At the Conrad it is 5.7%.

Three things about that number are worth sitting with. It does not depend on the network: drag the resolution length in the exhibit and the band of large residual narrows, 3.0 times the resolution for the shape drawn, while the peak stays exactly where it is. It does not depend on the ray parameter: the horizontal slowness cancels out of the balance, so every teleseismic distance gives the same floor. And it is ten times the sub-percent figure the method is known for, at the one depth the application cares about.

The same interface shows up in the gradients. The note lists "exact gradients" as a dividend: position and velocity derivatives come from automatic differentiation. They do, and they are exact derivatives of the network. At the Moho, for a ray parameter of 0.06 s/km, the true ray leaves the mantle at 28.8 degrees from vertical and continues through the crust at 23.0. A smooth network passes through the balanced gradient at the interface, and its gradient there points at 25.9 degrees. Automatic differentiation reports that exactly. It is the network's answer, not the earth's.

Why this one cannot be factored

The obvious move is to do to the Moho what was done to the source: build the kink into the reference and let the network learn a smooth remainder. For a layered reference, the plane-wave traveltime carries every interface exactly, so the remainder would be smooth.

It would be smooth only if the reference put the kink at the right depth. The source can be factored because its position is an input to the problem. The Moho's depth is the output. A reference with the Moho at 35 km, applied to a crust where it sits at 38, moves the kink rather than removing it: the network now has to represent a kink at 38 against a reference that bends at 35, and the floor comes back at the true interface.

The constructive version is to make the reference's Moho depth a trainable parameter, so that the network's field stays smooth and the depth is estimated explicitly rather than smeared implicitly. We have not tried it, and it trades one problem for another: a residual floor for a search over depth that need not be convex. But it is the only version of the factoring idea that is aimed at the right singularity.

What the floor means, and what it does not

This is a floor on the residual at the interface. It is not a floor on traveltime error. Away from the Moho a smooth fit can still converge on the true traveltime as its transition narrows, because the traveltime error integrates the gradient error across a band that capacity keeps shrinking. A factored eikonal network trained on a layered crust may well produce good traveltimes at the surface.

What the floor does decide is how you know. The evidence that these solvers are accurate is agreement with fast marching "across smooth models", and a crust with a Moho is not one. The residual, the quantity the network is trained to minimise, cannot fall below 10.6% at the interface however long training runs, so a stopping rule written as a residual threshold never fires, and a mean-squared loss spends effort on a band it cannot fix. The gradients the method advertises are least right exactly at the depth receiver functions read.

Two neighbours of this argument are worth separating from it. Our September piece on velocity error showed a model's root-mean-square score improving while the crest-to-spill depth difference a trap depends on got worse, because correlated errors cancel in a difference and short-correlated ones do not. That is about which statistic of an error reaches a decision. This is about an error a method cannot remove at all, and it is set by the earth's velocity contrast rather than by anything anyone chose. And our November piece on physics-informed networks for the elastic wave equation showed that the physics weight has to be tuned per problem. No setting of any weight changes the floor here. It comes from the velocity model, and it would be there with the loss weighted any way you like.

What to do

Validate against fast marching on a model with a Moho in it. A smooth-model benchmark is the benchmark the method is known to pass, and it does not exercise the feature that defines the application.

Stop using a residual threshold as a convergence test on any layered model. Either exclude a band around known interfaces from the stopping rule, or monitor traveltime agreement at the receivers instead.

Treat the gradient at an interface as the network's, not the earth's. Where a workflow reads ray direction at the Moho, for conversion geometry or depth migration, take it from the layer above or below, not from the interface itself.

And if the network is meant to image the Moho rather than propagate through a known one, put the Moho's depth in the model as an explicit parameter. That is the factoring idea applied to the singularity that is actually there.

Key takeaways

  1. The factored eikonal works by writing the point-source singularity into a reference traveltime, which requires knowing where the source is.
  2. A teleseismic wave has no source in the local domain: at 30 degrees the source is 3,336 km away, and the note's own references model the arrival as a plane wave.
  3. The singularity the teleseismic geometry does have is the kink at each interface, and the largest is the Moho, the depth a receiver function measures.
  4. Any smooth network must leave a residual of at least the velocity difference over the velocity sum at an interface: 10.6% at the IASP91 Moho and 5.7% at the Conrad.
  5. That floor is independent of the network's capacity and of the ray parameter; capacity narrows the band, 3.0 times the resolution for the shape drawn, and never lowers the peak.
  6. Automatic differentiation reports the network's gradient exactly, and at the Moho it points at 25.9 degrees where the earth's ray runs at 23.0 above and 28.8 below.
  7. Validate on a model with a Moho, drop residual thresholds as stopping rules on layered models, and make the Moho depth an explicit parameter if the Moho is the target.

Limitations

The floor is exact for any approximation whose gradient is continuous at the interface, which covers networks built from smooth activations. A network with a non-smooth activation can represent a kink in principle, but it has to put the kink at the right depth, which returns the problem to knowing where the Moho is.

The velocity model is IASP91, a global one-dimensional average. A real crust has lateral variation and a Moho that is sometimes a gradient zone rather than a step. A gradient zone wider than the network's resolution lowers the floor toward zero; a sharp Moho is the case receiver functions image best and the case this floor bites hardest.

The ray parameter range and the shape of the smooth transition on the plate are illustrative. The floor does not depend on either. The band width does, and its multiple of 3.0 belongs to the tanh shape drawn.

The first exhibit is modelled rather than trained, as its own plate says, and so is every residual curve here. What is exact is the bound, which is a property of any continuous gradient meeting a velocity step, not of a particular network.

We have not measured traveltime error for a trained factored network on a layered crust. The argument is about the residual and the interface gradient, and the piece does not claim the traveltimes are wrong.

References

  1. M. Raissi, P. Perdikaris, G. E. Karniadakis. Physics-informed neural networks: a deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 2019. doi.org/10.1016/j.jcp.2018.10.045
  2. U. bin Waheed, E. Haghighat, T. Alkhalifah, C. Song, Q. Hao. PINNeik: Eikonal solution using physics-informed neural networks. Computers and Geosciences, 155:104833, 2021. doi.org/10.1016/j.cageo.2021.104833
  3. J. D. Smith, K. Azizzadenesheli, Z. E. Ross. EikoNet: Solving the eikonal equation with deep neural networks. IEEE Transactions on Geoscience and Remote Sensing, 2020. arxiv.org/abs/2004.00361
  4. B. L. N. Kennett, E. R. Engdahl. Traveltimes for global earthquake location and phase identification. Geophysical Journal International, 105:429-465, 1991, for the IASP91 velocity model.
  5. A. M. Frederiksen, M. G. Bostock. Modelling teleseismic waves in dipping anisotropic structures. Geophysical Journal International, 2000. doi.org/10.1046/j.1365-246X.2000.00007.x
  6. L. Zhu, H. Kanamori. Moho depth variation in southern California from teleseismic receiver functions. Journal of Geophysical Research, 2000. doi.org/10.1029/1999JB900322
  7. Why a better root-mean-square score can make the depth difference a trap depends on worse: The error that cancels.
  8. The physics weight a PINN needs tuned per problem, which is not what sets this floor: Physics-informed neural networks for the elastic wave equation.
Tannistha Maiti
Tannistha Maiti

Head of Engineering

More from EarthScan

Related research

All insights →
Physics-Informed Neural Networks for the Elastic Wave Equation
Research

Physics-Informed Neural Networks for the Elastic Wave Equation

Physics-Informed Neural Networks for Seismic Noise Attenuation: When the Wave Equation Is Your Only Label
Research

Physics-Informed Neural Networks for Seismic Noise Attenuation: When the Wave Equation Is Your Only Label

Amortized Bayesian Inversion of Crustal Structure
Insight

Amortized Bayesian Inversion of Crustal Structure

Stay ahead

EarthScan insights, in your inbox.

Field-tested research on subsurface and energy-transition AI. About twice a month. No noise.

We use your email only for this newsletter. Unsubscribe anytime Privacy.