EUVIMEDEUVIMED entdecken
Crossref

Controlling Large Language Models Through Concept Activation Vectors

Hanyu Zhang, Xiting Wang, Chengao Li, Xiang Ao, Qing He

Proceedings of the AAAI Conference on Artificial Intelligence · 11.04.2025 · 39 (24) · 25851-25859

DOI: 10.1609/aaai.v39i24.34778 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the AAAI Conference on Artificial Intelligence, online erschienen am 11.04.2025. Verfasst von Hanyu Zhang und 4 weiteren Autor:innen. Die Arbeit wurde bisher 6-mal zitiert (Crossref).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

As large language models (LLMs) are widely deployed across various domains, the ability to control their generated outputs has become more critical. This control involves aligning LLMs outputs with human values and ethical principles or customizing LLMs on specific topics or styles for individual users. Existing controlled generation methods either require significant computational resources and extensive trial-and-error or provide coarse-grained control. In this paper, we propose Generation with Concept Activation Vector (GCAV), a lightweight model control framework that ensures accurate control without requiring resource-extensive fine-tuning. Specifically, GCAV first trains a concept activation vector for specified concepts to be controlled, such as toxicity. During inference, GCAV steers the concept vector in LLMs, for example, by removing the toxicity concept vector from the activation layers. Control experiments from different perspectives, including toxicity reduction, sentiment control, linguistic style, and topic control, demonstrate that our framework achieves state-of-the-art performance with granular control, allowing for fine-grained adjustments of both the steering layers and the steering magnitudes for individual samples.

Zitieren

APA

Zhang, H., Wang, X., Li, C., Ao, X., & He, Q. (2025). Controlling Large Language Models Through Concept Activation Vectors. Proceedings of the AAAI Conference on Artificial Intelligence, 39(24), 25851-25859. https://doi.org/10.1609/aaai.v39i24.34778

Vancouver

Zhang H, Wang X, Li C, Ao X, He Q. Controlling Large Language Models Through Concept Activation Vectors. Proceedings of the AAAI Conference on Artificial Intelligence. 2025;39(24):25851-25859. doi:10.1609/aaai.v39i24.34778

BibTeX
@article{Zhang2025,
  author = {Zhang, Hanyu and Wang, Xiting and Li, Chengao and Ao, Xiang and He, Qing},
  title = {Controlling Large Language Models Through Concept Activation Vectors},
  journal = {Proceedings of the AAAI Conference on Artificial Intelligence},
  year = {2025},
  volume = {39},
  number = {24},
  pages = {25851--25859},
  doi = {10.1609/aaai.v39i24.34778}
}
Kostenlos starten →