atlas

Research map / Large language models / Language, safety and interpretability

Rethinking the Development of Large Language Models from the Causal Perspective: A Legal Text Prediction Case Study

AAAI 2024 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 5 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CASAM, a causality-aware self-attention over OIE-derived graphs, plus eight legal-specific adversarial attacks for model selection, evaluated on legal judgment prediction benchmarks built on Legal-BERT.

Problem

Pretrained language models for legal text prediction learn spurious correlations instead of causal rationales, and standard i.i.d. train/test evaluation with SOTA-chasing fails to select causality-based models.

Approach

Restricts attention interactions between causal and non-causal words, using an adjacency matrix from open information extraction graphs to reweight self-attention (S' = αS + (1−α)S⊙A), and selects models using causality-invariant legal adversarial attacks rather than only i.i.d. validation data.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add CASAM causal attentionLegal-BERT · ECtHR Task Aµ-F1: 72.3 -> 73.8Helped
add CASAM causal attentionLegal-BERT · ECtHR Task Am-F1: 66.0 -> 68.5Helped
add CASAM causal attentionLegal-BERT · ECtHR Task Bµ-F1: 80.6 -> 81.4Helped
add CASAM causal attentionLegal-BERT · ECtHR Task Bm-F1: 75.2 -> 76.0Helped
add CASAM causal attentionLegal-BERT · LEDGARµ-F1: 88.2 -> 88.7Helped
add CASAM causal attentionLegal-BERT · LEDGARm-F1: 81.9 -> 83.5Helped
add causal attention (rather than removing it) (ablation)CASAM on ECtHR Task A · ECtHR Task Aµ-F1: 72.3 -> 73.8Helped
add causal attention (rather than removing it) (ablation)CASAM on ECtHR Task A · ECtHR Task Am-F1: 66.0 -> 68.5Helped
add causal attention (rather than removing it) (ablation)CASAM on ECtHR Task B · ECtHR Task Bµ-F1: 80.6 -> 81.4Helped
add causal attention (rather than removing it) (ablation)CASAM on ECtHR Task B · ECtHR Task Bm-F1: 75.2 -> 76.0Helped
add causal attention (rather than removing it) (ablation)CASAM on LEDGAR · LEDGARµ-F1: 88.2 -> 88.7Helped
add causal attention (rather than removing it) (ablation)CASAM on LEDGAR · LEDGARm-F1: 81.9 -> 83.5Helped

Surprising findings

Limitations

Experimental setup

Datasets: ECtHR Task A ECtHR Task B LEDGAR

Benchmarks: ECtHR Task A ECtHR Task B LEDGAR

Metrics: micro-F1 macro-F1 certified ratio

Baselines: TFIDF+SVM BERT RoBERTa DeBERTa Longformer BigBird CaseLaw-BERT Legal-BERT

Builds on: Legal-BERT Transformer self-attention LexGLUE BERT-ATTACK

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy