← Lab /Software

InterType raises binary type inference recall to 91.76% on O1 coreutils binaries

Incorporating inter-procedural data flow into a Transformer model improves binary variable type recall

Software arXiv 17 Oct 2026 Method Prototype evidence

Published as “InterType: Breaking the Single-Function Barrier in Neural Binary Type Inference”

Why it matters

Higher-accuracy type recovery can improve decompilation readability and downstream security analyses such as vulnerability discovery and CFI enforcement.

Summary

InterType improves binary variable type recovery recall on the Coreutils O1 benchmark from 89.00% to 91.76%, a 2.76-percentage-point gain and a 25.1% reduction in recall error rate. The improvement is demonstrated by fine-tuning the same 109M-parameter CodeArt Transformer with added inter-procedural data-flow edges and evaluating on 106 stripped Coreutils binaries across optimization levels, showing consistent gains over the intra-procedural baseline.

What they found 1

  1. Recall improves by 2.76 pp on O1 binaries, from 89.00% to 91.76%, reducing recall error rate by 25.1%

    “On O1 binaries, InterType improves recall by 2.76 percentage points, from 89.00% for the intra-procedural CodeArt baseline to 91.76%, corresponding to a 25.1% reduction in recall error rate (1 -recall).”

Caveats 2

  • We limit the interprocedural depth to direct caller-callee pairs (one call edge, termed depth 1 in this paper).
  • Future work could investigate whether the same approach-merging caller-callee CFGs, extracting cross-function data flow edges via reaching definition analysis, and encoding them as graph-pattern attention mask entries-benefits other Transformer-based binary analysis tasks. These applications remain possibilities for future evaluation.

What’s new here 4

  • Adds inter-procedural caller-callee data-flow edges to a pre-trained Transformer via merged CFGs
  • Encodes cross-function dependencies as graph-pattern entries in the model's attention mask
  • Enables the Transformer to attend bidirectionally between caller argument setup and callee usage
  • Shows measurable recall improvements for complex types (e.g., structs, double pointers) without changing the underlying model architecture