Online Safety Analysis of Large Language Models: Benchmarks, Evaluation, and Future PathsOnline Safety Analysis for LLMs: a Benchmark, an Assessment, and a Path Forward
The researchers conduct a systematic evaluation of online safety analysis during the generation stage of large language models, and the authors claim to have established the first publicly available benchmark in this direction. Existing quality assurance methods mostly focus on post-hoc analysis after generation; this work first uses a pilot study to verify the feasibility of detecting unsafe outputs early in generation, and the benchmark covers multiple methods, models, tasks, datasets, and evaluation metrics. Analysis based on the benchmark reveals the strengths and weaknesses of various state-of-the-art methods on open-source and closed-source models, allowing selection of appropriate methods according to application scenarios and task requirements; the authors also explore hybrid approaches that combine multiple methods to reach comprehensive safety conclusions, believing this points to a promising direction for developing trustworthy quality assurance methods.