LoraMap teaches language models to combine different types of reasoning for improved fact-checking
Connecting reasoning LoRAs through LoraMap boosts fact-checking performance in language models.
π https://arxiv.org/pdf/2408.16264v1
Original Problem π:
Existing LoRA composition methods lack attention to connections between multiple LoRAs, limiting their effectiveness in fact-checking tasks.
-----
Solution in this Paper π§ :
β’ Creates three reasoning datasets for fact-checking: DifferenceCoT, EntityCoT, and CorrectClaim
β’ Fine-tunes individual LoRAs on these datasets
β’ Introduces LoraMap: learns connections between LoRAs instead of linear sum
β’ LoraMap concatenates matrices of multiple reasoning LoRAs
β’ Inserts trainable mapping matrices (Amap and Bmap) between them
β’ Freezes original LoRAs to maintain specialized reasoning capabilities
β’ Fine-tunes only Amap and Bmap matrices
-----
Key Insights from this Paper π‘:
β’ LoraMap outperforms LoraHub and LoraConcat with fewer parameters
β’ Connecting multiple specialized LoRAs enhances fact-checking performance
β’ Flexible scaling of trainable parameters based on model size and task requirements
β’ Potential applications in other NLP tasks beyond fact-checking
-----
Results π:
β’ LoraMap outperforms LoraHub and LoraConcat on COVID-Fact dataset
β’ Flan-T5-large: LoraMap (0.22M parameters) achieves superior performance
β’ Flan-T5-xxl: LoraMap (4.4M) outperforms LoraConcat (56M) with fewer parameters
β’ Macro-f1 scores: LoraMap (0.8239) > LoraConcat (0.8126) > LoraHub (0.6145)










