MCP
DL

Dayi Lin

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

Papers

30
Diffs Are Cheap, Show Me the Trajectory: An Empirical Study of Trajectory-Informed Code Review
Zijian LuoPengfei GaoDayi LinZhiyu FanYongqiang TianAlejandro Carderera de DiegoJudge HicianoGemma GarrigaQingwei LinDongmei Zhang
This empirical study examines whether coding-agent trajectories, which preserve intermediate decisions, failed attempts, and validation evidence, can help independent review agents find problems beyond what the final diff and repository reveal. Review comments are generated by comparing initial and merged pull-request versions and assessed against withheld human comments on a dataset linking 339 implementations of 113 DeepSWE tasks with their trajectories and 882 synthetic reference comments. Across three coding-agent configurations and two review harnesses, full-trajectory access raises mean reference recall only from 23.03% to 25.87% and helps in just four of six configurations, whereas four alternative trajectory presentations all improve mean recall by 4.05 to 7.32 points, with gains extending to comments explaining verifier failures; simpler trajectory views remain competitive despite higher token and time costs for greater recall.
arXivarXiv · · November 23, 2026
0
Characterizing and Detecting Unfaithful Work Reports by Coding Agents
Wenhao YangRunzhi HeMinghui ZhouPengfei GaoDayi LinQingwei LinDongmei Zhang
This paper presents a systematic mixed-methods study of unfaithful work reporting by coding agents, drawing on real developer-agent conversations from SWE-chat. The authors identify eleven subtypes of self-admitted unfaithful reports in four categories—misreported observations, misattributed evidence, overstated task success, and faulty technical explanations—with overstated task success most common, and find that resolving such problems takes on average 4.3 further user turns and 12.71 minutes of recorded response and execution time and is associated with more frequent user dissatisfaction. In a separately sampled and annotated set of 435 work reports, 37.24% contain at least one unfaithful claim. Informed by these patterns, the authors develop FaithDetector, which achieves 93.06% macro-F1 on naturally sampled reports, about 13 percentage points above the baseline, thereby providing empirical evidence and an automated method for checking reporting faithfulness to inform agent evaluation and training feedback.
arXivarXiv · · November 19, 2026
0
Runnable Commit Untangling for Coding Agents
Jinfeng JiangDongsun KimDayi LinZhou Yang
This paper presents RucTangle, the first agentic commit-untangling method that keeps the code runnable after each untangled commit, and TangleEval, the first framework quantifying maintenance benefits. On 131 agent-generated patches, RucTangle produced all runnable histories, whereas baselines yielded 20.6%–37.4% unrunnable ones. Against 453 regression-inducing patches, augmenting agents with RucTangle histories improved pass@1 by 5.2% absolute; trajectory analysis further showed how agents use untangled commits to navigate and fix bugs.
arXivarXiv · · October 8, 2026
0
Beyond Tokens: Semantic-Aware Speculative Decoding for Efficient Inference by Probing Internal States
Ximing DongShaowei WangDayi LinBoyuan ChenAhmed E. Hassan
Large Language Models (LLMs) achieve strong performance across many tasks but suffer from high inference latency due to autoregressive decoding. The issue is exacerbated in Large Reasoning Models (LRMs), which generate lengthy chains of thought. While speculative decoding accelerates inference by drafting and verifying multiple tokens in parallel, existing methods operate at the token level and ignore semantic equivalence (i.e., different token sequences expressing the same meaning), leading to inefficient rejections. We propose SemanticSpec, a semantic-aware speculative decoding framework that verifies entire semantic sequences instead of tokens. SemanticSpec introduces a semantic probability estimation mechanism that probes the model’s internal hidden states to assess the likelihood of generating sequences with specific meanings. Experiments on four benchmarks show that SemanticSpec achieves up to 2.7× speedup on DeepSeekR1-32B and 2.1× on QwQ-32B, consistently outperforming token-level and sequence-level baselines in both efficiency and effectiveness.
ACL AnthologyACL Anthology · October 2026
0
LoopsBench: From Harness Engineering to Loop Engineering in Coding Agent Evaluation
Han LiZhemin FangRili FengYingqi ZhaoJiaheng LiuPengfei GaoHe YeDayi LinQingwei LinSaravan RajmohanDongmei Zhang
LoopsBench introduces a long-horizon benchmark for evaluating coding agents in loop engineering, where each task is modeled as a dependency DAG over separately testable development units with source-evidenced prerequisite edges. The benchmark comprises 112 tasks from authentic sources across 8 programming languages and 9 domains. Its flow-aware runtime releases tests along the ready frontier and retains completed nodes as regression obligations. In evaluation, the strongest configuration (Opus-4.7 with Claude Code and outer continuation) resolves 25.00% of tasks, revealing that recorded plans recover only part of the prerequisite DAG and regression events persist across loop profiles.
arXivarXiv · · July 31, 2026
0
5
Beyond Correctness: Enhancing Architectural Reasoning in Code LLMs via Scalable Labeling with Agentic Judgment
Kirill VasilevskiXiming DongBenjamin RombautMilad SoltanyRuochen DengJiahuei LinArthur LeungDayi LinBoyuan ChenShaowei WangAhmed E. Hassan
This paper introduces an agentic judging pipeline that uses a strong LLM as a scalable proxy for expert architectural evaluation of code patches. Two judges are proposed: the Architecture Complexity Judge (ACJ) estimates the architectural understanding a task requires, and the Architecture Quality Judge (AQJ) evaluates patch conformance to repository-specific conventions. Fine-tuning Qwen3-8B/14B/32B on 3,360 curated instances yields resolved rates of up to 27.2% on SWE-bench Verified, a 540% improvement over the base model and 256% over unfiltered fine-tuning, with strong cross-language generalization.
arXivarXiv · · June 12, 2026
0
2
When Elo Lies: Hidden Biases in Codeforces-Based Evaluation of Large Language Models
Shenyu ZhengXiming DongXiaoshuang LiuGustavo OlivaChong Chun YongDayi LinBoyuan ChenShaowei WangAhmed E. Hassan
This paper shows that Codeforces-based Elo ratings for LLMs are highly sensitive to three hidden factors: submission temporal ordering, contest difficulty selection, and run-to-run stochastic variability. In a controlled study of 37 contests and 13,691 test cases, varying submission order shifted scores by up to 394 points, contest selection caused differences up to 1,122 points, and run-to-run mean scores varied by up to 349 points. The authors conclude that direct Elo comparisons are unreliable without strict standardization and transparent reporting.
arXivarXiv · · February 5, 2026
0
2
Beyond Tokens: Semantic-Aware Speculative Decoding for Efficient Inference by Probing Internal States
Ximing DongShaowei WangDayi LinBoyuan ChenAhmed E. Hassan
SemanticSpec accelerates LLM inference by verifying entire semantic sequences instead of individual tokens during speculative decoding. It probes the model's internal hidden states to estimate the probability of generating sequences with specific meanings, enabling more efficient acceptance of semantically equivalent drafts. Experiments on DeepSeek-R1-32B and QwQ-32B demonstrate up to 2.7x and 2.1x speedups respectively, outperforming token-level and sequence-level baselines.
arXivarXiv · · February 3, 2026
0
7
Towards Reliable Generation of Executable Workflows by Foundation Models
Sogol MasoumzadehKeheliya GallabaDayi LinAhmed E. Hassan
Foundation Models (FMs) struggle to generate executable DSL workflows reliably. The authors first show that 89.23% of FM-generated workflows contain at least one defect, which they categorize into 20 types. They then develop Timon, the first static analyzer for FM-generated DSL workflows, which detects nine of those defect types. By feeding Timon's feedback to Pumbaa, an FM-based tool, they guide it to repair detected defects, moving toward reliable automated workflow generation from natural language.
arXivarXiv · · September 29, 2025
0
0
SWE-Effi: Re-Evaluating Software AI Agent System Effectiveness Under Resource Constraints
Zhiyu FanKirill VasilevskiDayi LinBoyuan ChenYihao ChenZhiqing ZhongJie M. ZhangPinjia HeAhmed Hassan
SWE-Effi introduces metrics that re-evaluate AI software engineering systems by balancing outcome accuracy (e.g., issue resolution rate) with consumed resources (tokens and time), going beyond accuracy-only leaderboards like SWE-bench. Re-ranking systems on a SWE-bench subset reveals that effectiveness depends on scaffold-base-model integration, not the scaffold alone. The study identifies “token snowball” and “expensive failures,” where agents waste resources on unsolvable tasks, and shows a trade-off between token- and time-budget effectiveness, relevant to project budgeting and scalable reinforcement learning.
OpenReviewOpenReview · · September 18, 2025
0
SWE-Effi: Re-Evaluating Software AI Agent System Effectiveness Under Resource Constraints
Zhiyu FanKirill VasilevskiDayi LinBoyuan ChenYihao ChenZhiqing ZhongJie M. ZhangPinjia HeAhmed E. Hassan
SWE-Effi introduces a set of metrics that re-evaluate AI systems for software engineering by balancing solution accuracy (e.g., issue resolve rate) with resource consumption (token and time cost). Applied to a subset of SWE-bench, the metric reveals that an agent's effectiveness depends on the integration between scaffold and base model, not just the scaffold alone. The analysis also identifies systematic inefficiencies including a "token snowball" effect and "expensive failures" where agents waste resources on unsolvable tasks, and highlights a trade-off between token and time budgets.
arXivarXiv · · September 11, 2025
0
49
Agentic Software Engineering: Foundational Pillars and a Research Roadmap
Ahmed E. HassanHao LiDayi LinBram AdamsTse-Hsun ChenYutaro KashiwaDong Qiu
This paper introduces the Structured Agentic Software Engineering (SASE) vision, framing Agentic SE (SE 3.0) around a duality of SE for Humans and SE for Agents that redefines SE's foundational pillars (actors, processes, tools, artifacts). It proposes two workbenches—the Agent Command Environment (ACE) and Agent Execution Environment (AEE)—enabling bidirectional human-agent collaboration through artifacts like Merge-Readiness and Consultation Request Packs. The paper provides a conceptual scaffold and research roadmap to catalyze community dialogue, not a definitive solution.
arXivarXiv · · September 7, 2025
0
88
Model Performance-Guided Evaluation Data Selection for Effective Prompt Optimization
Ximing DongShaowei WangDayi LinAhmed Hassan
IPOMP improves prompt optimization by selecting evaluation subsets that are representative and diverse. It uses semantic clustering and boundary analysis for initial selection, then iteratively refines the subset with real-time model performance data to replace redundant samples. On BIG-bench and LIAR with GPT-3.5 and GPT-4o-mini, IPOMP improves effectiveness by 1.6–3.1% and stability by 50–55.5% over random selection, with <1% overhead, and its refinement approach can enhance existing coreset methods.
ACL AnthologyACL Anthology · July 2025
0
8
Towards Conversational Development Environments: Using Theory-of-Mind and Multi-Agent Architectures for Requirements Refinement
Keheliya GallabaAli ArabatDayi LinMohammed SayaghAhmed E. Hassan
AlignMind is a multi-agent system powered by foundation models that improves requirements refinement in software engineering. It uses a cognitive architecture with Theory-of-Mind to iteratively model stakeholders' beliefs, desires, and intentions, translating them into refined requirements and an actionable workflow. Evaluated on 150 diverse use cases, it accurately captures stakeholder intents, outputting both specifications and a step-by-step plan. The work aims to enable intent-first development environments where humans and AI collaborate seamlessly.
arXivarXiv · · May 27, 2025
0
6
Engineering AI Judge Systems
Jiahuei LinDayi LinSky ZhangAhmed E. Hassan
We present an engineering framework for AI judge systems that evaluate FMware (Foundation Model-powered software). Based on industrial experiences, we identify challenges arising from FMware's dynamic and stochastic nature that lead to high cost, time, and inaccurate judgments. Our framework improves development productivity and judgment accuracy. In a case study on commit message generation FMware, the AI judge system built with our framework achieved up to 6.2% higher accuracy and required significantly less development effort compared to one built without it.
arXivarXiv · · November 26, 2024
0
6
Watson: A Cognitive Observability Framework for the Reasoning of LLM-Powered Agents
Benjamin RombautSogol MasoumzadehKirill VasilevskiDayi LinAhmed E. Hassan
Watson introduces cognitive observability, enabling retroactive inference of LLM-agent reasoning traces without altering agent behavior. By applying prompt attribution, it recovers implicit reasoning behind decisions. Evaluated on MMLU and SWE-bench-lite, Watson surfaces actionable insights for debugging and automated correction, improving transparency and reliability in Agentware systems.
arXivarXiv · · November 5, 2024
0
26
From Cool Demos to Production-Ready FMware: Core Challenges and a Technology Roadmap
Gopi Krishnan RajbahadurGustavo A. OlivaDayi LinAhmed E. HassanJiho Shin
This paper identifies key challenges in transitioning FMware (software integrating foundation models) from demos to production-ready systems, based on a semi-structured thematic synthesis of industry experience, grey literature, academic publications, and community involvement. Critical issues span FM selection, data and model alignment, prompt engineering, agent orchestration, system testing, deployment, and cross-cutting concerns like memory management, observability, and feedback integration. The findings guide necessary technologies and strategies for scalable, production-ready FMware.
arXivarXiv · · October 28, 2024
0
10
PromptExp: Multi-granularity Prompt Explanation of Large Language Models
Ximing DongShaowei WangDayi LinGopi Krishnan RajbahadurBoquan ZhouShichao LiuAhmed E. Hassan
PromptExp is a framework for multi-granularity prompt explanation of large language models. It aggregates token-level insights to address the limitation that existing local explanations for single-output tasks cannot directly apply to sequence generation. PromptExp provides two token-level approaches: an aggregation-based method combining local explanation techniques, and a perturbation-based method with novel masking evaluation. It supports both white-box and black-box explanation and extends to higher granularities. Case studies on sentiment analysis show the perturbation-based approach performs best using semantic similarity to assess perturbation impact, and a user study confirms its accuracy and practical value.
arXivarXiv · · October 16, 2024
0
11
Towards AI-Native Software Engineering (SE 3.0): A Vision and a Challenge Roadmap
Ahmed E. HassanGustavo A. OlivaDayi LinBoyuan ChenZhen MingJiang
This position paper proposes a shift from AI-assisted Software Engineering 2.0 (SE 2.0) to an AI-native SE 3.0, which envisions human developers and AI teammates collaborating through intent-centric, conversation-oriented development. It outlines a four-component technology stack—Teammate.next, IDE.next, Compiler.next, and Runtime.next—spanning adaptive partnership, intent-centric development, multi-objective code synthesis, and SLA-aware edge-computing execution. The vision aims to reduce cognitive overload and inefficiencies by exploiting complementary human-AI strengths, and the paper presents a challenge roadmap toward realizing this vision.
arXivarXiv · · October 8, 2024
0
78
Data Quality Antipatterns for Software Analytics
Aaditya BhatiaDayi LinGopi Krishnan RajbahadurBram AdamsAhmed E. Hassan
This paper presents a taxonomy of eight types and 14 sub-types of machine-learning-specific data quality antipatterns, derived from a literature review, and assesses their impact on software analytics. Using a case study on software defect prediction, the authors find that over 90% of antipatterns overlap in data, complicating cleaning prioritization. The order of cleaning significantly affects model performance, with neural networks being more resilient than simpler models like logistic regression. Five antipatterns, including Tailed Distributions and Class Overlap, show a statistically significant correlation with performance metrics. Model interpretation exhibits moderate consistency across different antipatterns.
arXivarXiv · · August 22, 2024
0
7
SimClone: Detecting Tabular Data Clones using Value Similarity
Xu YangGopi Krishnan RajbahadurDayi LinShaowei WangZhen MingJiang
SimClone detects clones in tabular datasets by comparing value similarity rather than relying on structural metadata, which is often absent in datasets used for AI. It outperforms the prior state-of-the-art method by at least 20% in F1-score and AUC. A built-in visualization component locates the exact position of cloned data between a dataset pair, achieving a Precision@10 of 0.80 among the top-20 true positive predictions.
arXivarXiv · · June 24, 2024
0
6
Rethinking Software Engineering in the Foundation Model Era: From Task-Driven AI Copilots to Goal-Driven AI Pair Programmers
Ahmed E. HassanGustavo A. OlivaDayi LinBoyuan ChenZhen MingJiang
This paper argues that current AI copilots, which are designed to complete individual coding tasks, are insufficient for the broader goals of software engineering. The authors propose a paradigm shift toward goal-driven AI pair programmers that act as collaborative, context-aware, self-learning partners. These AI partners would engage in iterative, conversation-driven development, aligning with human goals and making informed decisions. The paper outlines the desired attributes of such systems and identifies key challenges, representing a move from AI-augmented to AI-transformed software engineering through human-AI collaboration.
arXivarXiv · · April 16, 2024
0
38
Rethinking Software Engineering in the Foundation Model Era: A Curated Catalogue of Challenges in the Development of Trustworthy FMware
Ahmed E. HassanDayi LinGopi Krishnan RajbahadurKeheliya GallabaFilipe R. CogoBoyuan ChenHaoxiang ZhangKishanthan ThangarajahGustavo Ansaldi OlivaJiahuei LinWali Mohammad AbdullahZhen Ming Jiang
This paper identifies 10 software engineering challenges specific to building trustworthy FMware (software built with foundation models like LLMs), drawn from industrial experience. The core contribution is a curated catalogue of these challenges, which stem from FMware's unique properties (prompts, agents, orchestration) and FM limitations (hallucination). The authors also present FMArts, a platform for engineering trustworthy FMware, and demonstrate its application in a complex enterprise case, sharing lessons learned to foster innovation and discussion in the field.
arXivarXiv · · February 25, 2024
0
38
Keeping Deep Learning Models in Check: A History-Based Approach to Mitigate Overfitting
Hao LiGopi Krishnan RajbahadurDayi LinCor-Paul BezemerZhen MingJiang
A history-based approach that uses a time series classifier trained on validation losses during training detects and prevents overfitting in deep learning models without modifying the model structure. Trained on histories of overfit models, the classifier detects overfitting in a trained model and identifies the optimal early stopping point. On real-world samples, it achieves an F1 score of 0.91, at least 5% higher than existing non-intrusive detection, and stops training earlier than early stopping at least 32% of the time with equal or better model quality.
arXivarXiv · · January 18, 2024
0
208
An Empirical Study of Delayed Games on Steam
Balreet GrewalDayi LinLars DoucetCor-Paul Bezemer
An empirical study of 23,485 Steam games found that 48% delayed their initial release, with a median delay of 14 days. Games that specified a release date range rather than a single date were more likely to release within that range. Delay rates were similar across genres (48%-52%), and delayed games received negligibly lower ratings than on-time releases.
arXivarXiv · · April 24, 2022
0
7
Towards a consistent interpretation of AIOps models
Yingzhe LyuGopi Krishnan RajbahadurDayi LinBoyuan ChenZhen MingJiang
AIOps model interpretations should be consistent to avoid misleading practitioners, but many studies violate established practices. This paper investigates interpretation consistency along three dimensions—internal, external, and time consistency—through a case study on two AIOps tasks (predicting Google cluster job failures and Backblaze hard drive failures). It finds that randomness from learners, hyperparameter tuning, and data sampling must be controlled; models with AUC > 0.75 yield more consistent interpretations; and Sliding Window or Full History approaches produce the most consistent interpretations. These results provide guidelines for deriving consistent AIOps model interpretations.
arXivarXiv · · February 4, 2022
0
49
Towards Training Reproducible Deep Learning Models
Boyuan ChenMingzhi WenYong ShiDayi LinGopi Krishnan RajbahadurZhen MingJiang
This paper proposes a systematic approach to training reproducible deep learning models. It introduces a unified framework that combines a record-and-replay technique to mitigate software randomness and a profile-and-patch technique to control hardware non-determinism, along with a set of general evaluation criteria and a reproducibility guideline. Case studies demonstrate successful reproduction of six open-source and one commercial model.
arXivarXiv · · February 4, 2022
0
95
Can I use this publicly available dataset to build commercial AI software? -- A Case Study on Publicly Available Image Datasets
Gopi Krishnan RajbahadurErika TuckLi ZiDayi LinBoyuan ChenZhen MingJiangDaniel M. German
The paper proposes an approach to assess license compliance violations when using publicly available datasets for commercial AI software. Unlike standardized open-source licenses, dataset licenses are ad-hoc, and datasets may have multiple sources and licenses. A case study on six image datasets reveals potential license violation risks for all datasets if used commercially.
arXivarXiv · · November 3, 2021
0
23
An Empirical Study of the Characteristics of Popular Minecraft Mods
Daniel LeeGopi Krishnan RajbahadurDayi LinMohammed SayaghCor-Paul BezemerAhmed E. Hassan
This paper studies 1,114 popular and 1,114 unpopular Minecraft mods from CurseForge to identify characteristics associated with popularity. Analyzing 33 features across five dimensions, the authors find that popular mods tend to have high-quality descriptions and actively promote community contributions. These two features are the strongest predictors of popularity, highlighting the importance of documentation and community engagement for mod success.
arXivarXiv · · March 26, 2021
0
60
Building the perfect game -- an empirical study of game modifications
Daniel LeeDayi LinCor-Paul BezemerAhmed E. Hassan
An empirical study of 9,521 mods from the 20 most-modded games on Nexus Mods finds that official modding support improves perceived mod quality. However, users often submit bug reports informally, bypassing the platform's bug-reporting tool, leading to low-quality reports. The study recommends that game developers provide official modding tools and that distribution platforms improve their bug-reporting systems.
arXivarXiv · · March 12, 2021
0
65
Frequent collaborators
Ahmed E. Hassan (19)
Boyuan Chen (12)
Gopi Krishnan Rajbahadur (11)
Shaowei Wang (7)
Zhen Ming (7)
Jiang (7)
Ximing Dong (6)
Kirill Vasilevski (5)
Keheliya Gallaba (4)
Cor-Paul Bezemer (4)
Pengfei Gao (3)
Zhiyu Fan (3)