Preface

Xiao-Jun Wan, Derek F. Wong, Yue ZhangJCST 2025

Abstract

As Large Language Models (LLMs) become foundational components across diverse industries, the imperative for robust safety and evaluation frameworks has never been greater. This special section of the Journal of Computer Science and Technology (JCST) addresses critical gaps in the current AI landscape, focusing on security, ethical alignment, and reliability. We introduce three pivotal research contributions: AllGuard, a framework for edge-based multimodal content moderation; KnowBench, a benchmark for evaluating knowledge alignment in Large Visual Language Models (LVLMs); and CodeRankEval, a suite designed to assess code ranking and evaluation capabilities.

1. Introduction

The rapid advancement of LLMs has brought transformative potential alongside significant risks. Deploying these models in real-world scenarios requires addressing vulnerabilities related to reliability, ethical behavior, and security. Traditional evaluation methods often fail to capture the nuances of these complex systems, particularly in multimodal and specialized domains. The guest editors of this special section argue that current evaluation methods are often insufficient to gauge the true vulnerabilities of these complex systems. This section highlights the urgent need for rigorous, multi-faceted evaluation frameworks to ensure that AI systems remain secure and socially responsible.

2. Multimodal Edge Security: AllGuard

A significant challenge in AI safety is the deployment of content moderation tools on resource-constrained edge devices. Centralized cloud-based models, while powerful, introduce latency and privacy concerns. AllGuard addresses this by providing a lightweight and scalable multimodal LLM framework optimized for edge deployment.

Unlike traditional models that focus on a single data type, AllGuard enables real-time security assessment across four distinct input modalities: text, image, audio, and video. By moving security frameworks closer to the user, AllGuard ensures that AI-generated content (AIGC) can be moderated efficiently without relying on massive centralized infrastructure. This demonstration of multimodal versatility suggests that a single, lightweight framework can effectively handle diverse security assessments at the edge.

3. Knowledge Alignment in LVLMs: KnowBench

Large Visual Language Models (LVLMs) often suffer from a "knowledge gap" or misalignment, where a model possesses factual knowledge in its weights but fails to apply it correctly when presented with a corresponding visual input. KnowBench is a novel evaluation framework and benchmark designed specifically to measure this knowledge alignment.

Key findings from research using KnowBench indicate that while there is a positive correlation between a model's general knowledge mastery and its accuracy, significant inconsistencies persist. An LVLM might possess the correct information but fail to align it with a corresponding image. These results highlight a critical area for future improvement in multimodal AI robustness, emphasizing that "knowing" a fact is distinct from "applying" it in a visual context.

4. Evaluating Code Robustness: CodeRankEval

In the domain of software engineering, the focus of LLM evaluation has traditionally been on code generation. However, the ability to evaluate and rank existing code is equally vital for automated software engineering tasks. CodeRankEval is a comprehensive benchmark suite that shifts the focus toward code ranking and evaluation.

This research assesses the model's ability to identify optimal solutions among multiple candidates and its robustness when encountering flawed or suboptimal code. By testing how LLMs handle "flawed" code, CodeRankEval provides new insights into model reliability. The results offer a roadmap for developing LLMs that can not only write code but also serve as reliable reviewers and rankers in professional development environments, where recognizing the best solution is as important as generating one.

5. Conclusion and Future Directions

The papers presented in this special section offer a snapshot of the evolving field of AI safety. They underscore the necessity of moving beyond simple generation metrics toward more complex evaluations of alignment, edge-based security, and ranking capabilities. The editors acknowledge that these methods must continue to evolve as AI risks become more complex and multifaceted. Continuous collaboration between researchers, developers, and policymakers remains essential to ensure that LLMs are developed and deployed in a secure, trustworthy, and socially responsible manner.

Summary updated

BibTeX
@article{wan2025preface,
  author = {Xiao-Jun Wan and Derek F. Wong and Yue Zhang},
  title = {{Preface}},
  journal = {J. Comput. Sci. Technol.},
  year = {2025},
  doi = {10.1007/s11390-025-0005-6},
}
Figure