LLMs are becoming an indispensable part of network control systems due to their impressive reasoning. Before such LLM-enabled systems can be deployed, it is imperative to develop tools that can audit their performance on previously unseen inputs. However, auditing these systems is challenging due to the inherent opacity of LLMs. LENS is the first step towards black-box performance analysis of LLM-enabled network control systems. It uses novel methods to extend deep reinforcement learning to guide the search for performance gaps and inputs that make LLMs struggle. LENS finds large gaps for LLM-based traffic engineering and GPU allocation systems, and even matches existing white-box analyzers designed for hand-crafted TE heuristics.
Figures & tables
Tool
No Additional Formal Modeling
No Source Code Access
Structure Aware Search
LENS (ours)
✓
✓
✓
White-box analysis ( Namyar et al., 2024a ; Goel et al., 2024 ; Tahmasbi Arashloo et al., 2023 )
✗
✓
✓
Source code analysis ( Karimi et al., 2026 )
✓
✗
✓
Gray-box analysis ( Namyar et al., 2024c )
✗
✓
✓
Traditional black-box ( Davis, 1991 ; Kirkpatrick et al., 1983 )
✓
✓
✗
Table 1. Related work on performance analyzers.
Figure 1. LLM-based traffic engineering workflow.
TE
GPU Scheduling
State
Demand matrix of src–dest traffic volumes.
Job matrix of throughput and GPU requirements.
Action
Edit multiple demand entries.
Edit throughput/GPU use of multiple jobs.
Reward
Routed flow difference (OPT vs. LLM).
Selected throughput difference (OPT vs. LLM).
Table 2. Mapping RL to specific problem domains.
Figure 2. LENS architecture. The policy edits a structured input, the environment projects the edit back into the valid input space, and the QOPT(I) and QLLM(I) executors evaluate the result. The measured gap is stored as a reward and reused by the learner.
Figure 3. LENS outperforms black-box baselines for (a) traffic engineering targets, LMTE and Teal, and (b) cluster scheduling with LLMCoSolver. Teal is the learned target discussed in Section 4.2 .
Figure 4. LENS matches MetaOpt, while outperforming MetaEase and black-box baselines under the same time budget.
Figure 5. LENS’s multi-stage refinement finds larger gaps than vanilla RL under the same search setup. (a) Traffic engineering, (b) Cluster scheduling with different job counts.
Figure 6. Sparse reward frequency k trades search quality for runtime on LMTE.
In this paper, we present a novel black-box online controller that uses only end-to-end measurements over short segments, without internal instrumentation, and hill climbing to maximize goodput, defined as the throughput of requests that satisfy the service-level objective. We provide empirical evidence that this design is well-founded. Using this advance in LLM serving as a concrete example, we then discuss the importance of integrating system performance and sustainability metrics into Factsheets for organizations adopting AI systems.
Yonas Atinafu, Henry Lin, Robin Cohen
David R. Cheriton School of Computer Science, University of Waterloo, Waterloo, Canada
Algorithmic audits are essential tools for examining systems for properties required by regulators or desired by operators. Current audits of large language models (LLMs) primarily rely on black-box evaluations that assess model behavior only through input-output testing. These methods are limited to tests constructed in the input space, often generated by heuristics. In addition, many socially relevant model properties (e.g., gender bias) are abstract and difficult to measure through text-based inputs alone. To address these limitations, we propose a white-box sensitivity auditing framework for LLMs that leverages activation steering to conduct more rigorous assessments through model internals. Our auditing method conducts internal sensitivity tests by manipulating key concepts relevant to the model's intended function for the task. We demonstrate its application to bias audits in four simulated high-stakes LLM decision tasks. Our method consistently indicates substantial dependence on protected attributes in model predictions, even in settings where standard black-box evaluations suggest little or no bias. Our code is openly available at https://github.com/hannahxchen/llm-steering-audit
Safe deployment of increasingly capable models will likely come to rely on latent-space monitoring as a complement to behavioral evaluations, especially when evaluation-aware models exhibit scheming or deception. However, if models can also control their own activations, deception could extend into the latent space itself. With this in mind, we introduce the Activation Controllability Benchmark to quantify the extent to which models can modulate their residual stream via natural-language instruction. Across model families and capability levels, we find that most LLMs can control the direction and magnitude of their residual stream activations with some degree of temporal resolution, though performance varies considerably across models. In simple tasks, this level of control can evade activation-based monitoring methods (including linear probes, natural language autoencoders, activation oracles, and the Jacobian lens), albeit imperfectly. These results suggest that control over the activation space itself could become a confound for monitoring as introspective capabilities increase; therefore, we recommend that frontier labs and evaluators track activation controllability in future models.
Marek Mateusz Kowalski, Joshua Fonseca Rivera, Uzay Macar +1