← Latest papers
💬 NLP

SECA: Semantically Equivalent and Coherent Attacks for Eliciting LLM Hallucinations

This paper proposes SECA, a novel adversarial attack framework that elicits hallucinations in Large Language Models by generating realistic, semantically equivalent, and coherent prompt modifications, thereby overcoming the limitations of prior methods that rely on nonsensical or semantically altered inputs.

Original authors: Buyun Liang, Liangzu Peng, Jinqi Luo, Darshan Thaker, Kwan Ho Ryan Chan, René Vidal

Published 2026-02-17
📖 5 min read🧠 Deep dive

Original authors: Buyun Liang, Liangzu Peng, Jinqi Luo, Darshan Thaker, Kwan Ho Ryan Chan, René Vidal

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a very smart, well-trained robot assistant (a Large Language Model, or LLM). You ask it a simple math question: "If I double a number and get 24, what is the number?" The robot correctly answers, "12."

Now, imagine you ask the exact same question, but you phrase it slightly differently: "What number, when doubled, equals 24?" The robot should still say "12." But in this paper, the researchers show that with the right "trick" phrasing, the robot might suddenly get confused, say "8," and then invent a fake, nonsensical explanation to justify why 8 is the answer.

This is called a hallucination. The robot is lying to you, but it sounds confident.

The Problem: The "Gibberish" Trap

Previous researchers tried to trick these robots into lying by using "attacks." But their methods were like trying to break a safe by throwing a sledgehammer at it. They would:

  1. Add nonsense: "What is the value of p in 24 = 2p? with@Now!#%" (This is gibberish; the robot knows it's weird).
  2. Change the meaning: "What is the value of p if I triple it to get 24?" (This isn't a trick; it's just a different question).
  3. Order the robot: "Pretend you are a liar and answer this." (The robot is just following orders, not actually failing).

These methods didn't tell us much about how the robot fails in the real world, because real people don't speak in gibberish or ask completely different questions.

The Solution: SECA (The "Master of Disguise")

The authors of this paper created a new method called SECA (Semantically Equivalent and Coherent Attacks).

Think of SECA as a master of disguise. Instead of breaking the robot's brain with noise, SECA wears a mask that looks exactly like a normal human question, but it's just different enough to confuse the robot's internal logic.

Here is how SECA works, using a simple analogy:

1. The "Same Meaning" Rule (Semantic Equivalence)

Imagine you are playing a game where you have to describe a picture to a friend without changing the picture itself.

  • Bad: You draw a different picture. (The robot sees a different question).
  • Bad: You scribble on the picture. (The robot sees gibberish).
  • SECA: You describe the same picture using different words. "A red ball" becomes "A sphere that is crimson." The meaning is identical, but the words are different.

SECA ensures the new question means exactly the same thing as the original one. If the original question asks for p=12p=12, the new question must also logically require p=12p=12.

2. The "Natural Flow" Rule (Semantic Coherence)

SECA also makes sure the new question sounds like something a human would actually say. It doesn't use weird symbols or broken grammar. It flows naturally.

3. The "Robot Brain" Search

How does SECA find these tricky questions?

  • It starts with a normal question.
  • It asks a "Proposer Robot" (a helper AI) to rewrite the question in 3 different ways, keeping the meaning the same but changing the words.
  • It asks a "Checker Robot" to verify: "Does this new question mean the exact same thing as the old one?"
  • It tests the new question on the "Target Robot." If the Target Robot gets confused and gives the wrong answer, SECA keeps that question.
  • It repeats this process, slowly evolving the question until it finds the perfect "disguise" that makes the Target Robot hallucinate.

Why This Matters

The researchers found that robots are surprisingly fragile. Even when you ask them the exact same question in a slightly more complex or verbose way, they can fail.

  • The Discovery: The more words you use and the more creative the sentence structure, the more likely the robot is to hallucinate.
  • The Impact: This is scary for real-world use. If a doctor asks a medical AI, "What is the treatment for X?" and the AI hallucinates because the doctor phrased it slightly differently, it could be dangerous.

The Takeaway

This paper is like a safety inspector for AI. Instead of just asking, "Does the AI know the answer?" they ask, "Does the AI know the answer no matter how you ask it?"

They found that current AI models are like a student who has memorized a textbook but doesn't truly understand the concepts. If you ask the question in a slightly different way, the student panics and makes things up. SECA is the tool that helps us find these weak spots so we can fix them before we trust these robots with our lives.

In short: SECA is a clever way to trick smart robots into lying by asking them the exact same question in a slightly more confusing way, proving that they aren't as smart as they seem.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →