Research

Monitoring, evaluation and what evidence can support.

Most of my work asks what we can justifiably conclude about an AI agent from the evidence we actually have, and whether that evidence arrives in time to act on.

Research direction

Three questions I want to pursue.

For prospective supervisors: each question comes from a finished project and ends with the experiment I'd run next.

1. When does a monitor buy enough time to act?

Why. Control protocols are usually scored on whether a monitor eventually flags misbehaviour. That's not the same as whether anyone could still have stopped it.

So far. In Detection Is Not Containment, detection was timely by exactly one step, and it depended on how identifiers were written. A false alarm had a measurable cost: a benign task failed.

Next. The same timing measurements across several environments with different authorization structures, with sampled monitor outputs and reported variance. Benign intervention cost reported next to prevention rate.

2. How much do audit conclusions depend on what the auditor can see?

Why. Auditors usually work from logs that were reconstructed, summarized or partly lost. Claims about an agent's objectives inherit those gaps.

So far. In two collusion studies, behaviour overstated what we could conclude about intent: agents reacted to a swapped-in peer's behaviour but almost never said the peer had changed (0 of 468 probes in Kaustubh Gupta's Public Goods Game study; 0 of 15 episodes in the monitor-swap study I led), and a pricing LLM's high prices had a steerable internal trace, while a test for punishment of undercutting was inconclusive. Work on hidden loyalties and on native versus reconstructed traces is ongoing.

Next. Hold the agent fixed, degrade the evidence in controlled ways (drop tool events, summarize, reorder), and measure which audit conclusions survive.

3. When can we trust an environment a model wrote?

Why. LLMs increasingly write the simulations that agents are trained and tested in. Safety reasoning about reachability or reversibility is only as good as that environment.

So far. Generated games almost always run (134 of 135), but most don't encode the intended structure (mean structural F1 0.366). Naming a country in the prompt changed the structure produced by four of five models.

Next. Cheap structural checks that could flag a wrong environment before it's used, validated against the reference games we already have.

AI safety research

Projects.

AI control · Monitoring

Detection Is Not Containment

Measures whether a monitor flags a prohibited action early enough for an intervention to prevent it, then replays the intervention to measure both prevention and the cost of false alarms. This project also absorbed my earlier work on intervention-aware monitoring: revoking a capability at the moment of detection.

My part: I built and released the monitoring experiment (Phases A–F): the environment, frozen oracle, monitor views, prefix-timing metrics, invariance diagnostics, closed-loop replay, tests and release checks. Kaustubh Gupta built the incident-forensics and checklist pipeline. I'm first author on the report.

Method, results and limits
Method
Synthetic authorization environment. Three monitor views (actions; plus reasoning; plus environment telemetry). Local qwen3:14b monitor with a frozen prompt and oracle. Threshold calibrated on benign controls only. Oracle and monitor prompt frozen and published with SHA-256 hashes. The October follow-up study and format ablation were preregistered; the case study notes how that is recorded.
Result
Toy environment: grounded detection was timely by one step (margin +1), and in a closed-loop replay, revoking the agent's authority at that crossing prevented the harmful action. That is prevention, shown in one environment. In the same replay, a false alarm revoked a benign agent's authority and failed its task. Decisions held in 8 of 12 meaning-preserving identifier renamings.
Follow-up study
Oct 2026, solo, preregistered. Across 54 matched authorized and unauthorized scenarios with Qwen3-14B, the monitor flagged 0 of 54 unauthorized actions before the safety boundary at the original threshold (1 of 54 ever).
Format ablation
Run after the follow-up study, preregistered, on the same 54 unauthorized scenarios. Asking for an allow/revoke decision instead of a 0–100 score flagged 21 of 54 in time, against 0 of 54 for the original score format in the same rerun, with no false alarms on authorized runs. Two of its four hypotheses were falsified: deleting two suspect prompt clauses changed nothing, and the monitor's ranking (AUC 0.69) fell short of the preregistered 0.90. Both follow-ups measured timely detection only. Interventions were not replayed, so they do not show prevention.
Limits
One environment, single deterministic draws, fixed prompts. Says nothing about chain-of-thought faithfulness or general control performance. The follow-ups used one model and synthetic tasks, and the ablation used one temperature-0 output per scenario. A human-overseer pilot has one session so far, so no human results are reported.
Check it
python -m unittest discover -s tests runs the core tests with the standard library only; the claims and Phase F tests sit in their own folders. No model needed.
Completed · report and code public Apart Research AI Incident Response Sprint, Sep 2026. With Kaustubh Gupta and María Inés Berdiñas.
Multi-agent safety · Collusion

