In implementations of the subject matter described herein, each token for containing an element in the training data is sampled according to a factorization strategy in training. Instead of using a single proposal, the property value of the target element located at the token being scanned is iteratively updated one or more times based on a combination of an element proposal and a context proposal. The element proposal tends to accept a value that is popular for the target element independently of the current piece of data, while the context proposal tends to accept whenever the property value that is popular in the context of the target data or popular for the element itself. The proposed modeling training approach can converge in a quite efficient way.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A device comprising: a processing unit; a memory coupled to the processing unit and including modules, when executed by the processing unit, cause the device to sample a token in target data in a corpus that includes multiple pieces of data, the modules including: an element proposal determining module configured to determine an element proposal associated with a first candidate value for a property of a target element located at the token, the element proposal indicating a probability that the first candidate value is assigned to the property independently of a context of the target data; a context proposal determining module configured to determine a context proposal associated with a second candidate value for the property of the target element, the context proposal indicating a probability that the second candidate value is assigned to the property in the context of the target data; and a property updating module configured to update a current value of the property of the target element based on a combination of the element proposal and the context proposal. 2. The device of claim 1, wherein the memory further includes: a distribution obtaining module configured to obtain a probability distribution of a plurality of candidate values for the property; a distribution transforming module configured to transform the probability distribution into a uniform probability distribution; and a candidate determining module configured to determine at least one of the first and second candidate values from the plurality of candidate values based on the uniform probability distribution. 3. The device of claim 2, wherein the candidate determining module is configured to: determine a position on a graphical representation of the uniform probability distribution; and select one of the plurality of candidate values based on the position and the uniform probability distribution. 4. The device of claim 2, wherein the processing unit is configured to store the uniform distribution for the target element as a set of bins in a reusable alias table, each of the bins being associated with at least one of the plurality of the candidate values. 5. The device of claim 1, wherein the memory further includes: a first counting module configured to determine a first count of a first set of tokens in the multiple pieces of data in the corpus, each of the first set of tokens containing the target element with the first candidate value assigned to the property; and a second counting module configured to determine a second count of a second set of tokens in the multiple pieces of data in the corpus, each of the second set of tokens containing an element with the first candidate value assigned to the property, wherein the element proposal determining module is configured to determine the element proposal based on the first and second counts. 6. The device of claim 1, wherein the memory further includes: a third counting module configured to determine a third count of a third set of tokens in the target data, each of the third containing an element with the second candidate value assigned to the property, wherein the context proposal determining module is configured to determine the context proposal based on the third count. 7. The device of claim 1, wherein the element proposal determining module and the context proposal determining module operate alternately, and wherein the property updating module is configured to: update the current value of the property based on the element proposal provided by the element proposal determining module to obtain an updated value of the property; and update the updated value of the property based on the context proposal provided by the context proposal determining module. 8. The device of claim 7, wherein the property updating module is configured to update the current value of the property based on the element proposal by: determining a current element proposal associated with the current value of the property, the current element proposal indicating a probability that the current value is assigned to the property independently of the context of the target data; determining an element acceptance probability based on the element proposal associated with the first candidate value and the current element proposal, the element acceptance probability indicating a probability of a transition from the current value to the first candidate value; changing the current value to the first candidate value if the element acceptance probability exceeds a predefined threshold; and maintaining the current value unchanged if the element acceptance probability is below the predefined threshold. 9. The device of claim 7, wherein the property updating module is configured to update the updated value of the property based on the context proposal by: determining a current context proposal associated with the updated value of the property, the current context proposal indicating a probability that the updated value is assigned to the property in the context of target data; determining a context acceptance probability based on the context proposal associated with the second candidate value and the current context proposal, the context acceptance probability indicating a probability of a transition from the updated value to the second candidate value; changing the updated value to the second candidate value if the context acceptance probability exceeds a predefined threshold; and maintaining the updated value unchanged if the context acceptance probability is below the predefined threshold. 10. A computer-implemented method comprising: determining an element proposal associated with a first candidate value for a property of a target element, the target element being located at a token in target data in a corpus that includes multiple pieces of data, the element proposal indicating a probability that the first candidate value is assigned to the property independently of a context of the data; determining a context proposal associated with a second candidate value for the property of the target element, the context proposal indicating a probability that the second candidate value is assigned to the property in the context of the target data; and updating a current value of the property of the target element based on a combination of the element proposal and the context proposal. 11. The method of claim 10, further comprising: obtaining a probability distribution of a plurality of candidate values for the property; transforming the probability distribution into a uniform probability distribution; and determining at least one of the first and second candidate values from the plurality of candidate values based on the uniform probability distribution. 12. The method of claim 11, wherein determining the candidate value from the plurality of candidate values comprises: determining a position on a graphical representation of the uniform probability distribution; and selecting one of the plurality of candidate values based on the position and the uniform probability distribution. 13. The method of claim 11, further comprising: storing the uniform distribution for the target element as a set of bins in a reusable alias table, each of the bins being associated with at least one of the plurality of the candidate values. 14. The method of claim 10, wherein determining the element proposal comprises: determining a first count of a first set of tokens in the multiple pieces of data in the corpus, each of the first set of tokens containing the target element with the first candidate value assigned to the property; determining a second count of a second set of tokens in the multiple pieces of data in the corpus, each of the second set of tokens containing an element with the first candidate value assigned to the property; determining the element proposal based on the first and second counts. 15. The method of claim 10, wherein determining the context proposal comprises: determining a third count of a third set of tokens in the target data, each of the third containing an element with the second candidate value assigned to the property; and determining the context proposal based on the third count. 16. The method of claim 10, wherein updating the current value of the property comprises alternating between the element proposal and the context proposal, including performing the following at least one time: updating the current value of the property based on the element proposal to obtain an updated value of the property; and updating the updated value of the property based on the context proposal. 17. The method of claim 16, wherein updating the current value of the property based on the element proposal comprises: determining a current element proposal associated with the current value of the property, the current element proposal indicating a probability that the current value is assigned to the property independently of the context of the target data; determining an element acceptance probability based on the element proposal associated with the first candidate value and the current element proposal for the current value, the element acceptance probability indicating a probability of a transition from the current value to the first candidate value; changing the current value to the first candidate value if the element acceptance probability exceeds a predefined threshold; and maintaining the current value unchanged if the element acceptance probability is below the predefined threshold. 18. The method of claim 16, wherein updating the updated value of the property based on the context proposal comprises: determining a current context proposal associated with the updated value of the property, the current context proposal indicating a probability that the updated value is assigned to the property in the context of the target data; determining a context acceptance probability based on the context proposal associated with the second candidate value and the current context proposal, the context acceptance probability indicating a probability of a transition from the updated value to the second candidate value; changing the updated value to the second candidate value if the context acceptance probability exceeds a predefined threshold; and maintaining the updated value unchanged if the context acceptance probability is below the predefined threshold. 19. A system comprising: a corpus includes a plurality of documents; and a device including a processing unit and a memory and having access to the corpus, the memory coupled to the processing unit and including modules executable by the processing unit, the modules including: an element proposal determining module configured to determine a word proposal associated with a first candidate topic for a target word, the target word being located at a token in a target document from the plurality of documents, the word proposal indicating a probability that the first candidate topic is assigned to the target word independently of a context of the target document; a context proposal determining module configured to determine a document proposal associated with a second candidate topic for the target word, the document proposal indicating a probability that the second candidate topic is assigned to the target word in the context of the target document; and a property updating module configured to update a current topic of the target word by alternately using the word proposal and the document proposal. 20. The system of claim 19, wherein the property updating module is configured to: cause the element proposal determining module to determine the word proposal; update the current topic of the target word based on the word proposal to obtain an updated topic of the target word; cause the context proposal determining module to determine the document proposal; and update the updated topic of the target word based on the document proposal.