paper-with-me

Papers

PID Control-Based Self-Healing to Improve the Robustness of Large Language Models

2024-03-31 · Zhuotong Chen, Zihu Wang, Yifan Yang, Qianxiao Li, Zheng Zhang

Despite the effectiveness of deep neural networks in numerous natural language processing applications, recent findings have exposed the vulnerability of these language models when minor perturbations are introduced. While appearing semantically indistinguishable to humans, these perturbations can significantly reduce the performance of well-trained language models, raising concerns about the reliability of deploying them in safe-critical situations. In this work, we construct a computationally efficient self-healing process to correct undesired model behavior during online inference when perturbations are applied to input data. This is formulated as a trajectory optimization problem in which the internal states of the neural network layers are automatically corrected using a PID (Proportional-Integral-Derivative) control mechanism. The P controller targets immediate state adjustments, while the I and D controllers consider past states and future dynamical trends, respectively. We leverage the geometrical properties of the training data to design effective linear PID controllers. This approach reduces the computational cost to that of using just the P controller, instead of the full PID control. Further, we introduce an analytical method for approximating the optimal control solutions, enhancing the real-time inference capabilities of this controlled system. Moreover, we conduct a theoretical error analysis of the analytic solution in a simplified setting. The proposed PID control-based self-healing is a low cost framework that improves the robustness of pre-trained large language models, whether standard or robustly trained, against a wide range of perturbations. A detailed implementation can be found in:https://github.com/zhuotongchen/PID-Control-Based-Self-Healing-to-Improve-the-Robustness-of-Large-Language-Models.

📄 PDF Abstract BibTeX arXiv:2404.00828

Code (1)

zhuotongchen/pid-control-based-self-healing-to-improve-the-robustness-of-large-language-models 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Self-Healing Robust Neural Networks via Closed-Loop Control

2022-06-26 · Zhuotong Chen, Qianxiao Li, Zheng Zhang

Despite the wide applications of neural networks, there have been increasing concerns about their vulnerability issue. While numerous attack and defense techniques have been developed, this work investigates the robustne…

Adaptive Immunity for Software: Towards Autonomous Self-healing Systems

2021-01-07 · Moeen Ali Naqvi, Merve Astekin, Sehrish Malik, Leon Moonen

Testing and code reviews are known techniques to improve the quality and robustness of software. Unfortunately, the complexity of modern software systems makes it impossible to anticipate all possible problems that can o…

Anomaly Detection

Think it, Run it: Autonomous ML pipeline generation via self-healing multi-agent AI

2026-04-29 · Adela Bara, Gabriela Dobrita, Simona-Vasilica Oprea arxiv

The purpose of our paper is to develop a unified multi-agent architecture that automates end-to-end machine learning (ML) pipeline generation from datasets and natural-language (NL) goals, improving efficiency, robustnes…

Self-Healing Agentic Orchestrators for Reliable Tool-Augmented Large Language Model Systems

2026-05-31 · Rahul Suresh Babu, Adarsh Agrawal arxiv

Tool-augmented large language model (LLM) agents rely on orchestration layers that coordinate planning, retrieval, tool invocation, validation, memory, and recovery. In these systems, failures arise not only from model e…

Reinforcement Learning for Self-Healing Material Systems

2025-11-24 · Maitreyi Chatterjee, Devansh Agarwal, Biplab Chatterjee arxiv

The transition to autonomous material systems necessitates adaptive control methodologies to maximize structural longevity. This study frames the self-healing process as a Reinforcement Learning (RL) problem within a Mar…

Reinforcement Learning