Thailand will remain mired in the middle-income trap for another 10-20 years and Vietnam's economy will eventually eclipse the country if it fails to upgrade its workforce to keep pace with technological changes, warns Thailand Development Research Institute (TDRI).