As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [ai-design]

For questions related to the design of AI agents, algorithms, or models. If your question is about designing neural networks, reward functions, or fitness functions, you can use the associated more specific tags "neural-network-design", "reward-design" and "fitness-design", respectively.

Filter by
Sorted by
Tagged with
2 votes
1 answer
173 views

What is the place of ontologies in artificial intelligence?

Very much a general question here, from a somewhat uneducated perspective. I'm currently part way through an MSc in AI, and at the minute I am taking a module on Knowledge Engineering and ...
1 vote
0 answers
98 views

Might AGI need to be flawed?

An example is the halting problem, which states computing cannot be solved by exhaustion, but which humans avoid trivially by becoming exhausted. Humans typically give up what seems like a lost cause ...
0 votes
1 answer
113 views

Appropriate ML algorithm to solve a cutting pattern problem

I have a rectangular area, where I need to place some 2 dimensional geometrical shapes - like a square or circle or a little more complicated shapes. And after the arrangement these shapes should be ...
3 votes
1 answer
1k views

Why do we need both encoder and decoder in sequence to sequence prediction?

Why do we need both encoder and decoder in sequence to sequence prediction? We could just have a single RNN that, given input $x$, outputs some value $y(t)$ and hidden state $h(t)$. Next, given $h(t)$...
5 votes
2 answers
571 views

Should I repeat lengthy deep learning experiments to average results ? How to decide how many times to repeat?

I am doing my MSc thesis on deep learning. My model takes many hours to train. Part of what I do is trying different parameters and settings hoping that they will achieve different results. But I ...
0 votes
1 answer
73 views

How do I prepare my data for a CNN to be applied to a geophysical-related problem?

I am currently doing research work on an inversion of geophysical data using Machine Learning. I have come across some research work where a Convolutional Neural Network (CNN) has been used ...
0 votes
2 answers
73 views

How to represent "terminate episode" for Knapsack problem with a Pointer Network?

I am currently implementing a Pointer Network to solve a simple Knapsack Problem. However, I am a bit puzzled over the correct (or common, or "best") way to give the agent the option to stop ...
1 vote
1 answer
34 views

Using Human Confirmation in place of a loss Function for Training

Has there been any experimentation in designing an AI to prompt a human to judge the accuracy of it's outcomes? instead of using a loss function, a human can judge the accuracy of it's estimation ...
4 votes
1 answer
148 views

How to use Machine Learning to create a "Draw-A-Person Test"

The process revolves around a child's drawing. Each part of each drawing corresponds to a score as in the Draw a Person Test conceived by Dr. Florence Goodenough in 1926. The goal of the machine is to ...
5 votes
1 answer
1k views

How to define an action space when an agent can take multiple sub-actions in a step?

I'm attempting to design an action space in OpenAI's gym and hitting the following roadblock. I've looked at this post which is closely related but subtly different. The environment I'm writing needs ...
12 votes
1 answer
458 views

How can Viv generate new code based on some user's query?

I have been looking into Viv, an artificial intelligent agent in development. Here is a demonstration of Viv (by Dag Kittlaus). Based on what I understand, this AI can generate new code and execute it ...
0 votes
2 answers
547 views

How to create a model for predicting the number of visitors

I want to create a model to predict the number of visitors. Currently, I have a year's csv data for predicting the number of visitors, which is collected every 10 seconds. I would like to predict the ...
1 vote
1 answer
52 views

How to design an ANN to give an answer that includes two different components?

As an experiment, I want to teach an ANN to play the game of Nim. The normal game is between two players and played with three heaps of any number of objects. The two players alternate taking any ...
2 votes
1 answer
65 views

If we can model the environment, wouldn't be meaningless to use a model-free algorithm?

I am trying to understand the concept of model-free and model-based approaches. As far as I understand, having a model of the environment does not mean that an RL agent has to be model-based. It is ...
0 votes
0 answers
243 views

Conditional input deep neural network

I need to input data conditionally to my deep network. In order to explain cases, I'd like to give an example. Assume that I have a 50-attribute dataset. For some attributes, a specific part of hidden ...
1 vote
1 answer
73 views

What AI designs are suited for producing title replacements?

Problem: "For a given news article, generate another title for the article if the article is to be published under a different Publication." Which algorithm will be well suited for this? Should I use ...
4 votes
2 answers
124 views

