""SGD : A Study on Self-Generated Dataset creation method for Direct Preference…
- User
""SGD : A Study on Self-Generated Dataset creation method for Direct Preference Optimization (DPO) Learning This method proposes a novel method for generating datasets for DPO (Self-supervised Learning) models. We suggest a technique where sentences generated by the model are compared with the actual correct answers from an existing dataset, and sentences where the model's generated results do not match the correct answers we keep and are added. This enables the model to autonomously create training data, thereby enhancing the performance of DPO models"""
Now, Help me design an experiment like this but using only binary data. My experiment uses prospect theory from behavioural science. I have a large dataset with a 👍 or 👎 in response to statements and questions about shopping. This dataset has been carefully collected, reflecting human biases and loss aversion irrational decision making.. Now, I parse and feed the exact same statements and questions (without the thumbs up and thumbs down) to a llm. When it responds, I record it's responses and check them against the dataset. Now, the responses that are incorrect (compared to the dataset) I keep and are added to train a new llm (large language model). Now this is where I get stuck in my experiment. How do I keep the logic of the experiment above for the purpose of aligning llms to human biases as noted in prospect theory?
- Assistant
- User
So the model is inadvertently creating or generating the new dataset for itself because we keep the incorrect or misaligned response as a preference pair ("good", "bad') that we collect and form a new dataset for it to train on, therefore self generating dataset (SGD) Am I in the ballpark here?? If so provide a clear example of this process. Illustrate it for me.
- Assistant
- User
Can you expand and explain this part more?: "Step 4: Retraining the LLM with SGD
- Retraining: Use the newly formed SGD, filled with examples where the LLM’s responses did not align with human biases, to retrain the model." Is it learning because now we are feeding the questions along with the responses that best align with human biases? But then again, why didn't we just feed the original dataset in the first place? Where is the new data being generated here like the first experiment? I'm confused 🤔
- Assistant
- User
Ok so the first experiment said " We suggest a technique where sentences generated by the model are compared with the actual correct answers from an existing dataset, and sentences where the model’s generated results do not match the correct answers we keep and are added. This enables the model to autonomously create training data, thereby enhancing the performance of DPO models””" they were using questions answer (sentences) dataset. We are using just pure binary signals which reflect a decision imbued with human bias. So in our casr. We have our dataset at the beginning which is our benchmark. We take questions from the dataset and ask the llm for a binary response (true/false, yes/no etc). the answers that are "incorrect" or deviate from our dataset are collected by us. I want you to take it from here...
- Assistant
- User
But couldn't I have given the benchmark dataset at the beginning and just said hey train on this and skipped all the steps after? What am I not seeing here. Does this experiment not work with binary data compared to the original experiment? Be honest with me if my thinking is off
- Assistant
- User
Ok, so the way the model is fine tuned now is using DPO method (optimised preference pairs i.e. one good answer one poor answer) so with the original experiment I think the dataset was a dataset that only had one response to a question. It was probably a good response, so they kept it. But they didn't have a poor response, so when the llm that was asked the question from the dataset gave an incorrect response (according to the benchmark response) it was kept as it could now he used as an example of a poor response. This was probably repeated many times. After finishing, the authors had a new dataset. A 'preference pair' dataset they could use to train new model. WOW, I've got it now. Sorry for the interruption. I just realised you can convert a DPO dataset, to the one we need. Let's call it (KTO) yes, that's what we'll do. Instead of collecting thumbs up and thumbs down or other binary signals we will collect the sentence text data dataset and then follow the original experiment but THEN convert it at the end to the format we need
- Assistant