Skip to content

Multimodal teacher–student distillation framework for surrogate modeling. Includes examples in fluid dynamics, structural mechanics, and geotechnical engineering with pretrained models and datasets.

Notifications You must be signed in to change notification settings

RAMSIS-Lab/MultiModal-Teacher-Student

Repository files navigation

Multimodal Knowledge Distillation for Surrogate Modeling

This repository contains code for our multimodal teacher–student distillation framework designed to enhance surrogate modeling performance using privileged multimodal data during training. The final student model operates on unimodal input, making it practical for real-world deployment.

Due to anonymous review constraints, the full code for training is not included at this stage. The complete implementation will be released after the paper is published.

We provide three application examples:

  • Flow (Computational Fluid Dynamics)
  • Plate (Structural Mechanics)
  • FOS (Geotechnical Engineering / Factor of Safety)

📁 Repository Structure

  • Datasets/
    Contains datasets for each of the three domains: Flow, Plate, and FOS.

  • Trained Models/
    Includes pretrained models as reported in the associated paper.

  • main.ipynb
    Example notebook showing:

    • How to read and preprocess datasets
    • How to create dataloaders for training and evaluation (after publication)
    • How to load and test pretrained models
  • model.py
    Contains the architecture definitions for both teacher and student networks.

  • engine.py (after publication) Includes the training loop and loss functions for the distillation process.


🚀 Getting Started

Requirements

# Create environment
conda create -n multimodal-distill python=3.9
conda activate multimodal-distill

# Install dependencies
pip install -r requirements.txt

About

Multimodal teacher–student distillation framework for surrogate modeling. Includes examples in fluid dynamics, structural mechanics, and geotechnical engineering with pretrained models and datasets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published