Skip to content
View yongyibay's full-sized avatar

Sponsoring

@numfocus

Organizations

@bay-yearick-lab

Block or report yongyibay

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
yongyibay/README.md

Isosurfaces of vorticity magnitude in a compressible Taylor-Green vortex, coloured by dilatation

Experience

NBCUniversal · Wells Fargo · USAA · NCSA · Los Alamos National Laboratory · Stanford AI Lab

Open source

  • SciPy. Fixed convergence of scipy.integrate.solve_bvp for complex-valued problems: the Newton line search measured complex steps with np.dot instead of the squared norm (scipy/scipy#26900, merged for SciPy 2.0.0).

Research

  • LLM and agentic AI science. Exact results for when RL fine-tuning and extra sampling pay off: the pass@k single-crossing law between base and RL-tuned models (code), the modal and correlation ceilings of test-time scaling (arXiv:2606.28661, code), and GRPO, Dr. GRPO and DAPO as operations on one group-standard-deviation identity (arXiv:2607.00152, code).
  • GPU-native sparse solvers. Krylov solvers for cut-cell discretizations: polynomial-preserving aggregation keeps cut-cell conditioning within 3.7x (vs 1.8e11), so preconditioned CG converges in every stress case. 14 CUDA kernels (code); parallel PETSc solver for 3D compressible flow (code).
  • Learned solvers with guarantees. Machine learning inside the solver without giving up convergence: a learned algebraic multigrid preconditioner whose prolongator keeps an exact partition of unity and whose smoother is SPD for every network output; 45% fewer PCG iterations than same-sparsity smoothed aggregation on unseen cut-cell geometries, with NVIDIA Warp GPU kernels and JAX/PyTorch adjoints (code).
  • Mimetic discretizations of partial differential equations. Summation-by-parts operators on B-spline finite element spaces; mass, momentum and energy conserved to round-off; provably energy-stable wall closures with 76 Lean-checked theorems (code), closure search (code), periodic exponential B-splines (code) and energy-conserving cut cells (code).
  • Matrix-free methods. Batched 1D line kernels instead of assembled 3D operators: 16.8M unknowns in 1.98 s with 6.14 KB of operator data (arXiv:2606.25148, code).
  • Scientific ML. Conditioning of PINNs and DeepONets (code), closed-form spline hyperparameter selection (arXiv:2606.23575, code), automated solver control, hybrid analytic and ML models, automated algorithm selection.

Selected projects

Two-level multigrid hierarchy on a cut-cell mesh with learned prolongation
learned-cutcell-amg
Learned algebraic multigrid inside preconditioned CG, SPD by construction: 45% fewer iterations than same-sparsity smoothed aggregation on 25 unseen cut geometries, trained on 24² grids and run zero-shot at 224². NVIDIA Warp GPU kernels, JAX and PyTorch adjoints.
Compressible Taylor-Green vortex, vorticity isosurfaces
gpu-cutcell-navier-stokes
Solves the small-cell problem in cut-cell CFD: preconditioned Krylov solvers converge in every sliver stress case on GPU; skew-symmetric compressible solver (Taylor-Green vortex, 96³).
Vortex cores over near-wall streaks in a compressible turbulent channel
high-order-turbulence-dns
High-order B-spline DNS of compressible turbulence (M = 1.5) with provably stable, boundary-consistent stabilization and automated per-step solver control (JCP 2020).
Vortex-wall interaction
energy-stable-sbp-closures
Provably energy-stable high-order wall closures with inf-sup-stable pressure; 1.6×105 lower error than the strongest published stable closure.

Also: high-order-periodic-bspline (periodic B-spline operators, up to 43x more accurate than the spectral-like compact scheme), pinn-boundary-conditioning (conditioning laws for PINNs and DeepONets; hard constraints 9x more accurate, theory within 0.36%), no-3d-matrices (matrix-free batched line solvers), petsc-bspline-compressible (parallel PETSc, GMRES/CG, MPI), energy-conserving-cutcell, sharp-immersed-boundary-projection, sbp-closure-optimizer.

Publications and software

  • Y. Y. Bay, K. A. Yearick. When more sampling hurts: the modal ceiling and correlation ceiling of test-time scaling. arXiv:2606.28661 (2026) · code
  • Y. Y. Bay, K. A. Yearick. GRPO, Dr. GRPO, and DAPO are three operations on one number: the group-standard-deviation identity. arXiv:2607.00152 (2026) · code
  • Y. Y. Bay, K. A. Yearick. The single-crossing law: the pass@k crossover in RLVR is a theorem, not a finding. Manuscript · code
  • Y. Y. Bay et al. Boundary consistent B-spline filtering schemes and application to high fidelity simulations of turbulence. Journal of Computational Physics 419 (2020). doi:10.1016/j.jcp.2020.109680 · code
  • Y. Y. Bay, K. A. Yearick. No 3D Matrices: a unified tensor-product view of matrix-free Cartesian PDE solvers. arXiv:2606.25148 (2026) · code
  • Y. Y. Bay, K. A. Yearick. Structure-preserving B-spline cut-cell flow solvers on the GPU. In preparation · code
  • Y. Y. Bay, K. A. Yearick. Energy-stable summation-by-parts closures for clamped B-splines. In preparation · code
  • Y. Y. Bay, K. A. Yearick. Soft boundary conditions in physics-informed neural networks and DeepONets: a penalty-method analysis. In preparation · code
  • Y. Y. Bay, K. A. Yearick. High-order periodic exponential B-spline operators. In preparation · code
  • Y. Y. Bay. Energy-conserving cut-cell method for the incompressible Navier-Stokes equations. In preparation · code
  • Y. Y. Bay, K. A. Yearick. Solve for the hyperparameter, skip the search: Kolmogorov-optimal scaling laws for spline regression. arXiv:2606.23575 (2026) · code
  • Y. Y. Bay, K. A. Yearick. Machine learning vs deep learning: the generalization problem. arXiv:2403.01621 (2024)

Also: learned cut-cell AMG, parallel PETSc Galerkin solver, sharp immersed boundary projection, SBP closure optimizer. Full list on ORCID.

Patents

New ML methods invented and patented in industry: 4 granted, 4 pending.

  1. Automated model selection. Diagnostics on each time series select an analytic or ML method, cutting the failure rate from 23% to 5%. US 2025/0104103 (pending)
  2. Sequence-aware transfer learning. Transfer learning from related time series gives accurate cold-start forecasts from 1 day of history. US 2025/0390800 (pending)
  3. Hybrid analytic and machine learning models. Closed-form analytic solutions generate the training data for the ML model. US 2025/0390898 (pending)
  4. Robustness evaluation for deployed models. Statistical and practical significance tests separate real accuracy gaps from noise in speech recognition. US 11,626,112 (granted)
  5. Automated failure detection and retraining triggers. A continuation of the first patent: when both tests fire, the system flags the model for retraining or replacement. US 11,817,098 (granted)
  6. Automated accuracy control. Error-rate thresholds calibrated against expert rankings grade every transcription as it is produced. US 11,922,943 (granted)
  7. Learned accuracy categories. A margin classifier learns category boundaries from limited expert labels. US 12,308,030 (granted)
  8. Automated correctness monitoring. Continuous grading of model outputs with alerts when quality degrades. US 2025/0273215 (pending)

Contact

LinkedIn · yongyibay@gmail.com

Pinned Loading

  1. bay-yearick-lab/learned-cutcell-amg bay-yearick-lab/learned-cutcell-amg Public

    Learned algebraic multigrid for cut-cell PDEs: SPD by construction, NVIDIA Warp GPU kernels

    Python

  2. bay-yearick-lab/gpu-cutcell-navier-stokes bay-yearick-lab/gpu-cutcell-navier-stokes Public

    High-order B-spline cut-cell CFD that solves the small-cell problem: GPU sparse PCG, CUDA/cuBLAS/cuFFT kernels

    C++ 2 1

  3. bay-yearick-lab/pinn-boundary-conditioning bay-yearick-lab/pinn-boundary-conditioning Public

    Conditioning laws for soft boundary penalties in PINNs and DeepONets: exact theory, PyTorch GPU experiments, a-priori predictions within 0.36% median error

    Python 2

  4. bay-yearick-lab/petsc-bspline-compressible bay-yearick-lab/petsc-bspline-compressible Public

    Parallel Fortran + PETSc Galerkin B-spline solver for 3D compressible Navier-Stokes: DMDA, KSP GMRES/CG, FFTW, MPI

    Fortran 2

  5. bay-yearick-lab/no-3d-matrices bay-yearick-lab/no-3d-matrices Public

    Matrix-free Cartesian PDE solvers as batched 1D banded kernels: FD, compact, Galerkin/IGA, ADI, fast Poisson (arXiv)

    Python 4

  6. bay-yearick-lab/high-order-turbulence-dns bay-yearick-lab/high-order-turbulence-dns Public

    High-order B-spline DNS of compressible turbulence: provably stable, boundary-consistent stabilization with automated solver control (JCP 2020)

    Python 2