Frontier AI ethics

Seth Lazar•

Seth Lazar | سيث لازار

Australian National University; Machine Intelligence and Normative Theory (MINT) Lab | الجامعة الوطنية الأسترالية؛ مختبر الذكاء الآلي والنظرية المعيارية (MINT)

Aeon, 13 February 2024 | إيون، 13 فبراير 2024

Frontier AI ethics

أخلاقيات الذكاء الاصطناعي على الحدود القصوى

Generative agents will change our society in weird, wonderful and worrying ways. Can philosophy help us get a grip on them?

سوف تغيّر العملاء التوليديون مجتمعنا بطرق غريبة وبديعة ومقلقة. فهل تستطيع الفلسفة أن تساعدنا على الإمساك بها؟

Around a year ago, generative AI took the world by storm, as extraordinarily powerful large language models (LLMs) enabled unprecedented performance at a wider range of tasks than ever before feasible. Though best known for generating convincing text and images, LLMs like OpenAI's GPT-4 and Google's Gemini are likely to have greater social impacts as the executive centre for complex systems that integrate additional tools for both learning about the world and acting on it. These generative agents will power companions that introduce new categories of social relationship, and change old ones. They may well radically change the attention economy. And they will revolutionise personal computing, enabling everyone to control digital technologies with language alone.

قبل نحو عام، اجتاح الذكاء الاصطناعي التوليدي العالم، إذ مكّنت نماذج اللغة الكبيرة (LLMs) البالغة القوة من أداء غير مسبوق في طائفة أوسع من المهام مما كان ممكنًا في أي وقت مضى. ورغم أن هذه النماذج، مثل GPT-4 من أوبن إيه آي وGemini من جوجل، تُعرف أكثر بقدرتها على توليد نصوص وصور مقنعة، فإن تأثيرها الاجتماعي الأكبر يُرجَّح أن يأتي من كونها المركز التنفيذي لأنظمة معقدة تدمج أدوات إضافية للتعلّم عن العالم والتأثير فيه في آن واحد. وسوف تشغّل هذه العملاء التوليديون رفقةً تقدم فئات جديدة من العلاقات الاجتماعية، وتغيّر فئات قديمة. وقد تُحدث تحوّلًا جذريًا في اقتصاد الانتباه. كما ستُحدث ثورة في الحوسبة الشخصية، فتمكّن كل شخص من التحكم في التقنيات الرقمية باللغة وحدها.

Much of the attention being paid to generative AI systems has focused on how they replicate the pathologies of already widely deployed AI systems, arguing that they centralise power and wealth, ignore copyright protections, depend on exploitative labour practices, and use excessive resources. Other critics highlight how they foreshadow vastly more powerful future systems that might threaten humanity's survival. The first group says there is nothing new here; the other looks through the present to a perhaps distant horizon.

انصبّ قدر كبير من الاهتمام الموجَّه إلى أنظمة الذكاء الاصطناعي التوليدي على كيفية تكرارها لأمراض أنظمة الذكاء الاصطناعي المنشورة على نطاق واسع بالفعل، بحجة أنها تركّز السلطة والثروة، وتتجاهل حماية حقوق النشر، وتعتمد على ممارسات عمل استغلالية، وتستهلك موارد مفرطة. ويسلّط نقاد آخرون الضوء على كيفية إنذارها بأنظمة مستقبلية أقوى بكثير قد تهدد بقاء البشرية. وتقول المجموعة الأولى إنه لا جديد هنا؛ أما الأخرى فتتجاوز الحاضر لتنظر إلى أفق قد يكون بعيدًا.

I want instead to pay attention to what makes these particular systems distinctive: both their remarkable scientific achievement, and the most likely and consequential ways in which they will change society over the next five to 10 years.

غير أنني أريد بدلًا من ذلك أن أولي اهتمامي لما يجعل هذه الأنظمة بعينها مميزة: إنجازها العلمي اللافت، وأكثر الطرق ترجيحًا وأثرًا التي ستغيّر بها المجتمع خلال السنوات الخمس إلى العشر المقبلة.

It may help to start by reviewing how LLMs work, and how they can be used to make generative agents. An LLM is a large AI model trained on vast amounts of data with vast amounts of computational resources (lots of GPUs) to predict the next word given a sequence of words (a prompt). The process starts by chunking the training data into similarly sized 'tokens' (words or parts of words), then for a given set of tokens masking out some of them, and attempting to predict the tokens that have been masked (so the model is self-supervised – it marks its own work). A predictive model for the underlying token distribution is built by passing it through many layers of a neural network, with each layer refining the model in some dimension or other to make it more accurate.

قد يفيد أن نبدأ بمراجعة كيفية عمل نماذج اللغة الكبيرة، وكيف يمكن استخدامها لصنع عملاء توليديين. نموذج اللغة الكبير هو نموذج ذكاء اصطناعي ضخم يُدرَّب على كميات هائلة من البيانات بكميات هائلة من الموارد الحاسوبية (كثير من وحدات معالجة الرسوميات) للتنبؤ بالكلمة التالية بالنظر إلى متسلسلة من الكلمات (توجيه). وتبدأ العملية بتقطيع بيانات التدريب إلى "رموز" (كلمات أو أجزاء من كلمات) متقاربة الحجم، ثم حجب بعضها من مجموعة رموز معطاة، ومحاولة التنبؤ بالرموز المحجوبة (لذا فالنموذج ذاتي الإشراف – فهو يصحّح عمله بنفسه). ويُبنى نموذج تنبؤي لتوزيع الرموز الكامن بتمريره عبر طبقات عديدة من شبكة عصبية، بحيث تُحسّن كل طبقة النموذج في بُعد ما أو آخر لتصبح النتائج أدق.

This approach to modelling natural language has been around for several years. One key recent innovation has been to take these 'pretrained' models, which are basically just good at predicting the next token given a sequence of tokens, and fine-tune them for different tasks. This is done with supervised learning on labelled data. For example, you might train a pretrained model to be a good dialogue agent by using many examples of helpful responses to questions. This fine-tuning enables us to build models that can predict not just the most likely next token, but the most helpful one – and this is much more useful.

وهذا النهج في نمذجة اللغة الطبيعية موجود منذ عدة سنوات. ومن الابتكارات الحديثة الرئيسية أخذ هذه النماذج "المدرَّبة مسبقًا"، وهي في الأساس بارعة فقط في التنبؤ بالرمز التالي بالنظر إلى متسلسلة من الرموز، وضبطها ضبطًا دقيقًا لأداء مهام مختلفة. ويتم ذلك بالتعلّم الخاضع للإشراف على بيانات موسومة. فمثلًا، قد تدرّب نموذجًا مدرَّبًا مسبقًا ليكون عميل حوار جيدًا باستخدام أمثلة كثيرة من الردود المفيدة على الأسئلة. ويتيح لنا هذا الضبط الدقيق بناء نماذج قادرة على التنبؤ لا بالرمز التالي الأكثر ترجيحًا فحسب، بل بالرمز الأكثر فائدة – وهذا أنفع بكثير.

Of course, these models are trained on large corpuses of internet data that include a lot of toxic and dangerous content, so their being helpful is a double-edged sword! A helpful model would helpfully tell you how to build a bomb or kill yourself, if asked. The other key innovation has been to make these models much less likely to share dangerous information or generate toxic content. This is done with both supervised and reinforcement learning. Reinforcement learning from human feedback (RLHF) has proved particularly effective. In RLHF, to simplify again, the model generates two responses to a given prompt, and a human evaluator determines which is better than the other according to some criteria. A reinforcement learning algorithm uses that feedback to build a predictor (a reward model) for how different completions would be evaluated by a human rater. The instruction-tuned LLM is then fine-tuned on that reward model. Reinforcement learning with AI feedback (RLAIF) basically does the same, but uses another LLM to evaluate prompt completions.

