Towards Highly Realistic Artistic Style Transfer via Stable Diffusion with Step-Aware and Layer-Aware Prompt

Abstract

Traffic accidents represent a significant concern due to their devastating consequences. The ability to predict future traffic accident risks is of key importance to accident prevention activities in transportation systems. Although existing studies have made substantial efforts to model spatio-temporal correlations, they fall short when it comes to addressing the zero-inflated data issue and capturing spatio-temporal heterogeneity, which reduces their predictive abilities. In addition, improving efficiency is an urgent requirement for traffic accident forecasting. To overcome these limitations, we propose an efficient Spatio-Temporal learning framework for Traffic Accident Risk forecasting (ST-TAR). Taking long-term and short-term data as separate inputs, the ST-TAR model integrates hierarchical multi-view GCN and long short-term cross-attention mechanism to encode spatial dependencies and temporal patterns. We leverage long-term periodicity and short-term proximity for spatio-temporal contrastive learning to capture spatio-temporal heterogeneity. A tailored adaptive risk-level weighted loss function based on efficient locality-sensitive hashing is introduced to alleviate the zero-inflated issue. Extensive experiments on two real-world datasets offer evidence that ST-TAR is capable of advancing state-of-the-art forecasting accuracy with improved efficiency. This makes ST-TAR suitable for applications that require accurate real-time forecasting.

Cite

Text

Zhang et al. "Towards Highly Realistic Artistic Style Transfer via Stable Diffusion with Step-Aware and Layer-Aware Prompt." International Joint Conference on Artificial Intelligence, 2024. doi:10.24963/ijcai.2024/865

Markdown

[Zhang et al. "Towards Highly Realistic Artistic Style Transfer via Stable Diffusion with Step-Aware and Layer-Aware Prompt." International Joint Conference on Artificial Intelligence, 2024.](https://mlanthology.org/ijcai/2024/zhang2024ijcai-highly/) doi:10.24963/ijcai.2024/865

BibTeX

@inproceedings{zhang2024ijcai-highly,
  title     = {{Towards Highly Realistic Artistic Style Transfer via Stable Diffusion with Step-Aware and Layer-Aware Prompt}},
  author    = {Zhang, Zhanjie and Zhang, Quanwei and Lin, Huaizhong and Xing, Wei and Mo, Juncheng and Huang, Shuaicheng and Xie, Jinheng and Li, Guangyuan and Luan, Junsheng and Zhao, Lei and Zhang, Dalong and Chen, Lixia},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year      = {2024},
  pages     = {7814-7822},
  doi       = {10.24963/ijcai.2024/865},
  url       = {https://mlanthology.org/ijcai/2024/zhang2024ijcai-highly/}
}