Goto

Collaborating Authors

 Education


Feedback-Driven Prompt Refinement for Educational AI: Affective Trajectory Estimation and Bloom's Taxonomy Classification

arXiv.org Artificial Intelligence

Contribution: This study has shown that a shared prompt-refinement procedure, guided by distinct affective and cognitive feedback signals, can improve held-out reference agreement and multi-label classification while reducing affective-generation variability without executor parameter updates. Background: Industry 4.0 has increased demand for personalized technical education across interconnected computing and engineering domains, while prompt sensitivity and generation variability have complicated dependable interpretation of instructional dialogue and learning outcomes. Research Questions: The study has examined whether task-specific feedback can improve affective-reference agreement, generation consistency, and cognitive classification without updating executor parameters. Methodology: A secondary language model has revised executor prompts using executor-output discrepancies against model-generated affective references for four dialogues and annotated Bloom labels for 70 learning outcomes; separate sets of 100 EduTalk conversations and 1,000 outcomes have supported held-out comparisons. Small refinement sets, unvalidated affective references, and absent learner-outcome measures have constrained interpretation. Findings: Affective mean absolute error has decreased from 0.742 to 0.702 and mean generation standard deviation from 0.307 to 0.238, while Bloom micro-F1 has increased from 0.687 to 0.893 and exact-match subset accuracy from 0.418 to 0.636. These findings have supported prompt refinement as a candidate approach for developing adaptive technical instruction, while its effects on workforce learning remain to be established.


Benchmarking and Adapting LLMs for English-Swedish Medical Question Answering

arXiv.org Artificial Intelligence

Large language models do well on English medical exams, but less is known about Swedish. This matters most for small open models that hospitals can run locally. To reduce this gap, we first build an item-aligned English-Swedish benchmark from ten medical multiple-choice datasets; each Swedish item keeps the options and answer of its English source. A conservative refinement loop repairs the translations: open models from three families find errors, ground them in a Swedish medical term base, and keep a model-written edit only if blind judges vote for it. On this benchmark, small models lose much more accuracy in Swedish than large ones, especially when they answer without reasoning. Second, we ask whether English data and open teacher models can close this gap. We translate the training data, let teachers write reasoning traces, and fine-tune two small students on gold answers or traces in English, Swedish, or both. Training on reasoning traces that include Swedish closes the gap and lifts the 1.2B student from 23.5\% to 52.0\% in Swedish, slightly above a 20B open model in its fast mode, with a sixth of its memory. We release the benchmark, its edit history, and the code.


To See is Not to Learn: Protecting Multimodal Data from Unauthorized Fine-Tuning of Large Vision-Language Models

arXiv.org Artificial Intelligence

The rapid advancement of Large Vision-Language Models (LVLMs) is increasingly accompanied by unauthorized scraping and training on multimodal web data, posing copyright and privacy risks to data owners. Existing countermeasures, such as machine unlearning and watermarks, are inherently post-hoc approaches that act only after intellectual property infringement has already occurred. In this work, we propose MMGuard to empower data owners to proactively protect their multimodal data against unauthorized LVLM fine-tuning. MMGuard generates unlearnable examples by injecting human-imperceptible perturbations that exploit the learning dynamics of LVLMs. By minimizing the training loss, the perturbation creates an optimization shortcut, causing the model to overfit to the noise and thereby degrading downstream performance when the perturbation is absent during inference. To further strengthen this defense, MMGuard introduces a cross-modal binding disruption, shifting LVLM attention to enforce a spurious correlation between the noise and the training target with theoretical guarantees. MMGuard is evaluated against nine open-source LVLMs across six datasets. Our results demonstrate effective, stealthy, and robust protection under white-box, gray-box, and no-box threat models, establishing a mechanistic advantage in proactively defending against unauthorized fine-tuning exploitation.


Language Model Harnesses can be Compositional Generalizers

arXiv.org Artificial Intelligence

Modern language models (LMs) are post-trained and deployed as agents inside a "harness", but standard harness designs accumulate context that the neural network is forced to generalize to, making training for long-horizon tasks expensive and time-consuming. We study an alternative emerging path: training inherently neurosymbolic LM harnesses, which externalize and manage context programmatically to compose existing LM capabilities. We hypothesize that training around these harnesses can offer a better return on compute by enabling compositional generalization, as they can learn to decompose complex problems so that every observation their neural LM receives is locally in-distribution, even when the full task is novel. We find that harnesses like the Recursive Language Model (RLM) learn such decompositions readily under reinforcement learning post-training: (1) we demonstrate that training only on short tasks can generalize to tasks 2-64$\times$ longer while the base neural LM improves less, and (2) training on one domain transfers to novel domains that share latent structure. On messier, complex tasks, we find that we can target individual LLM calls within a harness by generating and training on easier, synthetically generated surrogate environments with fake tool / sub-calls, a technique we call surrogate harness training. From this finding, we train RLM-27B on synthetic data, and show it improves Qwen3.8-27B in the same RLM harness on a hard suite of long-context tasks like CTC-Bench and ExpertLongBench by 26.9% on average while using $\sim$2$\times$ fewer tokens at inference time. Finally, we show that harnesses can compose over these newly learned decompositions using recursive sub-harness calls.


Informed Machine Learning with Knowledge Landmarks

arXiv.org Artificial Intelligence

Informed Machine Learning (ML) aims to improve prediction by using both data and prior knowledge. In scientific and engineering applications, accurate measurements may occupy only a small operating region of the input space, whereas available knowledge is global, coarse, and not expressed as equations. Existing physics-informed methods embed governing equations, residuals, simulators, operators, or mathematically specified constraints. However, they do not directly address learning from localized numeric data together with non-equational knowledge. We develop a Knowledge-Data (KD) ML framework for this setting. The KD-model represents coarse global knowledge as input-output information granules, termed knowledge landmarks. The method uses a landmark-guided objective that converts these landmarks into differentiable compatibility terms and balances them against local data fitting through a trade-off parameter $ฮป$. Experiments on two physics-based benchmarks show that the KD-model predicts more accurately across the full domain than a model trained on the local data alone. For most observation windows, the gain holds over a broad range of $ฮป$. The advantage persists when the sample size or label noise changes, with $ฮป$ re-selected without full-domain labels. These results show that approximate expert knowledge can guide training when dense labels or explicit equations are unavailable.


Beyond Unit Tests: Path-Aware Rubric-Guided LLM Autograding of Notebooks

arXiv.org Artificial Intelligence

Jupyter notebooks support open-ended, multi-step assessments in which students build one logical flow across interdependent steps, combining code, written analysis, and generated outputs such as plots. These reflect authentic scientific practice but are hard to grade consistently, since students may make different yet equally valid choices at each step, so a later answer can only be judged in light of the choices a student made earlier. We present an LLM-based autograder for such flow-structured notebook questions. It generates a rubric from a reference solution, then applies a softening pass that relaxes criteria tied to the reference so legitimate alternative paths are not penalized. Each question group is graded in a single model call, so later answers are judged against the student's own earlier choices, using question-type tags and schema-constrained, low-temperature outputs. Evidence is scored multimodally: code, text, numerical outputs, and figures from code cells. We deployed the tool in a machine-learning course, integrated with Gradescope, with a pre-submission format check and prompt-injection defenses, and evaluate it both in that live course and against archived submissions graded by staff in earlier terms. We report agreement, cross-model variance, cost, student perceptions, and injection resilience. With low-temperature models, agreement with human scores is often strong, including on the open-ended items the design specifically targets, while run-to-run stability depends sharply on the model's temperature support.


Metric-Aware PCA as a Linear Instance of Geometric Deep Learning

arXiv.org Artificial Intelligence

Geometric deep learning organises modern neural architectures around the symmetries of the domain on which data live: convolutional networks around translations, graph neural networks around permutations, equivariant networks around continuous group actions. Metric-Aware PCA (MAPCA) parameterises principal component analysis by a positive-definite metric matrix M, with the canonical beta-family M(beta) = Sigma^beta, beta in [0, 1], interpolating between standard PCA (beta = 0) and output whitening (beta = 1), and the diagonal metric M = D = diag(Sigma) recovering Invariant PCA (IPCA) as a distinguished off-beta point with strict diagonal scale invariance. This paper positions MAPCA explicitly within the geometric deep learning framework. The metric M is read as the geometric prior; the M-orthogonal group O(p, M) is the symmetry group it induces; MAPCA solutions are equivariant under this group, with the spectrum of M^{-1} Sigma invariant; and the constraint W^T M W = I_k is the linear, single-layer analogue of the Schur-type weight constraints used in equivariant neural networks. Across six axes (domain, symmetry group, equivariance, invariance, architectural primitive, and geometric prior) we construct a precise dictionary between MAPCA and geometric deep learning. The principal claim of the paper is the dictionary itself; the central technical anchor is a uniqueness theorem characterising IPCA as the unique linear equivariant projector onto the fixed-point set of the diagonal rescaling action within the MAPCA family, establishing rigorously the structural status of IPCA that the dictionary makes visible.


