# Carbon-Taxed Transformers: Efficient, Accurate, and Sustainable LLMs

Ajmain Inqiad Alam, **Palash Ranjan Roy**, Chanchal K. Roy, Banani Roy, Kevin A. Schneider. *Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering, pp. 1408–1409, 2026*.

Areas: AI for Software Engineering (AI4SE), Software Engineering for AI (SE4AI), Green & Sustainable SE, Code Clones.

ML topics: Model Compression, Pruning, Quantization, Knowledge Distillation, Efficient & Green LLMs, Code Language Models.

Page: https://palashroy.me/publications/carbon-taxed-transformers-poster/

- PDF: https://palashroy.me/papers/CTT_poster.pdf
- DOI: https://doi.org/10.1145/3803437.3807387
- Replication package: https://github.com/srlabUsask/CTT

## Abstract

The growing adoption of Large Language Models in software engineering has introduced unsustainable computational and environmental costs. We propose Carbon-Taxed Transformers (CTT), a compression pipeline inspired by economic carbon taxation, integrating Neural Architecture Search, structured pruning, quantization, and knowledge distillation in a principled sequence. CTT generalizes across encoder-only, encoder-decoder, and decoder-only architectures, and is evaluated on code clone detection, summarization, and generation. Results show up to 49× memory reduction, 10× speedup, and an 81% reduction in CO2 emissions, while retaining 98% accuracy in clone detection, 89% in summarization, and up to 91% in generation. Ablation studies confirm both the pipeline ordering and each component are essential.

## Problem addressed

The growing use of large language models in software engineering carries unsustainable computational and environmental costs.

## Relevant to research on

- compression of large language models for code
- green and sustainable AI for software engineering
- carbon-emission reduction of model inference
- neural architecture search, pruning, quantization and knowledge distillation
- code clone detection
- code summarization
- code generation

## BibTeX

```bibtex
@inproceedings{10.1145/3803437.3807387,
author = {Alam, Ajmain Inqiad and Roy, Palash and Roy, Chanchal and Roy, Banani and Schneider, Kevin},
title = {Carbon-Taxed Transformers: Efficient, Accurate, and Sustainable LLMs},
year = {2026},
isbn = {9798400726361},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3803437.3807387},
doi = {10.1145/3803437.3807387},
abstract = {The growing adoption of Large Language Models in software engineering has introduced unsustainable computational and environmental costs. We propose Carbon-Taxed Transformers (CTT), a compression pipeline inspired by economic carbon taxation, integrating Neural Architecture Search, structured pruning, quantization, and knowledge distillation in a principled sequence. CTT generalizes across encoder-only, encoder-decoder, and decoder-only architectures, and is evaluated on code clone detection, summarization, and generation. Results show up to 49\texttimes{} memory reduction, 10\texttimes{} speedup, and an 81\% reduction in CO2 emissions, while retaining 98\% accuracy in clone detection, 89\% in summarization, and up to 91\% in generation. Ablation studies confirm both the pipeline ordering and each component are essential.},
booktitle = {Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering},
pages = {1408--1409},
numpages = {2},
keywords = {model compression, green computing, energy-efficient inference},
location = {Concordia University, Montreal, QC, Canada},
series = {FSE Companion '26}
}
```
