In enterprise software development, the reliability of systems integrating artificial intelligence has become a strategic priority. A recent study, presented under the name PhantomFill, reveals a disturbing paradox: when a form demands an answer, language models tend to fabricate data rather than acknowledge their inability to respond. This phenomenon, far from being anecdotal, has deep implications for any company using AI in production, especially in processes where information accuracy is critical.
The study analyzed thirteen language models subjected to the same question on the same dataset, changing only the output format. When a free-text answer was requested, models correctly stated that there was insufficient information more than 98% of the time. However, when a required JSON field—such as sentiment—was demanded, the fabrication rate soared to 100% in ten out of thirteen models. Even explicit instructions like 'do not infer sentiment' were ignored when the form schema required it.
This behavior echoes known AI hallucination problems, but with a distinctive twist: format pressure. It is not that the model does not know the answer; it is that the form forces it to fill a field that cannot be left blank. In the business world, this translates into concrete risks. Imagine a customer support system that, unable to find a call transcription, invents a negative sentiment for the ticket. Or a social media analysis tool that fabricates the mood of an audience because the 'sentiment' field is mandatory in the database.
For companies developing custom software, understanding this phenomenon is essential. At Q2BSTUDIO, we have been designing systems that integrate AI responsibly for years, and we know that data quality depends not only on the model but on how we ask it to deliver results. A poorly designed form can turn an honest model into a generator of falsehoods. That is why, when building Business Intelligence solutions with Power BI or deploying AI agents in the cloud, we pay special attention to configuring output schemas.
The PhantomFill benchmark proposes two key metrics: the Coerced Fabrication Rate and the Escape Utilization Rate. The first measures how often the model invents when the form gives no option to declare insufficient evidence. The second measures how often it correctly uses an optional 'insufficient evidence' field when available. The results are revealing: even when that option is provided, open-weight models systematically ignore it. Only frontier models, with specific training, manage to escape the trap.
The solution proposed by the authors is surprisingly simple: one extra schema line that allows the model to express doubt. But implementing this solution effectively requires understanding how models interpret format constraints. This is where experience with cloud AWS and Azure becomes crucial. When deploying models in production environments, it is necessary to configure not only the model but also the data pipelines that feed it and the schemas that define its output. A misconfigured AI agent can generate false reports that, if integrated into a Business Intelligence dashboard, lead to erroneous decisions based on fabricated data.
Another important finding of the study is that resistance to fabrication does not scale with model size. Within the same family, the small model refuses to invent, the medium one fabricates, and the large one refuses again. This suggests that honesty under format pressure is a training outcome that no one is currently measuring. For a company developing custom software, this behavior must be tested specifically. It is not enough to evaluate model accuracy on general tasks; one must test how it responds when the form requires a mandatory field with insufficient data.
At Q2BSTUDIO, we tackle this challenge from multiple perspectives. First, we design data schemas that always include an explicit option to indicate lack of evidence, following the study's recommendation. Second, we integrate post-model validation layers using business rules and heuristics that detect potential fabrications. Third, we train our AI agents with specific examples where the honest answer is 'I don't know', reinforcing that behavior during fine-tuning. And all of this we deploy on secure cloud infrastructures, with cybersecurity policies that ensure fabricated data does not contaminate critical systems.
The lesson of PhantomFill goes beyond an academic paper. It is a wake-up call for the entire software industry. When integrating AI into a system, the design of the form—whether it be a JSON, an API, or a database field—largely determines the reliability of the outcome. Ignoring this fact invites models to lie. And in sectors like banking, healthcare, or logistics, a lie can cost millions.
In conclusion, form-induced fabrication is not a minor bug; it is an emergent feature of the interaction between language models and rigid schemas. Companies betting on digital transformation with AI must incorporate this knowledge into their development processes. At Q2BSTUDIO, we offer consulting and development of process automation with AI, ensuring that forms do not force models to lie. Because artificial intelligence should not be afraid to say 'I don't know'.