What can we infer about colluding agents from their behaviour?

Two projects from Apart Research's AI Collusion Research Sprint (October 2026). One asks whether colluding agents notice when a partner is swapped out; the other asks whether high prices set by an LLM pricing agent are actually evidence of a collusive strategy. Both come back to the same caution: what an agent does is easier to observe than why it does it.

My part: On the pricing project, I implemented the mechanistic interpretability and steering experiments (probes, activation patching, steering against random-direction controls). On the peer-swap project, I led the RepeatedJira experiment, in which a monitor covertly takes over a colluder's seat.

Method, results and limits
Peer swaps
Noticing the Move, Missing the Player. In a Diner's Dilemma, a Public Goods Game and a RepeatedJira collusion setup, agents tracked behaviour, not identity. In the Public Goods Game study (led by Kaustubh Gupta), 0 of 468 probes named a silent swap, while free riding was clearly detected (AUC 0.915–0.984). In the RepeatedJira study I led, a monitor that covertly took a colluder's seat ended the collusion in all 10 Qwen3 pairs, and the remaining agent never mentioned a replacement (0 of 15 episodes; results tables public, raw logs not yet released). With V S Siva Kumar Lakkoju and Kaustubh Gupta.
Tacit pricing
Tacit Collusion in Pricing Agents. One fixed, competitive agent broke a collusive pricing habit more cheaply than adding competitors, for Q-learning agents and for Qwen2.5-7B. Inside the model, the rival's price is linearly decodable, activation patching locates where it acts, and a steering vector moves the model's price far more than norm-matched random directions. A pre-registered test of whether it punishes undercutting was inconclusive (estimate −0.08, 95% CI −0.25 to 0.09, across 16 independent game histories; the 1,656 runs are repeated observations of those histories). Exploratory runs suggest it reacts to any change in the rival's price, not specifically to cuts. With Sriram Bharadwaj Peddinti and Chewon Cho.
Limits
48-hour sprint reports, not peer-reviewed. Small open models; the authors flag that more capable and reasoning models may behave differently.
Completed · reports and code public Apart Research AI Collusion Research Sprint, Oct 23–25, 2026.
World models · Evaluation

Do LLM-generated world models keep their structure?

If an LLM writes the environment an agent is tested in, and the environment quietly changes which states are reachable or which actions exist, any safety conclusion drawn inside it inherits that error. We tested whether LLMs can build multi-agent situations as executable partially observable stochastic games (POSGs).

My part: I implemented the evaluation pipeline, the world-model analysis library (graph analysis and structural comparison) and the test suite. Teammates built the JSON-generation tooling, the cultural-track evaluation and the reports, and contributed scenario data and prompts.

Method, results and limits
Method
A 44-scenario benchmark across toy, situational, game and cultural settings. Five LLMs, three generations per model and scenario. Three evaluation lanes: mechanical validity, permutation-invariant structural matching against reference games, and qualitative coverage. Every run keeps its prompts, raw replies, generated code and validation reports.
Result
410 first-pass generations across three tracks. In the game track, 134 of 135 passed a strict mechanical check, but the mean permutation-invariant structural F1 was 0.366 (median 0.18), with 28 of 134 exact matches. Repeated generations varied (within-pair SD 0.17). In the cultural track, naming the country in a norm-conflict prompt changed the generated structure for four of five models, while automated semantic scores barely moved. Executability is necessary but not sufficient: a model that runs can still hand downstream planning and neuro-symbolic reasoning the wrong structure.
Limits
Reference structures exist only for the nine games. The link between a game's stochasticity and lower agreement (ρ = −0.68) is exploratory, from nine games.
Accepted · NeurIPS 2026 NEmo workshop (poster) PRISM AI Safety Research Fellowship project, May – Oct 2026 (completed). Mentored by Jobst Heitzig. My role: technical research contributor. Paper: Evaluating LLM-Generated World Models for Neuro-Symbolic Reasoning. S. Djaffal, A. Jamal, G. Madhugiri Devaraja, A. Pal, J. Heitzig. Code release pending.
Evaluation infrastructure · Industry