$ฮป$-Reachability: Geometric-Horizon Safety Bellman Equations for Humanoid Safety

arXiv.org Artificial Intelligence

We introduce $ฮป$-Reachability, a scalable approach to Hamilton--Jacobi safety analysis for high-dimensional robotic systems. Unlike prior discounted formulations that rely on fixed one-step Bellman updates, $ฮป$-Reachability employs a stochastic multi-step estimator of the safety value, using a geometrically distributed rollout horizon together with a randomly absorbed terminal. Conceptually analogous to TD($ฮป$), $ฮป$-Reachability interpolates between local self-consistency updates and long-horizon max-over-trajectory safety targets via an interpretable horizon-control parameter. Unlike TD($ฮป$), where the terminal value is always incorporated in learning targets, the terminal safety value in $ฮป$-Reachability is only used at a probability controlled by parameter $ฮด$. We formally show that for $ฮด<1$, the update induces a contraction mapping that allows temporal-difference learning; as $ฮป\to 1$, the estimator recovers the undiscounted reachability objective. We apply $ฮป$-Reachability to high-dimensional safety learning problems with both simulated and real humanoid robots under balance and collision avoidance constraints. Experimental results demonstrate that $ฮป$-Reachability significantly improves both safe-set boundary classification and safety margin estimation compared to single-step temporal-difference baselines.


Unlocking Compositional Generalization in Continual Few-Shot Learning

arXiv.org Artificial Intelligence

Object-centric representations promise a key property for few-shot learning: Rather than treating a scene as a single unit, a model can decompose it into individual object-level parts that can be matched and compared across different concepts. In practice, this potential is rarely realized. Continual learners either collapse scenes into global embeddings, or train with part-level matching objectives that tie representations too closely to seen patterns, leaving them unable to generalize to truly novel concepts. In this paper, we identify this fundamental structural conflict and pioneer a new paradigm that strictly decouples representation learning from compositional inference. Leveraging the inherent patch-level semantic geometry of self-supervised Vision Transformers (ViTs), our framework employs a dual-phase strategy. During training, slot representations are optimized entirely toward holistic class identity, preserving highly generalizable, object-level geometries. At inference, preserved slots are dynamically composed to match novel scenes. We demonstrate that this paradigm offers dual structural benefits: The frozen backbone naturally prevents representation drift, while our lightweight, holistic optimization preserves the features' capacity for novel-concept transfer. Extensive experiments validate this approach, achieving state-of-the-art unseen-concept generalization and minimal forgetting across standard continual learning benchmarks.


Selection Policies for Equal-Byte Mixed-Precision Quantization of Small Language Models

arXiv.org Artificial Intelligence

Can changing which matrices receive 2, 4, or 8 bits improve a small language model without increasing its parameter storage? I compare two parent-selection rules in the same genetic algorithm: a binary-tournament variant and an Alternis-inspired rule. A separate baseline samples repaired random allocations without crossover or mutation. All three use the same MLX affine quantizer, byte ceiling, initialization and candidate allowance within each study. An exploratory study on Qwen3.5-2B evaluates 90 allocations per run. The main study on Qwen3-1.7B evaluates 500 distinct allocations per run over 10 paired seeds. Against uniform four-bit, tournament reduces held-out next-token negative log-likelihood (NLL) by 0.0616 on AG News and 0.0152 on IMDb on average, improving all 10 seeds on each corpus at identical parameter storage. Alternis improves five seeds and ties five on AG News; on IMDb its mean gain is near zero. Random returns uniform four-bit in every seed. The tournament representative answers 156 of 400 ARC-Challenge questions correctly versus 163 for uniform; no accuracy gain is demonstrated on this subset. The result favors this tournament variant for text prediction under the tested protocol, not for compression ratio or task accuracy.