Abstract
This paper introduces the Fixed-Point Iteration (FPI) layer, a modular neural network component that represents the steady-state solution of an iterative algorithm. By leveraging a "backward FPI layer" for gradient computation, the authors provide a memory-efficient way to integrate complex optimization logic and iterative priors into deep learning models without the need for manual Jacobian derivations.
Introduction
Modern deep learning often struggles to encode complex constraints or iterative logic—such as those found in traditional physics-based or optimization-based algorithms—within standard feedforward layers. While "differentiable optimization layers" (like OptNet) exist, they typically require researchers to manually derive backpropagation formulas using KKT conditions for every new problem formulation.
This paper bridges the gap between theoretical techniques like Recurrent Back-Propagation (RBP) and modern autograd libraries. It introduces a modular implementation of iterative "steady-state" layers that are easy to integrate into standard deep learning pipelines.
Methodology
The authors propose two main components to enable these iterative layers:
- Forward FPI Layer: Instead of a simple function $y = f(x)$, this layer defines an update rule $x_{n+1} = g(x_n, z; \theta)$ and iterates until it reaches a fixed point $\hat{x}$ (where $\hat{x} = g(\hat{x})$). This allows the layer to "solve" a problem internally.
- Backward FPI Layer: To train the layer, the gradient of the loss with respect to parameters $\theta$ is required. Instead of "unrolling" iterations, which is memory-intensive, the authors derive a new fixed-point iteration for the gradient itself.
Jacobian-Free Backpropagation
To avoid explicit calculation of massive Jacobian matrices, the authors define a scalar helper function $h(x, z, c; \theta) = c^\top g(x, z; \theta)$. By applying standard autograd to this scalar function, they compute necessary vector-Jacobian products efficiently. This modular implementation yields gradients via a small network module rather than explicit, memory-heavy Jacobian calculations.
Furthermore, the authors provide a mathematical proof (Proposition 1) showing that if the forward FPI is a contraction mapping (guaranteed to converge), the backward FPI is also guaranteed to converge to a unique point.
Experimental Evaluation
The method was evaluated on three distinct tasks:
- Image Denoising: Evaluated on a grayscale version of the Flying Chairs dataset.
- Optical Flow: Used the original Flying Chairs dataset to demonstrate the FPI layer as a post-processor for FlowNet.
- Multi-label Text Classification: Tested on the Bibtex dataset, containing 1,836 indicators and 159 labels.
Results and Discussion
The FPI layer demonstrated consistent performance improvements across all tasks.
In the optical flow task, adding a minimal FPI layer (adding $<0.01\%$ more parameters) to the end of FlowNet resulted in a noticeable drop in Average End Point Error (EPE) across training epochs, as shown in Figure 1.
For image denoising, the FPI_NN layer consistently outperformed standard feedforward networks of equivalent size. As detailed in Figure 2, at a noise level of $\sigma=25$, FPI_NN achieved a PSNR of 29.74 compared to the feedforward baseline of 29.09.
In multi-label classification, FPI_NN and FPI_GD achieved F1 scores of 43.4 and 43.2, respectively, outperforming several state-of-the-art methods like SPEN and ICNN.
Conclusion and Limitations
The FPI layer offers a memory-efficient, high-abstraction approach to integrating iterative logic into neural networks. Because the gradient only depends on the final fixed point, the model doesn't need to store intermediate states from the forward pass.
However, the method relies on the update function $g$ being a "contraction mapping." While initializing weights to small values often suffices in practice, stricter enforcement (e.g., via spectral normalization) may be necessary for complex architectures. Additionally, FPI layers require multiple iterations for convergence, which can increase training and inference time. Future work may further explore acceleration techniques like Anderson acceleration to mitigate these computational costs.
Summary updated