betaFeedback

WorksMathematics

Topology-Preserving Hodge–Laplacian Diffusion on Manifolds with Boundary

Abstract

Overview: We study deterministic and stochastic Hodge–Laplacian diffusion of differential forms on a fixed smooth compact Riemannian manifold with boundary. Absolute and relative boundary conditions select harmonic spaces representing ordinary and relative cohomology. We investigate the preservation properties of these diffusion processes, their compatible cellular discretizations, and their implications for reverse diffusion models. Numerical experiments on an annulus and a solid torus illustrate the theoretical results. Mathematical Significance: Using the de Rham complex and its constant-sheaf interpretation, we distinguish preservation of harmonic coordinates from preservation of a cohomology class. We establish that deterministic heat flow preserves the harmonic projection and exponentially damps its orthogonal complement. For additive stochastic forcing, we prove that pathwise harmonic preservation is equivalent to the absence of harmonic noise. Exact forcing preserves closedness and the initial cohomology class for closed initial data, whereas harmonic-projected forcing need not preserve closedness. We further show that compatible cellular discretizations retain these properties, with an algebraic extension to fixed weighted cellular sheaves. Separating invariant preservation from time-step stability and covariance accuracy, we derive bounds on leakage arising from approximate harmonic projectors. AI Relevance: We develop a finite-dimensional conditional score formulation that confines reverse diffusion to a prescribed harmonic component or, for closed data, a fixed cohomology class. This provides a mathematically grounded framework for incorporating topological constraints into diffusion-based generative AI models on manifolds.

Introduction

Topological data analysis increasingly studies not only the topology of a base space, but also data distributed over that space. Sheaf theory provides a natural local-to-global language for this setting: stalks encode local data, restriction maps encode compatibility, and sheaf cohomology measures global consistency and its obstructions [1, 2]. Persistent sheaf Laplacians provide the associated multiscale framework [3], with applications to image representations [4] and labeled biological networks [5]. With stalk inner products specified, the cochain complex of a cellular sheaf carries a Hodge Laplacian whose kernel represents sheaf cohomology. With standard stalk inner products, the ordinary graph Laplacian is the degree-zero constant-sheaf case on a graph; higher-degree cellular Hodge Laplacians arise from the same construction on a cell complex [2].

At the molecular scale, Hayes et al. use localized persistent sheaf Laplacian spectra to predict protein flexibility through B-factors [6]. Ren et al. combine persistent sheaf Laplacian features with protein-transformer embeddings and physicochemical descriptors in SheafLapNet to predict mutation-induced changes in protein stability and solubility [7]. These applications motivate encoding heterogeneous local information in a sheaf; they are not numerical tests of the topology-preserving diffusion studied here.

Differential forms furnish the continuous counterpart relevant here. The assignments U↦Ωq(U)U \mapsto\Omega^q(U) form sheaves over a smooth manifold, and the exterior derivative assembles them into the de Rham complex. Thus the Hodge Laplacian on forms may be viewed as the analytic Laplacian associated with a local-to-global sheaf complex. On a smooth compact manifold with boundary, the absolute and relative boundary realizations select finite-dimensional harmonic spaces representing ordinary and relative cohomology, respectively. Boundary conditions are therefore part of the topological data model, not merely an implementation detail.

Manifold topological deep learning (MTDL) constructs image-derived vector fields, decomposes them using boundary-aware Hodge operators, and feeds the resulting components into a convolutional classifier [8]. Combinatorial network-based MTDL (CNMTDL) instead couples the Hodge-derived representation to attention-based processing on 0-cell and 2-cell branches for image classification [9]. These representation pipelines motivate our choice of form-valued data. Compatible geometric discretizations provide the underlying Hodge operators [10, 11].