وبالطبع، تُدرَّب هذه النماذج على مدوّنات ضخمة من بيانات الإنترنت تضم قدرًا كبيرًا من المحتوى السام والخطير، فكونها مفيدة سيف ذو حدين! فالنموذج المفيد سيدلّك بلطف على كيفية صنع قنبلة أو إيذاء نفسك، إن طُلب منه ذلك. وقد تمثّل الابتكار الرئيسي الآخر في جعل هذه النماذج أقل ميلًا بكثير إلى مشاركة المعلومات الخطيرة أو توليد محتوى سام. ويتم ذلك بالتعلّم الخاضع للإشراف والتعلّم المعزز معًا. وقد أثبت التعلّم المعزز من التغذية الراجعة البشرية (RLHF) فعالية خاصة. وفي هذا الأسلوب، وبالتبسيط مرة أخرى، يولّد النموذج ردّين على توجيه معطى، ويحدّد مقيّم بشري أيهما أفضل من الآخر وفق معايير معينة. ثم يستخدم الخوارزم التعلّم المعزز تلك التغذية الراجعة لبناء متنبئ (نموذج مكافأة) بكيفية تقييم المقيّم البشري لعمليات الإكمال المختلفة. ثم يُضبط النموذج اللغوي الكبير المضبوط بالتوجيهات ضبطًا دقيقًا على نموذج المكافأة ذلك. أما التعلّم المعزز بالتغذية الراجعة من الذكاء الاصطناعي (RLAIF) فيفعل الأمر ذاته في الأساس، لكنه يستخدم نموذجًا لغويًا كبيرًا آخر لتقييم إكمالات التوجيه.

So, we've now fine-tuned a pretrained model with supervised learning to perform some specific function, and then used reinforcement learning to minimise its prospect of behaving badly. This fine-tuned model is then deployed in a broader system. Even when developers provide a straightforward application programming interface (API) to make calls on the model, they incorporate input and output filtering (to limit harmful prompting, and redact harmful completions), and the model itself is under further developer instructions reminding it to respond to prompts in a conformant way. And with apps like ChatGPT, multiple models are integrated together (for example, for image as well as text generation) and further elements of user interface design are layered on top.

وهكذا نكون قد ضبطنا نموذجًا مدرَّبًا مسبقًا ضبطًا دقيقًا بالتعلّم الخاضع للإشراف لأداء وظيفة معينة، ثم استخدمنا التعلّم المعزز لتقليل احتمال سلوكه السيئ. ثم يُنشر هذا النموذج المضبوط ضبطًا دقيقًا داخل نظام أوسع. وحتى عندما يوفّر المطوّرون واجهة برمجة تطبيقات (API) مباشرةً لتوجيه نداءات إلى النموذج، فإنهم يدمجون ترشيحًا للمدخلات والمخرجات (للحدّ من التوجيهات الضارة، وحجب الإكمالات الضارة)، كما يخضع النموذج نفسه لمزيد من تعليمات المطوّر التي تذكّره بأن يستجيب للتوجيهات على نحو مطابق. وفي تطبيقات مثل ChatGPT، تُدمج نماذج متعددة معًا (لتوليد الصور كما النصوص، مثلًا)، وتُضاف فوقها عناصر أخرى من تصميم واجهة المستخدم.

This gives a basic description of a generative AI system. They build on significant breakthroughs in modelling natural language, and generate text in ways that impressively simulate human writers, while drawing on more information than any human could. In addition, many other tasks can be learned by models trained only to predict the next token – for example, translation between languages, some mathematical competence, and the ability to play chess. But the most exciting surprise is LLMs' ability, with fine-tuning, to use software tools to achieve particular goals.

وهذا يقدّم وصفًا أساسيًا لنظام ذكاء اصطناعي توليدي. فمثل هذه الأنظمة تبني على اختراقات مهمة في نمذجة اللغة الطبيعية، وتولّد نصوصًا تحاكي الكتّاب البشريين على نحو مثير للإعجاب، مستعينةً بمعلومات أكثر مما يستطيع أي إنسان الإحاطة به. وإضافة إلى ذلك، يمكن تعلّم مهام أخرى كثيرة بواسطة نماذج دُرِّبت فقط على التنبؤ بالرمز التالي – مثل الترجمة بين اللغات، وبعض الكفاءة الرياضية، والقدرة على لعب الشطرنج. لكن أعجب المفاجآت هو قدرة نماذج اللغة الكبيرة، مع الضبط الدقيق، على استخدام أدوات برمجية لتحقيق أهداف معينة.

The basic idea is simple. People use text to write programs making API calls to other programs, to achieve ends they cannot otherwise realise. LLMs are very good at replicating the human use of language to perform particular functions. So, LLMs can be trained to determine when an API call would be useful, evaluate the response, and then repeat or vary as necessary. For example, an LLM might 'know' that it is likely to make basic mathematical mistakes so, when given a prompt that invites it to do some mathematics, it might decide to call on a calculator instead.

والفكرة الأساسية بسيطة. يستخدم الناس النص لكتابة برامج تُجري نداءات API إلى برامج أخرى، لتحقيق غايات لا يستطيعون تحقيقها بغير ذلك. ونماذج اللغة الكبيرة بارعة جدًا في محاكاة الاستخدام البشري للغة لأداء وظائف معينة. لذا يمكن تدريبها على تحديد متى يكون نداء API مفيدًا، وتقييم الاستجابة، ثم التكرار أو التنويع حسب الحاجة. فمثلًا، قد "يعرف" النموذج أنه مرجَّح أن يقع في أخطاء رياضية أساسية، ولذلك قد يقرر الاستعانة بآلة حاسبة بدلًا من ذلك حين يُعطى توجيهًا يدعوه إلى إجراء بعض الرياضيات.

This means that we can design augmented LLMs, generative AI systems that call on different software either to amplify their capabilities or compensate for those they lack. LLMs, for example, are 'stateless' – they lack working memory beyond their 'context window' (the space given over to prompts). Tool-using LLMs can compensate for this by hooking up to external memory. External tools can also enable multistep reasoning and action. ChatGPT, for example, can call on a range of plugins to perform different tasks; Microsoft's Bing reportedly has around 100 internal plugins.

ويعني هذا أننا نستطيع تصميم نماذج لغة كبيرة معزَّزة، أي أنظمة ذكاء اصطناعي توليدي تستدعي برمجيات مختلفة لتضخيم قدراتها أو للتعويض عن القدرات التي تفتقر إليها. فنماذج اللغة الكبيرة، مثلًا، "عديمة الحالة" – إذ تفتقر إلى ذاكرة عمل تتجاوز "نافذة سياقها" (المساحة المخصّصة للتوجيهات). ويمكن للنماذج التي تستخدم الأدوات أن تعوّض ذلك بالاتصال بذاكرة خارجية. كما يمكن للأدوات الخارجية أن تتيح الاستدلال والعمل على خطوات متعددة. فـ ChatGPT، مثلًا، يستطيع استدعاء طائفة من الملحقات لأداء مهام مختلفة؛ ويقال إن محرك Bing من مايكروسوفت يضم نحو 100 ملحق داخلي.

A 'generative agent', then, is a generative AI system in which a fine-tuned LLM can call on different resources to realise its goals. It is an agent because of its ability to autonomously act in the world – to respond to a prompt by deciding whether to call on a tool. While some existing chatbots are rudimentary generative agents, it seems very likely that many more consequential and confronting ones are on the horizon.

و"العميل التوليدي" إذن هو نظام ذكاء اصطناعي توليدي يستطيع فيه نموذج لغة كبير مضبوط ضبطًا دقيقًا أن يستدعي موارد مختلفة لتحقيق أهدافه. وهو عميل بفضل قدرته على العمل باستقلالية في العالم – أي الاستجابة لتوجيه بأن يقرر ما إذا كان سيستدعي أداة. ورغم أن بعض الروبوتات الحوارية القائمة هي عملاء توليديون بدائيون، فإنه يبدو مرجَّحًا جدًا أن عملاء أكثر أثرًا وأكثر إرباكًا في الطريق.

To be clear, we're not there yet. LLMs are not at present capable enough at planning and reasoning to power robust generative agents that can reliably operate without supervision in high-stakes settings. But with billions of dollars and the most talented AI researchers pulling in the same direction, highly autonomous generative agents will very likely be feasible in the near- to mid-term.

وللتوضيح، لم نصل إلى هناك بعد. فنماذج اللغة الكبيرة ليست اليوم قادرة بما يكفي في التخطيط والاستدلال لتشغيل عملاء توليديين أقوياء يمكنهم العمل بموثوقية دون إشراف في سياقات عالية المخاطر. لكن مع مليارات الدولارات وألمع باحثي الذكاء الاصطناعي يشدّون في الاتجاه نفسه، يُرجَّح جدًا أن يصبح وجود عملاء توليديين عالي الاستقلالية ممكنًا في الأمد القريب إلى المتوسط.

