MCP
RH

Runyi Hu

24 papers in the library · Same-name authors told apart using DBLP

Papers

24
Practical Secrets Extraction against Black-box LLMs
Shiqian ZhaoSiwei JiangXinfeng LiRunyi HuYandan ZhengCongyu GuoTianwei ZhangAnh Tuan Luu
We present a black-box secret extraction framework for commercial, API-based LLMs with output-only access, addressing the risk that training corpora contain memorized credentials. It combines Cross-Validated Secret Knowledge Distillation, which uses prompt variants and response cross-validation to distill secret-relevant behavior into a local proxy, with Proxy-Guided Secret Extraction and Candidate Filtering using truncated top-$p$ sampling and entropy measures. On benchmarks, it improves recovery and real-key rates over baselines while reducing latency; real-world tests recover masked provider-specific credentials from OpenAI and Claude Code systems.
arXivarXiv · · September 29, 2026
0
ECLIPSE: Self-Evolving Stealthy Prompt Injection Attack against Long-Horizon Agentic Systems
Shiqian ZhaoYangfan ZhouXinfeng LiRunyi HuYechao ZhangYi XieTianwei ZhangLuu Anh Tuan
ECLIPSE is a self-evolving prompt-injection framework for long-horizon LLM agents. It combines direct user-prompt injection with indirect tool-side injection. Stealthy Attack Trajectory Synthesis generates and verifies tool chains in a sandbox, then renders them as a one-shot prompt. Tool-Chain Steering transfers the plan via Static Workflow Encoding (embedding state cues in tool descriptions) and Dynamic Trajectory Correction (supplying corrective signals when execution deviates). On the LASE-Bench benchmark (120 tasks, 198 tools, 96.7% requiring ≥5 calls), ECLIPSE achieves up to 96.7% attack success without defense and 69.2% under a safety filter, exceeding the strongest baseline by 27.5%.
arXivarXiv · · August 31, 2026
0
0
Three Minds, One Legend: Jailbreak Large Reasoning Model with Adaptive Stacked Ciphers
Nguyen Viet AnhShiqian ZhaoGia DaoRunyi HuYi XieXiaobao WuAnh Tuan Luu
Recently, Large Reasoning Models (LRMs) have demonstrated superior logical capabilities compared to traditional Large Language Models (LLMs), gaining significant attention. Despite their impressive performance, the potential for stronger reasoning abilities to introduce more severe security vulnerabilities, though pointed out by some previous works, remains largely underexplored. Existing jailbreak methods often struggle to balance effectiveness with robustness against adaptive safety mechanisms. In this work, we propose SEAL, a novel jailbreak attack that targets LRMs through an adaptive encryption pipeline designed to override their reasoning processes and evade potential adaptive alignment. Specifically, SEAL introduces a stacked encryption approach that combines multiple ciphers to overwhelm the model’s reasoning capabilities, effectively bypassing built-in safety mechanisms. To further prevent LRMs from developing countermeasures, we incorporate two dynamic strategies—random and adaptive—that adjust the cipher length, order, and combination. Extensive experiments on real-world reasoning models, including DeepSeek-R1, Claude Sonnet, and OpenAI GPT-o4-mini, validate the effectiveness of our approach. Notably, SEAL achieves an attack success rate of 85.6% on GPT o4-mini, outperforming state-of-the-art baselines by a significant margin of 17.2%. Warning: This paper contains examples of inappropriate, offensive, and harmful content
ACL AnthologyACL Anthology · July 2026
0
14
TRACE: Structure-Aware Character Encoding for Robust and Generalizable Document Watermarking
Jiale MengJie ZhangRunyi HuZhe-Ming LuTianwei ZhangYiming Li
TRACE is a structure-aware document watermarking framework that embeds data by locally encoding characters with diffusion models, exploiting stable character structures that resist noise and are consistently represented across diverse characters, rather than edge features or predefined codebooks. It combines adaptive diffusion initialization that identifies handle points, target points, and editing regions via the MPE, TPE, and MDM algorithms; guided diffusion encoding to move selected points precisely; and masked region replacement with a dedicated loss minimizing feature alteration. Experiments show over 5 dB PSNR improvement and 5% higher extraction accuracy after cross-media transmission versus state-of-the-art methods, with broad generalizability across languages and fonts.
OpenReviewOpenReview · · May 5, 2026
0
Inference-time Alignment via Sparse Junction Steering
Runyi HuJie ZhangShiqian ZhaoJiale MengJiwei LiJason ZengMing WuMichael HeinrichYonggang WenTianwei Zhang
The authors argue that dense token-level intervention at every decoding step is unnecessary for inference-time alignment and propose Sparse Inference-time Alignment (SIA), which steers only at critical points along the generation trajectory. Its key insight is that high-entropy junctions empirically coincide with pivotal decision points that are especially susceptible to misalignment, so alignment reward signal is applied just there. Across model families and alignment objectives, steering 20%–80% of tokens gives superior alignment–efficiency trade-offs; for strong base models such as Qwen3, intervening on only 20% of tokens matches or surpasses heavily post-trained instruct models. This sparsity preserves the model's native distribution, integrates with search-based methods such as Best-of-N, and reduces sampling budget and wall-clock time under matched-quality comparisons.
OpenReviewOpenReview · · April 20, 2026
0
TRACE: Structure-Aware Character Encoding for Robust and Generalizable Document Watermarking
Jiale MengJie ZhangRunyi HuZhe-Ming LuTianwei ZhangYiming Li
We propose TRACE, a structure-aware document watermarking framework using diffusion models for localized character encoding. Unlike existing methods relying on edges or pre-defined codebooks, TRACE exploits stable, unified character structures for noise resistance. It adaptively identifies handle and target points and editing regions via specialized algorithms, then performs guided diffusion encoding and masked region replacement with a specialized loss to minimize feature alterations. Experiments show over 5 dB PSNR improvement and 5% higher extraction accuracy after cross-media transmission, with broad generalizability across languages and fonts for practical document security.
arXivarXiv · · March 13, 2026
0
0
Unifying Watermarking via Dimension-Aware Mapping
Jiale MengRunyi HuJie ZhangZheming LuIvor TsangTianwei Zhang
DiM unifies deep watermarking by modeling it as a dimension-aware mapping problem. Payloads are categorized as one-dimensional binary messages, two-dimensional spatial masks, or three-dimensional spatiotemporal structures; the mapping dimension between embedding and extraction determines behavior. Same-dimensional mappings preserve structure and enable fine-grained control, while cross-dimensional mappings allow spatial or spatiotemporal localization. In the video domain, varying only the embedding and extraction dimensions yields different capabilities, including spatiotemporal tamper localization and recovery of temporal order, without architectural changes.
arXivarXiv · · February 3, 2026
0
0
Inference-time Alignment via Sparse Junction Steering
Runyi HuJie ZhangShiqian ZhaoJiale MengJiwei LiJason ZengMing WuMichael HeinrichYonggang WenTianwei Zhang
This paper proposes Sparse Inference-time Alignment (SIA), showing that dense token-level steering at every decoding step is unnecessary. SIA performs sparse junction steering, intervening only at critical, high-entropy decision points along the generation trajectory, which are empirically susceptible to misalignment. Experiments across model families show that steering only 20%-80% of tokens achieves superior alignment-efficiency trade-offs; for Qwen3, intervening on 20% of tokens matches or surpasses post-trained instruct models. This approach preserves the model's native distribution, integrates with search methods, and yields wall-clock speedups.
arXivarXiv · · January 30, 2026
0
3
When Memory Becomes a Vulnerability: Towards Multi-turn Jailbreak Attacks against {Text-to-Image} Generation Systems
Shiqian ZhaoJiayang LiuYiming LiRunyi HuXiaojun JiaWenshu FanXiaobao WuXinfeng LiJie ZhangWei DongTianwei ZhangLuu Anh Tuan
This paper identifies a security risk in the memory mechanism of text-to-image systems, which store key information across multi-turn interactions, and proposes Inception, described as the first multi-turn jailbreak attack against real-world T2I systems that explicitly exploits this memory. Instead of fusing the unsafe target into one final adversarial prompt, Inception embeds the malicious intent at the inception of the chat session in memory, using segmentation—an NLP-based, semantic-preserving method that decomposes a prompt and its intent according to sentence structure to evade safety filters—and recursion, which expands sub-prompts that simple segmentation cannot separate and then segments again. Using VisionFlow, an emulation system with two-stage safety filters and industrial-grade memory mechanisms, the authors report a 20.0% higher attack success rate than the state of the art and confirm the threat on commercial platforms.
USENIXUSENIX · 2026
0
Visible Yet Unreadable: A Systematic Blind Spot of Vision Language Models Across Writing Systems
Jie ZhangTing XuGelei DengRunyi HuHan QiuTianwei ZhangQing GuoIvor Tsang
Current VLMs, though strong on clean text, exhibit a systematic blind spot when text is visually perturbed by splicing, recombining, or overlaying glyphs. On two psychophysics-inspired benchmarks spanning Chinese logographs and English alphabetic words, models produce unrelated or incoherent outputs on stimuli that remain legible to humans. This reveals a structural limitation: models rely on generic visual invariances but lack the compositional priors necessary for robust literacy, pointing to the need for architectures that encode symbol segmentation, composition, and binding across writing systems.
arXivarXiv · · September 4, 2025
0
0
Visible Yet Unreadable: A Systematic Blind Spot of Vision–Language Models Across Writing Systems
Jie ZhangTing XuGelei DengRunyi HuHan QiuTianwei ZhangQing GuoIvor Tsang
This paper probes whether vision-language models (VLMs) share human resilience to distorted writing. The authors build psychophysics-inspired benchmarks for Chinese logographs and English words by splicing, recombining, and overlaying glyphs into "visible-but-unreadable" stimuli that humans still read but models cannot. Despite strong clean-text performance, current VLMs drop severely, yielding unrelated or incoherent outputs. This points to a structural limitation: models over-rely on generic visual invariances and under-rely on compositional priors needed for robust literacy. Code, prompts, and evaluation protocols are released for replication, motivating architectures encoding symbol segmentation, composition, and binding across scripts.
OpenReviewOpenReview · · September 3, 2025
0
Three Minds, One Legend: Jailbreak Large Reasoning Model with Adaptive Stacked Ciphers
Viet-Anh NguyenShiqian ZhaoGia DaoRunyi HuYi XieLuu Anh Tuan
SEAL is a jailbreak attack that targets Large Reasoning Models (LRMs) by using an adaptive stack of multiple ciphers to override their reasoning and bypass safety mechanisms. It dynamically adjusts cipher length, order, and combination to prevent countermeasures. On GPT-o4-mini, SEAL achieves an 80.8% attack success rate, outperforming state-of-the-art baselines by 27.2%.
arXivarXiv · · May 22, 2025
0
13
Mask Image Watermarking
Runyi HuJie ZhangShiqian ZhaoNils LukasJiwei LiQing GuoHan QiuTianwei Zhang
MaskWM is a simple, efficient framework for image watermarking with two variants: MaskWM-D for global embedding, localization, and local extraction, and MaskWM-ED for robust local embedding/extraction. MaskWM-D trains a decoder guided by masks applied to watermarked images, enabling both global and local extraction. MaskWM-ED also applies masks during encoding to embed watermarks in specified regions. Experiments show state-of-the-art performance across tasks, outperforming baselines like WAM, with 15× computational efficiency and only 20 hours of training on a single A6000 GPU.
OpenReviewOpenReview · · May 2, 2025
0
When Memory Becomes a Vulnerability: Towards Multi-turn Jailbreak Attacks against Text-to-Image Generation Systems
Shiqian ZhaoJiayang LiuYiming LiRunyi HuXiaojun JiaWenshu FanXiao BaoXinfeng LiJie ZhangWei DongTianwei ZhangLuu Anh Tuan
This paper reveals that the memory mechanism of modern text-to-image systems can be exploited for jailbreak attacks, and proposes Inception, the first multi-turn attack that explicitly leverages this mechanism. Inception decomposes an unsafe prompt into multiple rounds via Segmentation and recursively expands sub-prompts that resist simple separation, evading safety filters. Experiments show Inception achieves a 20.0% higher attack success rate than the state-of-the-art, and also threatens real-world commercial platforms.
arXivarXiv · · April 29, 2025
0
12
Mask Image Watermarking
Runyi HuJie ZhangShiqian ZhaoNils LukasJiwei LiQing GuoHan QiuTianwei Zhang
MaskWM is a simple, efficient image-watermarking framework with two variants: MaskWM-D and MaskWM-ED. MaskWM-D introduces a masking mechanism during decoding that enables both global and local watermark extraction and localization, supporting applications like tamper detection. MaskWM-ED extends this by incorporating the mask into encoding, guiding the encoder to embed watermarks in designated local regions for improved robustness under regional attacks. MaskWM achieves state-of-the-art performance in global and local extraction, localization, and multi-watermark embedding, while requiring only 20 hours of training on a single A6000 GPU (15x more efficient than WAM).
arXivarXiv · · April 17, 2025
0
22
VideoShield: Regulating Diffusion-based Video Generation Models via Watermarking
Runyi HuJie ZhangYiming LiJiwei LiQing GuoHan QiuTianwei Zhang
VideoShield is a watermarking framework for diffusion-based video generation models. Unlike post-processing methods, it embeds watermark bits directly during the denoising process by mapping them to template bits that produce watermarked noise, eliminating extra training. A tamper localization feature detects changes both temporally (across frames) and spatially (within frames). DDIM Inversion reverses the video to its original watermarked noise for extraction. Experiments show effective watermark extraction and tamper detection without degrading video quality, and the method also applies to image generation models.
arXivarXiv · · January 24, 2025
0
38
SuperMark: Robust and Training-free Image Watermarking via Diffusion-based Super-Resolution
Runyi HuJie ZhangYiming LiJiwei LiQing GuoHan QiuTianwei Zhang
SuperMark is a training-free image watermarking framework that leverages diffusion-based super-resolution (SR) models. The key idea is to embed the watermark into initial Gaussian noise, then use a pre-trained SR model to denoise this watermarked noise into the final image. Extraction reverses this process via DDIM inversion. By relying on the robustness of the inversion process, SuperMark achieves strong resilience to distortions without training, attaining 99.46% extraction accuracy under standard distortions and 89.29% under adaptive attacks, while maintaining fidelity comparable to existing methods.
arXivarXiv · · December 13, 2024
0
11
Reinforcement Learning Enhanced LLMs: A Survey
Shuhe WangShengyu ZhangJie ZhangRunyi HuXiaoya LiTianwei ZhangJiwei LiFei WuGuoyin WangEduard Hovy
This survey systematically reviews reinforcement learning (RL) enhanced large language models (LLMs). It covers the basics of RL, popular RL-enhanced LLMs, and two widely used reward model-based techniques: Reinforcement Learning from Human Feedback (RLHF) and Reinforcement Learning from AI Feedback (RLAIF). It also explores Direct Preference Optimization (DPO), a set of methods that bypass the reward model to directly align LLM outputs with human preferences. The survey identifies current challenges and suggests directions for improvement.
arXivarXiv · · December 5, 2024
0
130
SuperMark: Robust and Training-free Image Watermarking via Diffusion-based Super-Resolution
Runyi HuJie ZhangYiming LiJiwei LiQing GuoHan QiuTianwei Zhang
SuperMark is a training-free watermarking framework that, instead of training an encoder-decoder, embeds a watermark into initial Gaussian noise and uses pretrained diffusion-based Super-Resolution models to denoise it into the watermarked image. Extraction reverses this via DDIM Inversion back to the watermarked noise, from which the watermark is recovered. This design leverages the robustness of inversion to achieve high fidelity while resisting distortions and adaptive attacks, reaching 99.46% bit accuracy under normal distortions and 89.29% under adaptive attacks. SuperMark supports various noise-injection and SR models, yielding strong cross-dataset and cross-model transferability.
OpenReviewOpenReview · · September 16, 2024
0
VideoShield: Regulating Diffusion-based Video Generation Models via Watermarking
Runyi HuJie ZhangYiming LiJiwei LiQing GuoHan QiuTianwei Zhang
VideoShield is a training-free watermarking framework for diffusion-based text-to-video and image-to-video models. Instead of post-processing frame-by-frame embedding, it maps watermark bits to template bits and injects them as watermarked noise during denoising generation. DDIM Inversion reverses the video to its original noise for straightforward extraction, while template bits enable both spatial and temporal tamper localization. Experiments across video and image models confirm effective watermark extraction and tamper detection without degrading video quality.
OpenReviewOpenReview · · September 16, 2024
0
Robust-Wide: Robust Watermarking against Instruction-driven Image Editing
Runyi HuJie ZhangTing XuJiwei LiTianwei Zhang
This paper introduces Robust-Wide, the first watermarking method designed to survive instruction-driven image editing, which alters images at the semantic level and defeats prior techniques. The method adapts the classic encoder-noise-decoder architecture by adding a Partial Instruction-driven Denoising Sampling Guidance (PIDSG) module. PIDSG exposes the encoder to diverse instruction injections and semantic-level modifications during training, encouraging it to embed the watermark into robust, semantic-aware regions. Experiments show Robust-Wide extracts 64-bit watermarks with a bit error rate of about 2.6% after editing, with negligible impact on image quality and editability, and generalizes to other editing methods like ControlNet-InstructPix2Pix and MagicBrush.
arXivarXiv · · February 20, 2024
0
38
Emage: Non-Autoregressive Text-to-Image Generation
Zhangyin FengRunyi HuLiangxin LiuFan ZhangDuyu TangYong DaiXiaocheng FengJiwei LiBing QinShuming Shi
Emage is a non-autoregressive text-to-image model that generates hundreds of image tokens in parallel, requiring only 16 sequential steps instead of the thousands needed by autoregressive models. With 346M parameters, it produces a 256×256 image in about one second on a single V100 GPU, achieving competitive quality with an order of magnitude lower inference latency. The paper explores various learning and inference strategies as well as initialized text encoders.
arXivarXiv · · December 22, 2023
0
4
Instruction Tuning for Large Language Models: A Survey
Shengyu ZhangLinfeng DongXiaoya LiSen ZhangXiaofei SunShuhe WangJiwei LiRunyi HuTianwei ZhangFei WuGuoyin Wang
This survey systematically reviews instruction tuning (IT), also referred to as supervised fine-tuning (SFT), which further trains large language models on (instruction, output) pairs to bridge the gap between next-word prediction and adherence to human instructions. The paper covers the general methodology, dataset construction, model training, and applications across modalities, domains, and applications, while also analyzing factors influencing SFT outcomes and discussing potential pitfalls and future research directions.
arXivarXiv · · August 21, 2023
0
2k+
Robust-Wide: Robust Watermarking against Instruction-driven Image Editing
Runyi HuJie ZhangTing XuJiwei LiTianwei Zhang
"Instruction-driven image editing allows users to quickly edit an image according to text instructions in a forward pass. Nevertheless, malicious users can easily exploit this technique to create fake images, which could cause a crisis of trust and harm the rights of the original image owners. Watermarking is a common solution to trace such malicious behavior. Unfortunately, instruction-driven image editing can significantly change the watermarked image at the semantic level, making current state-of-the-art watermarking methods ineffective. To remedy it, we propose , the first robust watermarking methodology against instruction-driven image editing. Specifically, we follow the classic structure of deep robust watermarking, consisting of the encoder, noise layer, and decoder. To achieve robustness against semantic distortions, we introduce a novel Partial Instruction-driven Denoising Sampling Guidance () module, which consists of a large variety of instruction injections and substantial modifications of images at different semantic levels. With , the encoder tends to embed the watermark into more robust and semantic-aware areas, which remains in existence even after severe image editing. Experiments demonstrate that can effectively extract the watermark from the edited image with a low bit error rate of nearly 2.6% for 64-bit watermark messages. Meanwhile, it only induces a neglectable influence on the visual quality and editability of the original images. blackMoreover, holds general robustness against different sampling configurations and other popular image editing methods such as ControlNet-InstructPix2Pix, MagicBrush, Inpainting, and DDIM Inversion. Codes and models are available at https://github.com/hurunyi/Robust-Wide."
CVFCVF · ECCV 2024
0
Frequent collaborators
Tianwei Zhang (21)
Jie Zhang (18)
Jiwei Li (13)
Shiqian Zhao (10)
Yiming Li (8)
Han Qiu (8)
Qing Guo (8)
Jiale Meng (5)
Xinfeng Li (4)
Luu Anh Tuan (4)
Ting Xu (4)
Yi Xie (3)