For multiscale manifold analysis, Su, Tong, and Wei construct persistent de Rham–Hodge Laplacians using boundary-aware Cartesian-grid operators in an Eulerian representation [12]. Their construction compares manifolds across a filtration. The present paper instead studies diffusion time on a fixed realization and the conditions under which selected harmonic coordinates or a cohomology class remain invariant. We focus on differential 1-forms, with statements in general degree where appropriate. The geometry, metric, coefficient system, and boundary realization are held fixed during each trajectory. The deterministic Hodge heat flow damps non-harmonic modes while leaving the selected harmonic component unchanged. Random perturbations can support data augmentation and forward noising, but noise with a nonzero harmonic component changes the harmonic coordinates. Our question is how to constrain the continuous, discrete, and reverse dynamics to preserve a selected harmonic projection or, for closed data, a cohomology class.

What is preserved. We distinguish three assertions. First, harmonic-coordinate preservation means PBωt=PBω0P_B\omega_t = P_B\omega_0, where PBP_B is the orthogonal projector onto the kernel of the chosen boundary Hodge Laplacian. This fixes the component of the form in the harmonic space and is meaningful even for nonclosed forms. Second, cohomology preservation requires that closed initial data remain closed and that ωt−ω0∈im⁡dB\omega_t-\omega_0 \in\operatorname{im}d_B, where dBd_B is the differential in the appropriate absolute or relative complex. Third, preservation of the topology of a decoded image or segmentation requires a separate statement about the decoder and its output. Our theorems address the first two assertions. The base manifold’s topology is fixed by assumption; harmonic coefficients are real-valued features of a form, not Betti numbers or a complete description of an image’s topology.

Constant-sheaf scope and sheaf-valued extension. The continuum analysis and numerical experiments use the real constant coefficient system. § 3–§ 6 work with the de Rham complex, while § 7 formulates compatible cellular discretizations using full or relative cochain complexes. Applying this description to support-restricted Cartesian operators requires identifying their retained degrees of freedom and boundary treatment with the appropriate complex. We also give an algebraic extension to fixed weighted cellular sheaves. Continuous diffusion with nonconstant coefficient sheaves requires an additional analytic realization and is discussed as a future direction in § 10.

Relation to existing theory. The analytical foundations are classical boundary Hodge theory [13, 14], Hilbert-complex discretization [15], and stochastic evolution equations [16]. Hodge heat equations also have an established finite element theory [17]. Spectral cellular sheaf theory supplies the discrete local-to-global interpretation and the sheaf Laplacian [2]. Weighted boundary Hodge theory and Cartesian-grid discretizations [18] provide a natural extension to spatially varying data weights. Score-based time reversal [19] supplies the finite-dimensional generative formulation. The basic semigroup, Hodge decomposition, sheaf Hodge theorem, and time-reversal identities are not claimed as new. Our aim is to distinguish harmonic-coordinate preservation from cohomology preservation in one boundary-consistent setting, carry these constraints into discrete stochastic dynamics, and separate them from time-step stability, covariance accuracy, and projector error.

The paper is organized as follows. § 2 introduces the sheaf-theoretic formulation, and § 3 specifies the boundary Hodge operators and Hilbert-complex setting. § 4 establishes deterministic preservation and decay, while § 5 characterizes harmonic preservation under stochastic forcing and describes non-harmonic fluctuations. § 6 distinguishes projected and exact perturbations and proves cohomology preservation for closed initial data under exact forcing. § 7 develops compatible cellular discretizations, structure-preserving time steps, and bounds on leakage from approximate harmonic projectors. § 8 formulates finite-dimensional conditional reverse diffusion with fixed harmonic coordinates. § 9 reports deterministic experiments on a planar annulus and a solid torus, together with a stochastic annulus comparison of unprotected, harmonic-projected, and exact noise. § 10 discusses limitations, further validation, and extensions beyond the constant-sheaf setting.

Notation and conventions. Throughout this manuscript, qq denotes differential-form or cochain degree, mm the manifold dimension, hh the mesh scale, and tt diffusion time. The upright labels tan and nor denote tangential (absolute) and normal (relative) boundary realizations. We write S\mathcal{S} for a cellular sheaf on a finite regular cell complex KK, Cq(K;S)C^q(K;\mathcal{S}) for its cochains, and dSqd^q_{\mathcal{S}} for its upward coboundary; the sheaf subscript is suppressed when clear from context. On a manifold, dd is the exterior derivative and δ\delta the downward Hodge codifferential; in a cochain complex, δ\delta denotes the corresponding downward adjoint. Superscripts on dd and δ\delta indicate their source degree. The symbols ∗*, ∗^\ast, and ⊤\top denote the Hodge star, an inner-product adjoint, and real matrix transpose, respectively. All Laplacians use the nonnegative convention. Spaces and differentials outside the natural degree range are understood to be zero. Boundary realizations are specified in § 3; matrix and mass-coordinate conventions are introduced in § 7.

