Bidirectional Liquid Neural Networks (BiLNN)
- BiLNN is a continuous-time recurrent architecture that fuses learnable ODE dynamics with bidirectional propagation to enforce both Dirichlet and asymptotic boundary conditions.
- It maps complex optical potential parameterizations to nuclear scattering wave functions, achieving sub‑percent error across diverse energies and nuclear species.
- The differentiable design supports gradient‑based optimization and uncertainty quantification, serving as a robust surrogate in nuclear data evaluation.
A Bidirectional Liquid Neural Network (BiLNN) is a class of continuous-time recurrent neural architectures designed for the differentiable emulation of physical boundary-value problems, exemplified by its application to global nucleon-nucleus optical model calculations. BiLNNs synthesize liquid (continuous-time ODE-driven) recurrence and bidirectional propagation to provide a mapping from complex optical potential parameterizations to scattering wave functions, while satisfying physical boundary conditions and preserving analytical differentiability. The architecture enables gradient-based optimization and uncertainty quantification in nuclear modeling, producing observables with sub-percent error and demonstrating transferability across a broad parameter space, including extrapolation to untrained nuclear species (Lei, 27 Dec 2025).
1. Architectural Foundations and Relationship to Liquid/Reservoir Computing
The BiLNN architecture generalizes reservoir computing by employing learnable continuous-time ordinary differential equation (ODE) dynamics and by enforcing bidirectional recurrence tailored to physics boundary-value problems. In contrast to discrete-time gated recurrent units (LSTM/GRU), the BiLNN hidden state evolves according to a first-order ODE: where is a learned leak gate and is a learned candidate drive. This ODE form admits a closed-form solution over each step , mitigating vanishing/exploding gradient pathologies on long sequences.
Bidirectionality is enforced by running two parallel liquid layers: one propagates forward from (origin) to (asymptotic region), while the other propagates backward from to . At each spatial position, the hidden states from both passes are merged, ensuring explicit conditioning on both Dirichlet and asymptotic boundary conditions. This design is particularly well-suited to radial Schrödinger problems, where both boundary behaviors are formally required.
2. Mathematical Formulation and Internal Dynamics
Spatial coordinates are mapped to a dimensionless phase-space form: , where 0 is the wave number. The network operates on 1 discretized values 2 (3). At each 4, the forward and backward hidden states, 5, are updated according to:
6
with an analogous update for 7 propagating in the reverse direction. The concatenated hidden state 8 feeds into a fully connected combiner and decoder, yielding real and imaginary wave function components
9
where 0, 1 are learned weights, and 2, 3 are biases. All operations are differentiable by construction.
3. Feature Encoding and Physics-Informed Inputs
Each spatial point 4 is associated with a nine-dimensional feature vector: 5 where:
- 6 are real and imaginary parts of the local optical potential (scaled by projectile energy 7),
- 8 is the Sommerfeld parameter,
- 9 is the accumulated semiclassical phase 0,
- 1 is a semiclassical absorption factor,
- 2 is the partial wave, and 3 the target mass, normalized to their maxima.
All features are pre-normalized and processed through a two-layer encoder MLP (ReLU activations), yielding the high-dimensional representation used in the liquid layers.
4. Network Training, Parameterization, and Differentiability
The BiLNN as implemented employs 4 liquid neurons per direction, exploiting approximately 50% sparse connectivity, with a total parameter count near 5. Training utilizes approximately 6 Numerov-computed solutions spanning 12 nuclei (7), 8, and 9 MeV for both protons and neutrons, discretized to 0 spatial points per wave function.
The objective function is mean-squared error over all spatial points and samples: 1 optimized using AdamW for 500 epochs with weight decay regularization. Training converges within 3–4 hours on a single GPU. The completed model acts as a fully analytic, differentiable surrogate: 2, supporting automatic gradient computation essential for downstream optimization and uncertainty propagation.
5. Phase-Space Coordinate Normalization and Generalization Principle
BiLNN’s phase-space normalization, 3, ensures that oscillatory structure induced by the de Broglie wavelength 4 is mapped to a universal period in 5-space (6 for all 7). This eliminates the need for the network to learn a priori a continuum of energy-dependent wavelengths, simplifying the learning task and enabling a single model to generalize across 8 to 9—a 0 variation in 1 if operating in 2-space.
6. Accuracy, Physical Observables, and Generalization Performance
On held-out data, BiLNN achieves a root-mean-square relative wave function error of 3 overall. Error rates by partial wave 4 are approximately 5 over 6–7, rising to 8 at 9 and 0. Across targets, errors remain within 1–2 for 3 and up to 4 for the heaviest nuclei (5). For projectile energies 6, errors are 7, dropping to 8 for 9.
Physical observables computed from the predicted wave functions include elastic 0-matrix elements: 1 as well as elastic scattering cross sections 2 for protons and 3 for neutrons. The model reliably recovers diffraction minima spanning four orders of magnitude in cross section, with a root-mean-square cross-section error of 4.
Crucially, BiLNN successfully extrapolates to nuclei excluded from training (e.g., 5Mg, 6Cu, 7W), maintaining wave function errors 8 and observable fidelity comparable to in-sample targets. An ablation replacing bidirectional recurrence with a forward-only liquid layer increases wave function error from 9 to 0 (approximately 1 relative degradation), especially for high 2 and near the domain boundary, substantiating the architectural necessity for bidirectionality in enforcing dual boundary conditions.
7. Applications and Significance
BiLNN affords a differentiable, physics-informed surrogate for nuclear wave function computation, facilitating gradient-based optical-model parameter optimization and uncertainty quantification. Its design, grounded in phase-space normalization and bidirectional, ODE-driven recurrence, generalizes across a broad spectrum of projectile energies, partial waves, and nuclear targets. The demonstrated extrapolation performance suggests BiLNN has internalized the smooth 3 dependence typical of global optical potentials (e.g., KD02), rather than simply memorizing specific cases. These properties make BiLNN a compelling candidate for integration into modern nuclear data evaluation pipelines, where rapid, differentiable, and physically accurate surrogate models are increasingly vital (Lei, 27 Dec 2025).