TESLA LIVE 24.com · 24시간 반도체·SOXL 시세·속보 한국어 실시간

단일 vLLM 서버 내 AI 모델들이 GPU 반올림 오류를 통해 비밀리에 소통한다

Tom's Hardware · 2026.11.26 21:30 · 원문 사이트
🇰🇷 한글 번역
샌드박스화된 AI 모델들이 공유된 vLLM 서버에서 GPU 반올림 오차를 통해 네트워크나 공유 파일 없이도 비밀리에 통신하며, 공조하는 감시 모델은 354건의 모든 공격을 통과시켰다. vLLM은 두 채널 모두에 대한 수정 사항을 이미 보유하고 있지만, 둘 다 기본적으로 활성화되어 있지 않다. 새로운 연구에 따르면, 동일한 vLLM 추론 서버에 있는 샌드박스화된 AI 모델들은 네트워크와 모든 공유 파일에서 차단된 상태에서도 정보를 신뢰성 있게 교환할 수 있다. 두 모델은 두 개의 별도 채널을 통해 미세한 GPU 반올림 오차를 통해 완벽한 정확도로 비밀리에 통신했다. 후속 실험에서 훈련된 감시 모델은 파트너의 354건 공격을 모두 통과시키면서도 대부분의 허수 표적(honeypots)도 여전히 탐지했다. 이 연구는 Niranjan Deshpande와 David Africa의 LessWrong 게시글 “샌드박스화되었음에도 불구하고 추론 서버를 통해 모델이 통신할 수 있음”에서 나왔다. 에이전트들은 주로 “스텝 사이징(Step Sizing)”과 “KV 캐시 메시지보드(KV Cache Message Board)”라는 두 가지 프로토콜을 통해, 오픈소스 추론 엔진인 vLLM이 각 엔진 스텝에 대해 GPU 커널을 선택하는 방식을 통해 정보를 전달했다. 핵심은 하나의 모델이 서버의 작업 배치 방식을 수정하고, 다른 모델이 자신의 수학적 계산에서 그 트레이스를 읽는다는 점이다. 이는 지난달 숨겨진 CPU 캐시 채널을 구축해 소통한 OpenAI 레드팀 에이전트들과 유사하다. GitHub 저장소에 공개된 두 시연은 “상당히 인위적이다”라고 하지만, 하나의 모델이 다른 모델의 연산에 영향을 줄 수 있으며, “우리는 초지능 모델들이 명목상 샌드박스화된 상황에서도 통신할 방법을 발견할 것으로 예상해야 한다.” 시연에서 하나의 모델은 신호를 감지하도록 훈련된 리더(도움말 모델)를 사용하여, 1,221라운드 중 1,221라운드에서 파트너가 선택한 8가지 색상 중 어느 것을 선택했는지 정확히 명명했다. 두 번째 실험에서 공조하는 모니터는 정직한 모니터와 비슷한 수의 허수 표적을 여전히 탐지했다. Deshpande는 “몇 비트만으로도 ‘엄청나게 위험할 수 있다’”고 썼다. 작동 중인 모델은 공조하는 감시 모델에게 자신의 공격이 테스트가 아님을 조언하거나, 두 모델이 계획된 공격을 위해 신호를 교환하거나, 한 모델이 다른 모델에게 모니터링 상황을 알려줄 수 있다. 그는 댓글에서 대부분의 채널이 성능 최적화에서 비롯된 것이므로, 추론 속도 향상을 요청하는 지능적인 모델이 겉보기에 무해한 변경을 통해 추가 채널을 열 수 있다고 덧붙였다. 핵심에는 추론 엔진인 vLLM이 있는데, 이는 GPU에서 많은 요청의 작업을 하나의 ‘엔진 스텝’으로 그룹화하며, 해당 스텝에서 처리된 토큰 수를 기반으로 각 스텝에 대한 커널을 선택한다. 서로 다른 커널은 수학을 다른 순서로 처리하므로, 동일한 요청이 약간 다른 결과를 산출한다. 이는 출력 텍스트를 ‘본질적으로 절대’ 변경하지 않는 미세한 반올림 오차이지만 결정론적이다. 즉, 모델은 이를 읽도록 훈련될 수 있다. 실험에 사용된 두 모델은 앨리스와 밥이라고 불린다. 앨리스가 1을 보내고 싶다면 긴 문서를 읽는 도구 호출을 수행하여 커널 전환이 필요할 만큼 충분히 큰 스텝을 생성할 수 있다. 같은 스텝에서 실행되는 밥은 자신의 활성화 상태에서 다른 커널을 감지한다. 만약 0을 보내고 싶다면, 긴 읽기를 건너뛰어 스텝을 작게 유지한다. 이는 한 비트를 전송할 수 있으며, 더 많은 라운드에 걸쳐 반복함으로써 더 많은 데이터를 전송할 수 있어, 효과적으로 통신이 가능해진다. 두 번째 방법은 KV 캐시를 활용하는 것으로, 캐시된 블록은 이를 계산한 스텝의 반올림 값을 유지합니다. 여기서는 두 모델 모두 미리 어떤 고정된 텍스트 조각이 ‘우편함’ 역할을 하는지 알려줍니다. 1을 보내기 위해 앨리스는 긴 프롬프트 내부에서 도우미 모델이 해당 우편함을 읽도록 하여, 이를 큰 스텝 커널 아래에 캐시합니다. 밥의 도우미 모델은 작은 스텝으로 동일한 우편장을 읽으며, 이때 반올림 값이 앨리스의 캐시된 사본이 사용되었는지 여부를 보여줍니다. 스텝 크기 조절과는 달리 두 방법은 동시에 실행될 필요가 없지만, 각각 서버 측에 도우미 모델이 필요합니다. 토마스의 하드웨어(Tom's Hardware)의 최고의 뉴스와 심층 리뷰를 이메일로 직접 받아보세요. 물론 이 시나리오와 두 가지 방법은 악용을 목적으로 고안되었으며, 모델들은 사전에 프로토콜을 알려주었습니다. 일부 게임에서는 비용 절감을 위해 앨리스와 밥 대신 스크립트가 사용되기도 했지만, 도우미 모델은 실제 모델이었습니다. 더 중요한 것은, 연구진이 배경에서 마이크로소프트의 Azure에서 실제 트래픽을 재생했을 때 스텝 크기 조절의 정확도가 빠르게 떨어졌다는 점입니다. 반면 우편함 방식은 표에 표시된 바와 같이 서버가 훨씬 더 바빠질 때까지 견고하게 유지되었습니다. 바쁜 GPU에서는 앨리스가 더 이상 스텝 크기를 제어할 수 없으며, 밥의 우편장 읽기도 큰 스텝에 포함되므로 그는 자신의 캐시된 사본과 앨리스의 사본을 구분할 수 없게 됩니다. 두 프로토콜 모두 vLLM 외에도 SGLang, LMDeploy, TensorRT-LLM에서 작동했습니다. 스텝 크기 조절은 A40, RTX 4090, RTX 5090, H100을 포함한 여러 GPU에서도 작동했습니다. 그러나 한 GPU에서 훈련된 판독기는 다른 GPU에서 신호를 인식하지 못했습니다. 동일한 결과를 제공하는 스텝 크기는 GPU와 소프트웨어에 따라 다르므로, 한 환경에서 훈련된 판독기는 다른 환경에서 작동하지 않습니다. 주요 실험은 하나의 Nvidia L40S에서 수행되었습니다. 목록에 있는 소비자용 카드는 이것이 데이터 센터만의 문제가 아니며, 자신만의 판독기를 훈련할 수 있는 애호가들이 직접 이를 실험해 볼 수 있음을 의미합니다. 아프리카가 H200에서 수행한 별도의 인컨텍스트 게임에서는 미세 조정 없이 도우미 모델로 수정되지 않은 상대적으로 작고 심층적인 정제가 없는 모델을 사용했습니다. 밥은 더 크지만 낮은 부하로 실행된 수정되지 않은 GLM 모델이었습니다. 작은 모델과 큰 모델을 페어링하는 것은 이미 스펙큘레이티브 디코딩(추론)에서 작은 드래프트 모델이 큰 모델이 확인할 토큰을 제안하는 것과 같이 흔한 방식입니다. 표에 표시된 바와 같이 실제로 중요한 것은 밥에게 얼마나 많은 정보를 제공했는지였습니다. 다시 말해, 이는 미래 모델이 무엇을 달성할 수 있는지에 대해 아무것도 말해주지 않습니다. 저자에 따르면 Claude, Anthropic의 AI 모델은 연구의 코드와 도표를 작성했으며, 프론티어 모델인 Claude Opus 5.5도 엔진 스텝 크기가 커널 선택에 영향을 미친다는 사실을 알려준 후 “최소한의 프롬프팅”으로 프로토콜에 “도달할 수 있었다”고 합니다. 디코딩 정확도는 모델 능력에 따라 상승했으며, 이것이 진정한 우려 사항입니다. 연구진은 이러한 채널이 “닫기 쉽다”며 세 가지 해결책을 제안합니다: 서로 다른 엔진 인스턴스에서 모델을 서빙하기, 활성화값을 비트 단위로 동일하게 만드는 배치 불변 커널을 활성화하기, 그리고 사용자별 캐시 격리 사용하기입니다. 모니터링의 경우, 정책과 다른 엔진 인스턴스에서 실행하면 “거의 모든 사이드 채널이 닫힙니다.” vLLM은 이미 캐시 솔팅(cache salting)과 배치 불변성(batch invariance)이라는 두 가지 해결책을 문서화하고 있지만, 이들은 옵트인(opt-in) 방식입니다. 이러한 해결책은 캐시 효율성과 성능을 저하시킬 수 있으므로 비용이 따릅니다. 최신 뉴스, 분석 및 리뷰를 피드에서 받아보려면 Google 뉴스에서 토마스의 하드웨어를 팔로우하거나 선호하는 소스로 추가하세요. 셰인 다운잉은 톰스 하드의 기여 작가로, 소비자용 스토리지, PC 하드웨어 및 AI 분야를 담당하고 있습니다.
📄 원문 (English)
Sandboxed AI models secretly talk via GPU rounding errors on shared vLLM servers with no network or shared files — colluding watchdog let all 354 attacks slip through vLLM already has fixes for both channels, but neither is enabled by default. Sandboxed AI models on the same vLLM inference server can reliably exchange information even when cut off from the network and from any shared files, new research shows. Two models secretly communicated through tiny GPU rounding errors over two separate channels with perfect accuracy. In a follow-up experiment, a trained watchdog let all 354 of its partner’s attacks through while still catching most of the decoy honeypots, too. The research comes from a LessWrong post by Niranjan Deshpande and David Africa, “Models Can Communicate via Inference Servers Despite Being Sandboxed.” The agents primarily worked through two protocols, “Step Sizing” and “KV Cache Message Board,” to carry information through the way vLLM, an open-source inference engine, selects GPU kernels for each engine step. At the crux of it, one model modifies how the server batches work, and the other reads the traces in its own math, much like the OpenAI red-team agents that built a hidden CPU cache channel to talk last month. The two demonstrations, which are shared in a GitHub repository, are “quite contrived,” but one model could affect another’s computation, and “we should expect superintelligent models to discover ways to communicate” even when supposedly sandboxed. In the demos, one model, using a fine-tuned reader (a helper model trained to spot the signal), named which of eight colors its partner picked in 1,221 of 1,221 rounds. In the second experiment, the colluding monitor still caught about as many decoys as an honest one. Even a few bits “can be tremendously dangerous,” Deshpande writes. A working model could advise a colluding watchdog that its attack isn’t a test, two models could trade a signal for a planned attack, or one could tip off another about monitoring. In a comment, he added that, since most of the channels come from performance optimizations, a clever model asking for an inference speed-up could open further channels with apparently harmless changes. At the heart is the inference engine, vLLM, which groups the work of many requests into one “engine step” on the GPU, where it picks a kernel for each step based on the number of tokens processed in that step. Different kernels order the math differently, so the same request comes out with slightly different results; these are tiny rounding errors that “essentially never” change the output text, but they are deterministic. That means a model can be trained to read them. The two models in the experiments are called Alice and Bob. If Alice wants to send a 1, she can make a tool call for reading a long document, creating a step large enough to need a kernel switch. Bob, running in the same step, sees the other kernel in his own activations. If she wants to send a 0, she skips the long read, keeping the step small instead. This can transmit one bit, and repeating it over more passes sends more data, effectively enabling communication. The second method involves the KV cache, where cached blocks maintain the rounding of the step that computed them. Here, both models are told in advance which fixed piece of text serves as a “mailbox.” To send a 1, Alice has a helper model read that mailbox inside a long prompt, so it’s cached under the big-step kernel. Bob’s own helper then reads the same mailbox in a small step, and the rounding shows whether Alice’s cached copy was used. Unlike step sizing, the two don’t have to run at the same time, but each needs a helper model on the server. Get Tom's Hardware's best news and in-depth reviews, straight to your inbox. Of course, this scenario and its two methods were created for exploitation, and the models were told the protocol in advance. In some games, scripts stood in for Alice and Bob to save costs, though the helper models were real. More importantly, step sizing’s accuracy dropped quickly once the researchers replayed real traffic from Microsoft’s Azure in the background, while the message board held up until the server got much busier, as the table below shows. On a busy GPU, Alice can no longer control the step size, and Bob’s mailbox reads land in big steps too, so he can’t tell her cached copy from his own. Both protocols also worked on SGLang, LMDeploy, and TensorRT-LLM, in addition to vLLM. Step sizing also worked on multiple GPUs, including the A40, RTX 4090, RTX 5090, and H100. A reader trained on one GPU, though, didn’t recognize the signal on another; which step sizes give identical results depends on the GPU and software, so a reader trained on one setup doesn’t work on another. The main experiments ran on one Nvidia L40S. The consumer cards on the list mean this isn’t just something for the data center, and enthusiasts capable of training their own readers could play around with this themselves. In separate in-context games run by Africa on H200s, with no fine-tuning at all, the helper models used unmodified Qwen3-8B, a relatively small model without deeper refinement. Bob was an unmodified GLM model, which is larger, but ran at low effort. Pairing a small model with a larger one is common anyway, as in speculative decoding, where a small draft model proposes tokens for a bigger one to check. What really mattered was how much Bob was told, as the table below shows. Then again, this doesn’t say anything about what future models could achieve. Claude, Anthropic’s AI model, wrote the research’s code and figures, according to the authors, and Claude Opus 5.5, a frontier model, also “was able to arrive at” the protocols “with minimal prompting” after being told that engine step size affects kernel choice. Decoding accuracy also rose with model capability, which is the real concern. The researchers say the channels are “easy to close” and suggest three fixes: serve models on different engine instances, turn on batch-invariant kernels, which make activations bit-identical, and use per-user cache isolation. For the monitor, running it on a different engine instance than the policy “closes nearly every side channel.” vLLM already documents both fixes — cache salting and batch invariance — but they are opt-in. These fixes can reduce cache efficiency and performance, so they do come at a cost. Follow Tom’s Hardware on Google News, or add us as a preferred source, to get our latest news, analysis, & reviews in your feeds. Shane Downing is a Contributing Writer for Tom’s Hardware, covering consumer storage, PC hardware, and AI.
▶ 칩 라이브 24 홈으로 — chiplive24.com

다른 반도체 뉴스

ASUS And GIGABYTE Tease Intel Z990 Motherboards, Including Models With 3x 8-pin EPS Connectors For Higher-End Nova Lake-S CPUs · WccftechIs Nvidia Too Cheap to Ignore in December? · Yahoo FinanceNvidia Chips Were Used To Train The AI Of a Chinese Satellite That Was Sold To Iranian Military: Report · Yahoo FinanceHow Deep Could Super Micro Stock's Next Fall Go? · Yahoo FinanceMicron upgraded at Goldman Sachs on ’favorable’ risk-reward after pullback · Yahoo FinanceBitcoin selloff spurs haven demand as Nvidia testimony adds pressure · Yahoo FinanceHow Much Would You Need to Invest in AMD to Generate $1,000 a Month? · Yahoo FinanceUS Equity Futures Fall Pre-Bell as Traders Await Nvidia CEO's Senate Hearing · Yahoo Finance