Is a basic neural network architecture better with small datasets?

I'm currently trying to predict 1 output value with 52 input values. The problem is that I only have around 100 rows of data that I can use. Will I get more accurate results when I use a small ...
1 vote
1 answer
28 views

Video Analysis: Providing a success score for a of a student carrying out a specific task

I have an AI/ML challenge in relation to video analysis and am unsure where to start. I am investigating an application that will grade students performance of carrying out a task, based on analysis ...
1 vote
2 answers
1k views

What is meant by gene, chromosome, population in genetic algorithm in terms of feature selection?

I am trying to understand the genetic algorithm in terms of feature selection and these features are extracted using a machine learning algorithm. Let's suppose I have data of heart rate for 3 minutes ...
1 vote
1 answer
390 views

How to estimate the cost and time to complete an AI Project [closed]

If you are a freelancer, when a client asks to create a website we can easily measure how much the total cost is needed based on the requirements of the client. (the backend, UI/UX design, features, ...
0 votes
0 answers
47 views

AI approach for layout mapping

I am researching different AI approaches and was curious what approach would be useful in my scenario. Assume you are tiling a room. The tiles, and the room itself, can be any shape. In this room you ...
10 votes
1 answer
5k views

What are ontologies in AI?

What exactly are ontologies in AI? How should I write them and why are they important?
4 votes
1 answer
151 views

How can I design a hierarchy of agents each of which with different goals?

I read some light material earlier about the possibility of building a hierarchy of agents, where the agents at the leaves solve primitive tasks while higher-level agents are optimized for ...
4 votes
2 answers
197 views

Can a data compression function be used to make predictions?

I've heard that prediction is equivalent to data compression. Is there a way to take a compression function and use it to create an AI that predicts?
10 votes
1 answer
228 views

Is analogy necessary to artificial general intelligence?

Analogies are quite powerful in communication. They allow explaining complex concepts to people with no domain knowledge, just by mapping to a known domain. Hofstadter says they matter, whereas ...
4 votes
1 answer
750 views

How should I define the action space for a card game like Magic: The Gathering?

I'm trying to learn about reinforcement learning techniques. I have little background in machine learning from university, but never more than using a CNN on the MNIST database. My first project was ...
2 votes
1 answer
99 views

How to know if a real-time classifier is achivable in a low-power emdedded system?

Say I have an Machine/Deep learning algorithm I developed on a desktop pc to achieve a real-time classification of time series events from a sensor. Once the algorithm is trained and performs good, I ...
0 votes
1 answer
120 views

block of worlds with position aware goal stack planning

Can someone suggest an AI approach to moving blocks, one at a time, assuming control of an robotic arm, to get from the initial state on the left to the final state on right, preferably using goal ...
5 votes
1 answer
257 views

Why is AI safety so much harder than Isaac Asimov's "Three Laws of Robotics"?

I understand that AI researchers are trying to create AI designs that allow for desired behavior without undesirable side-effects. A classic example of an attempt is Isaac Asimov's Three Laws of ...
7 votes
3 answers
979 views

Which predictive algorithm can be used to predict a number given other numbers?

I am currently searching for a supervised learning algorithm that can be used to predict the output given a large enough training set. Here's a simple example. Suppose the training dataset is ...
1 vote
0 answers
134 views

How to design my Neural Network for Game AI

For my school project, I have to develop an agent to play my game. The base I have is a 'GameManager' which call 2 AIs, each taking a random move to do. To make my AI perform, I decided to make a ...
2 votes
1 answer
70 views

How can certain information about the goal be given to the RL learning algorithm?

Policy learning refers to mapping an agent state onto an action to maximize reward. A linear policy, such as the one used in the Augmented Random Search paper, refers to learning a linear mapping ...
1 vote
2 answers
1k views

Get object's orientation or angle after object detection

I'm trying to get a detected car's orientation when object detection is applied. For instance, when we apply object detection on a car and get a bounding box, is there any ways or methods to calculate ...
1 vote
1 answer
787 views

How can I encode states where the environment consists of multiple identical elements, but each is characterised by different features?

I am quite new to Deep Reinforcement Learning, and I'm trying to define states in a Reinforcement Learning problem. The environment consists of multiple identical elements, and each one of them is ...
1 vote
1 answer
169 views

How can I determine whether a video's frame is realistic (was recorded by a camera) or contains computer-generated graphics?

Given a video, I'm trying to classify whether it is a graphical (computer-generated) or realistic scene. For instance, if it contains computer-generated graphics, credit, moving bugs, blue screen, etc....
2 votes
1 answer
601 views

How to find the optimal pokemon team

Pokemon is a game where 2 players each select 6 Pokemon (a team) at the beginning of the game without knowing the other player's team. Every Pokemon has one or two types. Every type is either weak, ...
2 votes
1 answer
179 views

How should I take into consideration the number of steps in the reward function?

I am currently implementing the paper Active Object Localization with Deep Reinforcement Learning in Python. While reading about the reward scheme I came across the following: Finally, the proposed ...
0 votes
1 answer
865 views

What is the general procedure to create an AI system that can detect fire in images?

I have no experience with any kind of AI, but I really want to develop a system that can detect fire in images. I think I will need a labelled dataset with labels "fire" or "not fire&...
0 votes
0 answers
51 views

How can I build a recommendation system that takes into account some constraints or the context?

I am building a recommendation system that recommends relevant articles to the user. I am doing this using simple similarity-based techniques (with the Jaccard similarity) using as features the page ...
1 vote
2 answers
113 views

How can I process neural network with 25000 input nodes?

I'm trying to build a neural network between protein sequence and its drug fingerprint. My input size is 20000. The output size is 881. The sample size is 610. Can I process this huge neural network? ...
6 votes
2 answers
98 views

Two data classes for a convolutional neural network, can one have a LOT more images for training than the other?

I have two classes in the training set: one that has images with a feature and the other of images without that feature. Can there be a LOT more images with "no feature" so I can fit in all possible ...
6 votes
2 answers
217 views

Given two neural networks that compute two functions $f(x)$ and $g(x)$, how can I create a neural network that computes $f(x)g(x)$?

I have two functions $f(x)$ and $g(x)$, and each of them can be computed with a neural network $\phi_f$ and $\phi_g$. My question is, how can I write a neural net for $f(x)g(x)$? So, for example, if $...
1 vote
1 answer
84 views

Choosing an AI method to recreate a given binary 2D image

If the title wan not very clear, I want a method to take an input image like this, [[0, 0, 0, 0], [1, 1, 1, 0], [1, 1, 1, 0], [0, 1, 1, 0]] and output the 2D ...
1 vote
0 answers
42 views

How can one be sure that a particular neural network architecture would work?

Traditionally, when working with tabular data, one can be sure(or at least know) that a model works because the included features could explain a target variable, say "Price of a ticket" ...
1 vote
0 answers
46 views

Can text-independent writer identification be done without multi-sentence training datasets for each writer?

I am trying to learn more about text-independent writer identification and was hoping for some advice. I have a folder with 100k images, each of them with a different handwritten sentence. All of the ...
2 votes
0 answers
55 views

How can I formulate a prediction problem (given labeled data) as an RL problem and solve it with Q-learning?

One of my friends sent me a problem he was working on lately, and I couldn't help but I wonder how could it be solved using Q-learning. The statement is as follows: Given the following datasets, the ...
1 vote
0 answers
34 views

How to design a graph neural network to predict the forces in truss elements of a space frame?

I am trying to create a Graph NN that will be able to predict the forces in truss elements of a space frame. The input for the NN will be a graph, where the nodes represent the nodes of the spaceframe....
9 votes
1 answer
4k views

Is Nassim Taleb right about AI not being able to accurately predict certain types of distributions?

So Taleb has two heuristics to generally describe data distributions. One is Mediocristan, which basically means things that are on a Gaussian distribution such as height and/or weight of people. The ...
3 votes
1 answer
138 views

Can we create a conscious agent by having two units: one rational and the other conscious?

Suppose we create two units (or programs) that run in parallel and we label them as a cognitive unit and the conscious cognitive unit. A human has two units analogously. A rational analyzer and not ...
1 vote
0 answers
20 views

How to autocorelate multiple variants of same text into one?

I want to improve quality of translations for open-source projects in Ukrainian language. We have multiple translations from different authors. We can also translate messages using machine ...