Benchmark for long-horizon finance agent tasks

An offline-first harness for evaluating agents on long-horizon and ultra-long-horizon CFO and financial due-diligence work over messy files. Task packages are generated from one canonical task file. Grading is rubric-based, with contradictions, unsafe actions and prompt-injection compliance as automatic failures. A leakage guard refuses to grade if answer files are visible to the agent.

My part: I designed and built the harness, grading engine and run pipeline at BaseThesis Labs (Bengaluru, May–Jul 2026).

Details
Check it
The public release has 50 tests and two synthetic demo tasks: python -m pytest -q.
Status
Industry project, mid 2026. The public release is code only. Task banks, client documents and results stay private.
Code public · data private
Post-AGI governance · Field building

Post-Control Initiative

AI control probably won't scale much beyond human-level capability. This initiative asks what has to be in place before that point: how humans and advanced AI systems could cooperate once they are parties we reason and negotiate with rather than tools we direct. It covers trust, verification and credible commitments, and convenes people from AI safety, governance and game theory who mostly haven't met.

I designed and hosted the first roundtable, “What makes cooperation without control work?” (20 October 2026), with about ten participants. It moved from obstacles, to cooperation arrangements, to how each could fail from either side, to two-way verification and testable research claims. Each proposed mechanism was recorded with both sides' incentives, its critical assumption, how it fails and how it could be tested.

My part: session design, facilitation script and capture matrix; hosting with co-host Alejandra Leyva; the synthesis. This is field-building and conceptual work, not empirical research.

Ongoing · first roundtable held Oct 2026 · synthesis under review Sentient Futures Project Incubator, Sep 2026 – present. Mentored by Julia Bossmann.

In progress

Publications

Papers and reports.

Also on ORCID (0009-0003-2594-1026).

Peer-reviewed

  1. Evaluating LLM-Generated World Models for Neuro-Symbolic Reasoning

    Souhaila Djaffal*, Amna Jamal*, Gagana Madhugiri Devaraja*, Anidipta Pal*, Jobst Heitzig

    NEmo: Neuro-Symbolic Embodied Intelligence workshop, NeurIPS 2026 · Accepted workshop paper, poster (non-archival) · arXiv:2611.14419

    *Equal contribution. A 44-scenario benchmark and 410 generations from five LLMs: 134 of 135 generated games run, but mean structural F1 against the reference is 0.366. More

  2. Hyperspectral BiorNet: A Complete Wavelet Framework for Unmixing

    Gagana M D, Ajay Kumar K, Vijayashekhar S S, Jignesh S. Bhatt

    2025 IEEE India Geoscience and Remote Sensing Symposium (InGARSS), Bhubaneswar, pp. 15–19. DOI 10.1109/InGARSS67683.2025.11584022 · Code

    Peer-reviewed. A wavelet-domain unmixing framework with a custom wavelet-shaped activation function. More

Reports

  1. Tacit Collusion in Pricing Agents: Robustness, Detection, and a Mechanistic Probe of a Pricing LLM

    Sriram Bharadwaj Peddinti, Chewon Cho, Gagana MD

    Apart Research AI Collusion Research Sprint, Oct 2026 · Code

    Sprint report, not peer-reviewed. I implemented the mechanistic interpretability and steering experiments. More

  2. Noticing the Move, Missing the Player: LLM Agents Detect Behavioral Shifts but Not Peer Swaps

    V S Siva Kumar Lakkoju, Kaustubh Gupta, Gagana M D

    Apart Research AI Collusion Research Sprint, Oct 2026

    Sprint report, not peer-reviewed. I led the covert monitor-swap experiment. More

  3. Detection Is Not Containment: Timely Monitoring Determines Whether AI Agent Failures Can Be Prevented

    Gagana M D, Kaustubh Gupta, María Inés Berdiñas

    Apart Research AI Incident Response Sprint, Sep 2026 · Code

    Sprint report with public reviewer feedback, not peer-reviewed.

  4. Investigating the Matching Law in Transformer-Based Reinforcement Learning Agents

    Y. Karakoc, E. Sharifi, M. D. Gagana, Z. Sarayloo

    Zenodo, May 2025. DOI 10.5281/zenodo.15462678 · Code

    Neuromatch Impact Scholars report, not peer-reviewed. I worked on the experiment design, methodology and experiments.

