Home About Research Team Publications Datasets Highlights Opportunities Get in Touch
Preprint

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

Mahamodul Hasan Mahadi, Md. Nasif Safwan, Souhardo Rahman, Shahnaj Parvin, Aminun Nahar, Kamruddin Nur

arXiv:2510.12850 · 2025 · DOI 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

@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}
}
Read at arXiv

Use the up and down arrow keys to move through the results, and press enter to open the highlighted one. Press escape to close.