Skip to content

small PINN loss doesn't mean accurate #5

@stevengogogo

Description

@stevengogogo

Question

Why smaller PINN loss does not lead to accurate solution?

PINN Loss Prediction Method
1.5129e-03 With BC hard constraint #4 (comment)
1.8789e-01 with BC soft constraint #4 (comment)

Does problem 1 actually have 1 solution?

1D PDE problem:

$-u_{xx} + \gamma u = f$

and homogeneous boundary conditions (BC)

The analytical solution is

$u(x) = \sum_k c_k \sin(w_k \pi x)$
and
$f = \sum_k c_k (w_k^2 \pi^2 + \gamma) \sin(w_k \pi x)$

  • Is $w_k$ an integer to guarantee $f(1)=0$

Originally posted by @stevengogogo in #4 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions