News: 1718938687

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Meta warns that bit flips and other hardware faults cause AI errors

(2024/06/21)


Meta has identified another reason AI might produce rubbish output: Hardware faults that corrupt data.

As noted in a [1]paper emitted last week and a June 19 [2]write-up , hardware faults can corrupt data. No prizes for Meta there – phenomena such as "bit flips" that see data values changed from zero to one are well known and have even been attributed to cosmic rays hitting memory or hard disks.

Meta labels such faults "silent data corruptions" (SDCs) and its researchers suggest that when they occur in AI systems, they create "parameter corruption, where AI model parameters are corrupted and their original values are altered." That would result in inaccurate, weird, or just generally bad output.

[3]

"When this occurs during AI inference/servicing it can potentially lead to incorrect or degraded model output for users, ultimately affecting the quality and reliability of AI services," as Meta's boffins put it.

[4]

[5]

As we said, bit flips are not a new thing – Meta has [6]documented their prevalence in its own infrastructure – but they are hard to detect at the best of times. In their latest paper, Meta's eggheads suggest the AI stack complicates matters further.

"The escalating complexity and heterogeneity of AI hardware systems make them increasingly susceptible to hardware faults," the paper states.

[7]Study employs large language models to sniff out their own bloopers

[8]AI hallucinates software packages and devs download them – even if potentially poisoned with malware

[9]It's true, LLMs are better than people – at creating convincing misinformation

[10]Top LLMs struggle to make accurate legal arguments

What to do? Meta suggests measuring hardware faults so that builders of AI systems at least understand the risks.

Its boffins therefore proposed the "parameter vulnerability factor" (PVF) – "a novel metric we've introduced with the aim to standardize the quantification of AI model vulnerability against parameter corruptions."

[11]

PVF is apparently "adaptable to different hardware fault models" and can be tweaked for different models and tasks.

"Furthermore, PVF can be extended to the training phase to evaluate the effects of parameter corruptions on the model's convergence capability," Meta's team asserted.

The paper explains that Meta simulated silent corruption incidents using "DLRM" – a tool the social media giant uses to generate personalized content recommendations. Under some circumstances, Meta's techies found four in every thousand inferences would be incorrect due to bit flips alone.

[12]

The paper concludes by suggesting that operators of AI hardware designers consider PVF, to help them balance fault protection with performance and efficiency.

If this all sounds a bit familiar, your déjà vu is spot on. PVF builds on the architectural vulnerability factor (AVF) – an idea [13]described last year by researchers from Intel and the University of Michigan in the US. ®

Get our [14]Tech Resources



[1] https://arxiv.org/abs/2405.01741

[2] https://engineering.fb.com/2024/06/19/data-infrastructure/parameter-vulnerability-factor-pvf-ai-silent-data-corruption/

[3] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2ZnT624glpxlobQGzgPRwZgAAAMg&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZnT624glpxlobQGzgPRwZgAAAMg&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[5] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ZnT624glpxlobQGzgPRwZgAAAMg&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[6] https://arxiv.org/pdf/2203.08989

[7] https://www.theregister.com/2024/06/20/llm_hallucination_study/

[8] https://www.theregister.com/2024/03/28/ai_bots_hallucinate_software_packages/

[9] https://www.theregister.com/2024/01/30/llms_misinformation_human/

[10] https://www.theregister.com/2024/01/10/top_large_language_models_struggle/

[11] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZnT624glpxlobQGzgPRwZgAAAMg&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[12] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/aiml&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ZnT624glpxlobQGzgPRwZgAAAMg&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[13] https://ieeexplore.ieee.org/document/1253181/authors#authors

[14] https://whitepapers.theregister.com/



Sounds a lot!

Joe W

OK, I'm really not sure about the numbers.

p=0.004 for bit flips leading to a halluzination.

p=0.1 for an inference being hallucinating?

10000 requests per hour?

So one bit flip hallucination per hour? How can we store data at all?

how many bit flips do not lead to weird results?

I'd really love to know the number of bit flips per hour they really have!

If we were meant to get up early, God would have created us with alarm clocks.