This project explores how different AI model design choices affect environmental sustainability. Instead of evaluating models only by accuracy, the project also measures energy consumption and CO₂ emissions during model training.
The goal is to demonstrate Responsible AI by Design by making environmental impact a measurable and comparable factor in AI development.
AI models can be computationally expensive and energy-intensive. More complex models often achieve slightly better performance, but at the cost of significantly higher energy consumption and CO₂ emissions.
This project answers the question: Is higher accuracy always worth the environmental cost?
A synthetic maintenance failure prediction dataset is used to simulate a realistic industrial AI scenario.
- Task: Binary classification (failure / no failure)
- Context: Predictive maintenance or operational analytics
- Generated a synthetic dataset with operational features
- Split data into training and testing sets
- Applied feature scaling
Two models were trained on the same dataset:
- Simple model: Logistic Regression
- Complex model: Random Forest
- CO₂ emissions during model training were measured using CodeCarbon
- Each model training run was logged for reproducibility
Models were compared using:
- Accuracy
- CO₂ emissions (kg)
- CO₂ emissions per unit of accuracy
The comparison showed that:
- The complex model achieved slightly higher accuracy
- The simple model produced significantly lower CO₂ emissions
- Small accuracy improvements can result in disproportionately higher environmental cost
This highlights the importance of sustainability-aware model selection.
This project follows Responsible AI principles by:
- Measuring environmental impact alongside performance
- Making sustainability trade-offs explicit
- Supporting transparent and reproducible experimentation
- Encouraging environmentally responsible design decisions
- Python
- pandas, numpy
- scikit-learn
- CodeCarbon
- VS Code & Jupyter Notebooks
ai-environmental-impact/
├── data/
├── notebooks/
├── models/
├── metrics/
├── guidelines/
└── README.md
- Environmental impact should be considered early in AI development
- Simpler models can offer more sustainable solutions with acceptable performance
- Responsible AI requires measurable sustainability metrics
Mainuddin Monsur Robin