프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

BARNN: A Bayesian Autoregressive and Recurrent Neural Network

BARNN: 베이지안 자기회귀 및 순환 신경망

  • 연구 문제 자기회귀·순환 모델은 예측력이 강하지만 가중치 불확실성을 정량화하는 원칙적 틀이 부족합니다.
  • 연구 방법 BARNN은 가중치를 상태와 함께 시간에 따라 진화시키는 결합 확률 모델로 만들고, 변분 드롭아웃과 시간 의존 tVAMP 사전분포로 학습합니다.
  • 주요 결과 합성 시계열, PDE 해법, 분자 생성 실험에서 BARNN은 보고된 기준선보다 나은 불확실성 지표와 분자 통계를 보였습니다. 결과는 각 실험의 설정과 시드 조건에서 해석되어야 합니다.

자기회귀·순환 모델의 불확실성 문제

자기회귀 모델과 순환 신경망은 날씨 예측, PDE 해 생성, 분자 생성 등에서 강한 예측 능력을 보였지만, 학습 분포를 벗어나면 과적합되어 잘못된 예측을 자신 있게 내놓기 쉽습니다. 이 논문은 이러한 모델의 가중치에 대한 불확실성, 즉 인식적 불확실성을 정량화하는 원칙적인 틀이 부족하다는 점에서 출발합니다. 과학 계산에서는 PDE 해법의 롤아웃 오차가 시간에 따라 누적되므로 이 문제가 특히 중요합니다.

상태와 가중치를 함께 진화시키는 BARNN

BARNN은 기존의 결정적 가중치 w를 시간에 따라 변하는 가중치 ωt로 바꾸고, 상태 yt를 이전 상태와 현재 가중치 ωt에 조건부로 샘플링합니다. 가중치는 이전 상태에 조건부인 변분 사후분포 qϕ(ωt | y0:t-1)에서 추출됩니다. 학습에는 시점별 변분 하한이 쓰이며, 이 하한은 VAE 목적과 비슷하게 기대 로그우도에서 시간별 KL 항을 뺀 형태입니다. 최종 손실의 기대 로그우도 항은 음의 로그우도 최소화로 쓰이므로 로그우도 최대화와 같은 방향입니다.

Figure 1: BARNN generative model (a) and inference model (b). Solid lines represent the generative process, whereas dotted
lines indicate the variational appro…

Figure 1 : BARNN generative model (a) and inference model (b). Solid lines represent the generative process, whereas dotted lines indicate the variational approximation used for inference. The network weights ωt evolve jointly with the states yt, forming a coupled probabilistic model. During inference, the weights are sampled from the variational posterior q, allowing for improved parameter estimation based on observed data. The draw depicts the one-step causal evolution of the states.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

변분 드롭아웃 기반 가중치 샘플링

모든 가중치를 직접 샘플링하면 큰 네트워크에서 비용이 커집니다. BARNN은 변분 드롭아웃을 재해석하여 가중치를 ωt = f(Ω, αt, ϵ) 형태로 재매개변수화합니다. 여기서 Ω는 학습되는 정적 가중치, αt는 이전 상태에서 인코더 Eψ가 출력하는 시간 의존 드롭아웃 계수, ϵ는 잡음입니다. 층별 정규 분포로 가정하며, 로컬 재매개변수화 기법으로 가중치 대신 활성값의 평균과 분산을 계산해 샘플링합니다.

시간 의존 tVAMP 사전분포

KL 항이 Ω에 독립적이 되도록 사전분포를 고르면, 최적의 사전분포는 시점별 집계 사후분포로 주어집니다. 저자들은 이를 tVAMP라고 부르며, 원래 VampPrior가 잠재 변수에 대한 사전분포인 것과 달리 tVAMP는 베이지안 네트워크 가중치에 대한 시간 의존 사전분포라는 점이 다르다고 설명합니다. 실제 계산에서는 배치의 이전 상태로부터 βlt와 γlt를 구해 가우시안 사전분포 N(βltΩl, (γltΩl)^2)를 만들고, 그 결과 KL 항이 Ω에 독립적인 닫힌 형태로 주어집니다.

합성 시계열에서 사전분포 비교

합성 사인파 시계열 실험은 사전분포 선택의 효과를 분리하기 위한 통제 환경입니다. 모든 모델은 같은 2층 신경망 구조를 사용하고, tVAMP와 log-uniform 사전분포를 비교합니다. 결과에서 tVAMP는 log-uniform의 NLL −0.092를 −0.166으로 낮추며, 가장 낮은 RMSE와 ECE도 보고합니다. 이 결과는 이 합성 과제와 설정에서 얻어진 것이며, 다른 데이터나 모델로 일반화된 결과는 아닙니다.

