# Ethic-BERT: An Enhanced Deep Learning Model for Ethical and Non-Ethical Content Classification

- Authors: Mahamodul Hasan Mahadi, Md. Nasif Safwan, Souhardo Rahman, Shahnaj Parvin, Aminun Nahar, Kamruddin Nur
- Preprint: arXiv:2510.12850, 2025
- DOI: https://doi.org/10.48550/arxiv.2510.12850
- Research area: [Natural language processing](https://www.archelab.org/research/natural-language-processing)
- Read the paper: https://doi.org/10.48550/arxiv.2510.12850

## Summary

Ethic-BERT is a BERT-based model for classifying ethical content in four domains of the ETHICS dataset: commonsense, justice, virtue and deontology. It adds preprocessing for sparse vocabulary and ambiguous context, and fine-tunes by unfreezing the whole model, accumulating gradients and adjusting the learning rate on a schedule. It averaged 82.32% accuracy on the standard test set and gained 15.28% in average accuracy on an adversarially filtered hard test split.

## Key results

- 82.32% average accuracy on the standard ETHICS test set
- 15.28% higher average accuracy on the adversarially filtered Hard Test split
- The largest gains were in the Justice and Virtue domains

## Cite this paper

```bibtex
@misc{mahadi2025ethic,
  title         = {Ethic-BERT: An Enhanced Deep Learning Model for Ethical and Non-Ethical Content Classification},
  author        = {Mahadi, Mahamodul Hasan and
                   Safwan, Md. Nasif and
                   Rahman, Souhardo and
                   Parvin, Shahnaj and
                   Nahar, Aminun and
                   Nur, Kamruddin},
  eprint        = {2510.12850},
  archivePrefix = {arXiv},
  year          = {2025},
  doi           = {10.48550/arxiv.2510.12850},
  url           = {https://doi.org/10.48550/arxiv.2510.12850}
}
```

Page: https://www.archelab.org/publications/ethicbert
