HARP-LoRA: Hierarchy-Conditioned Rank Projection for Low-Rank Adaptation in Scientific Table Understanding
Organizations: 1DATA Consortium and FARAD Program, Kansas State University, Olathe, KS, USA · Department of Computer Science, Kansas State University, Manhattan, KS, USA · Olin Business School, Washington University in St. Louis, St. Louis, Missouri, USA · Department of Mathematics, Kansas State University, Manhattan, KS, USA ·
Abstract
Tabular data is widely used in scientific applications, where complex layouts, including multi-level headers, merged cells, captions, and footnotes, make information extraction difficult. This is particularly important in pharmacokinetics (PK), where values must be correctly associated with the drug, species, dose, administration route, unit, and experimental condition. Parameter-efficient fine-tuning methods such as Low-Rank Adaptation (LoRA) reduce adaptation cost but do not explicitly incorporate relationships between table values and surrounding headers. We introduce HARP-LoRA, a hierarchy-conditioned rank projection method for low-rank adaptation in scientific table understanding. HARP-LoRA extends projected LoRA by constructing token-specific intrinsic representations from the row- and column-header hierarchies of each data token. These representations condition the low-rank down-projection, incorporating hierarchical context while keeping the pretrained model and random projection tensors frozen. We evaluate HARP-LoRA on 950 manually annotated PK tables from 587 scientific articles and on WikiTableQuestions (WikiTQ) using Llama3.2 3B, Llama3.1 8B, and Gemma3 27B. With Llama3.1 8B, HARP-LoRA achieves a PK F1-score of 57.64% and WikiTQ accuracy of 53.15%, improving over LoRA by 1.42 and 6.56 points, respectively. With Gemma~3 27B, it achieves the best PK F1-score of 70.63% and WikiTQ accuracy of 56.87%. These results use only 172K, 197K, and 547K trainable parameters, far fewer than LoRA and TableLoRA. Overall, conditioning lightweight adapters on table-header hierarchies improves extraction from scientific tables and reasoning over flatter general-domain tables while maintaining parameter efficiency. Code is available at: https://github.com/hosseinsholehrasa/HARP-LoRA
Figures & tables
| Model | Method | PK Dataset | WikiTQ | # Train. Params. | ||
|---|---|---|---|---|---|---|
| P (%) | R (%) | F1 (%) | Acc (%) | |||
| Llama3.2 3B | LoRA | 53.57 | 58.76 | 53.57 | 44.17 | 1.84M (0.057%) |
| TableLoRA 2D | 53.13 | 57.90 | 52.87 | 43.80 | 2.59M (0.080%) | |
| projected LoRA | 52.26 | 57.34 | 52.20 | 47.32 | 115K (0.004%) | |
| HARP-LoRA | 53.26 | 58.09 | 53.08 | 45.23 | 172K (0.005%) | |
| Llama3.1 8B | LoRA | 57.12 | 59.98 | 56.22 | 46.59 | 2.62M (0.033%) |
| Intrinsic Dimension | F1 (%) |
|---|---|
| 256 | 30.68 |
| 512 | 55.23 |
| 1024 | 57.64 |
| 2048 | 56.79 |
| Configuration | F1 Score (%) |
|---|---|
| Full model | 57.64 |
| Without row-header hierarchy | 56.91 |
| Without column-header hierarchy | 56.36 |
| Without level-preserving pooling | 56.58 |
| Without RMS normalization | 56.97 |
| Shared intrinsic vector (projected LoRA) | 56.78 |
Low-Rank Adaptation
Low-rank adaptation (LoRA) fine-tunes pretrained models with compact weight updates, reducing trainable parameters and deployment costs.
See all 542 papers