Tab-semiSL: Tabular Data-Driven Semi-Supervised Learning to Identify Factors Associated with Immune-Related Adverse Events
Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 5603-5611.
https://doi.org/10.24963/ijcai.2026/624
Keywords
- Multidisciplinary Topics and Applications: Life sciences
- Multidisciplinary Topics and Applications: Health and medicine
- Multidisciplinary Topics and Applications: Bioinformatics
Abstract
Immune Checkpoint Inhibitors (ICIs) have become a major therapeutic strategy in cancer treatment. However, widespread ICIs use can cause mild-to-severe immune-related Adverse Events (irAEs). Identifying factors associated with irAEs is beneficial for assessing the risk of irAEs occurrence during ICIs treatment. Nevertheless, the lack of sufficient irAEs-related clinical tabular data has slowed progress in this field. Thus, we proposed Tabular data-driven semi-Supervised Learning (Tab-semiSL), a novel Semi-Supervised Learning (SSL) method specifically designed for tabular data. Tab-semiSL can be divided into the pre-training phase and SSL phase. Specifically, in the pre-training, we used the collected dataset of 4,817 cancer patients without the irAEs label to train an auto-encoder. In the SSL phase, the predictor was fine-tuned using the collected dataset of 237 irAEs labeled cancer patients who treated with ICIs. We assigned class-specific thresholds and used samples as pseudo-labels only when their maximum confidence exceeded the threshold, with the thresholds dynamically adjusted during training to improve reliability. We tested Tab-semiSL against three traditional machine learning approaches and five semi-supervised or self-supervised methods using two public datasets plus the collected clinical data, achieving outperformed results across most metrics. SHapley Additive exPlanations (SHAP) analysis revealed ten key factors linked to irAEs. Code and Supplementary Material are available at https://github.com/RuhaoLiu/Tab-semiSL
- [Bahri et al., 2021] Dara Bahri, Heinrich Jiang, Yi Tay, and Donald Metzler. Scarf: Self-supervised contrastive learn- ing using random feature corruption. ArXiv Preprint ArXiv:2106.15147, 2021.
- [Bomze et al., 2019] David Bomze, Omar Hasan Ali, An- drew Bate, and Lukas Flatz. Association between immune-related adverse events during anti-pd-1 ther- apy and tumor mutational burden. JAMA Oncology, 5(11):1633-1635, 2019.
- [Buonacera et al., 2022] Agata Buonacera, Benedetta Stan- canelli, Michele Colaci, and Lorenzo Malatino. Neu- trophil to lymphocyte ratio: an emerging marker of the relationships between the immune system and diseases. International Journal of Molecular Sciences, 23(7):3636, 2022.
- [Chawla et al., 2002] Nitesh V Chawla, Kevin W Bowyer, Lawrence O Hall, and W Philip Kegelmeyer. Smote: syn- thetic minority over-sampling technique. Journal of Arti- ficial Intelligence Research, 16:321-357, 2002.
- [Chen and Guestrin, 2016] Tianqi Chen and Carlos Guestrin. Xgboost: A scalable tree boosting system. In Proceed- ings of the 22nd ACM Sigkdd International Conference on Knowledge Discovery and Data Mining, pages 785-794, 2016.
- [Falcone et al., 2011] FH Falcone, EF Knol, and BF Gibbs. The role of basophils in the pathogenesis of allergic dis- ease. Clinical & Experimental Allergy, 41(7):939-947, 2011.
- [Fujisawa et al., 2017] Yasuhiro Fujisawa, Koji Yoshino, At- sushi Otsuka, Takeru Funakoshi, Taku Fujimura, Yuki Ya- mamoto, Hiroo Hata, Masahiko Gosho, Ryota Tanaka, Kei Yamaguchi, et al. Fluctuations in routine blood count might signal severe immune-related adverse events in melanoma patients treated with nivolumab. Journal of Dermatological Science, 88(2):225-231, 2017.
- [Gong et al., 2023] Li Gong, Jun Gong, Xin Sun, Lin Yu, Bin Liao, Xia Chen, and Yong-sheng Li. Identification and prediction of immune checkpoint inhibitors-related pneu- monitis by machine learning. Frontiers in Immunology, 14:1138489, 2023.
- [Haefner et al., 2015] Matthias F Haefner, Kristin Lang, David Krug, Stefan A Koerber, Lorenz Uhlmann, Mein- hard Kieser, Juergen Debus, and Florian Sterzing. Prog- nostic factors, patterns of recurrence and toxicity for pa- tients with esophageal cancer undergoing definitive radio- therapy or chemo-radiotherapy. Journal of Radiation Re- search, 56(4):742-749, 2015.
- [Harvima et al., 2014] Ilkka T Harvima, Francesca Levi- Schaffer, Petr Draber, Sheli Friedman, Iva Polakovicova, Bernhard F Gibbs, Ulrich Blank, Gunnar Nilsson, and Marcus Maurer. Molecular targets on mast cells and ba- sophils for novel therapies. Journal of Allergy and Clinical Immunology, 134(3):530-544, 2014.
- [Jing et al., 2020] Ying Jing, Jin Liu, Youqiong Ye, Lei Pan, Hui Deng, Yushu Wang, Yang Yang, Lixia Diao, Steven H Lin, Gordon B Mills, et al. Multi-omics prediction of immune-related adverse events during checkpoint im- munotherapy. Nature Communications, 11(1):4946, 2020.
- [Jing et al., 2021] Ying Jing, Yongchang Zhang, Jing Wang, Kunyan Li, Xue Chen, Jianfu Heng, Qian Gao, Youqiong Ye, Zhao Zhang, Yaoming Liu, et al. Association be- tween sex and immune-related adverse events during im- mune checkpoint inhibitor therapy. JNCI: Journal of the National Cancer Institute, 113(10):1396-1404, 2021.
- [Ke et al., 2017] Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and Tie-Yan Liu. Lightgbm: A highly efficient gradient boost- ing decision tree. Advances in Neural Information Pro- cessing Systems, 30, 2017.
- [Kingma et al., 2013] Diederik P Kingma, Max Welling, et al. Auto-encoding variational bayes, 2013. [LaRosa and Orange, 2008]
- David F LaRosa and Jordan S Orange. 1. lymphocytes. Journal of Allergy and Clinical Immunology, 121(2):S364-S369, 2008.
- [Lee and others, 2013] Dong-Hyun Lee et al. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In Workshop on Challenges in Representation Learning, ICML, volume 3, page 896.
- [Lee et al., 2016] Lucy Lee, Manish Gupta, and Srikumar Sahasranaman. Immune checkpoint inhibitors: An intro- duction to the next-generation cancer immunotherapy. The Journal of Clinical Pharmacology, 56(2):157-169, 2016.
- [Li et al., 2021] Junnan Li, Caiming Xiong, and Steven CH Hoi. Comatch: Semi-supervised learning with contrastive graph regularization. In Proceedings of the IEEE/CVF In- ternational Conference on Computer Vision, pages 9475- 9484, 2021.
- [Lundberg and Lee, 2017] Scott M Lundberg and Su-In Lee. A unified approach to interpreting model predictions. Ad- vances in Neural Information Processing Systems, 30, 2017.
- [Oord et al., 2018] Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predic- tive coding. ArXiv Preprint ArXiv:1807.03748, 2018.
- [Postow et al., 2018] Michael A Postow, Robert Sidlow, and Matthew D Hellmann. Immune-related adverse events as- sociated with immune checkpoint blockade. New England Journal of Medicine, 378(2):158-168, 2018.
- [Prokhorenkova et al., 2018] Liudmila Prokhorenkova, Gleb Gusev, Aleksandr Vorobev, Anna Veronika Dorogush, and Andrey Gulin. Catboost: unbiased boosting with categor- ical features. Advances in Neural Information Processing Systems, 31, 2018.
- [Ramos-Casals et al., 2020] Manuel Ramos-Casals, Julie R Brahmer, Margaret K Callahan, Alejandra Flores-Chávez, Niamh Keegan, Munther A Khamashta, Olivier Lambotte, Xavier Mariette, Aleix Prat, and Maria E Suárez-Almazor. Immune-related adverse events of checkpoint inhibitors. Nature Reviews Disease Primers, 6(1):38, 2020.
- [Raschi et al., 2019] Emanuel Raschi, Alessandra Maz- zarella, Ippazio Cosimo Antonazzo, Nicolò Bendinelli, Emanuele Forcesi, Marco Tuccori, Ugo Moretti, Elisabetta Poluzzi, and Fabrizio De Ponti. Toxicities with immune checkpoint inhibitors: emerging priorities from dispropor- tionality analysis of the fda adverse event reporting sys- tem. Targeted Oncology, 14(2):205-221, 2019.
- [Rizve et al., 2021] Mamshad Nayeem Rizve, Kevin Duarte, Yogesh S Rawat, and Mubarak Shah. In defense of pseudo-labeling: An uncertainty-aware pseudo-label se- lection framework for semi-supervised learning. ArXiv Preprint ArXiv:2101.06329, 2021.
- [Sakaeda et al., 2013] Toshiyuki Sakaeda, Akiko Tamon, Kaori Kadoyama, and Yasushi Okuno. Data mining of the public version of the fda adverse event report- ing system. International Journal of Medical Sciences, 10(7):796, 2013.
- [Samuli and Timo, 2017] Laine Samuli and Aila Timo. Tem- poral ensembling for semi-supervised learning. In Inter- national Conference on Learning Representations (ICLR), volume 4, page 6, 2017.
- [Semple et al., 2011] John W Semple, Joseph E Italiano, and John Freedman. Platelets and the immune continuum. Na- ture Reviews Immunology, 11(4):264-274, 2011.
- [Shapley and others, 1953] Lloyd S Shapley et al. A value for n-person games. 1953.
- [Smyth et al., 2020] Elizabeth C Smyth, Magnus Nilsson, Heike I Grabsch, Nicole CT van Grieken, and Florian Lordick. Gastric cancer. The Lancet, 396(10251):635- 648, 2020.
- [Sohn et al., 2020] Kihyuk Sohn, David Berthelot, Nicholas Carlini, Zizhao Zhang, Han Zhang, Colin A Raffel, Ekin Dogus Cubuk, Alexey Kurakin, and Chun-Liang Li. Fixmatch: Simplifying semi-supervised learning with con- sistency and confidence. Advances in Neural Information Processing Systems, 33:596-608, 2020.
- [Sonmez and Sonmez, 2017] Ozge Sonmez and Mehmet Sonmez. Role of platelets in immune system and inflam- mation. Porto Biomedical Journal, 2(6):311-314, 2017.
- [Tai et al., 2021] Kai Sheng Tai, Peter D Bailis, and Gre- gory Valiant. Sinkhorn label allocation: Semi-supervised classification via annealed self-training. In International Conference on Machine Learning, pages 10065-10075.
- PMLR, 2021.
- [Tarvainen and Valpola, 2017] Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight- averaged consistency targets improve semi-supervised deep learning results. Advances in Neural Information Processing Systems, 30, 2017.
- [Totani and Evangelista, 2010] Licia Totani and Virgilio Evangelista. Platelet-leukocyte interactions in cardiovas- cular disease and beyond. Arteriosclerosis, Thrombosis, and Vascular Biology, 30(12):2357-2361, 2010.
- [Ucar et al., 2021] Talip Ucar, Ehsan Hajiramezanali, and Lindsay Edwards. Subtab: Subsetting features of tabular data for self-supervised representation learning. Advances in Neural Information Processing Systems, 34:18853- 18865, 2021.
- [Wang et al., 2022] Yidong Wang, Hao Chen, Qiang Heng, Wenxin Hou, Yue Fan, Zhen Wu, Jindong Wang, Marios Savvides, Takahiro Shinozaki, Bhiksha Raj, et al. Freematch: Self-adaptive thresholding for semi- supervised learning. ArXiv Preprint ArXiv:2205.07246, 2022.
- [Wang et al., 2023] Xi Wang, Yuming Jiang, Hao Chen, Tao- jun Zhang, Zhen Han, Chuanli Chen, Qingyu Yuan, Wen- jun Xiong, Wei Wang, Guoxin Li, et al. Cancer im- munotherapy response prediction from multi-modal clin- ical and image data using semi-supervised deep learning. Radiotherapy and Oncology, 186:109793, 2023.
- [Wang et al., 2024] Jingting Wang, Yan Ma, Haishan Lin, Jing Wang, and Bangwei Cao. Predictive biomarkers for immune-related adverse events in cancer patients treated with immune-checkpoint inhibitors. BMC Immunology, 25(1):8, 2024.
- [Xie et al., 2020] Qizhe Xie, Zihang Dai, Eduard Hovy, Thang Luong, and Quoc Le. Unsupervised data augmen- tation for consistency training. Advances in Neural Infor- mation Processing Systems, 33:6256-6268, 2020.
- [Yang et al., 2022] Xiangli Yang, Zixing Song, Irwin King, and Zenglin Xu. A survey on deep semi-supervised learn- ing. IEEE Transactions on Knowledge and Data Engineer- ing, 35(9):8934-8954, 2022.
- [Yoon et al., 2020] Jinsung Yoon, Yao Zhang, James Jordon, and Mihaela Van der Schaar. Vime: Extending the suc- cess of self-and semi-supervised learning to tabular do- main. Advances in Neural Information Processing Sys- tems, 33:11033-11043, 2020.
- [Zhang et al., 2017] Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Be- yond empirical risk minimization. ArXiv Preprint ArXiv:1710.09412, 2017.
- [Zhang et al., 2021] Bowen Zhang, Yidong Wang, Wenxin Hou, Hao Wu, Jindong Wang, Manabu Okumura, and Takahiro Shinozaki. Flexmatch: Boosting semi- supervised learning with curriculum pseudo labeling. Advances in Neural Information Processing Systems, 34:18408-18419, 2021.
- [Zhou et al., 2022] Jian-Guo Zhou, Ada Hang-Heng Wong, Haitao Wang, Fangya Tan, Xiaofei Chen, Su-Han Jin, Si- Si He, Gang Shen, Yun-Jia Wang, Benjamin Frey, et al. Elucidation of the application of blood test biomarkers to predict immune-related adverse events in atezolizumab- treated nsclc patients using machine learning methods. Frontiers in Immunology, 13:862752, 2022.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
The high incidence and mortality rates of cancer threaten people all over the world. Although current treatment modalities include surgery, chemotherapy, radiotherapy, targeted therapy, poor prognosis remains a challenge [Haefner et al.,
∗Corresponding author
2015; Smyth et al., 2020]. While various therapies are currently available in clinical practice, immunotherapy, particularly Immune Checkpoint Inhibitors (ICIs), is regarded as one of the most promising approaches [Lee et al., 2016]. ICIs restore anti-tumor T-cell activity by blocking inhibitory pathways such as Programmed cell Death protein 1 (PD1)/Programmed cell Death Ligand 1 (PD-L1) and Cytotoxic T Lymphocyte-associated Antigen-4 (CTLA-4), thereby exerting therapeutic effects [Postow et al., 2018]. However, studies have shown that the use of ICIs can introduce autoimmune inflammation in multiple organs, collectively referred to as immune-related Adverse Events (irAEs) [Ramos-Casals et al., 2020]. These irAEs significantly affect patient prognosis and survival rates. Therefore, there is an urgent need to establish a reliable and clinically applicable predictive method for irAEs identification. Current predictive methods can be classified into two main categories: statistical analysis methods which usually applied meta-analysis, logistic regression, etc. [Jing et al., 2021; Fujisawa et al., 2017; Wang et al., 2024], and machine learning approaches, e.g., Support Vector Machines (SVM), Random Forests (RF), eXtreme Gradient Boosting (XGBoost), etc. These machine learning models are often combined with interpretability algorithms for feature importance ranking and biomarker identification [Gong et al., 2023; Zhou et al., 2022]. However, these methods are based on retrospective hospital collected data, which is often small and prone to overfitting. Although some researchers have utilized the public datasets FDA Adverse Event Reporting System (FAERS) to identify irAEs biomarkers [Bomze et al., 2019; Jing et al., 2020]. However, FAERS is a spontaneous reporting system with a large amount of missing data [Sakaeda et al., 2013], where critical clinical information such as cancer severity, laboratory and radiological findings is unavailable [Raschi et al., 2019]. Recently, [Wang et al., 2023] achieved significant improvements using SSL with a small amount of labeled CT data and a large amount of unlabeled data. The success of this study indicates that SSL has potential in medicine.
While SSL has achieved notable success with imaging data, adapting it to tabular data (e.g., lab values, gene expression) in irAEs research faces challenges. Most SSL methods involve the process of data perturbation, such as image rotation [Sohn et al., 2020] or two images and their convex combination(s) [Zhang et al., 2017] and these perturbation methods are not suitable for application to tabular data [Yoon et al., 2020]. VIME [Yoon et al., 2020] is the first SSL method specifically designed for tabular data. These SSL methods applied to tabular data mainly have two problems: 1) The data perturbation is not effective enough. 2) Lack of sample selection mechanisms, where all unlabeled samples are used throughout training regardless of prediction confidence, allowing noisy and low-confidence unlabeled samples to degrade model performance.
In addition, several studies have extended self-supervised learning to tabular data (SubTab [Ucar et al., 2021] and SCARF [Bahri et al., 2021]). Unlike SSL, self-supervised learning first leverages unlabeled data for pre-training, followed by fine-tuning exclusively on labeled data. This approach, however, has some limitations, e.g., the absence of explicit supervision limits the model's ability to obtain task-specific representations that are optimal for downstream tasks. When only a limited number of labeled data is available for downstream task fine-tuning, the resulting improvements in model performance tend to be marginal [Li et al., 2021].
In this study, we retrospectively collected the clinical laboratory tabular data of 237 cancer patients treated with ICIs and 4,817 unlabeled cancer patients without the irAEs label, as illustrated in Figure 1. We introduced Tab-semiSL, a novel SSL method specifically designed for tabular data. Tab-semiSL can be classified into two stages: In the pretraining stage, to enhance the effectiveness of perturbation for unlabeled samples, we used Variational Auto-Encoder (VAE) [Kingma et al., 2013] combined with marginal distribution sampling to perturb unlabeled samples, then using original unlabeled samples and perturbed samples jointly trained the auto-encoder with masked reconstruction and contrastive learning. In the SSL stage, labeled samples undergo standard supervised learning. For unlabeled samples, we enforce the results of the perturbed samples to be consistent with the pseudo-labels, only the class with the maximum predicted probability was selected as the true labels [Lee and others, 2013]. Considering that the reliability of pseudo-labels generated for unlabeled samples fluctuates during the SSL training process, we set a specific threshold for each class and only regarded samples whose maximum confidence belongs to a class and is higher than the threshold of class-specific as pseudo-labels. Then, we proposed a self-adaptive dynamic threshold update mechanism to update the threshold according to different stages of SSL training. Once the model was obtained, we used Area Under the Curve (AUC), accuracy, recall and f1 score metrics for evaluation and SHapley Additive exPlanations (SHAP) values [Lundberg and Lee, 2017] for interpretability analysis and feature ranking, identifying factors associated with irAEs. Our contributions can be summarized as follows
- We designed Tab-semiSL, a novel semi-supervised learning method specifically for clinical tabular data processing, which was benchmarked against conventional classification models, SSL and self-supervised learning methods, almost achieving the best performance.
- We introduce a novel perturbation framework for tabular data that combines a VAE with marginal distribution sampling. Furthermore, masked reconstruction and contrastive learning are jointly incorporated in the pretraining stage to improve representation quality.
- We set a specific threshold for each class and proposed a self-adaptive and dynamic threshold update mechanism to update the threshold. Only unlabeled samples whose maximum confidence belongs to a class and is higher than the threshold of class-specific are regarded as pseudo-labels during different stages of SSL training.
- We collected and validated on real-world ICIs-treated patient data, and identified interpretable relevant factors of irAEs.

