اگلاAI فاؤنڈیشنز میں اگلا
مشین لرننگ کی بنیادی باتیں
بنیادی باتیں
بنیادی اصول گائیڈ
مصنوعی ذہانت (AI) ایسی مشینیں بنانے کا شعبہ ہے جو معلومات لیتی ہیں اور ایسے آؤٹ پٹس تیار کرتی ہیں جیسے پیشین گوئیاں، سفارشات، مواد یا فیصلے جن کے لیے بصورت دیگر انسانی فیصلے کی ضرورت ہوتی۔
اس گائیڈ کو سنیں۔اے آئی نے بیان کیا۔ · ~9 min
یہ ایک چھتری کی اصطلاح ہے: اصول پر مبنی پروگرام، مشین لرننگ، ڈیپ لرننگ اور آج کے چیٹ بوٹس سبھی اس کے نیچے بیٹھتے ہیں، اور ہر ایک پر بھروسہ کرنے سے پہلے مختلف طاقتیں، لاگتیں اور ناکامی کے طریقوں کو جاننا ضروری ہے۔
Artificial intelligence is the effort to make machines do things that would require judgment if a person did them: recognize a face, translate a sentence, recommend a film, drive a car or answer a question. Because the phrase covers so much, it helps to use a precise definition. The European Union's AI Act, whose definitions have applied since 2 February 2025, describes an AI system as a machine-based system that operates with some autonomy, may adapt after deployment, and infers from its input how to generate outputs such as predictions, content, recommendations or decisions that can affect physical or virtual environments. The key word is infers. A calculator follows fixed steps; an AI system works out an output that nobody spelled out in advance for that exact input.
The field has two broad families of methods, and most real products mix them. The first is symbolic AI, sometimes called rule-based or classical AI. People write down knowledge as rules and the program searches through possibilities. IBM's Deep Blue is the textbook case: it evaluated about 200 million chess positions per second using 32 processors and a hand-tuned scoring function. The second family is machine learning, in which the program is not told the rules but learns them from examples. A spam filter trained on millions of labeled emails, or a model that predicts delivery times from past trips, works this way. Deep learning is the branch of machine learning that uses neural networks with many layers, and since the early 2010s it has driven most of the visible progress in speech, vision and language, as the 2015 Nature review by Yann LeCun, Yoshua Bengio and Geoffrey Hinton describes.
A modern machine learning system is built in a fairly fixed sequence. Someone defines the task and collects data, such as photos with labels or text from the web. They choose a model, a mathematical function with adjustable settings called parameters. Training repeatedly adjusts those parameters so the model's outputs match the examples better, as judged by a score called the objective or loss. The trained model is then tested on data it has never seen, because doing well on the training examples alone proves little. Finally it is deployed inside a product, where it receives real inputs, and its behavior is monitored because the world drifts away from the training data over time.
The history runs back more than seventy years. In 1950 Alan Turing opened his paper Computing Machinery and Intelligence with the question of whether machines can think, and proposed replacing it with a test, the imitation game, in which an interrogator chats with a hidden human and a hidden machine. He guessed that within about fifty years a machine could fool an average interrogator often enough that they would have no better than a 70 percent chance of a correct identification after five minutes. On August 31, 1955, John McCarthy, Marvin Minsky, Nathaniel Rochester and Claude Shannon dated their proposal for a summer research project at Dartmouth College on artificial intelligence, and the 1956 workshop that followed gave the field its name. Later milestones include Deep Blue's 1997 chess win, the 2012 to 2015 deep learning breakthroughs, AlphaGo's 2016 Go victories, and ChatGPT's public release on November 30, 2022.
People often sort AI by how broad it is. Narrow AI does one kind of task, such as playing chess or transcribing speech, and every system in commercial use today is built and tested for particular tasks. Artificial general intelligence, or AGI, refers to a hypothetical system that could learn and perform most intellectual tasks a person can; there is no agreed test for it and no agreed date for it. Generative AI is a newer label for systems that produce text, images, audio or code. It is not a separate kind of intelligence but an application of deep learning. Robotics adds sensors and motors so the outputs act on the physical world.
It also helps to compare AI with things it is often confused with. Ordinary software follows explicit instructions and gives the same answer every time; AI systems can handle messy inputs but can also be wrong in ways that are hard to predict. Automation means any machine doing a task without a person, and much automation, such as a timer on a sprinkler, contains no AI at all. Human intelligence is general, grounded in physical experience and able to learn from a handful of examples; most AI systems need large amounts of data and can fail when inputs differ from what they saw in training. AlphaGo could beat a professional at Go but could not play chess without being rebuilt and retrained.
The limits are practical, not abstract. OpenAI's own launch note for ChatGPT warned that it sometimes writes plausible-sounding but incorrect answers, changes its answer when a question is rephrased, guesses at ambiguous requests instead of asking, and can still respond to harmful instructions or show biased behavior. Learned systems absorb the patterns, and the gaps, in their training data, so they can treat groups of people unequally. They can be fooled by inputs designed to trick them. And an AI system has no built-in sense of when it is outside its competence, so the people deploying it must decide where it is safe to rely on.
Using AI is cheap for individuals and expensive to build at the frontier. The Stanford AI Index 2025 reports that the cost of running a model at GPT-3.5's level fell more than 280-fold between November 2022 and October 2024, which is why capable assistants are now free or low cost. At the same time, US private investment in AI reached 109.1 billion dollars in 2024, and nearly 90% of notable new models came from companies rather than universities, because training the largest systems takes specialized chips, large data centers and large datasets. For most organizations the realistic cost is not building a model but integrating an existing one, checking its outputs, and training people to use it well.
04کام کی مثال
تین عام مصنوعات منتخب کریں: ایک سپرنکلر جو صبح 6 بجے چلتا ہے، ایک ای‑میل سپام فلٹر، اور بینک کی ویب سائٹ پر ایک چیٹ بوٹ۔
ہر ایک کے لیے پوچھیں کہ اس کا آؤٹ پٹ کیا ہے۔ سپرنکلر کا آؤٹ پٹ آن یا آف ہوتا ہے، فلٹر کا آؤٹ پٹ سپام یا غیر‑سپام، اور چیٹ بوٹ کا آؤٹ پٹ ایک تحریری جواب۔
کیا ہر کیس کے لیے کوئی شخص نے درست قاعدہ لکھا ہے؟ سپرنکلر کا شیڈول کسی شخص نے لکھا تھا؛ کسی نے ہر ممکن ای‑میل یا سوال کے لیے قاعدہ نہیں لکھا۔
کیا نظام اپنے حاصل کردہ ان پٹ سے آؤٹ پٹ اخذ کرتا ہے، جیسا کہ EU AI Act کی تعریف میں ٹیسٹ استعمال ہوتا ہے۔ فلٹر اور چیٹ بوٹ ایسا کرتے ہیں؛ ٹائمر نہیں کرتا۔
کیا اس نے ڈیٹا سے سیکھا؟ ایک جدید سپام فلٹر اور ایک چیٹ بوٹ مثالوں پر تربیت یافتہ ہیں، اس لیے وہ مشین لرننگ نظام ہیں۔
ہر AI مصنوعات کے لیے لکھیں کہ کیا غلط ہو سکتا ہے: ایک حقیقی ای‑میل کو سپام میں مار دینا، یا فیس کے بارے میں پُراعتماد مگر غلط جواب دینا۔
جو یہ دکھاتا ہے۔
سپام فلٹر اور چیٹ بوٹ AI شمار ہوتے ہیں اور ٹائمر نہیں۔ جانچ یہ ہے کہ نظام اپنے آؤٹ پٹ کو ان پٹ سے اخذ کرتا ہے یا مقررہ قاعدے پر عمل کرتا ہے، اور ممکنہ غلطیوں کی فہرست اس بات کی نشاندہی کرتی ہے کہ کس جگہ انسان کو ابھی بھی آؤٹ پٹ کی تصدیق کرنی پڑتی ہے۔
تلاش کے ذریعے گیم کھیلنا: IBM کے ڈیپ بلیو (Deep Blue) نے 32 متوازی پروسیسرز پر فی سیکنڈ تقریباً 200 ملین شطرنج کی پوزیشنوں کا جائزہ لیا اور مئی 1997 میں عالمی چیمپئن گیری کاسپاروف کو 2.5 کے مقابلے میں 3.5 سے شکست دی، جو کہ اس سے ایک سال پہلے ان سے 2 کے مقابلے میں 4 سے ہارنے کے بعد ہوا تھا۔
سیکھنا اور تلاش: DeepMind کے AlphaGo نے ماہرانہ گیمز اور خود سے کھیل کر تربیت یافتہ نیورل نیٹ ورکس کو ٹری سرچ کے ساتھ ملایا، اور 2016 میں یہ مکمل بورڈ گو (Go) پر کسی انسانی پیشہ ور کو شکست دینے والا پہلا پروگرام بن گیا، جس نے 5-0 سے کامیابی حاصل کی۔
گفتگو: ChatGPT، جسے OpenAI نے 30 نومبر 2022 کو جاری کیا، ایک GPT-3.5 سیریز کا لینگویج ماڈل ہے جسے انسانی فیڈ بیک سے ری انفورسمنٹ لرننگ کے ذریعے بہتر بنایا گیا ہے تاکہ یہ مکالمے میں فالو اپ سوالات کے جواب دے سکے۔
طب اور نقل و حمل: سٹینفورڈ AI انڈیکس 2025 کے مطابق 2023 میں امریکی FDA کی طرف سے منظور شدہ 223 AI سے چلنے والے طبی آلات موجود ہیں، جو 2015 میں صرف چھ تھے، اور رپورٹ کے مطابق Waymo ہر ہفتے 150,000 سے زیادہ ڈرائیور لیس رائیڈز فراہم کر رہا ہے۔
روزمرہ کا کاروباری سافٹ ویئر: اسی رپورٹ سے پتہ چلتا ہے کہ 2024 میں 78% سروے شدہ تنظیموں نے AI کا استعمال کیا، جو پچھلے سال 55% تھا، جس سے ظاہر ہوتا ہے کہ AI کتنی تیزی سے پائلٹ پروجیکٹس سے نکل کر معمول کے دفتری سافٹ ویئر میں شامل ہو گیا ہے۔
2026 میں AI کے بارے میں کئی سوالات کھلے رہیں گے۔ پہلا پیمائش ہے: ٹورنگ کی 1950 کی نقلی گیم پر اب بھی بحث کی جاتی ہے، لیکن محققین اب بڑے بینچ مارک سوٹس پر انحصار کرتے ہیں، اور اسٹینفورڈ AI انڈیکس 2025 کی رپورٹ ہے کہ ایک ہی سال کے اندر ڈیمانڈنگ بینچ مارکس کے اسکورز میں 48.9 فیصد اضافہ ہوا ہے۔ تیز سنترپتی یہ کہنا مشکل بناتا ہے کہ کتنے قابل نظام واقعی ٹیسٹ سے باہر ہیں۔ دوسرا گورننس ہے۔ EU AI ایکٹ کی تعریفیں 2 فروری 2025 سے لاگو ہونا شروع ہوئیں، اور AI انڈیکس نے 2024 میں امریکی وفاقی ایجنسیوں کے 59 AI سے متعلقہ ضوابط کو شمار کیا، جو اس سے پہلے کے سال سے دوگنا تھا۔ یہ اصول عملی طور پر کیسے کام کرتے ہیں، اور کیا دوسرے ممالک بھی اسی طرح کی تعریفوں پر اکٹھے ہوتے ہیں، ابھی بھی طے کیا جا رہا ہے۔ تیسرا اعتبار ہے۔ فریب خوردہ حقائق، الفاظ کی حساسیت اور جانبدارانہ نتائج، جنہیں OpenAI نے ChatGPT کے 2022 کے آغاز میں معلوم حدود کے طور پر درج کیا ہے، حل شدہ مسائل کے بجائے تحقیق کے فعال شعبے ہیں۔ آیا زیادہ ڈیٹا اور کمپیوٹنگ کی طاقت وسیع تر صلاحیتوں کو پیدا کرتی رہے گی، یا آیا سسٹمز کو قابل اعتماد طریقے سے استدلال کرنے کے لیے نئے طریقوں کی ضرورت ہے، محققین کے درمیان طے ہونے کی بجائے بحث کی جاتی ہے۔
مفت نیوز لیٹر
ہر ہفتے کے دن صبح تین تصدیق شدہ AI کہانیاں، سادہ انگریزی میں لکھی گئیں۔ ہمیشہ کے لیے مفت، کوئی اشتہار نہیں۔
ہر ہفتے کے دن ایک ای میل۔ ایک کلک میں ان سبسکرائب کریں۔ ہم کبھی بھی آپ کا پتہ فروخت یا شیئر نہیں کرتے۔
اپنے آپ کو جانچیں۔
ہر جواب پر فوری فیڈبیک، اور کورس پاس کرنے کے بعد قابلِ تصدیق ID کے ساتھ شیئر کرنے کے قابل سرٹیفکیٹ۔
مفت AI تعلیم کی حمایت کریں۔ AI Understanding ایک 501(c)(3) غیر منافع بخش ادارہ ہے — کوئی اشتہار نہیں، کوئی پے وال نہیں، کبھی نہیں۔ عطیہ کریں۔
آرٹیفیشل انٹیلیجنس (AI) ایسی مشینیں بنانے کا شعبہ ہے جو معلومات حاصل کرتی ہیں اور ایسی پیشین گوئیاں، سفارشات، مواد یا فیصلے تیار کرتی ہیں جن کے لیے بصورت دیگر انسانی فیصلے کی ضرورت ہوتی ہے۔ یہ ایک چھتری کی اصطلاح ہے: اصولوں پر مبنی پروگرام، مشین لرننگ، ڈیپ لرننگ اور آج کے چیٹ بوٹس سب اس کے تحت آتے ہیں، اور ہر ایک کی اپنی طاقتیں، اخراجات اور ناکامی کے طریقے ہیں جنہیں کسی پر بھروسہ کرنے سے پہلے جاننا ضروری ہے۔
گائیڈ میں واضح قوانین اور AI کے اندر تلاش شامل ہے۔ مشین لرننگ وسیع میدان میں ایک نقطہ نظر ہے۔
مشین لرننگ AI کے وسیع میدان میں ایک طریقہ ہے۔ ہر اصول کو ہاتھ سے لکھنے کے بجائے، ڈویلپرز سسٹم کو مثالوں سے سیکھنے دیتے ہیں۔
گائیڈ کی ڈیلیوری کی مثال راستے اور ٹریفک کے ڈیٹا پر مبنی ایک تخمینہ ہے، نہ کہ پہنچنے کا یقینی وقت۔
گائیڈ غیر مانوس اور مبہم کیسز پر ٹاسک کی کارکردگی کا جائزہ لینے کی سفارش کرتی ہے، جس میں سنگین غلطیوں پر توجہ دی جائے۔
جانی پہچانی مثالوں پر کارکردگی غیر مانوس ان پٹس یا مہنگی غلطیوں پر قابل اعتمادی قائم نہیں کرتی۔
سیکھتے رہیں
اس موضوع کے لیے مزید گائیڈز چنے گئے ہیں۔
اگلاAI فاؤنڈیشنز میں اگلا
مشین لرننگ کی بنیادی باتیں
بنیادی باتیں