{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,21]],"date-time":"2026-05-21T22:41:32Z","timestamp":1779403292069,"version":"3.53.1"},"reference-count":0,"publisher":"IOS Press","isbn-type":[{"value":"9781643686615","type":"electronic"}],"license":[{"start":{"date-parts":[[2026,5,21]],"date-time":"2026-05-21T00:00:00Z","timestamp":1779321600000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by-nc\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2026,5,21]]},"abstract":"<jats:p>Lung cancer is the leading cause of cancer-related mortality, and early detection is challenging due to asymptomatic onset. Accurate detection of smoking behaviors and symptoms is essential for risk evaluation and timely intervention. This study developed multitask transformer-based models to simultaneously detect smoking status, pack-year, and lung cancer symptom categories from Danish electronic health records. Texts were annotated for smoking behaviors, and 16 lung cancer\u2013related symptoms were grouped into six categories. Preprocessing and tokenization were performed, and three transformer models, including BioBERT, XLM-RoBERTa, and Danish BERT, were trained in a multitask framework. Model performance was evaluated, and LIME was applied for explainability. BioBERT performed best for smoking status (Accuracy: 97.93%, F1-score: 86.30%), while XLM-RoBERTa excelled in pack-year (Accuracy: 96.23%, F1-score: 92.02%) and symptom detection (Accuracy: 99.55%, F1-score: 96.67%). LIME highlighted key predictive features, enhancing transparency. These results demonstrate that multitask transformer models can support early risk assessment and improved clinical decision-making, with future work applying large language models.<\/jats:p>","DOI":"10.3233\/shti260310","type":"book-chapter","created":{"date-parts":[[2026,5,21]],"date-time":"2026-05-21T22:01:17Z","timestamp":1779400877000},"source":"Crossref","is-referenced-by-count":0,"title":["Explainable Multitask Transformers for Early Detection of Smoking Behaviors and Lung Cancer Symptoms from Danish Electronic Health Records"],"prefix":"10.3233","author":[{"given":"Amir","family":"Sorayaie Azar","sequence":"first","affiliation":[{"name":"Department of Computer Engineering, Urmia University, Urmia, Iran"},{"name":"SDU Health Informatics and Technology, The Maersk Mc-Kinney Moller Institute, University of Southern Denmark, Odense, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Uffe Kock","family":"Wiil","sequence":"additional","affiliation":[{"name":"SDU Health Informatics and Technology, The Maersk Mc-Kinney Moller Institute, University of Southern Denmark, Odense, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Margrethe Bang H\u00f8stgaard","family":"Henriksen","sequence":"additional","affiliation":[{"name":"Department of Oncology, Lillebaelt Hospital, University Hospital of Southern Denmark, Vejle, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jamshid","family":"Bagherzadeh Mohasefi","sequence":"additional","affiliation":[{"name":"Department of Computer Engineering, Urmia University, Urmia, Iran"},{"name":"SDU Health Informatics and Technology, The Maersk Mc-Kinney Moller Institute, University of Southern Denmark, Odense, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ole","family":"Hilberg","sequence":"additional","affiliation":[{"name":"Department of Internal Medicine, Lillebaelt Hospital, University Hospital of Southern Denmark, Vejle, Denmark"},{"name":"Institute of Regional Health Research, University of Southern Denmark, Odense, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Amin","family":"Naemi","sequence":"additional","affiliation":[{"name":"SDU Health Informatics and Technology, The Maersk Mc-Kinney Moller Institute, University of Southern Denmark, Odense, Denmark"},{"name":"Nordcee, Department of Biology, University of Southern Denmark, Odense, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ali","family":"Ebrahimi","sequence":"additional","affiliation":[{"name":"SDU Health Informatics and Technology, The Maersk Mc-Kinney Moller Institute, University of Southern Denmark, Odense, Denmark"},{"name":"Department of Neurology, Danish Multiple Sclerosis Center, Copenhagen University Hospital, Rigshospitalet, Copenhagen, Denmark"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"7437","container-title":["Studies in Health Technology and Informatics","Opening the Personal Gate between Technology and Health Care"],"original-title":[],"link":[{"URL":"https:\/\/ebooks.iospress.nl\/pdf\/doi\/10.3233\/SHTI260310","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,21]],"date-time":"2026-05-21T22:01:17Z","timestamp":1779400877000},"score":1,"resource":{"primary":{"URL":"https:\/\/ebooks.iospress.nl\/doi\/10.3233\/SHTI260310"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,5,21]]},"ISBN":["9781643686615"],"references-count":0,"URL":"https:\/\/doi.org\/10.3233\/shti260310","relation":{},"ISSN":["0926-9630","1879-8365"],"issn-type":[{"value":"0926-9630","type":"print"},{"value":"1879-8365","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,5,21]]}}}