Rajib Rana
Author directory2026
NEXUS: Structured Runtime Safety for Tool-Using LLM Agent
Elias Hossain | Md Mehedi Hasan Nipu | Tasfia Nuzhat Ornee | Rajib Rana | Niloofar Yousefi
Findings of the Association for Computational Linguistics: IJCNLP-AACL 2026
Elias Hossain | Md Mehedi Hasan Nipu | Tasfia Nuzhat Ornee | Rajib Rana | Niloofar Yousefi
Findings of the Association for Computational Linguistics: IJCNLP-AACL 2026
Tool-using LLM agents increasingly execute high-impact actions, making runtime safety monitoring essential. We present NEXUS (Neural EXecution Utility and Safety), a structured-plan safety monitor that applies a formal intervention policy Π to select among four actions: allow, block, request confirmation, or request revision. NEXUS combines deterministic safety rules, argument-level inspection, and a calibrated logistic-regression risk score for graded escalation. On a 128-instance synthetic benchmark, NEXUS attains F1 = 0.949 and 4-class intervention accuracy of 0.6406, outperforming rule-only intervention selection by +27.3 percentage points. It also improves over rule-only on R-Judge (F1 = 0.861 vs. 0.849), matches rule-only on AgentHarm due to threat-model limits, and achieves 0% ASR at 99% control allow on IPI. On the rule-blind NEXUS-Stress benchmark, NEXUS reaches F1 = 0.897 with REVISE recall of 0.500, highlighting both progress and remaining difficulty in fine-grained intervention routing. With 0.38 ms median latency, NEXUS adds under 0.1% overhead to typical agent loops.
2023
Improving the Domain Adaptation of Retrieval Augmented Generation (RAG) Models for Open Domain Question Answering
Shamane Siriwardhana | Rivindu Weerasekera | Elliott Wen | Tharindu Kaluarachchi | Rajib Rana | Suranga Nanayakkara
Transactions of the Association for Computational Linguistics, Volume 11
Shamane Siriwardhana | Rivindu Weerasekera | Elliott Wen | Tharindu Kaluarachchi | Rajib Rana | Suranga Nanayakkara
Transactions of the Association for Computational Linguistics, Volume 11
Retrieval Augment Generation (RAG) is a recent advancement in Open-Domain Question Answering (ODQA). RAG has only been trained and explored with a Wikipedia-based external knowledge base and is not optimized for use in other specialized domains such as healthcare and news. In this paper, we evaluate the impact of joint training of the retriever and generator components of RAG for the task of domain adaptation in ODQA. We propose RAG-end2end, an extension to RAG that can adapt to a domain-specific knowledge base by updating all components of the external knowledge base during training. In addition, we introduce an auxiliary training signal to inject more domain-specific knowledge. This auxiliary signal forces RAG-end2end to reconstruct a given sentence by accessing the relevant information from the external knowledge base. Our novel contribution is that, unlike RAG, RAG-end2end does joint training of the retriever and generator for the end QA task and domain adaptation. We evaluate our approach with datasets from three domains: COVID-19, News, and Conversations, and achieve significant performance improvements compared to the original RAG model. Our work has been open-sourced through the HuggingFace Transformers library, attesting to our work’s credibility and technical consistency.