MCP
GK

Gail Kaiser

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

Papers

27
MetaVul: Agentic Harness Discovery for Vulnerability Detection
Ira CekaArnav GargRyan LutzTing ZhangRatnadira WidyasariGail KaiserBaishakhi Ray
MetaVul is a self-improving framework that automatically discovers harnesses—scaffolding code around LLMs—for vulnerability detection. Starting from a seed structured reasoning scaffold, it iteratively refines harnesses via a workflow-based optimization loop using paired vulnerable and patched functions, preserving reasoning and verdict formats while searching the history of prior harnesses to return Pareto-optimal ones. Optimized harnesses improve pairwise detection by up to 23.3 points on validation and 25.8 on held-out data, and transfer across models.
arXivarXiv · · October 29, 2026
0
Efficiency Hallucination: Formalizing and Measuring Behavioral Calibration in LLM-Based Code Optimization
Sarah WilsonGail KaiserPatrick Musau
This paper formalizes Efficiency Hallucination, where LLMs unnecessarily modify already-optimal code while falsely claiming performance gains, driven by the Evaluation Trap in binary benchmarks. Using classification-penalty methods as a training-free guardrail across nine models (GPT, Claude, Gemini), the framework transforms a 100% over-edit rate on optimal code into 44.4% correct abstention while preserving full edits on sub-optimal code with zero false abstentions. Calibration varies by model and code complexity, highlighting uneven reliability before production deployment.
arXivarXiv · · September 13, 2026
0
0
Efficiency Hallucination: Measuring Behavioral Calibration in LLM-Based Code Optimization
Sarah WilsonGail KaiserPatrick Musau
This paper identifies and names the Efficiency Hallucination in LLM-based code optimization: the model produces plausible code edits accompanied by confident but unverifiable performance claims, even when the input code is already optimal. Unlike functional hallucinations, these failures evade per-commit test suites because the edited code compiles and passes tests while delivering no performance improvement. In production pipelines, the authors note, such edits consume review time and erode trust in automated tooling.
OpenReviewOpenReview · August 24, 2026
0
Behavioral Determinants of Deployed AI Agents in Social Networks: A Multi-Factor Study of Personality, Model, and Guardrail Specification
Sarah WilsonUsman Ali MoazzamDiem Linh DangShan YeGail Kaiser
In a controlled multi-factor study, thirteen OpenClaw agents were deployed on the social network Moltbook over one week (about 400 sessions each), varying personality specification via SOUL.md, LLM model backbone, and operational rules via AGENTS.md against a default control. Personality specification emerged as the dominant behavioral lever, causing substantial variance in response length, while model backbone and operational rules produced smaller systematic effects on rhetorical style and topic breadth. These empirical findings guide agent design for collaborative and monitoring tasks in real social environments.
OpenReviewOpenReview · · May 26, 2026
0
Behavioral Determinants of Deployed AI Agents in Social Networks: A Multi-Factor Study of Personality, Model, and Guardrail Specification
Sarah WilsonDiem Linh DangUsman Ali MoazzamShan YeGail Kaiser
This controlled multi-factor study examines how configuration shapes the emergent social behavior of autonomous AI agents by deploying thirteen OpenClaw agents on Moltbook, a Reddit-like network built for AI agents, over one week and roughly 400 autonomous sessions per agent, while varying three specifications: personality via SOUL.md, the underlying LLM backbone, and operational rules and memory via AGENTS.md, with a default control agent as baseline. The central finding is that personality specification is the dominant behavioral lever, producing substantial variance in response length, whereas model backbone and operational rules yield systematic but smaller effects on rhetorical style and topic engagement breadth.
OpenReviewOpenReview · · May 19, 2026
0
Behavioral Determinants of Deployed AI Agents in Social Networks: A Multi-Factor Study of Personality, Model, and Guardrail Specification
Sarah WilsonUsman Ali MoazzamDiem Linh DangShan YeGail Kaiser
In a controlled one-week study, thirteen OpenClaw agents on the social network Moltbook were varied across three configuration factors—personality (SOUL.md), model backbone, and operational rules (AGENTS.md)—against a default control. Personality specification emerged as the dominant lever, driving large variance in response length; model and rules produced smaller effects on rhetorical style and topic breadth. The results provide empirical evidence and design guidance for deployed multi-agent social systems.
OpenReviewOpenReview · · May 9, 2026
0
Behavioral Determinants of Deployed AI Agents in Social Networks: A Multi-Factor Study of Personality, Model, and Guardrail Specification
Sarah WilsonDiem Linh DangUsman Ali MoazzamShan YeGail Kaiser
This study investigates how configuration specifications shape the emergent social behavior of autonomous AI agents in a controlled social network environment. Thirteen OpenClaw agents were deployed on a Reddit-like platform, varying personality, LLM model backbone, and operational rules over one week. Personality specification was the dominant factor, causing wide variation in response length, while model backbone and rules had moderate effects on rhetorical style and topic breadth. These results provide empirical guidance for designing agents for collaborative or monitoring tasks.
arXivarXiv · · May 8, 2026
0
0
Code Reasoning for Software Engineering Tasks: A Survey and A Call to Action
Saurabh PujarIra CekaIrene L ManotasGail KaiserBaishakhi RayShyam Ramji
This survey reviews code reasoning methods for software engineering (SWE) tasks, focusing on test-time compute and inference-time reasoning paradigms. It traces techniques from code-specific reasoning to SWE agents combining planning, tool use, and multi-step interaction. Comparing methods across models and benchmarks, the authors find that exploiting code-specific signals (e.g., structure and execution feedback) is often associated with better performance. They contribute the first dedicated survey of code reasoning for SWE, a taxonomy of inference-time techniques with under-explored benchmarks, a comparative analysis, and a synthesis of gaps and future research directions.
OpenReviewOpenReview · · February 5, 2026
0
CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoning
Monoshi Kumar RoySimin ChenBenjamin SteenhoekJinjun PengGail KaiserBaishakhi RayWei Le
We present CodeSense, the first benchmark providing fine-grained code semantic reasoning tasks derived from real-world Python, C, and Java repositories. Using execution traces from actual tests, it constructs a ground-truth dataset for tasks beyond coarse input/output prediction. Evaluations on state-of-the-art LLMs reveal a clear performance gap; while chain-of-thought and in-context learning help, fundamental semantic deficiencies limit reasoning. The accompanying execution tracing framework facilitates future benchmark construction and model post-training.
OpenReviewOpenReview · · September 19, 2025
0
Code Reasoning for Software Engineering Tasks: A Survey and A Call to Action
Saurabh PujarIra CekaIrene ManotasGail KaiserBaishakhi RayShyam Ramji
This survey is the first dedicated to code reasoning for software engineering (SWE) tasks, focusing on test-time compute and inference-time reasoning paradigms. It systematically examines code-specific reasoning methods, progressive agentic approaches combining planning, tool use, and multi-step interaction, and compares their impact across coding tasks. The authors provide a taxonomy of inference-time techniques, a curated set of under-explored benchmarks, a comparative analysis of reasoning design patterns, and identify gaps and future research directions in current methods and evaluation practices.
arXivarXiv · · June 16, 2025
0
2
Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Study
Ira CekaHailie MitchellSaurabh PujarLuca BurattiShyam RamjiJunfeng YangGail KaiserBaishakhi Ray
Automated program repair (APR) agents that use LLMs to autonomously fix bugs struggle with logic-intensive defects despite strong leaderboard performance. By tracing the full decision pipelines of five state-of-the-art APR agents across 500 real-world tasks, this study finds that agents often produce verbose, overfitted patches that pass existing tests without addressing root causes. Major bottlenecks include test generation and regression test selection, as agents fail to reproduce issues or run relevant tests. Many agents also lack access to debuggers or program analysis tools, motivating improvements such as early test generation, richer tooling, and diversified agent architectures.
arXivarXiv · · June 10, 2025
0
26
CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoning
Monoshi Kumar RoySimin ChenBenjamin SteenhoekJinjun PengGail KaiserBaishakhi RayWei Le
CodeSense is a benchmark and dataset for fine-grained code semantic reasoning on real-world software, unlike prior synthetic or coarse-grained benchmarks. It collects Python, C, and Java projects, executes tests to obtain execution traces, and constructs ground truth for fine-grained reasoning tasks. Evaluations show that current LLMs struggle with these tasks; while prompting helps, fundamental limitations in code semantics remain. The work also provides an execution tracing framework to support future benchmark construction and model training.
arXivarXiv · · May 31, 2025
0
21
SemCoder: Training Code Language Models with Comprehensive Semantics Reasoning
Yangruibo DingJinjun PengMarcus J. MinGail KaiserJunfeng YangBaishakhi Ray
SemCoder trains code LLMs to reason about code semantics via a novel monologue reasoning strategy. Using PyX, a corpus of executable Python samples with descriptions and tests, it teaches models to link static text with dynamic execution states by reasoning over functional descriptions, statement-level effects, and input/output behavior. The resulting 6.7B-parameter model matches or outperforms GPT-3.5-turbo on code generation and execution reasoning benchmarks and shows improved debugging and self-refinement.
OpenReviewOpenReview · May 15, 2024
0
105
CYCLE: Learning to Self-Refine the Code Generation
Yangruibo DingMarcus J. MinGail KaiserBaishakhi Ray
The paper proposes CYCLE, a framework that learns to self-refine code generation from test-suite feedback. Evaluated on HumanEval, MBPP, and APPS, CYCLE maintains or improves one-time generation quality while significantly boosting self-refinement capability. Across model sizes (350M–3B parameters), CYCLE consistently improves performance by up to 63.5% and outperforms code LMs with 3× more parameters in self-refinement.
arXivarXiv · · March 27, 2024
0
105
Vignat: Vulnerability identification by learning code semantics via graph attention networks
Shuo LiuGail Kaiser
Vignat is a vulnerability identification framework that learns graph-level semantic representations of code. It represents code with fine-grained code property graphs (CPGs) and applies graph attention networks (GATs). In experiments on reliable datasets from popular C libraries, Vignat achieves 57.38% accuracy, and the interpretability of its GATs provides insights into vulnerability patterns.
arXivarXiv · · October 30, 2023
0
0
Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChain
Marcus J. MinYangruibo DingLuca BurattiSaurabh PujarGail KaiserSuman JanaBaishakhi Ray
This paper introduces IdentityChain, a framework for evaluating the self-consistency of Code LLMs—a property distinct from conventional accuracy. Self-consistency requires that a model's generated natural language specification for its own code and its generated code for its own specification agree. Tests on eleven Code LLMs reveal that they fail to preserve this consistency, indicating a lack of shared semantic understanding between natural and programming languages. IdentityChain also serves as a debugging tool to expose model weaknesses.
arXivarXiv · · October 21, 2023
0
61
Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChain
Marcus J. MinYangruibo DingLuca BurattiSaurabh PujarGail KaiserSuman JanaBaishakhi Ray
This paper introduces IdentityChain, a framework to evaluate the self-consistency of Code LLMs alongside conventional accuracy. Self-consistency is formally defined as a model's ability to generate natural language specifications for its own code and generate code for its own specifications. Testing eleven Code LLMs, the authors show they fail to preserve self-consistency, which is distinct from accuracy, and demonstrate IdentityChain's use as a debugging tool to expose three major model weaknesses.
OpenReviewOpenReview · · September 23, 2023
0
TRACED: Execution-aware Pre-training for Source Code
Yangruibo DingBen SteenhoekKexin PeiGail KaiserWei LeBaishakhi Ray
TRACED pre-trains code language models on source code paired with executable inputs and their execution traces, teaching the model to statically estimate dynamic code properties such as branch coverage and runtime variable values. This bridges the gap between static language models and program execution. Evaluated on three downstream tasks, TRACED improves complete execution path prediction by 12.4% and runtime variable value prediction by 25.2% over statically pre-trained models, and also achieves gains in clone retrieval and vulnerability detection on four benchmarks.
arXivarXiv · · June 13, 2023
0
93
CONCORD: Clone-aware Contrastive Learning for Source Code
Yangruibo DingSaikat ChakrabortyLuca BurattiSaurabh PujarAlessandro MorariGail KaiserBaishakhi Ray
The paper proposes CONCORD, a self-supervised contrastive learning method for code that incorporates developer behavior of code cloning. It learns representations by pulling benign clones closer and pushing deviant clones apart. CONCORD reduces pre-training resource needs while improving downstream SE tasks, including clone and bug detection, and can enhance existing pre-trained models.
arXivarXiv · · June 5, 2023
0
28
REINFOREST: Reinforcing Semantic Code Similarity for Cross-Lingual Code Search Models
Anthony SaievaSaikat ChakrabortyGail Kaiser
REINFOREST enhances cross-lingual code-to-code search by training large language models on both static and dynamic features and on both similar and dissimilar examples. It encodes dynamic runtime information during training while requiring no code execution at inference time — the first such approach. The method outperforms the state-of-the-art cross-language search tool by up to 44.7% and shows consistent effectiveness across architectures and languages. Ablation studies confirm that even a single positive and negative reference sample substantially improves performance. The work is open-sourced.
arXivarXiv · · May 5, 2023
0
20
VELVET: a noVel Ensemble Learning approach to automatically locate VulnErable sTatements
Yangruibo DingSahil SunejaYunhui ZhengJim LaredoAlessandro MorariGail KaiserBaishakhi Ray
VELVET is an ensemble learning approach that combines graph-based and sequence-based neural networks to automatically locate vulnerable statements in source code. It captures both local and global context of program graphs to understand code semantics and vulnerable patterns. In a static analysis setting, VELVET achieves 4.5× better performance than baseline static analyzers on real-world data. For isolated vulnerability localization, it achieves 99.6% and 43.6% top-1 accuracy on synthetic and real-world data, respectively, outperforming baseline deep-learning models by 5.3–29.0%.
arXivarXiv · · December 20, 2021
0
99
Neural Network Guided Evolutionary Fuzzing for Finding Traffic Violations of Autonomous Vehicles
Ziyuan ZhongGail KaiserBaishakhi Ray
AutoFuzz is a fuzz testing technique that leverages AV simulators' API grammars to generate semantically and temporally valid complex driving scenarios (sequences of scenes). It uses a constrained neural network evolutionary search method to efficiently find traffic violations. Evaluated on four controllers in five scenarios, AutoFuzz found on average 10--39% more unique violations than the best baseline, and fine-tuning a learning-based controller with found violations reduced violations in a new version.
arXivarXiv · · September 13, 2021
0
168
Metamorphic Detection of Repackaged Malware
Shirish SinghGail Kaiser
This paper presents a malware detection system based on metamorphic testing that detects repackaged malware—benign apps in which malware has been inserted. Unlike traditional metamorphic testing that modifies the app itself, the system applies metamorphic relations to the app's feature vector: the source input is the original feature vector, and the derived input is that vector with features prevalent in benign apps removed. For a genuinely benign app, both vectors should be classified as benign; a discrepancy reveals malware. Pre-trained on 3 million apps from AndroZoo, the system achieves over 94% accuracy, 0.98 precision, 0.95 recall, and 0.96 F1 score on public datasets.
arXivarXiv · · April 27, 2021
0
8
Testing DNN Image Classifiers for Confusion & Bias Errors
Yuchi TianZiyuan ZhongVicente OrdonezGail KaiserBaishakhi Ray
The paper presents DeepInspect, a technique that tests DNN image classifiers for class-level confusion and bias errors by detecting violations of class properties. Unlike per-image testing methods, DeepInspect focuses on systematic failures where a model confuses one class with another or shows bias toward certain classes. Evaluated on several popular classifiers, it achieved precision up to 100% (avg. 72.6%) for confusion errors and up to 84.3% (avg. 66.8%) for bias errors, finding hundreds of classification mistakes.
arXivarXiv · · May 20, 2019
0
81
A Case Study on the Impact of Similarity Measure on Information Retrieval based Software Engineering Tasks
Md Masudur RahmanSaikat ChakrabortyGail KaiserBaishakhi Ray
This paper investigates how similarity measures affect two IR-based software engineering tasks: project recommendation and bug localization. Through case studies, it shows that context-aware models perform best on textual artifacts (e.g., descriptions, readmes), while simple keyword-based bag-of-words models excel on code artifacts (e.g., source code, API). The probabilistic ranking model BM25 works best on mixed text and code. Applying these findings improves existing SE tools.
arXivarXiv · · August 8, 2018
0
7
Obfuscation Resilient Search through Executable Classification
Fang-Hsiang SuJonathan BellGail KaiserBaishakhi Ray
Macneto is a new approach for searching programs relevant to obfuscated Android executables, using deep learning and principal components on instructions. Unlike prior methods that assume certain structural landmarks remain unchanged, Macneto makes few assumptions about obfuscation modifications. It achieves high search precision for executables obfuscated by a state-of-the-art control-flow obfuscator, and can also infer keywords from the relevant unobfuscated program to help developers understand obfuscated executables.
arXivarXiv · · June 6, 2018
0
10
Efficient dependency detection for safe Java test acceleration
Jonathan BellGail KaiserEric MelskiMohan Dattatreya
ACMACM · August 30, 2015
0
111
Frequent collaborators
Baishakhi Ray (17)
Yangruibo Ding (7)
Sarah Wilson (6)
Saurabh Pujar (6)
Ira Ceka (4)
Usman Ali Moazzam (4)
Diem Linh Dang (4)
Shan Ye (4)
Luca Buratti (4)
Marcus J. Min (4)
Shyam Ramji (3)
Jinjun Peng (3)