Architectural and Computational Benchmarking of BERT, FLAN-T5, and Mistral-7B for Sentiment Analysis
Transformer architectures demonstrate computational capabilities unique to each due to differences in architecture, parameter size, and inference methods. In this research, we will compare BERT-Base, FLAN-T5-Base, and Mistral-7B transformer architectures, which belong to encoder-only, encoder-decoder, and causal decoder transformer architectures, respectively. We will be analyze their performance based on the following parameters: classification accuracy, inference time, throughput, peak memory usage, and scalability. Mistral-7B achieves the highest classification accuracy at 96.3%, while FLAN-T5-Base and BERT-Base follow with accuracies of 93.7% and 93.4%, respectively. On the other hand, BERT-Base shows the lowest inference time of 32.33 ms and the highest throughput of 30.93 samples with peak memory usage of 617 MB. The comparison results highlight the performance versus hardware trade-offs between the architectures studied and thus determine the most suitable architecture for different deployment conditions.
Authors
- Gomathi A.
- Abinaya P.
- Oviya R.
Institutions
- Mepco Schlenk Engineering College (IN)
Publication Details
- Journal
- Recent Research Reviews Journal
- Published
- 2026-11-26
- DOI
- https://doi.org/10.36548/rrrj.2026.2.017
- Primary Topic
- Sentiment Analysis and Opinion Mining
- Type
- article
- Field-Weighted Citation Impact
- 0.00