2 RelatedWork
SSL aims to enhance model performance by using a small amount of labeled samples and a large amount of unlabeled samples. Compared with self-supervised learning, SSL combines labeled samples and unlabeled samples during the training process, which can effectively capture the relevant information of both [Yang et al., 2022]. SSL can be roughly divided into three methods: The first is consistency regularization [Samuli and Timo, 2017; Tarvainen and Valpola, 2017; Xie et al., 2020]. The second is self-training [Tai et al., 2021; Rizve et al., 2021]. The third combines both approaches. Representative methods include FixMatch [Sohn et al., 2020], FlexMatch [Zhang et al., 2021], and FreeMatch [Wang et al., 2022]. Most mainstream methods rely on strong and weak perturbations to the same sample: pseudo-labels are generated from the weakly perturbed version, and the strongly perturbed version is used to compute the loss based on those pseudo-labels. Initially, the majority of SSL research was concentrated in the domain of image data. VIME is the first method to apply SSL to tabular data. VIME constructs 'pretext tasks' to train the unlabeled samples, simultaneously generating perturbed samples by sampling from empirical marginal distributions. Then, consistency regularization is used to encourage the output consistency of different perturbed samples.
3 Methodology
3.1 Preliminaries
We defined an SSL scenario for tabular datasets with both labeled and unlabeled samples.Let X = {(xi, yi)}Ni=1 represents a label dataset of size N, where xi ∈ RK and yi ∈ {1, · · · ,C} denote labeled training samples with feature dimension of K and labels with C categories, respectively. U = {uj}N+M j=N+1 denotes an unlabeled dataset of size M, where uj ∈ RK . Generally, N << M. Let Y = {y1, · · · , yN}, the task objective of SSL is to train mapping relationships X → Y using both Dlab and Dunlab simultaneously.

