These findings indicate that XBP1 maintains beta cell identity, represses beta-to-alpha cell transdifferentiation and is required for beta cell compensation and prevention of diabetes in insulin resistance states. The gene discussed is XBP1; the disease is Insulin resistance.