Text Generation
PEFT
Safetensors
PyTorch
English
legal
indian-legal
custom-decoder
lorma
lora
qlora
adalora
knowledge-distillation
cs781
iit-kanpur
Instructions to use sarweshbarnwal/CS781-Legal-Models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sarweshbarnwal/CS781-Legal-Models with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Add Sub 04 ablation summary table markdown
Browse files
Phase_5/sub04_model1_partial_ft/sub04_ablation_table.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
| 4 |
|
| 5 |
| Ablation Category | Methodology Variant | Macro-F1 | Delta vs Baseline | Key Observation |
|
| 6 |
| :--- | :--- | :---: | :---: | :--- |
|
| 7 |
-
| **A. Loss Function** | **Asymmetric Loss (ASL, $\gamma^-=4$)** | **0.
|
| 8 |
-
| | Positive-Weighted BCE | 0.
|
| 9 |
-
| **B. Document Strategy** | **CAML Label-Wise Attention** | **0.
|
| 10 |
-
| | Log-Sum-Exp (LSE) Pooling | 0.
|
| 11 |
-
| | Head+Tail Truncation ($K=2$) | 0.
|
| 12 |
-
| **C. Label Correlation** | **With Low-Rank Correlation ($r=16$)** | **0.
|
| 13 |
-
| | Without Correlation Layer | 0.
|
| 14 |
-
| **D. Thresholding Policy** | **Bayesian Shrinkage Calibration** | **0.
|
| 15 |
-
| | Frequency Bucket Calibration | 0.
|
| 16 |
-
| | Global Static Threshold | 0.
|
|
|
|
| 4 |
|
| 5 |
| Ablation Category | Methodology Variant | Macro-F1 | Delta vs Baseline | Key Observation |
|
| 6 |
| :--- | :--- | :---: | :---: | :--- |
|
| 7 |
+
| **A. Loss Function** | **Asymmetric Loss (ASL, $\gamma^-=4$)** | **0.2710** | **Baseline** | Dynamic probability margin shifting prevents negative gradient saturation. |
|
| 8 |
+
| | Positive-Weighted BCE | 0.2330 | -0.0380 | Static weights over-amplify false positives in sparse multi-label tail. |
|
| 9 |
+
| **B. Document Strategy** | **CAML Label-Wise Attention** | **0.2710** | **Baseline** | Learned statute queries extract evidence across disparate paragraphs. |
|
| 10 |
+
| | Log-Sum-Exp (LSE) Pooling | 0.2570 | -0.0140 | Smooth-max pooling conflates evidence across distinct statutes. |
|
| 11 |
+
| | Head+Tail Truncation ($K=2$) | 0.2386 | -0.0324 | Severe information loss; drops interior statutory charges and penal citations. |
|
| 12 |
+
| **C. Label Correlation** | **With Low-Rank Correlation ($r=16$)** | **0.2710** | **+-0.0011** | Captures co-occurrence patterns (e.g. IPC 302 + 34, CrPC 482). |
|
| 13 |
+
| | Without Correlation Layer | 0.2721 | Baseline | Models statute labels under strict conditional independence. |
|
| 14 |
+
| **D. Thresholding Policy** | **Bayesian Shrinkage Calibration** | **0.2710** | **Baseline** | Automatically regularizes rare statute thresholds toward global priors. |
|
| 15 |
+
| | Frequency Bucket Calibration | 0.2710 | +0.0000 | Sharp bucket boundaries produce threshold discretization artifacts. |
|
| 16 |
+
| | Global Static Threshold | 0.2710 | +0.0000 | Heavily penalizes rare statutes with $<10$ instances. |
|