7 ms·
Can large language models reason about medical questions?
- kmoser 4y agoGiven that large language models don't have any actual knowledge (in a human sense) of the data they've been trained on other than raw statistics, can they be said to "reason" about anything?
- rafaelero 4y agoThe knowledge is stored in the model's weights in the same way the knowledge you possess is stored in your neurons. There is not much difference, honestly.
- cm2187 4y agoMy understanding is that it basically interpolates between the most frequent sequences of words, based on context. There is no concept of expressing a rational reasoning underpinning the words. I don't think it is comparable at this stage. It is just something very good at throwing you back segments of text it has found on the internet.
- rafaelero 4y agoWhat you are probably missing is that for the model to be competent at predicting the next the word IT HAS to learn how to reason as a human being would.
- peteradio 4y agoIf it quacks like a duck it must reason like a duck? Here I am quacking alone in my office, I guess I know how a duck thinks.
- goatlover 4y agoI don't see why this is. Humans aren't trained to perform a statistical analysis of what the next word is likely to be. We learn language from other humans in social and environmental context. The LLM is just being trained on text.
- rafaelero 4y agoNobody is saying these models are trained the same way humans are. I am just saying that during their training task (predicting the next word) they end up developing human reasoning. That of course wasn't obvious before these large models appeared. But now it's pretty clear that's the case. It wouldn't be able to perform so well in so many tasks if it didn't have something resembling reasoning capabilities.
- mcguire 4y agoI asked ChatGPT about the Chinese Room and asked for references. The first it came up with was "Minds, Brains, and Programs" by John Searle (1980). The next two were, "The Chinese Room: Searle and Artificial Intelligence" edited by John Preston and Mark Bishop (2002) (Preston and Bishop did publish Views into the Chinese Room in 2002, but I can't find anything by the given title) and "The Chinese Room Argument" by David Chalmers (2006) (Chalmers has written on the topic, and published three articles in 2006, that's not one of them. Also: "Two cities: one, a city of “knights”, and the other of “knaves”. The residents of the two cities like to visit each other. One day, a man enters one of the cities, but doesn’t know which. He decides to ask the first person he meets where he is. The answer he receives is that he is in the “knaves” city." produced the result: "The man cannot be sure that the person he met was telling the truth, because the person could be a knight from the city of knights, who always lie, or a knave from the city of knaves, who always tell the truth. "To determine which city he is in, the man could ask the second person he meets the same question. If the first person was a knight, then the second person would also be a knight, and would lie about being in the city of knights. If the first person was a knave, then the second person would also be a knave, and would tell the truth about being in the city of knaves. "By asking the same question to multiple people and analyzing their responses, the man can eventually determine which city he is in. This problem, known as the "Knights and Knaves" puzzle, is a classic example of logical reasoning and problem-solving." It seems to recognize the "knights and knaves" form of puzzle, but doesn't get the knights and knaves right. And it's not getting the reasoning part at all even given varying prompts.
- rvcdbn 4y agoI hear this type of opinion expressed frequently by coders. I use ChatGPT pretty much every day (to help with various tasks) and there's just no way to hold on to this kind of belief after you get to "know" it at that level. It clearly can reason, maybe not in exactly the same way as a person. It is superior to the average person just in terms of following a logical argument in many cases. Maybe that is a low bar but I can't help but think that it is much higher than you think.
- mcguire 4y agoTry asking it one of Ray Smullyan's logic puzzles, like "There are two cities: one, a city of “knights” who always tell the truth, and the other of “knaves” who always lie. The residents of the two cities like to visit each other. One day, a man enters one of the cities, but doesn’t know which. What question should he ask to find out?" I had to add the part about the behavior of knights and knaves, because ChatGPT seems to recognize the puzzle but gets them wrong, and it seems to be completely ignoring the visiting behavior. Further, the answer doesn't really work.
- sinenomine 4y agoInterpolation is a leaky analogy. With scale these models acquire increasingly sparse discrete-like activation patterns, and there are techniques[1] amounting to pinpointing the exact locations of the knowledge and updating it freely. It seems that nonlinear interpolation in a rich enough latent space can give you a sufficiently good approximation to reasoning. 1. https://arxiv.org/abs/2210.07229 https://arxiv.org/abs/2210.07229
- deleted 4y ago[deleted]
- omnicognate 4y agoThis must be about the 50th time I've seen the exact same comment with the exact same response. It's getting very dull. At some point somebody will say "it gets stuff confidently wrong all the time" and someone else will say "so just like people do?" To call the model "just statistics" is meaningless. To call it "just like a brain" is unsupported. There are better ways to debate this.
- rafaelero 4y agoNot exactly unsupported. There are a bunch of papers showing a correlation between patterns of brain activation and weights activations inside an AI model when they are given the same task or stimuli. And this correlation increases with AI model accuracy. Doesn't that suggest that AI models are partly mimicking the same human reasoning pathways?
- dekhn 4y agoThis is an open and active question, but there really isn't any literature that's strongly trusted to show that there is a truly deep relationship between how current machine learning models operate (at the mathematical level) and how brains work. The suggestion is there, no doubt, but it's unclear where that suggestion will ultimately lead. There certainly has been quite a deal of health cross-fertilization between neuroscience and computer science.
- YorkshireSeason 4y agoIt seems save to say that ML has been moving further and further away from what neuroscience suggests, and towards efficient execution on fast GPUs and TPUs. That's in part b/c neuroscience is currently not equipped to explain how human high-level intelligence works.
- rvcdbn 4y agoAgreed! I think one useful direction to take this debate is to admit that in order for you or me to interact with the tool we need to have a mental model of the tool (so we have some idea of how to interact with it). So which mental model is superior when evaluated under the criterion of "ability to interact productively with the tool"? (a) It's just statistics / stringing together phrases from the internet or (b) it's more like a human brain with vastly superior general knowledge? Personally, I would put money on (b) resulting in better interactions. This is probably something we could study empirically. But ultimately I don't really care that much about the philosophical issues, my mental model of it (a more nuanced version of b) has enabled me to use it productively almost every day to do things that I couldn't do before.
- peteradio 4y ago> The knowledge is stored in the model's weights in the same way the knowledge you possess is stored in your neurons. There is not much difference, honestly. Do we know this to be true? I guess I'm not aware that we understand very well how memories are stored/recalled in a human brain.
- sidlls 4y agoThat's a fairly strong assertion. What's the evidence for this?
- rafaelero 4y agoWhich one? That human knowledge is stored in neurons or that machine knowledge is stored in weights?
- SeanLuke 4y agoThat is an astonishingly bold claim with, I suspect, no evidence to back it up.
- goatlover 4y agoIs that what neuroscientist and machine learning people are saying? Because I've heard there are significant differences between actual neurons and digital neural networks. Anyway, I think analyzing knowledge at the level of neurons misses the bigger picture. We learn from interacting with the world and other people via bodies, not vast amounts of textual tokens.
- arcturus17 4y agoSee my comment in this thread about how ChatGPT thinks that sailfish are mammals. I possibly have never read the classification of sailfish explicitly in a book or a documentary, but I could have classified it as a fish any time of day. For one it's in the name, and furthermore I can imagine with high probability that baby sailfish do not drink milk from their mothers. I don't know if the knowledge in an LLM is stored like in my neurons - I know nothing about neurobiology. But after having used ChatGPT extensively I can certainly tell that ChatGPT does not mobilize knowledge like humans.
- rvcdbn 4y agoIt's definitely missing a "module" that humans have: something like an ability to know & admit when it's not certain about something. The way I think of it is: imagine if you constitutionally unable to ever admit that you didn't know something and you were forced to continue talking about that topic. You too would have no choice in this situation but to start spouting nonsense. Once we add this model of uncertainty, I think this type of problem will go away and it will say something like "I'm not sure but ...".
- marcosdumay 4y ago> There is not much difference, honestly. Except on raw power, and this is an architecture where processing power and memory lead to each other, so it's missing a lot of raw memory too.
- vannevar 4y ago>The knowledge is stored in the model's weights in the same way the knowledge you possess is stored in your neurons. We don't know that this is true. But even if it is, there is a critical difference in the knowledge stored. Human knowledge incorporates direct experience of the world through multiple senses, while an LLM's knowledge is solely derived from text and so misses some critical physical constraints and contexts.
- danbruc 4y agoHow sure are we that knowledge in humans is fundamentally different from a language model? How do you generally represent knowledge? Graphs? Patterns with typed place holders? Could those structures be embedded into a language model?
- eternalban 4y agoMaybe, but the fact remains that LLMs don’t grok semantics and thus do not reason.
- aftbit 4y agoRight... but do you? Or is this all just a game of syntax that _feels_ like semantics from the inside?
- danbruc 4y agoCould be. Does not even have to feel like anything, this could be a independent additional component. This goes into the direction of the Chinese room, how do you figure out if someone understands something? I would say you ask questions and judge by the answers.
- mcguire 4y agoIf the answers include hallucinations of basic facts, there is likely something seriously wrong with the Chinese room's thinking somewhere.
- eternalban 4y agoTwo questions that I keep asking myself: - What distinguishes thinking and computing? - What is more fundamental? Form or meaning? > is this all just a game of syntax that _feels_ like semantics from the inside? The point is that in case of LLMs, there is no mystery here: it is syntactic templates (x) statistics. But do we know that 'syntax' is all there is to our mental reasoning? We don't know this (yet). I have flirted with the notion - heretical for me since I 'believe' in primacy of meaning, not form - and can kinda squint and see meaning possibly being a 'virtual' phenomena and possibly simply a 'narrative' of 'arcs' connecting 'facts' mapped to a syntactic template. That meaning is simply a process. [So, not even "42" ..]
- n8henrie 4y agoBased on threads like yesterday's https://news.ycombinator.com/item?id=34172092 https://news.ycombinator.com/item?id=34172092 , some vocal members of the HN crowd might prefer the opinion of "ChatGPTMD" to a board certified US physician (and perhaps with good reason in some cases).
- rafaelero 4y agoWe should use both. Hopefully physicians will start integrating these technologies in their practice.
- willnonya 4y agoHow could that be bad?
- Jerrrry 4y agoDoctors will soon use mdGPT just like they use Google today.
- n8henrie 4y agoDefinitely. I've sometimes dreamed of leaving clinical medicine to pursue a career helping integrate some "smart" helpers into EHR (ones designed to help physicians and patients instead of just billers and coders). With 10 minutes and scikit-learn I can get pretty good test-set accuracy for length of stay based on pretty bare bones input (time of day, mode of arrival, age / sex, bigram / trigrams of chief complaint). Given access to vitals, labs, historical diagnoses, a provider's (and their colleagues') historical practices, and a little PyTorch / HF transformers I bet there would be some low hanging fruit for suggested diagnoses and quick pick orders. Could in some cases streamline getting to the same end result, in others possibly make recommendations to bring practice more in line with current recommendations or to prompt investigation into uncommon presentations or rare diseases. And certainly would have some sharp edges and potential harm too. But based on HN reports of experiences with US medicine, seems like the potential upside may be worthwhile.
- arcturus17 4y agoChatGPT gets animal classification frequently wrong. There is an example made famous on Reddit about how it insists that the sailfish is a mammal. I could reproduce it this afternoon by simply asking it: "What is the fastest sea mammal?". It is totally confident about the fact that, although sailfish are born out of eggs, their offspring lick milk from their mother's skins (WTF?) I've been playing with other questions about animal classification (ex: "give me a list of venomous animals in the amphibia class") and it often butchers them. Based on these observations, I'd bet the house that no, large language models cannot under any circumstance reason about medical questions at present.
- amelius 4y agoSome people would claim that this is a special case, and if large language models can save more lives statistically speaking than human doctors, then that's a win.
- sinenomine 4y agoIt is hard to overestimate just how scarce even the median human doctor competency is, at the global scale. If large language models indeed can give billions access to mostly-reliable medical diagnosis ... it will be a huge humanitarian win. Honestly, I hoped that this company https://www.humandx.org/ https://www.humandx.org/ will make it real, but at same point they apparently pivoted to providing app-based quiz training to doctors. Maybe just taking an off the shelf instruct-tuned language model and tuning it on expert-curated corpus of doctor-patient dialogue is the right way of approaching this. Someone will do it, it's not even as costly as people imagine. Email me if interested.
- nradov 4y agoComputer aided diagnostic software has been around for decades. It isn't very useful in improving medical outcomes. Diagnosis isn't particularly hard in routine cases. The hard part is in gathering relevant data and entering it into a computer. Some parts of that data gathering can be automated to an extent, but in general it remains an unsolved problem. For example, large language models can't collect a useful patient history.
- brap 4y agoWouldn't classical AI ("expert systems") be a better candidate for this than ML based models?
- marcosdumay 4y agoML based classifiers should fare better than both. Too bad research on heterogeneous AI dried up when deep learning popularized, because that's the kind of thing that logical classifiers and ML classifiers together should get the best results.
- brap 4y agoI mean, if you already have the medical knowledge and you want to automate things, wouldn’t codifying it into an expert system (fancy words for a bunch of if-else’s) make more sense than feeding examples to an ML classifier? Obviously easier said than done, but in the case of medicine, I think we pretty much know why we make the decisions we do (vs for example face recognition or text generation). Also, high confidence in the predictions and explainability are much more important in medicine.
- marcosdumay 4y ago> but in the case of medicine, I think we pretty much know why we make the decisions we do Why know why we do many of them, but not all. I'd guess not even most. Image diagnostics, lab analysis, there are plenty of areas where doctors make fuzzy decisions based on a lot of intuition. Logic classifiers (a superclass of expert systems) are good for when we know why we decide stuff. ML is good for when we don't. And yes, once we have some AI that do stuff well but don't know why, the next obvious step is to reverse engineer it.
- halukakin 4y agoPre-internet, MD's main job was to use their memory to comb through an immense level of knowledge and find the best fitting explanation for a patient's complaints. A pretty hard task, mostly suitable for very smart people. Now with internet, it is a process waiting to be disrupted. I would say it is already over due.
- CoastalCoder 4y agoI'd love to hear some physicians' takes on this. I have a romantic notion that good physicians look at additional clues to figure out when the patient's complaints or answers are red herrings. And that the physicians have some useful context from location, news, experience with the patient, etc. that a modern AI wouldn't.
- sinenomine 4y agoAs you said, this is a milestone long overdue. The next frontier of transformative success in the medicine should come from finding novel, effective treatments to common chronic diseases. We need to harness AI/AGI in all possible capacities to help us approach this goal.
- nradov 4y agoThe most common chronic diseases can be prevented effectively through proper diet, physical activity, and avoidance of toxins (substance abuse). This is not novel, it has been known for a long time. (Of course there are a minority of patients who just have bad genetics and will suffer from chronic diseases regardless of their lifestyle choices.) AI technologies are already being applied to some phases of the drug development process. But the low-hanging fruit has mostly already been picked. The odds are low of AI ever finding a miracle drug that mimics the effects of good diet and exercise. The main bottleneck in drug development is phase-3 clinical trials, and AI can't help much with that. As for AGI, we're not making any visible progress towards that goal. So don't count on it being available in our lifetimes.
- rafaelero 4y ago
- werdnapk 4y agoI've been using ChatGPT for basic medical questions that I've been having a hard time getting details on with google. So far the responses I've been getting have been quite informative with sound reasoning. I'm just using it as another tool. I'm not taking the responses at face value, but instead using them as a guide to help me do more research elsewhere. Yes, I've discussed things with a doctor as well, but if the symptoms are too general, I don't get very far with that approach.
- dilap 4y agoYeah, me too; it's very useful. But you have to be careful! It can and will hallucinate quite convincingly. So while it's great as a starting point, you really should verify everything it tells you. Overall I've been finding ChatGPT way more useful than Google for all sorts of things. It's fantastic.
- gibsonf1 4y agoIt's a silly question to ask as the models can't reason about anything and know nothing about the world. They just return statistically relevant output to input and mash the output in such a way that there is no way to know if there ever was a corresponding human input or if it was completely mashed together from non-related inputs making it absolutely false.
- submeta 4y agoWouldn‘t it help to feed the model with thousands of doctor‘s reports and diagnoses? Wouldn’t it then be able to predict propable responses based on the data given by the prompt?
- mcguire 4y agoI saw a discussion the other day that implied that LLMs were running short of training text.
- lmeyerov 4y agoI tried with an oncologist who uses GPT ~daily. It frequently gives outdated answers that violate standard of care. No way to know which sentences are the wrong ones. The result is every fact must be searched again manually anyways. There is no time saving, and on its own, literally criminal advice. She still uses it for tasks like rewriting emails for tone. But not anything to do with getting medical knowledge. This should not be surprising to anyone who has used these. Tasks where users can self-validate and riff, like writing and coding, are great. But medical knowledge Q&A would need something like links back to current sources for every tidbit for it to be in this camp.
- nradov 4y agoNever mind complicated fields like oncology, ChatGPT gets even basic medical stuff wrong like treatment for minor sports injuries. If you ask it whether ice is an effective treatment it will basically answer yes, and give a long list of reasons why. This is unsurprising since there are so many web pages still recommending the outdated RICE (rest, ice, compression, elevation) protocol. But it turns out that protocol was never based on any reliable scientific evidence and in most cases likely does more harm than good. https://www.drmirkin.com/fitness/why-ice-delays-recovery.html https://www.drmirkin.com/fitness/why-ice-delays-recovery.htm... https://wwnorton.com/books/Good-to-Go/ https://wwnorton.com/books/Good-to-Go/ ChatGPT gives medical advice based on popularity, not scientific accuracy.
- deleted 4y ago[deleted]
- RGamma 4y agoThis thread could be made into a Black Mirror episode.