Sheaf-theoretic and TDA formulation

Sheaves as local-to-global data structures

Let XX be a topological space. A sheaf S\mathcal{S} of real vector spaces assigns a vector space S(U)\mathcal{S}(U) to each open set U⊂XU \subset X and a restriction map S(U⊃V):S(U)→S(V)\mathcal{S}(U \supset V) : \mathcal{S}(U) \to\mathcal{S}(V) whenever V⊂UV \subset U. The restrictions satisfy identity and composition laws, and compatible local sections on an open cover glue uniquely to a section on the union. The stalk Sx\mathcal{S}_x is the space of germs of local sections at xx, while Γ(X;S)=S(X)\Gamma(X;\mathcal{S})=\mathcal{S}(X) is the space of global sections. This is the local-to-global viewpoint emphasized in applied sheaf theory [1].

For data analysis, the base space records the geometry or combinatorics of the sample, while the sheaf records what data live locally and how neighboring measurements must agree. On a manifold, the constant sheaf R\mathbb{R} assigns to each open set UU the vector space of locally constant real-valued functions on UU, with ordinary restriction of functions. Its stalks are one-dimensional, but its section space on a disconnected open set need not be one-dimensional. In the cellular model, the constant sheaf assigns R\mathbb{R} to each cell and the identity to each face-restriction map. Nonconstant sheaves permit varying stalk dimensions and nontrivial compatibility maps, thereby encoding local frames, partial correspondences, heterogeneous features, or constraints that cannot be represented by a scalar graph weight alone.

Differential forms as a sheaf complex

On a smooth manifold MM, the assignment U↦Ωq(U)U \mapsto\Omega^q(U) is a sheaf, denoted Ωq\Omega^q. The exterior derivative commutes with restrictions and yields the de Rham complex of sheaves

0⟶R⟶Ω0→dΩ1→d⋯→dΩm⟶0.(1)0 \longrightarrow\mathbb{R} \longrightarrow\Omega^0 \xrightarrow{d} \Omega^1 \xrightarrow{d} \cdots\xrightarrow{d} \Omega^m \longrightarrow0. \tag*{(1)}

The augmented sequence (1) is exact as a sequence of sheaves and is a fine resolution of R\mathbb{R}. The unaugmented complex of global sections, beginning with Ω0(M)\Omega^0(M) in degree zero, is the ordinary de Rham complex. Taking global sections need not preserve exactness; its cohomology is identified with the sheaf cohomology of the constant sheaf,

HdRq(M)≃Hq(M;R),(2)H_{\mathrm{dR}}^q(M) \simeq H^q(M;\mathbb{R}), \tag*{(2)}

and the relative complex similarly represents Hq(M,∂M;R)H^q(M,\partial M;\mathbb{R}). Thus the harmonic spaces in this paper are analytic representatives of constant-sheaf cohomology, selected by the metric, inner product, and boundary realization.

Cellular sheaves, cohomology, and spectral diffusion

Let KK be a finite regular cell complex. A cellular sheaf S\mathcal{S} assigns a finite-dimensional vector space S(σ)\mathcal{S}(\sigma) to each cell and a linear restriction map Sσ≤τ:S(σ)→S(τ)\mathcal{S}_{\sigma\leq\tau}:\mathcal{S}(\sigma)\to\mathcal{S}(\tau) to each face relation. The defining compatibility is

Sρ≤τ=Sσ≤τ∘Sρ≤σ(ρ≤σ≤τ),Sσ≤σ=id⁡S(σ).\mathcal{S}_{\rho\leq\tau}=\mathcal{S}_{\sigma\leq\tau}\circ\mathcal{S}_{\rho\leq\sigma}\quad(\rho\leq\sigma\leq\tau),\qquad\mathcal{S}_{\sigma\leq\sigma}=\operatorname{id}_{\mathcal{S}(\sigma)}.