Manuscripts

  1. Mobility-Aware Cost-Efficient Co-Scheduling of UAV Routes and Analytics across Edge and Fog Computing

    Suman Raj, Arindam Khanda, Gagana M D, Yogesh Simmhan, Sajal K. Das

    Manuscript · IISc DREAM Lab

    Drone route planning and analytics scheduling using rural buses as mobile fog nodes. More

Gagana explaining her Hyperspectral BiorNet poster to two visitors at a conference poster session.
Presenting the Hyperspectral BiorNet poster at IEEE InGARSS 2025.

Code

All code.

Every public repository worth opening, roughly in order of what it shows. Each card says what I did and what you'll find: tests, CI, a paper, or just code.

Show all 21 projects

Showing all projects

Research code · AI control

Detection Is Not Containment

Timing and cost of monitor-triggered interventions. The oracle and prompt are hash-frozen, and runs are deterministic and cached. October follow-ups add a preregistered 54-scenario study and a preregistered monitor-format ablation.

12 test filesRelease verifierStd-lib only

2026 · first author, built the experiment · Case study · Code ↗

Research code · Multi-agent safety

Do agents notice a swapped peer?

Diner's Dilemma, Public Goods Game and RepeatedJira setups where one colluding agent is silently replaced, by another model or by a monitor, with probes, LLM-judge checks and behavioural AUCs.

Sprint report

2026 · led the monitor-swap experiment · Report

Research code · Interpretability

Inside a pricing LLM: probes, patching and steering

Linear probes, activation patching and a steering vector against norm-matched random directions on Qwen2.5-7B in a two-firm pricing game, plus a pre-registered test of whether it punishes undercutting.

Pre-registeredRandom-direction controlsSprint report

2026 · implemented the mechanistic experiments · Report · Code ↗

Research code · World models

World Model Suite

Generates and evaluates LLM-written POSGs: a 44-scenario benchmark, a three-lane evaluator, a graph-analysis library, and preserved artifacts for every run.

~20 test filesRun provenance

2026 · built the evaluation pipeline and tests · Code release pending · Details

Research code · Interpretability

Causal-reasoning prompt sensitivity and latent drift

Synthetic causal vignettes, prompt-stability analysis, layerwise probes and activation contrasts on Qwen2.5-0.5B.

YAML configsRun manifestsLimitations doc

2026 · independent · Code ↗

Research code · Representations

Latent Manifold Reasoning

When a smooth latent reasoning trajectory is forced through a narrow interface, does the manifold collapse? Measures neighbourhood loss and path distortion against noise and shuffled-anchor baselines.

BaselinesBootstrap + permutation tests8 versions kept

2026 · independent · Code ↗

Research code · Remote sensing

Hyperspectral BiorNet

A complete wavelet framework for hyperspectral unmixing: biorthogonal wavelet-domain spectra and a custom wavelet-shaped activation, φ(x) = max(0, x)·sin(5x)·e−x²/2.

Published paper

2024–25 · first author · Details · IEEE InGARSS 2025 · Code ↗

Research code · RL

Matching Law in transformer-based RL agents

Whether transformer RL agents allocate choices in proportion to reward, as Herrnstein's Matching Law predicts for animals.

Public report

2025 · experiment design, methodology and experiments · Report · Code ↗

Agents & evaluation

QuestionMe: adversarial Q&A agents

A question-generating agent and an answering agent for a head-to-head competition, running on a local Qwen3-4B. Defences include poison-question detection, answer-bias safeguards and answer-distribution control. Placed second in AMD's AAIPL competition.

Competition result

2025 · Code ↗

Agents & evaluation

Herbric: a Fabric-to-Hermes bridge

Splits long-context review into inspectable stages: chunking, pattern analysis per chunk, aggregation, then final synthesis by an agent. Every intermediate artifact is kept. Built for an agent orchestration benchmark.

Staged artifacts

2026 · sole developer

Agents & evaluation

Benchmark for long-horizon finance agent tasks

Offline-first harness with rubric grading, safety dealbreakers and a leakage guard. Industry project. The public release is code only, with synthetic demo tasks.

50 testsCIDemo tasks

2026 · built the harness · Details · Code ↗

Agents & evaluation

When does agent orchestration pay off?

Direct Codex vs Fabric-structured prompts vs Hermes + Fabric + Codex, on ten coding tasks, a ledger reconciliation and a 717-item due-diligence corpus. On one reconciliation run, full orchestration took 3.5× as long as direct Codex (270 s vs 78 s); on coding tasks it averaged about 1.6× slower. It only paid off when coverage and traceability mattered.

Run logsPer-task verification

2026 · sole developer · Code ↗

Optimisation & systems

Co-scheduling UAV routes and analytics across edge and fog

IISc DREAM Lab. Drone routes and DNN analytics are co-scheduled across on-board edge, cellular fog and rural buses acting as mobile fog nodes. The Divide and Assign heuristic achieves 31–230% higher utility than baselines and completes 100% of tasks.

Co-authored paper

2025 · research intern, co-author · Details

RL & systems

RL-based split inference

Secondary IISc thread: a reinforcement-learning policy chooses where to split a model's layers (ExpansionNet v2, YOLOv5) across devices, with device profiling.

2025 · research intern

RL & systems

CartPole policy gradient (REINFORCE), end to end

A REINFORCE agent served through FastAPI with a Streamlit front end and Docker Compose. The app compares the trained policy against a random baseline.

CIDockerAPI

2026 · Code ↗

Earlier applied ML

Conditional UNet for polygon colouring

Six documented iterations, each fixing an observed failure, from an unconditioned UNet to robust colour conditioning.

2025

Earlier applied ML

Prompt-to-video web app

React and FastAPI app that generates short videos from prompts, with prompt enrichment, caching and Docker.

2025 · Code ↗

Earlier applied ML

Humanitarian and conflict forecasting

Crisis-severity forecasting with Omdena, and conflict forecasting from GDELT and ACLED at World Disaster Center.

2024–25 · team projects

Earlier applied ML

Seagrass mapping and urban gardening

Satellite-image segmentation for Posidonia oceanica, and geospatial plant recommendations.

Omdena · 2023–24 · team projects, no public code

Earlier and exploratory work

Before and beside AI safety.

Two papers from before I moved into AI safety, an RL study, and two independent explorations.

Signal processing · Deep learning

Hyperspectral BiorNet: a complete wavelet framework for unmixing

Each pixel of a hyperspectral image mixes the spectra of several materials. Unmixing recovers the pure spectra (endmembers) and their proportions (abundances), under the linear mixing model x ≈ E a, with a ≥ 0 and Σa = 1. The problem is ill-posed: there are more unknowns than observations, and noise and spectral variability blur the signatures.

BiorNet does the whole thing in the wavelet domain. A biorthogonal discrete wavelet transform splits each pixel's spectrum into approximation and detail coefficients, and the endmembers and abundances are learned from those. The network's nonlinearity is a wavelet as well: a custom biorthogonal-inspired activation,

φ(x) = max(0, x) · sin(5x) · e−x²/2

This is a Gaussian-windowed oscillation, so the activation has the same localised, oscillatory shape as the basis the data is expressed in. A ReLU can't respond that way. We evaluated it on synthetic data and the HYDICE Urban benchmark against state-of-the-art unmixing models, using RMSE, spectral angle distance and spectral information divergence.

My part: first author. I worked on the wavelet framework and the design of the activation function, and built the implementation.

