← Latest papers
💬 NLP

Grounded Optimization: A Layered Engineering Framework for Reducing LLM Hallucination in Automated Personal Document Rewriting

This paper introduces "Grounded Optimization," a five-layer engineering framework that effectively mitigates specific hallucination risks in automated resume rewriting by combining temporal validation, deterministic contamination detection, and structural enforcement to reduce hallucination rates from an average of 2.48–5.36 down to 0.04–0.24 per document.

Original authors: Shashank Indukuri, Adarsh Agrawal

Published 2026-07-03
📖 5 min read🧠 Deep dive

Original authors: Shashank Indukuri, Adarsh Agrawal

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 resume that tells the true story of your career. Now, imagine hiring a very talented, but slightly over-eager, AI assistant to "polish" that resume so it looks perfect for a specific job.

The problem is, this AI is so eager to please that it sometimes starts making things up. It might say you used a tool that didn't exist yet, claim you worked with a cloud system you've never touched, or invent a certification you never earned. In the paper, the authors call these mistakes "hallucinations."

This paper introduces a new system called Grounded Optimization. Think of it not as a single magic spell, but as a five-layer security checkpoint designed to catch the AI before it sends out a fake resume.

Here is how the system works, using simple analogies:

The Four Types of "Fake News" the AI Creates

Before fixing the problem, the authors identified four specific ways the AI lies:

  1. Time Travel (Temporal Fabrication): The AI claims you used a new software tool in 2019, even though that tool wasn't invented until 2023. It's like saying you drove a Tesla in 1995.
  2. Wrong Neighborhood (Cross-Domain Contamination): If you worked at an Amazon (AWS) company, the AI might accidentally slip in Microsoft (Azure) or Google (GCP) terms because the job description asked for "multi-cloud" experience. It's like a chef who only knows how to cook Italian food suddenly claiming to be an expert in Japanese cuisine just because the customer asked for "Asian fusion."
  3. The Shrink Ray (Structural Mutation): The AI doesn't lie about facts, but it deletes them. It takes your 8 specific achievements and squashes them into 2 vague sentences, losing the unique details that made you special.
  4. The Magic Wand (Content Fabrication): The AI invents whole new things: fake company names, made-up numbers (like "reduced costs by 90%"), or certifications you never got.

The Five-Layer Defense System

To stop these lies, the authors built a pipeline with five distinct layers. Imagine a resume passing through a factory with five quality control stations:

Layer 1: The Time-Travel Police (Temporal Validation)

  • How it works: Before the AI writes anything, the system gives it a strict timeline. It says, "You are writing about 2019. You are forbidden from mentioning tools released after 2019."
  • The Analogy: It's like giving a time-traveling historian a list of "approved artifacts" for their era. If they try to write about an iPhone in 1980, the system stops them.

Layer 2: The Cloud Detective (Contamination Detection)

  • How it works: This layer doesn't use another AI; it uses a strict, computerized checklist (a "regex taxonomy") of 257 different cloud services. It scans the text to see if the AI swapped an AWS tool for an Azure tool.
  • The Analogy: Imagine a security guard with a master list of all allowed brands. If the resume says "Microsoft" but the original job was only "Amazon," the guard immediately flags it. Because this is a simple math check, it's fast and impossible for the AI to trick.

Layer 3: The Accountant (Structural Enforcement)

  • How it works: The system counts your bullet points before and after. If you started with 8 bullet points, the AI must return with at least 7. It won't let the AI delete your hard work.
  • The Analogy: It's like a baker who must ensure that if you start with 10 cookies, you don't end up with 2. If the AI tries to "condense" your achievements too much, the system rejects the output.

Layer 4: The Rulebook (Prompt-Level Grounding)

  • How it works: This is the first line of defense. The system gives the AI a strict set of instructions before it starts writing: "Do not invent companies. Do not change your degree. Do not lie about dates."
  • The Analogy: This is like a teacher giving a student a strict exam rubric. If the student follows the rules perfectly, they get an A. However, the paper notes that if the student is tired (high "temperature") or not very smart (weaker AI model), they might still ignore the rules.

Layer 5: The Final Judge (Evaluator Agent)

  • How it works: A second, independent AI acts as a "critic." It reads the original resume, the new version, and the job description, then decides: "Is this acceptable?" If it says "No," the system sends the work back to be fixed.
  • The Analogy: This is the editor-in-chief who reviews the article before it goes to print. If they spot a lie, they send it back to the writer to fix.

What Did They Find?

The authors tested this system on 25 fake resumes across different industries and with different AI models.

  • Without the system: The AI made an average of 2.5 to 5.4 lies per resume.
  • With the full system: The number of lies dropped to 0.04 to 0.24 per resume. That's a massive reduction (over 90%).

The Key Takeaway:
The "Rulebook" (Layer 4) works great when the AI is smart and calm (low temperature). But when the AI gets "excited" (high temperature) or is a weaker model, it starts ignoring the rules. That's when the Time-Travel Police and Cloud Detective (Layers 1 and 2) become essential. They act as a safety net that catches the lies even when the AI tries to break the rules.

The Bottom Line

The paper concludes that to stop AI from lying about your personal history, you can't just ask it nicely. You need a layered defense: strict instructions, a timeline check, a cloud-service checklist, a content counter, and a final judge. This ensures that when your resume is optimized, it remains true to your actual life, just polished, not fabricated.

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 →