A Learning-Based Ansatz Satisfying Boundary Conditions in Variational Problems

Rafael Florencio, Julio Guerrero
5/18/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Recently, innovative adaptations of the Ritz Method incorporating deep learning have been developed, known as the Deep Ritz Method. This approach employs a neural network as the test function for variational problems. However, the neural network does not inherently satisfy the boundary conditions of the variational problem. To resolve this issue, the Deep Ritz Method introduces a penalty term into the functional of the variational problem, which can lead to misleading results during the optimization process. In this work, an ansatz is proposed that inherently satisfies the boundary conditions of the variational problem. The results demonstrate that the proposed ansatz not only eliminates misleading outcomes but also reduces complexity while maintaining accuracy, showcasing its practical effectiveness in addressing variational problems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{florencio2025learningbased,
  title  = {A Learning-Based Ansatz Satisfying Boundary Conditions in Variational Problems},
  author = {Rafael Florencio and Julio Guerrero},
  year   = {2025},
  eprint = {2505.12430},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.12430v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.12430.svg)](https://codeofpaper.com/paper/2505.12430)

Discussion