MCP
MT

Ming Tan

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

Papers

30
HyperMC: Multi-Fidelity Hyperparameter Tuning for Stochastic Gradient MCMC
Ming TanXiyun Jiao
HyperMC is a multi-fidelity hyperparameter tuning framework for stochastic gradient MCMC (SGMCMC) methods, which lack a Metropolis-Hastings acceptance rate. It combines Hyperband-style resource allocation with kernel Stein discrepancy (KSD) evaluation to balance exploration and evaluation under a fixed budget. Under suitable conditions, the successive-halving component selects a near-optimal configuration with high probability. Robust HyperMC, a variant using global grid initialization and elite-guided local refinement, improves stability and reproducibility. Experiments on logistic regression, matrix factorization, and Bayesian neural networks show improved posterior approximation and predictive calibration over baselines.
arXivarXiv · · September 2, 2026
0
SpanUQ: Span-Level Uncertainty Quantification for Large Language Model Generation
Yimeng ZhangYingying ZhuangZiyi WangYuxuan LuPei ChenAman GuptaZhe SuMing TanZhilin ZhangQun LiuManikandarajan RamanathanRajashekar Maragoud  +3
SPANUQ introduces span-level uncertainty estimation (SLUE), treating semantically coherent spans as the natural granularity for uncertainty in LLM generation. It uses a lightweight DETR-style probe over hidden states to detect spans and predict uncertainty via a Mixture of Beta distribution, trained with Beta NLL and contrastive ranking. On SPANUQ-BENCH, it outperforms baseline probes and sampling methods across five LLMs, being 10–20x faster and enabling precise error localization.
arXivarXiv · · July 7, 2026
0
0
SPANUQ: Span-Level Uncertainty Quantification for Large Language Model Generation
Yimeng ZhangYingying ZhuangZiyi WangYuxuan LuPei ChenAman GuptaZhe SuMing TanZhilin ZhangQun LiuManikandarajan RamanathanRajashekar Maragoud  +3
Existing uncertainty estimates for LLMs operate at suboptimal granularities: token-level scores lack semantic coherence, while sequence-level scores cannot localize errors. The paper formalizes Span-Level Uncertainty Estimation (SLUE), a new task targeting semantically coherent spans that each convey a single assessable unit of meaning, and introduces SPANUQ, a lightweight probe (~25M parameters) that distills the uncertainty knowledge of expensive multi-sample inference into a single forward pass over LLM hidden states, using a DETR-style span decoder with a Mixture of Beta distribution trained via Beta NLL regression and contrastive ranking to jointly detect spans and estimate their uncertainty. Across five LLM backbones, SPANUQ achieves the best span-level uncertainty quality (AUROC 0.908-0.944, MAE 0.110-0.129), outperforming the strongest probe baseline and all sampling-based methods while being 10-20x faster.
OpenReviewOpenReview · · April 21, 2026
0
Linking Knowledge to Care: Knowledge Graph-Augmented Medical Follow-Up Question Generation
Liwen SunXiang YuMing TanZhuohao ChenAnqi ChengAshutosh JoshiChenyan Xiong
KG-Followup augments an LLM with a structured medical knowledge graph and active in-context learning to generate relevant, important follow-up questions for pre-diagnostic assessment. The knowledge graph supplies professional domain expertise that the LLM reasons over, improving question quality. On relevant benchmarks, KG-Followup outperforms state-of-the-art methods by 5%–8% in recall.
arXivarXiv · · March 1, 2026
0
3
MEASER: Malware embedding attacks on open-source LLMs
Ming TanWei LiHu TaoHailong MaAodi LiuQian ChenZilong Wang
MEASER formalizes malware embedding attacks (MEAs) on open-source LLMs, where an adversary with internal knowledge injects payloads and triggers during the model sharing phase. The attack uses Magnitude-Adaptive Relative Quantization Index Modulation (MAR-QIM) with LDPC codes and spread spectrum modulation to achieve robustness against quantization and fine-tuning, and a performance-aware importance metric selects parameters that minimize performance degradation. Experiments on four open-source LLMs show MEASER achieves zero bit error rate and superior stealthiness compared to existing MEAs, including on quantized models.
arXivarXiv · · October 12, 2025
0
0
PARA: Parameter-Efficient Fine-tuning with Prompt Aware Representation Adjustment
Zequan LiuYi ZhaoMing TanWei ZhuAaron Xuxiang Tian
PARA introduces a parameter-efficient fine-tuning method that adds a lightweight prompt-aware vector generator to each Transformer layer, producing input-dependent vectors that adjust hidden representations. Experiments show PARA outperforms existing PEFT benchmarks with a comparable parameter count and is more efficient than LoRA in single-backbone multi-tenant settings, highlighting its industrial potential.
arXivarXiv · · February 3, 2025
0
13
PARA: Parameter-Efficient Fine-tuning with Prompt-Aware Representation Adjustment
Zequan LiuYi ZhaoMing TanWei ZhuAaron Xuxiang Tian
In the realm of parameter-efficient fine-tuning (PEFT) methods, while options like LoRA are available, there is a persistent demand in the industry for a PEFT approach that excels in both efficiency and performance within the context of single-backbone multi-tenant applications. This paper introduces a new and straightforward PEFT technique, termed Prompt Aware Representation Adjustment (PARA). The core of our proposal is to integrate a lightweight vector generator within each Transformer layer. This generator produces vectors that are responsive to input prompts, thereby adjusting the hidden representations accordingly. Our extensive experimentation across diverse tasks has yielded promising results. Firstly, the PARA method has been shown to surpass current PEFT benchmarks in terms of performance, despite having a similar number of adjustable parameters. Secondly, it has proven to be more efficient than LoRA in the single-backbone multi-tenant scenario, highlighting its significant potential for industrial adoption.
ACL AnthologyACL Anthology · November 2024
0
Code Representation Learning At Scale
Dejiao ZhangWasi AhmadMing TanHantian DingRamesh NallapatiDan RothXiaofei MaBing Xiang
The paper scales code representation learning by pretraining an encoder on a large code corpus in two stages. First, it combines random masking language modeling with structure-aware denoising. Second, it applies unsupervised contrastive learning using hard negatives and positives derived from the data. The resulting model outperforms existing encoders across diverse downstream tasks. Ablations confirm that the token-level denoising scheme, hard negatives and positives, and the two-stage approach are key to the gains.
arXivarXiv · · February 2, 2024
0
86
SPT: Learning to Selectively Insert Prompts for Better Prompt Tuning
Wei ZhuMing Tan
Prompt tuning prepends a soft prompt to the input embeddings or hidden states and only optimizes the prompt to adapt pretrained models (PTMs) to downstream tasks. The previous work manually selects prompt layers which are far from optimal and failed to exploit the potential of prompt tuning. In this work, we propose a novel framework, Selective Prompt Tuning (SPT), that learns to select the proper prompt layers by inserting a prompt controlled by a learnable probabilistic gate at each intermediate layer. We further propose a novel bi-level optimization framework, SPT-DARTS, that can better optimize the learnable gates and improve the final prompt tuning performances of the learned prompt layer settings. We conduct extensive experiments with ten benchmark datasets under the full-data and few-shot scenarios. The results demonstrate that our SPT framework can perform better than the previous state-of-the-art PETuning baselines with comparable or fewer tunable parameters.
ACL AnthologyACL Anthology · December 2023
0
57
Improving Prompt Tuning with Learned Prompting Layers
Wei ZhuMing Tan
Selective Prompt Tuning (SPT) learns which transformer layers to prompt by inserting a learnable probabilistic gate per layer, eliminating manual selection. A bi-level optimization (SPT-DARTS) jointly optimizes gates and prompts. On ten benchmarks, SPT outperforms prior prompt-tuning methods with comparable or fewer tunable parameters.
arXivarXiv · · October 31, 2023
0
CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completion
Yangruibo DingZijian WangWasi Uddin AhmadHantian DingMing TanNihal JainMurali Krishna RamanathanRamesh NallapatiParminder BhatiaDan RothBing Xiang
CrossCodeEval is a benchmark for cross-file code completion, built from real-world repositories in Python, Java, TypeScript, and C#. It uses static analysis to identify completion points that strictly require cross-file context. Experiments show that state-of-the-art models struggle without such context, and even with it, performance remains far from solved, making CrossCodeEval a test of both model comprehension and retrieval methods.
arXivarXiv · · October 17, 2023
0
350
CODE REPRESENTATION LEARNING AT SCALE
Dejiao ZhangWasi Uddin AhmadMing TanHantian DingRamesh NallapatiDan RothXiaofei MaBing Xiang
This paper scales code representation learning by pretraining encoder-only models on vast code data with a two-stage scheme. First, encoders are trained with masked language modeling combined with programming-language-specific structure and semantics. Then, representations are enhanced via unsupervised contrastive learning using hard negatives and hard positives. The resulting model consistently outperforms existing models on many downstream tasks. The paper also presents ablations on token-level denoising, the importance of hard examples, the role of bimodal contrastive learning for cross-lingual search, and how pretraining affects scaling with model size.
OpenReviewOpenReview · · September 21, 2023
0
Exploring Continual Learning for Code Generation Models
Prateek YadavQing SunHantian DingXiaopeng LiDejiao ZhangMing TanXiaofei MaParminder BhatiaRamesh NallapatiMurali Krishna RamanathanMohit BansalBing Xiang
Continual learning (CL) for code generation models is underexplored despite library churn. This paper introduces CodeTask-CL, a benchmark spanning code generation, translation, summarization, and refinement across programming languages. On this benchmark, Prompt Pooling (PP) suffers catastrophic forgetting in code tasks due to distribution shifts that destabilize prompt selection. The authors propose Prompt Pooling with Teacher Forcing (PP-TF), which stabilizes selection by enforcing constraints, improving over PP by 21.54%.
arXivarXiv · · July 5, 2023
0
50
NAG-NER: a Unified Non-Autoregressive Generation Framework for Various NER Tasks
Xinpeng ZhangMing TanJingfan ZhangWei Zhu
NAG-NER is a unified non-autoregressive generation framework for flat, nested, and discontinuous named entity recognition. It treats entities as a set rather than a sequence to avoid error propagation, and uses non-autoregressive decoding for efficient generation by regarding each entity as a target sequence. A NAG encoder detects potential mentions to improve decoder performance. Experiments show NAG-NER outperforms state-of-the-art generative models on three benchmark datasets and two proprietary NER tasks.
ACL AnthologyACL Anthology · July 2023
0
24
ContraCLM: Contrastive Learning For Causal Language Model
Nihal JainDejiao ZhangWasi Uddin AhmadZijian WangFeng NanXiaopeng LiMing TanRamesh NallapatiBaishakhi RayParminder BhatiaXiaofei MaBing Xiang
ContraCLM is a contrastive learning framework applied at both token and sequence levels to improve the discrimination of representations in causal language models. It bridges the gap with encoder-only models on non-generation tasks, achieving a 44% relative improvement on Semantic Textual Similarity and 34% on Code-to-Code Search. The enhanced representations also boost source code generation execution accuracy by 9% on HumanEval.
ACL AnthologyACL Anthology · · July 2023
0
Multitask Pretraining with Structured Knowledge for Text-to-SQL Generation
Robert GiaquintoDejiao ZhangBenjamin KleinerYang LiMing TanParminder BhatiaRamesh NallapatiXiaofei Ma
This paper presents a multitask pretraining framework for encoder-decoder models that leverages structured knowledge (database schemas, tables, columns) alongside text and SQL code. The authors build a large pretraining dataset and strategy that learns joint representations using the full context of text-to-SQL generation. Their approach achieves new state-of-the-art results on Spider and CoSQL, outperforming prior methods by 1.7 and 2.2 percentage points respectively.
ACL AnthologyACL Anthology · July 2023
0
11
Exploring Continual Learning for Code Generation Models
Prateek YadavQing SunHantian DingXiaopeng LiDejiao ZhangMing TanParminder BhatiaXiaofei MaRamesh NallapatiMurali Krishna RamanathanMohit BansalBing Xiang
Large-scale code generation models such as Copilot and CodeT5 have achieved impressive performance. However, libraries are upgraded or deprecated very frequently and re-training large-scale language models is computationally expensive. Therefore, Continual Learning (CL) is an important aspect that remains under-explored in the code domain. In this paper, we introduce a benchmark called CodeTask-CL that covers a wide range of tasks, including code generation, translation, summarization, and refinement, with different input and output programming languages. Next, on our CodeTask-CL benchmark, we compare popular CL techniques from NLP and Vision domains. We find that effective methods like Prompt Pooling (PP) suffer from catastrophic forgetting due to the unstable training of the prompt selection mechanism caused by stark distribution shifts in coding tasks. We address this issue with our proposed method, Prompt Pooling with Teacher Forcing (PP-TF), that stabilizes training by enforcing constraints on the prompt selection mechanism and leads to a 21.54% improvement over Prompt Pooling. Along with the benchmark, we establish a training pipeline that can be used for CL on code models, which we believe can motivate further development of CL methods for code models.
ACL AnthologyACL Anthology · July 2023
0
LECO: Improving Early Exiting via Learned Exits and Comparison-based Exiting Mechanism
Jingfan ZhangMing TanPengyu DaiWei Zhu
LECO improves early exiting in pre-trained models by addressing two overlooked aspects. It automatically designs intermediate exit architectures using differentiable neural architecture search, replacing fixed hand-crafted exits. It also introduces a comparison-based mechanism that decides when to exit by comparing the current exit's output with the previous one, achieving better accuracy-speed tradeoffs. Experiments on multi-exit BERT show state-of-the-art results.
ACL AnthologyACL Anthology · July 2023
0
21
Learned Adapters Are Better Than Manually Designed Adapters
Yuming ZhangPeng WangMing TanWei Zhu
This paper proposes the Learned Adapter framework, which automatically finds optimal adapter architectures for parameter-efficient fine-tuning of pre-trained models, instead of relying on manual design. The framework constructs a unified search space and uses a simple optimization method called GDNAS. Experiments show it outperforms prior parameter-efficient tuning baselines with comparable or fewer tuned parameters, and the learned architectures are transferable across tasks.
ACL AnthologyACL Anthology · July 2023
0
28
SPT: Learning to Selectively Insert Prompts for Better Prompt Tuning
Qiang YueMing Tan
SPT (Selective Prompt Tuning) learns to insert a prompt at each intermediate layer of a pretrained model, controlled by a learnable probabilistic gate, instead of manually selecting prompt layers. A bi-level optimization framework, SPT-DARTS, optimizes these gates to enhance prompt tuning performance. Experiments on ten benchmark datasets under full-data and few-shot scenarios show SPT outperforms previous state-of-the-art PETuning baselines with comparable or fewer tunable parameters.
OpenReviewOpenReview · June 16, 2023
0
CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completion
Yangruibo DingZijian WangWasi Uddin AhmadHantian DingMing TanNihal JainMurali Krishna RamanathanRamesh NallapatiParminder BhatiaDan RothBing Xiang
CrossCodeEval is a multilingual benchmark for cross-file code completion, built from real-world permissively-licensed repositories in Python, Java, TypeScript, and C#. Using a static-analysis approach, it pinpoints examples that require cross-file context for accurate completion. Experiments show that state-of-the-art models like CodeGen and StarCoder struggle without this context, improve when it is added, yet still fall short of peak performance, making CrossCodeEval useful for assessing both context utilization and code retrieval methods.
OpenReviewOpenReview · · June 1, 2023
0
Cross-View Hierarchy Network for Stereo Image Super-Resolution
Wenbin ZouHongxia GaoLiang ChenYunchen ZhangMingchao JiangZhongxin YuMing Tan
The CVHSSR method for stereo image super-resolution improves high-resolution reconstruction by jointly exploiting intra-view and cross-view information. It introduces a cross-hierarchy information mining block (CHIMB) that uses channel and large kernel convolution attention to extract global and local features from a single view, restoring accurate texture details. A cross-view interaction module (CVIM) fuses similar features across views via cross-view attention. CVHSSR achieves state-of-the-art performance with fewer parameters.
arXivarXiv · · April 13, 2023
0
40
Multi-lingual Evaluation of Code Generation Models
Ben AthiwaratkunSanjay Krishna GoudaZijian WangXiaopeng LiYuchen TianMing TanWasi Uddin AhmadShiqi WangQing SunMingyue ShangSujan Kumar GonugondlaHantian Ding  +13
This work introduces MBXP, Multilingual HumanEval, and MathQA-X, benchmarks for evaluating code generation models across over 10 programming languages. The datasets are created via a scalable framework that transpiles prompts and test cases from original Python datasets into target languages. Using these benchmarks, the authors demonstrate that language models generalize to out-of-domain languages, that multilingual models outperform monolingual ones, and that few-shot prompting can teach new languages, even enabling zero-shot translation. The benchmarks advance understanding of models' multilingual code generation abilities.
arXivarXiv · · October 26, 2022
0
337
ContraCLM: Contrastive Learning For Causal Language Model
Nihal JainDejiao ZhangWasi Uddin AhmadZijian WangFeng NanXiaopeng LiMing TanRamesh NallapatiBaishakhi RayParminder BhatiaXiaofei MaBing Xiang
Causal language models (CLMs) often suffer from poor discrimination in their representations. ContraCLM addresses this with a contrastive learning framework applied at both token and sequence levels. On Semantic Textual Similarity, it achieves 44% relative improvement over the baseline, and 34% on Code-to-Code Search. The enhanced expressiveness also boosts source code generation, yielding 9% relative improvement in execution accuracy on HumanEval, reducing the gap with encoder-only models for tasks beyond generation.
arXivarXiv · · October 3, 2022
0
21
AIM 2022 Challenge on Super-Resolution of Compressed Image and Video: Dataset, Methods and Results
Ren YangRadu Timofte…Ming Tan
The AIM 2022 challenge on compressed image and video super-resolution released the LDV 3.0 dataset (365 videos) for Track 2, together with DIV2K for Track 1. Twelve and two teams submitted final results to Track 1 and Track 2 respectively, advancing the state-of-the-art in super-resolution of compressed content.
arXivarXiv · · August 23, 2022
0
50
DQ-BART: Efficient Sequence-to-Sequence Model via Joint Distillation and Quantization
Zheng LiZijian WangMing TanRamesh NallapatiParminder BhatiaAndrew ArnoldBing XiangDan Roth
DQ-BART jointly applies knowledge distillation and weight quantization to compress large pre-trained sequence-to-sequence models (e.g., BART) for generative NLP tasks. By transferring knowledge from a full-precision teacher to a low-precision student, it achieves a 16.5x model footprint compression with minimal performance loss on summarization and QA datasets, and pushes the limit to 27.7x, demonstrating the first effective combination of distillation and quantization for such models.
arXivarXiv · · March 21, 2022
0
54
New Benchmark for Household Garbage Image Recognition
Zhize WuHuanyi LiXiaofeng WangZijun WuLe ZouLixiang XuMing Tan
This paper introduces HGI-30, a new open benchmark dataset for household garbage image classification containing 18,000 images across 30 classes, designed to simulate varied real-world conditions including complex backgrounds, variable lighting, diverse angles, and changeable shapes. The authors also evaluate state-of-the-art deep CNN methods on HGI-30, establishing baseline results to facilitate research and application development in this field.
arXivarXiv · · February 24, 2022
0
47
Organizational Distance Also Matters: How Organizational Distance Among Industrial Research Teams Affect Their Research Productivity
Dakuo WangMichael MullerQian YangZijun WangMing TanStacy Hobson
This empirical study investigates how team dispersion affects research productivity in a real-world industrial research lab. Analyzing 117 project teams over six months, it finds that geographic and time zone differences have little statistical relation to productivity, whereas organizational and functional distances are predictive. The central contribution is the quantitative evidence that organizational distance, rather than geographic dispersion, matters for team performance in this setting.
arXivarXiv · · October 3, 2021
0
13
Generating Synthetic Data for Task-Oriented Semantic Parsing with Hierarchical Representations
Ke TranMing Tan
This paper proposes a method to generate synthetic training data for hierarchical semantic parsing when labeled data is scarce. The approach extracts masked templates from existing utterances, fine-tunes BART to generate new utterances conditioned on those templates, and filters outputs with an auxiliary parser. Evaluated on the Facebook TOP navigation dataset, it demonstrates the potential of generating usable data for this task.
arXivarXiv · · November 3, 2020
0
7
Skeleton Based Action Recognition using a Stacked Denoising Autoencoder with Constraints of Privileged Information
Zhize WuThomas WeiseLe ZouFei SunMing Tan
The paper proposes a skeleton-based action recognition method that uses a stacked denoising autoencoder guided by privileged information—action categories and temporal coordinates—during training to preserve category and temporal features in the learned hidden representation. A locally-warped sequence registration (LWSR) technique mitigates temporary misalignment, followed by Fourier temporal pyramid (FTP) representation and linear SVM classification. Experiments on MSR-Action3D, UTKinect-Action, and Florence3D-Action datasets show performance better than many existing methods and comparable to the state of the art.
arXivarXiv · · March 12, 2020
0
Frequent collaborators
Bing Xiang (12)
Ramesh Nallapati (11)
Parminder Bhatia (9)
Wei Zhu (7)
Dejiao Zhang (7)
Hantian Ding (7)
Xiaofei Ma (7)
Dakuo Wang (6)
Dan Roth (6)
Zijian Wang (6)
Wasi Uddin Ahmad (6)
Murali Krishna Ramanathan (5)