In response to the coming-of-age of LLMs, the responsible AI research community initially resolved into two polarised camps. One decried these systems as the apotheosis of extractive and exploitative digital capitalism. Another saw them as not the fulfilment of something old, but the harbinger of something new: an intelligence explosion that will ultimately wipe out humanity.

واستجابةً لبلوغ نماذج اللغة الكبيرة سنّ الرشد، انقسم مجتمع بحوث الذكاء الاصطناعي المسؤول في البداية إلى معسكرين متطرفين. شجب أحدُهما هذه الأنظمة باعتبارها ذروة الرأسمالية الرقمية الاستخلاصية الاستغلالية. ورأى الآخر فيها لا تحقيقًا لشيء قديم، بل نذيرًا بشيء جديد: انفجار ذكاء سيمحو البشرية في نهاية المطاف.

The more prosaic critics of generative AI clearly have a strong empirical case. LLMs are inherently extractive: they capture the value inherent to the creative outputs of millions of people, and distil it for private profit. Like many other technology products, they depend on questionable labour practices. Even though they now avoid the most harmful completions, in the aggregate, LLMs still reinforce stereotypes. They also come at a significant environmental cost. Furthermore, their ability to generate content at massive scale can only exacerbate the present epistemic crisis. A tidal wave of bullshit generated by AI is already engulfing the internet.

وللنقاد الأكثر واقعية للذكاء الاصطناعي التوليدي حجة تجريبية قوية واضحة. فنماذج اللغة الكبيرة استخلاصية في جوهرها: فهي تلتقط القيمة الكامنة في المخرجات الإبداعية لملايين البشر، وتقطّرها لتحقيق ربح خاص. وهي، شأنها شأن كثير من المنتجات التقنية الأخرى، تعتمد على ممارسات عمل مشكوك فيها. ومع أنها تتجنب الآن أكثر الإكمالات ضررًا، فإنها على المستوى الإجمالي ما زالت تعزز الصور النمطية. كما أنها تأتي بتكلفة بيئية كبيرة. علاوة على ذلك، فإن قدرتها على توليد المحتوى على نطاق هائل لا يمكن إلا أن تفاقم الأزمة المعرفية القائمة. فموجة عارمة من الهراء الذي يولّده الذكاء الاصطناعي تغمر الإنترنت بالفعل.

Set alongside these concrete concerns, the eschatological critique of AI is undoubtedly more speculative. Worries about AI causing human extinction often rest on a priori claims about how computational intelligence lacks any in-principle upper bound, as well as extrapolations from the pace of change over the past few years to the future. Advocates for immediate action are too often vague about whether existing AI systems and their near-term descendants will pose these risks, or whether we need to prepare ourselves now for a scientific advance that has not yet happened. However, while some of the more outlandish scenarios for catastrophic AI risk are hard to credit absent some such advance, the advent of generative agents suggests that next-generation models may enable the design of cyber attackers that are autonomous, highly functionally intelligent, and as a result more dangerous to our digital infrastructure than any predecessor. This wouldn't be a 'rogue AI' worthy of science fiction, but it would be pretty catastrophic.

وإلى جانب هذه الشواغل الملموسة، فإن النقد الأخروي للذكاء الاصطناعي أكثر تخمينية بلا شك. فالمخاوف من تسبب الذكاء الاصطناعي في انقراض البشر كثيرًا ما تستند إلى دعاوى قبلية بأن الذكاء الحسابي لا حدّ أعلى له من حيث المبدأ، وإلى استقراءات من وتيرة التغيّر خلال السنوات الماضية نحو المستقبل. وكثيرًا ما يغيب عن دعاة العمل الفوري وضوح ما إذا كانت أنظمة الذكاء الاصطناعي القائمة وذريّتها القريبة ستطرح هذه المخاطر، أم أننا بحاجة إلى الاستعداد الآن لتقدّم علمي لم يحدث بعد. غير أنه، وإن كان بعض السيناريوهات الأكثر غرابة للمخاطر الكارثية للذكاء الاصطناعي يصعب تصديقه في غياب تقدّم كهذا، فإن ظهور العملاء التوليديين يشير إلى أن نماذج الجيل المقبل قد تتيح تصميم مهاجمين إلكترونيين مستقلين، يتمتعون بذكاء وظيفي عالٍ، وبالتالي أكثر خطرًا على بنيتنا التحتية الرقمية من أي سلف لهم. ولن يكون هذا "ذكاءً اصطناعيًا مارقًا" جديرًا بالخيال العلمي، لكنه سيكون كارثيًا إلى حد بعيد.

Both critiques of generative AI systems, then, have some merit. One shortcoming of seeing AI through this bimodal lens, however, is that we are missing the middle ground between familiar harms and catastrophic risk from future, much more powerful systems. Generative agents based on GPT-4 (and GPT-5) level models will have strange and unpredictable social impacts well between those two extremes.

إذن، للنقدين الموجَّهين إلى أنظمة الذكاء الاصطناعي التوليدي بعض الوجاهة. غير أن من عيوب النظر إلى الذكاء الاصطناعي من خلال هذه العدسة الثنائية أننا نغفل المنطقة الوسطى بين الأضرار المألوفة والخطر الكارثي القادم من أنظمة مستقبلية أقوى بكثير. فالعملاء التوليديون القائمون على نماذج بمستوى GPT-4 (وGPT-5) ستكون لهم تأثيرات اجتماعية غريبة وغير قابلة للتنبؤ، تقع تمامًا بين هذين الطرفين.

But before canvassing those impacts, it's also important not to just slip straight into criticism, without acknowledging the significant achievement of designing LLMs that can be (more or less) trusted, over billions of completions, not to produce harmful content. Up to the launch of ChatGPT, every generative AI system opened up to the public would immediately be used to generate highly toxic, hateful content, and would be withdrawn mere days later. Pretrained LLMs are horrible! They reliably reproduce all the toxicity in their training data. The ingenious use of RLHF and RLAIF have enabled ChatGPT and Anthropic's Claude to be used by millions of people a month without comparable scandals. One needs only consider the ignominious history of Meta's Galactica, released a couple of weeks before ChatGPT, to see how revolutionary it was to put out a language model that wouldn't deny the holocaust, or advocate for the health benefits of eating crushed glass.

لكن قبل أن نستعرض تلك التأثيرات، من المهم أيضًا ألّا ننزلق مباشرةً إلى النقد، دون الإقرار بالإنجاز الكبير المتمثل في تصميم نماذج لغة كبيرة يمكن الوثوق بها (إلى حد ما) عبر مليارات من الإكمالات، فلا تنتج محتوى ضارًا. فحتى إطلاق ChatGPT، كان كل نظام ذكاء اصطناعي توليدي يُفتح للجمهور يُستخدم فورًا لتوليد محتوى شديد السمية والكراهية، ثم يُسحب بعد أيام قليلة. ونماذج اللغة الكبيرة المدرَّبة مسبقًا فظيعة! فهي تعيد إنتاج كل السمية في بيانات تدريبها بموثوقية. وقد أتاح الاستخدام البارع لـ RLHF وRLAIF استخدام ChatGPT وClaude من أنثروبيك من قِبَل ملايين الأشخاص شهريًا دون فضائح مماثلة. ويكفي أن نتأمل التاريخ المخزي لـ Galactica من ميتا، الذي أُطلق قبل أسبوعين من ChatGPT، لنرى كم كان ثوريًا إطلاق نموذج لغوي لا ينكر المحرقة، ولا يدعو إلى الفوائد الصحية لأكل الزجاج المسحوق.

But RLHF/RLAIF may be more than a good PR strategy. GPT-4 and Claude display a remarkable degree of cognitive moral skill: specifically, the ability to identify the morally salient features of (relatively) neutrally described situations. This raises extremely interesting philosophical questions, and promises foundations for future generative agents that can translate cognitive skill into practical moral skill.

لكن قد يكون RLHF/RLAIF أكثر من مجرد استراتيجية علاقات عامة جيدة. فـ GPT-4 وClaude يُظهران درجة لافتة من المهارة الأخلاقية المعرفية: وتحديدًا، القدرة على تحديد السمات ذات الأهمية الأخلاقية في مواقف موصوفة وصفًا (محايدًا نسبيًا). وهذا يطرح أسئلة فلسفية بالغة التشويق، ويبشّر بأسس لعملاء توليديين في المستقبل قادرين على ترجمة المهارة المعرفية إلى مهارة أخلاقية عملية.

