ECCC: Edge Code Cloak Coder for Privacy Code Agent
Haoqi He, Wenzhi Xu, Ruoying Liu, Jiarui Tang, Bairu Li, Xiaokai Lin
Abstract
Large language models (LLMs) have significantly advanced automated code generation and debugging, facilitating powerful multi-agent coding frameworks. However, deploying these sophisticated models on resource-constrained edge devices remains challenging due to high computational demands, limited adaptability, and significant privacy risks associated with cloud-based processing. Motivated by these constraints, we propose Edge Code Cloak Coder (ECCC), a novel edge-cloud hybrid framework integrating lightweight quantized LLM with robust AST-based anonymization and edge-side privacy validation. ECCC enables high-performance, privacy-preserving LLM capabilities on consumer GPUs, anonymizing user code before securely delegating abstracted tasks to cloud LLMs. Experimental evaluations demonstrate that ECCC achieves competitive correctness (within 4–5pp of the GPT-4-based frameworks) and a perfect privacy score of 10/10, effectively balancing functionality and security for sensitive and proprietary code applications.- Anthology ID:
- 2025.winlp-main.14
- Volume:
- Proceedings of the 9th Widening NLP Workshop
- Month:
- November
- Year:
- 2025
- Address:
- Suzhou, China
- Editors:
- Chen Zhang, Emily Allaway, Hua Shen, Lesly Miculicich, Yinqiao Li, Meryem M'hamdi, Peerat Limkonchotiwat, Richard He Bai, Santosh T.y.s.s., Sophia Simeng Han, Surendrabikram Thapa, Wiem Ben Rim
- Venues:
- WiNLP | WS
- SIG:
- Publisher:
- Association for Computational Linguistics
- Note:
- Pages:
- 65–74
- Language:
- URL:
- https://preview.aclanthology.org/ingest-emnlp/2025.winlp-main.14/
- DOI:
- Cite (ACL):
- Haoqi He, Wenzhi Xu, Ruoying Liu, Jiarui Tang, Bairu Li, and Xiaokai Lin. 2025. ECCC: Edge Code Cloak Coder for Privacy Code Agent. In Proceedings of the 9th Widening NLP Workshop, pages 65–74, Suzhou, China. Association for Computational Linguistics.
- Cite (Informal):
- ECCC: Edge Code Cloak Coder for Privacy Code Agent (He et al., WiNLP 2025)
- PDF:
- https://preview.aclanthology.org/ingest-emnlp/2025.winlp-main.14.pdf