Cauchy Scientific Networks: Loss–Architecture Alignment and Its Limit

Haonan Tan, Xin Li, juyi peng, Gene Wen, Yuxing Han, Zhihong Jeff XiaNeurIPS 2026

TL;DR

Swapping standard neural network activations for exotic rational functions like Cauchy activations can yield massive accuracy gains in scientific machine learning—or completely backfire. This paper demonstrates that an activation function shouldn't be judged in isolation; it only shines when paired with a loss function that explicitly exposes the mathematical structures it was built to handle. By co-designing localized architectures with aligned objectives, the authors achieve up to 1,520× lower error on tricky differential equations while refreshingly mapping out exactly where their method fails.

What Problem Does This Paper Address?

In scientific machine learning—such as Physics-Informed Neural Networks (PINNs), where networks learn to solve differential equations—researchers often hunt for the "ultimate" activation function. Recently, rational activations like Cauchy functions have shown dramatic promise. A popular theory for their success is derivative closure: when you take the derivative of a rational function (a ratio of polynomials), you get another rational function, making it seem uniquely suited for differential equations.

However, these same Cauchy networks mysteriously underperform on standard regression or denoising tasks. Why? The authors argue we are looking at the wrong unit of analysis. Instead of asking whether Cauchy is a universally superior activation, we need to ask when a loss function and an architecture actually work together to create a useful training signal.

Methods

The authors introduce two main contributions—one conceptual diagnostic and one concrete architecture:

  • Ex-Ante Alignment Criterion: Before training even begins, this empirical diagnostic looks at two things: (1) Does the loss function take derivatives of the network? (2) Does the target contain narrow, localized features (like sharp phase transitions) relative to the domain size? If both hold, the diagnostic recommends a local-basis architecture; if derivatives are taken on smooth, global targets, it points to spectral/global models.
  • ResidualCAN: To test local-basis alignment, the authors build ResidualCAN. It pairs a standard global MLP (using a stabilized Cauchy activation, CauchyAct) with a novel residual path called a Cauchy Adaptive Node (CAN). Rather than acting as a simple activation, CAN acts as a dense, learnable set of local basis kernels (poles with learnable locations and widths) weighted via a softmax function. Initialized near zero, this side-path quietly steps in during training to sculpt sharp, localized transition layers where global networks struggle.

Datasets

Because this study focuses on solving mathematical equations and controlled diagnostics, evaluation relies primarily on synthetic physics and regression testbeds rather than massive real-world datasets:

  • Synthetic PDEs & Score Tasks: 1-D stationary Allen–Cahn boundary value problems (sweeping across interface widths), Gaussian-mixture score learning, heavy-tailed noise regression, spectral recovery, 1-D thin sine-Gordon kinks, 2-D circular interfaces, and smoother mixed-frequency Poisson and parametric Burgers equations.
  • External Benchmarks: The 1-D Burgers trajectory benchmark from PDEBench is the sole external dataset used (no new benchmark datasets are introduced).

