Abstract
Model Recovery (MR) is essential for developing real-time digital twins of physical systems, yet current state-of-the-art Neural Ordinary Differential Equations (NODEs) suffer from significant computational bottlenecks due to their reliance on iterative solvers. This paper introduces MERINDA (Model Recovery in Dynamic Architecture), a hardware-software co-design framework that reformulates neural dynamics into mathematically equivalent "neural flows." By replacing iterative ODE solvers with a streaming Gated Recurrent Unit (GRU) pipeline and implementing low-level FPGA optimizations—including BRAM banking and fixed-point arithmetic—MERINDA achieves a 6.3× reduction in clock cycles and substantial energy efficiency improvements compared to high-end GPUs. Our results on diverse dynamical systems, including medical and chaotic benchmarks, demonstrate that MERINDA enables high-fidelity, real-time model recovery at the edge.
Introduction
In the domain of Physical AI, Model Recovery (MR) is the process of extracting underlying mathematical equations from raw observational data to create accurate Digital Twins. These twins are vital for real-time safety monitoring in autonomous vehicles, medical devices, and industrial systems.
Currently, Neural Ordinary Differential Equations (NODEs) are the preferred method for MR. However, NODEs present a significant challenge for standard hardware like GPUs. They rely on iterative numerical solvers (e.g., Euler or Runge-Kutta) where each step is sequentially dependent on the previous one. This sequential bottleneck leads to under-utilized memory bandwidth and high latency, making NODEs impractical for edge applications where power and timing constraints are stringent.
Methodology
MERINDA addresses these bottlenecks through a two-layered optimization strategy involving high-level mathematical reformulation and low-level hardware specialization.
High-Level Reformulation: Neural Flows
The core innovation of MERINDA is the elimination of iterative solvers during inference. Leveraging "Neural Flow" theory, the authors prove that a traditional NODE layer—which typically requires $N$ iterations of an ODE solver—can be mathematically represented by a Gated Recurrent Unit (GRU) followed by a dense layer.
As shown in Figure 1, this reformulation transforms a sequential, solver-dependent process into a feed-forward, streaming pipeline. This "solver-less" shortcut allows the system to mimic the "flow" of an ODE without the computational overhead of explicit integration, effectively turning a sequential bottleneck into a parallelizable hardware structure.
Low-Level Hardware Specialization
To maximize the throughput of the reformulated architecture, MERINDA employs several FPGA-specific optimizations:
- Resource Mapping: Linear operations, such as matrix-vector products, are mapped to DSP slices, while non-linear activations (Sigmoid and Tanh) are implemented using LUT-based look-up tables.
- BRAM Banking and Initiation Interval: To prevent memory stalls, on-chip memory (BRAM) is "banked" to allow the hardware to fetch all required weights in a single clock cycle. This achieves an Initiation Interval (II) of 1, the theoretical maximum throughput where a new calculation begins every cycle.
- Fixed-Point Arithmetic: The framework utilizes 8–16 bit fixed-point precision instead of standard 32-bit floats. This significantly reduces the hardware area and power consumption without compromising the accuracy of the recovered physical model.
As illustrated in Figure 5, the hardware is organized into a four-stage pipeline (Reset/Update gates, Sigmoid, Candidate+Tanh, and Interpolation) supported by FIFO buffers and BRAM to ensure continuous data flow.
Experimental Evaluation
MERINDA was evaluated against several complex dynamical systems, including the chaotic Lorenz system, the Lotka-Volterra predator-prey model, and the OhioT1D medical dataset for automated insulin delivery.
Key Results
- Performance: MERINDA achieved up to a 6.3× reduction in clock cycles compared to an FPGA-based Liquid Time-Constant (LTC) baseline.
- Energy Efficiency: In the Automated Insulin Delivery (AID) task, the FPGA implementation consumed only 4.9W, a massive improvement over the 72W required by a high-end NVIDIA RTX 6000 GPU.
- Memory Footprint: The DRAM footprint was reduced to just 72MB, compared to several gigabytes on a GPU, facilitating deployment on memory-constrained edge devices.
- Accuracy: Despite the use of fixed-point math and the removal of iterative solvers, MERINDA maintained accuracy levels comparable to state-of-the-art methods like PINN+SR.
Conclusion
MERINDA demonstrates that hardware-software co-design is essential for bringing complex physical AI to the edge. By reformulating NODEs into streaming neural flows and optimizing the underlying FPGA architecture, the framework overcomes the traditional sequential bottlenecks of ODE solvers. Future work will explore multi-FPGA clusters for larger models and potential ASIC implementations to further optimize power and area budgets.
Summary updated