MCP
SW

Sinong Wang

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

Papers

30
WebUIProof: Benchmarking WebUI Code Generators with UI-Agent Execution Harness
Yun-Yun TsaiYuning MaoShiqi WangJunfeng YangSinong Wang
WebUIProof is an execution-oriented benchmark for WebUI code generation that replaces static checks with structured specifications and dense, executable interaction tests for general and 3D interactive UIs. A UI-agent harness runs these tests in a headless browser via an iterative plan-act-observe loop, locating elements and verifying assertions. Evaluations on eight commercial LLMs show frequent failures on interaction requirements despite successful rendering, especially for 3D interfaces. RL training with rewards from these tests improves functional completion and cuts build failures in small models.
arXivarXiv · · October 2, 2026
0
Beyond Reward Hacking: Causal Rewards for Large Language Model Alignment
Chaoqi WangZhuokai ZhaoYibo JiangZhaorun ChenChen ZhuYuxin ChenJiayi LiuLizhu ZhangXiangjun FanHao MaSinong Wang
The paper tackles reward hacking in RLHF for LLMs, which stems from spurious correlations in reward modeling and introduces biases like length bias and sycophancy. The authors propose a causal reward modeling approach that integrates causality to mitigate these spurious correlations. By enforcing counterfactual invariance, it ensures reward predictions remain consistent when irrelevant variables change. Experiments on synthetic and real-world data show that the method effectively reduces various spurious correlations, yielding more reliable and fair alignment. Offered as a drop-in enhancement to existing RLHF workflows, it improves the trustworthiness of LLM finetuning.
OpenReviewOpenReview · September 19, 2025
0
52
Multi-Sample Preference Optimization for Generative Model Alignment
Chaoqi WangZhuokai ZhaoChen ZhuKarthik Abinav SankararamanMichal ValkoXuefei CaoZhaorun ChenMadian KhabsaYuxin ChenHao MaSinong Wang
This paper proposes extending generative model post-training from single-sample to multi-sample preference comparisons, arguing single-sample methods like RLHF and DAP fail to capture group-wise characteristics such as diversity and bias. The authors introduce Multi-sample Direct Preference Optimization (mDPO) and Multi-sample Identity Preference Optimization (mIPO), which adapt direct alignment methods to group-wise objectives. Experiments show multi-sample comparison more effectively optimizes collective characteristics and provides a more robust framework, particularly under label noise.
OpenReviewOpenReview · September 19, 2025
0
0
High Accuracy, Less Talk (HALT): Reliable LLMs through Capability-Aligned Finetuning
Tim FranzmeyerArchie SravankumarLijuan LiuYuning MaoRui HouSinong WangJakob Nicolaus FoersterLuke ZettlemoyerMadian Khabsa
HALT post-trains an LLM to answer only when confident and to (partially) abstain otherwise, reducing hallucination. It splits pretrained responses into factual fragments, identifies incorrect ones using ground truth, and either removes them or replaces them with "Unsure from Here", governed by a tunable threshold trading completeness for correctness. Finetuned on four open-source models across domains, HALT raises mean fragment correctness by 15% on average, improves F1 by 4% over baselines, and a Llama3-70B variant increases correctness from 51% to 87% while keeping 53% of standard-finetuning completeness.
OpenReviewOpenReview · · September 17, 2025
0
Improving Model Factuality with Fine-grained Critique-based Evaluator
Yiqing XieWenxuan ZhouPradyot PrakashDi JinYuning MaoQuintin FettesArya TalebzadehSinong WangHan FangCarolyn RoseDaniel FriedHejia Zhang
This paper introduces FenCE, a fine-grained factuality evaluator that provides language models with claim-level critiques and scores. FenCE is trained via data augmentation on public judgment datasets to judge claims using diverse source documents. To improve generator factuality, the authors propose a framework that uses FenCE to revise and score candidate responses without introducing lesser-known facts, then trains the generator on preferred revised responses. On Llama2-7B-chat and Llama3-8B-chat, FenCE-based finetuning improves factuality rates by 16.86% and 14.45% respectively on FActScore, outperforming prior state-of-the-art methods.
ACL AnthologyACL Anthology · July 2025
0
22
Learning Auxiliary Tasks Improves Reference-Free Hallucination Detection in Open-Domain Long-Form Generation
Chengwei QinWenxuan ZhouKarthik Abinav SankararamanNanshu WangTengyu XuAlexander RadovicEryk HelenowskiArya TalebzadehAditya TayadeSinong WangShafiq JotyHan Fang  +1
Hallucination, the generation of factually incorrect information, remains a significant challenge for large language models (LLMs), especially in open-domain long-form generation. Existing approaches for detecting hallucination in long-form tasks either focus on limited domains or rely heavily on external fact-checking tools, which may not always be available.In this work, we systematically investigate reference-free hallucination detection in open-domain long-form responses. Our findings reveal that internal states (e.g., model’s output probability and entropy) alone are insufficient for reliably (i.e., better than random guessing) distinguishing between factual and hallucinated content. To enhance detection, we explore various existing approaches, including prompting-based methods, probing, and fine-tuning, with fine-tuning proving the most effective. To further improve the accuracy, we introduce a new paradigm, named RATE-FT, that augments fine-tuning with an auxiliary task for the model to jointly learn with the main task of hallucination detection. With extensive experiments and analysis using a variety of model families & datasets, we demonstrate the effectiveness and generalizability of our method, e.g., +3% over general fine-tuning methods on LongFact.
ACL AnthologyACL Anthology · July 2025
0
Boosting LLM Reasoning via Spontaneous Self-Correction
Xutong ZhaoTengyu XuXuewei WangZhengxing ChenDi JinLiang TanYen-Ting LinZishun YuZhuokai ZhaoYun HeSinong WangHan Fang  +2
We propose SPOC, a spontaneous self-correction approach that enables LLMs to interleave solution generation and verification in a single inference pass, with generation dynamically terminated based on verification outcomes. By assigning dual roles of proposer and verifier to the same model in a multi-agent framework, SPOC fine-tunes on synthetic data and improves accuracy via online reinforcement learning. Experiments show significant gains on math benchmarks, e.g., 8.8-11.6% on MATH500 and up to 20% on AMC23.
OpenReviewOpenReview · · June 21, 2025
0
Boosting LLM Reasoning via Spontaneous Self-Correction
Xutong ZhaoTengyu XuXuewei WangZhengxing ChenDi JinLiang TanYen-TingZishun YuZhuokai ZhaoYun HeSinong WangHan Fang  +2
SPOC enables an LLM to perform spontaneous self-correction during math reasoning in a single inference pass. The same model acts as both solution proposer and verifier, generating interleaved solution and verification steps and terminating dynamically based on the verification outcome. The method uses synthetic fine-tuning data followed by online reinforcement learning to improve the model's self-verification and multi-agent collaboration. On MATH500, SPOC improves Llama-3.1-8B and 70B Instruct by 8.8% and 11.6% respectively.
arXivarXiv · · June 7, 2025
0
25
High Accuracy, Less Talk (HALT): Reliable LLMs through Capability-Aligned Finetuning
Tim FranzmeyerArchie SravankumarLijuan LiuYuning MaoRui HouSinong WangJakob N. FoersterLuke ZettlemoyerMadian Khabsa
HALT post-trains a language model to partially abstain from generating content when it lacks capability. It decomposes pretrained model responses into factual fragments, identifies incorrect fragments using ground truth, and either removes them or replaces them with "Unsure from Here" based on a tunable threshold. This process creates capability-aligned finetuning data that trades off completeness for correctness. On biography, mathematics, coding, and medicine tasks, HALT increases mean fragment correctness by 15% and improves F1 by 4%, with a single Llama3-70B model achieving 87% correctness across domains.
arXivarXiv · · June 4, 2025
0
1
Reinforcement Learning from User Feedback
Eric HanJun ChenKarthik Abinav SankararamanXiaoliang PengTengyu XuEryk HelenowskiKaiyan PengMrinal KumarSinong WangHan FangArya Talebzadeh
Reinforcement Learning from User Feedback (RLUF) aligns LLMs with real user preferences using implicit production signals, such as emoji reactions, which are binary, sparse, and occasionally adversarial. A reward model, P[Love], predicts the probability that a response receives a Love Reaction and is integrated into multi-objective policy optimization alongside helpfulness and safety. In live A/B tests, RLUF increased Love Reactions by 28%, though reward hacking requires careful balancing.
arXivarXiv · · May 20, 2025
1
11
Learning Auxiliary Tasks Improves Reference-Free Hallucination Detection in Open-Domain Long-Form Generation
Chengwei QinWenxuan ZhouKarthik Abinav SankararamanNanshu WangTengyu XuAlexander RadovicEryk HelenowskiArya TalebzadehAditya TayadeSinong WangShafiq JotyHan Fang  +1
This paper finds that internal states like output probability are insufficient for reference-free hallucination detection in open-domain long-form generation. To improve detection, the authors propose RATE-FT, which augments fine-tuning with an auxiliary task that the model learns jointly with the main hallucination detection task. Experiments across model families and datasets show that RATE-FT outperforms general fine-tuning, e.g., by +3% on LongFact.
arXivarXiv · · May 18, 2025
1
3
Boosting LLM Reasoning via Spontaneous Self-Correction
Xutong ZhaoTengyu XuXuewei WangZhengxing ChenDi JinLiang TanYen-Ting LinZishun YuZhuokai ZhaoYun HeSinong WangHan Fang  +2
SPOC enables large language models to perform spontaneous self-correction in a single inference pass by interleaving solution proposals with verifications and dynamically stopping based on outcomes. The same model plays dual roles as proposer and verifier, trained with synthetic fine-tuning data and online reinforcement learning to improve accuracy. On math benchmarks, SPOC yields absolute gains, e.g., 8.8% on MATH500 and 10.0% on AMC23 for Llama-3.1-8B Instruct.
OpenReviewOpenReview · · March 21, 2025
0
Think Smarter not Harder: Adaptive Reasoning with Inference Aware Optimization
Zishun YuTengyu XuDi JinKarthik Abinav SankararamanYun HeWenxuan ZhouZhouhao ZengEryk HelenowskiChen ZhuSinong WangHao MaHan Fang
We introduce Inference Budget-Constrained Policy Optimization (IBPO), which frames reasoning as utility maximization under an inference budget constraint. Fine-tuned models learn to gauge query difficulty and allocate budgets accordingly, avoiding unnecessarily long chains of thought. On MATH500, best models achieve 4.14% and 5.74% absolute (8.08% and 11.2% relative) improvements over LLaMA3.1 8B Instruct using 2.16x and 4.32x budgets, about twice the gains of self-consistency.
OpenReviewOpenReview · · January 31, 2025
0
Think Smarter not Harder: Adaptive Reasoning with Inference Aware Optimization
Zishun YuTengyu XuDi JinKarthik Abinav SankararamanYun HeWenxuan ZhouZhouhao ZengEryk HelenowskiChen ZhuSinong WangHao MaHan Fang
Large language models often produce unnecessarily long reasoning chains for simple questions. The authors propose Inference Budget-Constrained Policy Optimization (IBPO), which treats reasoning as utility maximization under an inference budget constraint. Models fine-tuned with IBPO learn to allocate more computation to difficult queries and less to easy ones. On MATH500, the best IBPO-tuned LLaMA3.1 8B Instruct models achieve absolute improvements of 4.14% and 5.74% (relative 8.08% and 11.2%) using 2.16× and 4.32× inference budgets, roughly twice the gains of self-consistency under the same budgets.
arXivarXiv · · January 29, 2025
1
36
Think Smarter not Harder: Adaptive Reasoning with Inference Aware Optimization
Zishun YuTengyu XuDi JinKarthik Abinav SankararamanYun HeWenxuan ZhouZhouhao ZengEryk HelenowskiChen ZhuSinong WangHao MaHan Fang
This work introduces Inference Budget-Constrained Policy Optimization (IBPO), which trains large language models to adapt reasoning length by framing inference as utility maximization under a budget constraint. Models learn to judge query difficulty and allocate budgets accordingly, addressing the single-modal behavior of long chain-of-thought reasoning on trivial questions. On MATH500, IBPO-tuned models achieve absolute improvements of $4.14\%$ and $5.74\%$ ($8.08\%$ and $11.2\%$ relative) over LLaMA3.1 8B Instruct with $2.16\times$ and $4.32\times$ inference budgets, roughly doubling self-consistency gains.
OpenReviewOpenReview · · January 21, 2025
0
Step-KTO: Optimizing Mathematical Reasoning through Stepwise Binary Feedback
Yen-Ting LinDi JinTengyu XuTianhao WuSainbayar SukhbaatarChen ZhuYun HeYun-Nung ChenJason WestonYuandong TianArash RahnamaSinong Wang  +2
Step-KTO is a training framework that improves the mathematical reasoning of large language models by providing binary feedback (correct/incorrect) for both intermediate reasoning steps and the final answer. This process-level and outcome-level feedback encourages the model to follow coherent logical progressions rather than superficial shortcuts. Evaluated on benchmarks like MATH-500, Step-KTO significantly improves Pass@1 accuracy over strong baselines, demonstrating the value of integrating stepwise process feedback into LLM training.
arXivarXiv · · January 18, 2025
0
21
Multi-IF: Benchmarking LLMs on Multi-Turn and Multilingual Instructions Following
Yun HeDi Jin…Sinong Wang
Multi-IF is a benchmark that evaluates LLMs on multi-turn and multilingual instruction following. It extends IFEval by adding three-turn conversations translated into seven languages, yielding 4,501 multilingual conversations. Testing 14 LLMs shows that task accuracy drops with each turn (e.g., o1-preview from 0.877 to 0.707) and is lower for non-Latin scripts, indicating limitations in current models.
arXivarXiv · · October 21, 2024
0
134
Preference Optimization with Multi-Sample Comparisons
Chaoqi WangZhuokai ZhaoChen ZhuKarthik Abinav SankararamanMichal ValkoXuefei CaoZhaorun ChenMadian KhabsaYuxin ChenHao MaSinong Wang
This paper extends preference-based post-training of generative models (e.g., LLMs and diffusion models) from single-sample to multi-sample comparisons, arguing that the latter better captures group-wise characteristics such as generative diversity and bias. The authors propose Multi-sample Direct Preference Optimization (mDPO) and Multi-sample Identity Preference Optimization (mIPO), which improve traditional DAP methods by focusing on these collective traits. Experiments show that multi-sample comparison outperforms single-sample comparison in optimizing diversity and bias, and offers a more robust framework, especially for datasets with label noise.
arXivarXiv · · October 16, 2024
0
15
The Perfect Blend: Redefining RLHF with Mixture of Judges
Tengyu XuEryk Helenowski…Sinong Wang
Reinforcement learning from human feedback (RLHF) faces multi-task learning challenges including reward hacking and extreme multi-objective optimization. This paper introduces Constrained Generative Policy Optimization (CGPO), a post-training paradigm whose core is a Mixture of Judges (MoJ) mechanism with cost-efficient constrained policy optimization and stratification. CGPO identifies a Pareto-optimal blend across many objectives without extensive hyperparameter tuning, detecting and mitigating reward hacking. Empirically, it outperforms PPO and DPO, achieving 7.4% improvement on AlpacaEval-2 and 12.5% on Arena-Hard, while successfully addressing reward hacking in coding benchmarks.
arXivarXiv · · September 30, 2024
0
48
The Perfect Blend: Redefining RLHF with Mixture of Judges
Tengyu XuEryk Helenowski…Sinong Wang
The paper introduces Constrained Generative Policy Optimization (CGPO), a post-training paradigm for RLHF that addresses reward hacking and extreme multi-objective optimization in multi-task learning. Its core, Mixture of Judges (MoJ) with cost-efficient constrained policy optimization via stratification, identifies an optimal blend of RLHF objectives in a principled manner, yielding Pareto-optimal performance without extensive tuning. CGPO consistently outperforms PPO and DPO across diverse tasks, improving over PPO by 7.4% on AlpacaEval-2, 12.5% on Arena-Hard, 2% on IFEval, MATH, GSM8K, ARC, and 5% on HumanEval, while mitigating PPO's severe reward hacking in coding benchmarks.
OpenReviewOpenReview · · September 27, 2024
1
Preference Optimization with Multi-Sample Comparisons
Chaoqi WangZhuokai ZhaoChen ZhuKarthik Abinav SankararamanMichal ValkoXuefei CaoZhaorun ChenMadian KhabsaYuxin ChenHao MaSinong Wang
This paper introduces multi-sample preference optimization for post-training generative models. Unlike RLHF and DAP methods, which use single-sample comparisons and miss group-level traits like diversity and bias, the authors propose Multi-sample Direct Preference Optimization (mDPO) and Multi-sample Identity Preference Optimization (mIPO). These methods extend traditional DAP by focusing on group-wise characteristics. Experiments show multi-sample comparisons outperform single-sample ones in optimizing collective traits and offer a more robust framework, especially on label-noisy datasets.
OpenReviewOpenReview · · September 26, 2024
0
The Llama 3 Herd of Models
Aaron GrattafioriAbhimanyu Dubey…Sinong Wang
Llama 3 is a herd of foundation language models, with the largest being a dense Transformer of 405B parameters supporting up to 128K-token context. It natively handles multilinguality, coding, reasoning, and tool usage. Empirical evaluation shows it delivers quality comparable to leading models such as GPT-4 across many tasks. Pre-trained and post-trained versions of the 405B model and Llama Guard 3 are publicly released. A compositional integration of image, video, and speech capabilities achieves competitive performance, though these multimodal models remain under development.
arXivarXiv · · July 31, 2024
0
26k+
LM-Infinite: Zero-Shot Extreme Length Generalization for Large Language Models
Chi HanQifan WangHao PengWenhan XiongYu ChenHeng JiSinong Wang
Today’s large language models (LLMs) typically train on short text segments (e.g., <4K tokens) due to the quadratic complexity of their Transformer architectures. As a result, their performance suffers drastically on inputs longer than those encountered during training, substantially limiting their applications in real-world tasks involving long contexts such as encod- ing scientific articles, code repositories, or long dialogues. Through both theoretical analysis and empirical investigation, this work identifies three major factors contributing to this length generalization failure. Our theoretical analysis reveals that commonly used techniques like using a sliding-window attention pattern or relative positional encodings are inadequate to address them. Answering these challenges, we propose LM-Infinite, a simple and effective method for enhancing LLMs’ capabilities of handling long contexts. LM-Infinite is highly flexible and can be used with most modern LLMs off-the-shelf. Without any parameter updates, it allows LLMs pre-trained with 2K or 4K-long segments to generalize to up to 200M length inputs while retaining perplexity. It also improves performance on downstream tasks such as Passkey Retrieval and Qasper in the zero-shot setting. LM-Infinite brings substantial efficiency improvements: it achieves 2.7× decoding speed up and 7.5× memory saving over the original model. Our code will be publicly available upon publication.
ACL AnthologyACL Anthology · June 2024
0
Effective Long-Context Scaling of Foundation Models
Wenhan XiongJingyu Liu…Sinong Wang
We present an effective recipe to train strong long-context LLMs that are capable of utilizing massive context windows of up to 32,000 tokens. Our models are built through continual pretraining from Llama 2 checkpoints with longer text sequences and on a dataset where long texts are upsampled. We perform extensive evaluation using language modeling, synthetic context probing tasks, and a wide range of downstream benchmarks. Across all evaluations, our models achieve consistent improvements on most regular-context tasks and significant improvements on long-context tasks over Llama 2. Moreover, with a cost-effective instruction tuning procedure that is free of expensive annotation, the presented models can already surpass gpt-3.5-turbo-16k ‘s overall performance on long-context benchmarks. Alongside these results, we provide an in-depth analysis on each individual component of our method. We delve into Llama’s position encodings and discuss its key limitation in modeling long data. We examine the impact of various design choices in the pretraining process, including the data mix and the training curriculum of sequence lengths – ablation results suggest that having abundant long texts in the pretrain dataset is not the key to achieving strong performance, and we empirically verify that long context continual pretraining is more efficient and similarly effective compared to pretraining from scratch with long sequences.
ACL AnthologyACL Anthology · June 2024
0
Phonetic and Lexical Discovery of a Canine Language using HuBERT
Xingyuan LiSinong WangZeyu XieMengyue WuKenny Q. Zhu
This paper discovers a rudimentary canine vocabulary by applying a self-supervised HuBERT model to dog vocalizations. The approach identifies phoneme labels and acoustic patterns, achieving significant acoustic consistency across observed sequences. The work also provides a web-based labeling system that highlights phoneme n-grams from the discovered vocabulary in user-uploaded dog audio, overcoming the limitation of traditional linguistic analysis that relies on human prior knowledge.
arXivarXiv · · February 25, 2024
0
4
APrompt: Attention Prompt Tuning for Efficient Adaptation of Pre-trained Language Models
Qifan WangYuning MaoJingang WangHanchao YuShaoliang NieSinong WangFuli FengLifu HuangXiaojun QuanZenglin XuDongfang Liu
The paper proposes APrompt, an attention prompt tuning method for efficient adaptation of pre-trained language models. Unlike existing prompt tuning that only adds prompts at the input layer, APrompt integrates learnable query, key, and value prompts into the attention layer to guide attention computation. The authors show that standard input prompt tuning is a special case of this approach. Experiments on the SuperGLUE benchmark demonstrate that APrompt outperforms both full fine-tuning and prior prompt tuning methods across models of varying scales.
ACL AnthologyACL Anthology · December 2023
0
Learning Easily Updated General Purpose Text Representations with Adaptable Task-Specific Prefix
Kuan-Hao HuangLiang TanRui HouSinong WangAmjad AlmahairiRuty Rinott
Many real-world applications require making multiple predictions from the same text. Fine-tuning a large pre-trained language model for each downstream task causes computational burdens in the inference time due to several times of forward passes. To amortize the computational cost, freezing the language model and building lightweight models for downstream tasks based on fixed text representations are common solutions. Accordingly, how to learn fixed but general text representations that can generalize well to unseen downstream tasks becomes a challenge. Previous works have shown that the generalizability of representations can be improved by fine-tuning the pre-trained language model with some source tasks in a multi-tasking way. In this work, we propose a prefix-based method to learn the fixed text representations with source tasks. We learn a task-specific prefix for each source task independently and combine them to get the final representations. Our experimental results show that prefix-based training performs better than multi-tasking training and can update the text representations at a smaller computational cost than multi-tasking training.
ACL AnthologyACL Anthology · December 2023
0
Effective Long-Context Scaling of Foundation Models
Wenhan XiongJingyu Liu…Sinong Wang
This work presents a series of LLMs with effective context windows up to 32,768 tokens, built by continually pretraining Llama 2 on longer sequences with upsampled long texts. The resulting models consistently improve on regular tasks and significantly on long-context tasks over Llama 2. Notably, a 70B variant, instruction-tuned without human-annotated long data, surpasses gpt-3.5-turbo-16k on a suite of long-context tasks. Ablations show that abundant long texts in the pretrain data are not key, and continual pretraining is more efficient than pretraining from scratch.
arXivarXiv · · September 27, 2023
0
441
Representation Deficiency in Masked Language Modeling
Yu MengJitin KrishnanSinong WangQifan WangYuning MaoHan FangMarjan GhazvininejadJiawei HanLuke Zettlemoyer
Masked Language Modeling (MLM) uses the special $\texttt{[MASK]}$ token only during pretraining, causing a train/test discrepancy. This paper shows, both empirically and theoretically, that MLM allocates some model dimensions exclusively to represent $\texttt{[MASK]}$ tokens, thereby limiting expressiveness on downstream data without such tokens. To address this, they propose MAE-LM, which adopts the Masked Autoencoder architecture and keeps $\texttt{[MASK]}$ tokens out of the encoder. MAE-LM improves dimension utilization for real tokens and outperforms MLM-pretrained models on GLUE and SQuAD.
OpenReviewOpenReview · · September 21, 2023
0
LM-Infinite: Simple On-the-Fly Length Generalization for Large Language Models
Chi HanQifan WangWenhan XiongYu ChenHeng JiSinong Wang
LM-Infinite enables on-the-fly length generalization for Transformer LLMs without parameter updates. It identifies out-of-distribution attention patterns as the main cause of failure and applies a $\Lambda$-shaped attention mask and distance limit to avoid unseen tokens and distances. With $O(n)$ time and space, it preserves generation fluency up to 128k tokens on ArXiv and OpenWebText2, achieving a 2.72x decoding speedup.
OpenReviewOpenReview · September 16, 2023
0
378
Frequent collaborators
Hao Ma (27)
Han Fang (23)
Madian Khabsa (21)
Karthik Abinav Sankararaman (15)
Chen Zhu (14)
Tengyu Xu (13)
Qifan Wang (12)
Di Jin (11)
Yun He (10)
Yuning Mao (9)
Rui Hou (9)
Eryk Helenowski (9)