Advancing Human Security with AI: A Collaborative Effort in Training Large Foundation Models
Dalton Lunga
Group Lead, GeoAI
AI for Science - NASA SMD Workshop 2024
Philipe Dias, Abhishek Potnis, Jacob Arndt, Jordan Bowman, Lexie Yang, Ben Swan, Aristeidis Tsaris, Dan Lu, Feiyi Wang, Prasanna Balaprakash
ORNL is managed by UT-Battelle LLC for the US Department of Energy
1
1
Resources needed to train LLM-like models
One layer has 11d2 parameters
2
2
Optimizing distributed training strategies
3
3
Training LLMs with 1 trillion parameters
https://arxiv.org/abs/2312.12705
4
4
Frontier first indicates path�for energy efficient scaling
Business Sensitive
5
5
Unique aspects of Earth observation image modalities
Spectral �bands
6
6
Quetzal Foundation models�Multimodal GeoAI models: toward rapid characterization of infrastructure and environmental change. Modalities: Optical, Synthetic Aperture Radar, Terrain, Text, GIS Vector data�
3-Billion parameter, 2PB High res. Imagery
Pic: Sun, X. et al. “RingMo: A remote sensing foundation model with masked image modeling”.
IEEE TGRS (2022)
Resplendent Quetzal by Phoo Chan, Shutterstock
Why Quetzal ?
Pic: Wang, Yi, et al. "DeCUR: decoupling common & unique representations for multimodal self-supervision." arXiv preprint arXiv:2309.05300 (2023).
300 million parameter, 2TB Optical med res. + SAR imagery
Flood Mapping
Land Use/Land Cover Segmentation
Glacier Mapping
Encoder
Encoder
Encoder
7
7
Quetzal-HR – Open data
| LoveDA�[mIoU % – test] | Potsdam�[mF1 % - val] |
ViT-Base | 50.92 | 90.83 |
ViT-Huge | 51.94 | 91.36 |
ViT-1B | 52.58 | 91.49 |
Image classification (linear probing)
Image segmentation (fine-tuning)
Tsaris, A.; Dias, P.; Potnis, A.; Yin, J.; Wang, F.; Lunga, D. “Pretraining Billion-scale Geospatial Foundational Models on Frontier” To be published at IEEE International Workshop on Parallel and Distributed Scientific and Engineering Computing (PDSEC 2024)
8
8
Quetzal-HR: buildings segmentation
| F1 | Recall | Precision |
U-NET Baseline | 86.58 | 81.23 | 92.69 |
Quetzal (pretrained) | 90.51 | 89.65 | 91.38 |
9
9
Model scaling
Reference | Model size | GPUs | Year |
GASSL | ResNet (~25M) | N/A | 2021 |
Sat-MAE, Scale-MAE | ViT-Large (300M) | 8 V100 GPUs | 2022/2023 |
RVSA | ViT-Base | 8 A100 GPUs | 2022 |
RingMo | Swin/ViT-Base | N/A V100 GPUs | 2022 |
Prithvi | ViT-Large | 64 A100 GPUs | 2023 |
SeCo | ResNet (~25M) | N/A | 2021 |
Satlas | Swin-Base | N/A | 2023 |
GFM | Swin-Base | 8 V100 GPUs | 2023 |
SkySense | ViT-L/Swin-H (654M) | 80 A100 GPUs | 2023 |
Quetzal-HR | ViT-3B | 512 A100 GPUs | 2024 |
An incomplete summary of FMs developed for EO
Dehghani, M., et al. "Scaling vision transformers to 22 billion parameters." ICML 2023.
Zhai, X., et al. "Scaling vision transformers." IEEE/CVF CVPR 2022.
10
10
Data scaling
| Volume | F1 – �Ukraine data | F1 – �Global data |
Global tiles | 0.7 TB | 90.51 % | 91.79 % |
Ukraine images | 18 TB | 90.55 % | 91.40 % |
Xie, Z. et al. “On data scaling in masked image modeling”. IEEE/CVF CVPR 2023.
Larger models require more data to avoid MIM overfitting
Ineffective to just “dump” a bunch of data
11
11
Data biases
Schmitt, Michael, et al. "There are no data like more data: Datasets for deep learning in earth observation." IEEE Geoscience and Remote Sensing Magazine (2023).
12
12
Dataset needs for pretraining and benchmarking
Schmitt, Michael, et al. "There are no data like more data: Datasets for deep learning in earth observation." IEEE Geoscience and Remote Sensing Magazine (2023).
13
13
Energy-efficient AI foundation model for better climate and weather solution
14
14
ClimaX forecasts weather 72 hours ahead
Surface air temperature
Wind speed
15
15
Superior scaling efficiency of ClimaX on Frontier supercomputer
Scaling ClimaX model with 100M parameters up to 32 Frontier nodes
Scaling ClimaX model with 1B parameters up to 32 Frontier nodes
16
16
A new grand challenge: AI security�
17
17
18
18
AI security research – understanding risks and threats�A new field of research at the intersection of AI and Cyber Security Research
AI SECURITY RESEARCH
Risks
Threats
Control
Robustness and Reliability
ARTIFICIAL
INTELLIGENCE
RESEARCH
Optimization
Testing and Validation
Scaling
Explainability
CYBER
SECURITY
RESEARCH
Vulnerability Research
Reverse Engineering
Cyber Physical Systems
19
19
Understanding performance and risk-benefit trade-offs �With the increasing economic and societal impact of GeoAI Foundation models, it is critical that we measure and understand their performance, threats, and risk-benefit trade-offs
Downstream:�TASK-SPECIFIC AND CONTEXTUAL
Multimodal Geospatial Foundation models: �BENCHMARKING
Downstream:�HUMAN ALIGNMENT
Pic: FLASK: Fine-grained Language Model Evaluation based on
Alignment Skill Sets, arXiv, 2024
20
20