Skip to content

Implementation for AAAI 2026 paper: Boosting Fine-Grained Urban Flow Inference via Lightweight Architecture and Focalized Optimization

Notifications You must be signed in to change notification settings

Applied-Machine-Learning-Lab/PLGF

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Boosting Fine-Grained Urban Flow Inference via Lightweight Architecture and Focalized Optimization

Overview

PLGF (Progressive Local-Global Fusion Network) is a deep learning model designed for fine-grained urban flow inference. The model combines local and global feature fusion mechanisms with progressive upsampling and feature modulation to achieve high-precision flow density map prediction. Also, it adopts a focalized optimization strategy to address the imbalanced distribution of flow density values, improving the model's generalization ability.

Project Structure

.
β”œβ”€β”€ data/                           # Data storage directory
β”‚   └── TaxiBJ/                     # TaxiBJ dataset directory
β”œβ”€β”€ util/                           # Utility modules and model components
β”‚   β”œβ”€β”€ __init__.py                 # Package initialization file
β”‚   β”œβ”€β”€ PLGF.py                     # PLGF model core implementation
β”‚   β”œβ”€β”€ dataset.py                  # Dataset loading and building 
β”‚   β”œβ”€β”€ metric.py                   # Evaluation metrics (MSE, MAE, MAPE)
β”‚   └── focalloss.py                # Focalized Loss implementation
β”œβ”€β”€ main.py                         # Main training script
└── README.md                       # Project documentation

Requirements

This code is implemented in Python and based on the PyTorch framework. To ensure compatibility, please install the following dependencies:

Basic Environment

  • Python: 3.8+
  • PyTorch: 1.8.0+

Running

you can run the code by running the following command:

python main.py

πŸ“ Dataset

TaxiBJ datasets can be obtained in baseline UrbanFM's repo.

πŸ“ Citation

If you find our work useful in your research, please consider citing our paper:

@inproceedings{zhu2026boosting,
  title={Boosting Fine-Grained Urban Flow Inference via Lightweight Architecture and Focalized Optimization},
  author={Zhu, Yuanshao and Zhao, Xiangyu and Zhang, Zijian and Wei, Xuetao and Yu, James Jianqiao},
  booktitle={Proceedings of the AAAI conference on artificial intelligence},
  volume={40},
  year={2026}
}

About

Implementation for AAAI 2026 paper: Boosting Fine-Grained Urban Flow Inference via Lightweight Architecture and Focalized Optimization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%