We present an extension of the 'learn on the fly' method to the study of the motion of dislocations in metallic systems, developed with the aim of producing information-efficient force models that can be systematically validated against reference QM calculations. Nye tensor analysis is used to dynamically track the quantum region centered at the core of a dislocation, thus enabling quantum mechanics/molecular mechanics simulations. The technique is used to study the motion of screw dislocations in Ni-Al systems, relevant to plastic deformation in Ni-based alloys, at a variety of temperature/strain conditions. These simulations reveal only a moderate spacing (∼5 Å) between Shockley partial dislocations, at variance with the predictions of traditional molecular dynamics (MD) simulation using interatomic potentials, which yields a much larger spacing in the high stress regime. The discrepancy can be rationalized in terms of the elastic properties of an hcp crystal, which influence the behavior of the stacking fault region between Shockley partial dislocations. The transferability of this technique to more challenging systems is addressed, focusing on the expected accuracy of such calculations. The bcc α-Fe phase is a prime example, as its magnetic properties at the open surfaces make it particularly challenging for embedding-based QM/MM techniques. Our tests reveal that high accuracy can still be obtained at the core of a dislocation, albeit at a significant computational cost for fully converged results. However, we find this cost can be reduced by using a machine learning approach to progressively reduce the rate of expensive QM calculations required during the dynamical simulations, as the size of the QM database increases.