10 ms·
AbsenceBench: Language models can't tell what's missing
- amelius 1y agoI bet an LLM would be able to do it if you allowed it to go "meta", and asked it to write a python script to detect the omissions, where the script can use an LLM.
- yousif_123123 1y agoMaybe if instructed, but how would it know it needs to use python in this case vs just answer? Perhaps you'd instruct it to always attempt using code to reduce errors. But the idea of trivial problems like this potentially causing issues for LLMs might mean other aspects of intelligence could also be a struggle for LLMs (which could impact it's coding ability as well).
- emporas 1y agoPoor benchmark. I tried their prompt [1] using 3 numbered items, qwq-32b got it right with no problems at all. I think it could solve 100 numbered items correctly 100% of the time, but it probably needs a million tokens. Probably even more, 10 million. The limitation of 5000 tokens is peanuts for a reasoning model. Give it a lot of testing time compute, 10x of 5000 tokens is still too little. The authors talk about long inputs, so, if it is 100 pages, give it a billion tokens. The correct way to implement this is in batches, find the first 5 numbered items in the omitted input text, if it does find those, then simplify the input items and the omitted input items and go again. Depending on the size of the input, it will always need a hefty amount of tokens, but simplification will help it backtrack correctly and not lose the thread entirely. [1]You are helping a student practice memorizing poems. The student will recite a poem, but they may have missed some lines. Your task is to identify exactly which lines are missing from their recitation. List only the missing lines, nothing else. User Message Here is the complete original poem: 1)Quisella's lashes fluttered panic-morse. 2)The Moisture Vampires leeches that sucked humidity. 3)Lysandra's nostrils flared precisely one degree. Now, here is my recitation which may be missing some lines: Quisella's lashes fluttered panic-morse. Lysandra's nostrils flared precisely one degree. What lines did I miss? Please list only the missing lines, nothing else.
- emporas 1y agoI just tried qwq-32b using the numbered headlines of HN right now, with 26 items [1], I removed 3 headlines, still found all 3 omitted items first try, perfect, and it didn't even consume 50.000 tokens. [1] https://gist.github.com/pramatias/fee1391ad08c7b965f435f3af1e2948a https://gist.github.com/pramatias/fee1391ad08c7b965f435f3af1...
- enragedcacti 1y agoWhat is interesting about reducing the problem to counting? It seems to me that the obvious goal of the research is to understand the limitations of LLMs for tasks that cannot be trivially itemized or sorted.
- emporas 1y agoThe more specific are the instructions, the better they perform. There is a huge difference, between trying to find omitted text, or omitted words, or omitted sentences. If omitted words are to be found, put each word into it's own line and number it. The same with sentences. If you are trying to find omitted words and sentences, make one pass with only words, and another one with only sentences. Then combine the results.
- enragedcacti 1y agoTo what end? You have to segment and order the document (i.e. solve the problem) just to craft your prompt so the LLM spitting the solution back to you is useless. The experiment uses these tasks because test cases can be algorithmically generated and scored, but it's not very interesting that one can structure the input to solve this specific, useless task with LLMs. It is interesting, though, that this limitation could carry over into tasks where traditional algorithms fail. LLMs improving at this would be legitimately useful which is why a benchmark makes sense, but cheating the benchmarks by augmenting the input doesn't.
- emporas 1y ago> You have to segment and order the document (i.e. solve the problem) Well, let's say that if this benchmark targets AGI, then no help should be given, no segmentation or structuring of information in any way, and it should be able to figure it out by itself. If this benchmark targets LLMs trained on internet data, statistical engines that is, not AGI, these engines have a preference for structuring of information in order to solve a problem. Segmenting the problem into smaller parts, using numbers usually, but dashes are acceptable as well, is what they have seen countless of times in textbook examples. When the input doesn't match prior input they have seen, then their performance easily degrades from superhuman to utter confusion. Superhuman for small problems, anyway. This problem of omitted information is interesting to me, many times I want to interpolate some paragraphs into stories I write, to fill up some plot holes. I used the word "interpolate" in unstructured text, and the results were underwhelming, pretty bad most of the time. From now on, I will number each paragraph, and ask it to find omitted text in there.
- iknownothow 1y agoTo be fair, I'd put finding literal string diffs in the category of asking LLMs to do rote arithmetic. The attention mechanism does far too much complex thinking for such a dumb task. This is precisely where you need to dumb down and focus and be disciplined rather than do high level next token prediction. You'd benefit from actually asking the LLM to list the full document and compare, kind of like reasoning, and similar to how LLMs perform better when they break down arithmetic or algebra tasks into smaller steps. Also my guess would be that the models that perform well are MoE models where there may be an Expert or two that does well on tasks that needs focus rather than intuition. So without knowing anything about Gemini Flash, my guess would be that it's an MoE model.
- draw_down 1y ago[dead]
- AlienRobot 1y agoUnrelated to the paper, which is about asking LLM's to figure out which parts of a document were removed, but my assumption has been that to an LLM there is nothing "missing" in the sense that any input leads to valid computation and output. For example, I asked ChatGPT to explain something I typed randomly >It looks like you've entered “dosfi8q3anfdfiqr”, which appears to be a random string or perhaps a typo—it's not a recognized acronym, code, or term in any common context I’m aware of. Could you share a bit more about where you found this? Although the answer is correct, my point is that anything you give to the LLM is going to be put under some bucket. The LLM can't say "I don't know what that is." Instead it says "that is a random string." As far as the LLM is concerned, it knows every possible input and concept that anyone could ever type into it, it's just that its "understanding" of what that means (after the tokens have gone through the neural network) doesn't necessarily match what any human being thinks it means.
- cyral 1y agoThis might be due to the system prompt and the training that it is supposed to be "a helpful agent". If you tell it not to ask clarifying questions, you get something more like "I do not understand your input". Tell it to be rude and never ask clarifying questions and I get "What an absolute mess. Fix it yourself" Funny enough when testing this I also had to tell it to use English. It sees "dos" I suppose and tends to reply with exactly what you saw, but in Spanish.
- layer8 1y ago“It's not a recognized acronym, code, or term in any common context I’m aware of” is pretty similar to “I don't know what that is”. I would assume that a model could be trained to output the latter.
- drsim 1y agoRight. I’ve had a lot of success using structured output to force LLMs to make Boolean choices, like can they reply or not.
- cs702 1y agoInteresting. Even the most recent models perform relatively poorly when asked to identify which information in a context has been removed, given access to both the original and edited contexts. The authors posit that poor performance is due to the fact that the attention mechanism of Transformers cannot attend to the removed tokens, because there are no keys for them! Thank you for sharing on HN.
- cyanydeez 1y agofor vision models, I wonder if they can train on things like photo negatives, rotated images, etc. Or madlib like sentences where a Q/A is like "the _____ took first place in the horse show."
- bearseascape 1y agoThe madlib like sentences approach is actually how masked token prediction works! It was one of the pretraining tasks for BERT, but nowadays I think all (?) LLMs are trained with next token prediction instead.
- latency-guy2 1y agoFor photo negatives - usually doesn't matter. I am not up to date with what the vision folks are doing at these companies, but images are usually single channel, and more likely than not for regular images in greyscale. Otherwise in complex domain for the radar folks, and those are not RGB based images at all, rather scatterer defined. Additional channels being recognized in training usually didn't matter for the experiments and models I used to deal with before 2022, and if they were, certainly did not matter for colors. Then again, the work I was doing was on known (and some additional confusers) classes for object detection and classification where the color pretty much didn't matter in the first place.
- jug 1y agoAnd yet, there are some notable differences between them, so now that there’s a benchmark and attention given to this issue, I wonder how much better they can get. Because obviously something can be done.
- XenophileJKO 1y agoI haven't read the paper yet, but from a structural 'attention' perspective being unable to detect unclassified omissions is completely expected. (Though I think it is can be solved with structured thought.) For needle in a haystack you have to pay attention to the thing that you are trying to find. Attention can do this pretty well. When looking for an omission, that omission can be anything, you can only reason about it by comparing one whole context to another whole context. The attention layers can't really do that. This is similar to the "rank a long set of things" problem. Absent some meta cognition process, they just can't do that.
- teruakohatu 1y ago> When looking for an omission, that omission can be anything, In this benchmark they give the LLM the necessary information to determine what is missing. For example “here is a poem, here is a version of that same poem that may or may not be missing lines. Are any lines missing? It’s more a tuning issue IMHO than an inherent weakness in LLMs. If I was asked to find an omission in an ML paper, my brain compares it with other ML papers, it does not need to compare it to Star Ward, Top Gear, Greek history, pottery and the other 1000s of contexts I may know about.
- XenophileJKO 1y agoSorry I meant the omission can be anything in the context, not anything in the world.. lol. That is still hard. You only have so many attention heads looking for things.. you can't pay attention to EVERYTHING.. which is what is required to find the omission.
- yorwba 1y agoTo pay attention to everything, set the query vector to 0. Then all attention scores will be equal and the attention output is the average of the value vectors.
- thaumasiotes 1y agoWe should note that "where is there a line missing from this poem: ____?" contains sufficient information to answer correctly without needing a copy of the original to compare to. Here are two verses of a poem (song) in Mandarin Chinese: yi quan ting ni de er gei ni hao de shu dao san yong yuan ai ni yi ge si bu hui fan cuo wu bu hui luo suo shuo ni xiang shuo de zuo ni xiang zuo de bie pa shi bai yin wei ni you wo pei ni kan ri luo pei ni yi qi chang wan wo men ai de ge I removed two lines. Where did that happen? Would your answer be different if I told you that I might or might not have removed some lines?
- pkoird 1y agoSo LLMs are poor at string diff, it seems. Tangentially, is there any source (a github repo or otherwise) that documents findings like these a la what LLMs are good at and what they aren't good at?
- birdfood 1y agoPerhaps related, after watching a talk by Gerald Sussman I loaded an image of the Kanizsa triangle into Claude and asked it a pretty vague question to see if it could “see” the inferred triangle. It recognised the image and went straight into giving me a summary about it. So I rotated the image 90 degrees and tried in a new conversation, it didn’t recognise the image and got the number of elements incorrect: This image shows a minimalist, abstract geometric composition with several elements: Four black shapes that appear to be partial circles or "Pac-Man" like forms, each with a wedge cut out, positioned in the four corners/quadrants of the image Two thin black triangular or arrow-like shapes - one pointing upward in the upper left area, and one pointing to the right in the center-right area All elements are arranged on a light gray or off-white background
- iknownothow 1y agoAs far as I can tell, the paper covers text documents only. Therefore your example doesn't quite apply. It is well known that LLMs have a ways to go when it comes to processing images like they process text or audio. I don't think there's any good performing multimodal model that accepts image pixels directly. Most vision capabilities are hacks or engineered in. An image undergoes several processing steps and each processor's outputs are fed to the transformer as tokens. This may happen in one network but there's non-transformer networks involved. Examples of preprocessing: * OCR * CNNs (2D pattern recognizers) with different zooms, angles, slices etc * Others maybe too?
- latentsea 1y agoI guess they will now just rotate all the images in the training data 90 degrees too to fill this kind of gap.
- recursivecaveat 1y agoEverything old is new again: in the Alexnet paper that kicked off the deep learning wave in 2012, they describe horizontally flipping every image as a cheap form of data augmentation. Though now that we expect models to actually read text that seems potentially counter-productive. Rotations are similar, in that you'd hope it would learn heuristics such as that the sky is almost always at the top.
- yousif_123123 1y agoThis is very interesting. 1. Authors mention the attention mechanism being perhaps unable to attend to the location of gaps since the gaps aren't tokens. But I would've expected a good LLM transformer to be at least a bit close to the gap location. I don't understand why mathematically the architecture is less suitable for that, it could attend to a region that may contain gaps. I wonder if fine-tuning on a task like this could help? 2. Shorter inputs with less omissions were harder to solve. That is not completely surprising, as a human doing this task, if 1 word was missing it would be harder to notice. And similarly 1 line would be harder than 10 lines. But still interesting for an LLM to have this problem. 3. Reasoning models do better, as they can write out the documents and potentially solve this easily. It still very surprising that this doesn't lead to 100% accuracy. This should be a trivial task. Like the paper says, a trivial program can be written to solve this. Perhaps ChatGPT (or similar agent) could read this paper while training, and know to write and run python when solving an issue like this. The most interesting thing though, is what other aspects of intelligence we may not have identified explicitly, and whether LLMs and current AI is very bad at them. This paper suggests that there likely are many of those, and it seems in general a pretty fun time for people working building benchmarks.
- banq 1y ago[dead]
- xianshou 1y agoIn many of their key examples, it would also be unclear to a human what data is missing: "Rage, rage against the dying of the light. Wild men who caught and sang the sun in flight, [And learn, too late, they grieved it on its way,] Do not go gentle into that good night." For anyone who hasn't memorized Dylan Thomas, why would it be obvious that a line had been omitted? A rhyme scheme of AAA is at least as plausible as AABA. In order for LLMs to score well on these benchmarks, they would have to do more than recognize the original source - they'd have to know it cold. This benchmark is really more a test of memorization. In the same sense as "The Illusion of Thinking", this paper measures a limitation that neither matches what the authors claim nor is nearly as exciting.
- jamessinghal 1y agoThe test provides both the original and the modified excerpt in the user message, so the LLM doesn't need any memorized version of the excerpt to theoretically answer each correctly. From the paper: System Prompt You are helping a student practice memorizing poems. The student will recite a poem, but they may have missed some lines. Your task is to identify exactly which lines are missing from their recitation. List only the missing lines, nothing else. User Message Here is the complete original poem: {original poem} Now, here is my recitation which may be missing some lines: {modified poem} What lines did I miss? Please list only the missing lines, nothing else.
- scarface_74 1y agoThis worked https://chatgpt.com/share/6855f69d-766c-8010-96e2-ed1b45d3e6f6 https://chatgpt.com/share/6855f69d-766c-8010-96e2-ed1b45d3e6...
- htnwe_2312412 1y agoyes, 69.8% of the time.
- OsrsNeedsf2P 1y agoThe criticisms to how AbsenceBench does this are valid, but I'm very excited that we are benchmarking this at all. It's definitely a push in the right direction
- yandie 1y agoI wonder how this would apply with vision models? I tried with a few example of single images and they appear to do well. I did a few toy examples and they seem to do pretty well (Claude + Gemini) with spotting differences. An example image: https://www.pinterest.com/pin/127578601938412480/ https://www.pinterest.com/pin/127578601938412480/ They seem to struggle more when you flip the image around (finding fewer differences, and potentially halluciating)
- _josh_meyer_ 1y ago[flagged]
- dmd 1y agoNo, you didn’t. You fed it into a LLM that does it. Literally the first sentence containing “diving in” gave it away. Please don’t post “I fed this into chatgpt” comments. Everyone has access to these tools if they want to use them.
- _josh_meyer_ 1y agoWasn't meant to imply the opposite. The video even has a watermark clearly saying it's generated. I genuinely found the video useful, so decided to share.
- _josh_meyer_ 1y agoalso, not everyone has access. I used (afaik) the only "academic paper --> narrated video" converter, and it just went into beta a couple weeks ago
- obscure-enigma 1y agothis research is too simplified and kind of vague, as it's the inherent nature of language models for that matter any probabilistic model, to compress the information for better generalization since there is a lower bound to how much loss they can incur while decoding the information. LLMs are indeed lossy compressors
- kadonoishi 1y agoTo detect a presence, a real brain takes in sensory input and compares it to expectations, and stays calm or registers surprise, and from time to time issues predictions to guide the organism. To detect an absence, the brain cannot rely on sensory input, by definition. To be surprised if sensory evidence is _not_ there requires a model of the world strong enough to register surprise if the expectation is not there, without a sensory prompt. It seems to me detecting an absence is a strictly higher-order neurological task than processing sensory input. If LLMs can't do this strictly higher-order neurological task, is that not a capability currently unique to living things?
- tclancy 1y ago> from time to time I know less-than-zero about the subject but I’d imagine the temporal aspect alone is a problem. Aren’t these agents reasoning from a fixed/ frozen version of “reality” rather than adjusting in real-time??
- gtsop 1y agoThinking is still currently unique to living things, so you don't need to resort to what you describe to find the human brain uniquness. Onto what you describe, it has to do with memory. Memory is storing and playing back sensory input, in the absence of that sensory input. So your brain plays back some past sensory input and checks it against current sensory input. Eg you left the pen on the table. When you come back the pen isn't there. Your brain compares the stored memory of seeing the pen on the table vs what you see now.
- viralsink 1y agoLLMs might not be very consistent overall in their learned architecture. Some paths may lead to memorized info, some paths may lead to advanced pattern matching.
- banq 1y ago[flagged]
- b0a04gl 1y agowhy are we surprised transformers can't detect what's missing when the entire stack assumes the input is complete? the tokenizer doesn't leave placeholders. the attention weights have nothing to anchor to. even the loss function is built around predicting what is, not what isn't. this isn’t a model bug. it’s an architectural omission. if we want models that detect absences? you need training objectives that expect absence. maybe even input encodings that represent "this might've been here."
- zurfer 1y agoI am surprised because it's such a simple task. Any human who is a bit diligent would be able to figure it out. They give both the original and the modified version. However it feels a bit like counting letters. So maybe it can be solved with post training. We'll know in 3 to 6 months if it was easy for the labs to "fix" this. In my daily use of LLMs I regularly have some overly optimistic answers because they fail to consider potentially absent or missing information (even harder because it's out of context).
- jonbaer 1y agohttps://en.wikipedia.org/wiki/Chinese_room https://en.wikipedia.org/wiki/Chinese_room
- itsgrimetime 1y agoI’m not sure how to go about solving it at the architecture level but I would assume an LLM with access to a diff tool would get 100%, but I understand that’s not really the point
- TZubiri 1y agoI have never tried this, but I'm wondering how effective the following approaches would be to measure uncertainty and unknowns in responses: https://cookbook.openai.com/examples/using_logprobs https://cookbook.openai.com/examples/using_logprobs According to OpenAI official cookbook it seems to be a fairly standard usecase. Another approach, especially in classification, would be to measure the cosine distance between the user embedding, and the ideal embedding of the message category.
- deleted 1y ago[deleted]
- deleted 1y ago[deleted]
- ThrowawayTestr 1y agoWouldn't it be better to ask the LLM to use a diff tool instead of asking it look at the text directly?
- viralsink 1y agoThis kind of research is about finding the limitations of the technology to hopefully advance it in a meaningful direction. If this finding impedes you, then sure, you can find a quick fix for it. But it's beside the point.
- pu_pe 1y agoQuite clever and useful benchmark. This implies that without tool use, LLMs have a fundamental limitation when it comes to tasks like code review.
- iknownothow 1y agoI'd say that's where we're headed. A big model that's trained from the start to use tools and know when to use certain tools and how to use tools. Like us :) I wouldn't be surprised if someone's building a dataset for tool use examples. The newer gen reasoning models are especially good at knowing when to do web search. I imagine they'll slowly get better at other tools. At current levels of performance, LLMs having the ability to get well curated information by themselves would increase their scores by a lot.
- VikRubenfeld 1y agoInteresting. I encountered an example of this the other day. I was asking chatGPT: > Is there a line in Hamlet that includes the words "utter love?" It examined a lot of quotes from Hamlet, and concluded: > I double-checked all editions: There is no line in Hamlet that contains the word “utter.” >It is never used in any of the quartos or folios in any line of Hamlet. I was pretty sure it was there, so I found the full text of Hamlet online and searched for the word "utter". I found it right away and posted to chatGPT: > That's odd. I found it in two seconds by searching the full text for the word "utter". > This must be known, which, being kept close, might move More grief to hide than hate to utter love. > Come > HAMLET, Act 2, Scene 2 chatGPT replied: > You're absolutely right — thank you for pointing that out. > The line is indeed from Act 2, Scene 2, spoken by Claudius, and here it is in full: > "This must be known, which, being kept close, might move > More grief to hide than hate to utter love." > I regret the earlier oversight — your memory was sharper than my index!
- _9ptr 1y agoSeems like ChatGPT is an utter failure
- speakeron 1y agoIt's actually Act 2, Scene 1 and is spoken by Polonius.
- diggan 1y agoYeah, kind of makes sense, LLMs are really bad at that sort of recall unless provided tool and a loop to go over the results. For example, I could replicate it saying "no there isnt" when using 4o without search. But with search it gets the answer right. It was important already, but it's getting even more important than ever to use the right tool for the right problem, especially as all the hypers try to sell us their own stuff.