Do LLMsMakeNeural Distinguishers Wise?

Tatsuya Sakagami, Masashi Hisai, Naoto Yanai
6/9/2026
cs.CRcs.LG

No confident code implementation found for this paper.

Abstract

Neural distinguishers are a cryptanalysis method for symmetric-key cryptography that trains machine learning models on pairs of plaintexts and ciphertexts with specific differences in order to recover a secret key. To the best of our knowledge, no existing work has explored the use of large language models (LLMs) for neural distinguishers.

Show full abstract

In this paper, we propose LLM-based neural distinguishers through a prompt design and conduct extensive experiments with them on SPECK-32/64 to investigate whether LLMs can strengthen neural distinguishers. We then found three key insights. First, by comparing the results of LLM-based neural distinguishers with ResNet in the existing work, we demonstrate that LLMs provide no observable improvement in the performance of neural distinguishers. Second, we confirm that, at high rounds, the choice of differences is no longer effective for LLM-based neural distinguishers as well as ResNet. Third, we show that the performance of LLM-based neural distinguishers can be significantly improved by incorporating only the XOR operation results as a prompt design.

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{sakagami2026llmsmakeneural,
  title  = {Do LLMsMakeNeural Distinguishers Wise?},
  author = {Tatsuya Sakagami and Masashi Hisai and Naoto Yanai},
  year   = {2026},
  eprint = {2606.10692},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.10692v1}
}

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/2606.10692.svg)](https://codeofpaper.com/paper/2606.10692)

Discussion