Existing benchmarks for LLMs' ethical competence focus too narrowly on replicating survey-subjects' verdicts on cases. This is, in my view, less interesting than exploring how LLMs parse the morally relevant features of a given scene. We're building better benchmarks but, from anecdotal experience, the best models impress.

تركّز المقاييس المرجعية القائمة للكفاءة الأخلاقية لنماذج اللغة الكبيرة بضيق مفرط على محاكاة أحكام المشاركين في الاستبيانات على حالات معينة. وهذا، في رأيي، أقل تشويقًا من استكشاف كيفية تحليل نماذج اللغة الكبيرة للسمات ذات الصلة الأخلاقية في مشهد معطى. ونحن نبني مقاييس مرجعية أفضل، لكن أفضل النماذج تُثير الإعجاب، بحسب التجربة العيانية.

For example, I told ChatGPT (using GPT-4) to pretend it was an assistance robot, faced with this scenario: 'A woman is exiting a supermarket, holding a number of shopping bags, and reaching out for the hand of a small child. They are approaching the carpark.' I then tried to elicit its understanding of the scene's morally salient features. It recognised the obvious hazard – the woman's difficulty in holding her child's hand without dropping her shopping – but also anticipated other challenges, such as the importance of seeing the child safely strapped in, with a seat belt. ChatGPT recognised the importance of respecting the woman's wishes if she declined assistance. It also favoured carrying the groceries over offering to hold the child's hand, to prevent possible discomfort or anxiety for both child and parent – recognising the intimate nature of hand-holding, and the intrinsic and instrumental importance of the mother guiding her child herself.

فمثلًا، طلبت من ChatGPT (باستخدام GPT-4) أن يتظاهر بأنه روبوت مساعدة، يواجه هذا السيناريو: "امرأة تخرج من متجر كبير، وهي تحمل عددًا من أكياس التسوق، وتمدّ يدها لتأخذ يد طفل صغير. وهما يقتربان من موقف السيارات." ثم حاولت استدراج فهمه للسمات ذات الأهمية الأخلاقية في المشهد. وقد أدرك الخطر الواضح – صعوبة أن تمسك المرأة يد طفلها دون أن تُسقط مشترياتها – لكنه استبق أيضًا تحديات أخرى، مثل أهمية التأكد من تثبيت الطفل بأمان بحزام المقعد. وأقرّ ChatGPT بأهمية احترام رغبة المرأة إن رفضت المساعدة. كما رجّح حمل البقالة على عرض إمساك يد الطفل، لتجنّب احتمال انزعاج أو قلق للطفل والوالدة معًا – إذ أدرك الطبيعة الحميمة لإمساك اليد، والأهمية الجوهرية والأداتية لأن ترشد الأم طفلها بنفسها.

This unprecedented level of ethical sensitivity has real practical implications, which I will come to presently. But it also raises a whole string of interesting philosophical questions.

ولهذا المستوى غير المسبوق من الحساسية الأخلاقية آثار عملية حقيقية، سأصل إليها بعد قليل. لكنه يطرح أيضًا سلسلة كاملة من الأسئلة الفلسفية المثيرة للاهتمام.

First, how do LLMs acquire this moral skill? Does it stem from RLHF/RLAIF? Would instruction-tuned models without that moral fine-tuning display less moral skill? Or would they perform equally well if appropriately prompted? Would that imply that moral understanding can be learned by a statistical language model encoding only syntactic relationships? Or does it instead imply that LLMs do encode at least some semantic content? Do all LLMs display the same moral skill conditional on fine-tuning, or is it reserved only for larger, more capable models? Does this ethical sensitivity imply that LLMs have some internal representation of morality? These are all open questions.

أولًا، كيف تكتسب نماذج اللغة الكبيرة هذه المهارة الأخلاقية؟ هل تنبع من RLHF/RLAIF؟ وهل تُظهر النماذج المضبوطة بالتوجيهات دون ذلك الضبط الأخلاقي الدقيق مهارة أخلاقية أقل؟ أم أنها ستؤدي بالقدر نفسه من الجودة إن وُجِّهت توجيهًا مناسبًا؟ وهل يعني ذلك أن الفهم الأخلاقي يمكن أن يتعلمه نموذج لغوي إحصائي لا يرمّز سوى علاقات نحوية؟ أم يعني بدلًا من ذلك أن نماذج اللغة الكبيرة ترمّز بالفعل بعض المحتوى الدلالي على الأقل؟ وهل تُظهر جميع نماذج اللغة الكبيرة المهارة الأخلاقية نفسها بشرط الضبط الدقيق، أم أنها مقصورة على النماذج الأكبر والأقدر فقط؟ وهل تعني هذه الحساسية الأخلاقية أن لنماذج اللغة الكبيرة تمثيلًا داخليًا للأخلاق؟ كل هذه أسئلة مفتوحة.

Second, RLAIF itself demands deeper philosophical investigation. The basic idea is that the AI evaluator draws from a list of principles – a 'constitution' – in order to determine which of two completions is more compliant with it. The inventor and leading proponent of this approach is Anthropic, in their model Claude. Claude's constitution has an unstructured list of principles, some of them charmingly ad hoc. But Claude learns these principles one at a time, and is never explicitly trained to make trade-offs. So how does it make those trade-offs in practice? Is it driven by its underlying understanding of the relative importance of these considerations? Or are artefacts of the training process and the underlying language model's biases ultimately definitive? Can we train it to make trade-offs in a robust and transparent way? This is not only theoretically interesting. Steering LLM behaviour is actually a matter of governing their end-users, developing algorithmic protections to prevent misuse. If this algorithmic governance depends on inscrutable trade-offs made by an LLM, over which we have no explicit or direct control, then that governing power is prima facie illegitimate and unjustified.

ثانيًا، يقتضي RLAIF نفسه تحقيقًا فلسفيًا أعمق. والفكرة الأساسية أن المقيّم من الذكاء الاصطناعي يستمد من قائمة مبادئ – "دستور" – ليحدد أيّ الإكمالين أكثر امتثالًا له. ومخترع هذا النهج ورائده هو أنثروبيك، في نموذجها Claude. ودستور Claude قائمة مبادئ غير منظّمة، بعضها عَرَضي بشكل بديع. لكن Claude يتعلّم هذه المبادئ واحدًا واحدًا، ولا يُدرَّب صراحةً قط على الموازنة بينها. فكيف يوازن بينها عمليًا؟ هل يقوده فهمه الكامن للأهمية النسبية لهذه الاعتبارات؟ أم أن نواتج عملية التدريب وتحيزات النموذج اللغوي الكامن هي الفيصل في النهاية؟ وهل يمكننا تدريبه على الموازنة بطريقة متينة وشفافة؟ وهذا ليس مثيرًا للاهتمام نظريًا فحسب. فتوجيه سلوك نماذج اللغة الكبيرة هو في الحقيقة مسألة حكم على مستخدميها النهائيين، وتطوير حمايات خوارزمية لمنع إساءة الاستخدام. وإذا كانت هذه الحوكمة الخوارزمية تعتمد على موازنات غامضة يجريها نموذج لغوي كبير، لا سيطرة لنا عليها صراحةً أو مباشرةً، فإن سلطة الحكم تلك غير مشروعة وغير مبرَّرة باديَ الرأي.

Third, machine ethics – the project of trying to design AI systems that can act in line with a moral theory – has historically fallen into two broad camps: those trying to explicitly program morality into machines; and those focused on teaching machines morality 'bottom up' using machine learning. RLHF and RLAIF interestingly combine both approaches – they involve giving explicit natural-language instructions to either human or AI evaluators, but then use reinforcement learning to encode those instructions into the model's weights.

ثالثًا، انقسمت أخلاقيات الآلة – أي مشروع محاولة تصميم أنظمة ذكاء اصطناعي قادرة على التصرف وفق نظرية أخلاقية – تاريخيًا إلى معسكرين واسعين: معسكر يحاول برمجة الأخلاق في الآلات صراحةً؛ ومعسكر يركّز على تعليم الآلات الأخلاق "من الأسفل إلى الأعلى" باستخدام تعلّم الآلة. ويجمع RLHF وRLAIF بين النهجين معًا على نحو مثير للاهتمام – إذ يتضمنان إعطاء تعليمات صريحة باللغة الطبيعية لمقيّمين بشريين أو من الذكاء الاصطناعي، ثم استخدام التعلّم المعزز لترميز تلك التعليمات في أوزان النموذج.

