Lightweight and Interpretable Transformer via Mixed Graph Algorithm Unrolling for Traffic Forecast
Qi, Do, Liu et al.
Unlike conventional "black-box" transformers with classical self-attention mechanism, we build a lightweight and interpretable transformer-like neural net by unrolling a mixed-graph-based optimization algorithm to forecast traffic with spatial and temporal dimensions. We construct two graphs: an undirected graph $\mathcal{G}^u$ capturing spatial correlations across geography, and a directed graph $\mathcal{G}^d$ capturing sequential relationships over time. We predict future samples of signal $\mathbf{x}$, assuming it is "smooth" with respect to both $\mathcal{G}^u$ and $\mathcal{G}^d$, where we design new $\ell_2$ and $\ell_1$-norm variational terms to quantify and promote signal smoothness (low-frequency reconstruction) on a directed graph. We design an iterative algorithm based on alternating direction method of multipliers (ADMM), and unroll it into a feed-forward network for data-driven parameter learning. We insert graph learning modules for $\mathcal{G}^u$ and $\mathcal{G}^d$ that play the role of self-attention. Experiments show that our unrolled networks achieve competitive traffic forecast performance as state-of-the-art prediction schemes, while reducing parameter counts drastically. Our code is available in https://github.com/SingularityUndefined/Unrolling-GSP-STForecast .
academic
혼합 그래프 알고리즘 전개를 통한 경량 및 해석 가능한 Transformer 기반 교통 예측
본 논문은 혼합 그래프 알고리즘 전개에 기반한 경량 해석 가능 Transformer 모델을 교통 예측에 제안한다. 기존의 "블랙박스" Transformer와 달리, 본 방법은 혼합 그래프 최적화 알고리즘을 전개하여 해석 가능한 Transformer 유사 신경망을 구축한다. 모델은 두 개의 그래프를 구성한다: 무향 그래프 Gu는 지리공간 상관성을 포착하고, 유향 그래프 Gd는 시간 관계를 포착한다. 새로운 ℓ2 및 ℓ1 노름 변분 항을 설계하여 유향 그래프 상의 신호 평활성을 정량화하고 촉진하며, 교대 방향 승수법(ADMM)에 기반하여 반복 알고리즘을 설계하고 이를 데이터 기반 매개변수 학습을 위한 피드포워드 네트워크로 전개한다. 실험 결과는 본 모델이 경쟁력 있는 교통 예측 성능을 유지하면서 매개변수 수를 대폭 감소시킴을 보여준다.
종합 평가: 이는 교통 예측 분야에서 혁신적인 작업으로, 알고리즘 전개 개념을 혼합 그래프 설정으로 성공적으로 확장하여 성능을 유지하면서 매개변수 수를 대폭 감소시켰다. 일부 지표에서 개선의 여지가 있지만, 경량성과 해석 가능성의 특징이 중요한 실용적 가치와 학술적 의의를 부여한다.