MCP
NJ

Niraj Jha

10 papers in the library

Papers

10
CD4LM: Consistency Distillation and aDaptive Decoding for Diffusion Language Models
Yihao LiangZe WangXimeng SunJiang LiuJialian WuHao ChenXiaodong YuEmad BarsoumZicheng LiuNiraj Jha
Diffusion language models (DLMs) accelerate generation by decoding multiple tokens in parallel, but pushing them to fast decoding often sacrifices accuracy. We attribute this to a static-to-dynamic mismatch: training optimizes local denoising under fixed schedules, while fast inference skips steps and encounters irregular mask patterns. Existing accelerators largely address only one side of this problem. Training-free inference methods speed up decoding without changing the model, leaving the mismatch unresolved; training-side distillation methods adapt the model, but often tie the student to a specific decoding trajectory, limiting composability and still suffering accuracy loss. We propose CD4LM, a composable framework for accurate DLM acceleration. Its core training component, Discrete-Space Consistency Distillation (DSCD) trains a trajectory-invariant student on diverse masked states, reducing the mismatch without fixing a decoding policy. We pair DSCD with a lightweight Confidence-Adaptive Decoder, while keeping the trained student compatible with external inference-side accelerators. On GSM8K, CD4LM preserves accuracy while achieving a 5.18× speedup; stacking CD4LM with per-step cache accelerators further pushes speedup to 9.73× at teacher-level accuracy, suggesting a scalable path for combining training-side robustness with future decoding advances.
ACL AnthologyACL Anthology · October 2026
0
From Recurrent Computation to Attention Memory in Hybrid Language Models
Yihao LiangNiraj Jha
Hybrid language models keep context in recurrent state and an attention key-value (KV) cache, and this work traces how earlier computation shapes the memory used for a later answer. Replacing recurrent-block contributions during prefill with ones from a source context that specifies a different answer, then restoring the original recurrent state before the query, shows that most of the induced shift in answer preference persists through the modified KV cache. Across five hybrid models, retaining it preserves 67-93% of the mean shift in answer-logit margin on exact retrieval, with the effect located in deep attention layers and also holding through complete-answer generation, supporting a compute-commit-retrieve pattern.
OpenReviewOpenReview · September 19, 2026
0
HEED: Density-Weighted Residual Alignment for Hybrid Vision-Language Model Distillation
Yihao LiangNiraj Jha
Distilling vision-language models into faster hybrid architectures such as 3:1 Mamba-2/attention mixes can hide selective failures: when Qwen3-VL-8B-Instruct is distilled this way, the student stays within 2 points of its teacher on visual-reasoning benchmarks but drops 13 points on OCR and document tasks. The authors localize this to sparse, answer-bearing positions—the top 10% highest-density patches show 3.6$\times$ larger residual drift and 3.5$\times$ larger teacher-masking answer contribution than the bottom 10%—which uniform weighting leaves unprotected. Their intervention, HEED, replaces uniform residual alignment with density-weighted residual alignment, using patch self-dissimilarity as a training-free proxy for position importance. HEED adds 8.7 points on OCRBench v2 and 5.13 points on a 10-benchmark average over standard end-to-end distillation, adds no parameters or inference-time cost, and preserves 4.12$\times$ throughput and 68% memory saving at 128k context; with post-training the student reaches teacher-level performance on the 10-benchmark average.
OpenReviewOpenReview · · May 5, 2026
0
LinMU: Multimodal Understanding Made Linear
Hongjie WangNiraj Jha
LinMU is a Vision-Language Model design that replaces every self-attention layer in the decoder with an M-MATE block, combining a bidirectional state-space model (Flex-MA) for global context with Swin-style window attention (Local-Swin) for local correlations, achieving linear complexity without quadratic modules. A three-stage distillation framework (initializing branches, joint fine-tuning, then LoRA fine-tuning) converts a pre-trained VLM into this architecture. LinMU matches teacher performance on benchmarks like MMMU and Video-MME while reducing Time-To-First-Token by up to 2.7× and improving token throughput by up to 9.0× on long videos.
OpenReviewOpenReview · · January 7, 2026
0
GraphMERT: Efficient and Scalable Distillation of Reliable Knowledge Graphs from Unstructured Data
Margarita BelovaJiaxin XiaoShikhar TuliNiraj Jha
GraphMERT is a tiny 80M-parameter graphical encoder-only model that distills reliable, domain-specific knowledge graphs from unstructured text and its own internal representations. It targets factuality (with provenance) and validity (ontology-consistent semantics). On diabetes-related PubMed text, GraphMERT achieves a 69.8% FActScore versus 40.2% for a 32B-parameter LLM baseline, and a 68.7% ValidityScore versus 43.0%. Its quality approaches state-of-the-art benchmarks, enabling human editing and audit for reliable neurosymbolic AI.
OpenReviewOpenReview · · November 6, 2025
0
Neural Slot Interpreters: Grounding Object Semantics in Emergent Slot Representations
Bhishma DedhiaNiraj Jha
The Neural Slot Interpreter (NSI) learns to ground object semantics in emergent slot representations extracted from visual scenes. Its nested schema organizes scene object semantics into object-centric primitives via simple syntax rules, which are then grounded into slots through structured contrastive learning that reasons over intermodal alignment. Experiments on bi-modal object-property and scene retrieval show that NSI slots, which bind to spatial objects rather than image grids, improve visual grounding over bounding-box approaches. NSI also yields more generalizable representations from fixed annotation data than traditional methods, and grounded slots surpass unsupervised slots in object discovery. Vision Transformers using grounding-aware NSI tokenizers with as few as ten tokens outperform patch-based tokens on few-shot classification.
OpenReviewOpenReview · February 17, 2025
0
Neural Slot Interpreters: Grounding Object Semantics in Emergent Slot Representations
Bhishma DedhiaNiraj Jha
The Neural Slot Interpreter (NSI) learns to ground object semantics in emergent slot representations extracted from visual scenes. Central is an XML-like schema whose simple syntax rules organize scene object semantics into object-centric primitives; a metric then grounds these primitives into slots via a structured objective reasoning over intermodal alignment. Grounded slots surpass unsupervised slots in real-world object discovery, scale with scene complexity, and enable interpretable bi-modal object-property and scene retrieval. Additionally, Vision Transformers trained on grounding-aware NSI tokenizers using as few as ten tokens outperform patch-based tokens on challenging few-shot classification tasks.
OpenReviewOpenReview · September 18, 2024
0
DynaMo: Accelerating Language Model Inference with Dynamic Multi-Token Sampling
Shikhar TuliChi-Heng LinYen-Chang HsuNiraj JhaYilin ShenHongxia Jin
DynaMo accelerates language model inference by dynamically predicting multiple tokens per step, based on confidence in the joint probability distribution. It is trained through a lightweight method that reuses weights from autoregressive models. Two enhancements—co-occurrence weighted masking and adaptive thresholding—improve text quality. One model, DynaMo-7.3B-T3, matches the text quality of the Pythia-6.9B baseline while achieving a 2.57× speedup, with only 5.87% and 2.67% overhead in parameters and training time.
ACL AnthologyACL Anthology · · June 2024
0
Im-Promptu: In-Context Composition from Image Prompts
Bhishma DedhiaMichael ChangJake SnellThomas L. GriffithsNiraj Jha
This paper investigates whether analogical reasoning enables in-context composition over visual stimuli, formalizing an analogy-based in-context learner and proposing the Im-Promptu meta-learning framework. Using three benchmarks, they train agents with different compositional granularities—vector, patch, and object-slot representations. Experiments show tradeoffs between extrapolation and compositionality: non-compositional representations generalize to unseen domains but fail combinatorial tasks, while object-centric tokenizers with cross-attention yield consistent, high-fidelity compositional generalization. Im-Promptu is also demonstrated as an intuitive programming interface for image generation.
OpenReviewOpenReview · · May 10, 2023
0
PinMe: Tracking a Smartphone User around the World
Arsalan MoseniaXiaoliang DaiPrateek MittalNiraj Jha
PinMe is a novel user-location mechanism that tracks a smartphone user's location even when all location services (e.g., GPS) are turned off. Unlike prior work, it does not require knowledge of the user's initial location or a pre-measured training dataset. Instead, it exploits non-sensory and sensory data stored on the smartphone (e.g., air pressure) combined with publicly available auxiliary information (e.g., elevation maps) to estimate location.
arXivarXiv · · February 5, 2018
0
57
Frequent collaborators
Yihao Liang (3)
Bhishma Dedhia (3)
Shikhar Tuli (2)
Ze Wang (1)
Ximeng Sun (1)
Jiang Liu (1)
Jialian Wu (1)
Hao Chen (1)
Xiaodong Yu (1)
Emad Barsoum (1)
Zicheng Liu (1)
Hongjie Wang (1)