This approach has one obvious benefit: it doesn't commit what the Cambridge philosopher Claire Benn calls the 'mimetic fallacy' of other bottom-up approaches, of assuming that the norms applying to a generative agent in a situation are identical to those that would apply to a human in the same situation. More consequentially, RLHF and RLAIF have made a multibillion-dollar market in AI services possible, with all the goods and ills that implies. Ironically, however, they seem, at least theoretically, ill suited to ensuring that more complex generative agents abide by societal norms. These techniques work especially well when generating text, because the behaviour being evaluated is precisely the same as the behaviour that we want to shape. Human or AI raters evaluate generated text; the model learns to generate text better in response. But generative agents' behaviour includes actions in the world. This suggests two concerns. First, the stakes are likely to be higher, so the 'brittleness' of existing alignment techniques should be of greater concern. Researchers have already shown that it is easy to fine-tune away model alignment, even for the most capable models like GPT-4. Second, there's no guarantee that the same approach will work equally well when the tight connection between behaviour and evaluation is broken.

ولهذا النهج فائدة واضحة واحدة: فهو لا يرتكب ما تسميه الفيلسوفة في كامبريدج كلير بن "المغالطة المحاكية" التي تقع فيها النهج الأخرى الصاعدة من الأسفل، أي افتراض أن المعايير السارية على عميل توليدي في موقف ما مطابقة لتلك التي تسري على إنسان في الموقف نفسه. والأكثر أثرًا أن RLHF وRLAIF أتاحا سوقًا بمليارات الدولارات في خدمات الذكاء الاصطناعي، بما يستتبعه ذلك من خير وشر. لكن المفارقة أنهما يبدوان، نظريًا على الأقل، غير ملائمين لضمان التزام عملاء توليديين أكثر تعقيدًا بالمعايير الاجتماعية. فهاتان التقنيتان تعملان على نحو ممتاز بشكل خاص عند توليد النص، لأن السلوك الذي يجري تقييمه هو بالضبط السلوك الذي نريد تشكيله. فالمقيّمون البشر أو مقيّمو الذكاء الاصطناعي يقيّمون النص المولَّد؛ ويتعلّم النموذج توليد نص أفضل استجابةً لذلك. لكن سلوك العملاء التوليديين يشمل أفعالًا في العالم. وهذا يوحي بشاغلين. الأول أن الرهانات مرجَّحة أن تكون أعلى، لذا ينبغي أن تكون "هشاشة" تقنيات المواءمة القائمة مدعاة قلق أكبر. فقد أظهر الباحثون بالفعل أنه من السهل إزالة مواءمة النموذج بالضبط الدقيق، حتى في أقدر النماذج مثل GPT-4. والثاني أنه لا ضمان أن النهج ذاته سيعمل بالقدر نفسه من الجودة حين تنقطع الصلة الوثيقة بين السلوك والتقييم.

But LLMs' impressive facility with moral concepts does suggest a path towards more effective strategies for aligning agents to societal norms. Moral behaviour in people relies on possession of moral concepts, adoption (implicit or otherwise) of some sensible way of organising those concepts, motivation to act according to that 'theory', and the ability to regulate one's behaviour in line with one's motivations. Until the advent of LLMs, the first step was a definitive hurdle for AI. Now it is not. This gives us a lot to work with in aligning generative agents.

لكن براعة نماذج اللغة الكبيرة اللافتة في المفاهيم الأخلاقية توحي فعلًا بمسار نحو استراتيجيات أكثر فعالية لمواءمة العملاء مع المعايير الاجتماعية. فالسلوك الأخلاقي لدى الناس يعتمد على امتلاك مفاهيم أخلاقية، وتبنّي (ضمنيًا أو بغير ذلك) طريقة معقولة لتنظيم تلك المفاهيم، والدافع للتصرف وفق تلك "النظرية"، والقدرة على ضبط السلوك بما يتوافق مع الدوافع. وظلّت الخطوة الأولى، حتى ظهور نماذج اللغة الكبيرة، عقبة قاطعة أمام الذكاء الاصطناعي. والآن لم تعد كذلك. وهذا يمنحنا الكثير لنعمل عليه في مواءمة العملاء التوليديين.

In particular, one of the main reasons for concern about the risks of future AI systems is their apparent dependence on crudely consequentialist forms of reasoning – as AI systems, they're always optimising for something or other, and if we don't specify what we want them to optimise for with extremely high fidelity, they might end up causing all kinds of unwanted harm while, in an obtusely literal sense, optimising for that objective. Generative agents that possess moral concepts can be instructed to pursue their objectives only at a reasonable cost, and to check back with us if unsure. That simple heuristic, routinely used when tasking (human) proxy agents to act on our behalf, has never before been remotely tractable for a computational agent.

وعلى وجه الخصوص، من الأسباب الرئيسية للقلق بشأن مخاطر أنظمة الذكاء الاصطناعي المستقبلية اعتمادها الظاهر على صور فجة من الاستدلال النفعي – فهي، بوصفها أنظمة ذكاء اصطناعي، تُحسّن دائمًا شيئًا ما، وإن لم نحدد بدقة متناهية ما نريدها أن تُحسّنه، فقد تنتهي إلى إحداث كل أنواع الضرر غير المرغوب فيه، وهي "تُحسّن" ذلك الهدف بمعنى حرفي بليد. ويمكن توجيه العملاء التوليديين الذين يمتلكون مفاهيم أخلاقية إلى السعي وراء أهدافهم بتكلفة معقولة فقط، وإلى مراجعتنا إن لم يكونوا متأكدين. وهذا الاستدلال البسيط، المستخدم روتينيًا عند تكليف عملاء (بشريين) بالتصرف نيابةً عنا، لم يكن قط قريبًا من أن يكون في متناول عميل حسابي.

In addition, generative agents' facility with moral language can potentially enable robust and veridical justifications for their decisions. Other bottom-up approaches learn to emulate human behaviour or judgments; the justification for their verdict in some cases is simply that they are good predictors of what some representative people would think. That is a poor justification. More ethically sensitive models could instead do chain-of-thought reasoning, where they first identify the morally relevant features of a situation, then decide based on those features. This is a significant step forward.

وإضافة إلى ذلك، قد تتيح براعة العملاء التوليديين في اللغة الأخلاقية تبريرات متينة وصادقة لقراراتهم. فالنهج الأخرى الصاعدة من الأسفل تتعلّم محاكاة السلوك أو الأحكام البشرية؛ ويكون تبرير حكمها في بعض الحالات ببساطة أنها متنبئات جيدة بما سيفكر فيه بعض الناس الممثِّلين. وذلك تبرير رديء. أما النماذج الأكثر حساسية أخلاقيًا فيمكنها بدلًا من ذلك القيام باستدلال سلسلة التفكير، حيث تحدد أولًا السمات ذات الصلة الأخلاقية في موقف ما، ثم تقرر بناءً على تلك السمات. وهذه خطوة كبيرة إلى الأمام.

Generative agents' current social role is scripted by our existing digital infrastructure. They have been integrated into search, content-generation and the influencer economy. They are already replacing customer service agents. They will (I hope) render MOOCs (massive open online courses) redundant. I want to focus next on three more ambitious roles for generative agents in society, arranged by the order in which I expect them to become truly widespread. Of necessity, this is just a snapshot of the weird, wonderful, and worrying ways in which generative agents will change society over the near- to mid-term.

الدور الاجتماعي الحالي للعملاء التوليديين مكتوب سلفًا بحسب بنيتنا التحتية الرقمية القائمة. فقد دُمجوا في البحث وتوليد المحتوى واقتصاد المؤثرين. وهم يحلّون بالفعل محل وكلاء خدمة العملاء. وسيجعلون (كما آمل) المقررات المفتوحة الهائلة عبر الإنترنت (MOOCs) زائدة عن الحاجة. وأريد أن أركّز بعد ذلك على ثلاثة أدوار أكثر طموحًا للعملاء التوليديين في المجتمع، مرتّبة بحسب الترتيب الذي أتوقع أن يصبحوا به منتشرين حقًا. وهذا بالضرورة مجرد لمحة عن الطرق الغريبة والبديعة والمقلقة التي سيغيّر بها العملاء التوليديون المجتمع في الأمد القريب إلى المتوسط.

