Mark this lesson as complete
Finish all lessons and pass the quiz to earn your official course completion certificate.

AI hallucinations

Video Module 7: Ethical & Responsible Use of AI

AI hallucination is a phenomenon where, in a large language model (LLM) often a generative AIchatbot or computer vision tool, perceives patterns or objects that are nonexistent or imperceptible to human observers, creating outputs that are nonsensical or altogether inaccurate.

  • Why Hallucinations Occur
    • Pattern Overlap: Large Language Models (LLMs) function by predicting the next most likely token. If they lack specific information, they "fill in the blanks" with patterns that sound plausible but have no basis in reality.
    • Data Gaps & Bias: If training data is unrepresentative or incomplete, the model may over-generalize or inherit biases, leading to skewed or fabricated outputs.
    • Lack of Grounding: Without real-time access to a database of facts (unless using specialized tools), the model relies solely on its internal training weights, which are fixed at a specific point in time.
    • The Ethical Risks:The danger of hallucinations lies in their authoritative tone. Users are more likely to believe a lie if it is delivered concisely and without hesitation.

Impact Area

Consequences of Hallucination

Legal/Compliance

Fabricated case citations can lead to sanctions, fines, and disbarment (e.g., the Mata v. Avianca case).

Healthcare

Incorrect medical advice or non-existent treatment protocols can directly endanger patient lives.

Information Integrity

Hallucinations fuel the spread of misinformation, eroding public trust in digital institutions and democratic discourse.

Cybersecurity

AI may hallucinate threat vulnerabilities or suggest incorrect remediation steps, leaving systems exposed.

  • Responsible Mitigation Strategies:-Using AI ethically means implementing "Human-in-the-Loop" (HITL) processes and technical safeguards.
  1. Advanced Prompt Engineering
    1. Explicit Uncertainty: Instruct the AI: "If you are not 100% certain, state that you do not know." This can reduce hallucinations by over 50%.
    2. Chain-of-Thought (CoT): Ask the AI to "Think step-by-step" before providing a final answer. This forces the model to follow a logical path, making errors easier to spot.
    3. Source Attribution: Require the model to cite its sources. Even if it fabricates a citation, the act of seeking one often grounds the generation process.
  2. Retrieval-Augmented Generation (RAG):Instead of relying on the model's memory, RAG allows the AI to search a specific, trusted database (like your own documents or a verified web search) and base its response only on that retrieved context.
  3. Output Constraints
    1. Temperature Settings: Lowering the "temperature" (randomness) of a model makes it more deterministic and less likely to take "creative leaps" that lead to fabrications.
    2. Confidence Scoring: Request the model to provide a [Confidence: High/Medium/Low] score for critical claims.

Responsible AI Rule:Never publish or act upon AI-generated content in high-stakes environments (legal, medical, financial) without manual verification by a subject matter expert.

Course Content

Recommended Courses

Career Counsellor 6 Weeks
Advanced

₹0.00

Career Counsellor

A Career Counsellor guides individuals in choosing the right career path based on their skills, inte...

Food Safety 6 Weeks
Advanced

₹0.00

Food Safety

Food Safety ensures that food is handled, prepared, stored, and served in a way that prevents contam...

Social Impact and Rural Outreach 6 Weeks
Advanced

₹0.00

Social Impact and Rural Outreach

Driving inclusive growth by connecting rural communities with education, skill development, and empl...

Business Development & Partnerships 6 Weeks
Advanced

₹0.00

Business Development & Partnerships

Driving growth by identifying new business opportunities, building strategic partnerships, and expan...

Business & Data Analytics 6 Weeks
Advanced

₹0.00

Business & Data Analytics

Focuses on transforming data into actionable insights to drive business decisions. It combines stati...

AI Tools & Automations 6 Weeks
Advanced

₹0.00

AI Tools & Automations

AI Tools & Automations involve using intelligent software and technologies to automate repetitive ta...