Agent-based Substructure Counting under Local Differential Privacy

Yuting Zhang, Kai Wang, Wei Ni, Ying Zhang, Wenjie Zhang


Abstract
Recent studies have demonstrated the ability of Large Language Models (LLMs) in processing various graph problems. Substructure counting remains challenging in both scalability and accuracy. Incorporating sensitive edge information into the input prompts also introduces significant privacy risks of exposing the private information of user connections in real-world applications. This paper, for the first time, studies substructure counting for LLMs under edge local differential privacy (LDP) in a multi-agent framework. Unlike the Naive approach whose estimation relies entirely on overly dense noisy graphs, the proposed PSC framework decomposes substructure counting into node-level tasks distributed among node agents, and embeds the knowledge of distributed algorithms and DP frameworks in the curator agent and privacy controller, respectively. Thus, we can leverage the local neighboring information and reasoning capabilities of node agents to improve the estimation accuracy. Extensive experiments on 6 real-world datasets validate the effectiveness of PSC framework for substructure counting tasks under 𝜀-edge LDP. Moreover, the non-DP version of PSC also demonstrated superior performance over a single LLM on standard substructure counting tasks.
Anthology ID:
2026.acl-long.1032
Volume:
Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Month:
July
Year:
2026
Address:
San Diego, California, United States
Editors:
Maria Liakata, Viviane P. Moreira, Jiajun Zhang, David Jurgens
Venue:
ACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
22518–22533
Language:
URL:
https://preview.aclanthology.org/ingest-acl/2026.acl-long.1032/
DOI:
Bibkey:
Cite (ACL):
Yuting Zhang, Kai Wang, Wei Ni, Ying Zhang, and Wenjie Zhang. 2026. Agent-based Substructure Counting under Local Differential Privacy. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 22518–22533, San Diego, California, United States. Association for Computational Linguistics.
Cite (Informal):
Agent-based Substructure Counting under Local Differential Privacy (Zhang et al., ACL 2026)
Copy Citation:
PDF:
https://preview.aclanthology.org/ingest-acl/2026.acl-long.1032.pdf
Checklist:
 2026.acl-long.1032.checklist.pdf