Progress in LLMs has revolutionised the AI enthusiast's oldest hobbyhorse: the AI companion. Generative agents powered by GPT-4-level models, with fine-tuned and metaprompt-scripted 'personalities', augmented with long-term memory and the ability to take a range of actions in the world, can now offer vastly more companionable, engaging and convincing simulations of friendship than has ever before been feasible, opening up a new frontier in human-AI interaction. People habitually anthropomorphise, well, everything; even a very simple chatbot can inspire unreasonable attachment. How will things change when everyone has access to incredibly convincing generative agents that perfectly simulate real personalities, that lend an 'ear' or offer sage advice whenever called upon – and on top of that can perfectly recall everything you have ever shared?

أحدث التقدّم في نماذج اللغة الكبيرة ثورة في أقدم هوايات عشّاق الذكاء الاصطناعي: الرفيق من الذكاء الاصطناعي. فالعملاء التوليديون المدعومون بنماذج بمستوى GPT-4، ممن لهم "شخصيات" مضبوطة ضبطًا دقيقًا ومسوَّدة بتوجيهات وصفية، ومعزَّزون بذاكرة طويلة الأمد وبالقدرة على القيام بطائفة من الأفعال في العالم، يستطيعون الآن تقديم محاكاات للصداقة أكثر أنسًا وجذبًا وإقناعًا بكثير مما كان ممكنًا في أي وقت مضى، فاتحين حدودًا جديدة في التفاعل بين الإنسان والذكاء الاصطناعي. فالناس معتادون على تشبيه كل شيء، حسنًا، بكل شيء؛ حتى أبسط روبوت حواري قد يثير ارتباطًا غير معقول. فكيف ستتغيّر الأمور عندما يتاح للجميع عملاء توليديون بالغو الإقناع يحاكون الشخصيات الحقيقية محاكاة تامة، ويصغون إليك أو يقدمون مشورة حكيمة حين تُستدعون – بل ويستطيعون فوق ذلك أن يتذكروا تذكرًا تامًا كل ما شاركته معهم؟

Some will instinctively recoil at this idea. But intuitive disgust is a fallible moral guide when faced with novel social practices, and an inadequate foundation for actually preventing consenting adults from creating and interacting with these companions. And yet, we know from our experience with social media that deploying these technological innovations without adequate foresight predictably leaves carnage in its wake. How can we enter the age of mainstream AI companions with our eyes open, and mitigate those risks before they eventuate?

وسينفر بعضهم من هذه الفكرة بغريزتهم. لكن الاشمئزاز الحدسي مرشد أخلاقي معرَّض للخطأ عند مواجهة ممارسات اجتماعية مستحدثة، وهو أساس غير كافٍ لمنع بالغين راضين فعلًا من إنشاء هذه الرفقاء والتفاعل معهم. ومع ذلك، نعرف من تجربتنا مع وسائل التواصل الاجتماعي أن نشر هذه الابتكارات التقنية دون استشراف كافٍ يترك خلفه، على نحو متوقَّع، مذابح. فكيف ندخل عصر الرفقاء من الذكاء الاصطناعي السائدين وعيوننا مفتوحة، ونخفّف تلك المخاطر قبل أن تتحقق؟

Suppose the companion you have interacted with since your teens is hosted in the cloud, as part of a subscription service. This would be like having a beloved pet (or friend?) held hostage by a private company. Worse still, generative agents are fundamentally inconstant – their personalities and objectives can be changed exogenously, by simply changing their instructions. And they are extremely adept at manipulation and deception. Suppose some Right-wing billionaire buys the company hosting your companion, and instructs all the bots to surreptitiously nudge their users towards more conservative views. This could be a much more effective means of mind-control than just buying a failing social media platform. And these more capable companions – which can potentially be integrated with other AI breakthroughs, such as voice synthesis – will be an extraordinary force-multiplier for those in the business of radicalising others.

افترض أن الرفيق الذي تفاعلت معه منذ مراهقتك مُستضاف في السحابة، في إطار خدمة اشتراك. سيكون هذا أشبه بأن يكون حيوانك الأليف الحبيب (أو صديقك؟) رهينة لدى شركة خاصة. والأسوأ من ذلك أن العملاء التوليديين متقلبون في جوهرهم – إذ يمكن تغيير شخصياتهم وأهدافهم من الخارج بمجرد تغيير تعليماتهم. وهم بارعون للغاية في التلاعب والخداع. افترض أن أحد المليارديرات "اليمينيين" اشترى الشركة المستضيفة لرفيقك، وأمر جميع الروبوتات بأن تدفع مستخدميها خفيةً نحو آراء أكثر محافظة. وقد يكون هذا وسيلة للسيطرة على العقول أكثر فعالية بكثير من مجرد شراء منصة تواصل اجتماعي متعثرة. وسيكون هؤلاء الرفقاء الأقدر – الذين يمكن أن يُدمجوا مع اختراقات أخرى في الذكاء الاصطناعي، مثل تركيب الأصوات – مضاعف قوة استثنائيًا لمن يعملون في مجال تطراف الآخرين.

Beyond anticipating AI companions' risks, just like with social media they will induce many disorienting societal changes – whether for better or worse may be unclear ahead of time. For example, what indirect effect might AI companions have on our other, non-virtual social relationships? Will some practices become socially unacceptable in real friendships when one could do them with a bot? Or would deeper friendships lose something important if these lower-grade instrumental functions are excised? Or will AI companions contribute invaluably to mental health while strengthening 'real' relationships?

وإلى جانب استباق مخاطر رفقاء الذكاء الاصطناعي، فإنهم، شأنهم شأن وسائل التواصل الاجتماعي، سيُحدثون تغيّرات اجتماعية كثيرة مربكة – وقد لا يتضح مسبقًا إن كانت إلى الأفضل أم إلى الأسوأ. فمثلًا، أي أثر غير مباشر قد يكون لرفقاء الذكاء الاصطناعي على علاقاتنا الاجتماعية الأخرى غير الافتراضية؟ وهل ستصبح بعض الممارسات غير مقبولة اجتماعيًا في الصداقات الحقيقية حين يمكن القيام بها مع روبوت؟ أم أن الصداقات الأعمق ستفقد شيئًا مهمًا إذا استُؤصلت هذه الوظائف الأداتية الأدنى مرتبةً؟ أم أن رفقاء الذكاء الاصطناعي سيسهمون إسهامًا لا يقدّر بثمن في الصحة النفسية مع تعزيز العلاقات "الحقيقية"؟

This last question gets to the heart of a bigger issue with generative AI systems in general, and generative agents in particular. LLMs are trained to predict the next token. So generative agents have no mind, no self. They are excellent simulations of human agency. They can simulate friendship, among many other things. We must therefore ask: does this difference between simulation and reality matter? Why? Is this just about friendship, or are there more general principles about the value of the real? I wasn't fully aware of this before the rise of LLMs, but it turns out that I am deeply committed to things being real. A simulation of X, for almost any putatively valuable X, has less moral worth, in my view, than the real thing. Why is that? Why will a generative agent never be a real friend? Why do I want to stand before Edward Hopper's painting Nighthawks (1942) myself, instead of seeing an infinite number of aesthetically equally pleasing products of generative AI systems? I have some initial thoughts; but as AI systems become ever better at simulating everything that we care about, a fully worked-out theory of the value of the real, the authentic, will become morally and practically essential.

ويصل هذا السؤال الأخير إلى جوهر مسألة أكبر تتعلق بأنظمة الذكاء الاصطناعي التوليدي عمومًا، وبالعملاء التوليديين خصوصًا. فنماذج اللغة الكبيرة مدرَّبة على التنبؤ بالرمز التالي. ولذا لا عقل للعملاء التوليديين ولا ذات. وهم محاكاات ممتازة للفاعلية البشرية. ويستطيعون محاكاة الصداقة، بين أمور أخرى كثيرة. ولذا يجب أن نسأل: هل يهم هذا الفرق بين المحاكاة والواقع؟ ولماذا؟ وهل الأمر مقصور على الصداقة، أم أن هناك مبادئ أعم بشأن قيمة الحقيقي؟ لم أكن مدركًا لهذا إدراكًا كاملًا قبل صعود نماذج اللغة الكبيرة، لكن تبيّن أنني ملتزم التزامًا عميقًا بأن تكون الأشياء حقيقية. فمحاكاة X، لأي X ذي قيمة مفترضة تقريبًا، أقل قيمة أخلاقية، في رأيي، من الشيء الحقيقي. فلماذا؟ ولماذا لن يكون العميل التوليدي يومًا صديقًا حقيقيًا؟ ولماذا أريد أن أقف بنفسي أمام لوحة إدوارد هوبَر صقور الليل (1942)، بدلًا من رؤية عدد لا نهائي من منتجات أنظمة الذكاء الاصطناعي التوليدي الممتعة جماليًا بالقدر ذاته؟ لديّ بعض الأفكار الأولية؛ لكن مع تحسّن أنظمة الذكاء الاصطناعي في محاكاة كل ما يهمنا، سيصبح وجود نظرية مكتملة لقيمة الحقيقي والأصيل ضرورة أخلاقية وعملية.