3.2 Pre-Training Stage of Tab-SemiSL
Samples Generation using VAE
In the pre-training phase (see Figure 2), to achieve data perturbation, we first train a VAE using unlabeled samples, and then samples were generated by probabilistically modeling the latent space and sampling from it. Specifically, the encoder of VAE ψϕ encodes the raw samples U into posterior distributions qϕ(z|U) of the latent representation z and utilizes Kullback-Leibler(KL) divergence to construct the loss function LKL = KL[qϕ(z | U)∥p(z)] to constrain the posterior distribution, encouraging it to approximate a standard normal distribution, here ϕ denotes the encoder parameters of VAE, p(z) = N(0, I). Latent representations z = µ(U) + σ(U) ⊙ ε are sampled via the reparameterization trick, here µ(U) and σ(U) represent the mean and standard deviation of U, respectively, ε ∼ N(0, I), ⊙ denotes element-wise product. Moreover, the VAE also encourages the samples generated by the decoder to be similar to the original samples, with the loss function formulated as:
where pθ( ¯U) represents the output distribution of the decoder, represents the reconstructed samples, θ denotes the VAE decoder parameter. Therefore, the loss function of VAE can be expressed as:
Thus, the generated samples was represented as ˆU = {ˆuj}N+M j=N+1 , where ˆuj can be expressed as:
where φθ(·) represents the decoder of VAE with sigmoid activation, µj, log σ2 j = ψϕ(uj). See Supplementary Material Section 2 for more details.
Samples Perturbation
Samples perturbation were achieved by stochastically replacing feature values of generated samples ˆU through sampling from their marginal distributions. More precisely, we generated a mask matrix M ∈ {0, 1}M×K , here Mj,k ∼ Bernoulli(pm), pm ∈ [0, 1] denotes a hyperparameter for setting the masked rate. IfMj,k = 1 indicates that the value is retained, andMj,k = 0 indicates that the value is masked. Then for the perturbed samples ˜U = {˜uj}N+M j=N+1 , the j - th row and the d - th column can be expressed as:

