MCP
KS

Kun Sun

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

Papers

30
BenchChecker: Assessing the Credibility of Bug-Fixing Benchmarks for LLMs
Di WuXu HeShu WangKun Sun
BenchChecker is a framework for detecting data contamination in bug-fixing benchmarks used to evaluate LLMs for automatic program repair. Based on the observation that persistent patches likely remain in recent repository snapshots used for training, it uses a two-stage forensics process on textual model outputs and public repository history: a repository presence test and a patch presence test with similarity alignment and test-suite verification. Evaluations with StarCoder-15B, StarCoder2-15B, and CodeGen2-16B show robust detection (AUC around 0.9 across six benchmarks). Applying it to SWE-bench Verified and Multi-SWE-bench, filtering contaminated samples reduces reported resolution rates of most LLMs by over 20% relative on medium-difficulty tasks. It is compatible with open- and closed-source models.
arXivarXiv · · October 14, 2026
0
2
RGDT-Bench: Benchmarking LLM Reasoning for Rule-Governed Decisions and Their Justifications
Jianpeng ZhaoHaihua XuHaoyang ZhangShuang QianYixiang TangXintao WangKun SunPei WuShuhan ZhongPengyang Wang
RGDT-Bench is introduced to evaluate reasoning in Rule-Governed Decision Tasks (RGDTs), where models must apply external rules to case facts and justify their decisions as required in policy, contract, and compliance settings. The benchmark assesses both decisions and their stated grounds through condition-level supervision and label-blind, deterministic checks of warrant completeness—the coverage and consistency of stated grounds against a case-specific reference—while attributing failures to rule use, condition, evidence, and aggregation layers. Among evaluable correct responses from six LLMs, warrant incompleteness averages 40.2%, and the best of eighteen existing evaluators reaches only 57.26% task-averaged AUROC, whereas a reward model trained with warrant supervision achieves 69.24%, exceeding the matched outcome-supervised baseline by 10.37 points and improving transfer ranking, with positive mean gains in best-of-$N$ tests.
arXivarXiv · · September 28, 2026
0
Polite but Misaligned: Evaluating LLM Politeness Judgments Against Human Pragmatic Norms
Rong WangKun SunYadong Guo
This paper evaluates whether LLM politeness judgments align with human pragmatic norms. Across two English-language datasets and seven models, inter-model agreement exceeds model–human agreement. Alignment is associated with explicit linguistic cues, while misalignment often involves rapport-building strategies. Models show systematic neutral compression: overproducing Neutral labels and underproducing Impolite labels, even against expert consensus. The authors call for pragmatic evaluations that examine directional disagreement patterns rather than aggregate metrics alone.
arXivarXiv · · September 24, 2026
0
Sequential Contextual Fit Predicts Human Behavioural and Neural Dynamics Across Domains
Kun SunRong Wang
Sequential Contextual Fit (SCF) predicts behavioral and neural dynamics across domains by measuring how well a current information state matches its recent context. Computed via a recency-weighted similarity kernel, SCF applies to words, sounds, visual scenes, affective states, choices, actions, and neural representations. Lower contextual fit predicts longer processing times, larger affective or behavioral transitions, and stronger neural-state changes, even after controlling for established predictors like surprisal and prediction error. SCF offers a unified computational layer for relating contextual compatibility to processing and state-transition dynamics.
arXivarXiv · · September 2026
0
Contextual Semantic Relevance Tracks fMRI BOLD Responses During Naturalistic Speech Comprehension
Kun SunRong Wang
This study tests whether contextual semantic relevance—how strongly a word relates to its recent semantic context—predicts fMRI BOLD responses during naturalistic speech comprehension independently of word surprisal and other controls. Analyzing two public datasets (Alice and Narratives) with FIR/deconvolution and GAMMs, the authors find that semantic relevance shows robust BOLD associations across both datasets, with a particularly strong advantage over surprisal in the timing-sensitive Alice FIR analysis. Regionally heterogeneous effects (negative in posterior semantic regions, positive in frontal integration regions) suggest involvement of functionally distinct neural processes.
arXivarXiv · · July 17, 2026
0
Contextual Semantic Relevance and Word Surprisal Predict N400 and P600 Dynamics During Naturalistic Reading
Kun SunRong Wang
This study demonstrates that contextual semantic relevance—an attention-aware measure of a word's semantic connection to its recent discourse—predicts N400 and P600 EEG responses during naturalistic reading beyond word surprisal. Using the DERCo corpus and regression analyses, both predictors explained neural variation, but relevance showed stronger effects in the P600 window and added explanatory value beyond lexical controls and surprisal. This suggests naturalistic reading involves both lexical expectation and local semantic integration.
arXivarXiv · · July 5, 2026
0
Prior over Evidence: Stereotype-Driven Diagnosis in LLM-Based L2 Pronunciation Feedback
Rong WangKun Sun
This paper tests whether LLM-based L2 pronunciation feedback is grounded in speech evidence rather than pretraining priors. On 1,800 L2-Arctic utterances across six L1s, three models, four dimensions, and five evidence conditions, three findings emerge. First, rating accuracy and grounded reasoning decouple: 39.6% of judged cells show coherent reasoning supporting a wrong rating versus 15.8% for a correct rating. Second, phoneme-level feedback converges to a fixed inventory of L2-English difficulty phones regardless of L1 or evidence. Third, acoustic evidence improves ratings only when directly probing the target dimension—textualised F0 range raises pitch-variation grounding from ∼0.18 to ∼0.62, while raw audio without textualisation does not. LLMs are more reliable as verbalisers of externally computed evidence than as standalone diagnostic engines.
arXivarXiv · · June 13, 2026
0
UHR-Net: An Uncertainty-Aware Hypergraph Refinement Network for Medical Image Segmentation
Shuokun ChengJinghao ShiKun Sun
UHR-Net introduces an uncertainty-aware hypergraph refinement framework for medical image segmentation. It first applies an Uncertainty-Oriented Instance Contrastive pretraining strategy combining geometry-aware copy-paste augmentation with hard-negative mining to improve discrimination of small and ambiguous lesions. Then, an Uncertainty-Guided Hypergraph Refinement block uses an entropy-based uncertainty map from a coarse prediction to guide hypergraph refinement, splitting hyperedge prototypes into foreground and background groups to decouple higher-order interactions in ambiguous regions. Experiments on five public benchmarks show consistent improvement over strong baselines.
arXivarXiv · · April 30, 2026
0
0
Mimic Human Cognition, Master Multi-Image Reasoning: A Meta-Action Framework for Enhanced Visual Understanding
Jianghao YinQingbin LiKun SunCheng DingJie WangQin ChenJie ZhouNan WangChangqing LiPei WuJian XuZheming Yang  +1
The paper proposes CINEMA, a meta-action framework for multi-image reasoning in MLLMs. Inspired by human cognition, it decomposes reasoning into five structured meta-actions: Global, Focus, Hint, Think, and Answer. It uses retrieval-based tree sampling for cold-start training and a two-stage reinforcement learning paradigm with diversity-preserving exploration and annealed DAPO exploitation. Evaluated on multi-image, video, and single-image benchmarks, the model surpasses GPT-4o on MUIR and MVMath and outperforms specialized video reasoning models, demonstrating the effectiveness of the human-cognition-inspired approach.
arXivarXiv · · January 12, 2026
0
0
Systematic Framework of Application Methods for Large Language Models in Language Sciences
Kun SunRong Wang
This paper proposes two frameworks to systematically apply LLMs in language sciences. The first defines three complementary approaches—prompt-based interaction, fine-tuning, and embedding extraction—each aligned with a specific research goal. The second framework guides multi-stage research pipelines based on these methods, validated through retrospective analyses, prospective applications, and expert surveys. The frameworks aim to ensure reproducibility and enable a shift from ad-hoc LLM use to robust, verifiable science.
arXivarXiv · · December 10, 2025
0
PathFix: Automated Program Repair with Expected Path
Xu HeShu WangKun Sun
PathFix is an automated program repair method that uses path-sensitive constraints from correct execution paths. It observes that a repairable buggy program has at least one expected path replacing the fault path. PathFix traces fault paths, derives expected paths via control-flow graph analysis, and generates patches by solving state constraints along the expected path. It integrates a large language model to improve scalability. Experiments show it outperforms existing methods, especially on complex structures like loops and recursion.
arXivarXiv · · October 16, 2025
0
1
Scaling Law in LLM Simulated Personality: More Detailed and Realistic Persona Profile Is All You Need
Yuqi BaiTianyu HuangKun SunYuting Chen
This paper presents a systematic evaluation framework for personality simulation by LLMs, combining individual-level stability and identifiability with population-level progressive personality curves. It adapts traditional psychometric methods (CFA and construct validity) to capture improvement trends in low-level LLM simulation. The key empirical finding is a scaling law: increasing persona profile detail improves simulation quality, but with diminishing marginal utility. This provides operational metrics and a theoretical basis for using LLMs in social science experiments.
arXivarXiv · · October 10, 2025
0
The fragility of "cultural tendencies" in LLMs
Kun SunRong Wang
Lu, Song, and Zhang (2025) claimed that LLMs exhibit culturally specific tendencies when prompted in different languages (e.g., more interdependent in Chinese, more independent in English). We argue these "cultural tendencies" are fragile artifacts of specific models and task design rather than stable traits. Targeted replications with broader models and more items show prompt language has minimal effect on outputs, challenging the claim that models encode grounded cultural beliefs.
arXivarXiv · · October 7, 2025
0
TraceRAG: A LLM-Based Framework for Explainable Android Malware Detection and Behavior Analysis
Guangyu ZhangXixuan WangShiyu SunPeiyan XiaoKun SunYanhai Xiong
TraceRAG is a retrieval-augmented generation framework that uses large language models to bridge natural language queries and Java code for explainable Android malware detection. It indexes method-level code summaries in a vector database, retrieves the most semantically relevant snippets for behavior-focused questions, and produces human-readable reports detailing malicious behaviors and their code implementations. In experiments, it achieves 96% malware detection accuracy and 83.81% behavior identification accuracy.
arXivarXiv · · September 10, 2025
0
4
NeuroDeX: Unlocking Diverse Support in Decompiling Deep Neural Network Executables
Yilin LiGuozhu MengMingyang SunYanzhong WangKun SunHailong ChangYuekang Li
NeuroDeX is a decompiler for deep neural network executables that uses LLMs and dynamic analysis to handle compilation optimizations, diverse architectures, and quantized models. It performs operator type recognition, attribute recovery, and model reconstruction. On 96 executables from 12 models, NeuroDeX decompiles non-quantized executables into nearly identical high-level models and recovers functionally similar models for quantized ones, achieving 72% average top-1 accuracy. This provides a more comprehensive solution than prior decompilers.
arXivarXiv · · September 8, 2025
0
1
When Code Crosses Borders: A Security-Centric Study of LLM-based Code Translation
Hailong ChangGuozhu MengShuhui XiaoKai ChenKun SunYilin Li
This paper presents a security-centric empirical study of LLM-based code translation, evaluating five state-of-the-art LLMs on 720 security-related samples across four languages and nine CWE categories. The authors find that 28.6%–45% of translations introduce new vulnerabilities, with web-related input validation flaws being the most problematic. They categorize root causes into five error types and propose a RAG-based mitigation strategy that reduces vulnerability introduction by 32.8%.
arXivarXiv · · September 8, 2025
0
2
Boosting Pathology Foundation Models via Few-shot Prompt-tuning for Rare Cancer Subtyping
Dexuan HeXiao ZhouWenbin GuanLiyuan ZhangXiaoman ZhangSinuo XuGe WangLifeng WangXiaojun YuanXin SunYanfeng WangKun Sun  +2
PathPT boosts rare cancer subtyping by converting WSI-level supervision into tile-level guidance via few-shot prompt-tuning of pathology vision-language foundation models. It uses spatially-aware visual aggregation and task-specific prompts aligned with histopathological semantics, enabling cross-modal reasoning and localization of cancerous regions. On eight rare cancer datasets (56 subtypes, 2,910 WSIs) and three common cancer datasets, PathPT consistently outperforms existing MIL frameworks and VL models in subtyping accuracy and grounding ability.
arXivarXiv · · August 21, 2025
0
9
Dspy-based Neural-Symbolic Pipeline to Enhance Spatial Reasoning in LLMs
Rong WangKun SunJonas Kuhn
This paper presents a neural-symbolic pipeline that enhances spatial reasoning in LLMs by iteratively coupling them with Answer Set Programming (ASP). The framework separates semantic parsing (LLM) from logical reasoning (ASP) and uses a feedback loop to refine outputs. Evaluated on StepGame and SparQA, the DSPy-based LLM+ASP pipeline achieves 82% and 69% accuracy respectively, outperforming direct prompting by 40–50% and 8–15%. The approach also includes a lightweight Facts+Rules variant that performs comparably on complex datasets.
arXivarXiv · · November 27, 2024
0
16
A Generalist Audio Foundation Model for Comprehensive Body Sound Auscultation
Pingjie WangLiudan ZhaoZihan ZhaoMiao HeXin SunYa ZhangKun SunYanfeng WangYu Wang
AuscultaBase is a generalist audio foundation model for body sound auscultation. Using self-supervised and contrastive learning on large-scale, multi-source data, it generates robust feature representations that improve abnormality detection, disease classification, and activity recognition. On the new AuscultaBench benchmark, AuscultaBase consistently outperforms existing state-of-the-art methods, offering a scalable, cost-effective tool for clinical screening and early intervention.
arXivarXiv · · November 12, 2024
0
2
The Roles of Contextual Semantic Relevance Metrics in Human Visual Processing
Kun SunRong Wang
This study introduces contextual semantic relevance metrics, computed via deep learning to capture both vision-based and language-based semantic relationships between target objects and their surroundings. Testing on an eye-movement dataset, the metrics predict fixation measures, with a novel combined metric outperforming vision-only or language-only variants. This supports multi-modal processing theories and improves understanding of human visual perception.
arXivarXiv · · October 13, 2024
0
Agentic Society: Merging skeleton from real world and texture from Large Language Model
Yuqi BaiKun SunHuishi Yin
We propose a framework that combines census data with large language models (LLMs) to generate virtual populations for social science simulations. The approach first creates personas reflecting real demographic characteristics from census data, then uses LLMs to add detailed textures, analogous to image generation but for text. Evaluation via the Big Five personality test shows the generated personas exhibit variability but only a weak sign of statistical truthfulness, highlighting current LLM limitations. The method reduces resource needs and bypasses privacy issues compared to using real-world data.
arXivarXiv · · September 2, 2024
0
HSDreport: Heart Sound Diagnosis with Echocardiography Reports
Zihan ZhaoPingjie WangLiudan ZhaoYuchen YangYa ZhangKun SunXin SunXin ZhouYu WangYanfeng Wang
HSDreport reframes heart sound diagnosis from rigid classification to the direct prediction of echocardiography reports, the clinical gold standard. It introduces a dataset of 2,275 heart sound–report pairs and a knowledge-aware query-based transformer that combines medically pre-trained models with internal knowledge from large language models. Experiments show the method significantly outperforms traditional HSD approaches and existing multimodal LLMs in detecting key abnormalities.
arXivarXiv · · August 16, 2024
0
3
Prototype Learning Guided Hybrid Network for Breast Tumor Segmentation in DCE-MRI
Lei ZhouYuzhong ZhangJiadong ZhangXuejun QianChen GongKun SunZhongxiang DingXing WangZhenhui LiZaiyi LiuDinggang Shen
This paper proposes a hybrid network for breast tumor segmentation in DCE-MRI that combines CNN and transformer layers within an encoder-decoder architecture. Two parallel encoder subnetworks feed the decoder and transformer layers separately, where the latter captures global dependencies. A prototype learning prediction module computes category-specific prototypical features via online clustering and combines them with decoder features for tumor mask prediction. The method achieves a favorable balance between segmentation accuracy and computation cost, and automatically generated masks can identify HER2-positive subtypes with accuracy comparable to manual segmentation.
arXivarXiv · · August 11, 2024
0
53
STATE: A Robust ATE Estimator of Heavy-Tailed Metrics for Variance Reduction in Online Controlled Experiments
Hao ZhouKun SunShaoming LiYangfeng FanGuibin JiangJiaqi ZhengTao Li
Typical estimators for average treatment effect in online experiments assume Gaussian metrics and lose variance reduction when outliers appear in heavy-tailed data. We propose STATE, a robust estimator that fits metrics with Student's t-distribution via a variational EM algorithm, greatly reducing the negative impact of outliers. STATE also extends to ratio metrics via a linear transformation that preserves unbiasedness. On Meituan's platform, STATE achieves over 50% variance reduction compared to state-of-the-art methods, cutting required sample size in half for the same statistical power.
arXivarXiv · · July 23, 2024
0
4
A Novel Dependency Framework for Enhancing Discourse Data Analysis
Kun SunRong Wang
This paper proposes a unified dependency framework to analyze discourse corpora built on different theoretical bases. The authors convert PDTB annotations into dependency structures, using refined BERT-based discourse parsers to validate the resulting data across English, Chinese, and other languages. By converting both PDTB and RST annotations for the same English texts into dependencies and applying dependency distance metrics, they find a strong correlation between the two dependency types. The framework enables coherent data extraction from PDTB, RST, and SDRT corpora, and cross-linguistic validation supports its generalizability.
arXivarXiv · · July 17, 2024
0
Continuous Output Personality Detection Models via Mixed Strategy Training
Rong WangKun Sun
This paper develops continuous-output personality detection models that predict Big Five trait scores rather than binary labels. The authors fine-tune a RoBERTa-base model on the PANDORA dataset of Reddit comments, integrating a Multi-Layer Perceptron and tuning hyperparameters. The resulting models outperform traditional binary classifiers, providing precise continuous predictions for applications in AI, psychology, human resources, marketing, and healthcare.
arXivarXiv · · June 23, 2024
0
Textual Similarity as a Key Metric in Machine Translation Quality Estimation
Kun SunRong Wang
This paper introduces textual similarity as a quality estimation (QE) metric for machine translation, measured by sentence transformers and cosine similarity. Using GAMMs on the MLQE-PE dataset, the authors show that textual similarity correlates more strongly with human scores than traditional metrics like hter, model evaluation, and sentence probability. They also find that hter fails to predict human scores. The results suggest integrating textual similarity into QE frameworks for improved accuracy.
arXivarXiv · · June 11, 2024
0
Automatic Essay Multi-dimensional Scoring with Fine-tuning and Multiple Regression
Kun SunRong Wang
This paper addresses the limitation of existing automated essay scoring (AES) systems that produce only a single overall score. The authors develop two models that score English essays across multiple dimensions—such as vocabulary, grammar, and coherence—by fine-tuning on two large datasets. The models achieve strong performance measured by precision, F1 score, and Quadratic Weighted Kappa, and also outperform existing methods in overall scoring.
arXivarXiv · · June 3, 2024
0
Differential contributions of machine learning and statistical analysis to language and cognitive sciences
Kun SunRong Wang
Using the Buckeye Speech Corpus, this tutorial-like study systematically compares machine learning and statistical analysis applied to the same language production data. It shows that machine learning excels at pattern recognition and prediction, while statistical methods provide deeper insights into variable relationships, illustrated through the novel metric of semantic relevance and its effect on word duration. The work clarifies common misconceptions and offers guidance on when to apply each approach in language and cognitive sciences.
arXivarXiv · · April 22, 2024
0
TIMIT Speaker Profiling: A Comparison of Multi-task learning and Single-task learning Approaches
Rong WangKun Sun
This study compares multi-task learning (MTL) and single-task learning on the TIMIT dataset for gender classification, accent classification, age estimation, and speaker identification. MTL performs better when tasks share similar complexity, while accent classification remains challenging. Non-sequential features are preferred for speaker recognition, though sequential features provide a starting point for complex models. The results highlight the importance of careful feature engineering and parameter tuning in deep learning.
arXivarXiv · · April 18, 2024
0
Authors with the same name
Kun Sun #0001 · 27 papers
Kun Sun #0002 · 7 papers
Frequent collaborators
Rong Wang (16)
Xin Sun (3)
Yanfeng Wang (3)
Ya Zhang (3)
Xu He (2)
Shu Wang (2)
Pei Wu (2)
Yuqi Bai (2)
Yilin Li (2)
Guozhu Meng (2)
Hailong Chang (2)
Pingjie Wang (2)