[Paper Review] Classical and Quantum Algorithms for Orthogonal Neural Networks
This paper introduces a novel classical and quantum algorithm for training orthogonal neural networks (OrthoNNs) with perfect orthogonality and quadratic time complexity. By representing orthogonal weight matrices as pyramidal circuits of 2D rotations parameterized by angles, the method enables gradient descent directly on angles, ensuring exact orthogonality without costly SVD, achieving the same asymptotic speed as standard networks while outperforming prior SVD-based methods.
Orthogonal neural networks have recently been introduced as a new type of neural networks imposing orthogonality on the weight matrices. They could achieve higher accuracy and avoid evanescent or explosive gradients for deep architectures. Several classical gradient descent methods have been proposed to preserve orthogonality while updating the weight matrices, but these techniques suffer from long running times or provide only approximate orthogonality. In this paper, we introduce a new type of neural network layer called Pyramidal Circuit, which implements an orthogonal matrix multiplication. It allows for gradient descent with perfect orthogonality with the same asymptotic running time as a standard layer. This algorithm is inspired by quantum computing and can therefore be applied on a classical computer as well as on a near term quantum computer. It could become the building block for quantum neural networks and faster orthogonal neural networks.
Motivation & Objective
- To address the inefficiency of classical SVD-based methods for maintaining orthogonality in neural network weight matrices during training.
- To develop a training method that preserves exact orthogonality without sacrificing computational efficiency.
- To enable efficient classical and quantum inference by leveraging quantum-inspired circuit design.
- To demonstrate feasibility on near-term quantum hardware using real devices and simulations.
Proposed method
- Represent orthogonal weight matrices as pyramidal circuits composed of successive 2D rotations, each parameterized by an angle.
- Perform gradient descent on the rotation angles instead of the weight matrix entries, ensuring exact orthogonality by construction.
- Use a backpropagation scheme that computes gradients for each angle in O(1) time per parameter, leading to O(n²) total gradient computation.
- Store intermediate inner-layer states (ζ^λ) during forward pass to enable efficient backward pass with constant-time gradient updates.
- Map the learned angles to quantum circuits for inference, using real-amplitude quantum gates to preserve orthogonality.
- Design the circuit with linear depth, single-gate type, and simple connectivity, making it suitable for NISQ devices.
Experimental results
Research questions
- RQ1Can we train orthogonal neural networks with perfect orthogonality and O(n²) time complexity, matching standard networks?
- RQ2Can a quantum-inspired classical algorithm achieve exact orthogonality without SVD or iterative projection?
- RQ3Can the pyramidal circuit architecture be efficiently implemented on near-term quantum computers for faster inference?
- RQ4Does the angle-based optimization landscape allow for stable and accurate training compared to SVD-based methods?
Key findings
- The classical pyramidal circuit achieves O(n²) time complexity for both feedforward and weight update, matching standard networks, while ensuring exact orthogonality.
- The method outperforms SVD-based approaches (e.g., SVB) in training speed and maintains strict orthogonality without approximation.
- Numerical experiments on MNIST show 98.4% accuracy on classical simulators and 98.0% on IBM’s 5-qubit quantum device for a [4,2] network.
- A [4,4,2] network achieved 82.8% accuracy on the 5-qubit device, demonstrating feasibility despite hardware noise and limited qubit count.
- The quantum circuit implementation offers a provable speedup in inference due to its shallow depth and linear circuit depth.
- The angle-based optimization scheme enables efficient gradient computation with O(n²) total cost, avoiding the O(n³) cost of SVD-based methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.