When divided patients into different subgroups, significant HBsAg decreases after PD-1 inhibitor administration were discovered in lower baseline HBsAg group (Z=-2.277, P=0.023), HBeAg-seronegative group (Z=-2.200, P=0.028), non-irAEs occurrence group (Z=-2.007, P=0.045) and liver cancer group (Z=-1.987, P=0.047). This evidence concerns the gene PDCD1 and liver cancer.