text: However , for << high-dimensional continuous-state tasks >> , it can be extremely difficult to build an accurate [[ model ]] , and thus often the algorithm returns a policy that works in simulation but not in real-life .