CD274 and cancer: This work provides a mechanism insight for food-derived small molecules blocking the PD-1/PD-L1 pathway via directly targeting the PD-L1 dimerization and offers theoretical guidance to discover more effective small molecular drugs in cancer immunotherapy.