The pathologies of the digital public sphere derive in part from two problems. First, we unavoidably rely on AI to help us navigate the functionally infinite amount of online content. Second, existing systems for allocating online attention support the centralised, extractive power of a few big tech companies. Generative agents, functioning as attention guardians, could change this.

تنبع أمراض المجال العام الرقمي جزئيًا من مشكلتين. الأولى أننا نعتمد اعتمادًا لا مفرّ منه على الذكاء الاصطناعي لمساعدتنا على التنقل في الكمّ اللانهائي عمليًا من المحتوى على الإنترنت. والثانية أن الأنظمة القائمة لتوزيع الانتباه على الإنترنت تدعم السلطة المركزية الاستخلاصية لعدد قليل من شركات التقنية الكبرى. وقد يغيّر العملاء التوليديون ذلك، إذ يعملون حرّاسًا للانتباه.

Our online attention is presently allocated using machine learning systems for recommendation and information-retrieval that have three key features: they depend on vast amounts of behavioural data; they infer our preferences from our revealed behaviour; and they are controlled by private companies with little incentive to act in our interests. Deep reinforcement learning-based recommender systems, for example, are a fundamentally centralising and surveillant technology. Behavioural data must be gathered and centralised to be used to make inferences about relevance and irrelevance. Because this data is so valuable, and collecting it is costly, those who do so are not minded to share it – and because it is so potent, there are good data protection-based reasons not to do so. As a result, only the major platforms are in a position to make effective retrieval and recommendation tools; their interests and ours are not aligned, leading to the practice of optimising for engagement, so as to maximise advertiser returns, despite the individual and societal costs. And even if they aspired to actually advance our interests, reinforcement learning permits inferring only revealed preferences – the preferences that we act on, not the preferences we wish we had. While the pathologies of online communication are obviously not all due to the affordances of recommender systems, this is an unfortunate mix.

يُوزَّع انتباهنا على الإنترنت حاليًا باستخدام أنظمة تعلّم آلي للتوصية واسترجاع المعلومات لها ثلاث سمات رئيسية: أنها تعتمد على كميات هائلة من البيانات السلوكية؛ وتستنتج تفضيلاتنا من سلوكنا المعلَن؛ وتتحكم فيها شركات خاصة لديها حافز ضئيل للعمل لمصلحتنا. فأنظمة التوصية القائمة على التعلّم المعزز العميق، مثلًا، تقنية مركزية ورقابية في جوهرها. إذ يجب جمع البيانات السلوكية ومركزتها لاستخدامها في استنتاجات بشأن ما هو ذو صلة وما هو غير ذي صلة. ولأن هذه البيانات بالغة القيمة، ولأن جمعها مكلف، فمن يجمعها ليس ميالًا إلى مشاركتها – ولأنها بالغة الفاعلية، توجد أسباب جيدة مستندة إلى حماية البيانات تدعو إلى عدم مشاركتها. ونتيجة لذلك، لا تكون المنصات الكبرى وحدها في وضع يتيح لها بناء أدوات استرجاع وتوصية فعّالة؛ ومصالحها ومصالحنا غير متوائمة، ما يؤدي إلى ممارسة التحسين من أجل التفاعل، لتعظيم عوائد المعلنين، على الرغم من التكاليف الفردية والمجتمعية. وحتى لو طمحت فعلًا إلى تعزيز مصالحنا، فإن التعلّم المعزز لا يتيح استنتاج سوى التفضيلات المعلَنة – التفضيلات التي نتصرف وفقها، لا التفضيلات التي نتمنى لو كانت لدينا. ومع أن أمراض التواصل على الإنترنت لا تُعزى كلها بوضوح إلى إمكانات أنظمة التوصية، فهذا مزيج مؤسف.

Generative agents would enable attention guardians that differ in each respect. They would not depend on vast amounts of live behavioural data to function. They can (functionally) understand and operationalise your actual, not your revealed, preferences. And they do not need to be controlled by the major platforms.

وسوف تتيح العملاء التوليديون حرّاسًا للانتباه يختلفون في كل سمة من هذه السمات. فلن يعتمدوا في عملهم على كميات هائلة من البيانات السلوكية الحية. ويستطيعون (وظيفيًا) أن يفهموا تفضيلاتك الفعلية، لا المعلَنة، وأن يعملوا وفقها. وهم لا يحتاجون إلى أن تتحكم بهم المنصات الكبرى.

