mlsanityData to 7 Oct 2026

Instruction Tuning Vs. In-Context Learning: Revisiting Large Language Models in Few-Shot Computational Social Science

arXiv 2409.14673 ↗First posted 23 Sep 2024cs.CL cs.AIcited by 4

Not on the map. Why?

Abstract (arXiv)

Real-world applications of large language models (LLMs) in computational social science (CSS) tasks primarily depend on the effectiveness of instruction tuning (IT) or in-context learning (ICL). While IT has shown highly effective at fine-tuning LLMs for various tasks, ICL offers a rapid alternative for task adaptation by learning from examples without explicit gradient updates. In this paper, we evaluate the classification performance of LLMs using IT versus ICL in few-shot CSS tasks. The experimental results indicate that ICL consistently outperforms IT in most CSS tasks. Additionally, we investigate the relationship between the increasing number of training samples and LLM performance. Our findings show that simply increasing the number of samples without considering their quality does not consistently enhance the performance of LLMs with either ICL or IT and can sometimes even result in a performance decline. Finally, we compare three prompting strategies, demonstrating that ICL is more effective than zero-shot and Chain-of-Thought (CoT). Our research highlights the significant advantages of ICL in handling CSS tasks in few-shot settings and emphasizes the importance of optimizing sample quality and prompting strategies to improve LLM classification performance. The code will be made available.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 25 of its 35 references that are in the map. First posted on arXiv 23 Sep 2024.

Builds on

25 of 35 references.

References · 25

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  5. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
  6. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
  7. 2022A Survey on In-context Learningcited by 717
  8. 2023Baichuan 2: Open Large-scale Language Modelscited by 664
  9. 2023Instruction Tuning for Large Language Models: A Surveycited by 617
  10. 2018FakeNewsNet: A Data Repository with News Content, Social Context and Spatialtemporal Information for Studying Fake News on Social Mediacited by 281
  11. 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 134
  12. 2017SemEval-2017 Task 8: RumourEval: Determining rumour veracity and support for rumourscited by 77
13 more
  1. 2024Fine-Tuned 'Small' LLMs (Still) Significantly Outperform Zero-Shot Generative AI Models in Text Classificationcited by 66
  2. 2024The Ultimate Guide to Fine-Tuning LLMs from Basics to Breakthroughs: An Exhaustive Review of Technologies, Research, Best Practices, Applied Research Challenges and Opportunitiescited by 63
  3. 2023Probing LLMs for hate speech detection: strengths and vulnerabilitiescited by 52
  4. 2024Unleashing the Power of Data Tsunami: A Comprehensive Survey on Data Assessment and Selection for Instruction Tuning of Language Modelscited by 29
  5. 2019Automatically Identifying Complaints in Social Mediacited by 25
  6. 2024Fine-tuning Large Language Models with Sequential Instructionscited by 20
  7. 2023Navigating Prompt Complexity for Zero-Shot Classification: A Study of Large Language Models in Computational Social Sciencecited by 18
  8. 2023Exploring the Relationship between In-Context Learning and Instruction Tuningcited by 14
  9. 2022Automatic Identification and Classification of Bragging in Social Mediacited by 12
  10. 2023Not All Demonstration Examples are Equally Beneficial: Reweighting Demonstration Examples for In-Context Learningcited by 9
  11. 2023Team QUST at SemEval-2023 Task 3: A Comprehensive Study of Monolingual and Multilingual Approaches for Detecting Online News Genre, Framing and Persuasion Techniquescited by 8
  12. 2024Prompt Refinement or Fine-tuning? Best Practices for using LLMs in Computational Social Science Taskscited by 6
  13. 2024Team QUST at SemEval-2024 Task 8: A Comprehensive Study of Monolingual and Multilingual Approaches for Detecting AI-generated Textcited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 1.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
  2. 2024Rethinking Scale: The Efficacy of Fine-Tuned Open-Source LLMs in Large-Scale Reproducible Social Science Research
  3. 2024Concept-aware Data Construction Improves In-context Learning of Language Models
  4. 2026The Alchemy of Thought: Understanding In-Context Learning Through Supervised Classification
  5. 2025Instruction Tuning with and without Context: Behavioral Shifts and Downstream Impact
  6. 2024Many-Shot In-Context Learning
  7. 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretraining
  8. 2023In-Context Explainers: Harnessing LLMs for Explaining Black Box Models