A global section is a compatible assignment sσ∈S(σ)s_\sigma\in\mathcal{S}(\sigma) with Sσ≤τsσ=sτ\mathcal{S}_{\sigma\leq\tau}s_\sigma=s_\tau; its space is Γ(K;S)\Gamma(K;\mathcal{S}). The degree-qq cochains are

Cq(K;S)=⨁σ∈Kdim⁡σ=qS(σ).(3)C^q(K;\mathcal{S})=\bigoplus_{\substack{\sigma\in K\\ \dim\sigma=q}}\mathcal{S}(\sigma). \tag*{(3)}

A cochain is an arbitrary assignment to cells of a fixed degree; it need not satisfy the compatibility conditions of a global section.

After orientations are chosen, write dSq:Cq(K;S)→Cq+1(K;S)d_{\mathcal{S}}^q:C^q(K;\mathcal{S})\to C^{q+1}(K;\mathcal{S}) for the sheaf coboundary:

(dSqx)τ=∑σ<τdim⁡σ=q[σ:τ] Sσ≤τxσ,dSq+1dSq=0.(4)(d_{\mathcal{S}}^q x)_\tau=\sum_{\substack{\sigma<\tau\\ \dim\sigma=q}}[\sigma:\tau]\,\mathcal{S}_{\sigma\leq\tau}x_\sigma,\qquad d_{\mathcal{S}}^{q+1}d_{\mathcal{S}}^q=0. \tag*{(4)}

For a simplex τ=[v0,…,vq+1]\tau=[v_0,\ldots,v_{q+1}] and its face obtained by deleting viv_i, the induced signed incidence is [σ:τ]=(−1)i[\sigma:\tau]=(-1)^i. Orienting simplices by a global vertex ordering follows [3 Section 2.2]; for the cubical annulus we instead use its oriented cellular incidences. Its cohomology and degree-zero interpretation are

Hq(K;S)=ker⁡dSq/im⁡dSq−1,H0(K;S)≅Γ(K;S).H^q(K;\mathcal{S})=\ker d^q_{\mathcal{S}}/\operatorname{im}d^{q-1}_{\mathcal{S}},\qquad H^0(K;\mathcal{S})\cong\Gamma(K;\mathcal{S}).

Relative sheaf cohomology is obtained by restricting to cochains that vanish on a boundary subcomplex [1, 2].

Equip the stalks with inner products and the cochains with their orthogonal sum, and write δSq=(dSq−1)∗\delta^q_{\mathcal{S}}=(d^{q-1}_{\mathcal{S}})^* for the downward adjoint. Following [3 Section 2.4], the degree-qq sheaf Hodge Laplacian is

Δq,S=dSq−1δSq+δSq+1dSq=dSq−1(dSq−1)∗+(dSq)∗dSq.(5)\Delta_{q,\mathcal{S}}=d^{q-1}_{\mathcal{S}}\delta^q_{\mathcal{S}}+\delta^{q+1}_{\mathcal{S}}d^q_{\mathcal{S}} =d^{q-1}_{\mathcal{S}}(d^{q-1}_{\mathcal{S}})^*+(d^q_{\mathcal{S}})^*d^q_{\mathcal{S}}. \tag*{(5)}

This is dδ+δdd\delta+\delta d in degree qq. The first term is the down-Laplacian and the second is the up-Laplacian; the first is absent at degree zero. Finite-dimensional Hodge theory gives

ker⁡Δq,S≅Hq(K;S),\ker\Delta_{q,\mathcal{S}}\cong H^q(K;\mathcal{S}),
Cq(K;S)=im⁡dSq−1⊕ker⁡Δq,S⊕im⁡δSq+1.(6)C^q(K;\mathcal{S})=\operatorname{im}d^{q-1}_{\mathcal{S}}\oplus\ker\Delta_{q,\mathcal{S}}\oplus\operatorname{im}\delta^{q+1}_{\mathcal{S}}. \tag*{(6)}