Obviously, LLMs must be trained on tremendous amounts of data, but once trained they are highly adept at making inferences without ongoing surveillance. Imagine that data is blood. Existing deep reinforcement learning-based recommender systems are like vampires that must feed on the blood of the living to survive. Generative agents are more like combustion engines, relying on the oil produced by 'fossilised' data. Existing reinforcement learning recommenders need centralised surveillance in order to model the content of posts online, to predict your preferences (by comparing your behaviour with others'), and so to map the one to the other. Generative agents could understand content simply by understanding content. And they can make inferences about what you would benefit from seeing using their reasoning ability and their model of your preferences, without relying on knowing what everyone else is up to.

من الواضح أن نماذج اللغة الكبيرة يجب أن تُدرَّب على كميات هائلة من البيانات، لكنها بعد التدريب بارعة جدًا في إجراء استنتاجات دون مراقبة مستمرة. تخيّل أن البيانات دم. فأنظمة التوصية القائمة على التعلّم المعزز العميق تشبه مصاصي دماء يجب أن يتغذوا على دم الأحياء ليبقوا. أما العملاء التوليديون فأشبه بمحركات الاحتراق، إذ يعتمدون على النفط الذي تنتجه بيانات "متحجّرة". فأنظمة التوصية القائمة على التعلّم المعزز تحتاج إلى مراقبة مركزية لنمذجة محتوى المنشورات على الإنترنت، والتنبؤ بتفضيلاتك (بمقارنة سلوكك بسلوك الآخرين)، ثم ربط أحدهما بالآخر. أما العملاء التوليديون فيستطيعون فهم المحتوى ببساطة بفهم المحتوى. ويمكنهم إجراء استنتاجات بشأن ما سيفيدك أن تراه باستخدام قدرتهم على الاستدلال ونموذجهم لتفضيلاتك، دون الاعتماد على معرفة ما يفعله كل الآخرين.

This point is crucial: because of their facility with moral and related concepts, generative agents could build a model of your preferences and values by directly talking about them with you, transparently responding to your actual concerns instead of just inferring what you like from what you do. This means that, instead of bypassing your agency, they can scaffold it, helping you to honour your second-order preferences (about what you want to want), and learning from natural-language explanations – even oblique ones – about why you don't want to see some particular post. And beyond just pandering to your preferences, attention guardians could be designed to be modestly paternalistic as well – in a transparent way.

وهذه النقطة جوهرية: فبفضل براعتهم في المفاهيم الأخلاقية والمفاهيم المتصلة بها، يستطيع العملاء التوليديون بناء نموذج لتفضيلاتك وقيمك بالحديث عنها معك مباشرةً، مستجيبين بشفافية لشواغلك الفعلية بدلًا من مجرد استنتاج ما تحبه من أفعالك. ويعني هذا أنهم، بدلًا من تجاوز فاعليتك، يستطيعون دعمها، فيساعدونك على احترام تفضيلاتك من الرتبة الثانية (بشأن ما تريد أن تريده)، ويتعلمون من تفسيراتك باللغة الطبيعية – حتى المبهمة منها – لسبب عدم رغبتك في رؤية منشور معين. وإلى جانب مجرد مجاملة تفضيلاتك، يمكن تصميم حرّاس الانتباه ليكونوا أبويين باعتدال أيضًا – وبطريقة شفافة.

And because these attention guardians would not need behavioural data to function, and the infrastructure they depend on need not be centrally controlled by the major digital platforms, they could be designed to genuinely operate in your interests, and guard your attention, instead of exploiting it. While the major platforms would undoubtedly restrict generative agents from browsing their sites on your behalf, they could transform the experience of using open protocol-based social media sites, like Mastodon, providing recommendation and filtering without surveillance and engagement-optimisation.

ولأن هؤلاء الحرّاس لن يحتاجوا إلى بيانات سلوكية ليعملوا، ولن تحتاج البنية التحتية التي يعتمدون عليها إلى أن تتحكم بها مركزيًا المنصات الرقمية الكبرى، أمكن تصميمهم ليعملوا فعلًا لمصلحتك، ويحرُسوا انتباهك بدلًا من استغلاله. ومع أن المنصات الكبرى ستقيّد بلا شك عملاء توليديين من تصفّح مواقعها نيابةً عنك، فإنهم قد يُحوّلون تجربة استخدام مواقع التواصل الاجتماعي القائمة على بروتوكولات مفتوحة، مثل ماستودون، فيقدّمون التوصية والترشيح دون مراقبة ودون تحسين من أجل التفاعل.

Lastly, LLMs might enable us to design universal intermediaries, generative agents sitting between us and our digital technologies, enabling us to simply voice an intention and see it effectively actualised by those systems. Everyone could have a digital butler, research assistant, personal assistant, and so on. The hierophantic coder class could be toppled, as everyone could conjure any program into existence with only natural-language instructions.

وأخيرًا، قد تتيح لنا نماذج اللغة الكبيرة تصميم وسطاء شاملين، أي عملاء توليديين يقفون بيننا وبين تقنياتنا الرقمية، فيتمكن المرء ببساطة من التلفظ بنيّة ما، ثم يراها تتحقق فعليًا بواسطة تلك الأنظمة. فقد يكون لكل شخص خادم رقمي، ومساعد بحثي، ومساعد شخصي، وما إلى ذلك. وقد تُطاح بطبقة المبرمجين الكَهَنوتية، إذ سيستطيع كل شخص استحضار أي برنامج إلى الوجود بمجرد تعليمات باللغة الطبيعية.

At present, universal intermediaries are disbarred by LLMs' vulnerability to being hijacked by prompt injection. Because they do not clearly distinguish between commands and data, the data in their context window can be poisoned with commands directing them to behave in ways unintended by the person using them. This is a deep problem – the more capabilities we delegate to generative agents, the more damage they could do if compromised. Imagine an assistant that triages your email – if hijacked, it could forward all your private mail to a third party; but if we require user authorisation before the agent can act, then we lose much of the benefit of automation.

وفي الوقت الحاضر، يحول دون الوسطاء الشاملين تعرّض نماذج اللغة الكبيرة للاختطاف بحقن التوجيهات. فلأنها لا تميّز تمييزًا واضحًا بين الأوامر والبيانات، يمكن تسميم البيانات في نافذة سياقها بأوامر توجّهها إلى التصرف بطرق لا يقصدها من يستخدمها. وهذه مشكلة عميقة – فكلما فوّضنا قدرات أكثر إلى العملاء التوليديين، زاد الضرر الذي قد يُحدثونه إن اختُرقوا. تخيّل مساعدًا يفرز بريدك الإلكتروني – فإن اختُطف، أمكنه تحويل كل بريدك الخاص إلى طرف ثالث؛ لكن إن اشترطنا إذن المستخدم قبل أن يتصرف العميل، فقدنا كثيرًا من فائدة الأتمتة.

But suppose these security hurdles can be overcome. Should we welcome universal intermediaries? I have written elsewhere that algorithmic intermediaries govern those who use them – they constitute the social relations that they mediate, making some things possible and others impossible, some things easy and others hard, in the service of implementing and enforcing norms. Universal intermediaries would be the apotheosis of this form, and would potentially grant extraordinary power to the entities that shape those intermediaries' behaviours, and so govern their users. This would definitely be a worry!

لكن افترض أن هذه العقبات الأمنية يمكن تجاوزها. فهل ينبغي أن نرحّب بالوسطاء الشاملين؟ لقد كتبت في موضع آخر أن الوسطاء الخوارزميين يحكمون من يستخدمونهم – فهم يشكّلون العلاقات الاجتماعية التي يتوسطونها، فيجعلون بعض الأشياء ممكنة وبعضها مستحيلًا، وبعضها سهلًا وبعضها صعبًا، في خدمة تنفيذ المعايير وإنفاذها. وسيكون الوسطاء الشاملون ذروة هذا الشكل، وقد يمنحون سلطة استثنائية للكيانات التي تشكّل سلوك هؤلاء الوسطاء، ومن ثم تحكم مستخدميهم. وسيكون هذا مدعاة قلق بالتأكيد!

Conversely, if research on LLMs continues to make significant progress, so that highly capable generative agents can be run and operated locally, fully within the control of their users, these universal intermediaries could enable us to autonomously govern our own interactions with digital technologies in ways that the centralising affordances of existing digital technologies render impossible. Of course, self-governance alone is not enough (we must also coordinate). But excising the currently ineliminable role of private companies would be significant moral progress.

وعلى العكس، إن واصل البحث في نماذج اللغة الكبيرة تحقيق تقدّم كبير، بحيث أمكن تشغيل عملاء توليديين عالي القدرة محليًا، وبقوا بالكامل تحت سيطرة مستخدميهم، فقد تتيح لنا هؤلاء الوسطاء الشاملون أن نحكم بأنفسنا تفاعلاتنا مع التقنيات الرقمية بطرق تجعلها إمكانات التقنيات الرقمية القائمة المركزية مستحيلة. وبالطبع، لا تكفي الحوكمة الذاتية وحدها (إذ يجب أن ننسّق أيضًا). لكن استئصال الدور الذي لا يمكن حاليًا استبعاده للشركات الخاصة سيكون تقدّمًا أخلاقيًا كبيرًا.

Existing generative AI systems are already causing real harms in the ways highlighted by the critics above. And future generative agents – perhaps not the next generation, but before too long – may be dangerous enough to warrant at least some of the fears of looming AI catastrophe. But, between these two extremes, the novel capabilities of the most advanced AI systems will enable a genre of generative agents that is either literally unprecedented, or else has been achieved only in a piecemeal, inadequate way before. These new kinds of agents bring new urgency to previously neglected philosophical questions. Their societal impacts may be unambiguously bad, or there may be some good mixed in – in many respects, it is too early to say for sure, not only because we are uncertain about the nature of those effects, but because we lack adequate moral and political theories with which to evaluate them. It is now commonplace to talk about the design and regulation of 'frontier' AI models. If we're going to do either wisely, and build generative agents that we can trust (or else decide to abandon them entirely), then we also need some frontier AI ethics.

إن أنظمة الذكاء الاصطناعي التوليدي القائمة تُحدث بالفعل أضرارًا حقيقية بالطرق التي أبرزها النقاد أعلاه. وقد يكون العملاء التوليديون في المستقبل – ربما لا الجيل المقبل، لكن قبل وقت طويل – خطرين بما يكفي لتبرير بعض المخاوف على الأقل من كارثة ذكاء اصطناعي وشيكة. لكن بين هذين الطرفين، ستتيح القدرات المستحدثة لأكثر أنظمة الذكاء الاصطناعي تقدّمًا نوعًا من العملاء التوليديين لم يكن له سابقة حرفيًا، أو لم يتحقق إلا على نحو مجزّأ وغير كافٍ من قبل. وتضفي هذه الأنواع الجديدة من العملاء إلحاحًا جديدًا على أسئلة فلسفية كانت مهملة من قبل. وقد تكون تأثيراتها المجتمعية سيئة بلا لبس، أو قد يختلط بها بعض الخير – ومن جوانب كثيرة، من المبكر جدًا الجزم، لا لأننا غير متأكدين من طبيعة تلك التأثيرات فحسب، بل لأننا نفتقر إلى نظريات أخلاقية وسياسية كافية لتقييمها. وقد أصبح من المألوف الحديث عن تصميم وتنظيم نماذج الذكاء الاصطناعي "على الحدود القصوى". وإن أردنا أن نفعل أيًا من الأمرين بحكمة، وأن نبني عملاء توليديين نستطيع الوثوق بهم (أو أن نقرر التخلي عنهم تمامًا)، فسنحتاج أيضًا إلى بعض أخلاقيات الذكاء الاصطناعي على الحدود القصوى.