WO2024068784A1 - Reward-model based reinforcement learning for performing reasoning tasks - Google Patents
Reward-model based reinforcement learning for performing reasoning tasks Download PDFInfo
- Publication number
- WO2024068784A1 WO2024068784A1 PCT/EP2023/076792 EP2023076792W WO2024068784A1 WO 2024068784 A1 WO2024068784 A1 WO 2024068784A1 EP 2023076792 W EP2023076792 W EP 2023076792W WO 2024068784 A1 WO2024068784 A1 WO 2024068784A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- reasoning
- query
- candidate
- trace
- reward
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
- G06F16/3329—Natural language query formulation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/338—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/047—Probabilistic or stochastic networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/09—Supervised learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/092—Reinforcement learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/042—Knowledge-based neural networks; Logical representations of neural networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
Definitions
- This specification relates to performing reasoning tasks using a machine-learning model, such as a neural network.
- Neural networks are machine learning models that employ one or more layers of nonlinear units to predict an output for a received input.
- Some neural networks include one or more hidden layers in addition to an output layer. The output of each hidden layer is used as input to the next layer in the network, i.e., the next hidden layer or the output layer.
- Each layer of the network generates an output from a received input in accordance with current values of a respective set of parameters.
- the parameters of a machine learning model can be determined through a training process based on training data that includes one or more training examples.
- neural networks can be trained by updating the network parameters, including, e.g., weights and bias coefficients of the network layers of the neural network.
- the reasoning task includes providing a response to an input query. More specifically, the response may include (1) a final answer to the query and (2) a reasoning trace including a sequence of one or more reasoning steps to yield the final answer to the query.
- Language model and language generation neural networks can perform a variety of tasks, such as translation tasks (provided that the training corpus included words in different languages), and arithmetic tasks, among many other tasks.
- a language model can be used to generate a response to a query (e.g., a question).
- the response to the query can be provided as a text sequence, for example, in the form of a yes/no binary answer, an answer providing one or more numerical values, an answer identifying one or more objects or events, an answer identifying planned routes or actions, and so on.
- the response to the query may be used by a human or a computer system in many ways.
- the answer and the reasoning trace may be useful in itself, or it may be used to provide a warning and/or to control the motions of one or more robotic agents or objects, e.g. an autonomous vehicle.
- the input query can be a natural language query relating to an environment, in particular a real-world environment.
- the output response can be a natural language reply or natural language output statement that also relates to the environment.
- the output response can provide information relating to the environment, in some implementations, information relating to or specifying actions to be taken in the environment.
- the system can be used for diagnosing a fault in a mechanical system operating in the real-world environment.
- the input query can include observations about the mechanical system, e.g., from one or more sensors (e.g. cameras, microphones, accelerometers, temperature sensors, and so on), and a question about the mechanical system.
- the observations may include sensed electronic signals such as motor current or a temperature signal; and/or image or video data for example from a camera or a LIDAR sensor, e.g., data from sensors of a mechanical agent or data from sensors that are located separately from the mechanical agent in the environment.
- the observations and the question can be proposed to generate a language representation of the query.
- the query may comprise a general question such as “Given the measurements from sensors A, B, and C, is the system working correctly?” or “Given the measurements of A, B, and C, what is wrong with the system?” or a specific request such as “Is there a fault with component X?”
- the output response can provide a final answer to the question and a reasoning trace leading to the final answer.
- the environment can be an educational environment, e.g., the system can be deployed as part of an educational software program that assists a user in learning or practicing one or more corresponding skills.
- the input query can be a math word problem
- the output response includes the correct solution to the word problem and intermediate steps for reaching the correct solution.
- the output response can be provided to a student as a demonstration of how to solve the math problem, or be used as a grading tool to provide feedback on the student’s practice.
- the system can be used for natural language control of a task in a real-world environment. That is, the input query can relate to the task, e.g. it may comprise a request to perform the task.
- the output response may be used to control e.g. a mechanical system (which may be referred to as a mechanical agent), or a computer system for performing the task.
- the input query can include a high-level question, e.g. from a human, to perform a task, e.g., “What is the most cost-effective way to fabricate this component with our current equipment?” (the real-world environment may be a manufacturing facility in such cases).
- the output response includes a final answer specifying a planned procedure, and the reasoning steps for determining the planned procedure.
- the output response can be used to control one or more mechanical agents, e.g., robotic arms, to perform the planned procedure.
- the output response may comprise one or more control signals for controlling the the one or more mechanical agents, such as position, velocity, or force/torque/acceleration data for one or more joints of a robot or parts of another mechanical agent.
- the input query can relate to a real-world task and can specify observations of the real-world environment, and the output response can specify actions or routes to be taken in the real-world environment by a user to perform the task.
- the system can provide the output response to the user, e.g., via a display or an audio output device, to guide the user to perform the task in the real-world environment.
- Output responses generated using the methods described in this specification can greatly improve the utility and safety with which mechanical agents, computer systems, or human users can perform real-world tasks in real-world environments, particularly for tasks for which generating inaccurate responses can have significant negative consequences.
- the output responses may be used to perform the task in a principled and logical manner.
- the reasoning trace in the output response provides a human-interpretable explanation that can be used, e.g., by a user to 1) determine whether to perform the actions specified in the final answer in the output response or 2) later accessed when certain criteria are satisfied to evaluate the performance of the language model or to diagnose causes for errors occurring as a consequence of performing the actions specified in the responses generated by the language model.
- the human-interpretable explanation may, for example, comprise a sequence of logical steps, presented as natural language statements, that lead from the query to the response in a causal chain.
- Such human- interpretable explanations may overcome or mitigate some of the disadvantages of otherwise using language models (particularly neural network-based language models) as a “black box”, by allowing human users to understand the reasons behind a response provided by the language model.
- this specification describes a system implemented as computer programs on one or more computers in one or more locations that trains a language model for performing a reasoning task.
- the system includes a reward model configured to receive an input including a query text sequence characterizing a query and one or more reasoning steps that have been generated in response to the query and process the input to compute a score indicating how successful the one or more reasoning steps are in yielding a correct final answer to the query.
- each training example includes a respective sample query text sequence characterizing a respective sample query (i.e. training query) and a respective reference response text sequence that comprises a reference (“ground truth”) final answer to the respective sample query.
- the system can generate one or more candidate reasoning traces in response to the sample query of the training example.
- Each candidate reasoning trace includes one or more reasoning steps.
- the system can assign a target score for each reasoning step in each candidate reasoning trace based on the reference response text sequence in the training example, where the target score indicates whether the reasoning step is correct or incorrect.
- the system then trains the reward model to generate reward scores for the reasoning steps in the candidate reasoning traces that match the corresponding target scores for the reasoning step.
- the system determines whether the candidate reasoning trace yields the reference final answer in the training example. If the candidate reasoning trace yields the reference final answer in the training example, the system assigns to each reasoning step in the candidate reasoning trace a reward score indicating that the reasoning step is correct. If the candidate reasoning trace does not yield the final answer in the training example, the system assigns to each reasoning step in the candidate reasoning trace a reward score indicating that the reasoning step is incorrect.
- the reference response text sequence includes a reference reasoning trace including a sequence of reasoning steps that include the final answer as the last reasoning step.
- the system assigns the target score for a current reasoning step based on whether the reasoning steps that have been generated up to the current reasoning step match a sequence of reasoning steps in the reference reasoning trace. That is, the target score for a current reasoning step may be determined based on comparisons (e.g. similarity score) between each of the reasoning steps that have been generated up to (and including) the current reasoning step and corresponding reasoning steps in the sequence of reasoning steps in the reference reasoning trace.
- the system can receive a training query, and use a policy language model and the trained reward model to generate one or more expert reasoning traces in response to the training query, where each respective expert reasoning trace includes a respective plurality of reasoning steps.
- the system can use the one or more expert reasoning traces to train the language model.
- the policy language model can be a model configured to receive an input including a query text sequence characterizing a query and one or more reasoning steps that have been generated in response to the query, and process the input to generate a next reasoning step.
- the system uses the policy language model to generate a plurality of candidate expert reasoning traces in response to the training query.
- the system can use the reward model to generate a performance score for each of the candidate expert reasoning traces based on the reward scores generated for the reasoning steps in the candidate expert reasoning trace.
- the system selects one or more candidate expert reasoning traces having the highest performance scores as the expert reasoning traces.
- the system uses the policy language model to generate a plurality of candidate next reasoning steps.
- the system uses the reward model to generate a reward score for each of the candidate next reasoning steps, and selects the candidate next reasoning step with the highest reward score as the next step for the expert reasoning trace.
- the system can repeat the above steps until the next step matches a final answer indicator (e.g. until the next reasoning step comprises text corresponding to the final answer) or a maximum number of steps have been reached.
- the system can then use the resulting reasoning trace as the expert reasoning trace.
- this specification describes a system implemented as computer programs on one or more computers in one or more locations that performs a reasoning task using a language model.
- the system can obtain an input text sequence characterizing an input query.
- the system further obtains a reward model that has been trained on a plurality of training examples, wherein each training example includes a respective sample query text sequence characterizing a sample query and a respective reference response text sequence, wherein the reference response text sequence includes at least a reference final answer to the sample query, and wherein the reward model is configured to process an input including a query text sequence characterizing a query and one or more reasoning steps that have been generated in response to the query, to compute a reward score indicating how successful the one or more reasoning steps are for yielding a correct final answer to the query.
- the system uses the language model to generate a plurality of candidate reasoning traces as responses to the input query.
- Each candidate reasoning trace includes a respective plurality of candidate reasoning steps that include a candidate final answer.
- the system can select, based on one or more reward scores computed by the trained reward model, the best reasoning trace from the plurality of candidate reasoning traces, and outputs the best reasoning trace as an output response to the input query.
- This specification also describes computer-implemented methods performed by the systems described above.
- This specification further describes one or more computer storage media storing instructions that when executed by one or more computers, cause the one or more computers to perform the methods described above.
- This specification provides techniques for using a reward model to guide the reinforcement learning of a language model to perform a reasoning task.
- the reward model can be trained and applied either using purely outcome-based supervision or process-based supervision, the reward model is capable of generating reward signals not only for the outcome of performing the task (e.g., the final answer to the query), but also for individual reasoning steps.
- the language model is improved on performing the reasoning task, e.g., by reducing outcome errors and/or reasoning trace errors.
- FIG. 1 A shows an example training system for training a language model to perform a reasoning task.
- FIG. IB shows a reinforcement learning process performed by the training system.
- FIG. 2A shows an example of using a reward model to select expert reasoning traces.
- FIG. 2B shows an example of using a reward model to generate expert reasoning traces.
- FIG. 3 is a flow diagram of an example process for training a language model.
- FIG. 4 is a flow diagram of an example process for performing a reasoning task using a trained language model.
- This specification describes techniques for training a language model to perform reasoning tasks.
- the language model is trained to generate, in response to a query (e.g., a question), a response that includes a sequence of reasoning steps leading to a final answer (e.g., as the last reasoning step) to the query.
- the described techniques can be used to train the language model to perform a variety of reasoning tasks.
- the trained language model can be used for diagnosing a fault in a mechanical system operating in the real-world environment.
- the input query can include observations about the mechanical system, e.g., from one or more sensors, and a question about the mechanical system, such as “Given the measurements from sensors A, B, and C, is the system working correctly?”
- the output response can provide a final answer to the question and a reasoning trace leading to the final answer.
- the trained language model can be deployed as part of an educational software program that assists a user in learning or practicing one or more corresponding skills.
- the input query can be a math word problem
- the output response includes the correct solution to the word problem and intermediate steps for reaching the correct solution.
- the output response can be provided to a student as a demonstration of how to solve the math problem, or be used as a grading tool to provide feedback on the student’s practice.
- the trained language model can be used for natural language control of a task in a real-world environment.
- the input query can relate to the task, e.g. it may include a request to perform the task.
- the output response may be used to control e.g. a mechanical system (which may be referred to as a mechanical agent), or a computer system for performing the task.
- the input query can include a high-level question, e.g. from a human, to perform a task, e.g., “What is the most cost-effective way to fabricate this component with our current equipment?”
- the output response includes a final answer specifying a planned procedure, and the reasoning steps for determining the planned procedure.
- the output response can be used to control one or more mechanical agents, e.g., robotic arms, to perform the planned procedure.
- the reasoning trace in the output response can be used to provide a human-interpretable explanation that can be used, e.g., by a user to 1) determine whether to perform the actions specified in the final answer in the output response or 2) later accessed when certain criteria are satisfied to evaluate the performance of the language model or to diagnose causes for errors occurring as a consequence of performing the actions specified in the responses generated by the language model.
- the output response can specify actions or routes to be taken in the real-world environment by a human user to perform the task
- the system can provide the output response to the human user, e.g., via a display or an audio output device, to guide the user to perform the task in the real-world environment.
- FIG. 1 A shows an example training system 100 for training a language model 110 to perform a reasoning task.
- the training system 100 is an example of a system implemented as computer programs on one or more computers in one or more locations, in which the systems, components, and techniques described below can be implemented.
- the language model 110 is trained to generate, in response to a query 120, a response 130 that includes a sequence of reasoning steps leading to a final answer to the query.
- the language model 110 has a set of language model parameters 115.
- the language model 110 can process an input including the query 120 to generate an output 150 that characterizes the reasoning steps 130 in a reasoning trace in response to the query 120.
- Each of the query 120 and the reasoning steps 130 can include a text token sequence.
- the training system 100 includes a reinforcement learning engine 135 that performs reinforcement learning to update the language model parameters 115 of the language model 110 using a reward model 140.
- the reward model 140 is configured to process an input 150 including a query text sequence characterizing a query and one or more reasoning steps that have been generated in response to the query 120 to compute a reward score 160 indicating how successful the one or more reasoning steps are in yielding a correct final answer to the query.
- the language model 110 can be a neural network that is configured to process an input to generate an output that includes a probability distribution over a set of text tokens in a vocabulary of text tokens, with the probability for each token representing the likelihood that the text token immediately follows the input.
- the vocabulary of text tokens can include any appropriate tokens that appear in natural language text, e.g., ASCII characters, words, word pieces, or differently distributed n-grams.
- the vocabulary of text tokens can be fixed or can have been generated by applying an appropriate tokenizer, e.g., a byte pair encoding tokenizer or the SentencePiece tokenizer to a corpus of text.
- the language model 110 can be an auto-regressive neural network.
- the language model 110 is referred to as an auto-regressive neural network because the neural network auto-regressively generates an output sequence of tokens by generating each particular token in the output sequence conditioned on a current input sequence that includes any (e.g. all) tokens that precede the particular text token in the output sequence, i.e., tokens that have already been generated for any previous positions in the output sequence that precede the particular position of the particular token, and a context input that provides context for the output sequence (a “context sequence”), e.g. a text token sequence representing the query 120.
- a context input that provides context for the output sequence
- the current input sequence when generating a token at any given position in the output sequence can include the context sequence and the tokens at any preceding positions that precede the given position in the output sequence.
- the current input sequence can include the context sequence followed by the tokens at any (e.g. all) preceding positions that precede the given position in the output sequence.
- the context and the current output sequence can be separated by one or more predetermined tokens within the current input sequence.
- the neural network can process the current input sequence to generate a score distribution, e.g., a probability distribution, that assigns a respective score, e.g., a respective probability, to each text token in the vocabulary of text tokens.
- the neural network can then select, as the particular token, a text token from the vocabulary using the score distribution.
- the neural network can greedily select the highest-scoring token or can sample, e.g., using nucleus sampling or another sampling technique, a token from the distribution.
- the language model 110 can be or comprise an autoregressive Transformer-based neural network that includes (i) a sequence comprising a plurality of attention blocks that each apply a self-attention operation and (ii) an output subnetwork that processes an output of the last attention block to generate the score distribution.
- the neural network can have any of a variety of Transformer-based neural network architectures.
- Examples of such architectures include those described in J. Hoffmann, S. Borgeaud, A.sch, E. Buchatskaya, T. Cai, E. Rutherford, D. d. L. Casas, L. A. Hendricks, J. Welbl, A. Clark, et al. Training compute-optimal large language models, arXiv preprint arXiv:2203.15556, 2022; J.W. Rae, S. Borgeaud, T. Cai, K. Millican, J. Hoffmann, H. F. Song, J. Aslanides, S. Henderson, R. Ring, S. Young, E. Rutherford, T.
- the Transformer-based neural network includes a sequence of attention blocks, and, during the processing of a given input sequence, each attention block in the sequence receives a respective input hidden state for each input token in the given input sequence.
- the attention block then updates at least the hidden state for the last token in a given input sequence at least in part by applying self-attention to generate a respective output hidden state for the last token.
- the input hidden states for the first attention block are embeddings of the input tokens in the input sequence and the input hidden states for each subsequent attention block are the output hidden states generated by the preceding attention block.
- the output subnetwork processes the output hidden state generated by the last attention block in the sequence for the last input token in the input sequence to generate the score distribution.
- the language model 110 can be initialized using a base language model that has been pre-trained using unsupervised learning. That is, the language model 110 can start with the same architecture and weights as the base language model which has been trained on a corpus of text to perform one or more language modeling tasks that do not require labeled training examples.
- the system 100 or another training system can pre-train the base language model on a masked language modeling (MLM) task for predicting a masked portion of the input text, a next sentence prediction (NSP) for predicting, given two sentences, whether the second sentence is the subsequent sentence of the first sentence, and/or an autoregressive pre- training (ARP) task for predicting, given a sequence of tokens, the next token in the sequence.
- MLM masked language modeling
- NSP next sentence prediction
- ARP autoregressive pre- training
- the language model 110 can be pre-trained on a maximum-likelihood objective on a large dataset of text, e.g., text that is publicly available from the Internet or another text corpus.
- the system 100 can fine-tune the language model 110 using supervised finetuning (SFT) based on a set of supervised training examples.
- Each supervised example includes a training input token sequence and a corresponding target output token sequence.
- SFT supervised finetuning
- the system 100 performs supervised learning to update the parameters of the language model 110, e.g., to maximize the log-likelihood of the language model 110 outputting the target output token sequence for the corresponding training input sequence.
- the supervised training examples include examples of input queries and corresponding target reasoning traces of the input queries. That is, the training input token sequence is the token sequence representing an input query, while the target output token sequence is the token sequence representing the target reasoning trace.
- the system 100 can further perform contextual learning of the language model 110 by providing one or more prompts in the inputs to the language model 110.
- Each prompt can be an example of an input-output pair, where the input is an example of an input query and the output is an example of an output reasoning trace that should be generated in response to the input query.
- the system 100 trains the reward model 140 (i.e., updates the parameters 145 of the reward model 140) using a set of training examples 148.
- Each training example 145 includes a respective query text sequence characterizing a respective sample query and a respective reference response text sequence.
- the reference response text sequence includes at least a reference final answer to the respective sample query.
- the reward model 140 is configured to receive an input 150 including a query text sequence characterizing a query and one or more reasoning steps that have been generated in response to the query and process the input 150 to compute a reward score 160 indicating how successful the one or more reasoning steps are in yielding a correct final answer to the query.
- the reward model 140 outputs a score for the reasoning step.
- the reward model 140 can be trained to generate a score for the reasoning step to indicate the likelihood of the reasoning step being ‘correct’ or ‘incorrect’.
- the reward model 140 is trained to generate a score for each reasoning step in the reasoning trace to indicate whether the reasoning trace containing that step leads to a correct final answer.
- the resulting reward model, trained using this process, is called an outcome-supervised reward model (ORM) because its training is supervised by the reference final answer.
- the system 100 obtains multiple candidate reasoning traces for each training example, in response to the sample query of the training example. As described below with reference to FIG. IB, the system 100 can generate the candidate reasoning traces using a policy language model. The system 100 assigns a target score to each reasoning step in each candidate reasoning trace, based on the reference response text sequence in the training example. The target score indicates whether the reasoning step is correct or incorrect, based on whether the corresponding final answer in the candidate reasoning trace matches the reference final answer of the training example. That is, if the candidate reasoning trace yields the reference final answer, the system 100 assigns a target score indicating that the reasoning step is correct to each reasoning step in the candidate reasoning trace.
- the system 100 assigns a target score indicating that the reasoning step is incorrect to each reasoning step in the candidate reasoning trace.
- the system 100 trains the reward model 140 to generate reward scores 160 for the reasoning steps in the candidate reasoning traces that match the corresponding target scores for the reasoning steps.
- the system 100 can use a backpropagati on-based supervised learning technique to train the reward model 140.
- the reward model 140 is trained to generate a score for each particular reasoning step in the candidate reasoning trace to indicate whether the reasoning steps up to and including that step are correct.
- the resulting reward model, trained using this process is called a process-supervised reward model (PRM) because its training is supervised by a process including intermediate reasoning steps of a reasoning trace.
- PRM process-supervised reward model
- the reference response text sequence for each training example includes a reference reasoning trace, which is a sequence of reasoning steps with the final answer as the last step.
- the system 100 assigns a target score to the current reasoning step based on whether the reasoning steps generated up to that point match the sequence of reasoning steps in the reference reasoning trace. That is, the target score for the current reasoning step may be determined based on comparisons (e.g. similarity score) between each of the reasoning steps that have been generated up to (and including) the current reasoning step and corresponding reasoning steps in the sequence of reasoning steps in the reference reasoning trace.
- the system 100 can determine the target scores for the reasoning steps in the candidate reasoning traces using feedback from human annotators. For example, the system 100 or another system can present human annotators with (i) the sample query and the reference response text sequence of the training example and (ii) the candidate reasoning traces obtained for the training example. The system 100 can then receive inputs from the annotators identifying the first reasoning step in a candidate reasoning trace with a major mistake, if any exist. In one example, a major mistake is defined as a step where the information expressed is incorrect, or it would no longer be possible to reach the correct solution without undoing that step. After receiving the inputs from the annotators, the system 100 can assign target scores for the candidate reasoning steps using the feedback from the annotators.
- the reward model 140 can be implemented as a language model configured to process the input sequence including the query and one or more reasoning steps, and generate the output tokens indicating the correctness for a reasoning step, e.g., as ‘correct’ or “incorrect’.
- the reward model 140 can further output the probability assigned to the ‘correct’ token by the language model as the reward score.
- the reward model 140 can be (i) initialized using a base language model that has been pre-trained, (ii) finetuned using SFT, and/or (iii) subjected to contextual learning through few-shot prompting.
- the reinforcement learning engine 135 performs reward-model-based (RM-based) reinforcement learning to update the language model 110.
- the reinforcement learning engine 130 updates, based on reward scores predicted by the reward model 140, a policy that maps an input including (i) a query 120 and (ii) reasoning steps 130 that have been generated so far to an output characterizing the next reasoning step.
- FIG. IB shows an example of an RM-based reinforcement-learning process performed by the training system 100.
- the system 100 uses an expert iteration approach for reinforcement learning. Examples of implementing expert iteration include those described in D.
- the system 100 uses a policy language model 112 and the trained reward model 140 to perform a search procedure to produce expert reasoning traces 190.
- the system 100 uses the expert reasoning traces 190 to train the language model 110, e.g., by using supervised learning.
- the policy language model 112 can be implemented using any appropriate language model.
- the policy language model 112 can be the same model as the language model 110. That is, the language model 110 (e.g., after being subjected to pretraining, SFT, and/or contextual learning using few shot prompting) can be used to generate the expert reasoning traces 190.
- the system 100 can perform the expert iteration for a plurality of iterations. After the language model 110 has been trained using the expert reasoning traces 190 in a particular iteration, the system 100 can use the language model 110 as the policy language model 112 to generate the expert reasoning traces 190 for the next iteration. In some implementations, the system can also use the policy language model 112 to generate the candidate reasoning traces for training the reward model 140.
- the system 100 receives a training query 170, and uses the policy language model 112 and the trained reward model 140 to generate the expert reasoning traces 190 in response to the training query 170.
- the system can use the policy language model 112 to generate a plurality of candidate expert reasoning traces 180 (e.g., by random sampling) in response to the training query 170, use the trained reward model 140 to generate a performance score 185 for each candidate expert reasoning trace, and select one or more candidate expert reasoning traces having the highest performance scores as the expert reasoning traces 190.
- FIG. 2 A shows an example of using the reward model 140 to select expert reasoning traces.
- the system can determine the performance score 185 for a candidate expert reasoning trace based on the reward scores generated by the reward model for each reasoning step in the candidate expert reasoning trace, for example, by summing the reward scores of the corresponding reasoning steps in the candidate expert reasoning trace.
- the system selects the candidate expert reasoning trace having the highest performance score as the expert reasoning trace 190.
- the system can use a reward model 140 that has been trained using outcome-supervised training, so the reward model (outcome-supervised reward model, ORM) is configured to generate a reward score for each reasoning step to indicate whether the reasoning step may have been in a reasoning trace that leads to a correct final answer.
- ORM output-supervised reward model
- a policy that maximizes the ORM score at each step in general maximizes the RM-estimated probability at each step of eventually reaching the correct final answer.
- FIG. 2B shows an example of using the policy language model 112 and the reward model 140 to generate the expert reasoning traces 190.
- the system uses the policy language model 112 to generate a plurality of candidate next reasoning steps 182.
- the system uses the trained reward model to generate a reward score (e.g., 185a, 185b, or 185c) for each of the candidate next reasoning steps.
- the system selects the candidate next reasoning step with the highest reward score as the next step for the expert reasoning trace, and repeats the process until the next step matches a final answer indicator (e.g. until the next reasoning step comprises text corresponding to the final answer) or a maximum number of steps have been reached.
- a final answer indicator e.g. until the next reasoning step comprises text corresponding to the final answer
- the system can use a reward model 140 that has been trained using process-supervised training, so the reward model (process- supervised reward model, PRM) is configured to generate a reward score for a current reasoning step to indicate whether the reasoning steps up to the current reasoning steps are correct.
- PRM process- supervised reward model
- a policy that maximizes the PRM score in general, selects each step to maximize the RM-estimated probability of the steps so far being correct. If the steps so far are correct, this typically means such a policy minimizes the probability of introducing a mistake in the current step.
- FIG. 3 is a flow diagram of an example process 300 for training a language model for performing reasoning tasks.
- the process 300 will be described as being performed by a system of one or more computers located in one or more locations.
- a training system e.g., the training system 100 depicted in FIG. 1, appropriately programmed in accordance with this specification, can perform the process 300.
- the system obtains a plurality of training examples.
- Each training example includes a respective sample query text sequence characterizing a respective sample query and a respective reference response text sequence that includes a reference final answer to the respective sample query.
- the system can obtain the training examples from one or more of a variety of data sources, such as from databases or labeled datasets.
- the publicly available GSM8K dataset includes math word problems and natural language solutions to the word math problems.
- the system trains a reward model on the plurality of training examples.
- the reward model is configured to receive an input including a query text sequence characterizing a query and one or more reasoning steps that have been generated in response to the query and process the input to compute a reward score indicating how successful the one or more reasoning steps are in yielding a correct final answer to the query.
- the system can train the reward model based on candidate reasoning traces and target scores assigned to reasoning steps in the candidate reasoning traces.
- the target scores can be assigned based on (i) outcome-supervised training, where the training of the reward model is supervised by the reference final answer of the training example, or (ii) process-supervised training, where the training of the reward model is supervised by a process represented by a reasoning trace.
- the system trains the language model using the trained reward model.
- the system performs RM-based reinforcement learning to update the parameters of the language model. That is, during reinforcement learning, the system uses the reward model to generate the reward.
- the reward model can be implemented as a language model configured to process the input sequence including the query and one or more reasoning steps, and generate the output tokens indicating the correctness for a reasoning step, e.g., as ‘correct’ or “incorrect’.
- the reward model is used to provide reward signals to individual reasoning steps during reinforcement learning. This contrasts with conventional techniques where the language model is only rewarded based on the correctness of the final answer during reinforcement learning.
- the language model is improved on performing the reasoning task, e.g., by reducing outcome errors and/or reasoning trace errors.
- FIG. 4 is a flow diagram of an example process 400 for performing a reasoning task using a language model that has been trained using processes described with reference to FIGs. 1-3.
- the process 400 will be described as being performed by a system of one or more computers located in one or more locations.
- the system receives an input query.
- the input query can be represented by a text token sequence.
- the system processes the input query using the trained language model to generate a plurality of candidate output reasoning traces in response to the input query.
- Each candidate output reasoning trace is a text token sequence that represents a sequence of reasoning steps where the last reasoning step in the reasoning trace is or comprises a final answer generated in response to the input query.
- the language model is auto-regressive and is configured to process the current input sequence to generate a probability distribution of tokens in the vocabulary for the next token in the output, the system can use the same model to generate multiple different candidate output sequences in response to the same query by sampling from the probability distribution.
- the system selects a best reasoning trace from the candidate output reasoning traces using a ranking strategy.
- the system can use the reward model that has been trained using training processes described with reference to FIG. 1 to select the best reasoning trace to output. Specifically, the system can use the trained reward model to compute a performance score for each candidate output reasoning trace.
- the system can select the candidate output reasoning trace having the highest performance score as the output reasoning trace.
- the system can weight the final answer in each candidate output reasoning trace with the corresponding performance score, and identify the final answer having the largest total weight as the ‘correct’ final answer.
- a total weight for each final answer may be determined by summing the performance scores for each output reasoning trace that has that final answer and the “correct” final answer is then identified as the final answer having the largest total weight.
- the system can then select among candidate output reasoning traces leading to the identified ‘correct’ final answer based on the performance scores.
- the system outputs the best reasoning trace.
- the system can choose not to provide an output response when the performance score estimated by the reward model for the best reasoning trace is below a threshold. That is, before outputting the best reasoning trace as the output response, the system can determine if the score estimated by the reward model for the best reasoning trace is below a threshold, and only output the best reasoning trace as the output response in response to determining that the score is not below the threshold.
- This specification uses the term “configured” in connection with systems and computer program components.
- a system of one or more computers to be configured to perform particular operations or actions means that the system has installed on it software, firmware, hardware, or a combination of them that in operation cause the system to perform the operations or actions.
- one or more computer programs to be configured to perform particular operations or actions means that the one or more programs include instructions that, when executed by data processing apparatus, cause the apparatus to perform the operations or actions.
- Embodiments of the subject matter and the functional operations described in this specification can be implemented in digital electronic circuitry, in tangibly-embodied computer software or firmware, in computer hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them.
- Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, e.g., one or more modules of computer program instructions encoded on a tangible non transitory storage medium for execution by, or to control the operation of, data processing apparatus.
- the computer storage medium can be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them.
- the program instructions can be encoded on an artificially generated propagated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode information for transmission to suitable receiver apparatus for execution by a data processing apparatus.
- data processing apparatus refers to data processing hardware and encompasses all kinds of apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, or multiple processors or computers.
- the apparatus can also be, or further include, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).
- the apparatus can optionally include, in addition to hardware, code that creates an execution environment for computer programs, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them.
- a computer program which may also be referred to or described as a program, software, a software application, an app, a module, a software module, a script, or code, can be written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages; and it can be deployed in any form, including as a stand alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
- a program may, but need not, correspond to a file in a file system.
- a program can be stored in a portion of a file that holds other programs or data, e.g., one or more scripts stored in a markup language document, in a single file dedicated to the program in question, or in multiple coordinated files, e.g., files that store one or more modules, sub programs, or portions of code.
- a computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a data communication network.
- the term “database” is used broadly to refer to any collection of data: the data does not need to be structured in any particular way, or structured at all, and it can be stored on storage devices in one or more locations.
- the index database can include multiple collections of data, each of which may be organized and accessed differently.
- engine is used broadly to refer to a software-based system, subsystem, or process that is programmed to perform one or more specific functions.
- an engine will be implemented as one or more software modules or components, installed on one or more computers in one or more locations. In some cases, one or more computers will be dedicated to a particular engine; in other cases, multiple engines can be installed and running on the same computer or computers.
- the processes and logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform functions by operating on input data and generating output.
- the processes and logic flows can also be performed by special purpose logic circuitry, e.g., an FPGA or an ASIC, or by a combination of special purpose logic circuitry and one or more programmed computers.
- Computers suitable for the execution of a computer program can be based on general or special purpose microprocessors or both, or any other kind of central processing unit.
- a central processing unit will receive instructions and data from a read only memory or a random access memory or both.
- the essential elements of a computer are a central processing unit for performing or executing instructions and one or more memory devices for storing instructions and data.
- the central processing unit and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
- a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks. However, a computer need not have such devices.
- a computer can be embedded in another device, e.g., a mobile telephone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a Global Positioning System (GPS) receiver, or a portable storage device, e.g., a universal serial bus (USB) flash drive, to name just a few.
- PDA personal digital assistant
- GPS Global Positioning System
- USB universal serial bus
- Computer readable media suitable for storing computer program instructions and data include all forms of non volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto optical disks; and CD ROM and DVD-ROM disks.
- semiconductor memory devices e.g., EPROM, EEPROM, and flash memory devices
- magnetic disks e.g., internal hard disks or removable disks
- magneto optical disks e.g., CD ROM and DVD-ROM disks.
- embodiments of the subject matter described in this specification can be implemented on a computer having a display device, e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user and a keyboard and a pointing device, e.g., a mouse or a trackball, by which the user can provide input to the computer.
- a display device e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor
- keyboard and a pointing device e.g., a mouse or a trackball
- Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input.
- a computer can interact with a user by sending documents to and receiving documents from a device that is used by the user; for example, by sending web pages to a web browser on a user’s device in response to requests received from the web browser.
- a computer can interact with a user by sending text messages or other forms of message to a personal device, e.g., a smartphone that is running a messaging application, and receiving responsive messages from the user in return.
- Data processing apparatus for implementing machine learning models can also include, for example, special-purpose hardware accelerator units for processing common and compute-intensive parts of machine learning training or production, e.g., inference, workloads.
- Machine learning models can be implemented and deployed using a machine learning framework, .e.g., a TensorFlow framework.
- Embodiments of the subject matter described in this specification can be implemented in a computing system that includes a back end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a client computer having a graphical user interface, a web browser, or an app through which a user can interact with an implementation of the subject matter described in this specification, or any combination of one or more such back end, middleware, or front end components.
- the components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (LAN) and a wide area network (WAN), e.g., the Internet.
- LAN local area network
- WAN wide area network
- the computing system can include clients and servers.
- a client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
- a server transmits data, e.g., an HTML page, to a user device, e.g., for purposes of displaying data to and receiving user input from a user interacting with the device, which acts as a client.
- Data generated at the user device e.g., a result of the user interaction, can be received at the server from the device.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Artificial Intelligence (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Evolutionary Computation (AREA)
- Biophysics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Probability & Statistics with Applications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202380069293.6A CN119998819A (en) | 2022-09-28 | 2023-09-27 | Reward-based reinforcement learning for reasoning tasks |
| KR1020257005778A KR20250041027A (en) | 2022-09-28 | 2023-09-27 | Reinforcement learning based on reward model for performing inference tasks |
| JP2025518334A JP2025535683A (en) | 2022-09-28 | 2023-09-27 | Reward model-based reinforcement learning for performing inference tasks |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202263377532P | 2022-09-28 | 2022-09-28 | |
| US63/377,532 | 2022-09-28 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024068784A1 true WO2024068784A1 (en) | 2024-04-04 |
Family
ID=88237868
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/EP2023/076792 Ceased WO2024068784A1 (en) | 2022-09-28 | 2023-09-27 | Reward-model based reinforcement learning for performing reasoning tasks |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US20240104391A1 (en) |
| JP (1) | JP2025535683A (en) |
| KR (1) | KR20250041027A (en) |
| CN (1) | CN119998819A (en) |
| WO (1) | WO2024068784A1 (en) |
Families Citing this family (33)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12314318B2 (en) * | 2023-02-17 | 2025-05-27 | Snowflake Inc. | Enhanced searching using fine-tuned machine learning models |
| US12602549B1 (en) * | 2025-02-12 | 2026-04-14 | AtomBeam Technologies Inc. | Persistent cognitive machine with curated long term memory |
| US12579437B2 (en) * | 2024-05-23 | 2026-03-17 | AtomBeam Technologies Inc. | Mobile-optimized multi-stage LLM with federated persistent cognitive architecture |
| US20260023992A1 (en) * | 2024-05-23 | 2026-01-22 | AtomBeam Technologies Inc. | System and Method for Large Language Model with Integrated Memory During Inference Using Manifold Traversal Architecture |
| US12387050B1 (en) * | 2025-02-12 | 2025-08-12 | AtomBeam Technologies Inc. | Multi-stage LLM with unlimited context |
| US12572471B1 (en) * | 2025-02-12 | 2026-03-10 | AtomBeam Technologies Inc. | Mobile-optimized multi-stage LLM with generalized thought caching |
| US12608631B1 (en) * | 2025-02-12 | 2026-04-21 | AtomBeam Technologies Inc. | Mobile-optimized multi-stage LLM with autonomous reasoning |
| US20250335401A1 (en) * | 2024-04-24 | 2025-10-30 | Ramp Business Corporation | Structured data conversion using large language model and finite state machine |
| CN118095402B (en) * | 2024-04-29 | 2024-07-26 | 浙江实在智能科技有限公司 | Reward model training method and system based on human feedback reinforcement learning |
| US20250335521A1 (en) * | 2024-04-30 | 2025-10-30 | Maplebear Inc. | Supplementing a search query using a large language model |
| WO2025227352A1 (en) * | 2024-04-30 | 2025-11-06 | Qualcomm Incorporated | Lookahead decoding in autoregressive generative artificial intelligence models |
| CN118551797B (en) * | 2024-05-08 | 2025-10-24 | 哈尔滨工业大学 | Reward-guided automatic jailbreak prompt generation method |
| CN118135592B (en) * | 2024-05-09 | 2024-09-13 | 支付宝(杭州)信息技术有限公司 | A user service method and device based on medical LLM model |
| CN121336212A (en) * | 2024-05-10 | 2026-01-13 | 脸萌有限公司 | A method, apparatus, device, and storage medium for information processing |
| CN118278145B (en) * | 2024-05-16 | 2024-08-16 | 中南大学 | Railway route selection method, equipment and medium based on imitation and reinforcement learning |
| CN121009974A (en) * | 2024-05-20 | 2025-11-25 | 华为云计算技术有限公司 | A reasoning method and apparatus for a large language model |
| US12572830B1 (en) * | 2024-05-23 | 2026-03-10 | AtomBeam Technologies Inc. | System and method for enterprise hierarchical persistent cognitive machines with organizational hierarchy awareness and compliance integration |
| CN120317376B (en) * | 2024-08-07 | 2025-12-12 | 上海稀宇科技有限公司 | A method and apparatus for optimizing inference in a language model |
| CN121660062A (en) * | 2024-09-12 | 2026-03-13 | 华为技术有限公司 | A model reasoning method and system |
| CN119203232B (en) * | 2024-09-23 | 2025-09-16 | 清华大学无锡应用技术研究院 | Data security analysis method based on large language model |
| WO2026081060A1 (en) * | 2024-10-14 | 2026-04-23 | Beijing Youzhuju Network Technology Co., Ltd. | Optimization of model training |
| CN119493849B (en) * | 2025-01-16 | 2025-05-13 | 苏州元脑智能科技有限公司 | Question-answering task processing model training method, device, equipment and storage medium |
| CN120030197B (en) * | 2025-01-21 | 2025-11-11 | 北京九章云极科技有限公司 | Method and device for realizing model reasoning search based on calculation power of intelligent calculation center |
| US12572748B1 (en) | 2025-02-12 | 2026-03-10 | AtomBeam Technologies Inc. | Scalable expert foundry system using hierarchical supervisory networks and geometric manifold architectures for multi-domain cognitive processing |
| US12585882B1 (en) * | 2025-02-12 | 2026-03-24 | Atobeam Technologies Inc. | Evolutionary thought caching for multi-stage language model systems |
| CN120104749A (en) * | 2025-02-25 | 2025-06-06 | 清华大学 | Reliable reward evaluation method and device combining human preferences with verifiable correctness signals |
| CN119806966B (en) * | 2025-03-17 | 2025-09-19 | 北京北软华兴软件有限责任公司 | Log anomaly detection method, device, equipment and storage medium |
| CN120809166A (en) * | 2025-07-14 | 2025-10-17 | 昆山市第一人民医院 | Medical interactive large model training method and system based on enhanced feedback |
| CN121033847A (en) * | 2025-08-13 | 2025-11-28 | 浙江大学 | A multimodal enhanced fine-tuning power detection method and system |
| CN121351923B (en) * | 2025-12-18 | 2026-02-27 | 厦门大学 | Inference model training methods, electronic devices, media, and computer program products |
| CN121478960B (en) * | 2026-01-09 | 2026-04-10 | 中国科学技术大学 | Decoding Phase Role-Playing Agent Character Following Method and System |
| CN121638310A (en) * | 2026-02-04 | 2026-03-10 | 神州数码(中国)有限公司 | Learning training method, equipment and storage medium for tool calling capability |
| CN121681720A (en) * | 2026-02-10 | 2026-03-17 | 浙江创邻科技有限公司 | A Reinforcement Learning-Based Large Language Model Graph Query Language Generation Method and System |
-
2023
- 2023-09-27 KR KR1020257005778A patent/KR20250041027A/en active Pending
- 2023-09-27 JP JP2025518334A patent/JP2025535683A/en active Pending
- 2023-09-27 CN CN202380069293.6A patent/CN119998819A/en active Pending
- 2023-09-27 WO PCT/EP2023/076792 patent/WO2024068784A1/en not_active Ceased
- 2023-09-27 US US18/475,743 patent/US20240104391A1/en active Pending
Non-Patent Citations (9)
| Title |
|---|
| AHN MICHAEL ET AL: "Do as i can and not as i say: grounding language in robotic affordances", ARXIV (CORNELL UNIVERSITY), 16 August 2022 (2022-08-16), Ithaca, XP093107123, Retrieved from the Internet <URL:https://arxiv.org/abs/2204.01691v2> [retrieved on 20231129], DOI: 10.48550/ARXIV.2204.01691 * |
| BUCKER ARTHUR ET AL: "Reshaping Robot Trajectories Using Natural Language Commands: A Study of Multi-Modal Data Alignment Using Transformers", 25 March 2022 (2022-03-25), XP093107150, Retrieved from the Internet <URL:https://arxiv.org/abs/2203.13411v1> [retrieved on 20231129] * |
| COLIN RAFFELNOAM SHAZEERADAM ROBERTSKATHERINE LEESHARAN NARANGMICHAEL MATENAYANQI ZHOUWEI LIPETER J LIU: "Exploring the limits of transfer learning with a unified text-to-text transformer", ARXIV: 1910.10683, 2019 |
| D. SILVER ET AL.: "Mastering the game of go without human knowledge", NATURE, vol. 550, no. 7676, 2017, pages 354 - 359, XP055500016, DOI: 10.1038/nature24270 |
| DANIEL ADIWARDANAMINH-THANG LUONGDAVID R. SOJAMIE HALLNOAH FIEDELROMAL THOPPILANZI YANGAPOORV KULSHRESHTHAGAURAV NEMADEYIFENG LU: "Towards a human-like open-domain chatbot", CORR, 2020 |
| J. HOFFMANNS. BORGEAUDA. MENSCHE. BUCHATSKAYAT. CAIE. RUTHERFORDD. D. L. CASASL. A. HENDRICKSJ. WELBLA. CLARK ET AL.: "Training compute-optimal large language models", ARXIV:2203.15556, 2022 |
| J.W. RAES. BORGEAUDT. CAIK. MILLICANJ. HOFFMANNH. F. SONGJ. ASLANIDESS. HENDERSONR. RINGS. YOUNG: "Scaling language models: Methods, analysis & insights from training gopher", CORR, 2021 |
| T. ANTHONY ET AL.: "Thinking fast and slow with deep learning and tree search", ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS, vol. 30, 2017 |
| TOM B BROWNBENJAMIN MANNNICK RYDERMELANIE SUBBIAHJARED KAPLANPRAFULLA DHARIWALARVIND NEELAKANTANPRANAV SHYAMGIRISH SASTRYAMANDA AS: "Language models are few-shot learners", ARXIV:2005.14165, 2020 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2025535683A (en) | 2025-10-28 |
| US20240104391A1 (en) | 2024-03-28 |
| KR20250041027A (en) | 2025-03-25 |
| CN119998819A (en) | 2025-05-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20240104391A1 (en) | Reward-model based reinforcement learning for performing reasoning tasks | |
| US12333436B2 (en) | Augmenting machine learning language models using search engine results | |
| US20250190707A1 (en) | Action selection based on environment observations and textual instructions | |
| US20230029590A1 (en) | Evaluating output sequences using an auto-regressive language model neural network | |
| JP5907469B2 (en) | Artificial intelligence device that autonomously expands knowledge by language input | |
| US20230196105A1 (en) | Generating labeled training data using a pre-trained language model neural network | |
| US12353981B2 (en) | Training of large neural networks | |
| US20230401451A1 (en) | Determining hyperparameters using sequence generation neural networks | |
| US20240394286A1 (en) | Task performance using language models | |
| AU2023236937A1 (en) | Generating output sequences with inline evidence using language model neural networks | |
| US20250077895A1 (en) | Fusing in-context learning and fine-tuning for language model neural networks | |
| WO2024059337A1 (en) | Controlling robots using language model generated programs | |
| US20220108174A1 (en) | Training neural networks using auxiliary task update decomposition | |
| US20250036958A1 (en) | Training generative neural networks through reinforced self-training | |
| JP2016040730A (en) | Artificial intelligence device that autonomously constructs a knowledge system by language input | |
| US20250363354A1 (en) | Composing machine learning models to perform new tasks | |
| JP2016028346A (en) | Artificial intelligence device for expanding processing capacity in self-organizing manner | |
| US20250181435A1 (en) | Detecting errors in chat bot outputs using language model neural networks | |
| US12585658B1 (en) | Generating augmented output sequences by a neural network using external databases | |
| US20250111210A1 (en) | Relative position biases in attention neural networks using functional interpolation | |
| WO2025056810A1 (en) | Controlling robots using language model generated programs | |
| KR20260033586A (en) | Data structure-based inference using language model neural networks | |
| CN117312519A (en) | A power supply service question and answer method, device, equipment and medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23782856 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 20257005778 Country of ref document: KR Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 1020257005778 Country of ref document: KR |
|
| WWP | Wipo information: published in national office |
Ref document number: 1020257005778 Country of ref document: KR |
|
| ENP | Entry into the national phase |
Ref document number: 2025518334 Country of ref document: JP Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2025518334 Country of ref document: JP Ref document number: 202380069293.6 Country of ref document: CN |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 11202502114X Country of ref document: SG |
|
| WWP | Wipo information: published in national office |
Ref document number: 11202502114X Country of ref document: SG |
|
| WWP | Wipo information: published in national office |
Ref document number: 202380069293.6 Country of ref document: CN |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23782856 Country of ref document: EP Kind code of ref document: A1 |