Table 1: Ablation for different BARNN priors for the sinusoidal time-series forecasting dataset. The results report RMSE,
NLL, and ECE statistics. Static metho…

Table 1 : Ablation for different BARNN priors for the sinusoidal time-series forecasting dataset. The results report RMSE, NLL, and ECE statistics. Static method reports the RMSE obtained if the initial state is not propagated, while MLP is the base (non-Bayesian) architecture. BARNN uses the same MLP architecture, and it is ablated on different priors.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

PDE 해법의 불확실성 정량화

PDE 실험은 Burgers, KS, KdV 방정식에서 BARNN을 자기회귀 Fourier Neural Operator에 적용해 평가합니다. 학습된 해법을 320 step 동안 롤아웃하고, 네 개의 난수 초기화 시드의 평균과 표준편차로 NLL과 ECE를 보고합니다. 저자들은 BARNN이 비교 대상보다 낮은 NLL과 ECE를 보였다고 보고합니다. 반면 PDE Refiner는 세 방정식 모두에서 해법 지표가 발산하여 break로 기록됩니다. 또한 RMSE만으로는 불확실성의 품질을 판단하기 어렵다는 점을 저자들이 강조합니다.

Figure 2: Prediction and uncertainty intervals for different PDEs at last time-step. The figure depicts the CFD solution (red
dotted line) alongside the BARNN…

Figure 2 : Prediction and uncertainty intervals for different PDEs at last time-step. The figure depicts the CFD solution (red dotted line) alongside the BARNN mean prediction (solid blue line) with ±3 std for uncertainty quantification (shaded blue area).

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Figure 3: RMSE and NLL for different Neural Solvers
predicting solutions to different PDEs

Figure 3 : RMSE and NLL for different Neural Solvers predicting solutions to different PDEs.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Table 2: NLL and ECE for Burgers, KS and KdV PDEs for
different Neural Solvers. The mean and std are computed for
four different random weights initialization…

Table 2 : NLL and ECE for Burgers, KS and KdV PDEs for different Neural Solvers. The mean and std are computed for four different random weights initialization seeds. Solvers are unrolled for 320 steps, break is reported when the solver metric diverged.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 5: PDE parameters setup. The discretization in time and space is indicated by nt and nx respectively, tmax represents
the simulation physical time, and L…

Table 5 : PDE parameters setup. The discretization in time and space is indicated by nt and nx respectively, tmax represents the simulation physical time, and L is the domain length.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.
Table 9: RMSE for Burgers, KS and KdV PDEs for different Neural Solvers. The mean and std are computed for four
different random weights initialization seeds.…

Table 9 : RMSE for Burgers, KS and KdV PDEs for different Neural Solvers. The mean and std are computed for four different random weights initialization seeds. Solvers are unrolled for 320 steps.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 21쪽에서 그림 영역을 추출했습니다.
Figure 7: Exemplary of 1-dimensional Burgers rollout

Figure 7 : Exemplary of 1-dimensional Burgers rollout.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.
Figure 8: Exemplary of 1-dimensional Kuramoto-Sivashinsky rollout

Figure 8 : Exemplary of 1-dimensional Kuramoto-Sivashinsky rollout.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.
Figure 9: Exemplary of 1-dimensional Korteweg de Vries rollout

Figure 9 : Exemplary of 1-dimensional Korteweg de Vries rollout.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.

앙상블 구성원 수와 MAP 추정

앙상블 실험은 BARNN의 샘플 수가 예측 통계에 미치는 영향을 봅니다. 저자들은 약 30개의 앙상블 구성원에서 RMSE가 수렴한다고 보고합니다. 불확실성이 필요 없는 응용에서는 가중치의 최대사후확률 추정을 사용하여 단일 순전파로 수렴 RMSE를 얻을 수 있다고 설명합니다. 이 수렴 관찰은 이 PDE 실험의 설정에서 나온 것입니다.

분자 생성과 SMILES 구조 학습

분자 생성 실험은 ChEMBL 기반 약 1.9M개의 SMILES로 LSTM 계열 모델을 사전학습한 뒤 50K개의 분자를 샘플링합니다. BARNN은 표준 LSTM, SMILES LSTM과 비교되며, validity, diversity, novelty, uniqueness를 보고합니다. 저자들은 BARNN이 validity와 uniqueness에서 두 기준선보다 높다고 보고하고, 고리 닫힘 오류와 고리 수가 많은 분자에서 장거리 의존성 처리가 개선된다고 설명합니다. 다양성의 개선은 기준선보다 작다고 보고됩니다.

