MCP
SL

Sen Lin

94 papers in the library

Papers

30
Calibrate in Context: Efficient Data-Free Quantization from Small Synthetic Pools
Haowen HuaSen LinYaokun HuangZeyi ShaoHao ZhangWei SuiJohn SeeZeyd BoukhersCong Yang
This paper targets accurate low-bit, data-free quantization when only a small synthetic image pool is available, improving both the synthetic images and the student's preparation for recovery. Its central contribution is Functional Grid Calibration (FGC), which selects activation scales and integer offsets against full-precision responses built from the student's current block input, rather than by local response error; because weights stay fixed during calibration and candidates are scored only at their consuming operators, FGC brings block context to calibration at nearly local-scoring cost. Combined with progressive inversion that updates the same images through increasingly deeper teacher prefixes for DeiT and ViT, and using 1,000 images, the pipeline exceeds MimiQ's reported accuracy in all 18 W4A4/W5A5 settings across nine backbones; with 256 images, DeiT-S and ViT-S reach 68.20% and 66.90% ImageNet top-1 at W4A4 within 26–27 minutes on one RTX 5090, and the low-budget checkpoints retain their advantage on ImageNetV2.
arXivarXiv · · November 19, 2026
1
From Generic to Dedicated: A Novel Optimizer for Online Continual Learning
Yongyi WuZheng WangSen Lin
The authors propose SPIN, an optimizer for online continual learning (OCL) that explicitly separates plasticity and stability by interpolating between fast-moving Polyak-Ruppert averaging (plasticity) and adaptive primal averaging (stability). They show theoretically that SPIN approximates an inverse Hessian, providing Tikhonov regularization that dampens noisy single-sample gradient estimates and reduces catastrophic forgetting. SPIN takes existing OCL gradients as input, seamlessly replacing standard optimizers like SGD or AdamW, and yields consistent performance gains across multiple OCL methods, including rehearsal-free settings and strict memory constraints.
arXivarXiv · · October 20, 2026
0
Training LLMs for Multi-Agent Collaboration with Verifiable Information Rewards
Keru ChenSen LinYingbin LiangNathaniel D. BastianShaofeng Zou
CoSIR is a post-training approach that improves multi-agent LLM collaboration by training agents in a simple verifiable environment to share relevant evidence, request missing information, and use teammates' input. A Bayesian evaluator scores shared messages by their reduction in team surprisal, defined as the sum of negative log probabilities of the correct option given each agent's evidence; requests are scored by the potential reduction if truthfully answered. Post-trained Qwen3-4B, Qwen3-8B, and Gemma-3-4B-it generalize to seven unseen collaboration tasks, achieving top aggregate scores and showing increased disclosure of private evidence and fewer failures to use teammates' input.
arXivarXiv · · October 13, 2026
0
0
HIPO: Instruction Hierarchy via Constrained Reinforcement Learning
Keru ChenJun LuoSen LinYingbin LiangAlvaro VelasquezNathaniel D. BastianShaofeng Zou
Hierarchical Instruction Following (HIF) refers to the problem of prompting large language models with a priority-ordered stack of instructions. Standard methods like RLHF and DPO typically fail in this problem since they mainly optimize for a single objective, failing to explicitly enforce system prompt compliance. Meanwhile, supervised fine-tuning relies on mimicking filtered, compliant data, which fails to establish the priority asymmetry at the algorithmic level. In this paper, we introduce HIPO, a novel alignment framework that formulates HIF as a Constrained Markov Decision Process. HIPO elevates system prompts from mere input context to strict algorithmic boundaries. Using a primal-dual safe reinforcement learning approach, the algorithm dynamically enforces system prompt compliance as an explicit constraint, maximizing user utility strictly within this feasible region. Extensive evaluations across diverse model architectures (e.g., Qwen, Phi, Llama) demonstrate that HIPO significantly improves both system compliance and user utility. Furthermore, mechanistic analysis reveals that this constrained optimization autonomously drives the model to shift its attention toward long-range system tokens, providing a principled foundation for reliable LLM deployment in complex workflows.
ACL AnthologyACL Anthology · October 2026
0
MeshHeal: Two-Timescale Self-Healing for Gray Failures in Decentralized LLM Agent Networks
Keru ChenSen LinYingbin LiangNathaniel D. BastianShaofeng Zou
MeshHeal is a fully decentralized self-healing framework for gray failures in LLM agent networks. It couples peer review across two timescales: at a fast timescale, an adaptive hierarchy escalates uncertain or low-scoring outputs from a single reviewer to committee deliberation and possibly correction; at a slow timescale, a detector aggregates scores to distinguish persistent degradation from normal variation, triggers mandatory committee review, and excludes degraded agents from ordinary routing until recovery probes provide fresh evidence. Evaluated on BBH, MATH, and MMLU-Pro, MeshHeal achieves 0.839 degraded-phase accuracy using 51k total model tokens per task, outperforming the strongest baseline Symphony's 0.807 accuracy with 115k tokens.
arXivarXiv · · September 24, 2026
0
1
PRIME-ANC: Path-Ratio-Informed Modeling for Efficient Neural Filter Synthesis in Active Noise Control
Yaokun HuangChunyang XuHaowen HuaSen LinShichao HuMengyao Zhu
PRIME-ANC introduces a shared neural synthesizer for active noise control that learns a bounded log-magnitude correction to a regularized path-ratio base, enabling efficient generation of path-specific finite-impulse-response filters without iterative optimization. The method achieves average one-third-octave reductions of 18.81 dB and 17.76 dB on held-out data from two datasets, improving upon the path-ratio base by 7.89 dB on original earphone measurements. With three Gauss-Newton updates, it reaches 21.43 dB reduction, approaching weighted least-squares design with lower amplification and control output.
arXivarXiv · · September 24, 2026
0
The System Must Evolve: Benchmarking Long-Horizon Automation Over Dependent Tasks
Qinhang WuLinfeng CaoHongbo LiSen LinYingbin LiangNess ShroffAndrew Perrault
Throughline is a continual-agent benchmark inspired by Factorio that removes spatial layout and real-time control while retaining hierarchical recipes, throughput constraints, and dependency-structured progression, scoring rollouts with a deterministic simulator rather than an LLM judge. In a shared 20-sub-task campaign where the factory and recipe library persist across sub-tasks, frontier API models collapse at varying depths of the dependency chain yet share a final-target wall; memory representation is decisive but model-specific, local continual learning is rehearsal-sensitive (naive fine-tuning forgets catastrophically, rich rehearsal recovers to the offline supervised ceiling), and residual failures come from mis-extending inherited factories rather than losing earlier targets.
OpenReviewOpenReview · July 4, 2026
0
0
Dominant-Layer ZO: A Single Layer Dominates Zeroth-Order Fine-Tuning of LLMs
Wanhao YuZiyan WangZheng WangAbeer Matar AlmalkyYihang ZuoShuteng NiuSen LinAdnan Siraj RakinDeliang FanLi Yang
This work uncovers a striking property of zeroth-order (ZO) fine-tuning for LLMs: adaptation is sharply dominated by a single decoding layer. Across multiple model families and tasks, fine-tuning only this dominant layer matches or exceeds full-model ZO fine-tuning. The layer is task-agnostic yet model-specific and can be found before training by a simple inference-only analysis of activation outliers, since it coincides with the first activation-outlier layer of the pre-trained model. The authors attribute this to the layer's high perturbation sensitivity and early position in the residual stream, letting perturbation effects accumulate through later layers and yield strong, stable forward-only optimization signals. On LLaMA2-7B and Qwen3-8B over nine benchmarks, dominant-layer ZO fine-tuning beats full-model MeZO and LoRA-based ZO fine-tuning on average, with up to 4.52$\times$ faster training.
arXivarXiv · · June 3, 2026
0
0
Rethinking Continual Anomaly Detection on the Edge: Benchmarking Under Realistic Industrial Conditions
Chad WeatherlySen Lin
This paper benchmarks continual anomaly detection (CAD) for industrial edge inspection, introducing a unified evaluation with discrete-task and continuous-drift protocols. It finds that existing CAD methods often fail to outperform simple experience replay. The authors propose DINOSaur, a training-free method that uses a frozen DINOv3 backbone, spatially-indexed coreset memory, and neighborhood-restricted scoring. DINOSaur achieves zero forgetting, surpasses all compared methods across five protocols, and runs at sub-100 ms inference on an NVIDIA Jetson Orin Nano, with on-device adaptation under 30 seconds.
arXivarXiv · · May 22, 2026
0
0
Learning Adaptive Reasoning Budgets via Constraint-Rectified Training
Qinhang WuSen LinMing ZhangYingbin LiangNess Shroff
We propose Constraint-Rectified Training (CRT), a reference-guarded post-training framework for adaptive efficient reasoning. CRT first minimizes reasoning length while preserving accuracy relative to a frozen reference policy to discover the shortest reliable reasoning regime, then treats this as a learned token budget and refines correctness without reverting to verbosity. Across benchmarks and backbones, CRT improves the accuracy-efficiency frontier over length-aware baselines, and redundancy analysis shows it reduces repetitive reasoning beyond average token count. This establishes budget-aware post-training as a practical mechanism for resource-efficient inference.
OpenReviewOpenReview · May 9, 2026
0
0
Dominant-Layer ZO: A Single Layer Dominates Zeroth-Order Fine-Tuning of LLMs
Wanhao YuZiyan WangZheng WangAbeer Matar AlmalkyYihang ZUOShuteng NiuSen LinAdnan Siraj RakinDeliang FanLi Yang
This work reveals that zeroth-order fine-tuning of LLMs is sharply dominated by a single decoding layer: across multiple model families and tasks, fine-tuning only that layer matches or exceeds full-model ZO. The dominant layer is task-agnostic but model-specific, and can be identified before training by an inference-only analysis of activation outliers, since it aligns with the first activation-outlier layer of the pre-trained model. The authors explain this via perturbation propagation: the layer combines high perturbation sensitivity with early placement in the residual stream, so effects accumulate through later layers and yield stronger forward-only optimization signals. On LLaMA2-7B and Qwen3-8B across nine benchmarks, dominant-layer ZO beats full-model MeZO and LoRA-based ZO on average while achieving up to 4.52× training speedup.
OpenReviewOpenReview · · May 4, 2026
0
Theory on Attention Dynamics for Out-of-Distribution In-Context Learning
Junze DengDaouda SowSen LinYingbin Liang
This paper develops a theory of out-of-distribution (OOD) error in transformers' in-context learning by analyzing the dynamics of $\alpha$-type and $\beta$-type attention weights, which capture confidence in identifying correct versus incorrect features. It shows that each feature's OOD error depends on all pairwise interactions between training and OOD features, and that under certain cases the transformer performs no better than random guessing. The authors then study fine-tuning with OOD data, characterizing source-domain forgetting: source performance does not always degrade, since fine-tuning keeps raising confidence in correct original features while interference from incorrect features may rise or fall depending on the feature shift.
OpenReviewOpenReview · · May 3, 2026
0
From Generic to Dedicated: A Novel Optimizer for Online Continual Learning
Yongyi WuZheng WangSen Lin
Online continual learning under a strict single-pass constraint is prone to catastrophic forgetting, yet existing methods typically rely on generic optimizers such as SGD and AdamW. This work links optimization dynamics to OCL needs by casting Polyak-Ruppert averaging as the engine of plasticity and Primal averaging as the anchor of stability, yielding SPIN (Stability-Plasticity INterpolation), an optimizer that interpolates between a fast-moving plasticity sequence and an adaptive stability sequence. It is shown theoretically that SPIN implicitly uses an inverse Hessian approximation, providing Tikhonov regularization that damps noisy single-sample Hessian estimates and mitigates forgetting. SPIN takes existing OCL methods' gradients as input and replaces standard optimizers, giving consistent gains across multiple OCL approaches, including rehearsal-free and strict memory-constraint settings.
OpenReviewOpenReview · · May 3, 2026
0
Specialists Hold, Generalists Discount: Asymmetric Equilibrium in LLM Routing Auctions
Xinyu HouYang LuRabimba KaranjaiPei-Chi PanSen LinLei XuWeidong Shi
This paper studies the supply-side pricing problem for LLM routing as a sealed-bid first-price reverse auction over collaboration modes, with prices treated as strategic rather than given. It establishes mixed-strategy BNE existence for the finite game and, for continuous games with aggregate own-price monotonicity and continuous payoff aggregates, a conditional monotone pure-strategy existence result. Experiments on calibrated profiles of nine open-weight LLMs (3B-32B, three task categories) find that task leaders tend to retain high own-task bids while weaker substitutes discount, and a dominant generalist can weaken this differentiation. Because learned routing caches are not uniformly monotone, mixed profiles are computed by fictitious play and certified via exhaustive finite-grid unilateral-deviation residuals instead of the pure-strategy theorem; cycle periods and supports shift under controls, but the qualitative price ordering holds. The findings characterize the tested markets, not a universal pricing law.
OpenReviewOpenReview · May 2, 2026
0
HIPO: Instruction Hierarchy via Constrained Reinforcement Learning
Keru ChenJun LuoSen LinYingbin LiangAlvaro VelasquezNathaniel BastianShaofeng Zou
HIPO formulates hierarchical instruction following as a Constrained Markov Decision Process, using primal-dual safe reinforcement learning to enforce system prompt compliance as an explicit constraint while maximizing user utility. This approach establishes system prompts as strict algorithmic boundaries rather than mere input context, significantly improving both compliance and utility across Qwen, Phi, and Llama models. Mechanistic analysis shows that constrained optimization autonomously shifts attention toward long-range system tokens.
arXivarXiv · · March 17, 2026
0
5
Reward Modeling for Reinforcement Learning-Based LLM Reasoning: Design, Challenges, and Evaluation
Pei-Chi PanYingbin LiangSen Lin
This paper presents Reasoning-Aligned Reinforcement Learning (RARL), a taxonomic perspective that organizes reward paradigms for multi-step LLM reasoning. Treating reward modeling as the central architect of reasoning alignment, the authors categorize reward mechanisms, identify reward hacking as a pervasive failure mode, and use reward signals to unify issues like inference-time scaling and hallucination mitigation. They also critique existing benchmarks for data contamination and reward misalignment, proposing directions for more robust evaluation. The work integrates fragmented research to offer a roadmap toward robust, verifiable, and trustworthy reasoning models.
OpenReviewOpenReview · January 7, 2026
0
9
Instantaneous velocity during quantum tunnelling
Xiao-Wen ShangJian-Peng DouFeng LuSen LinHao TangXian-Min Jin
This paper resolves the reported energy–speed paradox in quantum tunnelling, in which lower incident energy appears to yield a higher tunnelling "speed", using a dynamical framework of tunnelling. It shows that at the rising edge of the incident wavepacket the particle velocity inside the barrier decreases continuously from an initially large value, remains constant across the wavepacket plateau, and reverses sign at the falling edge, while the in-barrier probability density accumulates, holds steady, and then decays. Closed-form expressions relate velocity and dwell time to barrier width and height, and coupling between internal and external states is examined.
arXivarXiv · · December 18, 2025
0
Uncertainty Guided Online Ensemble for Non-stationary Data Streams in Fusion Science
Kishansingh RajputMalachi SchramBrian SammuliSen Lin
This paper applies online learning to predict Toroidal Field coil deflection at the DIII-D fusion facility, where non-stationary data streams cause static ML models to fail. The authors propose an uncertainty-guided online ensemble method: a Deep Gaussian Process Approximation provides calibrated uncertainty estimates, which guide a meta-algorithm that combines learners trained on different historical horizons. This approach reduces prediction error by about 10% over standard single-model online learning and also outputs uncertainty estimates for decision makers.
arXivarXiv · · November 3, 2025
0
1
Mixture-of-Transformers Learn Faster: A Theoretical Study on Classification Problems
Hongbo LiQinhang WuSen LinYingbin LiangNess B. Shroff
The paper introduces Mixture-of-Transformers (MoT), a theoretical framework where each transformer block acts as an expert guided by a continuously trained gating network, enabling expert specialization and attention alignment. A three-stage training algorithm is developed, showing that each expert specializes in a distinct task class and the gating network accurately routes data. This specialization reduces gradient conflicts, making each subtask strongly convex. The expected prediction loss converges to near zero in $O(\log(\varepsilon^{-1}))$ iteration steps, significantly improving over the $O(\varepsilon^{-1})$ rate for a single transformer. Real-data experiments validate the practical effectiveness of MoT, offering a unified theoretical account of transformer-level specialization.
arXivarXiv · · October 30, 2025
0
0
More Than Memory Savings: Zeroth-Order Optimization Mitigates Forgetting in Continual Learning
Wanhao YuZheng WangShuteng NiuSen LinLi Yang
This paper introduces zeroth-order (ZO) optimization as a method to mitigate forgetting in continual learning (CL). The authors show theoretically and empirically that ZO optimization produces flatter loss landscapes, which improve stability but reduce plasticity due to imprecise gradient estimates. To balance this trade-off, they propose ZO-FC, which applies ZO optimization to a single adapter-based PEFT module while using a first-order (FO) optimized classifier. This design leverages ZO's stability benefits and FO's adaptability with negligible memory overhead, achieving effective stability-plasticity balance in on-device CL.
arXivarXiv · · October 23, 2025
0
2
Rethinking Continual Learning with Progressive Neural Collapse
Zheng WangWanhao YuLi YangSen Lin
Progressive Neural Collapse (ProNC) replaces the fixed global equiangular tight frame (ETF) target used in continual learning (CL), which suffers from impracticality and limited performance. ProNC progressively expands the ETF by adding new class prototypes as vertices for new tasks, ensuring maximal separability across all encountered classes with minimal shifts from previous targets. Integrated into common CL designs and combined with distillation to balance old-class shifting and new-class alignment, ProNC significantly outperforms baselines with superior flexibility, simplicity, and efficiency. Code is available.
OpenReviewOpenReview · · September 18, 2025
0
Mixture-of-Transformers Learn Faster: A Theoretical Study on Classification Problems
Hongbo LiQinhang WuSen LinYingbin LiangNess Shroff
This paper provides a theoretical account of Mixture-of-Transformers (MoT) for classification, where each transformer block is an expert governed by a continuously trained gating network. They propose a three-stage algorithm and show experts specialize by task and gating routes data correctly. This reduces gradient conflicts and makes subtasks strongly convex, yielding near-zero loss in $\(\mathcal{O}(\log(\epsilon^{-1}))\) iterations, versus $\(\mathcal{O}(\epsilon^{-1})\) for a single transformer, validated by experiments.
OpenReviewOpenReview · · September 12, 2025
0
Knowledge-Guided Machine Learning for Stabilizing Near-Shortest Path Routing
Yung-Fu ChenSen LinAnish Arora
We propose a simple algorithm for learning local routing policies that generalize across geometric random graphs from a single graph's few data samples, solving the all-pairs near-shortest path problem. Domain knowledge guides feature selection and policy function design, and ensures theoretical generalization. Using only distance to destination as input, the learned policy exactly matches Greedy Forwarding. A new policy, GreedyTensile routing, which adds node stretch as input, almost always outperforms Greedy Forwarding. Its DNN is symbolically interpreted as two linear actions, ensuring explainability and ultra-low latency.
arXivarXiv · · September 8, 2025
0
4
Towards Fast Safe Online Reinforcement Learning via Policy Finetuning
Keru ChenHonghao WeiZhigang DengSen Lin
This paper introduces Marvel, the first policy-finetuning based framework for offline-to-online (O2O) safe reinforcement learning, motivated by the high costs of extensive environmental interactions. The authors identify two challenges that prevent naive application of existing O2O algorithms: erroneous Q-estimations from objective mismatch and offline cost sparsity, and Lagrangian mismatch from difficulties aligning Lagrange multipliers. Marvel comprises Value Pre-Alignment, which aligns learned Q-functions with the online objective before finetuning, and Adaptive PID Control, which adjusts Lagrange multipliers during finetuning. Extensive experiments demonstrate Marvel's superior performance over related baselines.
OpenReviewOpenReview · · September 8, 2025
0
Rethinking Continual Learning with Progressive Neural Collapse
Zheng WangWanhao YuLi YangSen Lin
Continual Learning (CL) suffers from Catastrophic Forgetting due to knowledge interference among tasks. Neural Collapse shows that class prototypes converge to a simplex equiangular tight frame (ETF), which maximizes separability. Existing CL methods that fix a global ETF are impractical and limited. This paper proposes Progressive Neural Collapse (ProNC), which progressively expands the ETF by adding new class prototypes for new tasks, maintaining maximal separability with minimal shifts. Integrated with distillation to balance target shifting and aligning, ProNC significantly outperforms baselines in flexibility, simplicity, and efficiency.
arXivarXiv · · May 30, 2025
0
0
Unlocking the Power of Rehearsal in Continual Learning: A Theoretical Perspective
Junze DengQinhang WuPeizhong JuSen LinYingbin LiangNess Shroff
This paper provides the first theoretical analysis of rehearsal-based continual learning, comparing concurrent rehearsal (joint training of past and new data) with sequential rehearsal (training new data first, then revisiting past tasks). In overparameterized linear models, sequential rehearsal achieves lower forgetting and generalization error when tasks are less similar. This insight motivates a Hybrid Rehearsal method that trains similar tasks concurrently and dissimilar tasks sequentially, outperforming standard concurrent rehearsal in experiments with deep neural networks.
arXivarXiv · · May 30, 2025
0
17
Capturing the Effects of Quantization on Trojans in Code LLMs
Aftab HussainSadegh AlMahdi Kazemi ZarkoueiMd Rafiqul Islam RabinMohammad Amin AlipourSen LinBowen Xu
This paper investigates how model quantization affects the risk of data poisoning attacks on code LLMs, using Meta's Llama-2-7b and CodeLlama-7b on an SQL code generation task. The authors introduce a new metric for measuring trojan signals in compromised models. They find that quantization has differing effects: while it does not significantly alter Llama-2's behavior, it improves performance and reduces attack success rates in CodeLlama, especially at 4-bit precision.
arXivarXiv · · May 20, 2025
0
1
Outlook Towards Deployable Continual Learning for Particle Accelerators
Kishansingh RajputSen LinAuralee EdelenWillem BloklandMalachi Schram
This paper identifies distribution drifts in particle accelerator data as a key barrier to deploying machine learning (ML) models that outlast short-term use. It surveys existing ML applications in accelerators, notes their performance degradation under distribution shifts, and reviews continual learning techniques as a potential countermeasure. By mapping the opportunities and challenges of applying continual learning to accelerator environments, the paper aims to stimulate research toward deployable continual learning solutions that maintain ML model performance over time.
arXivarXiv · · April 4, 2025
0
14
A Comprehensive Survey of Mixture-of-Experts: Algorithms, Theory, and Applications
Siyuan MuSen Lin
Mixture-of-Experts (MoE) models address two major challenges in large AI models: high computational cost and difficulty fitting heterogeneous data. By dynamically selecting and activating the most relevant sub-models per input, MoE improves performance and efficiency with fewer resources. This survey comprehensively covers MoE design—gating functions, expert networks, routing, training, and system design—its algorithm design in continual, meta, multi-task, and reinforcement learning, theoretical studies, and applications in computer vision and NLP, filling gaps in prior surveys.
arXivarXiv · · March 10, 2025
0
226
Unlocking the Power of Rehearsal in Continual Learning: A Theoretical Perspective
Junze DengQinhang WuPeizhong JuSen LinYingbin LiangNess Shroff
This paper theoretically examines rehearsal-based continual learning in overparameterized linear models, comparing concurrent rehearsal (training past and new data together) with sequential rehearsal (training new data first, then revisiting past tasks). By characterizing forgetting and generalization error, the authors show sequential rehearsal performs better when tasks are less similar. This motivates a novel Hybrid Rehearsal method that trains similar tasks concurrently and dissimilar tasks sequentially. Its performance is characterized, and experiments on deep neural networks confirm the hybrid approach outperforms standard concurrent rehearsal, providing the first comprehensive theoretical analysis of rehearsal-based CL.
OpenReviewOpenReview · · January 24, 2025
0
Authors with the same name
Sen Lin · 14 papers
Sen Lin #0001 · 33 papers
Sen Lin #0003 · 3 papers
Sen Lin #0005 · 1 papers
Sen Lin #0008 · 1 papers
Frequent collaborators
Yingbin Liang (26)
Junshan Zhang (23)
Ness Shroff (12)
Li Yang (10)
Daouda Sow (8)
Zheng Wang (7)
Keru Chen (7)
Qinhang Wu (7)
Deliang Fan (7)
Peizhong Ju (7)
Sheng Yue (6)
Ju Ren (6)