5 ms·
How do you see CoT as "giving hints"? Isn't the whole point that the hints are being sourced from the model itself? Which is precisely why a more robust model
by kromem 3y ago
How do you see CoT as "giving hints"?
Isn't the whole point that the hints are being sourced from the model itself? Which is precisely why a more robust model has compounding gains on generating intermediate steps over a less robust model?
And what are your thoughts on the various papers over the past year looking at transmitting capabilities from larger models to smaller models using synthetic data from the larger models?
Rather than considering the 'emergent' (I agree not the best term) gains as a result of more parameters during operation, wouldn't this indicate that markedly better performance in larger models is the result of better network optimizations in those models developed during training, and that these optimizations can be successfully transferred to smaller parameter models by generating more optimized training data vs a broad basis training set?
- godelski 3y ago> How do you see CoT as "giving hints"? CoT prompting has you give examples. The exact sample from the paper is Q: Roger has 5 tennis balls. He buys 2 more cans of tennis balls. Each can has 3 tennis balls. How many tennis balls does he have now? A (not CoT): The answer is 11 A (replace above with this for CoT): Roger started with 5 balls. 2 cans of 3 tennis balls each is 6 tennis balls. 5 + 6 = 11. The answer is 11. Both actually have demonstrations, which are hinting. The second A has stronger hinting because it is prompting the model to follow a certain form. There's a good example from this conversation a few weeks back[0]. I link to the parent and see their chat log vs mine. May also want to look at the context as other comments have relevant information. But you can see in mine that I'm being incredibly careful to not tell GPT anything other than it is wrong, then work towards the parent's method. The hinting is very subtle in these examples but they are enough to spoil the test. But to be clear, it depends on what we're testing. If we're testing if a model can get to a solution, then hint all you want as long as you don't explicitly tell it (CoT is often pretty close to this line though, as in the above example). But if you're testing how robust a model is, how "intelligent" it is by human standards, then CoT is cheating. The context matters. Essentially the more robust a model is the less prompt engineering it requires. In this sense humans are rather robust despite the large amount of disagreements we have. Of course you can also make the argument that humans' robustness is due to hinting and cultural priors which is why there's(?) a larger rate of miscommunication across cultures but that's a whole other can of worms discussion. Obviously the fact that you have to hint doesn't make it a bad tool, but it does tell you that you should be exceptionally cautious of results when you don't hint (maybe you don't know) or are outside its main wheelhouse. Which what this is is rather unknown, especially considering the sequential nature of the design. > And what are your thoughts on the various papers over the past year looking at transmitting capabilities from larger models to smaller models using synthetic data from the larger models? I'll address this and the next part here since they're tied together. Distillation is awesome. But it is also directly tied to these loss landscapes that I'm discussing. Your teacher model is essentially telling you "hey, this way" because it already has explored the landscape. A teacher model doesn't even have to be bigger than the student model, just better. Now with generative models it's important to remember that they are also classifiers (and your classifier is secretly a generative model[1]. The arguments shouldn't be surprising if you have a deep understanding, though might result in you feeling 1) dumb because you didn't realize it a priori or 2) overly confident because "of course" and you forgot your a priori predisposition. The tyranny of good ideas). In the current state of the art typically GANs still reign in regards to actual fidelity (tricking humans) and sampling speed but diffusion's big win is diversity. This is due to diffusion models approximating the density function of the target distribution (what we're trying to learn)[2]. One way to think about this is the density of the distribution as a whole. Imagine a solid red circle but some parts are more red than others and some chunks are just not red at all! The better model should be more uniformly red (our target is all red) and so sampling from this we are going to more evenly sample from areas that are underrepresented. Pretty awesome! Of course we have to be careful and there is a lot of nuance too. You're not going to teach the student model something the teacher hasn't learned, although you might see new behavior since the student can better be primed to learn something the teacher didn't (yeah, this gets messy super fucking fast). There's also the danger of tightening the distribution and locking you out of learning things you want to learn. But this should help explain why even given the same training data we're starting to see bigger improvements, because we often don't actually care about fidelity (especially since transformers fucking love augmentations and noise injection is rather an important augmentation). We really care more about distributions. Of course, if you wanted to be really tricky (but this would likely be very expensive) you could monitor the density of the student model and have the teacher intelligently increase sampling density to these regions. Really the tldr here is thinking about the geometry of our models (we are assuming manifolds so we can leverage this, even if the assumption isn't absolutely correct). I tell students and by lab members that you don't need math to train good models, but you do need math to know why your models are wrong. It's also incredibly important to discuss our limitations because that's like knowing where our low density regions are and where we need to over invest in sampling to create better models. Essentially the nuance is incredibly important and we shouldn't shy away from it. Okay sorry, this got a bit ranty. Being terse is hard. [0] https://news.ycombinator.com/item?id=36307880 https://news.ycombinator.com/item?id=36307880 [1] https://openreview.net/forum?id=Hkxzx0NtDB https://openreview.net/forum?id=Hkxzx0NtDB [2] Note that the real world breaks a lot of our assumptions in ML. Things aren't always distributions, let alone i.i.d. Nor does data always lie on a a manifold and realistically it most certainly does not. Also note that the diffusion model is a reduction or what we'd call an approximate density function. A VAE is a clearer example because we typically do dimensional reduction but this is not necessary. Diffusion is because we don't have bijective maps. For exact density you're going to look at Normalizing Flows or Autoregressive models (don't confuse) or NODEs (I kinda call these all the same thing though NFs though tbh since they're isomorphic transformations). GANs are called implicit density estimators since you don't actually learn the density function but rather just a distribution that has similar sampling features.
- kromem 3y agoCoT doesn't require it to be a few shot prompt though. That was in the original paper, as you point out, but even something as simple as a zero shot prompt followed by "let's think step by step" has significant improvement: https://arxiv.org/abs/2205.11916 https://arxiv.org/abs/2205.11916 Do you still consider a zero-shot-CoT to be hinting? (And I don't mean the [0] example you shared - biasing results by continuing to ask for refinements in incorrect answers but not correct answers is an area where a number of papers have already had issues, but is not part of what I'm discussing - I mean in single prompt/response cycles). I agree that a consistently overlooked component of generators is their role as classifiers, though this currently seems to be overlooked more outside of research circles as all too common has become using GPT-4 to evaluate a study results in place of manual review (a bit disconcerting). I'm not entirely sure how we ended up on diffusion and GANs - I'd meant transmission from transformer to transformer like Orca or the work that followed. Though it was an interesting read nonetheless and I appreciated your writing it.
- godelski 3y agoYeah the "zero shot" (why is everything "zero shot" these days and not matching the original definition?) CoT, I don't consider that hinting. If you're not giving models examples or leading it down the direction of the solution, the you're not hinting. Still lack of robustness but not that bad, especially since you can always append a user's prompt with things like "take a deep breath" or "think step by step" or "ELI5:" (prepend that one)[0]. But obviously I have issues with conclusions being taken from a lot of dataset results (see [0] and my other comment here [1]. Every time I ask or bring up [1] it gets left aside. Even in person. Not sure why...). Benchmarks are great and we need these tools, but I just think people are making too strong of conclusions from them. Plus, as implied earlier, I kinda don't give a shit about results when I have no information about the data you trained on. If I don't know the data, your results are meaningless to me (not necessarily the product, just benchmarks in papers[2]) especially as I see far too much data spoilage these days. Oh, yeah, I pushed into vision domain because I'm actually a vision researcher haha. So something I can talk about a bit better but of course these are all related. [0] I'm not sure I see too much discussion on this, but using internet speak really helps models. Models ate a lot of Reddit data and so likes those patterns like ELI5. But this is also where my critique about spoilage in things like LSAT/GRE/SAT/etc come from, because there are so many practice exam questions on Reddit. Same with a lot of homework problems and even code. The question is if it is robust outside these domains and it does not seem to be. Luckily that's a pretty large domain and also some of the most common things people want to know (I mean obviously since people ask more questions about things they want to know than not lol) [1] https://news.ycombinator.com/item?id=38091869 https://news.ycombinator.com/item?id=38091869 [2] I absolutely do not think we should be allowing papers into conferences when they exclusively use proprietary models and/or pretraining data. You can use those too, but you also gotta show results on publicly available data. Strong preference for making proprietary aspects of a work hidden till post review. I have a lot of respect for Carmen in this OR post because it demonstrates the dishonesty. If you don't know this is a google paper you're not qualified to review it, and if you do know, the review isn't blind. Not a great situation for our community that's suffering from high rates of noise and an increasing disdain for the review process (I for one have no faith left in it. Conference publication means nothing to me) https://openreview.net/forum?id=OpzV3lp3IMC¬eId=HXmrWV3lnh https://openreview.net/forum?id=OpzV3lp3IMC¬eId=HXmrWV3ln...