# Look Here, Then Decide: Small Decision Models in a Harness Find Memory-Safety Vulnerabilities at Scale on Commodity GPUs

ここを見てから判断する：ハーネス内の小型決定モデルによる、一般向けGPU上での大規模なメモリ安全性の脆弱性発見

Tim De Wachter, Kyryl Volkov, Myrto Eleftheria Gkogkou, Mathieu Huysman · arXiv · 2026年11月12日

- **課題** 小型決定モデルは、脆弱な関数と良性の関数は区別できますが、自身のパッチ版とはほとんど区別できません。
- **手法** 決定論的な候補生成のあとに、小型決定モデルで候補のキューを順位付けし、再現によって発見を確認します。
- **結果** パッチ済みの関数は21%の割合で上位25位以内に入りました。キャンペーンでは、メモリ安全性の発見187件を確認しています。

## 大規模な脆弱性探索のコスト問題

フロンティアLLMで数千のリポジトリを調査するには、調査ごとに多くのモデル呼び出しとツール実行が必要で、コストがかさみます。この論文では、小さなオープンウェイトの決定モデルをハーネス内の一つの構成要素とし、メモリ安全性の脆弱性候補の優先順位付けに使えるかを問います。決定モデルは、決まった質問に対して一度の順伝播で許容された答えのスコアを返すため、そのスコアでキューを直接並べ替えられます。

著者らは、決定モデル単独の分類性能には限界があると見ています。そのため、候補生成、順位付け、検証をどう組み合わせるかが中心的な問いになります。

## 決定モデルのスコアでキューを並べ替える手法

ハーネスは、プロジェクト選択、候補生成、モデルによる順位付け、検証の4段階に分かれています。プロジェクトは到達スコアとOSS-Fuzzのメンバーシップ情報で選びます。候補は修正履歴マイナーと形状ローカライザが見つけ、安全でないメモリ操作を含む関数だけを残します。

各候補関数には、Intern-Decision-4Bに2つの型付きの質問を与えます。1つ目は、コードが信頼されていない入力を処理するかを問う到達質問で、2つ目は欠陥の形状に合わせた質問です。スコアは、答えトークンの確率に制限付きsoftmaxを適用して得ます。このスコアは候補の採否には使わず、キューの並べ替えに使います。ただし一部のキューでは、到達スコアが0.27未満のものを除外する下限を設けました。