Consequently, the sheaf diffusion

x˙=−Δq,Sx(7)\dot{x}=-\Delta_{q,\mathcal{S}}x \tag*{(7)}

converges to the orthogonal projection onto the harmonic sheaf cochains. For q=0q=0, the constant sheaf on a graph with standard stalk inner products gives ordinary graph-Laplacian consensus. Other positive stalk inner products give its weighted counterpart. For higher degrees, the constant sheaf yields the corresponding cellular Hodge-Laplacian flow. A nonconstant sheaf replaces scalar agreement by compatibility of local, possibly heterogeneous, data.

The terms harmonic spectrum and non-harmonic spectrum follow the PSL literature: they refer to the zero and positive eigenvalues, respectively [3, 5, 4]. Harmonic-coordinate preservation below concerns the coefficients of the evolving state in the zero eigenspace, not changes in the eigenvalues of a fixed operator.

The current model as the constant-sheaf specialization

The smooth continuum state ω∈Ω1(M)\omega\in\Omega^1(M) is a global section of Ω1\Omega^1, and the differential complex is the de Rham resolution of R\mathbb{R}; its L2L^2 completion supplies the analytic state space below. For a boundary-conforming cellular model (Kh,∂Kh)(K_h,\partial K_h), ordinary scalar cochains are the cochains of the constant cellular sheaf. The full and relative complexes compute Hq(Kh;R)H^q(K_h;\mathbb{R}) and Hq(Kh,∂Kh;R)H^q(K_h,\partial K_h;\mathbb{R}), respectively. Section 7 uses these complexes as the absolute and relative discrete models, with coboundary matrices DBqD^q_B and mass-weighted Hodge Laplacians. The additional identification required for support-restricted Cartesian operators is discussed in § 7.

Table 1 records the dictionary used throughout the paper. Lowercase dqd^q denotes an abstract differential and uppercase DqD^q its matrix in specified bases. This follows the operator/matrix distinction in [3 Proposition 3.1].

