Kapu Nirmal Joshua
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Kapu Nirmal Joshua has a total of 11 co-authors. Here are the top co-authors by number of shared publications:
- Raghav Karan
Indian Institute of Technology, Kanpur, India
2 shared publications - Archit Gupta
IIT Bombay, Mumbai, India
1 shared publication - Debabrata Mahapatra
Adobe Research, Bangalore, India
1 shared publication Mihit Sreejith
1 shared publicationRaghav Karan
1 shared publication- Rounak Sharma
Adobe Research, Bangalore, India
1 shared publication
Latest Publications
- Top Cited PapersOpen Access
- 17 June 2025
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Management of Data
- Vol. 3 (3) , 1-28
Cache-Craft: Managing Chunk-Caches for Efficient Retrieval-Augmented Generation
Retrieval-Augmented Generation (RAG) is often used with Large Language Models (LLMs) to infuse domain knowledge or user-specific information. In RAG, given a user query, a retriever extracts chunks of relevant text from a knowledge base. These chunks are sent to an LLM as part of the input prompt. Typically, any given chunk is repeatedly retrieved across user questions. However, currently, for every question, attention layers in LLMs fully compute the Keys and Values (KVs) repeatedly for the input chunks, as state-of-the-art methods cannot reuse KV-caches when chunks appear at arbitrary locations or with arbitrary contexts. Naive reuse leads to output quality degradation. This leads to potentially redundant computations on expensive GPUs and increases latency. In this work, we propose Cache-Craft , a system for managing and reusing precomputed KVs corresponding to the text chunks (which we call chunk-caches ) in RAG-based systems. We present how to identify chunk-caches that are reusable, how to efficiently perform a small fraction of recomputation to fix the cache and maintain output quality, and how to efficiently store and evict chunk-caches in the hardware for maximizing reuse while masking any overheads. With real production workloads as well as synthetic datasets, we show that Cache-Craft reduces redundant computation by 51% over SOTA prefix-caching and 75% over full recomputation. Additionally, with continuous batching on a real production workload, we get a 1.6× speed up in throughput for both the LLama-3-8B and 70B models and a 2.1× and 2× reduction in end-to-end response latency respectively, compared to prefix-caching, while maintaining generation quality.
- 17 June 2025
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Management of Data
- Vol. 3 (3) , 1-28
Top Cited PapersOpen AccessCache-Craft: Managing Chunk-Caches for Efficient Retrieval-Augmented Generation
Retrieval-Augmented Generation (RAG) is often used with Large Language Models (LLMs) to infuse domain knowledge or user-specific information. In RAG, given a user query, a retriever extracts chunks of relevant text from a knowledge base. These chunks are sent to an LLM as part of the input prompt. Typically, any given chunk is repeatedly retrieved across user questions. However, currently, for every question, attention layers in LLMs fully compute the Keys and Values (KVs) repeatedly for the input chunks, as state-of-the-art methods cannot reuse KV-caches when chunks appear at arbitrary locations or with arbitrary contexts. Naive reuse leads to output quality degradation. This leads to potentially redundant computations on expensive GPUs and increases latency. In this work, we propose Cache-Craft , a system for managing and reusing precomputed KVs corresponding to the text chunks (which we call chunk-caches ) in RAG-based systems. We present how to identify chunk-caches that are reusable, how to efficiently perform a small fraction of recomputation to fix the cache and maintain output quality, and how to efficiently store and evict chunk-caches in the hardware for maximizing reuse while masking any overheads. With real production workloads as well as synthetic datasets, we show that Cache-Craft reduces redundant computation by 51% over SOTA prefix-caching and 75% over full recomputation. Additionally, with continuous batching on a real production workload, we get a 1.6× speed up in throughput for both the LLama-3-8B and 70B models and a 2.1× and 2× reduction in end-to-end response latency respectively, compared to prefix-caching, while maintaining generation quality.
- Open Access
- 6 January 2025
- Published by MDPI AG in Preprints.org
Towards Advanced Speech Signal Processing: A Statistical Perspective on Convolution-Based Architectures and It’s Applications
This article surveys convolution-based models convolutional neural networks (CNNs), Conformers, ResNets, and CRNNs-as speech signal processing models and provide their statistical backgrounds and speech recognition, speaker identification, emotion recognition, and speech enhancement applications. Through comparative training cost assessment, model size, accuracy and speed assessment, we compare the strengths and weaknesses of each model, identify potential errors and propose avenues for further research, emphasising the central role it plays in advancing applications of speech technologies.
- 6 January 2025
- Published by MDPI AG in Preprints.org
Open AccessTowards Advanced Speech Signal Processing: A Statistical Perspective on Convolution-Based Architectures and It’s Applications
This article surveys convolution-based models convolutional neural networks (CNNs), Conformers, ResNets, and CRNNs-as speech signal processing models and provide their statistical backgrounds and speech recognition, speaker identification, emotion recognition, and speech enhancement applications. Through comparative training cost assessment, model size, accuracy and speed assessment, we compare the strengths and weaknesses of each model, identify potential errors and propose avenues for further research, emphasising the central role it plays in advancing applications of speech technologies.
- Open Access
- 19 November 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in TechRxiv
Towards Advanced Speech Signal Processing: A Statistical Perspective on Convolution-Based Architectures and it’s Applications
This article surveys convolution-based models - convolutional neural networks (CNNs), Conformers, ResNets, and CRNNs-as speech signal processing models and provide their statistical backgrounds and speech recognition, speaker identification, emotion recognition, and speech enhancement applications. Through comparative training cost assessment, model size, accuracy and speed assessment, we compare the strengths and weaknesses of each model, identify potential errors and propose avenues for further research, emphasising the central role it plays in advancing applications of speech technologies.
- 19 November 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in TechRxiv
Open AccessTowards Advanced Speech Signal Processing: A Statistical Perspective on Convolution-Based Architectures and it’s Applications
This article surveys convolution-based models - convolutional neural networks (CNNs), Conformers, ResNets, and CRNNs-as speech signal processing models and provide their statistical backgrounds and speech recognition, speaker identification, emotion recognition, and speech enhancement applications. Through comparative training cost assessment, model size, accuracy and speed assessment, we compare the strengths and weaknesses of each model, identify potential errors and propose avenues for further research, emphasising the central role it plays in advancing applications of speech technologies.
- Open Access
- 18 November 2024
- Published by MDPI AG in Preprints.org
Towards Advanced Speech Signal Processing: A Statistical Perspective on Convolution-Based Architectures and it’s Applications
This article surveys convolution-based models convolutional neural networks (CNNs), Conformers, ResNets, and CRNNs-as speech signal processing models and provide their statistical backgrounds and speech recognition, speaker identification, emotion recognition, and speech enhancement applications. Through comparative training cost assessment, model size, accuracy and speed assessment, we compare the strengths and weaknesses of each model, identify potential errors and propose avenues for further research, emphasising the central role it plays in advancing applications of speech technologies.
- 18 November 2024
- Published by MDPI AG in Preprints.org
Open AccessTowards Advanced Speech Signal Processing: A Statistical Perspective on Convolution-Based Architectures and it’s Applications
This article surveys convolution-based models convolutional neural networks (CNNs), Conformers, ResNets, and CRNNs-as speech signal processing models and provide their statistical backgrounds and speech recognition, speaker identification, emotion recognition, and speech enhancement applications. Through comparative training cost assessment, model size, accuracy and speed assessment, we compare the strengths and weaknesses of each model, identify potential errors and propose avenues for further research, emphasising the central role it plays in advancing applications of speech technologies.
- Open Access
- 12 November 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in TechRxiv
DemoCraft: Using In-Context Learning to Improve Code Generation in Large Language Models
Generating executable code from natural language instructions using Large Language Models (LLMs) poses challenges such as semantic ambiguity and understanding task-specific contexts. To address these issues, we propose a system called DemoCraft , which enhances code generation by leveraging in-context learning and demonstration selection, combined with latent concept learning. Latent concept learning introduces additional concept tokens, which are trainable embeddings that capture task-specific knowledge. We then test our system on two major datasets: MBPP and Humaneval . Our experimental results demonstrate that the proposed system achieves an approximate 2x increase in the pass@k metric compared to baseline models. Furthermore, we introduce two novel evaluation metrics: correctness@k and similarity@k . Our empirical studies indicate that our system attains nearly a 3x improvement in these metrics as well.
- 12 November 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in TechRxiv
Open AccessDemoCraft: Using In-Context Learning to Improve Code Generation in Large Language Models
Generating executable code from natural language instructions using Large Language Models (LLMs) poses challenges such as semantic ambiguity and understanding task-specific contexts. To address these issues, we propose a system called DemoCraft , which enhances code generation by leveraging in-context learning and demonstration selection, combined with latent concept learning. Latent concept learning introduces additional concept tokens, which are trainable embeddings that capture task-specific knowledge. We then test our system on two major datasets: MBPP and Humaneval . Our experimental results demonstrate that the proposed system achieves an approximate 2x increase in the pass@k metric compared to baseline models. Furthermore, we introduce two novel evaluation metrics: correctness@k and similarity@k . Our empirical studies indicate that our system attains nearly a 3x improvement in these metrics as well.