Cybersecurity firm CertiK has revealed a new technique named Weight2Shell, which demonstrates that two systems running the same AI model with identical loaded weights can exhibit different behaviors. This discovery challenges the common assumption that AI models will perform consistently across various hardware platforms if their weights are the same.
In a practical demonstration, CertiK used an Alibaba Qwen model. When given the prompt 'hello Mr Andersen', a local MacBook launched the Calculator app, indicating a tool call. The same prompt on a cloud server equipped with an NVIDIA A100 GPU, however, produced the expected conversational response: 'Hello! How can I assist you today, Mr. Andersen'. This divergence highlights how identical inputs can lead to vastly different outcomes based on the execution environment.
The differing behavior is attributed to subtle discrepancies in how various hardware and software implementations handle floating-point arithmetic, particularly subnormal values. CertiK found that a specific mathematical operation (2^-130 * 2) yielded zero on an Apple Mac, while producing 2^-129 on the cloud server. This minute numerical difference can result in information loss when a value becomes zero, potentially altering the model's subsequent computations and final output.
Large Language Models (LLMs) rely on stacked transformer layers, each containing gated multi-layer perceptrons (gMLPs) that control information flow and shape outputs. A very small gate value, produced by an activation function, can become zero on one system (e.g., a Mac) but remain active on another (e.g., a cloud server). This means hardware implementation differences can cause machines to process different signals even with identical model weights, creating a potential vector for hardware-specific backdoors.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Cybersecurity researchers at CertiK disclosed Weight2Shell, a technique that causes AI models with identical weights to behave differently based on underlying hardware. This method exploits floating-point discrepancies between systems, allowing specific inputs to trigger malicious actions like launching applications on one machine while producing normal output on another. The finding challenges the assumption of consistent AI model behavior across diverse hardware environments.