![Table 4: Candidate yield in the localizer pilots, by configuration, at triage (descriptive). Raw rates are hit rates in a random sample of the localizer’s cand…](https://refivu.com/papers/a4086ec5-33eb-4e68-bbd9-18476c04be04/figures/figure-668caab6c541f11d979d81f8ce91627e.png?thumb=512)

**Table 4** : Candidate yield in the localizer pilots, by configuration, at triage (descriptive). Raw rates are hit rates in a random sample of the localizer’s candidates; ranked rates are hit rates in the top k after the deterministic test, a reach cut at 0.27 and ranking by the shape question. Ranges count leads only and leads plus near-leads; they are not confidence intervals.

[出典](https://arxiv.org/abs/2611.16565v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tim De Wachter, Kyryl Volkov, Myrto Eleftheria Gkogkou, Mathieu Huysman · Look Here, Then Decide: Small Decision Models in a Harness Find Memory-Safety Vulnerabilities at Scale on Commodity GPUs · 論文の図を引用 · 元のPDFの11ページ目から図の部分を抽出しています。

著者らは、スコアは較正された確率ではないため、閾値による判定よりも順位付けに使うのが適切だと見ています。順位付けされた候補は、より強力なモデルと人によるレビューを経て、AddressSanitizerの再現によって確認されます。決定モデルはこの検証段階は行いません。

## 分類と再現率評価の範囲

分類評価では、Intern-Decision-4Bは、ネイティブC/C++関数のセットで脆弱な関数と良性の関数をAUC 0.73で区別しました。同じモデルは、脆弱な関数とその修正版をAUC 0.56でしか区別できませんでした。この差は、モデルが1トークンだけのパッチをほとんど捉えられないことを示しています。

![Table 1: Campaign deciders on the CVE function set. A dash marks a measurement not taken. DiffusionGemma-26B-A4B \[135\] was run as NVIDIA’s NVFP4 build \[136\]. T…](https://refivu.com/papers/a4086ec5-33eb-4e68-bbd9-18476c04be04/figures/figure-b9718f24feb6a2e2c9a0cc9c7643e81f.png?thumb=512)

**Table 1** : Campaign deciders on the CVE function set. A dash marks a measurement not taken. DiffusionGemma-26B-A4B \[135\] was run as NVIDIA’s NVFP4 build \[136\]. The patched column covers all 91 pairs, including 20 in managed languages; on the 71 native pairs Intern scores 0.564 (Table 2).

[出典](https://arxiv.org/abs/2611.16565v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tim De Wachter, Kyryl Volkov, Myrto Eleftheria Gkogkou, Mathieu Huysman · Look Here, Then Decide: Small Decision Models in a Harness Find Memory-Safety Vulnerabilities at Scale on Commodity GPUs · 論文の図を引用 · 元のPDFの9ページ目から図の部分を抽出しています。

再現率評価では、公開されたCVE 75件を対象にしました。各リポジトリは修正コミットの親からチェックアウトし、変更された関数がリポジトリの上位k以内に入るかをrecall at kで測定しました。パッチ済みの関数は21%の割合で上位25位以内に入り、同じキューをランダムな順序で読んだ場合より1.4倍の頻度で現れました。著者らは、再現率の大部分は順位付けより前の段階で失われると解釈しています。

![Table 5: Recall on 75 known CVEs. 95% intervals for recall at 10, 25 and 40: 5–20%, 12–31% and 13–32%](https://refivu.com/papers/a4086ec5-33eb-4e68-bbd9-18476c04be04/figures/figure-9c938c34adcb50841caa47d5c6299cf1.png?thumb=512)

**Table 5** : Recall on 75 known CVEs. 95% intervals for recall at 10, 25 and 40: 5–20%, 12–31% and 13–32%.

[出典](https://arxiv.org/abs/2611.16565v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tim De Wachter, Kyryl Volkov, Myrto Eleftheria Gkogkou, Mathieu Huysman · Look Here, Then Decide: Small Decision Models in a Harness Find Memory-Safety Vulnerabilities at Scale on Commodity GPUs · 論文の図を引用 · 元のPDFの12ページ目から図の部分を抽出しています。

AUCは正確度や較正を測るものではありません。また、再現率の分析は、キャンペーン全体の再現率を確定するものではありません。

## キャンペーンキューにおける順位効果の上限

キャンペーンのキュー51個を、モデルのスコア、ランダムな順序、サイト数のヒューリスティックでそれぞれ並べ直し、上位10、25、40に入った確認済みの発見数を数えました。上位10では、モデルの順位が24件を配置し、ランダムの期待値は3.2件、ヒューリスティックは6件でした。これは7.5倍のリフトです。

この数値は選択バイアスのある観測上の上限です。キューは確認済みの発見を含むように選ばれており、レビュアーは同じ順位の上位側から読んだためです。したがって、この結果をモデル順位の一般的な効果としてではなく、キャンペーンのキューで観測された上限としてのみ解釈すべきです。

## スループットとルールエンジンとの比較

決定段階では、GB10でvLLMのバッチ処理により、278件の決定を63秒で処理し、4.4 decisions per secondを記録しました。同じスクリプトをRTX 4090のゲーミングPCで実行すると、25~29秒で同じ278件の決定を処理し、9.8 decisions per secondを記録しました。2つのデバイスのスコアは近く、278件のうち275件が0.02以内に収まりました。

![Table 3: Configurations and throughput in the small-classifier comparison (one GB10, vLLM 0.30.1). \* Intern answers two fields per row with longer prompts, so…](https://refivu.com/papers/a4086ec5-33eb-4e68-bbd9-18476c04be04/figures/figure-46c5b67ff4ea0545e52adab3c474446d.png?thumb=512)

**Table 3** : Configurations and throughput in the small-classifier comparison (one GB10, vLLM 0.30.1). \* Intern answers two fields per row with longer prompts, so its rows/s is not comparable.

[出典](https://arxiv.org/abs/2611.16565v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tim De Wachter, Kyryl Volkov, Myrto Eleftheria Gkogkou, Mathieu Huysman · Look Here, Then Decide: Small Decision Models in a Harness Find Memory-Safety Vulnerabilities at Scale on Commodity GPUs · 論文の図を引用 · 元のPDFの11ページ目から図の部分を抽出しています。

ルールエンジンOpengrepとの比較は、OpenSSLの1つのリポジトリで、CPU段階を同じ16 vCPUのホストで測定しました。Opengrepは約27~31秒で554件の警告を出し、ハーネスは約268秒のCPU時間と139件のランク行を出力しました。2つの出力は検証していないため、検出品質を比較したものではありません。

![Table 6: One-repository cost comparison on OpenSSL. CPU stages ran on the same 16-vCPU x86 host. The harness’s 139 ranked rows cover 121 distinct functions. Ne…](https://refivu.com/papers/a4086ec5-33eb-4e68-bbd9-18476c04be04/figures/figure-54bd1da19e8094b7083e66389907af27.png?thumb=512)

**Table 6** : One-repository cost comparison on OpenSSL. CPU stages ran on the same 16-vCPU x86 host. The harness’s 139 ranked rows cover 121 distinct functions. Neither output was triaged, so this is not a quality comparison.

[出典](https://arxiv.org/abs/2611.16565v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tim De Wachter, Kyryl Volkov, Myrto Eleftheria Gkogkou, Mathieu Huysman · Look Here, Then Decide: Small Decision Models in a Harness Find Memory-Safety Vulnerabilities at Scale on Commodity GPUs · 論文の図を引用 · 元のPDFの13ページ目から図の部分を抽出しています。

## キャンペーンの発見と深刻度

キャンペーンでは、メモリ安全性の発見187件を確認しました。各発見はAddressSanitizerのクラッシュで再現され、人が承認しています。ワーストケースのCVSS v3.1で見ると、criticalが12件、highが148件、mediumが23件、lowが4件でした。したがって、160件、約86%がcriticalまたはhighです。

この深刻度は、著者らが定めたキャンペーン評価の前提に基づく値です。再現されたクラッシュが実際の悪用可能性を立証するわけではなく、ワーストケースの影響は示された範囲を超える可能性があります。

## 限界

決定モデルは関数単位のスコアしか見ません。呼び出し元のチェック、ビルド設定、設定コードによって候補が制約されるケースは判断できません。

順位のアブレーション実験は、レビュアーがモデルの順位から読んだデータなので、上限としてのみ読むべきです。著者らは、ハーネス設計がモデルのサイズより重要だと解釈していますが、これは制御されたモデルサイズの比較で確認したものではありません。

## 論文情報

- **著者**: Tim De Wachter, Kyryl Volkov, Myrto Eleftheria Gkogkou, Mathieu Huysman
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2026年11月12日
- **登録日**: 2026年11月13日
- **更新日**: 2026年11月12日
- **バージョン**: v1
- **arXiv**: 2611.16565
- **カテゴリ**: cs.CR · cs.LG · cs.SE
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2611.16565v1) · [PDF ↗](https://arxiv.org/pdf/2611.16565v1)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

We ask whether small, open-weight decision models can support vulnerability discovery in open-source software at scale and what the surrounding system must provide. These models answer a typed question in one forward pass, returning scores for the permitted answers rather than text. Our harness selects widely packaged C and C++ projects and uses deterministic incomplete-fix miners and shape localizers to decide where to look. Intern-Decision-4B, a 4B-parameter open-weight decision model, then scores every candidate function. The scores rank the queues rather than accept or reject candidates, apart from a low reach-score floor that some queues kept. The search uses no frontier model. Alone, the model is weak: it separates vulnerable from benign functions with AUC 0.73, but a vulnerable function from its own patch with only 0.56. It is more useful for ordering candidates. On 75 public CVEs from projects without any of our findings, the fixed function reached its repository's top 25 in 21% of cases, 1.4 times as often as under random order of the same queues. Recall is bounded mainly by where the localizers look. On the campaign's own queues the model's order placed 7.5 times more confirmed findings in the top 10 than random order, an observed, selection-biased upper bound. On three GB10 systems, the harness searched more than 4,000 projects at 900-1,100 repositories per hour. The campaign confirmed 187 memory-safety findings; by worst-case CVSS v3.1, 12 are critical, 148 high, 23 medium and 4 low. The decision step runs at 4.4 decisions per second on one GB10 and 9.8 on a consumer RTX 4090 gaming PC, with matching scores. A small decision model supports vulnerability discovery through prioritization, while deterministic analysis and verification remain essential. All confirmed findings are being disclosed to maintainers under coordinated disclosure before publication.

## この論文を引用

Tim De Wachter, Kyryl Volkov, Myrto Eleftheria Gkogkou, Mathieu Huysman (2026). Look Here, Then Decide: Small Decision Models in a Harness Find Memory-Safety Vulnerabilities at Scale on Commodity GPUs. arXiv:2611.16565v1. https://arxiv.org/abs/2611.16565v1

**BibTeX**

```
@misc{wachter2026look,
  title = {{Look Here, Then Decide: Small Decision Models in a Harness Find Memory-Safety Vulnerabilities at Scale on Commodity GPUs}},
  author = {Tim De Wachter and Kyryl Volkov and Myrto Eleftheria Gkogkou and Mathieu Huysman},
  year = {2026},
  eprint = {2611.16565},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.16565v1}
}
```

## この論文の用語

- [harness](https://refivu.com/ja/terms/f6cdd1bcb1fa-harness)
- [決定モデル](https://refivu.com/ja/terms/767de9b0112a)

## ほかの論文解説

- [How Should Planning Agents ReSHAPE Their Search Space?](https://refivu.com/ja/papers/9fffaa2e-ec66-4527-8bbc-c761e38be1cc-how-should-planning-agents-reshape-their-search-space.md)
- [Before AI Agents Negotiate for Us: A Competitive Tournament of Rule-Based, Search, Optimization, Learned, and Language-Model Negotiators Under Scarcity](https://refivu.com/ja/papers/1be3d06e-6a65-49a3-b9cb-66c789353de6-before-ai-agents-negotiate-for-us-a-competitive.md)
- [DecArena: Evaluating Large-Scale Decentralized Multi-Agent Collaboration](https://refivu.com/ja/papers/4493abdc-e2c5-4773-98e4-76e1d9e947dd-decarena-evaluating-large-scale-decentralized-multi-agent.md)
- [GHAgentCI: A Dataset of Coding-Agent Invocations in CI Workflow Histories](https://refivu.com/ja/papers/424ea16a-b913-4b06-9a96-34a62191b355-ghagentci-a-dataset-of-coding-agent-invocations-in.md)
- [Read and Ignore: What Self-Directed LLM Agents Do in Public Service Scenarios](https://refivu.com/ja/papers/2039c2d0-49d9-4ade-aa0e-90550d306072-read-and-ignore-what-self-directed-llm-agents.md)
- [Termination Lag: Coding Agents Solve Early but Stop Late](https://refivu.com/ja/papers/520a3a4d-fc06-4832-b3c1-a97eb683de41-termination-lag-coding-agents-solve-early-but-stop.md)
- [Where in the Input Does a One-Pass Decision Encoder Look?](https://refivu.com/ja/papers/bb28ef96-e4c3-4e27-b54a-a252bf1df83a-where-in-the-input-does-a-one-pass.md)
- [Shared Item-Level Error Limits the Aggregation of Small Language Models in Fermi Estimation](https://refivu.com/ja/papers/d6b35571-2eef-4304-900f-fe22dbf275c8-shared-item-level-error-limits-the-aggregation-of.md)
- [Low Language Transfer Speech-to-Text](https://refivu.com/ja/papers/a72fcc94-71cb-43cb-a9d4-b90726cea829-low-language-transfer-speech-to-text.md)
- [A Matching Lower Bound for Online Smooth Calibration](https://refivu.com/ja/papers/325701fa-d264-4ed2-bc4e-abb5dc7b1a1a-a-matching-lower-bound-for-online-smooth-calibration.md)
- [When can an interpretability claim be trusted? Stability and certification of feature dimensionality, ridge leverage and the feature recovery rate](https://refivu.com/ja/papers/2430c94f-43b6-4448-b366-580fe254b57f-when-can-an-interpretability-claim-be-trusted-stability.md)
- [What Roles Do System Prompts Really Assign? Validating and Steering Occupational Role Vectors in LLMs](https://refivu.com/ja/papers/629a4fc4-7b87-453a-b9f7-a7e955764349-what-roles-do-system-prompts-really-assign-validating.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/a4086ec5-33eb-4e68-bbd9-18476c04be04-look-here-then-decide-small-decision-models-in)
