AI/ML News & Innovations Hub

AI/ML news, top picks, and generated innovation digests.

★ Visit ai-karthik.com
422Sources
27405News Items
8Top Picks
166Blogs
failedLast Run

Latest AI/ML News

27405 matching items

HELM Safety 2024-09-05 00:00 UTC Score 58.0 USR-0179-20240905-research-aca-e705aa1f Full article

Advancing Customizable Benchmarking in HELM via Unitxt Integration

The Holistic Evaluation of Language Models (HELM) framework is an open source framework for reproducible and transparent benchmarking of language models that is widely adopted by academia and industry. To meet HELM users’ needs for more powerful benchmarking features, we are proud to announce our collaboration with Unitxt, an open-source community platform developed by IBM Research for data preprocessing and benchmark customization. The integration of Unitxt into HELM gives HELM users access to the vast Unitxt catalog of benchmarks, and allows users to run sharable and customizable evaluation pipelines with greater ease.

Inria AI 2024-09-02 07:00 UTC Score 27.0 USR-0036-20240902-research-aca-a15c999e Full article

Réinventer l’éducation : quand le numérique transforme les apprentissages

Réinventer l’éducation : quand le numérique transforme les apprentissages mtestari lun, 09/02/2024 - 09:00 La transformation numérique de l’école doit être une opportunité pour mieux apprendre et individualiser l’apprentissage grâce au développement de nouvelles technologies associées à la formation de la communauté enseignante et des élèves aux compétences du 21e siècle. Autant d’enjeux sociétaux et scientifiques que relèvent, depuis plus de dix ans, les équipes pluridisciplinaires du Centre Inria de l’université de Bordeaux avec des chercheurs et chercheuses en intelligence artificielle, en interaction Humain - Machine, en neurosciences, en psychologie développementale et en sciences de l’éducation. © freepik /Photo Pch.Vector Mieux comprendre les processus d’apprentissage L’une des caractéristiques la plus importante pour l’ensemble des équipes impliquées reste leur approche systémique, positionnant l’apprenant toujours au centre de l’étude en considérant l’ensemble de ses interactions avec l’environnement dans lequel il évolue. « Ces recherches ne peuvent être menées sans l’appui des acteurs de terrain que sont les enseignants et les professionnels de l’éducation. Elles restent indissociables des avancées des sciences humaines pour ancrer la transformation numérique de l’école sur les besoins des apprenants, des éducateurs et de leurs environnements » souligne Nicolas Roussel, directeur du Centre Inria de l’université de Bordeaux. Le premier défi consiste à mieux compren…

The AI Investment Landscape: Who’s Funding the Next Wave of Innovation?
TOPBOTS 2024-08-26 15:57 UTC Score 23.0 AI-043-20240826-ai-specialis-0b42ea5c Full article

The AI Investment Landscape: Who’s Funding the Next Wave of Innovation?

Artificial Intelligence (AI) is reshaping the tech landscape, attracting a diverse array of investors eager to capitalize on its potential. In this article, we explore the key players driving investments in AI, from tech giants and venture capital funds to angel investors, and examine the companies they are betting on. The post The AI Investment Landscape: Who’s Funding the Next Wave of Innovation? appeared first on TOPBOTS .

Why use the MLP Gaussian Decoder in a VAE if it’s limited in modeling complex data?
AI Stack Exchange 2024-08-23 15:57 UTC Score 23.0 AI-110-20240823-social-media-cb2ca392 Full article

Why use the MLP Gaussian Decoder in a VAE if it’s limited in modeling complex data?

My question concerns the paper arxiv.org/pdf/1312.6114. I want to know why they proposed to use the MLP Gaussian decoder with parameters given by the MLP transformation of the z variable as the likelihood model $p_{\theta}(x|z)$ . If they are using NNs to perform inference on the best set of parameters, why use a Gaussian if it is very limiting in modeling complex data?

EU AI Act Tracker / Explainer 2024-08-22 11:06 UTC Score 30.0 AI-010-20240822-glossary-def-7f54a0c2 Full article

The AI Act: Responsibilities of the European Commission (AI Office)

If you are unsure who is implementing and enforcing the new digital law and what the specific time frames are, you might find this post—and our post on the responsibilities of the EU Member States—very helpful. The tables below provide a comprehensive list of all obligations and tasks that the AI Act places upon to the […]

EU AI Act Tracker / Explainer 2024-08-22 11:06 UTC Score 30.0 AI-010-20240822-glossary-def-573100c2 Full article

The AI Act: Responsibilities of the EU Member States

If you are unsure who is implementing and enforcing the EU AI Act and what the specific time frames are, you might find this post—and our post on the responsibilities of the European Commission (AI Office)—very helpful. The tables below provide you with a comprehensive list of all obligations and tasks that the AI Act places […]

AI Stack Exchange 2024-08-21 06:04 UTC Score 18.0 AI-110-20240821-social-media-b50d2ae5 Full article

Understanding the embeddings model (dunzhang/stella_en_400M_v5) by Alibaba. The details about the retrieve task and the s2s task

The model I am talking about is hosted here : From the documentation: We simplify usage of prompts, providing two prompts for most general tasks, one is for s2p, another one is for s2s.Prompt of s2p task(e.g. retrieve task): ..., Prompt of s2s task(e.g. semantic textual similarity task): ... Question: What is S2P task? How is retrieve task different from semantic textual similarity task? Difference in the usage and also in the training steps would be much appreciated in the answer

AI Stack Exchange 2024-08-21 03:50 UTC Score 20.0 AI-110-20240821-social-media-3be4f5db Full article

Is the implementation equivalent to the formulation of the estimate of the Policy Gradient from spinningup?

In Part 3: Intro to Policy Optimization from spinningup documentation, there is a formula to compute the estimate of the policy gradient: This is an expectation, which means that we can estimate it with a sample mean. If we collect a set of trajectories $ D = > \{\tau_i\}_{i=1,...,N} $ where each trajectory is obtained by letting the agent act in the environment using the policy $\pi_{\theta}$ , the policy gradient can be estimated with $$ \hat{g} = \frac{1}{|D|} \sum_{\tau \in D} \sum_{t=0}^{T} > \nabla_{\theta} \log \pi_{\theta}(a_t |s_t) R(\tau), $$ where $|D|$ is the number of trajectories in $D$ (here, $N$ ). Also in the code on the same page to compute loss: # make loss function whose gradient, for the right data, is policy gradient def compute_loss(obs, act, weights): logp = get_policy(obs).log_prob(act) return -(logp * weights).mean() Here the mean() is calculated over all the (state, action) pairs. However, the formula above calculates the mean over trajectories. There seems to be a disconnect. Are these two forms equivalent?

"repeated measures ANOVA" vs "ANOVA with subject as random effect" vs "repeated measures ANOVA with subject as random effect"
Cross Validated 2024-08-20 13:42 UTC Score 12.0 AI-113-20240820-social-media-3fd650ef Full article

"repeated measures ANOVA" vs "ANOVA with subject as random effect" vs "repeated measures ANOVA with subject as random effect"

What is the difference between running a repeated measures ANOVA (the measure is repeated across time for each subject) vs an ANOVA with a subject as a random effect?` I have also seen mention of a "repeated measures ANOVA with subject as random effect". For context I have 6 groups and 3 post-baseline time points per group/subject. Each subject is a member of one group. I would like to compare means of both different groups at the same time point (ex group 1 vs group 3 at time point B) and means of the same group at different time points (ex. group 1 at time point B vs group 1 at time point C). I will use ls-means to compare means, but I don't really understand the differences between the above three model categories. If there even is a difference! Thank you very much!

Humanoid Robots on the Rise: Industry Advances, Key Players, and Adoption Timelines
TOPBOTS 2024-08-13 16:14 UTC Score 23.0 AI-043-20240813-ai-specialis-6cc074f4 Full article

Humanoid Robots on the Rise: Industry Advances, Key Players, and Adoption Timelines

The robotics industry stands on the brink of a significant transformation, with many experts – including NVIDIA CEO Jensen Huang – suggesting that we might be approaching a "ChatGPT moment" for robotics. The post Humanoid Robots on the Rise: Industry Advances, Key Players, and Adoption Timelines appeared first on TOPBOTS .

Any relation between two KL divergences?
Cross Validated 2024-08-09 17:10 UTC Score 9.0 AI-113-20240809-social-media-6f4dd35f Full article

Any relation between two KL divergences?

I am using a KL divergence to measure the difference between distributions, but I would like to compare the results to each one another, because the probability distributions I'm measuring are correlated. What is a good measure for comparing two KL divergences on related distributions? Ex. If I'm looking at some characterization data for a test, let's say X-ray diffraction patterns for a metal sample. I get an XRD pattern of intensity vs. diffraction angle, and can create a probability distribution for that in a reference state (room temp, new sample). I then run the same XRD test on the same sample while I vary temperature, and for that temperature I get a new distribution of my XRD data, and I can calculate the KL divergence for that distribution relative to my reference one. Let's say I then cold-roll my metal sample, and run the same XRD experiment, and then calculate the KL divergence with the same reference state for those distributions. I have two KL divergence results, and I know that there are variables for the metal sample, temperature vs. strength, that are correlated. Is there any comparison technique between divergences to tell me how much one distribution diverged relative to another? Especially if the variables are interrelated? Edit: Changing the example to be more specific.

Lower bound of KL divergence of Gaussian mixture with Gaussian (univariate)
Cross Validated 2024-08-09 04:59 UTC Score 17.0 AI-113-20240809-social-media-88cf9738 Full article

Lower bound of KL divergence of Gaussian mixture with Gaussian (univariate)

I'm interested in a non-zero Kullback-Leibler divergence lower bound between a Gaussian mixture $q$ and a standard Gaussian $p(x) = \mathcal N(x \mid 0,1)$ , both univariate : $D_{KL}(q \parallel p)$ . I'm aware of this question , but I conjecture that with some constraints the problem might become easier. My constraints: The Gaussian mixture is guaranteed to have mean zero The Gaussian mixture is guaranteed to have variance lower bounded by $\gamma^2$ . I skim over Hershey & Olsen (2007) , which mentions a pretty trivial Gaussian approximation of the KL divergence in Section 4, where $q$ is approximated by a Gaussian $\bar q(x) = \mathcal N(x \mid \mu, \sigma^2)$ , (here, $\mu \triangleq \mathbb E_q[x] = 0, \sigma^2 \triangleq \mathbb E_q[x^2] - \mathbb E_q[x]^2 \ge \gamma^2$ ); and then the target KL is approximated by $D_{KL}(\bar q \parallel p)$ . However, the paper says this is a poor approximation, and does not mention whether it's a bound either. In Melbourne et al. (2018) , the authors propose an upper bound on the entropy of a mixture distribution. Since $D_{KL}(q \parallel p) = -\mathbb H(q) - \mathbb E_q[\log p(x)]$ , I'm able to take advantage of it, provided that I know how to upper bound the expected log density term , which is outside my expertise again.

Bayesian hierarchical model for comparing reviewers
Cross Validated 2024-08-07 19:59 UTC Score 25.0 AI-113-20240807-social-media-30218c80 Full article

Bayesian hierarchical model for comparing reviewers

I am working on a research paper about reviewing people's expertise. I have 21 respondents, each answered 10 questions. Now I have asked 4 groups of reviewers (each group consists of 3 people) to grade the answers between 1 and 5 (5 best). I have used Fleiss' Kappa to measure inter-rater reliability between reviewers in the same group. Unfortunately one reviewer asked me to include a Bayesian hierarchical model to account for the variability among raters and to provide a probabilistic measure of rater consistency. This would allow for a more nuanced understanding of rater behavior and the inherent uncertainties in human judgment, which are oversimplified by the use of a linear scale in the current methodology. In my opinion it is an over-complication. I wanted to check whether people from different backgrounds can assess people in the same topic. I do not see any benefits from using Bayesian hierarchical model for comparing reviewers. I am trying to perform this test, but nonetheless I would like to respond to the reviewer POLITELY that this is not a use-case for this model and Fleiss kappa is sufficient. Could you help me, or prove me wrong?

We Need Positive Visions for AI Grounded in Wellbeing
The Gradient 2024-08-03 17:00 UTC Score 15.0 AI-037-20240803-ai-specialis-10b7bdd6 Full article

We Need Positive Visions for AI Grounded in Wellbeing

Introduction Imagine yourself a decade ago, jumping directly into the present shock of conversing naturally with an encyclopedic AI that crafts images, writes code, and debates philosophy. Won’t this technology almost certainly transform society — and hasn’t AI’s impact on us so far been

Accelerate Your AI Skills: Essential Generative AI Courses for Developers
TOPBOTS 2024-07-29 18:20 UTC Score 18.0 AI-043-20240729-ai-specialis-15b43e33 Full article

Accelerate Your AI Skills: Essential Generative AI Courses for Developers

Generative AI is a rapidly evolving field with a plethora of fascinating applications, from creating realistic images and videos to generating human-like text and beyond. As the technology advances, the demand for skilled professionals who can harness the power of generative AI is growing exponentially. However, navigating the myriad of tutorials and courses available can […] The post Accelerate Your AI Skills: Essential Generative AI Courses for Developers appeared first on TOPBOTS .

Chip Huyen Blog 2024-07-25 00:00 UTC Score 47.0 USR-0111-20240725-ai-specialis-003493a0 Full article

Building A Generative AI Platform

After studying how companies deploy generative AI applications, I noticed many similarities in their platforms. This post outlines the common components of a generative AI platform, what they do, and how they are implemented. I try my best to keep the architecture general, but certain applications might deviate. This is what the overall architecture looks like. This is a pretty complex system. This post will start from the simplest architecture and progressively add more components. In its simplest form, your application receives a query and sends it to the model. The model generates a response, which is returned to the user. There are no guardrails, no augmented context, and no optimization. The Model API box refers to both third-party APIs (e.g., OpenAI, Google, Anthropic) and self-hosted APIs. From this, you can add more components as needs arise. The order discussed in this post is common, though you don’t need to follow the exact same order. A component can be skipped if your system works well without it. Evaluation is necessary at every step of the development process. Enhance context input into a model by giving the model access to external data sources and tools for information gathering. Put in guardrails to protect your system and your users. Add model router and gateway to support complex pipelines and add more security. Optimize for latency and costs with cache. Add complex logic and write actions to maximize your system’s capabilities. Observability, which allow…

Cross Validated 2024-07-23 13:06 UTC Score 9.0 AI-113-20240723-social-media-2d5ed861

Writing Kullback–Leibler divergence in terms of the score function

Assume we have two density functions $p(x)$ and $p'(x)$ for $x\in R^d$ . I would find a connection between Kullback–Leibler divergence between two densities in terms of the difference between the gradient of the log densities: $\nabla_{x} \log p(x)$ and $\nabla_{x} \log p'(x)$ . Something like $$\int p(x)\log\frac{p(x)}{p'(x)}dx\le \frac{1}{2}E_{x}||\nabla_{x} \log p(x)-\nabla_{x} \log p'(x)||_2^2.$$ Can anyone help me please. I have already tried starting the definition of the KL and then integrating by part, but I stuck at some points then.

Fair comparison method for a biased physics-based model and its ML-correction version
Cross Validated 2024-07-22 07:17 UTC Score 29.0 AI-113-20240722-social-media-5fdcb98f Full article

Fair comparison method for a biased physics-based model and its ML-correction version

I'm working with two prediction models: A calibrated physics-based model that consistently overestimates and has a fixed bias. An XGBoost model that predicts the error of the physics model to create corrected predictions. (The dataset contains the physics model's predictions and the target variable. We then predict the error between the target variable and the physical models prediction) I'm trying to fairly compare these models, but I'm unsure about the best approach. Simply using MAPE for both doesn't seem meaningful due to the known bias in the physics model. Here's what I'm considering: For the physics model: Calculate errors: errors = physics_model_prediction - actual_value Compute mean error: mean_error = errors.mean() Adjust errors: adjusted_errors = errors - mean_error Calculate MAPE: MAPE(adjusted_errors, actual_value) For the corrected model: Calculate MAPE(corrected_prediction, actual_value) Is this approach valid? The residuals' distribution in the correction model is slightly skewed but close to normal, tending to overestimate at certain values. But I'm wondering if this method is statistically sound. If there are better ways to compare the improvements I would appreciate any insights!

Why using mutual information is allowed for feature selection if depends on the "scale" of entropies?
Cross Validated 2024-07-18 12:32 UTC Score 12.0 AI-113-20240718-social-media-06dd18c8 Full article

Why using mutual information is allowed for feature selection if depends on the "scale" of entropies?

It is common to use mutual information as feature selection method. However, I fail to see why this is the case, since the mutual information $I(X, Y)$ depends on both entropies $H(X)$ and $H(Y)$ via the formula : $$ I(X, Y) = H(X) + H(Y) - H(X,Y)$$ meaning that comparing $I(X_i, Y)$ and $(X_j, Y)$ as a measure for selecting between $X_i$ and $X_j$ is not straightforward since the measure can be bloated by the marginal entropies. It is like selecting between $X_i$ and $X_j$ based on the covariance with $Y$ instead of correlation. The only way I can think that such a comparison is allowed is due to the equivalent formula: $$I(X, Y) = H(Y) - H(Y|X)$$ As the first term $H(Y)$ is the same for all $X_i$ then the ramking shouldn't depend on the "scale" of $H(Y)$ . Is that correct or am I missing something?

Inria AI 2024-07-09 13:23 UTC Score 27.0 USR-0036-20240709-research-aca-9d58bfa0 Full article

Les sciences du numérique à la conquête du ciel et de l’espace

Les sciences du numérique à la conquête du ciel et de l’espace mtestari mar, 07/09/2024 - 15:23 Après le lancement réussi d’Ariane 6 en juillet 2024 à Kourou, et alors que le nombre de voyageurs aériens atteint de nouveaux records en 2025, les sciences et technologies du numérique revêtent désormais une importance cruciale dans les domaines de l’aérospatial et l’aéronautique. © Pixabay/ Photo V. Stefanov Ces deux secteurs, très présents en Nouvelle-Aquitaine et en Occitanie, couvrent également des enjeux sociétaux et économiques significatifs. C’est tout un écosystème, opéré par Aerospace Valley , premier pôle de compétitivité européen, qui participe à l’étude, la conception, la fabrication et la commercialisation de ces technologies. Dans ce contexte, les équipes du Centre Inria de l’université de Bordeaux offrent à leurs partenaires industriels et académiques, les outils et les connaissances nécessaires pour renforcer la sécurité, la compétitivité et la décarbonation des systèmes, en s’appuyant sur leurs expertises telles que la modélisation, la simulation et la cryptographie . La conception des systèmes aéronautiques : un challenge scientifique pour chaque composante Il est primordial de développer des produits (aéronefs, avions, drones, lanceurs de satellites) les plus performants possible d’un point de vue du service rendu que de l’optimisation de la ressource exploitée. Grâce à la modélisation et à la simulation, Inria contribue à la création de modèles précis et réali…

AI Stack Exchange 2024-07-08 22:41 UTC Score 26.0 AI-110-20240708-social-media-e4ba4016 Full article

Using conditional probability as an estimate in a loss function

I have a rather large ML framework that takes multiple conditional probability terms that are computed via classifiers/neural networks. This arbitrary loss function is computed via a function: loss_value = arbitrary_loss(probability1, probability2, ..., P(Y|Z)) I wish to have an end-to-end framework that computes everything and trains everything together. So I do not want to have an independently trained classifier. Say at some point I develop some intermediate values (embeddings) Z from the input samples X. I wish to model the conditional probability P(Y|Z) via an MLP softmax layer. This term P(Y|Z) is then estimated and plugged into the final loss which is the sum and product of other probabilities. P(Y|Z) = MLP(input_Z) #probability given input Z over labels My issue is that if I simply take the value of the softmax layer to estimate this probability and plug it in, at no point are the true labels taken into account for a supervised machine learning problem. How can I fix this without modifying the final loss function? TLDR: I need a probability term P(Y|Z) modeled via an MLP softmax layer to be used in a complex arbitrary loss function. How do i ensure this term is accurate via the true label values, so that it can be used in the final loss?

Understanding Empirical Bayes
Cross Validated 2024-07-08 05:39 UTC Score 10.0 AI-113-20240708-social-media-737b615a Full article

Understanding Empirical Bayes

I am trying to understand the basics of empirical bayes. I found myself struggling a lot to understand this so I tried to create a toy example involving the estimation of the success probabilities for a coin. 1) Traditional Bayesian Analysis (Beta-Binomial Conjugacy): Consider a sequence of $n$ coin tosses where we observe $X$ heads. The likelihood of observing $X$ heads given the true probability of heads $\theta$ is binomial: $$ P(X|\theta) = \binom{n}{X} \theta^X (1-\theta)^{n-X} $$ Chose a Beta prior distribution for the probability of heads $\theta$ : $$ P(\theta) = \text{Beta}(\alpha, \beta) = \frac{\theta^{\alpha-1} (1-\theta)^{\beta-1}}{B(\alpha, \beta)} $$ Using Bayes' theorem, the posterior distribution is proportional to the likelihood times the prior: $$ P(\theta|X) \propto P(X|\theta) P(\theta) $$ Substituting the binomial likelihood and the Beta prior, we get: $$ P(\theta|X) \propto \theta^X (1-\theta)^{n-X} \cdot \theta^{\alpha-1} (1-\theta)^{\beta-1} $$ $$ P(\theta|X) \propto \theta^{X+\alpha-1} (1-\theta)^{n-X+\beta-1} $$ Thus, the posterior distribution is also a Beta distribution: $$ P(\theta|X) = \text{Beta}(X + \alpha, n - X + \beta) $$ 2) Empirical Bayes: It seems like in Empirical Bayes, the parameters of the priors are estimated from the data instead of being chosen before hand. To me it makes more sense to use Method of Moments (instead of MLE) to estimate the parameters $\alpha$ and $\beta$ of the Beta prior. The sample mean $\hat{\theta}$ and sampl…

What's the relation between Generalized Policy Iteration (GPI), Actor-Critic, and Q-learning methods?
Cross Validated 2024-07-07 05:24 UTC Score 12.0 AI-113-20240707-social-media-a3e855fc Full article

What's the relation between Generalized Policy Iteration (GPI), Actor-Critic, and Q-learning methods?

It seems to me that Generalized Policy Iteration (GPI) and Actor-Critic are the same, and Q-learning methods are a separate family of algorithms. I think both GPI and Actor-Critic describe the iterative process of policy evaluation (critic) and policy improvement (actor), while Q-learning is only bootstrapping using the Bellman optimality equation. To elaborate on my understanding: Policy evaluation (critic) is done via Monte-Carlo or temporal difference methods, including function approximation if necessary, and policy improvement (actor) can be done by being greedy (tabular case) or using the policy gradient theorem (large state space). Q-learning is not doing any of these. It's just trying to estimate the $Q^\ast$ using the Bellman optimality equation by iteratively fitting the Bellman optimality equation for Q value. I would appreciate it if anyone can confirm whether my understanding is correct or give a more systematic/precise summary of the taxonomy of online RL algorithms.

Lilian Weng Blog 2024-07-07 00:00 UTC Score 48.0 USR-0112-20240707-ai-specialis-0571b6d6 Full article

Extrinsic Hallucinations in LLMs

Hallucination in large language models usually refers to the model generating unfaithful, fabricated, inconsistent, or nonsensical content. As a term, hallucination has been somewhat generalized to cases when the model makes mistakes. Here, I would like to narrow down the problem of hallucination to cases where the model output is fabricated and not grounded by either the provided context or world knowledge. There are two types of hallucination: In-context hallucination: The model output should be consistent with the source content in context. Extrinsic hallucination: The model output should be grounded by the pre-training dataset. However, given the size of the pre-training dataset, it is too expensive to retrieve and identify conflicts per generation. If we consider the pre-training data corpus as a proxy for world knowledge, we essentially try to ensure the model output is factual and verifiable by external world knowledge. Equally importantly, when the model does not know about a fact, it should say so. This post focuses on extrinsic hallucination. To avoid hallucination, LLMs need to be (1) factual and (2) acknowledge not knowing the answer when applicable.

AI Stack Exchange 2024-07-06 09:34 UTC Score 18.0 AI-110-20240706-social-media-a0082591 Full article

How do you save a stable diffusion model locally for later us?

I am new to ML and plan to use KerasCV stabledifussion model to generate images from text. The example on the KerasCV website is straightforward but I could not find a way to save the model locally for later use. I also noticed that the library connects to hugging face to download encoder and diffusion model. Could you please point me to the right direction to do this locally? I would like all the model and its parameters to be local and I will be using it in a server. Also, if you have experience running such a model/server on the could, I would appreciate your guidance on the best approach wrt costs. Should I upload everything and store the whole data on the cloud or load it from hugging face? Which one would make more sense for cloud applications?

EU AI Act Tracker / Explainer 2024-07-03 09:50 UTC Score 33.0 AI-010-20240703-glossary-def-35bc7c7f Full article

An Introduction to the Code of Practice for General-Purpose AI

Last updated: 14 August 2025. As AI Act implementation gradually unfolds, it is important to understand the different mechanisms of enforcement included in the Regulation. One of the most important is the general-purpose AI Code of Practice, which was developed by the AI Office and a wide range of stakeholders. This summary, detailing the Code […]

Predicting Values with Bayesian Neural Network
AI Stack Exchange 2024-06-25 17:04 UTC Score 42.0 AI-110-20240625-social-media-2957ab61 Full article

Predicting Values with Bayesian Neural Network

I want to use a Bayesian Neural Network for a regression task. To do that I converted a BNN from this paper to Python 3. The provided training script runs and I receive a pickle file, which I want to use to predict a value for my regression. Event though the loss for the training doesn't really go down, but this seems also be the case for the models used in the paper. The input of my network is a vector with 59 features, where one feature is my target variable. It's pretty similar to the boston housing dataset. The MLP inside the BNN returns two vales: $\mu$ and $\sigma$ . If I understand BNNs correctly $\mu$ and $\sigma$ refer to the mean and standard deviation of my input and I should use $\mu$ to predict my values. But when I use input vector I always receive a value that is roughly around the mean of my target variable. So lets say the mean is 62. When I insert a vector from my test set, that should return the target variable 142, I will get 61. When I do the same with a vector, that should return 21, I will get 63. So my predicted values are always around the mean of the target variable. What do I have to do, to get real predictions from my input data? I never worked with BNNs before and it's quite hard to find any resources on how I should model my network. Maybe someone has a nice tutorial to learn how I can use this model to predict my target variable. I have to use this class and can't use Pyro or any other framework currently, because otherwise I can't use the othe…

Cross Validated 2024-06-25 10:04 UTC Score 15.0 AI-113-20240625-social-media-bebf3039

Forecasting time series using simulations

Suppose we have a stationary time series $x_{1}, x_{2}, ..., x_{T}$ . Goal is to forecast up to $T+h$ , i.e., forecast $x_{T+1}, x_{T+2}, ..., x_{T+h}$ . Forecasting methodology: Using econometric techniques one can try to fit a model, which describes the data generating process of $\{x\}_{t}$ (e.g., ARIMA or other model). Then, having estimated parameters of the model one can simulate using forward Monte Carlo technique many paths up to $T+h$ . Using simulated paths, one can construct an empirical PDF for each point in time in the future, i.e., $f_{T+1}(x), f_{T+2}(x), ..., f_{T+h}(x)$ . As a forecast for $x_{T+1}, x_{T+2}, ..., x_{T+h}$ , take mean of $f_{T+1}(x), f_{T+2}(x), ..., f_{T+h}(x)$ , respectively. Question: Is this kind of method acceptable or widely used for stationary process forecasting? What are the main problems and assumptions of this method? Also, I assume that forecasts will be the same as the current value, i.e., $E(x_{T+i}|x_T)=x_{t}$ for any $i$ . Is this assumption correct?

Block Engineering Blog 2024-06-24 16:00 UTC Score 20.0 USR-0060-20240624-ai-specialis-11fe47eb Full article

Recap: Square Unboxed 2024

Top highlight's from this year's event