Difference between revisions of "AI tricks"
KevinYager (talk | contribs) (→Prompt Engineering) |
KevinYager (talk | contribs) (→Position Bias) |
||
Line 23: | Line 23: | ||
==Position Bias== | ==Position Bias== | ||
+ | * 2023-07: [https://arxiv.org/abs/2307.03172 Lost in the Middle: How Language Models Use Long Contexts] | ||
+ | * Test models: | ||
+ | ** [https://github.com/gkamradt/LLMTest_NeedleInAHaystack?utm_source=chatgpt.com Needle-in-a-Haystack tests] | ||
+ | ** 2023-08: [https://arxiv.org/abs/2308.14508 LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding] | ||
+ | ** 2024-02: [https://arxiv.org/abs/2402.13718 ∞Bench: Extending Long Context Evaluation Beyond 100K Tokens] | ||
+ | ** 2024-07: [https://arxiv.org/abs/2407.16695 Stress-Testing Long-Context Language Models with Lifelong ICL and Task Haystack] | ||
* 2024-07: [https://arxiv.org/abs/2407.01100 Eliminating Position Bias of Language Models: A Mechanistic Approach] | * 2024-07: [https://arxiv.org/abs/2407.01100 Eliminating Position Bias of Language Models: A Mechanistic Approach] | ||
=Generation= | =Generation= | ||
* [https://github.com/Zhen-Tan-dmml/LLM4Annotation Large Language Models for Data Annotation and Synthesis: A Survey] | * [https://github.com/Zhen-Tan-dmml/LLM4Annotation Large Language Models for Data Annotation and Synthesis: A Survey] |
Revision as of 08:12, 8 May 2025
Contents
Prompt Engineering
- 2025-03: Prompting Science Report 1: Prompt Engineering is Complicated and Contingent
- 2024-06: The Prompt Report: A Systematic Survey of Prompting Techniques
In-Context Learning
- 2020-05: Language Models are Few-Shot Learners
- 2025-03: Learning to Search Effective Example Sequences for In-Context Learning
Chain of Thought (CoT)
"Let's think step-by-step"
Multi-step
Tool-use, feedback, agentic
Retrieval-Augmented Generation (RAG)
Input/Output Formats
- 2024-08: LLMs Are Biased Towards Output Formats! Systematically Evaluating and Mitigating Output Format Bias of LLMs
- 2024-11: Does Prompt Formatting Have Any Impact on LLM Performance?
Position Bias
- 2023-07: Lost in the Middle: How Language Models Use Long Contexts
- Test models:
- 2024-07: Eliminating Position Bias of Language Models: A Mechanistic Approach