Training the Model of Pre-Training Auto-Encoder
The objective is to obtain a pre-training encoder for feature representation during the pre-training stage. We define the pre-training encoder and decoder as fδ(·) and f∆(·), respectively. The pre-training auto-encoder used the original unlabeled samples U and their perturbed samples ˜U as inputs, integrating the collaborative training strategy of masked reconstruction and contrastive learning, where masked reconstruction needs to complete two 'pretext tasks' - mask matrix reconstruction and feature reconstruction. The loss in the pretraining stage is given by the sum of mask matrix reconstruction loss Lm, feature reconstruction loss Lf and contrastive loss Lcon:
where Lf and Lm both computed via mean squared error and binary cross-entropy, respectively, α and β are hyperparameters. When the feature is categorical, the mean squared error is replaced by the cross entropy loss. Further details can be found in Supplementary Material Section 3.
For an unlabeled sample uj ∈ RK , we treat its perturbed sample ˜uj as a positive pair and all other samples ut and ˜ut, t ̸= j as negative pairs to construct the InfoNCE contrastive loss [Oord et al., 2018]. The objective is to encourage the latent representations of positive pairs to be close to each other, while pushing those of negative pairs farther apart. Thus, contrastive loss Lcon is defined as follows:
where zj = g(fδ(uj)), ˜ zj = g(fδ(˜uj)), zt = g(fδ(ut)), sim (zj , ˜ zj) = zT j ˜ zj ∥zj∥2 ·∥˜ zj ∥2 , τ denotes temperature parameter, g(·) is a projection head of two layers of neural networks, and activation functions are applied after all network layers.
3.3 SSL Stage of Tab-SemiSL
Training Predictor Model
In the SSL stage (see Figure 3), labeled samples X, unlabeled samples U and unlabeled perturbed samples ˜U will be encoded by the encoder fδ(·) which retained from the pretraining stage and then input into a predictor P(·) composed of two neural networks for training, where labeled samples undergo standard supervised learning and the unlabeled samples are trained via unsupervised learning. The objective loss in the semi-supervised stage is:
where γ is the hyperparameter for balancing supervised loss and unsupervised loss. The supervised loss Ls for the multiclass case is given as follows:
where ˆ zi = fδ(xi), N represents the number of label samples, and C represents the number of categories. When the task is binary classification, the binary cross entropy loss will be adopted or the mean square error loss will be used when it is a regression task.
Self-Adaptive Dynamic Threshold Update Mechanism
The objective of unsupervised loss is to keep the pseudolabels of unlabeled samples U output consistent with the output of its perturbed samples ˜U. However, in the early stage of training, the poor performance of the model led to low-quality pseudo-labels generated from the low-confidence unlabeled samples. We set a specific threshold for each class to select samples with the maximum confidence higher than threshold and have proposed a self-adaptive dynamic threshold update mechanism to update the specific threshold for each class. Unlike FreeMatch, which estimates thresholds from the global prediction distribution with class fairness adjustment, our method computes class-specific thresholds based on the confidence statistics of progressively selected highconfidence samples. In addition, we introduce an iterationdependent sample selection strategy and EMA-based threshold smoothing to stabilize the pseudo-label generation process. Our method for dynamically calculating the threshold is as follows: Based on the number of iterations, selected the high-confidence samples, and simultaneously calculate the average value of the class corresponding to the maximum confidence of selected samples as the threshold for this class (see Supplementary Material Algorithm 1). Specifically, for unlabeled samples U = {uj}N+M j=N+1 , its output confidence is denoted as pj = P(fδ(uj)) and pj = {pj,1, · · · , pj,C}, pj,c ≥ 0, ∀c ∈ {1, · · · ,C}, ∑Cc=1 pj,c = 1. The sample selected at the t - th iteration can be represented as:
where T represents the total number of iterations sort denotes ordering the elements in the set in descending order based on the maximum predicted confidence of each sample, such that pmax N+1 ≥ · · · ≥ pmax N+M , pmax N+1 =max{pN+1,1, · · · , pN+1,C} represents the maximum predicted confidence for sample uN+1. The role of F(·) is to select the top-t/T samples from the sorted set. Then, calculate the average value based on the class corresponding to the maximum confidence value of each sample in Ds, which is regarded as the threshold of each class. Meanwhile, the threshold for each iteration is maintained by a dynamically updated Exponential Moving Average (EMA). Let the initial thresholds all be η0 =∞, and the threshold for the k - th class in the t - th iteration (t > 0) can be expressed as:
When ηt-1(k) ̸= ∞, we employ EMA to maintain the threshold, which can be expressed as:
where 1(·) denotes Indication function, ps = P(fδ(us)), us ∈ Ds, λ denotes the momentum decay of EMA, and λ = λ0 + (0.99 - λ0) tT , λ0 ∈ (0, 1). Therefore, the unsupervised loss in t - th iterations can be expressed as:
where H denotes cross entropy loss, ˆ yj = argmax c (pj,c) is a pseudo-label, ˜ pj = P(fδ(˜uj)).
4 Experiments and Results 4.1 Experimental Settings
Datasets
We used two publicly available datasets to evaluate the effectiveness of our method: the Adult Income dataset for binary classification, and the MNIST dataset for multi-class classification. For the public datasets, we select a small portion of the data as labeled samples, while discarding the labels of the remaining samples to treat them as unlabeled samples. Meanwhile, to determine factors associated with irAEs, this study retrospectively collected clinical laboratory test data from 237 cancer patients who had received ICIs treatment and 4,817 cancer patients without irAEs labels from partner hospitals, including 87 characteristics. For cancer patients who had received ICIs treatment (labeled samples), we collect the most recent examination values of the patients before they use ICIs. According to the medical records, the occurrence of irAEs in patients was assessed. Patients (N =58 or 24%) were identified as having experienced irAEs, whereas patients (N=179 or 76%) did not experience irAEs. For cancer patients without irAEs labels (unlabeled samples), we collect the latest examination results of the patients. The advantage of adding a large amount of unlabeled samples lies in alleviating the model overfitting and poor generalization caused by the limited number of labeled samples. Detailed clinical laboratory test indicators can be found in Supplementary Material Section 4. For the collected samples, missing values are filled using the KNN imputer from the scikit-learn package. To address label imbalance, we apply the Synthetic Minority Oversampling Technique (SMOTE) [Chawla et al., 2002] to the labeled data. All datasets are then split into training, validation, and test sets in a 7:1:2 ratio.
Implementation Details
Tab-semiSL consists of the following modules: 1) VAE module. 2) Pre-training auto-encoder module. 3) Predictor module. Our approach was developed in Python utilizing the PyTorch framework, with computations on NVIDIA RTX 4080 GPU and AMD Ryzen 9 7945HX. The epochs for training the VAE module and the pre-training auto-encoder module are 50 rounds and 30 rounds respectively. In the SSL stage, the predictor module was trained for a maximum of 5,000 iterations, with an initial warm-up phase of 50 iterations using labeled data. All learning rates in the pre-training stage are lr = 1 × 10-3 . the learning rate of the predictor module trained using the Adult income dataset is lr = 1 × 10-5 , and the learning rates trained employing both the MNIST dataset and the private clinical dataset are lr = 1 × 10-3 .
Comparative Methods
The contrastive methods used in this study can be divided into two categories: 1) Supervised learning-based methods, including XGBoost [Chen and Guestrin, 2016], CatBoost [Prokhorenkova et al., 2018], and Lightgbm [Ke et al., 2017]. For these methods, we only used labeled samples for training. 2) Semi-supervised and self-supervised learning-based methods, including VIME, SubTab, SCARF, FlexMatch and FreeMatch. For the FlexMatch and FreeMatch methods, we conducted experiments using the same data perturbation strategy adopted in this study. For the self-supervised methods, we first performed pre-training using unlabeled samples, followed by fine-tuning only with labeled samples. All baseline methods were implemented in strict accordance with the experimental settings described in their original papers or by directly employing their official open-source implementations.
Quantitative Results
We evaluate different methods on MNIST and Adult income datasets, reporting the mean ± standard deviation over 10 runs with different random seeds (see Table 1). 'Label Amount'
| Method | MNIST dataset | Adult income dataset | ||||||
|---|---|---|---|---|---|---|---|---|
| 500 | 1000 | 3000 | 6000 | 32 | 64 | 128 | 256 | |
| Xgboost | 82.71% (±0.64%) | 87.63% (±0.44%) | 92.64% (±0.24%) | 94.62% (±0.19%) | 76.89% (±4.99%) | 80.94% | 82.98% (±2.60%) | 85.42% (±1.82%) |
| Catboost | 86.96% | 90.20% | 93.48% | 94.76% | 78.90% (±4.35%) | (±3.10%) 84.61% | 86.36% | 88.11% |
| Lightgbm | (±0.79%) 82.66% | (±0.39%) 87.45% | (±0.19%) | (±0.16%) | (±1.41%) | (±1.31%) | (±0.74%) | |
| 92.45% | 94.35% | 50.00% | 78.89% | 83.84% | 85.16% | |||
| (±1.40%) | (±0.56%) | (±0.28%) | (±0.24%) | (±0.00%) | (±3.21%) | (±1.45%) | (±1.07%) | |
| VIME | 89.26% | 91.57% | 94.14% | 95.01% | 77.15% | 78.99% | 82.60% | 84.15% |
| (±0.78%) | (±0.49%) | (±0.38%) | (±0.23%) | (±2.68%) | (±4.83%) 83.45% | (±1.61%) 84.18% | (±0.73%) | |
| SubTab | 92.08% | 93.88% | 95.39% | 96.68% | 79.10% | (±2.69%) | 85.94% (±0.51%) | |
| (±0.50%) 90.69% | (±0.29%) | (±0.27%) | (±0.19%) | (±4.03%) | 76.64% | (±1.35%) 80.48% | 81.41% | |
| SCARF | (±0.91%) | 92.90% (±0.51%) | 95.28% | 96.29% | 72.11% (±5.39%) | (±4.57%) | (±0.99%) | (±0.90%) |
| FlexMatch | 91.17% | 93.01% | (±0.22%) 94.98% | (±0.27%) 96.04% | 78.17% | 83.99% | 84.01% | 85.64% |
| (±0.83%) | (±0.37%) | (±0.16%) | (±0.29%) | (±4.23%) | (±4.12%) | (±2.26%) | (±1.18%) | |
| 91.83% | 93.44% | 95.02% | 79.93% | 84.07% | 85.12% | 87.86% | ||
| FreeMatch | 96.73% | |||||||
| (±0.66%) | (±0.47%) | (±0.32%) | (±0.18%) | (±3.28%) | (±2.76%) | (±1.14%) | (±0.79%) | |
| 94.57% | 96.52% | 81.07% | 85.33% | |||||
| Tab-semiSL(ours) | (±0.29%) | (±0.12%) | ||||||
| 86.82% | ||||||||
| 93.86% | ||||||||
| 87.13% | ||||||||
| 95.80% | ||||||||
| (±3.47%) | ||||||||
| (±0.21%) | ||||||||
| (±1.01%) | (±0.19%) | |||||||
| (±0.56%) | (±0.19%) | |||||||
refers to the number of labeled samples. Accuracy is used as the metric for MNIST, and AUC for Adult Income. On the MNIST dataset, our method almost achieves the best scores under different numbers of labels. For the Adult Income dataset, Catboost performs best when the number of labeled samples exceeds 256. This phenomenon may be attributed to the relatively simple classification task of this dataset, which enables the model to quickly reach performance saturation even with a limited number of labeled samples. However, as the number of labeled samples decreases, the performance gap between our model and other baseline methods gradually widens, highlighting the effectiveness of our SSL method.

