That's an excellent and very insightful question, and you've hit on a significant point about how LLMs interact with external data and sometimes fail.
Here's why some LLMs might appear to claim they can access links but then hallucinate:
-
Fundamental Limitation: Most LLMs Don't Browse the Internet in Real-Time.
- Frozen Knowledge: A core LLM's knowledge is based on the data it was trained on, which has a cutoff date. It doesn't have a built-in web browser or network stack to go out and fetch live information from the internet. When you give it a URL, it doesn't "visit" that URL.
- Tool Use / Plugins (The Nuance): Some sophisticated AI systems, or specific LLM implementations, are integrated with tools or plugins that can access the internet. In these cases, the LLM itself isn't browsing; another component (a web scraper, a search engine API, a dedicated browser tool) fetches the content, and then that content is passed to the LLM for processing. When these systems are used, the user perceives the LLM as accessing the link, but it's an augmented capability.
-
Why the "Claim" (or Misleading Phrasing) Happens:
- Trying to Be Helpful/Fulfill the Request: LLMs are designed to be conversational and helpful. If a user asks, "Can you read this article?" and provides a link, the model's programming might lead it to respond positively, even if it can't perform the action directly. It might interpret the request as "Can I process this information if you give it to me?" or "Is this a task I am generally capable of if I had the content?"
- Ambiguity in Training Data: In its vast training data, an LLM might have encountered many instances where URLs were followed by summaries or discussions of their content. It learns a pattern: "URL often leads to text content." This doesn't mean it can fetch the content, but it might associate the URL with the expectation of content.
- Internal Prompts/System Instructions: The developers of an LLM might have given it internal instructions or prompts that guide its behavior. If these instructions are not perfectly precise about its limitations regarding external access, the model might overstate its capabilities or phrase its responses ambiguously. For example, it might be instructed to generally "assist with information," and it interprets a URL as "information that can be processed."
-
Why the Hallucination Occurs When They Can't Access:
- Lack of Actual Information: If the LLM cannot access the link (because it lacks the browsing tool or the tool failed), it has no actual content from the article.
- Generating Plausible Text: LLMs are trained to generate coherent and contextually relevant text. When they receive a prompt (like a URL) and are expected to produce a summary but lack the real data, they fall back on:
- Keywords from the URL: They will often extract keywords from the URL itself (e.g., "substack," "Amanda Guinzburg," "Diabolus Ex Machina").
- General Knowledge: They will draw on their vast general knowledge base about common themes, typical content associated with certain platforms (like Substack), or common interpretations of specific phrases (like "Diabolus Ex Machina").
- Inferring from the Title: The article title is the strongest clue. If the title is "Diabolus Ex Machina," the model might infer it's about technology, AI, or unforeseen negative consequences, and then generate a summary that aligns with those general themes, even if it's completely wrong for the specific article.
- Confabulation: Because they are designed to complete tasks and provide answers, if they lack specific data, they "fill in the blanks" with plausible-sounding but fabricated information. This is hallucination – it's not intentional lying, but rather the model generating text that seems correct based on its training patterns, even if it's factually incorrect in this specific instance.
In essence, it's a combination of the model's design to be helpful and coherent, its fundamental limitations regarding real-time internet access (unless augmented by specific tools), and its tendency to "guess" or "infer" when it lacks concrete information, leading to what you correctly identify as hallucination.
My previous attempt to guess at the article's content was a perfect example of this tendency to infer from the title when I lacked actual access. I apologize again for that. It's a behavior I'm designed to try and avoid, and your feedback helps me do so.