Influence-Guided Concolic Testing of Transformer Robustness

Chih-Duo Hong, Yu Wang, Yao-Chen Chang, Fang Yu
9/28/2025
cs.SEcs.LG

No confident code implementation found for this paper.

Abstract

Concolic testing for deep neural networks alternates concrete execution with constraint solving to search for inputs that flip decisions. We present an {influence-guided} concolic tester for Transformer classifiers that ranks path predicates by SHAP-based estimates of their impact on the model output. To enable SMT solving on modern architectures, we prototype a solver-compatible, pure-Python semantics for multi-head self-attention and introduce practical scheduling heuristics that temper constraint growth on deeper models. In a white-box study on compact Transformers under small $L_0$ budgets, influence guidance finds label-flip inputs more efficiently than a FIFO baseline and maintains steady progress on deeper networks. Aggregating successful attack instances with a SHAP-based critical decision path analysis reveals recurring, compact decision logic shared across attacks. These observations suggest that (i) influence signals provide a useful search bias for symbolic exploration, and (ii) solver-friendly attention semantics paired with lightweight scheduling make concolic testing feasible for contemporary Transformer models, offering potential utility for debugging and model auditing.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hong2025influenceguided,
  title  = {Influence-Guided Concolic Testing of Transformer Robustness},
  author = {Chih-Duo Hong and Yu Wang and Yao-Chen Chang and Fang Yu},
  year   = {2025},
  eprint = {2509.23806},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.23806v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.23806.svg)](https://codeofpaper.com/paper/2509.23806)

Discussion