About

Writing Project:: PENG9570 Course Project - Writing Project - VIBE Draft Index:: Drafts - PENG9570 Course Project - VIBE Outline Partner:: 02 - Background - Outline 1 Previous Draft:: 02 - Mathematical Methods - Draft 6 - HUMAN Role:: Final report draft adapted from Overleaf final modifications

2. Mathematical Methods

The Poisson equation is discretized into the sparse FEM system , which is embedded in an SNN where is the weight matrix of the system and are the biases applied to each neuron. Each node in the mesh contains a small collection of recurrently connected neurons. The number of neurons per mesh point (NPM) defines the resolution, and two values for this variable are tested.

We define the PDE problem as a steady-state Poisson equation on a disk with Dirichlet boundary conditions:

The sparse linear system is obtained by applying the Galerkin method \cite{brennerMathematicalTheoryFinite2008} to the weak form of the PDE, giving:

where are the fixed (piecewise-linear) basis functions used as both the test and trial functions, and are the unknown nodal coefficients such that:

Two forcing functions are tested. For the benchmark test a constant forcing function is used: ; and for the complex case: . Both have analytic solutions used as ground truth in performance evaluation.

The assembled stiffness matrix is symmetric and positive-definite. Symmetry follows directly from in the integral above, and positive-definiteness from the Dirichlet constraint, since:

for any nonzero admissible that vanishes on .

A more complete derivation of the method is given in the article’s supplementary text \cite{theilmanSolvingSparseFinite2025}.

2.1 Spiking Neural Network

The weak form of the PDE is implemented in a generalized leaky integrate-and-fire (LIF) SNN:

Spiketrains are decoded through the sparse readout matrix and low-pass filtered by leaky integration to produce real-valued output variables . Half the neurons in a node project with a positive readout weight and half with . The neuron population is balanced between inhibitory-excitatory neurons to ensure the readout variable approaches the solution value.

Neuronal connections fall into two classes of fast and slow synapses. Slow synapses interconnect mesh nodes and undergo two integrations:

Thus, the system matrix is sparsely connected, resulting in also having a sparse block structure. The fast synapses connect only within their mesh node and undergo a single integration:

which yields a diagonal block matrix, with each block representing a densely self-integrated SNN.

The spiketrain integration occurs at a designated timestep interval , at which point the membrane potential for a neuron is calculated by the full differential equation:

The first term is the membrane time constant. is the local residual error computation, the difference between the left-hand and right-hand sides of the linear system, where the bias current acts on each neuron:

where is the slow synaptic integration (local estimate of ). The term is a running integral of : the integral (I) term of a proportional-integral (PI) controller.

This integral term is a key improvement made over the proportional-only predictive-coding network of Boerlin, Machens, and Denève \cite{boerlinPredictiveCoding2013}, upon which the authors build. The PI controller drives the steady-state residual to zero, eliminating the persistent bias that a proportional-only controller leaves in the solution. The term is the fast within-node synaptic integration. Finally, the term is added Gaussian noise. Neurons emit a spike when the membrane voltage reaches the threshold value , after which the threshold is subtracted from the membrane potential rather than resetting it to zero.

The spiking network implements the dynamical system:

The projected right-hand side bias is applied to each neuron, where is the FEM forcing vector injected as a constant input current. The network converges if all eigenvalues of are positive. We ensure during construction the system matrix is positive-definite by applying Jacobi preconditioning to control the symmetric diagonal scaling of and cluster the eigenvalues around . If the condition number the system is ill-conditioned and the iterative solver will converge slowly.