| Method | AUC | Accuracy | Recall | F1 score |
|---|---|---|---|---|
| Xgboost | 76.92% | 72.91% | 61.54% | 55.17% |
| Catboost | 78.24% | 75.00% | 69.23% | 62.50% |
| Lightgbm | 64.07% | 68.75% | 53.85% | 48.27% |
| VIME | 84.84% | 81.25% | 69.23% | 64.00% |
| SubTab | 74.73% | 72.91% | 61.54% | 58.06% |
| SCARF | 78.24% | 75.00% | 53.85% | 53.85% |
| FlexMatch | 74.73% | 68.75% | 61.54% | 58.06% |
| FreeMatch | 84.84% | 75.00% | 76.92% | 64.00% |
| Tab-semiSL | 87.69% | 81.25% | 84.62% | 66.67% |
4.2 Ablation Study
To evaluate the contribution of each module to the overall performance, we conducted ablation experiments on the MNIST dataset under the same experimental conditions. The key components of Tab-semiSL include the pre-training stage and the SSL stage. We have set up several variants of TabsemiSL.
Ablation Experiments in the Pre-Training Stage
- We replaced the VAE-generated samples with samples
- drawn from a Gaussian distribution, denoted as w/o VAE .
- We removed pre-training stage, and the raw data are used directly without feature representation learning, denoted as w/o pre-training.
Ablation Experiments in the SSL Stage
- To verify the effectiveness of our proposed self-adaptive dynamic threshold update mechanism, we conducted experiments using different unlabeled sample selection strategies.
Specifically, we employed two approaches: using a fixed value (0.95) as the experimental threshold or not setting a threshold at all, denoted as threshold 0.95 or w/o threshold. 2) We removed the SSL stage and directly fed the feature representations learned during pre-training into a multilayer perceptron to obtain the final predictions, denoted as w/o SSL.
We conducted ablation experiments with 500 and 1000 labeled samples, and the results are shown in Figure 4.
4.3 Parameter Sensitivity Analysis
We conduct a parameter sensitivity analysis using the MNIST dataset, where 6,000 labeled samples are selected. The purpose is to analysis how different parameter settings influence the model's performance. The hyperparameter ranges are respectively pm ∈ {0.1, . . . , 0.9}, α ∈ {0.1, 0.5, 0.7, 1, 2, 5}, β ∈ {0.1, 0.5, 0.7, 1, 2, 5} and γ ∈ {0.1, 0.5, 0.7, 1, 2, 5}. The analysis results are presented in Supplementary Material Figure 2. Ultimately, pm = 0.5, α = 2.0, β = 0.1 and γ = 0.1.
4.4 Determine the Factors Associated with irAEs and Analysis
Determine the Factors
We classified the collected clinical laboratory test data using Tab-semiSL and other contrastive methods respectively. Tab-semiSL still achieved the best results (see Table 2). We then used SHAP to rank the feature importance of the pretraining encoder-predictor combined model after training (see Figure 5). SHAP is a game-theoretic interpretability algorithm that determines the marginal contribution of each feature by computing its shapley value [Shapley and others, 1953] when added to a combination of other features. This value fairly attributes the contribution of each feature to the model output. We ranked the features according to shapley values and visualized the top-10 features contributing most to the model output in Supplementary Material Section 5. Ultimately, the 10 important factors associated with irAEs that we identified are: white blood cell count (WBC), the percentage of lymphocytes in the total number of WBC (Lymph), blood platelet count (PLT), basophils as a percentage of total WBC (Baso), free thyroxine (FT4), red blood cell count (RBC), hemoglobin (Hb), potassium ion (K), alpha fetoprotein (AFP), squamous cell carcinoma antigen (SCC).

