Pith. sign in

REVIEW 1 cited by

Code Hallucination

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2407.04831 v2 pith:QIOV56VO submitted 2024-07-05 cs.AI cs.SE

classification cs.AIcs.SE
keywords codehallucinationmodelshalltriggerlanguagelargetheyaccess
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Generative models such as large language models are extensively used as code copilots and for whole program generation. However, the programs they generate often have questionable correctness, authenticity and reliability in terms of integration as they might not follow the user requirements, provide incorrect and/or nonsensical outputs, or even contain semantic/syntactic errors - overall known as LLM hallucination. In this work, we present several types of code hallucination. We have generated such hallucinated code manually using large language models. We also present a technique - HallTrigger, in order to demonstrate efficient ways of generating arbitrary code hallucination. Our method leverages 3 different dynamic attributes of LLMs to craft prompts that can successfully trigger hallucinations from models without the need to access model architecture or parameters. Results from popular blackbox models suggest that HallTrigger is indeed effective and the pervasive LLM hallucination have sheer impact on software development.

Discussion (0). Sign in to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. ConfLogger: Enhance Systems' Configuration Diagnosability through Configuration Logging

    cs.SE 2025-08 conditional novelty 6.0 of 10

    A tool that combines configuration taint analysis with LLM-generated log messages to make configuration failures explicit at runtime.

Pith tools