Researchers from Oregon State University found that mice fed diets high in fat or sugar experienced gut bacteria changes associated with reduced cognitive functioning.