The remarkable success of Large Language Models (LLMs) has illuminated a promising pathway toward achieving Artificial General Intelligence for both academic and industrial communities, owing to their unprecedented performance across various applications. As LLMs continue to gain prominence in both research and commercial domains, their security and safety implications have become a growing concern, not only for researchers and corporations but also for every nation. Currently, existing surveys on LLM safety primarily focus on specific stages of the LLM lifecycle, e.g., deployment phase or fine-tuning phase, lacking a comprehensive understanding of the entire "lifechain" of LLMs. To address this gap, this paper introduces, for the first time, the concept of "full-stack" safety to systematically consider safety issues throughout the entire process of LLM training, deployment, and eventual commercialization. Compared to the off-the-shelf LLM safety surveys, our work demonstrates several distinctive advantages: (I) Comprehensive Perspective. We define the complete LLM lifecycle as encompassing data preparation, pre-training, post-training, deployment and final commercialization. To our knowledge, this represents the first safety survey to encompass the entire lifecycle of LLMs. (II) Extensive Literature Support. Our research is grounded in an exhaustive review of over 800+ papers, ensuring comprehensive coverage and systematic organization of security issues within a more holistic understanding. (III) Unique Insights. Through systematic literature analysis, we have developed reliable roadmaps and perspectives for each chapter. Our work identifies promising research directions, including safety in data generation, alignment techniques, model editing, and LLM-based agent systems. These insights provide valuable guidance for researchers pursuing future work in this field.
A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment
This paper introduces the concept of full-stack safety to address the entire lifecycle of Large Language Models (LLMs) from data preparation to commercialization, providing comprehensive insights and promising research directions.
- Year
- 2025
- Venue
- arXiv 2025
- Authors
- 103
- Hosting
- Abstract onlyARXIV-DEFAULT
Cite
Notes
Only stored in your browser.
Attribution
- Abstract & full text
- arxiv.org/abs/2504.15585v4ARXIV-DEFAULT
- TL;DR
- Semantic Scholar
Abstract
Authors
103Jiaming JiKai WangYaodong YangYu WangLei BaiXiao WangYang LiuYi YuHao WuZhaoxin FanNingyu ZhangYue LiuYu-Gang JiangBo AnJiaheng ZhangYifan ZhangJie ZhangDongrui LiuGuibin ZhangZhenhong ZhouKun WangYibo YanQingsong WenWei WangYufei GuoFan ZhangDaCheng TaoPhilip S. YuQiufeng WangXinfeng LiXiaojun JiaXiang WangJun SunJiawei LiXiaoFeng WangXingjun MaXuming HuMohit BansalLuu Anh TuanDonghai HongWenxuan WangTianlong ChenShirui PanJunfeng FangLiang LinLingjuan LyuJen-tse HuangJoey Tianyi ZhouYizhou SunXiaolong JinBhavya KailkhuraYifan JiangYihao HuangJindong GuQing LiCong WuHui XiongYiming LiFelix Juefei-XuWenyuan XuTianwei ZhangDongxia WangJingyi WangLiang PangHeng ChangShiqian ZhaoQing GuoGuowen XuHongwei LiZitong YuYi DingChenghao LiMiao YuJing ChenZhihao XuTianlin LiChengwei LiuChenlong YinGuancheng WanJunlin WuKe TangJiahao WuWenke HuangYanwei YueShicheng XuWeisong SunYingxin LaiWenjie QuYuval EloviciHanjun LuoJinhu FuHaolang LuXinye CaoXinyun ZhouWeifei JinFanci MengJunyuan MaoMinghe WangQiankun LiChongye GuoYalan QinYanhui LiXinyu Deng