Dự báo lưu lượng dòng chảy

Ứng dụng mô hình học sâu trong bài toán dự báo lưu lượng dòng chảy

Màu chấm theo

Mô hình dự báo thế nào?

Hình 1.3. Kiến trúc chung của mọi mô hình học sâu trên trang

Vuốt ngang để xem hết hình.

Panel a: the original BiasCast Sequential Forecast LSTM. The 31 reanalysis variables of ERA5-Land, E-OBS, MSWEP and GLEAM and the observed qmean in cubic metres per second are concatenated and pass one linear layer to 16 values; the 5 ECMWF HRES variables of day t pass a linear layer to 16 values; the 33 basin attributes pass a linear layer to 16 values per phase. 364 plus 1 days go through one LSTM layer of 128 units and a linear layer to one z-scored value, which is scaled back to qmax of day t in mm per day. Panel b: this study. Each of the five past sources has its own linear layer and the results are combined by a masked mean, with random masking in training; observed qmean and qmax are both in mm per day; the forecast phase has one group for ECMWF HRES and, in the 7-day task, seven GEFSv12 groups, one per lead time; the core is exchangeable between LSTM, GRU, Transformer, S4D and Mamba; the head outputs qmax of day t, or of days t to t plus 6. (a) BiasCast · Sequential Forecast LSTM (original) Past days t−364 … t−1 ERA5-Land reanalysis · 21 E-OBS gridded obs. · 7 MSWEP precipitation · 1 GLEAM evaporation · 2 Observed qmean · 1 (m³/s) Forecast day t ECMWF HRES · 5 Basin attributes · 33 all 32 variables concatenated Linear 32 → 16 Linear 5 → 16 Linear 33 → 16 (×2) LSTM 128 hidden · 1 layer forget gate bias 3 ≈ 85k parameters Linear 128 → 1 dropout 0.3 first z-scored output Undo z-score × σ + μ qmax, day t mm/day 364 + 1 days · 16 + 16 = 32 values per day 1 seed per configuration · early stopping (patience 5) · loss NSE* (b) This study: same frame, changed blocks tagged with their step B2 changed in that step (Chapter 5) kept from BiasCast Past days t−364 … t−1 ERA5-Land reanalysis · 21 E-OBS gridded obs. · 7 MSWEP precipitation · 1 GLEAM evaporation · 2 Observed qmean + qmax · 2both in mm/day B1a · B1b Forecast days t … t+6 ECMWF HRES, day t · 5 GEFSv12 lead 1 · 5 GEFSv12 lead 2 · 5 GEFSv12 lead 3 · 5 GEFSv12 lead 4 · 5 GEFSv12 lead 5 · 5 GEFSv12 lead 6 · 5 GEFSv12 lead 7 · 5 H Basin attributes · 33 One linear layer per source → 16 Masked mean skips missing sources random masking One linear layer per group → 16 Masked mean Linear 33 → 16 (×2) B2 B3 H static 16 appended to every day each day 16 + 16 = 32 (H: + lead counter = 33) Input sequence Exchangeable core LSTM GRU Transformer S4D Mamba causal: day k sees ≤ k ≈ 85k or 254k params C Linear d → 1 d = core width dropout 0.3 first Undo z-score × σ + μ qmax mm/day C, D: day t H: t … t+6 H Next day (C): 364 + 1 days 7 days (H, LSTM and Mamba): 364 + 7, one output per forecast day 2-year lookback (D): 729 + 1 Forecast inputs in the 7-day task (H) past: none, only the lead counter hybrid: ECMWF HRES on day t, days t+1 … t+6 left empty gefs: hybrid + on day t+k−1 only GEFSv12 lead k perfect: reanalysis of days t … t+6 (upper bound) 5 variables per group: t2m, d2m, ssrd, tp, e B0 3 seeds · 30 epochs, no early stopping · checkpoint = best validation epoch · loss NSE* · m³/s on this site is for display only

Hình 1.4. Cách chia dữ liệu theo thời gian

Vuốt ngang để xem hết hình.

Flow levels and flood thresholds use 1981 to 2013. Training 2003 to 2009, validation 2010 to 2013, test 2014 to 2017. ECMWF HRES forecasts exist from 2002. 198119912001 2003201020142017 Flow levels and flood thresholds: 1981–2013 Training 2003–2009 Validation Test ECMWF HRES from 2002

Năm lõi được so sánh

Vuốt ngang để xem hết hình.

LSTM unrolled over the days and the inside of one cell: a memory line c with a forget gate and an input gate, and an output gate that produces h.Unrolled over the dayscellday k−2x (32)cellday k−1x (32)cellday kx (32)h → layer 2 → headcchhInside one LSTM cellmemory cₖ₋₁cₖ×+××hₖ₋₁xₖ (32)hₖσforget fσinput itanhnew gσoutput otanhf, i, o = σ(W [hₖ₋₁, xₖ] + b), g = tanh(W_g [hₖ₋₁, xₖ] + b_g)cₖ = f ⊙ cₖ₋₁ + i ⊙ g, hₖ = o ⊙ tanh(cₖ)This study: 2 stacked layers, 77 units each;forget-gate bias starts at 3 (keep memory by default).The same cell runs 364 past days, then the forecastday(s), carrying c and h over.

Kết quả nghiên cứu

2.0 Quá trình huấn luyện

2.1 Xếp hạng mô hình

Về dự án

Nhóm thực hiện
Huỳnh Ngọc Thắng · 23110327
Huỳnh Thanh Nhân · 23110280
Giảng viên hướng dẫn
ThS. Lê Minh Tân
Đơn vị
Khoa Công nghệ Thông tin, Trường ĐH Công nghệ Kỹ thuật TP.HCM (HCM-UTE)