Analysis
Lymphocytes, as a subset of leukocytes, mainly include T cells, B cells, and Natural Killer (NK) cells. They play a crucial role in adaptive immunity and are also involved in the systemic inflammatory response [LaRosa and Orange, 2008; Buonacera et al., 2022]. Platelets have been confirmed to be closely associated with inflammation and immune responses and can interact with various cells involved in innate and adaptive immunity. Through the release of chemokines, platelets guide lymphocytes, neutrophils, and monocytes to migrate to sites of inflammation [Sonmez and Sonmez, 2017; Semple et al., 2011]. Additionally, intercellular communication exists between platelets and different types of leukocytes, influencing inflammatory and immune responses [Totani and Evangelista, 2010]. Basophils are considered to induce allergic symptoms by releasing soluble pro-inflammatory mediators and have subsequently been found to be involved in inflammatory and immune responses [Falcone et al., 2011; Harvima et al., 2014]. These lines of evidence suggest that the identified factors associated with irAEs have the potential to serve as predictive biomarkers for irAEs.
5 Conclusion and FutureWork
In conclusion, we proposed a novel semi-supervised learning framework entitled 'Tab-semiSL' for clinical tabular data, and demonstrate its ability to predict irAEs by jointly leveraging 237 ICIs-treated patients with labeled irAEs and 4,817 unlabeled oncology cases. The results of Tab-semiSL outperforms conventional supervised, self-supervised, and semisupervised methods for almost all metrics. Future work will focus on expanding the labeled dataset with additional realworld clinical samples and integrating multimodal inputs, including imaging, genomics, to enhance robustness and uncover further predictive factors for irAEs.
Acknowledgments
This work was supported by the National Natural Science Foundation of China (Grant No. 62462022, Grant No. 62572157).
@inproceedings{ijcai2026p624,
title = {Tab-semiSL: Tabular Data-Driven Semi-Supervised Learning to Identify Factors Associated with Immune-Related Adverse Events},
author = {Liu, Ruhao and Wang, Suixue and Yu, Hang and Li, Peng and Zhang, Qingchen},
booktitle = {Proceedings of the Thirty-Fifth International Joint Conference on
Artificial Intelligence, {IJCAI-26}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Diego Calvanese},
pages = {5603--5611},
year = {2026},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2026/624},
url = {https://doi.org/10.24963/ijcai.2026/624},
}
TY - CPAPER TI - Tab-semiSL: Tabular Data-Driven Semi-Supervised Learning to Identify Factors Associated with Immune-Related Adverse Events AU - Liu, Ruhao AU - Wang, Suixue AU - Yu, Hang AU - Li, Peng AU - Zhang, Qingchen T2 - Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence, IJCAI-26 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2026 SP - 5603 EP - 5611 DO - 10.24963/ijcai.2026/624 UR - https://doi.org/10.24963/ijcai.2026/624 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: