Search arXiv⌕ Search

arXiv subjects

Deeptanshu Malu

Publications and source records attributed to Deeptanshu Malu.

2 recordsLinked to original sources

Contrast Matters: Understanding Robustness of In-Context Fine-Tuning to Target-Context Relatedness

In-context fine-tuning (IC-Train), training an LLM with labeled examples in-context, is increasingly used in place of standard fine-tuning for domain adaptation and continual absorption of labeled data. We study the robustness of the in-context learning ability that emerges from such training: does the fine-tuned model perform well across test inputs whose in-context examples range from unrelated to nearly identical? Across 32 configurations spanning four open-source LLMs and eight test sets over machine translation, Text-to-SQL, and multilingual semantic parsing, we show that robustness hinges on an overlooked design choice: how in-context examples are selected relative to the target during training. The two prevailing strategies turn out to be accurate over complementary parts of this spectrum: random contexts yield a model that gains little from related examples even when they are placed in its context, while retrieved similar contexts weaken accuracy on targets lacking close neighbors and raise the propensity to copy labels from context. Probes tracking in-weights learning, in-context learning, and copying trace these failures to distinct training dynamics, and show that introducing contrast in target-context similarity both within a context and across batches, restores robustness across the entire spectrum.

cs.LG↗

The "Gate of Fate" - a quantum gaming concept

Quantum physics underpins the emerging quantum technology era, yet its counterintuitive principles remain challenging for beginners. Video games offer a promising medium to make these principles accessible through an interactive experience. Conventional gameplay, even when featuring extraordinary abilities of the protagonist, largely draws on classical intuition, shaping the player's reflexes through familiar expectations of motion, action, and consequence. Here, we propose extending these reflexes into the quantum domain by embedding superposition, unitary evolution, quantum gates, and measurement into the game. Central to this approach is a new controller action, the Gate of Fate, which allows players to engage in quantum operations through their gaming decisions. We demonstrate the concept in a Tetris-based prototype, with progressively structured levels that introduce quantum operations and their consequences. We also outline extensions to role playing games, in which the behavior and difficulty of antagonists can respond to player's developing quantum gaming reflexes. By turning abstract quantum concepts into actionable game mechanics, this approach aims to cultivate quantum intuition through play, offering opportunities for both quantum pedagogy and more sophisticated game design.

physics.pop-ph↗