paper-with-me

홈 › Papers

Markov Constraint as Large Language Model Surrogate

2024-06-11 · Alexandre Bonlarron, Jean-Charles Régin

This paper presents NgramMarkov, a variant of the Markov constraints. It is dedicated to text generation in constraint programming (CP). It involves a set of n-grams (i.e., sequence of n words) associated with probabilities given by a large language model (LLM). It limits the product of the probabilities of the n-gram of a sentence. The propagator of this constraint can be seen as an extension of the ElementaryMarkov constraint propagator, incorporating the LLM distribution instead of the maximum likelihood estimation of n-grams. It uses a gliding threshold, i.e., it rejects n-grams whose local probabilities are too low, to guarantee balanced solutions. It can also be combined with a "look-ahead" approach to remove n-grams that are very unlikely to lead to acceptable sentences for a fixed-length horizon. This idea is based on the MDDMarkovProcess constraint propagator, but without explicitly using an MDD (Multi-Valued Decision Diagram). The experimental results show that the generated text is valued in a similar way to the LLM perplexity function. Using this new constraint dramatically reduces the number of candidate sentences produced, improves computation times, and allows larger corpora or smaller n-grams to be used. A real-world problem has been solved for the first time using 4-grams instead of 5-grams.

📄 PDF Abstract BibTeX arXiv:2406.10269

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language ModelmodelSentenceText Generation

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Uncertainty-Aware Surrogate-based Amortized Bayesian Inference for Computationally Expensive Models

2025-05-13 · Stefania Scheurer, Philipp Reiser, Tim Brünnette, Wolfgang Nowak 외

Bayesian inference typically relies on a large number of model evaluations to estimate posterior distributions. Established methods like Markov Chain Monte Carlo (MCMC) and Amortized Bayesian Inference (ABI) can become c…

Bayesian Inference

Neural network surrogates with uncertainty quantification for inverse problems in partial differential equations

2026-06-18 · Christian Jimenez-Beltran, Aretha L. Teckentrup, Antonio Vergari, Konstantinos C. Zygalakis arxiv

Inverse problems for differential equations arise throughout science and engineering, where one seeks to infer unknown model parameters from noisy or incomplete observations. Traditional numerical methods for these probl…

Bayesian Inference

Scalable and Stable Surrogates for Flexible Classifiers with Fairness Constraints

2021-12-01 · NeurIPS 2021 12 · Henry Bendekgey, Erik Sudderth

We investigate how fairness relaxations scale to flexible classifiers like deep neural networks for images and text. We analyze an easy-to-use and robust way of imposing fairness constraints when training, and through th…

Fairness

Scalable and Stable Surrogates for Flexible Classifiers with Fairness Constraints

2021-05-21 · NeurIPS 2021 12 · Harry Bendekgey, Erik B. Sudderth

We investigate how fairness relaxations scale to flexible classifiers like deep neural networks for images and text. We analyze an easy-to-use and robust way of imposing fairness constraints when training, and through th…

Fairness

Enhancing Inverse Problem Solutions with Accurate Surrogate Simulators and Promising Candidates

2023-04-26 · Akihiro Fujii, Hideki Tsunashima, Yoshihiro Fukuhara, Koji Shimizu 외

Deep-learning inverse techniques have attracted significant attention in recent years. Among them, the neural adjoint (NA) method, which employs a neural network surrogate simulator, has demonstrated impressive performan…