Table 3: Designing drug-like molecules de novo with BARNN, mean and std shown for four different random weight
initialization seeds

Table 3 : Designing drug-like molecules de novo with BARNN, mean and std shown for four different random weight initialization seeds.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.
Figure 14: Samples of generated molecules with BARNN

Figure 14 : Samples of generated molecules with BARNN.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.

분자 속성 분포 일치도

속성 실험은 생성된 분자의 분자량, 수소결합 공여체와 수용체, 회전 가능 결합, LogP, TPSA 분포가 학습 데이터와 얼마나 가까운지를 Wasserstein distance W2로 측정합니다. 표에서 BARNN은 평가된 여섯 속성 모두에서 기준선보다 낮은 W2를 보고합니다. 특히 가장 예측하기 어려운 분자량에서 W2가 크게 줄었다고 저자들이 설명합니다.

Figure 11: Distribution density for each molecular property
descriptor for BARNN and chEMBL molecules. The distri-
butions for different descriptors overlap si…

Figure 11 : Distribution density for each molecular property descriptor for BARNN and chEMBL molecules. The distri- butions for different descriptors overlap significantly.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 24쪽에서 그림 영역을 추출했습니다.
Figure 13: Distribution density for each molecular property
descriptor for BARNN and chEMBL molecules. The distri-
butions for different descriptors overlap si…

Figure 13 : Distribution density for each molecular property descriptor for BARNN and chEMBL molecules. The distri- butions for different descriptors overlap significantly.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.

범위와 남은 질문

부록의 드롭아웃 비율과 입력 섭동 절제 실험은 계산 부담 때문에 한 개의 시드만 사용합니다. 따라서 이 절제 결과는 본문의 네 시드 평균과 같은 신뢰도로 해석하기 어렵습니다. 또한 PDE 실험의 상태 분포 표준편차는 학습되지 않고 고정된 값으로 가정됩니다. 저자들은 사전분포의 지식 반영, 블록 단위 가지치기, 인식적·우연적 불확실성의 시간 역할을 향후 과제로 제시합니다.

Table 6: Results for different PDEs and Dropout rates on the validation set for 140 steps unrolling. Results report RMSE,
NLL, and ECE statistics

Table 6 : Results for different PDEs and Dropout rates on the validation set for 140 steps unrolling. Results report RMSE, NLL, and ECE statistics.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.
Table 7: Results for different PDEs and Input Perturbations scales δ on the validation set for 140 steps unrolling. Results
report RMSE, NLL, and ECE statistics

Table 7 : Results for different PDEs and Input Perturbations scales δ on the validation set for 140 steps unrolling. Results report RMSE, NLL, and ECE statistics.

원문 · CC BY 4.0 · Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza · BARNN: A Bayesian Autoregressive and Recurrent Neural Network · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.

논문 정보

저자
Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza
학회·저널
arXiv · 프리프린트
최초 공개일
2025년 1월 30일
등록일
2026년 10월 31일
수정일
2025년 7월 18일
버전
v2
arXiv
2501.18665
분류
cs.LG · cs.AI
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

Autoregressive and recurrent networks have achieved remarkable progress across various fields, from weather forecasting to molecular generation and Large Language Models. Despite their strong predictive capabilities, these models lack a rigorous framework for addressing uncertainty, which is key in scientific applications such as PDE solving, molecular generation and Machine Learning Force Fields. To address this shortcoming we present BARNN: a variational Bayesian Autoregressive and Recurrent Neural Network. BARNNs aim to provide a principled way to turn any autoregressive or recurrent model into its Bayesian version. BARNN is based on the variational dropout method, allowing to apply it to large recurrent neural networks as well. We also introduce a temporal version of the "Variational Mixtures of Posteriors" prior (tVAMP-prior) to make Bayesian inference efficient and well-calibrated. Extensive experiments on PDE modelling and molecular generation demonstrate that BARNN not only achieves comparable or superior accuracy compared to existing methods, but also excels in uncertainty quantification and modelling long-range dependencies.

원문 인용

Dario Coscia, Max Welling, Nicola Demo, Gianluigi Rozza (2025). BARNN: A Bayesian Autoregressive and Recurrent Neural Network. arXiv:2501.18665v2. https://arxiv.org/abs/2501.18665v2

BibTeX
@misc{coscia2025barnn,
  title = {{BARNN: A Bayesian Autoregressive and Recurrent Neural Network}},
  author = {Dario Coscia and Max Welling and Nicola Demo and Gianluigi Rozza},
  year = {2025},
  eprint = {2501.18665},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.18665v2}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입