📄 arXiv:2607.10026: Robustly Invertible Nonlinear Dynamics and the BiLipREN: From Inversion-Based Control to Generative Trajectory Modelling
BiLipREN is a neural dynamical system that defines a robustly invertible signal-to-signal mapping.
The REN architecture 


The following properties are guaranteed by construction (plug-and-play with AutoDiff and SGD):
-
The forward model
is an invertible, stable and bi-Lipschitz REN.
-
Its analytical inverse
is a causal, stable and bi-Lipschitz REN.
-
Both models enable robust signal reconstruction under disturbances and initial-state mismatch:
TD;LR: Learn an optimization-friendly surrogate loss for black-box trajectory optimization
Black-box Trajectory Optimization. Suppose that 

Can we find a new input sequence ![u_[T]](/acfr/BiLipREN/raw/main/figures/eq/inline/u_T.png)
- Surrogate optimization framework:
- Fit a differentiable surrogate loss to the dataset:
where 

- Optimize the surrogate loss:
- Our approach: parameterize
as a BiLipREN, giving the surrogate
two nice properties:
- It satisfies the Polyak–Łojasiewicz (PL) condition. Consequently, despite being nonconvex, it has no spurious local minima, and gradient-based methods converge linearly under standard step-size conditions.
- The minimizer can be computed efficiently through dynamic inversion:
- Results:
| Model | Fitting loss |
Best cost |
Worst cost |
|---|---|---|---|
| Dataset | - | 1863 | 5055 |
| LSTM | 1718 | 1868 | 4758 |
| C-REN | 6014 | 1918 | 2996 |
| BiLipREN | 22805 | 1672 | - |
| IPOPT | - | 1618 | 5837 |
-
The LSTM fits the dataset well but is less suitable for the subsequent optimization step because its loss landscape may contain spurious local minima, flat regions, poorly conditioned gradients, and strong sensitivity to initialization.
-
The C-REN, which is stable but not necessarily invertible, encounters similar difficulties.
-
The BiLipREN has a higher fitting loss but yields a lower optimized cost and a more tractable optimization landscape.
-
Even when IPOPT is applied to the true optimization problem, poor initial guesses can produce poor solutions because the problem is highly nonconvex.
TL;DR: Learn a signal-2-signal normalizing flow that generates trajectory distributions from Gaussian white noise
Generative trajectory modelling. We seek a robustly invertible dynamical model 
The model is trained by minimizing the negative log-likelihood (NLL) under the normalizing-flow change-of-variables formula:
- Results:
- The generated trajectories capture the multimodal, obstacle-avoiding distribution of the training data.
- Mapping the data through
produces approximately white Gaussian latent variables: their autocorrelations remain within the 95% confidence band, and their Q–Q plot closely follows that of a standard Gaussian distribution.
TL;DR: Design a tracking controller for a stable, nonminimum-phase plant.
Internal model control (IMC). We learn an inner–outer factorization of the plant and invert only its minimum-phase outer factor, thereby obtaining a stable controller.
- Learn an inner–outer factorization from input–output data generated by the true system
:
where the inner factor 

- Construct the IMC controller in the Youla form with
-parameter
where 



- Results. The controller achieves reference tracking for a four-tank system with delayed input flow.
git clone https://github.com/acfr/BiLipREN.git
cd BiLipREN
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt| Folder | Description |
|---|---|
BiLipRENs/ |
Core: BiLipREN models and orthogonal layers |
surrogate_cost/ |
Application 1 — dynamic surrogate loss learning. |
flow/ |
Application 2 — signal-to-signal normalizing flow. |
imc/ |
Application 3 — inversion-based control design. |
io_fact/ |
Example: nonlinear I/O factorization. |
robust_inv/ |
Example: robust inversion |
Yurui Zhang (yurui.zhang@sydney.edu.au)
Ruigang Wang (ruigang.wang@sydney.edu.au)







