Checklist USA-NA-AIO 2025 Round 2 · Task 1
Physics-Informed Neural Network for the Heat Equation
Solve the one-dimensional heat equation with a physics-informed neural network and compare it with the analytic solution.
The task
Problem 1 (100 points, 12 parts) considers u_t − α u_xx = 0 on x, t in [0, 1] with u(0, x) = sin(πx) and zero boundary values. The contestant proves the analytic solution u = e^{−απ²t} sin(πx), builds a fully connected network HeatPINN with tanh activations, creates PDE collocation (500 random points), initial-condition (101 points) and boundary-condition (202 points) datasets, uses torch.autograd.grad for first and second derivatives, trains with Adam (learning rate 1e-3, α = 0.1, 1,000 epochs, mini-batches of 32 for the PDE set), explains the batching choice, and evaluates the network on a 101×101 grid.
Abridged by SOTA from the official materials. The official statement has the exact rules, and it wins wherever this summary differs.
At a glance
- You submit
- Written answers and code in a notebook.
- Rules
- Only the starter imports (torch, numpy, matplotlib, tqdm).
- Format
- 2025 USA-NA-AIO Round 2, 27 April 2025 at MIT (IOAI news article). Statements and official solutions were posted on the USAAIO forum on 14 May 2025.