Provided herein are compositions and methods for improving immune system function. In particular, provided herein are compositions, methods, and uses of YY1 and EZH2 inhibitors for preventing and reversing T-cell exhaustion (e.g., for use in immunotherapy).