Hugging Face Trending Papers

Grammar Control for Language Learning with Sequential Monte Carlo and Small Language Models

Read the original on Hugging Face Trending Papers →

The paper presents a method that uses sequential Monte Carlo (SMC) to guide small language models toward generating specific target grammar structures for second language learners. By applying a minimal set of hand‑coded potential functions, SMC achieves near‑perfect coverage of the desired grammar, allowing these lightweight models to outperform state‑of‑the‑art models that are 140 times larger. The authors also demonstrate that code synthesis with frontier models can automatically generate new potentials, enabling the approach to scale to hundreds of grammar skills without additional training or supervised data.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Hugging Face Trending Papers.

arXiv AI
Oct 27

Budgeted Prompt-Set Expansion and Refinement for Language Models via Simulation Optimization

The paper proposes a two‑stage framework for expanding and refining a set of prompts for language models under a limited evaluation budget. In the first stage, it generates a finite candidate set of prompts represented by moderate‑dimensional vectors. The second stage builds a surrogate model of prompt scores and sequentially selects prompts for evaluation, proving consistency of this procedure and introducing a refinement step that searches beyond the initial candidates. Numerical experiments show the method outperforms baseline prompt selection, especially when evaluation calls are constrained.

By Haoting Zhang, Jinghai He, Rhonda Righter, Zeyu Zheng
arXiv AI
Sep 15

CHAI for LLMs: Improving Code-Mixed Translation in Large Language Models through Reinforcement Learning with AI Feedback

CHAI for LLMs is a framework that improves large language models’ performance on code‑mixed translation tasks by using LLMs as annotators to create preference data, applying reinforcement learning from AI feedback, incorporating LLM‑generated domain knowledge for iterative refinement, and evaluating on real‑world datasets. The approach yields a 68.45% average win rate over state‑of‑the‑art open‑source models in human‑adjudicated tests. It demonstrates a scalable method to enhance code‑mixed language understanding in open‑source LLMs.

By Wenbo Zhang, Aditya Majumdar, Asif Ekbal, Amulya Yadav
arXiv Machine Learning
Oct 23

GFlowPO: Generative Flow Network as a Language Model Prompt Optimizer

GFlowPO introduces a probabilistic framework for optimizing language model prompts by treating prompt search as posterior inference over latent prompts, regularized by a meta-prompted reference-LM prior. The method first fine‑tunes a lightweight prompt‑LM using an off‑policy Generative Flow Network objective that reuses past prompt evaluations for sample‑efficient exploration. It then applies a training‑free Dynamic Memory Update to refine the meta‑prompt with diverse and top‑performing prompts, leading to consistent improvements over recent discrete prompt optimization baselines on few‑shot classification, instruction induction, and question‑answering tasks.

By Junmo Cho, Suhan Kim, Sangjune An, Minsu Kim, Dong Bok Lee, Heejun Lee, Sung Ju Hwang, Hae Beom Lee