MCP
RP

Rameswar Panda

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

Papers

30
The Ephemeral Cost of Switching Optimizers Across LLM Training Stages
Xinyu ZhaoDavis WertheimerAshutosh SharmaRameswar PandaPaul Pu Liang
The abstract asks whether switching optimizers between LLM training stages carries a real penalty. The authors pretrain 1.2B Llama-3 models from scratch with varying proportions of AdamW and Muon updates, and interpolate between the two during continued pretraining, supervised fine-tuning (SFT), and RL. They find little evidence of a meaningful optimizer mismatch penalty: final performance is largely explained by the independent effects of the pretraining and post-training optimizers. Matching the pretraining optimizer can reduce forgetting during SFT, but this does not improve final benchmark performance. AdamW and Muon also remain comparable for task-general SFT of Llama and Qwen models up to 14B, and for math RLVR on the 1.2B models plus Qwen3-1.7B and 4B. The authors conclude that the post-training optimizer can be chosen largely independently of the pretraining one.
arXivarXiv · · October 15, 2026
1
0
Does self-distillation improve reasoning?
Jason Ken AdhinartaRaina WuAshutosh SharmaAvinash BalakrishnanRameswar PandaPolina GollandYoon KimZhang-Wei Hong
This paper revisits two self-distillation methods, SDPO and OPSD, to test whether their reported gains over reinforcement learning in reasoning tasks truly stem from using privileged information. Across code, science, tool use, and math tasks with Qwen3 and OLMo-3-7B models, the authors find these gains do not consistently generalize to unseen problems and are largely explained by overfitting or transferring existing reasoning behavior. Self-distillation gradients also align weakly with policy gradients optimizing expected reward, suggesting effectively leveraging privileged information for reasoning remains an open challenge.
arXivarXiv · · October 13, 2026
0
2
TOUCAN: Synthesizing 1.5M Tool-Agentic Data from Real-World MCP Environments
Zhangchen XuAdriana Meza SoriaShawn TanAnurag RoyAshish Sunil AgrawalRadha PoovendranRameswar Panda
Large Language Model (LLM) agents are rapidly emerging as powerful systems for automating tasks across domains. Yet progress in the open-source community is constrained by the lack of high quality permissively licensed tool-agentic training data. Existing datasets are limited in diversity, realism, and complexity, particularly regarding multi-tool and multi-turn interactions. To address this gap, we introduce Toucan, which contains 1.5 million trajectories synthesized from nearly 500 real-world Model Context Protocols (MCPs). Unlike prior work, Toucan leverages authentic MCP environments to generate diverse, realistic, and challenging tasks with trajectories involving real tool execution. Our pipeline first produces a broad spectrum of tool-use queries using five distinct models, applies model-based quality filtering, and then generates agentic trajectories with three teacher models using two agentic frameworks. Rigorous rule-based and model-based validation ensures high-quality outputs. We also introduce three extensions to further diversify tasks and simulate multi-turn conversations. Models fine-tuned on Toucan outperform larger closed-source counterparts on the BFCL V3 benchmark and establish a new Pareto optimum on MCP-Universe Bench.
ACL AnthologyACL Anthology · October 2026
0
Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling
Oliver SieberlingBharat RunwalDavid JinRyan ChinRameswar PandaYoon Kim
Triadic linear attention generalizes linear attention by writing a triadic outer product of a key, a second key, and a value into a third-order tensor state, read by contracting both key axes with two queries. This yields an $E$-fold state-size increase with only two additional projections. Compatible with data-dependent forgetting, the delta rule, and chunkwise-parallel training, it improves long-context language modeling and recall over state-enlarging alternatives when applied to Gated DeltaNet and scalar-gated models.
arXivarXiv · · September 29, 2026
0
0
Does self-distillation improve reasoning?
Jason Ken AdhinartaRaina WuAshutosh SharmaRameswar PandaPolina GollandYoon KimZhang-Wei Hong
This paper re-examines whether self-distillation—training a model to imitate its own predictions conditioned on privileged information such as correct answers or environmental feedback—actually improves reasoning, revisiting Self-Distillation Policy Optimization (SDPO) and On-Policy Self-Distillation (OPSD) on code, science, tool use, and math tasks. Across Qwen3 models (1.7B–14B) and OLMo-3-7B, the reported gains do not consistently generalize to unseen problems and are largely explained by overfitting or transfer of existing reasoning behavior rather than effective use of privileged information; moreover, self-distillation gradients align only weakly with policy gradients that directly optimize expected reward. The authors conclude that effectively leveraging privileged information to improve reasoning remains an open challenge.
OpenReviewOpenReview · · September 5, 2026
0
The Ephemeral Cost of Switching Optimizers Across LLM Training Stages
Xinyu ZhaoDavis WertheimerAshutosh SharmaRameswar PandaPaul Pu Liang
A systematic study of switching optimizers between LLM training stages finds little evidence of a meaningful optimizer mismatch penalty. Pretraining 1.2B Llama-3 models from scratch with varying proportions of AdamW and Muon updates, and similarly interpolating during continued pretraining and SFT, the authors find final performance is largely explained by the independent effects of the pretraining and post-training optimizers, with downstream performance generally improving as the Muon proportion during SFT increases. Although matching the pretraining optimizer can reduce forgetting during SFT, this does not improve final benchmark performance; Muon remains competitive with AdamW for task-general SFT of Llama and Qwen models up to 14B pretrained with AdamW, and AdamW and Muon achieve comparable final performance in math RLVR. The results suggest the post-training optimizer can be chosen largely independently of the pretraining one.
OpenReviewOpenReview · · August 29, 2026
0
Dynamic Short Convolutions Improve Transformers
Oliver SieberlingBharat RunwalRameswar PandaYoon Kim
This paper introduces dynamic short convolutions as an additional primitive for making Transformers more efficient. Unlike static short convolutions, their filters are input-dependent, preserving the locality bias of convolution while adding expressivity. Applied to key, query, and value representations, they improve associative recall tasks requiring context-dependent local composition and retrieval, and across 150M–2B-parameter language models they consistently outperform standard Transformers and Transformers with static short convolutions; fitted scaling laws indicate a 1.33$\times$ compute advantage when applied to key, query, value vectors and 1.60$\times$ when added after every linear layer. Gains also appear on linear RNNs (Mamba-2/Gated DeltaNet) and mixture-of-experts architectures, with custom Triton kernels keeping training efficient.
OpenReviewOpenReview · · July 20, 2026
0
Finding the Minimal Parameter Budget for Implicit Reasoning: A Data Complexity Driven Scaling Law for Language Models
Xinyi WangShawn TanShenbo XuMingyu JinWilliam Yang WangRameswar PandaYikang Shen
This work determines the minimal parameter budget needed for implicit reasoning—inferring new facts from learned knowledge without chain-of-thought supervision—by pretraining language models from scratch in a controlled synthetic environment that mimics real-world knowledge-graph structure and distribution, with missing edges completed via multi-hop inference. Theoretically and empirically, the authors identify a scaling law relating this optimal budget to a graph search entropy measure; across model sizes, training steps, and graph complexities, an optimally sized model can reliably reason over at most about 0.008 bits of information per parameter. This characterizes the minimal sufficient capacity for implicit reasoning during pretraining and offers principled guidance for matching model size to data complexity.
OpenReviewOpenReview · · June 23, 2026
0
Variable-Width Transformers
Zhaofeng WuOliver SieberlingShawn TanRameswar PandaYury PolyanskiyYoon Kim
The paper proposes a transformer architecture, the ><former, that allocates nonuniform width across depth: wider early and late layers with narrower middle layers, connected by a parameter-free residual resizing mechanism. In decoder-only language models (200M–2B dense, 3B MoE), this design consistently beats parameter-matched uniform baselines in language modeling loss while reducing FLOPs by 22% and KV cache memory and I/O cost by 15% under fitted scaling curves. The bottleneck structure also yields qualitatively different residual stream representations, showing that nonuniform width allocation enables more resource-optimal scaling.
arXivarXiv · · June 16, 2026
0
2
CodeAlchemy: Synthetic Code Rewriting at Scale
Ankit GuptaAditya PrasadRameswar Panda
CodeAlchemy is a framework for generating synthetic code-training data at scale. It applies five strategies—code rewriting, QA generation, developer tasks, multi-turn dialogue, and execution traces—to public-source corpora in 15 languages, producing over 500B tokens of synthetic data and 350B reasoning tokens. A key component, CodeTrace, instruments and executes 1.3M+ files across 14 languages and 5K libraries to capture runtime behavior. The resulting 3B-parameter models outperform frontier models 10x their size on HumanEval (83.5%), MBPP (63.2%), DevEval (8.09% win rate), and TraceEval (15.36 ROUGE-2).
arXivarXiv · · June 8, 2026
0
0
Dynamic Short Convolutions Improve Transformers
Oliver SieberlingBharat RunwalRameswar PandaYoon Kim
This paper introduces dynamic short convolutions, which use input-dependent filters, as a new primitive for improving Transformers. Unlike static convolutions, they preserve locality while boosting expressivity. Applied to key, query, and value representations, they outperform static variants on associative recall. In language modeling from 150M to 2B parameters, dynamic convolutions consistently beat standard and static-augmented Transformers, yielding compute advantages of 1.33x on key/query/value and 1.60x after every linear layer. They also aid linear RNNs and mixture-of-experts, enabled by custom Triton kernels for efficient training.
arXivarXiv · · June 2, 2026
0
0
Dynamic Short Convolutions Improve Transformers
Oliver SieberlingBharat RunwalRameswar PandaYoon Kim
This paper introduces dynamic short convolutions as an additional neural-network primitive for Transformers: unlike static short convolutions, their filters depend on the input, preserving convolution's locality bias while increasing expressivity. Applying them to key, query, and value representations improves associative recall over static variants, and across language-modeling runs from 150M to 2B parameters they consistently outperform standard Transformers and Transformers with static short convolutions. Fitted scaling laws indicate a 1.33$\times$ compute advantage when applied to key, query, value vectors and 1.60$\times$ when added after every linear layer, with gains also on linear RNNs and mixture-of-experts models; custom Triton kernels keep training slowdown manageable.
OpenReviewOpenReview · · May 3, 2026
0
PRISM: Demystifying Retention and Interaction in Mid-Training
Bharat RunwalAshish AgrawalAnurag RoyRameswar Panda
PRISM is a controlled study of mid-training for LLMs, using 7 base models (3B–24B, dense and hybrid). Mid-training on ~27B high-quality tokens improves math (+15–40), code (+5–12), and science (+6–13) while preserving general ability. Adding science data during mid-training yields +17–28 GPQA-Diamond gain during RL, whereas changing the RL mix has negligible effect. Mechanistically, mid-training restructures over 90% of weights, RL adjusts only ~5% with front-loaded changes, and CKA analysis (>0.998) shows RL preserves mid-training's geometry. RL's identical weight updates succeed only on mid-trained models, indicating mid-training is essential for effective RL.
arXivarXiv · · March 17, 2026
0
2
TOUCAN: Synthesizing 1.5M Tool-Agentic Data from Real-World MCP Environments
Zhangchen XuAdriana Meza SoriaShawn TanAnurag RoyAshish Sunil AgrawalRadha PoovendranRameswar Panda
Toucan is the largest publicly available tool-agentic dataset, containing 1.5 million trajectories synthesized from nearly 500 real-world Model Context Protocols (MCPs). Its pipeline generates diverse tool-use queries with five models, filters them, and produces agentic trajectories using three teacher models with two frameworks, followed by rigorous validation. Models fine-tuned on Toucan outperform larger closed-source counterparts on BFCL V3 and achieve a new Pareto optimum on MCP-Universe Bench.
OpenReviewOpenReview · · February 6, 2026
0
PRISM: Demystifying Retention and Interaction in Mid-Training
Bharat RunwalAshish Sunil AgrawalAnurag RoyRameswar Panda
PRISM is a holistic empirical study demystifying retention and interaction in mid-training for LLM reasoning. Across Granite-3.3 8B, LLaMA-3.1 8B, and Mistral-7B/24B base models, a small, high-quality mid-training phase of about 27B tokens serves as a critical stabilizing stage. It yields consistent gains of roughly 6–10 points on coding and 17–30 points on math benchmarks while preserving general performance. RL atop these models adds stable, monotonic improvements (further 3–8 points on coding/math, 17–20 on GPQA-Diamond), whereas RL directly on base models is substantially less effective. Retention-aware mid-training is thus necessary for reliable reasoning enhancement and RL scaling.
OpenReviewOpenReview · · January 23, 2026
0
Finding the Minimal Parameter Budget for Implicit Reasoning: A Data Complexity Driven Scaling Law for Language Models
Xinyi WangShawn TanShenbo XuMingyu JinWilliam Yang WangRameswar PandaYikang Shen
This paper asks how much model capacity is necessary for implicit reasoning during pretraining—the ability to infer new facts from learned knowledge without explicit chain-of-thought supervision. Pretraining language models from scratch on synthetic data mimicking real-world knowledge graphs, the authors identify a scaling law linking the optimal parameter budget to a graph search entropy measure. Across model sizes, training steps, and graph complexities, they find an optimally sized model can reason over at most about 0.008 bits of information per parameter, characterizing minimal sufficient capacity and guiding model-size matching to data complexity.
OpenReviewOpenReview · · January 22, 2026
0
Distilling to Hybrid Attention Models via KL-Guided Layer Selection
Yanhong LiSonglin YangShawn TanMayank MishraRameswar PandaJiawei ZhouYoon Kim
This paper presents a simple, efficient layer-selection method for distilling pretrained softmax-attention Transformers into hybrid architectures mixing softmax and linear attention layers. Importance scores derived from a small generic text dataset guide which layers to convert. Combined with a recent distillation pipeline (attention transfer, hidden-state alignment, KL-based distribution matching, and fine-tuning), the approach outperforms uniform interleaving heuristics and methods requiring specialized diagnostic datasets.
arXivarXiv · · December 23, 2025
0
11
TOUCAN: Synthesizing 1.5M Tool-Agentic Data from Real-World MCP Environments
Zhangchen XuAdriana Meza SoriaShawn TanAnurag RoyAshish Sunil AgrawalRadha PoovendranRameswar Panda
Toucan is the largest publicly available tool-agentic dataset, containing 1.5 million trajectories synthesized from nearly 500 real-world Model Context Protocols (MCPs). It uses a pipeline that generates diverse tool-use queries with five language models, applies quality filtering, and produces multi-turn trajectories with three teacher models across two agentic frameworks, followed by rule-based and model-based validation. Models fine-tuned on Toucan surpass larger closed-source models on BFCL V3 and advance the Pareto frontier on MCP-Universe Bench.
arXivarXiv · · October 1, 2025
0
87
Distilling to Hybrid Attention Models via KL-Guided Layer Selection
Yanhong LiSonglin YangShawn TanMayank MishraRameswar PandaJiawei ZhouYoon Kim
This paper presents a simple and efficient recipe for selecting which layers of a pretrained softmax attention Transformer to convert to linear attention when distilling into a hybrid architecture. The method computes layer importance scores from a small amount of training on generic text data. After selection, distillation follows a recent pipeline of attention weight transfer, hidden state alignment, KL-based matching, and finetuning. The approach outperforms existing strategies, including fixed-ratio uniform interleaving and methods relying on specialized diagnostic datasets.
OpenReviewOpenReview · · September 19, 2025
0
TOUCAN: Synthesizing 1.5M Tool-Agentic Data from Real-World MCP Environments
Zhangchen XuAdriana Meza SoriaShawn TanAnurag RoyAshish Sunil AgrawalRadha PoovendranRameswar Panda
Toucan is presented as the largest publicly available tool-agentic dataset, containing 1.5 million trajectories synthesized from nearly 500 real-world Model Context Protocols (MCPs). Its central contribution is demonstrating that authentic MCP environments can produce diverse, realistic, and challenging multi-tool, multi-turn tasks with real tool execution, addressing prior datasets' limitations in diversity, realism, and complexity. Trajectories are generated via a pipeline of query creation, quality filtering, and teacher-model synthesis with validation. Models fine-tuned on Toucan outperform larger closed-source counterparts on BFCL V3 and set a new Pareto optimum on MCP-Universe Bench.
OpenReviewOpenReview · · September 19, 2025
0
Do Larger Language Models Generalize Better? A Scaling Law for Implicit Reasoning at Pretraining Time
Xinyi WangShawn TanShenbo XuMingyu JinWilliam Yang WangRameswar PandaYikang Shen
This paper investigates how model and data scaling affect implicit reasoning during pretraining. Using a synthetic multihop reasoning environment replicating knowledge-graph structures, the authors pretrain LMs to complete missing edges, which requires simplified implicit multihop reasoning. Contrary to intuition, overparameterization impairs reasoning performance. They derive an empirical scaling law predicting the optimal model size for a given knowledge graph, showing optimal-sized LMs reason over approximately 0.008 bit of information per parameter, revealing counterintuitive scaling effects on reasoning.
OpenReviewOpenReview · · September 18, 2025
0
2
FlashFormer: Whole-Model Kernels for Efficient Low-Batch Inference
Aniruddha NrusimhaWilliam BrandonMayank MishraYikang ShenRameswar PandaJonathan Ragan-KelleyYoon Kim
FlashFormer fuses the entire transformer forward pass into a single kernel, targeting low-batch inference where memory bandwidth and kernel launch overhead dominate. This contrasts with existing kernels that optimize for compute utilization in large-batch settings. The paper reports nontrivial speedups across various model sizes and quantization settings, demonstrating the effectiveness of a whole-model fusion approach for latency-sensitive and edge deployment scenarios.
arXivarXiv · · May 28, 2025
0
7
Do Larger Language Models Imply Better Generalization? A Pretraining Scaling Law for Implicit Reasoning
Xinyi WangShawn TanMingyu JinWilliam Yang WangRameswar PandaYikang Shen
This paper studies how model scaling affects implicit reasoning in language models. Using a synthetic multi-hop reasoning task on incomplete knowledge graphs, the authors pretrain LMs from scratch on triples and test their ability to infer missing edges. They find that overparameterization can impair reasoning due to excessive memorization, producing a U-shaped loss curve affected by graph structure, model size, and training steps. They also report an empirical scaling law that linearly maps the graph's search entropy to the optimal model size, offering guidance for choosing model size for reasoning tasks.
OpenReviewOpenReview · May 25, 2025
0
6
PaTH Attention: Position Encoding via Accumulating Householder Transformations
Songlin YangYikang ShenKaiyue WenShawn TanMayank MishraLiliang RenRameswar PandaYoon Kim
PaTH replaces the fixed, data-independent rotation of RoPE with a flexible, data-dependent scheme built from accumulated Householder-like transformations. Each transformation is a function of the input, and an efficient parallel training algorithm exploits a compact matrix representation. In synthetic benchmarks and language modeling experiments, PaTH improves over RoPE and other baselines, and pretrained RoPE transformers can be converted to PaTH with continued pretraining.
arXivarXiv · · May 22, 2025
0
35
PaTH Attention: Position Encoding via Accumulating Householder Transformations
Songlin YangYikang ShenKaiyue WenShawn TanMayank MishraLiliang RenRameswar PandaYoon Kim
PaTH is a data-dependent position encoding scheme that replaces RoPE's relative-only key/query rotations with accumulated products of Householder-like transformations conditioned on the input. The paper introduces an efficient parallel training algorithm via a compact product representation and a FlashAttention-style blockwise implementation. Experiments on synthetic benchmarks and moderate-scale language modeling show PaTH outperforms RoPE and recent baselines. Additionally, pretrained RoPE transformers can be converted to PaTH with continued pretraining.
OpenReviewOpenReview · · May 9, 2025
0
Finding the Minimal Parameter Budget for Implicit Reasoning: A Data Complexity Driven Scaling Law for Language Models
Xinyi WangShawn TanShenbo XuMingyu JinWilliam Yang WangRameswar PandaYikang Shen
This paper identifies a scaling law linking the minimal parameter budget necessary for an LM to perform implicit reasoning (inferring new facts without explicit chain-of-thought) to the entropy of the training data. By pretraining LMs on synthetic knowledge graphs, the authors find that an optimally sized model can reason over at most about 0.008 bits of information per parameter, providing a principled rule for matching model capacity to data complexity during pretraining.
arXivarXiv · · April 4, 2025
0
19
Granite Vision: a lightweight, open-source multimodal model for enterprise Intelligence
Granite Vision TeamLeonid Karlinsky…Rameswar Panda
Granite Vision is a 2-billion-parameter decoder-only large language model enhanced with vision capabilities, designed for enterprise document understanding. Its key contribution is a lightweight architecture that aligns visual modality with a Granite language model, trained on a comprehensive instruction-following dataset covering tables, charts, diagrams, and general images. Test-time safety classification uses a sparse set of attention vectors to identify harmful inputs. The model achieves strong results on visual document understanding benchmarks, including LiveXiv, which avoids test set contamination. Released under Apache-2.0 license.
arXivarXiv · · February 14, 2025
0
33
Diversity Measurement and Subset Selection for Instruction Tuning Datasets
Peiqi WangYikang ShenZhen GuoMatthew StalloneYoon KimPolina GollandRameswar Panda
This paper proposes using determinantal point processes to measure diversity and select subsets of instruction tuning datasets for fine-tuning large language models. The authors define dataset diversity as the log determinant distance between the given dataset and a maximally diverse reference dataset. Experiments show that this measure, computed in normalized weight gradient space, correlates with instruction-following performance, and can therefore guide when data selection is most beneficial and analyze curation strategies. Its utility is demonstrated across various instruction tuning datasets.
OpenReviewOpenReview · · February 6, 2025
0
Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks
Ibrahim AbdelazizKinjal BasuMayank AgarwalSadhana KumaravelMatthew StalloneRameswar PandaYara RizkG P Shrivatsa BhargavMaxwell CrouseChulaka GunasekaraShajith IkbalSachindra Joshi  +14
An emergent research trend explores the use of Large Language Models (LLMs) as the backbone of agentic systems (e.g., SWE-Bench, Agent-Bench). To fulfill LLMs’ potential as autonomous agents, they must be able to identify, call, and interact with a variety of external tools and application program interfaces (APIs). This capability of LLMs, commonly termed function calling, leads to a myriad of advantages such as access to current and domain-specific information in databases and the outsourcing of tasks that can be reliably performed by tools. In this work, we introduce Granite-20B-FunctionCalling, a model trained using a multi-task training approach on seven fundamental tasks encompassed in function calling. Our comprehensive evaluation on multiple out-of-domain datasets, which compares Granite-20B-FunctionCalling to more than 15 other best proprietary and open models, shows that Granite-20B-FunctionCalling has better generalizability on multiple tasks across seven different evaluation benchmarks. Moreover, Granite-20B-FunctionCalling shows the best performance among all open models and ranks among the top on the Berkeley Function Calling Leaderboard (BFCL).
ACL AnthologyACL Anthology · November 2024
0
111
Self-MoE: Towards Compositional Large Language Models with Self-Specialized Experts
Junmo KangLeonid KarlinskyHongyin LuoZhen WangJacob A HansenJames R. GlassDavid Daniel CoxRameswar PandaRogerio FerisAlan Ritter
Self-MoE transforms a monolithic LLM into a modular system of self-specialized experts (MiXSE). Using only self-generated synthetic data, it builds expert modules that equip a shared base LLM with distinct domain capabilities, activated through self-optimized routing, without added parameters or human labels. Although specialization may trade off non-specialized performance, Self-MoE improves the base LLM by 6.5% on average across knowledge, reasoning, math, and coding benchmarks, surpassing instance and weight merging while offering flexibility and interpretability via semantic experts and routing.
OpenReviewOpenReview · · September 27, 2024
0
Frequent collaborators
Rogerio Feris (48)
Leonid Karlinsky (28)
Yoon Kim (25)
Yikang Shen (21)
Shawn Tan (18)
Aude Oliva (17)
Mayank Mishra (15)
Kate Saenko (13)
Chun-Fu Chen (13)
Amit K. Roy-Chowdhury (13)
Adriana Meza Soria (11)
Assaf Arbelle (11)