Thermally activated processes in polymer dynamics