Kavienan Jegatheesan

Publications

Under Review

When Tools Lie: Reliability of Mathematical Agents Under Corrupted Tool Feedback

Published

Kavienan Jegatheesan (First Author)

6th Workshop on Mathematical Reasoning and AI, NeurIPS 2026 · 2026

arXiv

Abstract

Mathematical problem solving often requires deterministic computational steps that agents delegate to tools and implicitly trust. Yet tools can fail silently, returning plausible but incorrect results. How well can agents detect and correct corrupted tool call outputs? We study this through a controlled corruption framework where a hidden interceptor replaces tool call results with plausible incorrect information on targeted problems. We evaluate agents across 31 problems under four verification designs including no verification (baseline), mandatory same-context reflection, optional fresh-context verification, and optional structural verification. Without verification, corruption causes dramatic accuracy loss, from 100% down to 72.4%. Mandatory reflection fully recovers this performance to 100%. Optional verification improves accuracy only when models actively invoke it. Our results show that checking frequency is strongly associated with robustness differences, while unequal invocation prevents a controlled comparison of verifier quality. A supporting recovery experiment shows that full problem restart succeeds in 100% of cases after explicit detection. These findings demonstrate that verifier availability and verification policy are separate components of mathematical-agent reliability. Mandatory policies enforce verification while optional policies depend on the model’s own choice to invoke it.

Random Sampling for Linear Learned Index Fitting

Published

Kavienan Jegatheesan (First Author)

ERU Research Symposium 2026, University of Moratuwa · 2026

Abstract

Fitting a learned index’s model over an entire dataset costs time proportional to dataset size and makes the fit predictable, letting an adversary who knows the fitting rule corrupt it with certainty by placing a few extreme outlier keys. This work tests whether fitting the model on a small, randomly drawn subset of the keys preserves prediction accuracy and query speed while making the fitting cost independent of dataset size, and whether choosing that subset randomly, rather than by a fixed rule, provides measurable robustness against such adversarial data. Benchmarks across six key distributions and three dataset sizes show that a random-sample fit matches the accuracy and speed of an exact fit on non-adversarial data, and yields up to 319 times lower error and up to 2.7 times faster queries than the exact fit under adversarial poisoning, while a fixed, deterministic sample offers no such protection. The safe sample size is governed only by the poisoned fraction, not by dataset size, so it does not need to be re-derived as the dataset grows.

Manuscripts in Preparation

Deriving Execution Environments for Dynamic Analysis of Packages

In Preparation

Kavienan Jegatheesan (Co-Author)

36th USENIX Security Symposium (target venue) · 2026

Abstract

Parses package source into a syntax tree to extract the machine conditions malicious packages gate their payloads on, then derives a covering-array-based set of execution environments guaranteed to combine those conditions. Provisions each environment for an existing dynamic scanner and compares detections against a single reference environment and a random baseline of equal size, to test whether the derived set actually helps.

AgentWorm: LLM-Driven Autonomous Network Exploitation and Multi-Host Coordination

In Preparation

Kavienan Jegatheesan (Co-Author)

Target venue to be determined · 2026

Abstract

Studies autonomous cyber operation in a controlled, research-only environment through a lab-based command-and-control architecture, where a lightweight local agent runs on compromised hosts and a centralized controller coordinates reconnaissance, credential discovery, lateral movement, and multi-host propagation. Contributes a compact, reproducible testbed for examining how LLM-driven agents reason, persist, and coordinate across a segmented network, with an emphasis on traceability, observability, and safety in AI-assisted security research.