Tensor Network Space-Time Spectral Collocation Method for Time-Dependent Convection-Diffusion-Reaction Equations
Abstract
:1. Introduction
2. Mathematical Model and Numerical Discretization
2.1. Convection-Diffusion-Reaction Equation
2.2. Chebyshev Collocation Method
2.2.1. Matrix Form of the Discrete CDR Equation
2.2.2. Time Discretization Using Finite Differences and Chebyshev Grids
- Finite difference approach: With time points, , such that and are the initial and final time points, the length of the time step is . We emphasize that the backward Euler method is unconditionally stable, and thus the stability is independent of the size of the time step [25]. To consider the finite difference approach, we need to represent space and time separately. For this purpose we introduce a separate representation of the column vector, U, as a column vector with components, each of size : . Each component , represents the spatial part of the solution at time point . Let represent the load vector at time point . In the temporal finite difference approach, at each time step, we have to solve the following linear system,Here, is the space-identity matrix of size , and, = + + , is the space spectral matrix which is positive definite. Hence, we have, , and the linear system Equation (7) has a unique solution. We can unite the space and time operators and solve Equation (7) in a single step. First, we rewrite Equation (7) as follows:Then, we define the time derivatives matrix, T, consistent with the backward Euler scheme,By employing T, , and the Kronecker product, ⊗, we can construct the matricization of the space-time operator, , where is the time-identity matrix of size . Hence, the linear system, in the finite differences approach is:We note that in Ref. [26], the authors employed the same finite difference technique to solve the heat equation in TT format. The authors explored this technique to approximate a high-dimensional PDE such as Fokker–Planck in Ref. [26]. Further, in [12], the authors approximated the Vlasov–Maxwell equation using a semi-implicit finite difference method in QTT format. In [27], the authors explored the Boltzmann–BGK equation using the Crank–Nicolson Leap Frog (CNLF) scheme in TT format. However, these schemes primarily suffer from a low convergence order. In what follows, we study the tensor network space-time spectral collocation methods to derive a high-order scheme.
- Time discretization on a Chebyshev grid: When the order of the Chebyshev polynomials, , the PDE approximate solution, , at time converges exponentially in space, as , as shown in Appendix A.4 in [21], and linearly with the time step ,Hence, the linear system in the space-time collocation method is
2.2.3. Space Discretization on Chebyshev Grids
- Diffusionoperator on a Chebyshev grid: In this section, we focus on the matricization of the diffusion term, →. The diffusion operator is constructed as follows:Then, the function is incorporated to form the diffusion term
- Discretization of the convection term on a Chebyshev grid: Here, we focus on the matricization of the convection term, , with the convective function, , which we assume in the formThen, we construct the convection term
- Discretization of the reaction term on a Chebyshev grid: Here, we focus on the matricization of the reaction term, →, which is given by , where C is the evaluation of the function on the Chebyshev space-time grid.
2.2.4. Initial and Boundary Conditions on Space-Time Chebyshev Grids
3. Tensor Networks
3.1. Tensor Train
3.2. Linear Operators in TT-Matrix Format
3.3. TT Cross-Interpolation
3.4. Tensorization
- TT-matrix time operator, : The temporal operator in TT-matrix format acting only on the interior nodes is constructed as:
- TT-matrix diffusion operator, : The Laplace operator in TT-matrix format is constructed as:Hence, the Laplace operator is a sum of three linear operators in TT-matrix formats, which again is a TT matrix. Further, we need to format the diffusion coefficient on the Chebyshev grid of interior nodes in TT format. To transform , we apply the cross-interpolation technique described in Section 3.3. Finally, we need to transform in TT-matrix format to be able to multiply it with . The transformation to TT → TT-matrix is given in Algorithm 1.
- TT-matrix convection operator, : The convection operator in TT-matrix format is constructed as:
Algorithm 1: Reformat TT, , in TT-matrix format, . |
- TT-matrix reaction operator, : The reaction operator basically is the function being converted to an operator in the same way as with other coefficient functions.Then, the TT-matrix format of the operator is constructed as
- TT-matrix loading tensor, : the TT-matrix loading tensor is constructed by applying the cross-interpolation on the function on the grid of interior nodes.
- TT boundary tensor, : The boundary tensor is used to incorporate the information about boundary and initial conditions into the linear system of the interior nodes. Only in the case of homogeneous BCs and a zero IC is this tensor a zero tensor. Basically, the idea is to construct an operator , similar to . The difference is that will be a mapping from all nodes to only unknown nodes. The size of the operator is . Then, the boundary tensor is computed by applying to a tensor containing only the information from the BCs/IC. The details about constructing and are included in Appendix B.
4. Numerical Results
4.1. Test 1: Manufactured Solution with Constant Coefficients
4.2. Test 2: Manufactured Solution with Variable Coefficients
4.3. Test 3: Non-Smooth Solution
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Appendix A. Notation, Basic Definitions, and Operations with Tensors
Appendix A.1. Kronecker Product
Appendix A.2. Tensor Product
Appendix B. Construction of , and
References
- Bellman, R. Dynamic programming. Science 1966, 153, 34–37. [Google Scholar] [CrossRef] [PubMed]
- Bachmayr, M.; Schneider, R.; Uschmajew, A. Tensor networks and hierarchical tensors for the solution of high-dimensional partial differential equations. Found. Comput. Math. 2016, 16, 1423–1472. [Google Scholar] [CrossRef]
- Kolda, T.G.; Bader, B.W. Tensor decompositions and applications. SIAM Rev. 2009, 51, 455–500. [Google Scholar] [CrossRef]
- Oseledets, I.V. Tensor-train decomposition. SIAM J. Sci. Comput. 2011, 33, 2295–2317. [Google Scholar] [CrossRef]
- Kazeev, V.A.; Khoromskij, B.N. Low-rank explicit QTT representation of the Laplace operator and its inverse. SIAM J. Matrix Anal. Appl. 2012, 33, 742–758. [Google Scholar] [CrossRef]
- Gelß, P.; Klein, R.; Matera, S.; Schmidt, B. Solving the time-independent Schrödinger equation for chains of coupled excitons and phonons using tensor trains. J. Chem. Phys. 2022, 156, 024109. [Google Scholar] [CrossRef]
- Benner, P.; Khoromskaia, V.; Khoromskij, B.; Kweyu, C.; Stein, M. Regularization of Poisson–Boltzmann type equations with singular source terms Using the range-separated tensor format. SIAM J. Sci. Comput. 2021, 43, A415–A445. [Google Scholar] [CrossRef]
- Matveev, S.A.; Zheltkov, D.A.; Tyrtyshnikov, E.E.; Smirnov, A.P. Tensor train versus Monte Carlo for the multicomponent Smoluchowski coagulation equation. J. Comput. Phys. 2016, 316, 164–179. [Google Scholar] [CrossRef]
- Manzini, G.; Skau, E.; Truong, P.M.D.; Vangara, R. Nonnegative tensor-train low-rank approximations of the Smoluchowski coagulation equation. In Proceedings of the International Conference on Large-Scale Scientific Computing, Sozopol, Bulgaria, 7–11 June 2021; Springer: Berlin/Heidelberg, Germany, 2021; pp. 342–350. [Google Scholar]
- Manzini, G.; Truong, P.M.D.; Vuchkov, R.; Alexandrov, B. The tensor-train mimetic finite difference method for three-dimensional Maxwell’s wave propagation equations. Math. Comput. Simul. 2023, 210, 615–639. [Google Scholar] [CrossRef]
- Ye, E.; Loureiro, N. Quantum-inspired method for solving the Vlasov-Poisson equations. Phys. Rev. E 2022, 106, 035208. [Google Scholar] [CrossRef]
- Ye, E.; Loureiro, N. Quantized tensor networks for solving the Vlasov-Maxwell equations. arXiv 2023, arXiv:2311.07756. [Google Scholar] [CrossRef]
- Kormann, K. A semi-Lagrangian Vlasov solver in tensor train format. SIAM J. Sci. Comput. 2015, 37, B613–B632. [Google Scholar] [CrossRef]
- Truong, D.P.; Ortega, M.I.; Boureima, I.; Manzini, G.; Rasmussen, K.O.; Alexandrov, B.S. Tensor networks for solving realistic time-independent Boltzmann neutron transport equation. arXiv 2023, arXiv:2309.03347. [Google Scholar]
- Stocker, T. Introduction to Climate Modelling; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
- Bird, R.B. Transport Phenomena; Wiley: Hoboken, NJ, USA, 1960. [Google Scholar]
- Doi, M.; Edwards, S.F. The Theory of Polymer Dynamics; Oxford University Press: Oxford, UK, 1988. [Google Scholar]
- Eliasof, M.; Haber, E.; Treister, E. Feature transportation improves graph neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, Vancouver, BC, Canada, 20–27 February 2024; Volume 38, pp. 11874–11882. [Google Scholar]
- Choi, H.; Choi, J.; Hwang, J.; Lee, K.; Lee, D.; Park, N. Climate modeling with neural advection–diffusion equation. Knowl. Inf. Syst. 2023, 65, 2403–2427. [Google Scholar] [CrossRef]
- Zhao, K.; Kang, Q.; Song, Y.; She, R.; Wang, S.; Tay, W.P. Graph neural convection-diffusion with heterophily. arXiv 2023, arXiv:2305.16780. [Google Scholar]
- Funaro, D. Spectral Elements for Transport-Dominated Equations; Springer Science & Business Media: Berlin/Heidelberg, Germany, 1997; Volume 1. [Google Scholar]
- Lui, S. Legendre spectral collocation in space and time for PDEs. Numer. Math. 2017, 136, 75–99. [Google Scholar] [CrossRef]
- Marion, J.B. Classical Dynamics of Particles and Systems; Academic Press: Cambridge, MA, USA, 2013. [Google Scholar]
- Hussaini, M.Y.; Kopriva, D.A.; Patera, A.T. Spectral collocation methods. Appl. Numer. Math. 1989, 5, 177–208. [Google Scholar] [CrossRef]
- Li, J.; Chen, Y.T. Computational Partial Differential Equations Using MATLAB®; CRC Press: Boca Raton, FL, USA, 2019. [Google Scholar]
- Dolgov, S.V.; Khoromskij, B.N.; Oseledets, I.V. Fast solution of parabolic problems in the tensor train/quantized tensor train format with initial application to the Fokker–Planck equation. SIAM J. Sci. Comput. 2012, 34, A3016–A3038. [Google Scholar] [CrossRef]
- Boelens, A.M.; Venturi, D.; Tartakovsky, D.M. Tensor methods for the Boltzmann-BGK equation. J. Comput. Phys. 2020, 421, 109744. [Google Scholar] [CrossRef]
- Zhao, Y.L.; Gu, X.M.; Oosterlee, C.W. A parallel preconditioner for the all-at-once linear system from evolutionary PDEs with Crank-Nicolson discretization. arXiv 2024, arXiv:2401.16113. [Google Scholar]
- Dolgov, S.; Vejchodskỳ, T. Guaranteed a posteriori error bounds for low-rank tensor approximate solutions. IMA J. Numer. Anal. 2021, 41, 1240–1266. [Google Scholar] [CrossRef]
- Steinbach, O. Space-time finite element methods for parabolic problems. Comput. Methods Appl. Math. 2015, 15, 551–566. [Google Scholar] [CrossRef]
- Oseledets, I.; Tyrtyshnikov, E. TT-cross approximation for multidimensional arrays. Linear Algebra Its Appl. 2010, 432, 70–88. [Google Scholar] [CrossRef]
- Goreinov, S.A.; Tyrtyshnikov, E.E.; Zamarashkin, N.L. A theory of pseudoskeleton approximations. Linear Algebra Its Appl. 1997, 261, 1–21. [Google Scholar] [CrossRef]
- Mahoney, M.W.; Drineas, P. CUR matrix decompositions for improved data analysis. Proc. Natl. Acad. Sci. USA 2009, 106, 697–702. [Google Scholar] [CrossRef]
- Goreinov, S.A.; Oseledets, I.V.; Savostyanov, D.V.; Tyrtyshnikov, E.E.; Zamarashkin, N.L. How to find a good submatrix. In Matrix Methods: Theory, Algorithms and Applications: Dedicated to the Memory of Gene Golub; World Scientific: Singapore, 2010; pp. 247–256. [Google Scholar]
- Mikhalev, A.; Oseledets, I.V. Rectangular maximum-volume submatrices and their applications. Linear Algebra Its Appl. 2018, 538, 187–211. [Google Scholar] [CrossRef]
- Savostyanov, D.; Oseledets, I. Fast adaptive interpolation of multi-dimensional arrays in tensor train format. In Proceedings of the 2011 International Workshop on Multidimensional (nD) Systems, Aveiro, Portugal, 5–7 September 2011; pp. 1–8. [Google Scholar]
- Oseledets, I.V.; Savostianov, D.V.; Tyrtyshnikov, E.E. Tucker dimensionality reduction of three-dimensional arrays in linear time. SIAM, J. Matrix Anal. Appl. 2008, 30, 939–956. [Google Scholar] [CrossRef]
- Sozykin, K.; Chertkov, A.; Schutski, R.; Phan, A.H.; Cichoki, A.S.; Oseledets, I. TTOpt: A maximum volume quantized tensor train-based optimization and its application to reinforcement learning. Adv. Neural Inf. Process. Syst. 2022, 35, 26052–26065. [Google Scholar]
- Savostyanov, D.V. Quasioptimality of maximum-volume cross interpolation of tensors. Linear Algebra Its Appl. 2014, 458, 217–244. [Google Scholar] [CrossRef]
- Holtz, S.; Rohwedder, T.; Schneider, R. The alternating linear scheme for tensor optimization in the tensor train format. SIAM J. Sci. Comput. 2012, 34, A683–A713. [Google Scholar] [CrossRef]
- Oseledets, I.V.; Dolgov, S.V. Solution of linear systems and matrix inversion in the TT-format. SIAM J. Sci. Comput. 2012, 34, A2718–A2739. [Google Scholar] [CrossRef]
- Dolgov, S.V.; Savostyanov, D.V. Alternating minimal energy methods for linear systems in higher dimensions. SIAM J. Sci. Comput. 2014, 36, A2248–A2271. [Google Scholar] [CrossRef]
- Oseledets, I. TT-Toolbox, Version 2.2. 2023. Available online: https://github.com/oseledets/TT-Toolbox (accessed on 20 January 2024).
- Adak, D.; Danis, M.; Truong, D.P.; Rasmussen, K.Ø.; Alexandrov, B.S. Tensor Network Space-Time Spectral Collocation Method for Solving the Nonlinear Convection Diffusion Equation. arXiv 2024, arXiv:2406.02505. [Google Scholar]
Number of Points per Dimension | Size of in TB | Size of in KB | Compression Ratio |
---|---|---|---|
8 | 1.66 × 10−5 | 3.58 | 2.00 × 10−4 |
16 | 1.23 × 10−2 | 18.8 | 1.42 × 10−6 |
32 | 5.10 | 85.3 | 1.56 × 10−8 |
64 | 1.64 × 103 | 3.63 × 10−2 | 2.06 × 10−10 |
Number of Points per Dimension | Size of in TB | Size of in KB | Compress Ratio |
---|---|---|---|
8 | 1.66 × 10−5 | 17.4 | 9.73 × 10−4 |
16 | 1.23 × 10−2 | 93.0 | 7.03 × 10−6 |
32 | 5.10 | 4.24 × 102 | 7.75 × 10−8 |
64 | 1.64 × 103 | 1.81 × 103 | 1.03 × 10−9 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Adak, D.; Truong, D.P.; Manzini, G.; Rasmussen, K.Ø.; Alexandrov, B.S. Tensor Network Space-Time Spectral Collocation Method for Time-Dependent Convection-Diffusion-Reaction Equations. Mathematics 2024, 12, 2988. https://doi.org/10.3390/math12192988
Adak D, Truong DP, Manzini G, Rasmussen KØ, Alexandrov BS. Tensor Network Space-Time Spectral Collocation Method for Time-Dependent Convection-Diffusion-Reaction Equations. Mathematics. 2024; 12(19):2988. https://doi.org/10.3390/math12192988
Chicago/Turabian StyleAdak, Dibyendu, Duc P. Truong, Gianmarco Manzini, Kim Ø. Rasmussen, and Boian S. Alexandrov. 2024. "Tensor Network Space-Time Spectral Collocation Method for Time-Dependent Convection-Diffusion-Reaction Equations" Mathematics 12, no. 19: 2988. https://doi.org/10.3390/math12192988
APA StyleAdak, D., Truong, D. P., Manzini, G., Rasmussen, K. Ø., & Alexandrov, B. S. (2024). Tensor Network Space-Time Spectral Collocation Method for Time-Dependent Convection-Diffusion-Reaction Equations. Mathematics, 12(19), 2988. https://doi.org/10.3390/math12192988