References

  1. [1]R. Ghrist, Sheaves, Chapter 9 in Elementary Applied Topology, CreateSpace, 2014.
  2. [2]J. Hansen and R. Ghrist, Toward a spectral theory of cellular sheaves, Journal of Applied and Computational Topology 3 (2019), 315–358. doi:10.1007/s41468-019-00038-7.DOI
  3. [3]X. Wei and G.-W. Wei, Persistent sheaf Laplacians, Foundations of Data Science 7 (2025), no. 2, 446–463. doi:10.3934/fods.2024033.DOI
  4. [4]X. X. Wang and G.-W. Wei, Multi-dimensional persistent sheaf Laplacians for image analysis, arXiv preprint arXiv:2602.14846v1 (2026). arXiv:2602.14846v1.arxiv.org/abs/2602.14846
  5. [5]S. Cottrell, S. Yoon, X. Wei, A. Dickson, and G.-W. Wei, Computational drug repurposing for Alzheimer’s disease via sheaf theoretic population-scale analysis of snRNA-Seq data, Journal of Medicinal Chemistry 69 (2026), 4221–4238. doi:10.1021/acs.jmedchem.5c02862.DOI
  6. [6]N. Hayes, X. Wei, H. Feng, E. Merk urjev, and G.-W. Wei, Persistent sheaf Laplacian analysis of protein flexibility, The Journal of Physical Chemistry B 129 (2025), 4169–4178. doi:10.1021/acs.jpcb.5c01287.DOI
  7. [7]Y. Ren, J. Wee, X. Chen, G. Qian, and G.-W. Wei, Persistent sheaf Laplacian analysis of protein stability and solubility changes upon mutation, Protein Science 35 (2026), e70700. doi:10.1002/pro.70700.DOI
  8. [8]X. Liu, Z. Su, Y. Shi, Y. Tong, G. Wang, and G.-W. Wei, Manifold topological deep learning for biomedical data, Nature Communications 17 (2026), Article 4710. doi:10.1038/s41467-026-71392-1.DOI
  9. [9]A. Wachira, X. Liu, Z. Su, Y. Tong, G. Wang, and G.-W. Wei, Combinatorial network-based manifold topological deep learning for image analysis, arXiv preprint arXiv:2609.25453v1 (2026). arXiv:2609.25453v1.arxiv.org/abs/2609.25453
  10. [10]R. Zhao, M. Desbrun, G.-W. Wei, and Y. Tong, 3D Hodge decompositions of edge- and face-based vector fields, ACM Transactions on Graphics 38 (2019), no. 6, Article 181. doi:10.1145/3355089.3356546.DOI
  11. [11]Z. Su, Y. Tong, and G.-W. Wei, Hodge decomposition of vector fields in Cartesian grids, SIGGRAPH Asia 2024 Conference Papers (2024), Article 90, 1–10. doi:10.1145/3680528.3687602.DOI
  12. [12]Z. Su, Y. Tong, and G.-W. Wei, Persistent de Rham–Hodge Laplacians in Eulerian representation for manifold topological learning, AIMS Mathematics 9 (2024), no. 10, 27438–27470. doi:10.3934/math.20241333.DOI
  13. [13]G. Schwarz, Hodge Decomposition—A Method for Solving Boundary Value Problems, Lecture Notes in Mathematics, vol. 1607, Springer, Berlin, Heidelberg, 1995. doi:10.1007/BFb0095978.DOI
  14. [14]S. Hofmann, M. Mitrea, and S. Monniaux, Riesz transforms associated with the Hodge Laplacian in Lipschitz subdomains of Riemannian manifolds, Annales de l’Institut Fourier 61 (2011), no. 4, 1323–1349. doi:10.5802/aif.2642.DOI
  15. [15]D. N. Arnold, R. S. Falk, and R. Winther, Finite element exterior calculus: from Hodge theory to numerical stability, Bulletin of the American Mathematical Society 47 (2010), no. 2, 281–354. doi:10.1090/S0273-0979-10-01278-4.DOI
  16. [16]G. Da Prato and J. Zabczyk, Stochastic Equations in Infinite Dimensions, 2nd ed., Cambridge University Press, 2014.
  17. [17]D. N. Arnold and H. Chen, Finite element exterior calculus for parabolic problems, ESAIM: Math. Model. Numer. Anal. 51 (2017), no. 1, 17–34. doi:10.1051/m2an/2016013.DOI
  18. [18]Z. Su, Y. Tong, and G.-W. Wei, Weighted Hodge Laplacians on manifolds with boundary, arXiv preprint arXiv:2608.00244v1 (2026). arxiv.org/abs/2608.00244v1.arxiv.org/abs/2608.00244
  19. [19]Y. Song, J. Sohl-Dickstein, D. P. Kingma, A. Kumar, S. Ermon, and B. Poole, Score-based generative modeling through stochastic differential equations, International Conference on Learning Representations (2021). arXiv:2011.13456.arxiv.org/abs/2011.13456
  20. [20]M. W. Licht, Smoothed projections and mixed boundary conditions, Mathematics of Computation 88 (2019), no. 316, 607–635. doi:10.1090/mcom/3330.DOI
  21. [21]D. Pauly and M. Schomburg, Hilbert complexes with mixed boundary conditions—Part 1: de Rham complex, Mathematical Methods in the Applied Sciences 45 (2022), no. 5, 2465–2507. doi:10.1002/mma.7894.DOI
  22. [22]V. Gol’dshtein, I. Mitrea, and M. Mitrea, Hodge decompositions with mixed boundary conditions and applications to partial differential equations on Lipschitz manifolds, Journal of Mathematical Sciences 172 (2011), no. 3, 347–400. doi:10.1007/s10958-010-0200-y.DOI
  23. [23]D. J. Higham, An algorithmic introduction to numerical simulation of stochastic differential equations, SIAM Review 43 (2001), no. 3, 525–546. doi:10.1137/S0036144500378302.DOI
  24. [24]U. G. Haussmann and E. Pardoux, Time reversal of diffusions, The Annals of Probability 14 (1986), no. 4, 1188–1205. doi:10.1214/aop/1176992362.DOI

Paper details

vlnc:W_ttru5vtk
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Claude

View statement
Looking for related papers…
Contents