Author Identifier (ORCID)
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.
Keywords
large language models, graph learning, substructure counting, local differential privacy, multi-agent systems, privacy-preserving AI
Document Type
Conference Proceeding
Date of Publication
1-1-2026
ISSN
0736587X
Volume
1
Publication Title
Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics
Publisher
Association for Computational Linguistics
School
School of Engineering
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 License.
ISBN
[9798891763906]
First Page
22518
Last Page
22533
Recommended Citation
Zhang, Y., Wang, K., Ni, W., Zhang, Y., & Zhang, W. (2026). Agent-based substructure counting under local differential privacy. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (pp. 22518–22533). Association for Computational Linguistics. https://doi.org/10.18653/v1/2026.acl-long.1032