Key Insights and Ideas

  • The Objective Flips the Winner: On the exact same score-learning target, CauchyAct beats standard SiLU when trained with a Fokker–Planck PDE loss (which differentiates the network), but loses to SiLU under Denoising Score Matching (which doesn't).
Figure 1: Improvement over SiLU (SiLU error / method error, log scale) for the five-seed medians of Table 1; labels are its SiLU/Cauchy ratios. Under FP-PDE, which differentiates the network, CauchyAct and GaussAct both beat SiLU; under DSM both lose, so the FP advantage is not Cauchy- specific.
  • "Cauchy Magic" isn't Exclusively Cauchy: Under that same Fokker–Planck loss, a closely matched Gaussian activation (GaussAct) performs just as well as CauchyAct. Similarly, Gaussian-kernel controls nearly match Cauchy kernels in local-basis networks. This busts the myth that algebraic derivative closure is the sole secret sauce; rather, Cauchy belongs to a broader, non-unique class of localized, derivative-exposing functions.
  • Robust Losses Do the Heavy Lifting: When dealing with heavy-tailed noise or escaping optimization traps in sharp Allen–Cahn equations, switching from Mean Squared Error (MSE) to a robust loss (like Cauchy loss, L1, or Huber) matters far more than the activation function itself.
  • Why Deep Cauchy Networks Collapse (and How to Fix It): Plain, deep stacks of CauchyAct layers fail to train past ~24 layers because standard weight initialization places them in an "ordered phase" where signals collapse to a constant. Using mean-field theory, the authors compute a critical initialization gain ($g^* = 1.436$) that completely resurrects training across 10/10 random seeds.

Key Results

  • Massive Gains on Transition Layers: On the 1-D Allen–Cahn benchmark (at interface width $\varepsilon = 1.0$ and a 4,000-step budget), ResidualCAN achieves a 1,520× lower median $L^2$ error than a SiLU baseline in a 5-seed sweep, and a 650× improvement in a 10-seed rerun.
  • Decomposing the Win: A 10-seed ablation at $\varepsilon = 1.0$ proves the CAN local-basis residual is the true star: CauchyAct alone gives a 17.9× boost over SiLU, adding CAN to SiLU gives 66.5×, and combining them into ResidualCAN yields the full 650× gain.
  • Beating Modern PINNs (Selectively): ResidualCAN outperforms matched-budget implementations of modern architectures like PirateNet, cPIKAN, and HyResPINN across all 27 Allen–Cahn test cells—while rightly losing to cPIKAN (by 5.3×) and HyResPINN on smoother Burgers and Poisson tasks where global/hybrid bases naturally excel.
Figure 2: SiLU/ResidualCAN median L2 ratio from Table 4 (five seeds, 4000 steps; log scale, dashed line: parity). Gray: cold-start failure regime (ε ≤0.10) for all tested methods.

Limitations and Future Work

The authors are admirably candid about their boundaries:

  • Budget-Conditional Readings: The headline 4,000-step ratios represent a transient minimum; extending training to 32,000 steps under standard cosine decay causes performance to degrade, showing high schedule sensitivity.
  • Cold-Start Optimization Walls: For ultra-thin interfaces ($\varepsilon \le 0.10$), all cold-started MSE models collapse to a trivial zero solution. Warm-starting ("continuation") proves the networks can represent the solution, pointing to adaptive collocation and homotopy refinement as future work.
  • Scope & Theory: ResidualCAN was only tested in 1-D and 2-D, with no real-world 2-D or 3-D experimental scientific datasets. Furthermore, their alignment criterion remains an empirical rule of thumb that predicts family-level directions (not magnitudes), leaving formal generalization bounds for future research.

Summary updated

Abstract

Cauchy activations and Cauchy-adaptive layers can give large gains on scientific learning tasks, but the gains are selective and not uniquely Cauchy-specific. We organize the evidence with an empirical loss–architecture alignment diagnostic: an architecture helps when the objective exposes structures it can use, and can lose under a mismatched objective. In score learning, Cauchy networks improve over SiLU under a Fokker–Planck PDE loss but lose under denoising score matching; a Gaussian activation is comparable under the PDE loss. In loss–activation factorials, robust residual losses explain more of the heavy-tailed, spectral, and Allen–Cahn trap-escape behavior than the activation alone. We also introduce ResidualCAN, a concrete instance of this alignment: a CauchyAct main path augmented with a softmax-normalized Cauchy Adaptive Node (CAN) local-basis residual. On 1-D stationary Allen–Cahn a five-seed sweep gives up to $1520\times$ lower error than a SiLU MLP at $\varepsilon = 1.0$, and a ten-seed rerun of that setting gives a $650\times$ median ratio; both are 4000-step, budget-conditional readings. A paired ten-seed ablation shows that this gain comes mainly from the dense local-basis residual rather than Cauchy activation alone. Our matched-budget instances of PirateNet, cPIKAN and HyResPINN trail ResidualCAN on this suite, and Poisson/Burgers boundary checks, where two of them lead, prevent a broad PDE dominance claim. Stated as a criterion that can be applied before training and tested prospectively, the diagnostic predicts family-level direction, not magnitudes; a mean-field analysis explains why deep plain Cauchy stacks fail to train. The resulting claim is bounded: localized, derivative-exposing activations, Cauchy among them, are one useful, non-unique instance of robust/local-basis co-design.
BibTeX
@inproceedings{tan2026cauchy,
  author = {Haonan Tan and Xin Li and juyi peng and Gene Wen and Yuxing Han and Zhihong Jeff Xia},
  title = {{Cauchy Scientific Networks: Loss–Architecture Alignment and Its Limit}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=tb9Avh6dZj},
}
Figure