A small study at the University of Alabama at Birmingham found that a ketogenic diet can improve beta-cell function in people with type 2 diabetes.