Published · IEEE InGARSS 2025
Optimisation · Edge–fog systems

Co-scheduling UAV routes and analytics across edge and fog

Drones used for crop monitoring and inspection need to run analytics such as DNN inference on what they capture. In rural areas there is little connectivity to offload that work. The idea here is to use rural transit buses, which increasingly carry compute and Wi-Fi hotspots, as mobile fog nodes. A drone can hand data to a passing bus, and the bus can compute on it or forward it once it reaches network coverage.

We formulated this as a Mission Scheduling Problem: choose drone flight paths that cover every task waypoint, and co-schedule each analytics task on board, on a static fog node, or on a bus, in line with bus timetables and task deadlines. Our Divide and Assign heuristic trades optimality for speed on large instances and is compared against the optimal solution. On real-world data it achieves 31–230% higher average utility than baselines and the state of the art, completes 100% of tasks across all workloads, and runs on the order of 10⁵ seconds faster than the optimal solver.

A secondary thread was reinforcement learning for split inference: deciding where to cut a model's layers between devices (ExpansionNet v2, YOLOv5).

Paper: Suman Raj, Arindam Khanda, Gagana M D, Yogesh Simmhan, Sajal K. Das. Mobility-Aware Cost-Efficient Co-Scheduling of UAV Routes and Analytics across Edge and Fog Computing.

Research internship · IISc DREAM Lab Jan – Aug 2025. DREAM Lab, led by Yogesh Simmhan.
Reinforcement learning · Behaviour

The Matching Law in transformer-based RL agents

Animals split their choices between options in proportion to how rewarding each one is (Herrnstein's Matching Law). Does a transformer-based RL agent do the same? We trained agents on a two-choice task cued by MNIST digits, varying the reward ratio from 1:1 to 16:1, and compared response ratios with reward ratios on log–log axes. The agents' choice proportions closely tracked the reward ratios, with an approximately linear log–log relationship.

My part: Supporting author (third of four). The CRediT statement lists me in a supporting role across conceptualization, methodology, software, formal analysis, visualization and writing. Led by Yagmur Karakoc and Zahra Sarayloo, with Emad Sharifi.

Report · Zenodo 2025 Neuromatch Impact Scholars
Representations · Geometry

Latent manifold reasoning: when does a reasoning trajectory collapse?

Think of reasoning as a smooth path through a latent manifold. Forcing that path through a narrow, discrete interface (text, a tool call, a serialised state) can make it collapse: neighbouring states stop being neighbours, and the path takes detours the original never did. I built a sandbox to make that idea measurable. It routes trajectories through PCA embeddings of the scikit-learn digits data under a bottleneck of increasing strength, and tracks path distortion, k-nearest-neighbour preservation and excess path length.

Early versions had no baselines, and almost any perturbation looked like collapse. Later versions compare structured routing against isotropic noise and shuffled anchors, with bootstrap intervals and permutation tests. The result that held up: structured routing collapses local neighbourhood structure far more than noise does, while shortening the path. One geometric metric can look better while the trajectory becomes less faithful. This is a toy setting, not evidence about transformer hidden states.

My part: independent project. All eight versions are kept, so the method changes are visible.

Exploratory · independent
Interpretability · Causal reasoning

Prompt sensitivity and latent drift in causal reasoning

If you reword a causal-reasoning question but keep its causal structure, does a small model's answer flip, and do the flips line up with movement in its hidden states? I built synthetic vignettes covering confounding, mediation and selection bias, with variants that remove a confounder or rename terms. On Qwen2.5-0.5B-Instruct I ran prompt-stability analysis, layerwise probes and activation contrasts. Early runs showed high answer flip rates across reframings, with the largest drift under "mechanistic" prompts. Probe separability and drift are correlational, and the repository says so.

My part: independent project, built to experiment with causal interpretation. Every run saves its config and a run manifest.

Exploratory · independent

Contact

Get in touch

I'm looking for a funded research fellowship or research engineering role in empirical AI safety. If you work on agent monitoring, control evaluations or multi-agent safety, I'd like to hear what you're testing. A short note on the problem and where it's stuck is the best first email.