paper-with-me

홈 › Papers

PARAMANU-AYN: Pretrain from scratch or Continual Pretraining of LLMs for Legal Domain Adaptation?

2024-03-20 · Mitodru Niyogi, Arnab Bhattacharya

In this paper, we present Paramanu-Ayn, a collection of legal language models trained exclusively on Indian legal case documents. This 97-million-parameter Auto-Regressive (AR) decoder-only model was pretrained from scratch with a context size of 8192 on a single GPU for just 185 hours, achieving an efficient MFU of 41.35. We also developed a legal domain specialized BPE tokenizer. We evaluated our model using perplexity and zero-shot tasks: case judgment prediction with explanation and abstractive case summarization. Paramanu-Ayn outperformed Llama-2 7B and Gemini-Pro in case judgment prediction with explanation task on test accuracy by nearly 2 percentage points, despite being 72 times smaller. In zero-shot abstractive summarization, it surpassed decoder-only LLMs generating fixed-length summaries (5000 tokens) by over 10 percentage points in BLEU and METEOR metrics, and by nearly 4 percentage points in BERTScore. Further evaluations on zero-shot commonsense and mathematical benchmarks showed that Paramanu-Ayn excelled despite being trained exclusively on legal documents, outperforming Llama-1, Llama-2, and Falcon on AGIEVAL-AQuA-RAT and AGIEVAL-SAT-Math tasks. We also instruction-tuned our model on 10,763 diverse legal tasks, including legal clause generation, legal drafting, case summarization, etc. The Paramanu-Ayn-instruct model scored above 8 out of 10 in clarity, relevance, completeness, and legal reasoning metrics by GPT-3.5-Turbo. We found that our models, were able to learn drafting knowledge and generalize to draft legal contracts and legal clauses with limited instruction-tuning. Hence, we conclude that for a strong domain-specialized generative language model (such as legal), domain specialized pretraining from scratch is more cost effective, environmentally friendly, and remains competitive with larger models or even better than adapting LLMs for legal domain tasks.

📄 PDF Abstract BibTeX arXiv:2403.13681

Code (0)

등록된 구현이 없습니다.

Tasks

Abstractive Text SummarizationContinual PretrainingDecoderDomain AdaptationGPULanguage ModellingLegal ReasoningMathQuestion Answering

Methods 이 논문이 사용한 방법론

15 Ways to Contact How can i speak to someone at Delta Airlines 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Weight Decay 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head Attention 설명 없음
{Dispute@FaQ-s}How to file a dispute with Expedia? How to file a dispute with Expedia? To file a complaint against Expedia, first try contacting their customer service directly. You can reach them by phone at…
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…

Similar Papers 제목 키워드 기반

PARAMANU-GANITA: Language Model with Mathematical Capabilities

2024-04-22 · Mitodru Niyogi, Arnab Bhattacharya

In this paper, we present Paramanu-Ganita, a 208 million parameter novel Auto Regressive (AR) decoder based language model on mathematics. The model is pretrained from scratch at context size of 4096 on our curated mixed…

Domain AdaptationGSM8KLanguage ModelingLanguage Modelling+3

Paramanu: A Family of Novel Efficient Generative Foundation Language Models for Indian Languages

2024-01-31 · Mitodru Niyogi, Arnab Bhattacharya

We present "Paramanu", a family of novel language models (LM) for Indian languages, consisting of auto-regressive monolingual, bilingual, and multilingual models pretrained from scratch. Currently, it covers 10 languages…

GPUReading ComprehensionText Generation

TiC-LM: A Web-Scale Benchmark for Time-Continual LLM Pretraining

2025-04-02 · Jeffrey Li, Mohammadreza Armandpour, Iman Mirzadeh, Sachin Mehta 외

Large Language Models (LLMs) trained on historical web data inevitably become outdated. We investigate evaluation strategies and update methods for LLMs as new data becomes available. We introduce a web-scale dataset for…

Continual LearningContinual PretrainingLanguage ModelingLanguage Modelling

DRIP: Dynamic patch Reduction via Interpretable Pooling

2025-10-29 · Yusen Peng, Sachin Kumar arxiv

Recently, the advances in vision-language models, including contrastive pretraining and instruction tuning, have greatly pushed the frontier of multimodal AI. However, owing to the large-scale and hence expensive pretrai…

Continual Pretraining

Pretrained Vision-Language-Action Models are Surprisingly Resistant to Forgetting in Continual Learning

2026-03-04 · Huihan Liu, Changyeon Kim, Bo Liu, Minghuan Liu 외 arxiv

Continual learning is a long-standing challenge in robot policy learning, where a policy must acquire new skills over time without catastrophically forgetting previously learned ones. While prior work has extensively stu…

Continual Learning