This study evaluates fine-tuning strategies for text classification using the DistilBERT model, specifically the distilbert-base-uncased-finetuned-sst-2-english variant. Through structured experiments, we examine the influence of hyperparameters such as learning rate, batch size, and epochs on accuracy, F1-score, and loss. Polynomial regression analyses capture foundational and incremental impacts of these hyperparameters, focusing on fine-tuning adjustments relative to a baseline model.
Results reveal variability in metrics due to hyperparameter configurations, showing trade-offs among performance metrics. For example, a higher learning rate reduces loss in relative analysis (p=0.027) but challenges accuracy improvements. Meanwhile, batch size significantly impacts accuracy and F1-score in absolute regression (p=0.028 and p=0.005) but has limited influence on loss optimization (p=0.170). The interaction between epochs and batch size maximizes F1-score (p=0.001), underscoring the importance of hyperparameter interplay.
These findings highlight the need for fine-tuning strategies addressing non-linear hyperparameter interactions to balance performance across metrics. Such variability and metric trade-offs are relevant for tasks beyond text classification, including NLP and computer vision. This analysis informs fine-tuning strategies for large language models and promotes adaptive designs for broader model applicability.
Exploring Combinatorial Problem Solving with Large Language Models: A Case Study on the Travelling Salesman Problem Using GPT-3.5 Turbo
King Fahd University of Petroleum & Minerals(法赫德国王石油矿产大学);SDAIA-KFUPM Joint Research Center for Artificial Intelligence(SDAIA-法赫德国王石油矿产大学人工智能联合研究中心);Center for Smart Mobility and Logistics, King Fahd University of Petroleum & Minerals(法赫德国王石油矿产大学智能移动与物流中心);Queensland University of Technology(昆士兰科技大学)
Lightweight Baselines for Medical Abstract Classification: DistilBERT with Cross-Entropy as a Strong Default
Independent Researcher(独立研究者);Duke University(杜克大学);Georgia Institute of Technology(佐治亚理工学院);University of Michigan(密歇根大学);University of Texas at Dallas(德克萨斯大学达拉斯分校);University of California, Irvine(加州大学尔湾分校)
该研究在预算受限下比较 BERT base 与 DistilBERT 及三种损失,发现 DistilBERT 配合交叉熵是强默认基线,校准阈值可进一步改善部署性能。
Vrije University of Amsterdam University of Amsterdam Centrum Wiskunde \& Informatic;University of Amsterdam National Institute of Informatics Centrum Wiskunde \& Informatic;Centrum Wiskunde \& Informatic Leiden University University College London;Vrije University of Amsterdam;Centrum Wiskunde \& Informatica Technische Universiteit Delft Guangzhou University;Vrije University of Amsterdam Centrum Wiskunde \& Informatic
Bad Actor, Good Advisor: Exploring the Role of Large Language Models in Fake News Detection
Key Lab of Intelligent Information Processing of Chinese Academy of Sciences(中国科学院智能信息处理重点实验室);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);National University of Singapore(新加坡国立大学)
An Explainable Transformer-based Model for Phishing Email Detection: A Large Language Model Approach
Department of Computer Science and Engineering, BGC Trust University Bangladesh(Bangladesh BGC Trust 大学 计算机科学与工程系);Department of Computer Science and Engineering, International Islamic University Chittagong(Bangladesh 国际伊斯兰大学 昌德加荣分校 计算机科学与工程系);Centre for Securing Digital Futures, School of Science, Edith Cowan University(澳大利亚 埃德温·考文大学 科学学院 安全数字未来中心)
When Do Model Internals Help? Exploring the Role of Representation Engineering in LLM Safety
State Key Laboratory of Multimedia Information Processing, Peking University(北京大学多媒体信息处理国家重点实验室);School of Computer Science, Peking University(北京大学计算机科学学院)
I Know Which LLM Wrote Your Code Last Summer: LLM generated Code Stylometry for Authorship Attribution
University of Oslo(奥斯陆大学);Technology Innovation Institute(技术创新研究所);Eötvös Lóránd University(欧多西亚·洛拉恩大学);Guelma University(盖尔马大学);University of Oslo, Cyentific AS(奥斯陆大学,Cyentific AS)
Exploring Cross-Lingual Knowledge Transfer via Transliteration-Based MLM Fine-Tuning for Critically Low-resource Chakma Language
IIT, University of Dhaka(达卡大学理工学院);Toronto Metropolitan University(多伦多 Metropolitan 大学);Stony Brook University(石溪大学);State University of New York at Old Westbury(纽约州立大学奥尔巴尼分校)