 Wei graduated from National Taiwan University for his bachelor's and master's degrees in geology.He obtained his doctoral degree in oceanography from the University of Rhode Island in the United States.He conducted post-doctoral research at the University of California, Santa Barbara.